
/* ==========================================================
   VetEntrusted Academie
   SEO/GEO Growth Platform V3
   Publieke kennisbank + beheer
========================================================== */

:root {
    --seo-shell: 1180px;
    --seo-text: #17202a;
    --seo-muted: #5f6b76;
    --seo-border: #d7e1e7;
    --seo-soft: #f5faf9;
    --seo-soft-2: #eef7f5;
    --seo-primary: #0f766e;
    --seo-primary-dark: #0b5f59;
    --seo-card: #ffffff;
    --seo-shadow: 0 10px 35px rgba(15, 23, 42, .07);
}

.seo-shell {
    width: min(var(--seo-shell), calc(100% - 2rem));
    margin-inline: auto;
}

.seo-knowledge-page,
.seo-knowledge-article,
.seo-admin-page {
    color: var(--seo-text);
}

.seo-knowledge-hero,
.seo-article-hero {
    background:
        linear-gradient(180deg, rgba(15, 118, 110, .08), rgba(255, 255, 255, 0));
    border-bottom: 1px solid var(--seo-border);
}

.seo-knowledge-hero {
    padding: clamp(2.5rem, 6vw, 5.5rem) 0 2.5rem;
}

.seo-article-hero {
    padding: clamp(2rem, 5vw, 4.5rem) 0 2rem;
}

.seo-eyebrow,
.seo-topic,
.seo-person-label {
    margin: 0 0 .65rem;
    color: var(--seo-primary);
    font-weight: 750;
    letter-spacing: .035em;
    text-transform: uppercase;
    font-size: .78rem;
}

.seo-knowledge-hero h1,
.seo-article-hero h1,
.seo-admin-header h1 {
    max-width: 900px;
    margin: 0;
    line-height: 1.08;
    text-wrap: balance;
}

.seo-lead {
    max-width: 820px;
    margin: 1rem 0 0;
    color: #3f4c57;
    font-size: clamp(1.05rem, 2.2vw, 1.25rem);
    line-height: 1.65;
}

.seo-search {
    display: block;
    max-width: 760px;
    margin-top: 1.75rem;
}

.seo-knowledge-main {
    padding-block: 2rem 4rem;
}

.seo-article-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1.25rem;
}

.seo-article-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
    overflow: hidden;
    background: var(--seo-card);
    border: 1px solid var(--seo-border);
    border-radius: 1rem;
    box-shadow: var(--seo-shadow);
}

.seo-article-card-image-link {
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #edf4f3;
}

.seo-article-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.seo-article-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    padding: 1.25rem;
}

.seo-article-card h2 {
    margin: 0 0 .75rem;
    font-size: 1.25rem;
    line-height: 1.25;
}

.seo-article-card h2 a {
    color: inherit;
    text-decoration: none;
}

.seo-article-card h2 a:hover,
.seo-article-card h2 a:focus-visible {
    color: var(--seo-primary);
    text-decoration: underline;
    text-underline-offset: .2em;
}

.seo-article-card p {
    overflow-wrap: anywhere;
}

.seo-card-meta {
    display: grid;
    gap: .25rem;
    margin-top: auto;
    padding-top: 1rem;
    color: var(--seo-muted);
    font-size: .85rem;
}

.seo-empty-state {
    padding: 3rem 1.5rem;
    text-align: center;
    background: var(--seo-soft);
    border: 1px solid var(--seo-border);
    border-radius: 1rem;
}

.seo-article-shell {
    max-width: 900px;
}

.seo-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem;
    margin-bottom: 1.25rem;
    color: var(--seo-muted);
    font-size: .9rem;
}

.seo-breadcrumbs a {
    color: inherit;
}

.seo-byline {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem 1.3rem;
    margin-top: 1.4rem;
    color: var(--seo-muted);
    font-size: .92rem;
}

.seo-feature-figure {
    margin: 2rem 0;
    overflow: hidden;
    border: 1px solid var(--seo-border);
    border-radius: 1rem;
    background: #eef4f4;
}

.seo-feature-figure img {
    display: block;
    width: 100%;
    height: auto;
}

.seo-answer-box {
    margin: 2rem 0;
    padding: 1.4rem 1.5rem;
    background: var(--seo-soft-2);
    border: 1px solid #bfded9;
    border-left: .35rem solid var(--seo-primary);
    border-radius: .8rem;
}

.seo-answer-box h2 {
    margin-top: 0;
    font-size: 1.25rem;
}

.seo-answer-box p:last-child {
    margin-bottom: 0;
}

.seo-prose {
    font-size: 1.04rem;
    line-height: 1.75;
    overflow-wrap: anywhere;
}

.seo-prose > * + * {
    margin-top: 1rem;
}

.seo-prose h2 {
    margin-top: 2.2rem;
    scroll-margin-top: 6rem;
}

.seo-prose h3 {
    margin-top: 1.6rem;
    scroll-margin-top: 6rem;
}

.seo-prose img,
.seo-prose video,
.seo-prose iframe {
    max-width: 100%;
}

.seo-prose img {
    height: auto;
    border-radius: .7rem;
}

.seo-prose table {
    width: 100%;
    display: block;
    overflow-x: auto;
    border-collapse: collapse;
}

.seo-prose th,
.seo-prose td {
    padding: .65rem .75rem;
    border: 1px solid var(--seo-border);
    vertical-align: top;
}

.seo-prose blockquote {
    margin: 1.5rem 0;
    padding: 1rem 1.25rem;
    color: #3d4a54;
    border-left: .25rem solid var(--seo-primary);
    background: var(--seo-soft);
}

.seo-video-section,
.seo-sources {
    margin-top: 2.5rem;
    padding-top: 2rem;
    border-top: 1px solid var(--seo-border);
}

.seo-video {
    display: block;
    width: 100%;
    max-height: 70vh;
    margin-top: 1rem;
    border-radius: .8rem;
    background: #000;
}

.seo-expertise-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin: 2.5rem 0;
}

.seo-person-card {
    display: flex;
    min-width: 0;
    gap: 1rem;
    padding: 1.1rem;
    border: 1px solid var(--seo-border);
    border-radius: .9rem;
    background: var(--seo-card);
}

.seo-person-photo {
    width: 72px;
    height: 72px;
    flex: 0 0 72px;
    border-radius: 50%;
    object-fit: cover;
}

.seo-person-card h3 {
    margin: 0 0 .3rem;
    font-size: 1.05rem;
}

.seo-person-card p {
    margin: .2rem 0;
    overflow-wrap: anywhere;
}

.seo-muted {
    color: var(--seo-muted);
}

.seo-course-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    margin: 2.5rem 0 4rem;
    padding: 1.5rem;
    border: 1px solid #bdded9;
    border-radius: 1rem;
    background: var(--seo-soft-2);
}

.seo-course-cta h2 {
    margin: 0 0 .45rem;
    font-size: 1.35rem;
}

.seo-course-cta p:last-child {
    margin-bottom: 0;
}

/* Admin */
.seo-admin-page {
    min-height: 100%;
    padding: 1.5rem 0 4rem;
    background: #f7f9fb;
}

.seo-admin-shell {
    max-width: 1480px;
}

.seo-admin-header {
    display: flex;
    align-items: start;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.seo-admin-tabs {
    display: flex;
    gap: .4rem;
    margin: 1rem 0 1.25rem;
    padding: .35rem;
    overflow-x: auto;
    border: 1px solid var(--seo-border);
    border-radius: .8rem;
    background: #fff;
}

.seo-admin-tab {
    appearance: none;
    border: 0;
    border-radius: .55rem;
    padding: .65rem .9rem;
    background: transparent;
    color: #40505c;
    font-weight: 650;
    white-space: nowrap;
}

.seo-admin-tab:hover,
.seo-admin-tab:focus-visible {
    background: #f0f5f5;
}

.seo-admin-tab.is-active {
    background: var(--seo-primary);
    color: #fff;
}

.seo-dashboard-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.seo-stat-card,
.seo-admin-panel {
    background: #fff;
    border: 1px solid var(--seo-border);
    border-radius: .9rem;
    box-shadow: 0 5px 20px rgba(15, 23, 42, .035);
}

.seo-stat-card {
    display: grid;
    gap: .4rem;
    padding: 1.15rem;
}

.seo-stat-card span {
    color: var(--seo-muted);
    font-size: .9rem;
}

.seo-stat-card strong {
    font-size: 1.85rem;
    line-height: 1;
}

.seo-admin-panel {
    padding: 1.25rem;
}

.seo-admin-panel h2 {
    margin-top: 0;
    font-size: 1.25rem;
}

.seo-schema-panel {
    max-width: 780px;
}

.seo-check-list {
    margin-bottom: 0;
}

.seo-check-list li + li {
    margin-top: .45rem;
}

.seo-admin-two-column {
    display: grid;
    grid-template-columns: minmax(280px, .75fr) minmax(0, 1.7fr);
    gap: 1rem;
    align-items: start;
}

.seo-panel-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .8rem;
    margin-bottom: 1rem;
}

.seo-panel-heading h2 {
    margin: 0;
}

.seo-admin-list {
    display: grid;
    gap: .5rem;
}

.seo-admin-list-item {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: .75rem;
    padding: .75rem;
    text-align: left;
    border: 1px solid var(--seo-border);
    border-radius: .65rem;
    background: #fff;
}

.seo-admin-list-item:hover,
.seo-admin-list-item:focus-visible {
    border-color: #94c9c3;
    background: var(--seo-soft);
}

.seo-admin-list-item span:first-child {
    min-width: 0;
}

.seo-admin-list-item strong,
.seo-admin-list-item small {
    display: block;
    overflow-wrap: anywhere;
}

.seo-admin-list-item small {
    margin-top: .15rem;
    color: var(--seo-muted);
}

.seo-status {
    flex: 0 0 auto;
    padding: .22rem .5rem;
    border-radius: 999px;
    font-size: .75rem;
    font-weight: 700;
}

.seo-status.is-published {
    color: #075e55;
    background: #dff5f0;
}

.seo-status.is-draft {
    color: #6d5520;
    background: #fff4cf;
}

.seo-form-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
}

.seo-field {
    min-width: 0;
}

.seo-field-wide {
    grid-column: 1 / -1;
}

.seo-field label,
.seo-fieldset legend {
    display: block;
    margin-bottom: .35rem;
    font-size: .88rem;
    font-weight: 700;
}

.seo-field small {
    display: block;
    margin-top: .3rem;
    color: var(--seo-muted);
}

.seo-fieldset {
    padding: 1rem;
    border: 1px solid var(--seo-border);
    border-radius: .75rem;
}

.seo-fieldset legend {
    width: auto;
    float: none;
    padding: 0 .3rem;
    margin: 0 0 .7rem;
}

.seo-code-textarea {
    font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
    font-size: .88rem;
}

.seo-checkbox-row {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem 1.3rem;
}

.seo-checkbox-row label {
    display: inline-flex;
    gap: .45rem;
    align-items: center;
    margin: 0;
    font-weight: 600;
}

.seo-form-actions {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
    margin-top: 1.25rem;
}

@media (max-width: 1100px) {
    .seo-article-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-dashboard-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .seo-admin-two-column {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 720px) {
    .seo-shell {
        width: min(100% - 1rem, var(--seo-shell));
    }

    .seo-article-grid,
    .seo-expertise-grid,
    .seo-dashboard-grid,
    .seo-form-grid {
        grid-template-columns: 1fr;
    }

    .seo-field-wide {
        grid-column: auto;
    }

    .seo-admin-header,
    .seo-course-cta {
        align-items: stretch;
        flex-direction: column;
    }

    .seo-person-card {
        align-items: flex-start;
    }

    .seo-admin-panel {
        padding: .9rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition: none !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}
