/* Basis layout: breed, eenvoudig, met dark/light thema */
.sb-shell {
    max-width: 1400px;
    margin: 2.5rem auto;
    padding: 2.4rem 2.1rem;
    border-radius: 16px;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    box-shadow: 0 18px 40px rgba(15,23,42,0.6);
}

/* Dark theme (default) */
.sb-shell.sb-theme-dark {
    background: #0f172a;
    color: #e5e7eb;
}

.sb-shell.sb-theme-dark .sb-card,
.sb-shell.sb-theme-dark .sb-text-block {
    background: #020617;
    border-color: rgba(148,163,184,0.35);
}

.sb-shell.sb-theme-dark .sb-tabs-nav {
    background: #020617;
    border-color: rgba(148,163,184,0.4);
}

.sb-shell.sb-theme-dark .sb-chip {
    color: #e5e7eb;
    border-color: rgba(148,163,184,0.6);
}

/* Light theme */
.sb-shell.sb-theme-light {
    background: #f9fafb;
    color: #020617;
    box-shadow: 0 10px 30px rgba(15,23,42,0.18);
}

.sb-shell.sb-theme-light .sb-card,
.sb-shell.sb-theme-light .sb-text-block {
    background: #ffffff;
    border-color: rgba(148,163,184,0.4);
}

.sb-shell.sb-theme-light .sb-tabs-nav {
    background: #e5e7eb;
    border-color: rgba(148,163,184,0.6);
}

.sb-shell.sb-theme-light .sb-tab-button {
    color: #4b5563;
}

.sb-shell.sb-theme-light .sb-tab-button.is-active {
    background: #111827;
    color: #f9fafb;
}

.sb-shell.sb-theme-light .sb-chip {
    color: #111827;
    border-color: rgba(148,163,184,0.6);
}

.sb-shell.sb-theme-light .sb-chip:hover {
    background: #111827;
    color: #f9fafb;
}

/* Hero */

.sb-hero {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(148,163,184,0.3);
    margin-bottom: 1.2rem;
}

.sb-eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.16em;
    font-size: 0.72rem;
    color: #9ca3af;
    margin: 0 0 0.4rem;
}

.sb-title {
    margin: 0 0 0.7rem;
    font-size: 2rem;
    font-weight: 650;
}

.sb-intro p {
    margin: 0 0 0.5rem;
    font-size: 0.97rem;
    line-height: 1.6;
}
.sb-intro p:last-child { margin-bottom: 0; }

.sb-hero-right {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    align-items: flex-end;
}

.sb-print-btn {
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    padding: 0.35rem 0.9rem;
    background: transparent;
    font-size: 0.8rem;
    cursor: pointer;
}

.sb-theme-toggle {
    display: inline-flex;
    gap: 4px;
    padding: 2px;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
}

.sb-theme-btn {
    border: none;
    background: transparent;
    padding: 0.3rem 0.7rem;
    border-radius: 999px;
    font-size: 0.78rem;
    cursor: pointer;
}

.sb-theme-btn.is-active {
    background: #e5e7eb;
    color: #111827;
}

/* Tabs nav */

.sb-tabs-nav {
    display: inline-flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0.25rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.4);
    margin-bottom: 1.2rem;
}

.sb-tab-button {
    border: none;
    cursor: pointer;
    padding: 0.35rem 0.85rem;
    border-radius: 999px;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    background: transparent;
    color: #9ca3af;
    transition: background 0.15s ease, color 0.15s ease;
}

.sb-tab-button.is-active {
    background: #e5e7eb;
    color: #020617;
    font-weight: 600;
}

/* Tabs panels */

.sb-tabs-panels {
    margin-top: 0.4rem;
}

.sb-tab-panel {
    display: none;
}

.sb-tab-panel.is-active {
    display: block;
}

/* Section headers */

.sb-section-head {
    margin-bottom: 0.9rem;
}

.sb-section-eyebrow {
    margin: 0 0 0.2rem;
    font-size: 0.74rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
}

.sb-section-title {
    margin: 0;
    font-size: 1.25rem;
    font-weight: 620;
}

/* Grids & cards */

.sb-grid {
    display: grid;
    gap: 1rem 1.4rem;
}

.sb-grid.sb-grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.sb-grid.sb-grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.sb-card {
    border-radius: 10px;
    padding: 0.9rem 1rem;
    border: 1px solid rgba(148,163,184,0.35);
}

.sb-card h3 {
    margin: 0 0 0.45rem;
    font-size: 0.98rem;
}

.sb-card p {
    margin: 0;
    font-size: 0.93rem;
    line-height: 1.6;
}

.sb-span-2 {
    grid-column: span 2;
}

/* Identity - kleuren & CMYK */

.sb-color-list {
    display: flex;
    flex-direction: column;
    gap: 0.7rem;
}

.sb-color-item {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.sb-color-chip {
    width: 30px;
    height: 30px;
    border-radius: 999px;
    border: 1px solid rgba(15,23,42,0.85);
}

.sb-color-meta {
    display: flex;
    flex-direction: column;
    font-size: 0.86rem;
}

.sb-color-name {
    font-weight: 500;
}

.sb-color-value {
    color: #9ca3af;
}

/* Logos */

.sb-card-top h3 {
    margin: 0 0 0.4rem;
    font-size: 0.98rem;
}

.sb-logo-wrap {
    border-radius: 8px;
    padding: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 110px;
    margin-bottom: 0.4rem;
    border: 1px solid rgba(30,64,175,0.5);
    background: #020617;
}

.sb-logo-wrap img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.sb-card-footer {
    margin-top: 0.1rem;
}

.sb-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.35rem 0.9rem;
    border-radius: 999px;
    border: 1px solid rgba(148,163,184,0.6);
    font-size: 0.8rem;
    text-decoration: none;
}

/* Text block & imagery */

.sb-text-block {
    padding: 0.9rem 1rem;
    border-radius: 10px;
    border: 1px solid rgba(148,163,184,0.35);
    margin-bottom: 1.1rem;
}

.sb-text-block p {
    margin: 0 0 0.4rem;
    font-size: 0.93rem;
}
.sb-text-block p:last-child { margin-bottom: 0; }

.sb-image-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
    gap: 0.9rem;
}

.sb-image-item {
    border-radius: 10px;
    overflow: hidden;
    background: #020617;
    border: 1px solid rgba(30,64,175,0.5);
}

.sb-image-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Footer */

.sb-footer {
    margin-top: 1.4rem;
    padding-top: 0.9rem;
    border-top: 1px solid rgba(148,163,184,0.35);
}

.sb-footer p {
    margin: 0;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    color: #9ca3af;
}

/* Admin helper */

.sterkid-row {
    margin-bottom: 0.4rem;
}

/* Print view: alles licht, alle panels onder elkaar, geen knoppen */
@media print {
    body {
        background: #ffffff !important;
    }
    .sb-shell {
        box-shadow: none !important;
        background: #ffffff !important;
        color: #000000 !important;
        max-width: 100% !important;
        margin: 0 !important;
        padding: 0 !important;
    }
    .sb-tabs-nav,
    .sb-theme-toggle,
    .sb-print-btn {
        display: none !important;
    }
    .sb-tab-panel {
        display: block !important;
        page-break-inside: avoid;
    }
}
