.slc-events {
    --slc-border: rgba(0,0,0,.12);
    --slc-muted: rgba(0,0,0,.65);
    --slc-soft: rgba(0,0,0,.04);
    margin: 1.5rem 0;
}
.slc-search {
    display: grid;
    grid-template-columns: 1fr 220px auto;
    gap: 10px;
    margin-bottom: 18px;
}
.slc-search input,
.slc-search select,
.slc-search button {
    border: 1px solid var(--slc-border);
    border-radius: 10px;
    padding: 10px 12px;
    min-height: 44px;
}
.slc-search button,
.slc-button {
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    padding: 10px 14px;
    border: 1px solid #222;
    background: #222;
    color: #fff;
    line-height: 1.2;
}
.slc-button-secondary {
    background: #fff;
    color: #222;
}
.slc-event-list {
    display: grid;
    gap: 14px;
}
.slc-event-card {
    display: grid;
    grid-template-columns: 86px 1fr;
    gap: 14px;
    border: 1px solid var(--slc-border);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}
.slc-event-date {
    border-radius: 12px;
    background: var(--slc-soft);
    text-align: center;
    padding: 12px 8px;
    align-self: start;
}
.slc-event-date strong {
    display: block;
    font-size: 1.8rem;
    line-height: 1;
}
.slc-event-date span,
.slc-meta,
.slc-small {
    color: var(--slc-muted);
    font-size: .95rem;
}
.slc-event-main h3 {
    margin: 8px 0 6px;
}
.slc-event-badges,
.slc-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.slc-badge {
    border-radius: 999px;
    border: 1px solid var(--slc-border);
    padding: 4px 9px;
    font-size: .82rem;
    background: var(--slc-soft);
}
.slc-badge-muted {
    opacity: .75;
}
.slc-content {
    margin-top: 10px;
}
.slc-actions {
    margin-top: 12px;
}
.slc-placements {
    margin-top: 24px;
}
.slc-placement-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}
.slc-placement-card {
    border: 1px solid var(--slc-border);
    border-radius: 14px;
    overflow: hidden;
    background: #fff;
}
.slc-placement-photo {
    aspect-ratio: 4/3;
    background: var(--slc-soft);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--slc-muted);
}
.slc-placement-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slc-placement-body {
    padding: 12px;
}
.slc-rank {
    font-weight: 700;
    margin-bottom: 4px;
}
.slc-placement-body h4 {
    margin: 0 0 8px;
}

.slc-award-title {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    border-radius: 999px;
    padding: 5px 9px;
    margin: 2px 0 8px;
    background: var(--slc-soft);
    border: 1px solid var(--slc-border);
    font-size: .9rem;
}
.slc-award-title strong {
    font-weight: 700;
}

.slc-empty {
    border: 1px dashed var(--slc-border);
    border-radius: 12px;
    padding: 14px;
}
@media (max-width: 760px) {
    .slc-search,
    .slc-event-card,
    .slc-placement-grid {
        grid-template-columns: 1fr;
    }
    .slc-event-date {
        display: flex;
        align-items: baseline;
        justify-content: center;
        gap: 8px;
    }
    .slc-event-date strong {
        font-size: 1.4rem;
    }
    .slc-actions .slc-button {
        width: 100%;
    }
}

.slc-calendar-wrap {
    --slc-calendar-line: rgba(0,0,0,.10);
    --slc-calendar-head: #2f4053;
    --slc-calendar-head-soft: #41566d;
    --slc-calendar-muted: #f3f4f6;
}
.slc-calendar-shell {
    border: 1px solid var(--slc-border);
    border-radius: 14px;
    background: #fff;
    overflow: hidden;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
}
.slc-calendar-toolbar {
    display: grid;
    grid-template-columns: minmax(180px, 1fr) auto minmax(180px, 1fr);
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-bottom: 1px solid var(--slc-calendar-line);
    background: #fff;
}
.slc-calendar-nav-group,
.slc-calendar-view-tabs {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.slc-calendar-icon,
.slc-calendar-today,
.slc-calendar-view-tabs span {
    min-height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 7px;
    padding: 0 12px;
    text-decoration: none;
    line-height: 1;
    font-size: .88rem;
    font-weight: 600;
}
.slc-calendar-icon,
.slc-calendar-today {
    background: var(--slc-calendar-head);
    color: #fff;
    border: 1px solid var(--slc-calendar-head);
}
.slc-calendar-icon {
    width: 38px;
    padding: 0;
    font-size: 1.5rem;
}
.slc-calendar-today {
    background: var(--slc-calendar-head-soft);
    border-color: var(--slc-calendar-head-soft);
}
.slc-calendar-title {
    text-align: center;
    line-height: 1.25;
    font-size: 1.05rem;
}
.slc-calendar-title strong {
    font-weight: 700;
}
.slc-calendar-view-tabs {
    justify-self: end;
    gap: 0;
    border-radius: 8px;
    overflow: hidden;
    border: 1px solid var(--slc-calendar-head);
}
.slc-calendar-view-tabs span {
    border-radius: 0;
    color: #fff;
    background: var(--slc-calendar-head);
    border-right: 1px solid rgba(255,255,255,.18);
    min-height: 34px;
}
.slc-calendar-view-tabs span:last-child {
    border-right: 0;
}
.slc-calendar-view-tabs .is-active {
    background: #1f2f40;
}
.slc-calendar-filter {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    gap: 10px;
    padding: 12px;
    border-bottom: 1px solid var(--slc-calendar-line);
    background: rgba(0,0,0,.025);
}
.slc-calendar-filter label {
    display: grid;
    gap: 4px;
    min-width: min(320px, 100%);
    font-size: .82rem;
    color: var(--slc-muted);
}
.slc-calendar-filter select,
.slc-calendar-filter button {
    min-height: 42px;
    border: 1px solid var(--slc-border);
    border-radius: 9px;
    padding: 9px 11px;
    background: #fff;
}
.slc-calendar-filter button {
    cursor: pointer;
    background: var(--slc-calendar-head);
    color: #fff;
    border-color: var(--slc-calendar-head);
    padding-left: 18px;
    padding-right: 18px;
}
.slc-calendar-week {
    overflow-x: auto;
    background: #fff;
}
.slc-calendar-week-head,
.slc-calendar-week-body {
    display: grid;
    grid-template-columns: 64px repeat(7, minmax(145px, 1fr));
    min-width: 980px;
}
.slc-calendar-week-head {
    border-bottom: 1px solid var(--slc-calendar-line);
}
.slc-calendar-time-head,
.slc-calendar-day-head {
    min-height: 34px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid var(--slc-calendar-line);
    color: #3857ff;
    font-size: .86rem;
    font-weight: 700;
    background: #fff;
}
.slc-calendar-day-head:nth-last-child(-n+2) {
    background: var(--slc-calendar-muted);
}
.slc-calendar-day-head.is-today {
    background: #fff9dc;
}
.slc-calendar-week-body {
    position: relative;
}
.slc-calendar-time-col {
    border-right: 1px solid var(--slc-calendar-line);
    background: #fff;
}
.slc-calendar-hour-label {
    height: var(--slc-hour-height);
    border-bottom: 1px solid var(--slc-calendar-line);
    padding: 4px 6px 0;
    color: var(--slc-muted);
    font-size: .76rem;
    text-align: right;
}
.slc-calendar-week-day {
    position: relative;
    min-height: calc(var(--slc-hours) * var(--slc-hour-height));
    border-right: 1px solid var(--slc-calendar-line);
    background: #fff;
}
.slc-calendar-week-day:nth-last-child(-n+2) {
    background: var(--slc-calendar-muted);
}
.slc-calendar-week-day.is-today {
    background: #fff9dc;
}
.slc-calendar-hour-line {
    height: var(--slc-hour-height);
    border-bottom: 1px solid var(--slc-calendar-line);
    background-image: linear-gradient(to bottom, transparent 49%, rgba(0,0,0,.06) 50%, transparent 51%);
    background-size: 100% 32px;
}
.slc-calendar-week-item {
    position: absolute;
    left: 8px;
    right: 8px;
    z-index: 2;
    display: grid;
    align-content: start;
    gap: 2px;
    overflow: hidden;
    border-radius: 8px;
    background: #8b4a22;
    color: #fff;
    padding: 7px 8px;
    font-size: .78rem;
    line-height: 1.2;
    box-shadow: 0 1px 3px rgba(0,0,0,.12);
}
.slc-calendar-week-item strong,
.slc-calendar-week-item small,
.slc-calendar-week-item span,
.slc-calendar-week-item em,
.slc-calendar-week-item a {
    color: inherit;
}
.slc-calendar-week-item small,
.slc-calendar-week-item span,
.slc-calendar-week-item em,
.slc-calendar-week-item a {
    opacity: .92;
    font-size: .74rem;
}
.slc-calendar-week-item strong {
    font-size: .82rem;
}
.slc-calendar-item-actions {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 2px;
}
.slc-calendar-week-item a {
    text-decoration: underline;
}
.slc-calendar-week-item.slc-type-clubshow { background: #8b4a22; }
.slc-calendar-week-item.slc-type-koerung { background: #2f63d8; }
.slc-calendar-week-item.slc-type-nachzuchtbeurteilung { background: #6f5a91; }
.slc-calendar-week-item.slc-type-extern { background: #4f7d48; }
.slc-calendar-week-item.slc-type-sonstiges { background: #65717f; }
@media (max-width: 900px) {
    .slc-calendar-toolbar {
        grid-template-columns: 1fr;
    }
    .slc-calendar-nav-group,
    .slc-calendar-view-tabs {
        justify-self: stretch;
        justify-content: center;
    }
    .slc-calendar-view-tabs span {
        flex: 1;
    }
}
@media (max-width: 760px) {
    .slc-calendar-shell {
        border-radius: 12px;
    }
    .slc-calendar-filter {
        display: grid;
        grid-template-columns: 1fr;
    }
    .slc-calendar-filter button {
        width: 100%;
    }
    .slc-calendar-week-head,
    .slc-calendar-time-col,
    .slc-calendar-hour-line,
    .slc-calendar-week-day:not(.has-events) {
        display: none;
    }
    .slc-calendar-week,
    .slc-calendar-week-body {
        overflow: visible;
        min-width: 0;
    }
    .slc-calendar-week-body {
        display: grid;
        grid-template-columns: 1fr;
    }
    .slc-calendar-week-day {
        min-height: auto;
        border-right: 0;
        border-bottom: 1px solid var(--slc-calendar-line);
        padding: 12px;
        background: #fff;
    }
    .slc-calendar-week-day.has-events::before {
        content: attr(data-date);
    }
    .slc-calendar-week-item {
        position: static;
        height: auto !important;
        margin-bottom: 8px;
    }
}

/* FullCalendar integration, adapted from the Werkstattplaner calendar direction. */
.slc-calendar-fc-wrap {
    --slc-calendar-head: #2f4053;
    --slc-calendar-head-soft: #41566d;
    --slc-calendar-line: rgba(0,0,0,.12);
    --slc-calendar-muted: #f3f4f6;
}
.slc-calendar-fc-filter {
    display: flex;
    justify-content: flex-end;
    align-items: end;
    gap: 10px;
    margin: 0 0 12px;
    padding: 12px;
    border: 1px solid var(--slc-border);
    border-radius: 12px;
    background: #fff;
}
.slc-calendar-fc-filter label {
    display: grid;
    gap: 4px;
    min-width: min(320px, 100%);
    font-size: .82rem;
    color: var(--slc-muted);
}
.slc-calendar-fc-filter select,
.slc-calendar-fc-filter button {
    min-height: 42px;
    border: 1px solid var(--slc-border);
    border-radius: 9px;
    padding: 9px 11px;
    background: #fff;
}
.slc-calendar-fc-filter button {
    cursor: pointer;
    background: var(--slc-calendar-head);
    color: #fff;
    border-color: var(--slc-calendar-head);
    padding-left: 18px;
    padding-right: 18px;
}
.slc-calendar-fc-card {
    border: 1px solid var(--slc-calendar-line);
    border-radius: 12px;
    background: #fff;
    padding: 10px;
    overflow: hidden;
}
.slc-fullcalendar .fc {
    font-size: 14px;
}
.slc-fullcalendar .fc .fc-toolbar.fc-header-toolbar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    align-items: center;
    gap: 12px;
    margin-bottom: 10px;
}
.slc-fullcalendar .fc .fc-toolbar-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: #1f2f40;
}
.slc-fullcalendar .fc .fc-button {
    background: var(--slc-calendar-head);
    border-color: var(--slc-calendar-head);
    border-radius: 4px;
    box-shadow: none;
    font-weight: 600;
    min-height: 34px;
    padding: 6px 10px;
}
.slc-fullcalendar .fc .fc-button:hover,
.slc-fullcalendar .fc .fc-button:focus {
    background: #1f2f40;
    border-color: #1f2f40;
    box-shadow: none;
}
.slc-fullcalendar .fc .fc-button-primary:not(:disabled).fc-button-active,
.slc-fullcalendar .fc .fc-button-primary:not(:disabled):active {
    background: #1f2f40;
    border-color: #1f2f40;
}
.slc-fullcalendar .fc .fc-button-group .fc-button {
    border-radius: 0;
}
.slc-fullcalendar .fc .fc-button-group .fc-button:first-child {
    border-top-left-radius: 4px;
    border-bottom-left-radius: 4px;
}
.slc-fullcalendar .fc .fc-button-group .fc-button:last-child {
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.slc-fullcalendar .fc-theme-standard td,
.slc-fullcalendar .fc-theme-standard th,
.slc-fullcalendar .fc-theme-standard .fc-scrollgrid {
    border-color: var(--slc-calendar-line);
}
.slc-fullcalendar .fc .fc-col-header-cell {
    background: #fff;
}
.slc-fullcalendar .fc .fc-col-header-cell-cushion {
    color: #3857ff;
    text-decoration: none;
    font-weight: 700;
    padding: 6px 4px;
}
.slc-fullcalendar .fc .fc-timegrid-slot {
    height: 34px;
}
.slc-fullcalendar .fc .fc-timegrid-axis-cushion,
.slc-fullcalendar .fc .fc-timegrid-slot-label-cushion {
    color: rgba(0,0,0,.65);
    font-size: .78rem;
}
.slc-fullcalendar .fc .fc-timegrid-col.fc-day-today,
.slc-fullcalendar .fc .fc-daygrid-day.fc-day-today {
    background: #fff9dc;
}
.slc-fullcalendar .fc .fc-timegrid-col:nth-last-child(-n+2),
.slc-fullcalendar .fc .fc-day-sat,
.slc-fullcalendar .fc .fc-day-sun {
    background-color: var(--slc-calendar-muted);
}
.slc-fullcalendar .fc .fc-event {
    border-radius: 6px;
    border: 0;
    box-shadow: 0 1px 3px rgba(0,0,0,.14);
    overflow: hidden;
}
.slc-fullcalendar .fc .fc-event-main {
    padding: 2px 4px;
}
.slc-fc-event-inner {
    display: grid;
    gap: 2px;
    line-height: 1.18;
    color: #fff;
}
.slc-fc-time,
.slc-fc-location,
.slc-fc-links {
    font-size: .74rem;
    opacity: .94;
}
.slc-fc-title {
    font-weight: 700;
    font-size: .82rem;
}
.slc-fc-links {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}
.slc-fc-links a {
    color: #fff;
    text-decoration: underline;
}
.slc-fullcalendar .fc-list-event-title a,
.slc-fullcalendar .fc-list-event-time {
    color: inherit;
}
@media (max-width: 900px) {
    .slc-fullcalendar .fc .fc-toolbar.fc-header-toolbar {
        grid-template-columns: 1fr;
    }
    .slc-fullcalendar .fc .fc-toolbar-chunk {
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 6px;
    }
    .slc-calendar-fc-card {
        overflow-x: auto;
    }
    .slc-fullcalendar .fc {
        min-width: 860px;
    }
}
@media (max-width: 760px) {
    .slc-calendar-fc-filter {
        display: grid;
        grid-template-columns: 1fr;
    }
    .slc-calendar-fc-filter button {
        width: 100%;
    }
}

.slc-placement-group {
    margin-top: 18px;
    padding: 16px;
    border: 1px solid var(--slc-border);
    border-left: 6px solid var(--slc-accent, #24384f);
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(36, 56, 79, 0.075), rgba(36, 56, 79, 0.028) 42%, #fff 100%);
    box-shadow: 0 8px 22px rgba(0,0,0,.045);
}
.slc-placement-group + .slc-placement-group {
    margin-top: 30px;
}
.slc-placement-group-title {
    display: inline-flex;
    align-items: center;
    margin: 0 0 14px;
    padding: 8px 12px;
    border: 1px solid rgba(36, 56, 79, 0.16);
    border-radius: 999px;
    background: rgba(255,255,255,.82);
    box-shadow: 0 1px 2px rgba(0,0,0,.035);
    font-size: 1.05rem;
}

.slc-placement-sex-group {
    margin-top: 14px;
    padding: 12px;
    border: 1px solid rgba(0,0,0,.075);
    border-radius: 14px;
    background: rgba(255,255,255,.72);
}
.slc-placement-sex-title {
    margin: 0 0 10px;
    padding: 8px 10px;
    border-left: 4px solid var(--slc-accent, #24384f);
    border-radius: 10px;
    background: rgba(36, 56, 79, 0.06);
    font-size: 0.98rem;
    font-weight: 700;
}

.slc-placement-sex-groups {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    align-items: start;
}
.slc-placement-sex-group-none {
    grid-column: 1 / -1;
}
.slc-placement-sex-group .slc-placement-grid {
    grid-template-columns: 1fr;
}
@media (max-width: 760px) {
    .slc-placement-group {
        padding: 12px;
        border-radius: 16px;
    }
    .slc-placement-sex-groups {
        grid-template-columns: 1fr;
    }
}


/* 0.3.4: stronger class/category grouping in public placement output */
.slc-placements-grouped > .slc-placement-group {
    display: block !important;
    margin: 28px 0 34px !important;
    padding: 22px !important;
    border: 1px solid #dce2e8 !important;
    border-left: 8px solid var(--slc-accent, #24384f) !important;
    border-radius: 18px !important;
    background: #f6f8fa !important;
    box-shadow: 0 10px 28px rgba(20,32,45,.06) !important;
}
.slc-placement-group-header {
    display: flex !important;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 0 0 18px !important;
    padding: 0 0 14px !important;
    border-bottom: 1px solid #e1e6eb;
}
.slc-placement-group-kicker {
    font-size: .78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: #5d6b78;
}
.slc-placements-grouped .slc-placement-group-title {
    display: inline-flex !important;
    align-items: center;
    margin: 0 !important;
    padding: 8px 13px !important;
    border: 1px solid #ccd5de !important;
    border-radius: 999px !important;
    background: #fff !important;
    box-shadow: 0 1px 2px rgba(0,0,0,.04) !important;
    font-size: 1.08rem !important;
    font-weight: 700 !important;
}
.slc-placements-grouped .slc-placement-sex-group {
    background: #fff !important;
    border: 1px solid #e1e6eb !important;
    border-radius: 16px !important;
    padding: 16px !important;
}
.slc-placements-grouped .slc-placement-sex-title {
    margin: 0 0 14px !important;
    padding: 8px 10px !important;
    border-left: 4px solid var(--slc-accent, #24384f) !important;
    border-radius: 10px !important;
    background: #f0f4f7 !important;
    font-weight: 700 !important;
}
@media (max-width: 760px) {
    .slc-placements-grouped > .slc-placement-group {
        padding: 14px !important;
        margin: 20px 0 26px !important;
        border-radius: 16px !important;
    }
}

/* Zuchthunde */
.slc-breed-dogs{margin:24px 0;}
.slc-breed-group{margin:0 0 34px;}
.slc-breed-group>h3{margin:0 0 16px;font-size:1.45rem;}
.slc-breed-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(280px,1fr));gap:18px;}
.slc-breed-card{display:grid;grid-template-columns:240px 1fr;gap:0;overflow:hidden;border:1px solid rgba(20,32,45,.10);border-radius:18px;background:#fff;box-shadow:0 10px 28px rgba(20,32,45,.06);}
.slc-breed-photo{min-height:220px;background:#f3f4f6;display:flex;align-items:center;justify-content:center;color:#5d6b78;}
.slc-breed-photo img{width:100%;height:100%;object-fit:cover;display:block;}
.slc-breed-body{padding:20px 22px;}
.slc-breed-body h4{margin:0 0 10px;font-size:1.2rem;font-weight:700;}
.slc-breed-health{margin:12px 0;padding:12px 14px;border-radius:12px;background:#f7f4ef;border:1px solid rgba(139,74,34,.12);}
.slc-breed-health p,.slc-breed-contact p{margin:.25rem 0;}
.slc-breed-contact{margin:12px 0;color:#4b5563;}
.slc-breed-note{margin-top:12px;padding-top:12px;border-top:1px solid rgba(20,32,45,.10);}
@media(max-width:700px){.slc-breed-card{grid-template-columns:1fr}.slc-breed-photo{min-height:240px}.slc-breed-body{padding:16px}}

/* 0.4.1: breeding dog cards aligned with placement-card style */
.slc-breed-dogs {
    --slc-breed-border: rgba(20,32,45,.10);
    --slc-breed-soft: #f6f8fa;
    --slc-breed-accent: #8b4a22;
}
.slc-breed-group {
    padding: 18px;
    border: 1px solid #dce2e8;
    border-left: 7px solid var(--slc-breed-accent);
    border-radius: 18px;
    background: linear-gradient(90deg, rgba(139,74,34,.075), rgba(139,74,34,.025) 42%, #fff 100%);
    box-shadow: 0 8px 22px rgba(20,32,45,.045);
}
.slc-breed-group-ruede {
    --slc-breed-accent: #2f63d8;
}
.slc-breed-group-huendin {
    --slc-breed-accent: #8b4a76;
}
.slc-breed-group > h3 {
    display: inline-flex;
    align-items: center;
    margin: 0 0 16px !important;
    padding: 8px 13px;
    border: 1px solid #ccd5de;
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 1px 2px rgba(0,0,0,.04);
    font-size: 1.08rem;
    font-weight: 700;
}
.slc-breed-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 380px));
    align-items: stretch;
}
.slc-breed-card {
    display: flex !important;
    flex-direction: column;
    gap: 0 !important;
    overflow: hidden;
    border: 1px solid var(--slc-breed-border);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 6px 18px rgba(20,32,45,.055);
}
.slc-breed-photo {
    width: 100%;
    min-height: 0 !important;
    aspect-ratio: 4 / 3;
    background: #f1f3f5;
}
.slc-breed-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.slc-breed-body {
    padding: 12px 14px 14px !important;
}
.slc-breed-head {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 8px;
}
.slc-breed-sex-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 30px;
    padding: 5px 10px;
    border-radius: 999px;
    background: var(--slc-breed-soft);
    font-size: .9rem;
    line-height: 1;
}
.slc-breed-card-ruede .slc-breed-sex-badge {
    color: #1d4eb0;
    background: rgba(47,99,216,.09);
}
.slc-breed-card-huendin .slc-breed-sex-badge {
    color: #7b3266;
    background: rgba(139,74,118,.09);
}
.slc-breed-body h4 {
    margin: 0 0 8px !important;
    font-size: 1.12rem !important;
    line-height: 1.25;
}
.slc-breed-section-title {
    display: block;
    margin-bottom: 5px;
    font-size: .86rem;
}
.slc-breed-health,
.slc-breed-contact,
.slc-breed-note {
    margin: 10px 0 0 !important;
    padding: 11px 12px !important;
    border: 1px solid rgba(20,32,45,.08);
    border-radius: 12px;
    background: #fafbfc !important;
}
.slc-breed-health p,
.slc-breed-contact p {
    margin: .22rem 0 !important;
}
.slc-breed-actions {
    margin: 10px 0 0 !important;
}
.slc-breed-actions .slc-button {
    width: 100%;
    border-color: rgba(20,32,45,.16);
    background: #fff;
    color: #222;
}
@media (max-width: 760px) {
    .slc-breed-group {
        padding: 12px;
        border-radius: 16px;
    }
    .slc-breed-grid {
        grid-template-columns: 1fr;
    }
}

/* 0.4.2: use the same public card proportions for breeding dogs as for placements */
.slc-breed-grid.slc-placement-grid {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 14px !important;
    align-items: stretch !important;
}
.slc-breed-card.slc-placement-card {
    display: flex !important;
    flex-direction: column !important;
    border: 1px solid var(--slc-border) !important;
    border-radius: 14px !important;
    overflow: hidden !important;
    background: #fff !important;
    box-shadow: none !important;
}
.slc-breed-photo.slc-placement-photo {
    width: 100% !important;
    aspect-ratio: 4 / 3 !important;
    min-height: 0 !important;
    height: auto !important;
    background: var(--slc-soft) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: var(--slc-muted) !important;
}
.slc-breed-photo.slc-placement-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.slc-breed-body.slc-placement-body {
    padding: 12px !important;
}
.slc-breed-body.slc-placement-body h4 {
    margin: 0 0 8px !important;
    font-size: inherit !important;
    line-height: inherit !important;
}
.slc-breed-head {
    margin-bottom: 8px !important;
}
.slc-breed-health,
.slc-breed-contact,
.slc-breed-note {
    background: transparent !important;
    border: 0 !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 8px 0 0 !important;
}
.slc-breed-section-title {
    display: inline !important;
    margin: 0 !important;
    font-size: inherit !important;
    font-weight: 700 !important;
}
.slc-breed-actions .slc-button {
    width: auto !important;
}
@media (max-width: 760px) {
    .slc-breed-grid.slc-placement-grid {
        grid-template-columns: 1fr !important;
    }
}


/* 0.4.3: Zuchthunde optisch konsequent wie Platzierungs-Cards */
.slc-breed-dogs .slc-breed-group {
    margin: 0 0 34px !important;
    padding: 24px !important;
    border-radius: 20px !important;
    border: 1px solid rgba(139, 74, 34, .16) !important;
    border-left: 8px solid var(--slc-breed-accent) !important;
    background: linear-gradient(90deg, rgba(139,74,34,.12), rgba(139,74,34,.055) 52%, rgba(255,255,255,.96) 100%) !important;
    box-shadow: 0 10px 28px rgba(20,32,45,.055) !important;
}
.slc-breed-dogs .slc-breed-group > h3 {
    margin: 0 0 18px !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    font-size: 1.35rem !important;
    font-weight: 500 !important;
    line-height: 1.25 !important;
    color: #1f2933 !important;
}
.slc-breed-dogs .slc-breed-grid.slc-placement-grid {
    display: grid !important;
    grid-template-columns: repeat(auto-fill, minmax(300px, 360px)) !important;
    gap: 18px !important;
    align-items: stretch !important;
}
.slc-breed-dogs .slc-breed-card.slc-placement-card {
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    border: 1px solid rgba(20,32,45,.10) !important;
    border-radius: 14px !important;
    background: #fff !important;
    box-shadow: 0 8px 20px rgba(20,32,45,.06) !important;
    min-height: 100% !important;
}
.slc-breed-dogs .slc-breed-photo.slc-placement-photo {
    width: 100% !important;
    height: 250px !important;
    aspect-ratio: auto !important;
    min-height: 250px !important;
    background: #f3f4f6 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    color: #52616f !important;
}
.slc-breed-dogs .slc-breed-photo.slc-placement-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}
.slc-breed-dogs .slc-breed-body.slc-placement-body {
    padding: 14px 16px 18px !important;
}
.slc-breed-dogs .slc-breed-head {
    margin: 0 0 8px !important;
}
.slc-breed-dogs .slc-breed-sex-badge {
    display: inline-flex !important;
    align-items: center !important;
    min-width: 0 !important;
    min-height: 32px !important;
    padding: 6px 11px !important;
    border-radius: 999px !important;
    background: #f6f7f8 !important;
    color: #111827 !important;
    font-weight: 700 !important;
    font-size: .95rem !important;
    line-height: 1 !important;
}
.slc-breed-dogs .slc-breed-card-ruede .slc-breed-sex-badge {
    background: rgba(47,99,216,.10) !important;
    color: #1d4eb0 !important;
}
.slc-breed-dogs .slc-breed-card-huendin .slc-breed-sex-badge {
    background: rgba(139,74,118,.10) !important;
    color: #7b3266 !important;
}
.slc-breed-dogs .slc-breed-body.slc-placement-body h4 {
    margin: 0 0 10px !important;
    font-size: 1.18rem !important;
    line-height: 1.25 !important;
    font-weight: 500 !important;
    color: #1f2933 !important;
}
.slc-breed-dogs .slc-breed-health,
.slc-breed-dogs .slc-breed-contact,
.slc-breed-dogs .slc-breed-note {
    margin: 8px 0 0 !important;
    padding: 0 !important;
    border: 0 !important;
    background: transparent !important;
    color: #4b5563 !important;
}
.slc-breed-dogs .slc-breed-health p,
.slc-breed-dogs .slc-breed-contact p,
.slc-breed-dogs .slc-breed-note {
    margin: .28rem 0 !important;
    line-height: 1.45 !important;
}
.slc-breed-dogs .slc-breed-section-title {
    display: block !important;
    margin: 0 0 4px !important;
    font-weight: 700 !important;
    color: #1f2933 !important;
}
.slc-breed-dogs .slc-breed-actions {
    margin-top: 12px !important;
}
.slc-breed-dogs .slc-breed-actions .slc-button {
    display: inline-flex !important;
    width: auto !important;
    border-radius: 999px !important;
    padding: 7px 12px !important;
    font-size: .92rem !important;
}
@media (max-width: 760px) {
    .slc-breed-dogs .slc-breed-group {
        padding: 14px !important;
        border-radius: 18px !important;
    }
    .slc-breed-dogs .slc-breed-grid.slc-placement-grid {
        grid-template-columns: 1fr !important;
    }
    .slc-breed-dogs .slc-breed-photo.slc-placement-photo {
        height: 240px !important;
        min-height: 240px !important;
    }
}

.slc-calendar-ics-link,
.slc-calendar-compact-ics {
    color: inherit;
    text-decoration: underline;
    font-weight: 600;
}
.slc-calendar-compact-ics {
    display: inline-block;
    margin-left: 6px;
    font-size: .72rem;
    opacity: .95;
}

/* Event card type accent (0.6.21) */
.slc-events .slc-event-card {
    border-left: 7px solid var(--slc-event-type-color, var(--slc-border)) !important;
    background: linear-gradient(90deg, var(--slc-event-type-bg, rgba(0,0,0,.035)) 0%, #fff 42%, #fff 100%) !important;
}
.slc-events .slc-event-card .slc-event-date {
    background: var(--slc-event-type-bg-strong, var(--slc-soft)) !important;
    border-color: var(--slc-event-type-color, var(--slc-border)) !important;
}
.slc-events .slc-event-card .slc-event-badges .slc-badge:first-child {
    border-color: var(--slc-event-type-color, var(--slc-border)) !important;
    background: var(--slc-event-type-bg-strong, var(--slc-soft)) !important;
    color: var(--slc-event-type-color, #374151) !important;
}
.slc-event-readmore {
    margin-top: 10px;
}
.slc-event-readmore-toggle {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
    clip: rect(0 0 0 0) !important;
    clip-path: inset(50%) !important;
    white-space: nowrap !important;
    opacity: 0 !important;
    pointer-events: none !important;
}
.slc-event-content-preview {
    display: block;
    position: relative;
    max-height: calc(var(--slc-event-lines, 3) * 1.65em);
    overflow: hidden;
    line-height: 1.55;
}
.slc-event-content-preview:after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 2.2em;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(255,255,255,0), #fff 82%);
}
.slc-event-content-preview table,
.slc-event-content-full table {
    width: 100%;
    max-width: 100%;
    border-collapse: collapse;
    table-layout: auto;
}
.slc-event-content-preview table {
    margin: .35rem 0 0;
}
.slc-event-content-preview td,
.slc-event-content-preview th,
.slc-event-content-full td,
.slc-event-content-full th {
    padding: 7px 9px;
    vertical-align: top;
}
.slc-event-content-full {
    display: none;
}
.slc-event-readmore-toggle:checked ~ .slc-event-content-preview {
    display: none;
}
.slc-event-readmore-toggle:checked ~ .slc-event-content-preview:after {
    display: none;
}
.slc-event-readmore-toggle:checked ~ .slc-event-content-full {
    display: block;
}
.slc-event-readmore-label {
    display: inline-flex;
    align-items: center;
    margin-top: 8px;
    border-radius: 999px;
    padding: 6px 11px;
    border: 1px solid rgba(20,32,45,.14);
    background: #fff;
    color: var(--slc-event-type-color, #8b4a22);
    font-weight: 700;
    font-size: .88rem;
    cursor: pointer;
}
.slc-event-readmore-label .slc-event-less {
    display: none;
}
.slc-event-readmore-toggle:checked ~ .slc-event-readmore-label .slc-event-more {
    display: none;
}
.slc-event-readmore-toggle:checked ~ .slc-event-readmore-label .slc-event-less {
    display: inline;
}
@media(max-width:760px){
    .slc-event-content-full {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .slc-event-content-full table {
        min-width: 560px;
    }
}

/* Event details: closed by default, robust for formatted content/tables. */
.slc-event-details-toggle {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    opacity: 0;
}
.slc-event-details {
    display: none;
    margin-top: 12px;
    border: 1px solid rgba(0,0,0,.10);
    border-radius: 12px;
    background: rgba(255,255,255,.78);
    padding: 14px;
    overflow-x: auto;
}
.slc-event-details-inner {
    max-width: 100%;
}
.slc-event-details-inner > *:first-child {
    margin-top: 0;
}
.slc-event-details-inner > *:last-child {
    margin-bottom: 0;
}
.slc-event-details-inner table {
    width: 100%;
    border-collapse: collapse;
    min-width: 560px;
}
.slc-event-details-inner th,
.slc-event-details-inner td {
    border: 1px solid rgba(0,0,0,.12);
    padding: 8px 10px;
    vertical-align: top;
}
.slc-event-details-less {
    display: none;
}
.slc-event-details-toggle:checked ~ .slc-actions .slc-event-details-more {
    display: none;
}
.slc-event-details-toggle:checked ~ .slc-actions .slc-event-details-less {
    display: inline;
}
.slc-event-details-toggle:checked ~ .slc-event-details {
    display: block;
}
.slc-event-details-label {
    user-select: none;
}
@media (max-width: 760px) {
    .slc-event-details {
        padding: 10px;
    }
    .slc-event-details-inner table {
        min-width: 520px;
    }
}

/* 0.6.20: robust event details toggle without visible checkbox fallback. */
.slc-event-details-toggle,
.slc-event-card input.slc-event-details-toggle,
.slc-event-card > input[type="checkbox"].slc-event-details-toggle {
    display: none !important;
    visibility: hidden !important;
    width: 0 !important;
    height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    opacity: 0 !important;
    appearance: none !important;
}
.slc-event-details-button {
    cursor: pointer;
}

/* 0.6.23: Compact spacing for pages that contain an EDM calendar shortcode.
   Scoped to body.edm-has-calendar-page so normal pages are not affected. */
body.edm-has-calendar-page #content,
body.edm-has-calendar-page .site-content,
body.edm-has-calendar-page .content-area,
body.edm-has-calendar-page .container,
body.edm-has-calendar-page .entry-content {
  padding-top: 0 !important;
  margin-top: 0 !important;
}
body.edm-has-calendar-page .entry-header,
body.edm-has-calendar-page .page-header,
body.edm-has-calendar-page .siteorigin-panels-stretch:first-child,
body.edm-has-calendar-page .panel-grid:first-child,
body.edm-has-calendar-page .panel-grid:first-child .panel-row-style,
body.edm-has-calendar-page .panel-grid:first-child .panel-grid-cell,
body.edm-has-calendar-page .panel-grid:first-child .so-panel {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.edm-has-calendar-page .slc-calendar-iframe-shell {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
body.edm-has-calendar-page .slc-calendar-iframe {
  margin-top: 0 !important;
}

/* 0.6.24: remove unwanted top spacer on pages that contain EDM shortcodes.
   Scoped to EDM pages only; it does not change normal site pages. */
body.edm-has-plugin-page .site-content,
body.edm-has-plugin-page #content,
body.edm-has-plugin-page #primary,
body.edm-has-plugin-page .content-area,
body.edm-has-plugin-page .container,
body.edm-has-plugin-page .entry-content,
body.edm-has-plugin-page .hentry,
body.edm-has-plugin-page article.page,
body.edm-has-plugin-page .panel-layout,
body.edm-has-plugin-page .panel-grid:first-child,
body.edm-has-plugin-page .panel-grid:first-child .panel-row-style,
body.edm-has-plugin-page .panel-grid:first-child .panel-grid-cell,
body.edm-has-plugin-page .panel-grid:first-child .so-panel:first-child {
    margin-top: 0 !important;
    padding-top: 0 !important;
}
body.edm-has-plugin-page .slc-events,
body.edm-has-plugin-page .slc-news,
body.edm-has-plugin-page .slc-breed-dogs,
body.edm-has-plugin-page .slc-placements,
body.edm-has-plugin-page .slc-calendar-iframe-shell {
    margin-top: 0 !important;
}
body.edm-has-plugin-page .entry-content > :first-child,
body.edm-has-plugin-page .panel-layout > :first-child,
body.edm-has-plugin-page .so-panel:first-child > :first-child {
    margin-top: 0 !important;
}

/* 0.6.25: remove empty editor/PageBuilder spacer rows before EDM outputs. */
body.edm-has-plugin-page .entry-content > p:empty,
body.edm-has-plugin-page .entry-content > p:first-child:has(br:only-child),
body.edm-has-plugin-page .entry-content > .wp-block-spacer:first-child,
body.edm-has-plugin-page .panel-layout > .panel-grid:first-child:has(.so-panel:empty),
body.edm-has-plugin-page .panel-layout > .panel-grid:first-child:has(.widget_sow-editor:empty),
body.edm-has-plugin-page .panel-layout > .panel-grid:first-child:has(.textwidget:empty) {
    display: none !important;
    height: 0 !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}
body.edm-has-plugin-page .entry-content > .slc-events:first-child,
body.edm-has-plugin-page .entry-content > .slc-news-list:first-child,
body.edm-has-plugin-page .entry-content > .slc-calendar-iframe-shell:first-child,
body.edm-has-plugin-page .entry-content > .slc-breed-dogs:first-child,
body.edm-has-plugin-page .entry-content > .slc-placements-shortcode:first-child {
    margin-top: 0 !important;
}


/* 0.6.42: placement photo lightbox - fixed viewport popup, reinforced by JS critical styles. */
.slc-placement-photo-lightbox {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
    height: auto;
    display: flex !important;
    position: relative;
    cursor: zoom-in;
    overflow: hidden !important;
    text-decoration: none !important;
    background: var(--slc-soft) !important;
    color: inherit !important;
    font-size: 0 !important;
    line-height: 0 !important;
}
.slc-placement-photo-lightbox:hover,
.slc-placement-photo-lightbox:focus,
.slc-placement-photo-lightbox:active,
.slc-placement-photo-lightbox:visited {
    border: 0 !important;
    outline: 0 !important;
    box-shadow: none !important;
    text-decoration: none !important;
    background: var(--slc-soft) !important;
    color: inherit !important;
}
.slc-placement-photo-lightbox::before,
.slc-placement-photo-lightbox::after {
    content: none !important;
    display: none !important;
}
.slc-placement-photo-lightbox img {
    display: block !important;
    border: 0 !important;
    box-shadow: none !important;
}
.slc-image-lightbox,
dialog.slc-image-lightbox {
    position: fixed !important;
    inset: 0 !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    max-width: none !important;
    max-height: none !important;
    z-index: 2147483647 !important;
    display: none !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
    margin: 0 !important;
    background: rgba(10, 16, 24, .88) !important;
    box-sizing: border-box !important;
    overflow: hidden !important;
}
dialog.slc-image-lightbox::backdrop {
    background: transparent !important;
}
.slc-image-lightbox.is-open {
    display: flex !important;
}
.slc-image-lightbox__stage,
.slc-image-lightbox__inner {
    position: absolute !important;
    inset: 0 !important;
    z-index: 1 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 42px !important;
    box-sizing: border-box !important;
    cursor: zoom-out;
}
.slc-image-lightbox__image {
    position: relative !important;
    z-index: 2 !important;
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: calc(100vw - 84px) !important;
    max-height: calc(100vh - 84px) !important;
    object-fit: contain !important;
    border: 0 !important;
    border-radius: 10px;
    box-shadow: 0 20px 60px rgba(0,0,0,.35) !important;
    background: transparent !important;
    cursor: default;
}
.slc-image-lightbox__close {
    position: fixed !important;
    z-index: 3 !important;
    top: 18px !important;
    right: 18px !important;
    width: 42px !important;
    height: 42px !important;
    min-width: 42px !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 0 !important;
    border-radius: 999px !important;
    padding: 0 !important;
    margin: 0 !important;
    background: #fff !important;
    color: #111827 !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 30px !important;
    font-weight: 400 !important;
    line-height: 1 !important;
    text-align: center !important;
    cursor: pointer !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.26) !important;
    text-decoration: none !important;
}
.slc-image-lightbox__close:hover,
.slc-image-lightbox__close:focus,
.slc-image-lightbox__close:active {
    border: 0 !important;
    background: #fff !important;
    color: #111827 !important;
    box-shadow: 0 10px 24px rgba(0,0,0,.26) !important;
    text-decoration: none !important;
}
.slc-image-lightbox__close::before,
.slc-image-lightbox__close::after {
    content: none !important;
    display: none !important;
}
html.slc-lightbox-open,
body.slc-lightbox-open {
    overflow: hidden !important;
}
@media (max-width: 760px) {
    .slc-image-lightbox__stage,
    .slc-image-lightbox__inner {
        padding: 14px !important;
    }
    .slc-image-lightbox__image {
        max-width: calc(100vw - 28px) !important;
        max-height: calc(100vh - 28px) !important;
        border-radius: 8px;
    }
    .slc-image-lightbox__close {
        top: 8px !important;
        right: 8px !important;
    }
}


/* 0.6.44: align placement cards row-by-row across Rüden/Hündinnen columns. */
.slc-placements-grouped .slc-placement-sex-groups {
    align-items: stretch !important;
}
.slc-placements-grouped .slc-placement-sex-group:not(.slc-placement-sex-group-none) {
    display: flex !important;
    flex-direction: column !important;
}
.slc-placements-grouped .slc-placement-sex-group:not(.slc-placement-sex-group-none) > .slc-placement-sex-title {
    flex: 0 0 auto !important;
}
.slc-placements-grouped .slc-placement-sex-group:not(.slc-placement-sex-group-none) > .slc-placement-grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 14px !important;
    align-items: stretch !important;
}
.slc-placements-grouped .slc-placement-card {
    box-sizing: border-box !important;
}
.slc-placements-grouped .slc-placement-card {
    display: flex !important;
    flex-direction: column !important;
}
.slc-placements-grouped .slc-placement-card > .slc-placement-body {
    box-sizing: border-box !important;
    flex: 1 1 auto !important;
}
@media (max-width: 760px) {
    .slc-placements-grouped .slc-placement-sex-group:not(.slc-placement-sex-group-none) > .slc-placement-sex-title,
    .slc-placements-grouped .slc-placement-card {
        min-height: 0 !important;
    }
}

/* Easy Dog Manager documents */
.edm-documents {
    display: grid;
    gap: 1rem;
}
.edm-document-card {
    overflow: hidden;
}
.edm-document-fallback {
    margin: .65rem 0;
    padding: .7rem .85rem;
    border: 1px solid var(--slc-border);
    border-radius: 10px;
    background: var(--slc-soft);
    font-size: .95rem;
}
.edm-document-embed {
    margin-top: 1rem;
    border: 1px solid var(--slc-border);
    border-radius: 12px;
    overflow: hidden;
    background: #fff;
}
.edm-document-embed iframe {
    display: block;
    width: 100%;
    min-height: 68vh;
    border: 0;
}
.edm-document-actions {
    margin: 1rem 0 0;
}
@media (max-width: 720px) {
    .edm-document-embed iframe {
        min-height: 62vh;
    }
}
.edm-document-card {
    display: block;
    border: 1px solid var(--slc-border);
    border-radius: 14px;
    padding: 14px;
    background: #fff;
}
.edm-document-card .slc-card-header h3 {
    margin: 0 0 .25rem;
}
.edm-document-card .slc-meta {
    color: var(--slc-muted);
    font-size: .92rem;
}
.edm-document-card .slc-content {
    margin-top: .85rem;
}

/* Easy Dog Manager document filters */
.edm-document-filter {
  margin: 0 0 1rem;
  padding: 1rem;
  border: 1px solid rgba(15, 23, 42, .10);
  border-radius: 12px;
  background: #fff;
}
.edm-document-filter-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: .75rem;
  align-items: end;
}
.edm-document-filter label span {
  display: block;
  font-weight: 700;
  margin-bottom: .3rem;
}
.edm-document-filter select,
.edm-document-filter input[type="text"] {
  width: 100%;
  min-height: 42px;
}
.edm-document-filter-actions {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
@media (max-width: 760px) {
  .edm-document-filter-grid {
    grid-template-columns: 1fr;
  }
  .edm-document-filter-actions .slc-button {
    width: 100%;
    justify-content: center;
    text-align: center;
  }
}


/* EDM 0.6.52 professional document filter fallback. */
.edm-documents,.edm-documents *{box-sizing:border-box!important}
.edm-documents{--edm-border:rgba(31,41,55,.13);--edm-border-strong:rgba(31,41,55,.22);--edm-muted:#667085;--edm-text:#1f2937;--edm-accent:#8b4a22;--edm-accent-dark:#6f3919;margin:22px 0!important;color:var(--edm-text)!important}
.edm-document-filter-wrap{display:block!important;margin:0 0 22px!important;border:1px solid var(--edm-border)!important;border-radius:18px!important;background:linear-gradient(180deg,#fff,#fbfaf8)!important;box-shadow:0 14px 36px rgba(15,23,42,.08)!important;overflow:hidden!important}
.edm-document-filter-wrap summary{list-style:none!important;display:flex!important;align-items:center!important;justify-content:space-between!important;gap:14px!important;padding:18px 20px!important;cursor:pointer!important;font-weight:850!important;color:var(--edm-text)!important;background:transparent!important;border:0!important}
.edm-document-filter-wrap summary::-webkit-details-marker{display:none!important}
.edm-document-filter-wrap summary span{display:block!important;font-size:1.05rem!important;line-height:1.2!important}
.edm-document-filter-wrap summary small{display:block!important;margin:4px 0 0 auto!important;color:var(--edm-muted)!important;font-size:.9rem!important;font-weight:600!important}
.edm-document-filter-wrap summary::after{content:"+"!important;width:34px!important;height:34px!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 34px!important;border:1px solid var(--edm-border)!important;border-radius:999px!important;background:#fff!important;color:var(--edm-accent)!important;font-size:1.4rem!important;line-height:1!important;box-shadow:0 4px 12px rgba(15,23,42,.06)!important}
.edm-document-filter-wrap[open] summary::after{content:"+"!important;transform:rotate(45deg)!important}
.edm-document-filter{display:block!important;margin:0!important;padding:0 20px 20px!important;border-top:1px solid var(--edm-border)!important;background:transparent!important}
.edm-document-filter-grid{display:grid!important;grid-template-columns:minmax(170px,1fr) minmax(170px,1fr) minmax(220px,1.35fr)!important;gap:14px!important;align-items:end!important;padding-top:18px!important}
.edm-document-filter label{display:flex!important;flex-direction:column!important;gap:7px!important;margin:0!important;font-weight:750!important;color:var(--edm-text)!important}
.edm-document-filter label span{display:block!important;margin:0!important;font-size:.86rem!important;letter-spacing:.01em!important;color:#344054!important}
.edm-document-filter input[type=text],.edm-document-filter select{appearance:auto!important;width:100%!important;max-width:100%!important;min-height:48px!important;border:1px solid var(--edm-border-strong)!important;border-radius:14px!important;background:#fff!important;padding:11px 13px!important;color:var(--edm-text)!important;font-size:1rem!important;line-height:1.2!important;box-shadow:0 1px 2px rgba(15,23,42,.04)!important;outline:none!important}
.edm-document-filter input[type=text]:focus,.edm-document-filter select:focus{border-color:var(--edm-accent)!important;box-shadow:0 0 0 4px rgba(139,74,34,.13)!important}
.edm-document-filter-actions{display:flex!important;gap:10px!important;flex-wrap:wrap!important;grid-column:1/-1!important;margin-top:4px!important}
.edm-documents .slc-button{display:inline-flex!important;align-items:center!important;justify-content:center!important;min-height:46px!important;border-radius:999px!important;padding:11px 18px!important;border:1px solid var(--edm-accent)!important;background:var(--edm-accent)!important;color:#fff!important;text-decoration:none!important;font-weight:850!important;font-size:.95rem!important;line-height:1.1!important;box-shadow:0 8px 18px rgba(139,74,34,.18)!important;transition:transform .15s ease,box-shadow .15s ease,background .15s ease!important}
.edm-documents .slc-button:hover{background:var(--edm-accent-dark)!important;transform:translateY(-1px)!important;box-shadow:0 12px 24px rgba(139,74,34,.22)!important}
.edm-documents .slc-button-secondary{background:#fff!important;color:var(--edm-text)!important;border-color:var(--edm-border-strong)!important;box-shadow:none!important}
.edm-documents .slc-button-secondary:hover{background:#f9fafb!important;color:var(--edm-text)!important}
.edm-document-card{display:block!important;margin:0 0 18px!important;padding:18px!important;border:1px solid var(--edm-border)!important;border-radius:18px!important;background:#fff!important;box-shadow:0 12px 32px rgba(15,23,42,.07)!important;overflow:hidden!important}
.edm-document-card .slc-card-header{display:flex!important;align-items:flex-start!important;justify-content:space-between!important;gap:12px!important;margin:0!important}
.edm-document-card h3{margin:0 0 8px!important;font-size:1.2rem!important;line-height:1.25!important;color:var(--edm-text)!important}
.edm-document-card .slc-meta{display:flex!important;gap:8px!important;flex-wrap:wrap!important;color:var(--edm-muted)!important;font-size:.9rem!important;font-weight:750!important}
.edm-document-fallback{margin:14px 0 0!important;padding:10px 12px!important;border-radius:14px!important;background:rgba(139,74,34,.10)!important;color:#7a3f1e!important;font-weight:750!important}
.edm-document-card .slc-content{margin-top:14px!important;color:#4b5563!important;line-height:1.6!important}
.edm-document-card .slc-content p{margin:.45rem 0!important}
.edm-document-embed{margin-top:16px!important;border:1px solid var(--edm-border)!important;border-radius:16px!important;background:#f6f7f8!important;overflow:hidden!important}
.edm-document-embed iframe{display:block!important;width:100%!important;height:min(72vh,760px)!important;min-height:420px!important;border:0!important;background:#fff!important}
.edm-document-actions{margin:16px 0 0!important}
.edm-documents .slc-empty{margin:16px 0!important;padding:20px!important;border:1px dashed var(--edm-border-strong)!important;border-radius:16px!important;background:#fff!important;color:var(--edm-muted)!important;box-shadow:0 8px 20px rgba(15,23,42,.04)!important}
@media(max-width:760px){.edm-documents{margin:16px 0!important}.edm-document-filter-wrap{border-radius:16px!important}.edm-document-filter-wrap summary{align-items:flex-start!important;flex-direction:column!important;gap:4px!important;position:relative!important;padding:16px 58px 16px 16px!important}.edm-document-filter-wrap summary small{margin-left:0!important}.edm-document-filter-wrap summary::after{position:absolute!important;right:14px!important;top:14px!important}.edm-document-filter{padding:0 16px 16px!important}.edm-document-filter-grid{grid-template-columns:1fr!important;gap:12px!important}.edm-document-filter-actions .slc-button{width:100%!important}.edm-document-card{padding:16px!important;border-radius:16px!important}.edm-document-embed iframe{height:68vh!important;min-height:360px!important}}
