/*
 * SSF Onderzoeken – Platform v1.0.0
 * Front-endvormgeving voor het vernieuwde Sportservice Flevoland-platform.
 */

.ssf-onderzoek-wrap,
.ssf-research-template {
    --ssf-research-orange: #EB5E1C;
    --ssf-research-orange-dark: #CF4911;
    --ssf-research-navy: #181830;
    --ssf-research-green: #307520;
    --ssf-research-petrol: #1E5065;
    --ssf-research-blue: #3E9CC6;
    --ssf-research-yellow: #F2DB00;
    --ssf-research-black: #1B1B1A;
    --ssf-research-text: #344452;
    --ssf-research-muted: #657080;
    --ssf-research-canvas: #F5F6F8;
    --ssf-research-surface: #FFFFFF;
    --ssf-research-border: #E1E5EA;
    --ssf-research-heading: GeoGrotesque, Aptos, "Arial Narrow", Arial, sans-serif;
    --ssf-research-body: Aptos, Inter, Arial, sans-serif;
    --ssf-research-radius: 20px;
    --ssf-research-shadow: 0 14px 38px rgba(24, 24, 48, .08);
    color: var(--ssf-research-text);
    font-family: var(--ssf-research-body);
    font-size: 16px;
    line-height: 1.625;
}

.ssf-onderzoek-wrap *,
.ssf-research-template * {
    box-sizing: border-box;
}

.ssf-onderzoek-wrap {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto 48px;
}

.ssf-research-template {
    width: 100%;
    padding: 42px 0 70px;
    background: linear-gradient(180deg, #FFFFFF 0, #F8F9FB 430px, #FFFFFF 100%);
}

.ssf-research-shell {
    width: min(1280px, calc(100% - 40px));
    margin: 0 auto;
}

.ssf-onderzoek-wrap h2,
.ssf-onderzoek-wrap h3,
.ssf-research-template h1,
.ssf-research-template h2,
.ssf-research-template h3 {
    color: var(--ssf-research-navy);
    font-family: var(--ssf-research-heading);
    font-weight: 800;
    line-height: 1.12;
    letter-spacing: -.02em;
}

.ssf-onderzoek-wrap > h2 {
    margin: 0 0 22px;
    font-size: clamp(30px, 4vw, 44px);
}

.ssf-research-template p,
.ssf-onderzoek-wrap p {
    font-size: 16px;
    line-height: 1.625;
}

.ssf-research-eyebrow {
    display: inline-block;
    margin: 0 0 9px;
    color: var(--ssf-research-orange);
    font-family: var(--ssf-research-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .12em;
    line-height: 1.2;
    text-transform: uppercase;
}

.ssf-section-intro,
.ssf-research-section-heading p {
    max-width: 840px;
    margin: 0;
    color: var(--ssf-research-text);
}

.ssf-research-section-heading {
    margin: 0 0 20px;
}

.ssf-research-section-heading h2 {
    margin: 0 0 8px;
    font-size: clamp(28px, 4vw, 40px);
}

/* Buttons */
.ssf-research-button,
.ssf-onderzoek-wrap .btn-cta,
.ssf-research-template .btn-cta {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    min-height: 48px;
    padding: 11px 20px !important;
    border: 2px solid var(--ssf-research-orange) !important;
    border-radius: 13px !important;
    background: var(--ssf-research-orange) !important;
    box-shadow: none !important;
    color: #FFFFFF !important;
    font-family: var(--ssf-research-body) !important;
    font-size: 16px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
    transform: none !important;
    transition: background .16s ease, border-color .16s ease, color .16s ease, transform .16s ease !important;
}

.ssf-research-button::after,
.ssf-onderzoek-wrap .btn-cta::after,
.ssf-research-template .btn-cta::after {
    content: "›";
    margin-left: 9px;
    font-size: 21px;
    line-height: .7;
}

.ssf-research-button:hover,
.ssf-research-button:focus,
.ssf-onderzoek-wrap .btn-cta:hover,
.ssf-onderzoek-wrap .btn-cta:focus,
.ssf-research-template .btn-cta:hover,
.ssf-research-template .btn-cta:focus {
    border-color: var(--ssf-research-orange-dark) !important;
    background: var(--ssf-research-orange-dark) !important;
    color: #FFFFFF !important;
    outline: none;
    transform: translateY(-1px) !important;
}

.ssf-research-button--secondary {
    border-color: var(--ssf-research-border) !important;
    background: #FFFFFF !important;
    color: var(--ssf-research-navy) !important;
}

.ssf-research-button--secondary::after,
.ssf-research-button--ghost::after,
.ssf-single-back-button::after {
    display: none;
}

.ssf-research-button--secondary:hover,
.ssf-research-button--secondary:focus {
    border-color: var(--ssf-research-orange) !important;
    background: #FFFFFF !important;
    color: var(--ssf-research-orange) !important;
}

.ssf-research-button--ghost {
    border-color: rgba(255,255,255,.42) !important;
    background: transparent !important;
    color: #FFFFFF !important;
}

.ssf-research-button--ghost:hover,
.ssf-research-button--ghost:focus {
    border-color: #FFFFFF !important;
    background: #FFFFFF !important;
    color: var(--ssf-research-navy) !important;
}

.ssf-research-button--small {
    min-height: 42px;
    padding: 8px 16px !important;
    font-size: 15px !important;
}

/* Category shortcode grid */
.ssf-cat-grid {
    display: grid;
    width: 100%;
    gap: 24px;
    margin-top: 24px;
}

.ssf-cat-grid.columns-1 { grid-template-columns: 1fr; }
.ssf-cat-grid.columns-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.ssf-cat-grid.columns-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.ssf-cat-grid.columns-4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.ssf-cat-grid.items-1 { grid-template-columns: minmax(0, calc((100% - 48px) / 3)); justify-content: center; }
.ssf-cat-grid.items-2 { grid-template-columns: repeat(2, minmax(0, calc((100% - 24px) / 3))); justify-content: center; }

.ssf-cat-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ssf-research-border);
    border-radius: var(--ssf-research-radius);
    background: var(--ssf-research-surface);
    box-shadow: var(--ssf-research-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ssf-cat-card::before {
    content: "";
    position: absolute;
    inset: 0 auto 0 0;
    z-index: 2;
    width: 5px;
    background: var(--ssf-research-orange);
}

.ssf-cat-card:hover {
    border-color: rgba(235,94,28,.42);
    box-shadow: 0 20px 46px rgba(24,24,48,.13);
    transform: translateY(-4px);
}

.ssf-cat-card__image-link {
    display: block;
    color: inherit;
    text-decoration: none !important;
}

.ssf-cat-card__image {
    position: relative;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ssf-research-navy), #292955);
}

.ssf-cat-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.ssf-cat-card:hover .ssf-cat-card__image img { transform: scale(1.035); }

.ssf-cat-card__image--placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 82% 112%, transparent 0 54px, rgba(235,94,28,.9) 55px 77px, transparent 78px),
        linear-gradient(135deg, var(--ssf-research-navy), #272750);
}

.ssf-cat-card__image--placeholder > span:first-child {
    color: rgba(255,255,255,.92);
    font-size: 58px;
    font-weight: 300;
}

.ssf-cat-card__count {
    position: absolute;
    right: 15px;
    bottom: 15px;
    display: inline-flex;
    align-items: center;
    min-height: 31px;
    padding: 5px 11px;
    border-radius: 999px;
    background: rgba(24,24,48,.88);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.2;
    backdrop-filter: blur(4px);
}

.ssf-cat-card > .ssf-cat-card__eyebrow,
.ssf-cat-card > h2,
.ssf-cat-card > p,
.ssf-cat-card > .ssf-cat-card__footer {
    margin-right: 24px;
    margin-left: 28px;
}

.ssf-cat-card__eyebrow {
    margin-top: 23px;
    margin-bottom: 7px;
    color: var(--ssf-research-orange);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .09em;
    text-transform: uppercase;
}

.ssf-cat-card h2 {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: clamp(24px, 2.6vw, 31px);
}

.ssf-cat-card h2 a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none;
}

.ssf-cat-card h2 a:hover { color: var(--ssf-research-orange); }

.ssf-cat-card > p {
    margin-top: 0;
    margin-bottom: 20px;
    color: var(--ssf-research-text);
}

.ssf-cat-card__footer {
    margin-top: auto;
    margin-bottom: 26px;
}

/* Page hero */
.ssf-research-page-hero,
.ssf-tax-hero,
.ssf-single-hero {
    position: relative;
    overflow: hidden;
    border-radius: 24px;
    background: var(--ssf-research-navy);
    box-shadow: 0 18px 48px rgba(24,24,48,.16);
}

.ssf-research-page-hero {
    min-height: 330px;
    margin-bottom: 34px;
    padding: clamp(38px, 6vw, 74px);
}

.ssf-research-page-hero__content {
    position: relative;
    z-index: 2;
    max-width: 850px;
}

.ssf-research-page-hero h1 {
    max-width: 900px;
    margin: 0 0 18px;
    color: #FFFFFF;
    font-size: clamp(42px, 7vw, 76px);
    line-height: 1.02;
}

.ssf-research-page-hero p {
    max-width: 720px;
    margin: 0;
    color: rgba(255,255,255,.86);
    font-size: clamp(17px, 2vw, 21px);
}

.ssf-research-page-hero__mark,
.ssf-tax-hero__mark,
.ssf-single-hero__mark {
    position: absolute;
    right: -95px;
    bottom: -165px;
    width: 340px;
    height: 340px;
    border: 48px solid rgba(235,94,28,.9);
    border-radius: 50%;
    pointer-events: none;
}

/* Active category */
.ssf-current-cat {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(300px, 39%);
    min-height: 300px;
    margin: 0 0 18px;
    overflow: hidden;
    border: 1px solid var(--ssf-research-border);
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: var(--ssf-research-shadow);
}

.ssf-current-cat--without-image { grid-template-columns: 1fr; }

.ssf-current-cat__content {
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(28px, 5vw, 52px);
}

.ssf-current-cat h2 {
    margin: 0 0 14px;
    font-size: clamp(32px, 4.5vw, 50px);
}

.ssf-current-cat__shortdesc,
.ssf-current-cat__shortdesc p,
.ssf-current-cat__content > p {
    margin-top: 0;
    color: var(--ssf-research-text);
    font-size: 17px;
}

.ssf-current-cat__shortdesc p:last-child { margin-bottom: 0; }

.ssf-current-cat__image { min-height: 300px; }
.ssf-current-cat__image img { display: block; width: 100%; height: 100%; min-height: 300px; object-fit: cover; }
.ssf-back-link-wrap,
.ssf-tax-back { margin: 0 0 32px; }

/* Filter section */
.ssf-research-filter-section {
    margin: 0 0 28px;
    padding: clamp(24px, 4vw, 36px);
    border: 1px solid var(--ssf-research-border);
    border-radius: 22px;
    background: #FFFFFF;
    box-shadow: var(--ssf-research-shadow);
}

.ssf-filter-bar {
    width: 100%;
    margin: 0;
    padding: 20px;
    border: 1px solid var(--ssf-research-border);
    border-radius: 16px;
    background: var(--ssf-research-canvas);
}

.ssf-onderzoek-wrap > .ssf-filter-bar {
    margin-top: 16px;
}

.ssf-filter-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 14px;
    align-items: end;
}

.ssf-filter-grid.is-category { grid-template-columns: repeat(4, minmax(0, 1fr)); }

.ssf-filter-item {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.ssf-filter-item label {
    display: block;
    min-height: 22px;
    margin: 0 0 6px;
    color: var(--ssf-research-navy);
    font-size: 14px;
    font-weight: 800;
    line-height: 22px;
}

.ssf-filter-item select,
.ssf-filter-item input {
    display: block;
    width: 100%;
    height: 46px;
    min-height: 46px;
    margin: 0 !important;
    padding: 9px 12px;
    border: 1px solid #CDD2D9;
    border-radius: 10px;
    background: #FFFFFF;
    color: var(--ssf-research-navy);
    font: inherit;
    line-height: 1.2;
}

.ssf-filter-item select:focus,
.ssf-filter-item input:focus {
    border-color: var(--ssf-research-orange);
    box-shadow: 0 0 0 2px rgba(235,94,28,.16);
    outline: none;
}

.ssf-filter-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-top: 16px;
}

.ssf-filter-reset-text {
    color: var(--ssf-research-orange) !important;
    font-size: 14px;
    font-weight: 800;
    text-decoration: none !important;
}

.ssf-filter-reset-text:hover,
.ssf-filter-reset-text:focus { text-decoration: underline !important; }

/* Result count */
.ssf-results-head {
    display: flex;
    align-items: baseline;
    gap: 9px;
    margin: 0 0 20px;
    color: var(--ssf-research-muted);
}

.ssf-results-head strong {
    color: var(--ssf-research-orange);
    font-family: var(--ssf-research-heading);
    font-size: 30px;
    line-height: 1;
}

/* Research cards */
.ssf-research-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}

.ssf-research-grid.items-1 { grid-template-columns: minmax(0, calc((100% - 48px) / 3)); justify-content: center; }
.ssf-research-grid.items-2 { grid-template-columns: repeat(2, minmax(0, calc((100% - 24px) / 3))); justify-content: center; }

.ssf-research-card {
    display: flex;
    min-width: 0;
    min-height: 100%;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ssf-research-border);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: var(--ssf-research-shadow);
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease;
}

.ssf-research-card:hover {
    border-color: rgba(235,94,28,.4);
    box-shadow: 0 20px 48px rgba(24,24,48,.13);
    transform: translateY(-4px);
}

.ssf-research-card__image,
.ssf-related-card__image {
    display: block;
    height: 220px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--ssf-research-navy), #282852);
    color: #FFFFFF;
    text-decoration: none !important;
}

.ssf-research-card__image img,
.ssf-related-card__image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.ssf-research-card:hover .ssf-research-card__image img,
.ssf-related-card:hover .ssf-related-card__image img { transform: scale(1.035); }

.ssf-research-card__image--placeholder,
.ssf-related-card__image--placeholder {
    display: grid;
    place-items: center;
    background:
        radial-gradient(circle at 92% 112%, transparent 0 48px, rgba(235,94,28,.92) 49px 70px, transparent 71px),
        linear-gradient(135deg, var(--ssf-research-navy), #282852);
}

.ssf-research-card__image--placeholder span,
.ssf-related-card__image--placeholder span {
    color: rgba(255,255,255,.9);
    font-size: 58px;
}

.ssf-research-card__body {
    display: flex;
    flex: 1 1 auto;
    flex-direction: column;
    padding: 24px;
}

.ssf-research-card__top {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin: 0 0 14px;
}

.ssf-meta-chip,
.ssf-tax-chip {
    display: inline-flex;
    align-items: center;
    min-height: 29px;
    padding: 5px 11px;
    border-radius: 999px;
    background: var(--ssf-research-orange);
    color: #FFFFFF;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.15;
}

.ssf-meta-chip--light,
.ssf-tax-chip {
    background: rgba(30,80,101,.11);
    color: var(--ssf-research-petrol);
}

.ssf-research-card h2 {
    margin: 0 0 13px;
    font-size: clamp(23px, 2.5vw, 29px);
}

.ssf-research-card h2 a {
    color: inherit;
    font-weight: inherit;
    text-decoration: none !important;
}

.ssf-research-card h2 a:hover { color: var(--ssf-research-orange); }

.ssf-research-card__summary {
    margin: 0 0 20px;
    color: var(--ssf-research-text);
}

.ssf-research-card__bottom {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-top: auto;
}

.ssf-research-card__executor {
    display: grid;
    gap: 2px;
    padding-top: 13px;
    border-top: 1px solid var(--ssf-research-border);
    color: var(--ssf-research-muted);
    font-size: 14px;
}

.ssf-research-card__executor strong { color: var(--ssf-research-navy); }

.ssf-tag-list,
.ssf-single-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.ssf-tag-list a,
.ssf-single-tags a {
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 5px 10px;
    border: 1px solid transparent;
    border-radius: 999px;
    background: #F1F3F6;
    color: var(--ssf-research-navy) !important;
    font-size: 12px;
    font-weight: 700;
    line-height: 1.15;
    text-decoration: none !important;
}

.ssf-tag-list a:hover,
.ssf-single-tags a:hover {
    border-color: var(--ssf-research-orange);
    background: #FFFFFF;
    color: var(--ssf-research-orange) !important;
}

.ssf-research-card__bottom > .ssf-research-button { align-self: flex-start; }

/* Pagination and empty state */
.ssf-pagination {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 9px;
    margin-top: 32px;
}

.ssf-pagination a,
.ssf-pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border: 1px solid var(--ssf-research-border);
    border-radius: 999px;
    background: #FFFFFF;
    color: var(--ssf-research-navy);
    font-weight: 800;
    text-decoration: none !important;
}

.ssf-pagination a:hover,
.ssf-pagination a:focus,
.ssf-pagination .is-active {
    border-color: var(--ssf-research-orange);
    background: var(--ssf-research-orange);
    color: #FFFFFF;
}

.ssf-empty-state {
    padding: 30px;
    border: 1px dashed #BEC5CE;
    border-radius: 18px;
    background: #FFFFFF;
    color: var(--ssf-research-text);
}

.ssf-empty-state strong {
    display: block;
    margin-bottom: 5px;
    color: var(--ssf-research-navy);
    font-family: var(--ssf-research-heading);
    font-size: 24px;
}

.ssf-empty-state p { margin: 0; }

.ssf-category-desc-block,
.ssf-tax-description {
    margin: 40px 0 0;
    padding: clamp(26px, 5vw, 46px);
    border: 1px solid var(--ssf-research-border);
    border-left: 6px solid var(--ssf-research-petrol);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: var(--ssf-research-shadow);
}

.ssf-category-desc-block h2,
.ssf-tax-description h2 {
    margin: 0 0 14px;
    font-size: clamp(28px, 4vw, 40px);
}

.ssf-category-desc-block p:last-child,
.ssf-tax-description p:last-child { margin-bottom: 0; }

/* Taxonomy hero */
.ssf-tax-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(330px, 40%);
    min-height: 360px;
    margin-bottom: 20px;
}

.ssf-tax-hero--without-image { grid-template-columns: 1fr; }

.ssf-tax-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(36px, 6vw, 68px);
}

.ssf-tax-hero h1 {
    margin: 0 0 15px;
    color: #FFFFFF;
    font-size: clamp(40px, 6vw, 67px);
}

.ssf-tax-hero__body,
.ssf-tax-hero__body p {
    max-width: 720px;
    margin-top: 0;
    color: rgba(255,255,255,.86);
    font-size: 18px;
}

.ssf-tax-hero__body p:last-child { margin-bottom: 0; }
.ssf-tax-hero__image { position: relative; z-index: 1; min-height: 360px; }
.ssf-tax-hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,24,48,.3), transparent 45%); }
.ssf-tax-hero__image img { display: block; width: 100%; height: 100%; min-height: 360px; object-fit: cover; }

/* Single research */
.ssf-single-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin: 0 0 18px;
    color: var(--ssf-research-muted);
    font-size: 14px;
}

.ssf-single-breadcrumbs a {
    color: var(--ssf-research-orange);
    font-weight: 750;
    text-decoration: none;
}

.ssf-single-breadcrumbs a:hover { text-decoration: underline; }

.ssf-single-hero {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(360px, 40%);
    min-height: 430px;
    margin-bottom: 28px;
}

.ssf-single-hero--without-image { grid-template-columns: 1fr; }

.ssf-single-hero__content {
    position: relative;
    z-index: 2;
    display: flex;
    min-width: 0;
    flex-direction: column;
    justify-content: center;
    padding: clamp(38px, 6vw, 70px);
}

.ssf-single-title {
    max-width: 850px;
    margin: 0 0 20px;
    color: #FFFFFF !important;
    font-size: clamp(38px, 6vw, 65px);
    overflow-wrap: anywhere;
}

.ssf-single-summary,
.ssf-single-summary p {
    max-width: 800px;
    color: rgba(255,255,255,.88);
    font-size: 18px;
    line-height: 1.625;
}

.ssf-single-summary p { margin: 0 0 14px; }
.ssf-single-summary p:last-child { margin-bottom: 0; }

.ssf-single-hero__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 24px;
}

.ssf-single-hero__image { position: relative; z-index: 1; min-height: 430px; }
.ssf-single-hero__image::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(24,24,48,.25), transparent 40%); }
.ssf-single-hero__image img { display: block; width: 100%; height: 100%; min-height: 430px; object-fit: cover; }

.ssf-single-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(310px, 380px);
    gap: 26px;
    align-items: start;
}

.ssf-single-main,
.ssf-single-sidebar-card,
.ssf-related {
    border: 1px solid var(--ssf-research-border);
    border-radius: 20px;
    background: #FFFFFF;
    box-shadow: var(--ssf-research-shadow);
}

.ssf-single-main {
    min-width: 0;
    padding: clamp(26px, 5vw, 44px);
}

.ssf-single-main h2,
.ssf-single-sidebar-card h2 {
    margin: 0 0 18px;
    font-size: clamp(27px, 3.5vw, 38px);
}

.ssf-single-content,
.ssf-single-content p,
.ssf-single-content li {
    color: var(--ssf-research-text);
    font-size: 16px;
    line-height: 1.75;
}

.ssf-single-content > *:first-child { margin-top: 0; }
.ssf-single-content > *:last-child { margin-bottom: 0; }
.ssf-single-content-action { margin-top: 26px; }

.ssf-single-sidebar {
    display: grid;
    min-width: 0;
    gap: 16px;
}

.ssf-single-sidebar-card { padding: 26px; }

.ssf-single-meta {
    display: grid;
    gap: 0;
    margin: 0;
}

.ssf-single-meta__row {
    display: grid;
    gap: 4px;
    padding: 14px 0;
    border-bottom: 1px solid var(--ssf-research-border);
}

.ssf-single-meta__row:first-child { padding-top: 0; }
.ssf-single-meta__row:last-child { padding-bottom: 0; border-bottom: 0; }
.ssf-single-meta dt { color: var(--ssf-research-navy); font-weight: 800; }
.ssf-single-meta dd { margin: 0; color: var(--ssf-research-text); }
.ssf-single-meta dd a { color: var(--ssf-research-orange); text-decoration: none; }
.ssf-single-meta dd a:hover { text-decoration: underline; }
.ssf-single-back-button { width: 100%; text-align: center; }

/* Related research */
.ssf-related {
    margin-top: 36px;
    padding: clamp(24px, 4vw, 34px);
}

.ssf-related-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.ssf-related-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--ssf-research-border);
    border-radius: 17px;
    background: #FFFFFF;
    transition: transform .18s ease, border-color .18s ease;
}

.ssf-related-card:hover { border-color: rgba(235,94,28,.42); transform: translateY(-3px); }
.ssf-related-card__image { height: 170px; }
.ssf-related-card__body { display: flex; flex: 1 1 auto; flex-direction: column; align-items: flex-start; padding: 20px; }
.ssf-related-card__body > .ssf-meta-chip { margin-bottom: 10px; }
.ssf-related-card h3 { margin: 0 0 11px; font-size: 22px; }
.ssf-related-card h3 a { color: inherit; text-decoration: none; }
.ssf-related-card h3 a:hover { color: var(--ssf-research-orange); }
.ssf-related-card p { margin: 0 0 17px; color: var(--ssf-research-text); }
.ssf-related-card .ssf-research-button { margin-top: auto; }

/* Accessibility */
.ssf-research-template a:focus-visible,
.ssf-onderzoek-wrap a:focus-visible,
.ssf-research-template button:focus-visible,
.ssf-onderzoek-wrap button:focus-visible {
    outline: 3px solid var(--ssf-research-yellow);
    outline-offset: 3px;
}

@media (max-width: 1080px) {
    .ssf-cat-grid.columns-3,
    .ssf-cat-grid.columns-4,
    .ssf-research-grid,
    .ssf-related-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ssf-cat-grid.items-1,
    .ssf-research-grid.items-1 { grid-template-columns: minmax(0, calc((100% - 24px) / 2)); }
    .ssf-cat-grid.items-2,
    .ssf-research-grid.items-2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ssf-filter-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ssf-filter-grid.is-category { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .ssf-current-cat { grid-template-columns: minmax(0,1fr) minmax(280px, 38%); }
    .ssf-tax-hero,
    .ssf-single-hero { grid-template-columns: minmax(0, 1fr) minmax(300px, 38%); }
}

@media (max-width: 820px) {
    .ssf-research-template { padding: 28px 0 54px; }
    .ssf-research-shell { width: min(100% - 28px, 1280px); }
    .ssf-current-cat,
    .ssf-tax-hero,
    .ssf-single-hero,
    .ssf-single-layout { grid-template-columns: 1fr; }
    .ssf-current-cat__image,
    .ssf-tax-hero__image,
    .ssf-single-hero__image { order: -1; min-height: 270px; max-height: 370px; }
    .ssf-current-cat__image img,
    .ssf-tax-hero__image img,
    .ssf-single-hero__image img { min-height: 270px; max-height: 370px; }
    .ssf-tax-hero__image::after,
    .ssf-single-hero__image::after { background: linear-gradient(0deg, rgba(24,24,48,.28), transparent 50%); }
    .ssf-single-sidebar { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
    .ssf-research-shell { width: min(100% - 24px, 1280px); }
    .ssf-onderzoek-wrap { margin-bottom: 36px; }
    .ssf-research-page-hero,
    .ssf-tax-hero,
    .ssf-single-hero { border-radius: 18px; }
    .ssf-research-page-hero { min-height: 280px; padding: 32px 24px; }
    .ssf-research-page-hero h1 { font-size: 42px; }
    .ssf-tax-hero__content,
    .ssf-single-hero__content { padding: 30px 23px; }
    .ssf-tax-hero h1,
    .ssf-single-title { font-size: 38px; }
    .ssf-single-summary,
    .ssf-single-summary p,
    .ssf-tax-hero__body,
    .ssf-tax-hero__body p { font-size: 16px; }
    .ssf-cat-grid.columns-1,
    .ssf-cat-grid.columns-2,
    .ssf-cat-grid.columns-3,
    .ssf-cat-grid.columns-4,
    .ssf-cat-grid.items-1,
    .ssf-cat-grid.items-2,
    .ssf-research-grid,
    .ssf-research-grid.items-1,
    .ssf-research-grid.items-2,
    .ssf-related-grid,
    .ssf-filter-grid,
    .ssf-filter-grid.is-category { grid-template-columns: 1fr; }
    .ssf-cat-card__image,
    .ssf-research-card__image { height: 205px; }
    .ssf-research-filter-section,
    .ssf-single-main,
    .ssf-single-sidebar-card,
    .ssf-related,
    .ssf-category-desc-block { padding: 22px; }
    .ssf-filter-bar { padding: 16px; }
    .ssf-research-card__body { padding: 21px; }
    .ssf-single-hero__actions,
    .ssf-filter-actions { align-items: stretch; flex-direction: column; }
    .ssf-single-hero__actions .ssf-research-button,
    .ssf-filter-actions .ssf-research-button { width: 100%; }
    .ssf-filter-reset-text { align-self: center; }
}

@media (prefers-reduced-motion: reduce) {
    .ssf-cat-card,
    .ssf-research-card,
    .ssf-related-card,
    .ssf-cat-card__image img,
    .ssf-research-card__image img,
    .ssf-research-button { transition: none !important; }
}
