/* KDPNL — volledig stylesheet voor ontwerp 1 */

:root {
    --ink: #25272b;
    --navy: #c8172c;
    --navy-deep: #25272b;
    --gold: #c8172c;
    --paper: #f7f8fa;
    --line: #e3e5e8;
    --muted: #666b74;
    --white: #ffffff;
    --radius: 8px;
    font-size: 18px;
    color-scheme: light;
}

* {
    box-sizing: border-box;
}

html {
    scroll-padding-top: 190px;
}

body {
    margin: 0;
    background: #ffffff;
    color: var(--ink);
    font-family: Calibri, "Noto Sans Arabic", Tahoma, Arial, sans-serif;
    line-height: 1.8;
}

img {
    max-width: 100%;
}

a {
    color: inherit;
    text-decoration: none;
}

button,
input,
textarea,
select {
    font: inherit;
}

button,
a,
input,
textarea,
select {
    touch-action: manipulation;
}

[hidden] {
    display: none !important;
}

.wrap {
    width: min(1280px, calc(100% - 48px));
    margin-inline: auto;
}

h1,
h2,
h3,
p {
    overflow-wrap: anywhere;
}

h1,
h2,
h3 {
    line-height: 1.6;
}

/* Toetsenbordbediening */

button:focus-visible,
a:focus-visible,
summary:focus-visible {
    outline: 3px solid var(--navy);
    outline-offset: 4px;
}

.skip {
    position: fixed;
    top: -120px;
    right: 16px;
    z-index: 100;
    padding: 12px 20px;
    background: var(--navy);
    color: #ffffff;
}

.skip:focus {
    top: 12px;
}

/* Bovenste informatiebalk */

.topbar {
    border-top: 4px solid var(--navy);
    border-bottom: 1px solid #eeeeef;
    padding: 7px 0;
    background: #ffffff;
    color: var(--muted);
    font-size: 0.8rem;
}

.topbar .wrap {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.topbar [dir="ltr"] {
    flex-shrink: 0;
    color: var(--navy);
    font-family: Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
}

/* Header: logo en titel boven, menu eronder */

.header {
    position: sticky;
    top: 0;
    z-index: 30;
    background: #ffffff;
    border-bottom: 1px solid var(--line);
    box-shadow: 0 3px 12px rgb(0 0 0 / 3%);
}

.header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    align-items: center;
    gap: 0 20px;
    padding-top: 12px;
}

.identity {
    display: flex;
    align-items: center;
    justify-self: start;
    gap: 24px;
    min-width: 0;
    padding-bottom: 12px;
}

.logo-lockup {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    text-align: center;
}

.logo-lockup img {
    display: block;
    width: 76px;
    height: 76px;
    object-fit: contain;
}

.logo-lockup strong {
    color: var(--ink);
    font-size: 0.82rem;
    font-weight: 700;
    line-height: 1.6;
}

.brand-copy {
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.brand-copy span:first-child {
    font-size: clamp(1.25rem, 2.2vw, 1.8rem);
    font-weight: 700;
    line-height: 1.6;
}

.brand-copy span:last-child {
    font-size: 0.9rem;
    color: var(--muted);
}

.header nav {
    grid-column: 1 / -1;
    display: flex;
    justify-content: center;
    align-items: stretch;
    flex-wrap: wrap;
    gap: 0 22px;
    width: 100%;
    border-top: 1px solid #f0f0f2;
}

.header nav a {
    display: block;
    padding: 13px 8px 11px;
    border-bottom: 3px solid transparent;
    font-size: 0.98rem;
    font-weight: 700;
    text-align: center;
}

.header nav a:hover {
    color: var(--navy);
    background: #fff8f9;
}

.header nav a.active {
    color: var(--navy);
    background: transparent;
    border-bottom-color: var(--navy);
}

.menu-toggle {
    display: none;
}

/* Algemene knoppen */

button,
.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 44px;
    padding: 11px 22px;
    border: 1px solid transparent;
    border-radius: 5px;
    background: var(--navy);
    color: #ffffff;
    font-weight: 700;
    line-height: 1.5;
    cursor: pointer;
    text-align: center;
}

button:hover,
.button:hover {
    filter: brightness(0.94);
}

button.secondary,
.button.secondary {
    background: #ffffff;
    color: var(--ink);
    border-color: #d8dbe0;
}

button.danger,
.button.danger {
    background: #fff0f0;
    color: #9b2020;
    border-color: #e8bbbb;
}

.button.gold {
    background: var(--navy);
    color: #ffffff;
    border-color: var(--navy);
}

button:disabled {
    cursor: default;
    opacity: 0.6;
}

.small {
    font-size: 0.85rem;
    padding: 7px 13px;
}

.full {
    width: 100%;
}

.text-link {
    display: inline-block;
    color: var(--navy);
    font-size: 0.94rem;
    font-weight: 700;
}

.text-link:hover {
    text-decoration: underline;
}

/* Hoofdinhoud */

main {
    min-height: 65vh;
    padding-top: 26px;
    padding-bottom: 64px;
}

.eyebrow {
    display: block;
    margin-bottom: 12px;
    color: var(--navy);
    font-size: 0.86rem;
    font-weight: 700;
}

.eyebrow.dark {
    color: var(--navy);
}

/* Slideshow: twee echte kolommen */

.slideshow {
    position: relative;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 0;
    background: #f3f4f6;
    color: var(--ink);
}

.slide {
    position: relative;
    display: grid;
    grid-template-columns: 42% 58%;
    grid-template-rows: auto;
    min-height: 500px;
    padding: 0;
    isolation: isolate;
}

.slide[hidden] {
    display: none !important;
}

/* Bij RTL staat kolom 1 rechts en kolom 2 links */

.slide-photo {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    display: block;
    width: 100%;
    height: 100%;
    min-height: 500px;
    min-width: 0;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.photo-slide::after {
    content: none;
}

.slide-copy {
    position: relative;
    grid-column: 1;
    grid-row: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: center;
    width: auto;
    min-width: 0;
    min-height: 500px;
    margin: 0;
    padding: 40px 34px;
    background: #ffffff;
    color: var(--ink);
    clip-path: none;
    z-index: 2;
}

/* Schuine witte overgang naar de foto */

.photo-slide .slide-copy::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: -35px;
    width: 36px;
    background: #ffffff;
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
    pointer-events: none;
}

.slide-copy h1 {
    width: 100%;
    max-width: none;
    margin: 0 0 20px;
    color: #24262b;
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 700;
    line-height: 1.6;
}

.slide-copy h1::after {
    content: "";
    display: block;
    width: 48px;
    height: 4px;
    margin-top: 20px;
    background: var(--navy);
}

.slide-copy p {
    max-width: none;
    margin: 0 0 25px;
    color: var(--muted);
    font-size: 1rem;
    line-height: 1.95;
}

.slide-copy .button {
    margin-top: 4px;
}

/* Slides zonder foto */

.welcome-slide {
    background: #f2f3f5;
}

.hero-emblem {
    position: relative;
    inset: auto;
    grid-column: 2;
    grid-row: 1;
    align-self: center;
    justify-self: center;
    display: flex;
    align-items: center;
    justify-content: center;
    width: min(240px, 65%);
    height: auto;
    margin: 0 0 70px;
    border: 0;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
    transform: none;
    opacity: 1;
    z-index: 0;
}

.hero-emblem img {
    display: block;
    width: 100%;
    height: auto;
    object-fit: contain;
}

/* Slideshowbediening op de foto */

.slide-controls {
    position: absolute;
    left: 18px;
    right: auto;
    bottom: 18px;
    z-index: 5;

    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 8px 14px;

    width: calc(58% - 54px);
    padding: 8px 12px;
    border: 1px solid rgb(255 255 255 / 70%);
    border-radius: 6px;
    background: rgb(255 255 255 / 95%);
}

.slide-actions,
.slide-dots {
    display: flex;
    align-items: center;
    gap: 6px;
}

.slide-dots {
    flex-wrap: wrap;
    max-width: 100%;
}

.slide-actions {
    flex-shrink: 0;
}

.slide-actions button {
    width: 40px;
    min-height: 40px;
    padding: 0;
    border: 1px solid #dadce1;
    border-radius: 4px;
    background: #ffffff;
    color: var(--ink);
    font-family: Arial, sans-serif;
    font-size: 21px;
}

.slide-actions button:hover {
    border-color: var(--navy);
    color: var(--navy);
}

.slide-counter {
    color: var(--muted);
    font-family: Arial, sans-serif;
    font-size: 14px;
    margin-inline-end: 5px;
}

.slide-dots button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 27px;
    min-height: 40px;
    padding: 0;
    border: 0;
    background: transparent;
}

.slide-dots button::after {
    content: "";
    display: block;
    width: 8px;
    height: 8px;
    border-radius: 20px;
    background: #b7bac2;
}

.slide-dots button[aria-pressed="true"]::after {
    width: 23px;
    background: var(--navy);
}

/* Nieuws en activiteiten */

.news-section {
    margin-top: 46px;
}

.section-heading {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 25px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.section-heading .eyebrow {
    margin-bottom: 4px;
}

.section-heading h2 {
    margin: 0;
    font-size: 1.65rem;
}

.section-heading h2::after {
    content: "";
    display: block;
    width: 44px;
    height: 3px;
    margin-top: 12px;
    background: var(--navy);
}

.section-heading small {
    margin-inline-start: 8px;
    color: var(--muted);
    font-size: 0.9rem;
    font-weight: 400;
}

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

.news-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #ffffff;
    box-shadow: 0 4px 14px rgb(0 0 0 / 3%);
}

.card-image {
    display: block;
    width: 100%;
    height: 240px;
    overflow: hidden;
    background: #f0f2f5;
}

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

.card-image.brand-image {
    padding: 35px;
}

.card-image.brand-image img {
    object-fit: contain;
}

.card-copy {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 23px;
}

.card-copy time,
.article time {
    display: block;
    direction: ltr;
    text-align: right;
    color: #757983;
    font-family: Arial, sans-serif;
    font-size: 14px;
}

.card-copy h3 {
    margin: 12px 0 9px;
    font-size: 1.22rem;
    line-height: 1.8;
}

.card-copy h3 a:hover {
    color: var(--navy);
}

.card-copy p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 0.98rem;
    line-height: 1.9;
}

.card-copy .text-link {
    margin-top: auto;
}

/* Lege inhoud */

.empty {
    grid-column: 1 / -1;
    padding: 45px 24px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #fafafa;
    text-align: center;
}

.empty h3 {
    margin: 0;
}

.empty p {
    margin: 10px 0 0;
    color: var(--muted);
}

/* Gewone pagina's */

.page-heading {
    margin: 12px 0 32px;
}

.page-heading h1,
.admin-heading h1 {
    margin: 5px 0 0;
    font-size: 2rem;
}

.panel {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 4px 18px rgb(0 0 0 / 3%);
    min-width: 0;
}

.panel h1 {
    margin: 0 0 16px;
    font-size: 1.8rem;
}

.panel h2 {
    margin: 0 0 18px;
    font-size: 1.4rem;
}

.form-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1.8fr);
    gap: 40px;
    align-items: start;
}

.form-aside {
    padding-top: 12px;
}

.form-aside h2 {
    margin: 0 0 12px;
    font-size: 1.5rem;
}

.form-aside p {
    color: var(--muted);
}

.contact-value {
    padding-top: 16px;
    border-top: 1px solid var(--line);
    overflow-wrap: anywhere;
}

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

.form-grid {
    gap: 0 20px;
}

/* Formuliervelden */

label {
    display: block;
    margin-bottom: 18px;
    font-size: 0.98rem;
    font-weight: 700;
}

input:not([type="checkbox"]):not([type="hidden"]),
textarea,
select {
    display: block;
    width: 100%;
    min-width: 0;
    margin-top: 7px;
    padding: 11px 13px;
    border: 1px solid #cdd1d8;
    border-radius: 5px;
    background: #ffffff;
    color: var(--ink);
    font-size: 1rem;
    font-weight: 400;
}

input[type="hidden"] {
    display: none !important;
}

input:focus,
textarea:focus,
select:focus {
    outline: 2px solid var(--navy);
    outline-offset: 1px;
}

textarea {
    resize: vertical;
    line-height: 1.9;
}

input[type="file"] {
    font-size: 0.86rem;
}

.check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-weight: 400;
}

.check input {
    width: 19px;
    height: 19px;
    margin: 7px 0 0;
    flex-shrink: 0;
    accent-color: var(--navy);
}

.short-input {
    max-width: 130px;
}

.honeypot {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    overflow: hidden;
    clip-path: inset(50%);
    white-space: nowrap;
}

/* Inloggen en 2FA */

.auth {
    max-width: 560px;
    margin: 32px auto;
}

.auth > p {
    color: var(--muted);
}

.auth .text-link {
    margin-top: 18px;
}

.auth > .button {
    margin-top: 16px;
}

.muted {
    color: var(--muted);
    font-size: 0.86rem;
}

.secret {
    font-family: monospace !important;
    font-size: 0.85rem !important;
}

.recovery-codes {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin: 24px 0;
}

.recovery-codes code {
    padding: 11px 5px;
    border: 1px solid var(--line);
    border-radius: 4px;
    background: #f4f5f7;
    font-size: 0.82rem;
    text-align: center;
    overflow-wrap: anywhere;
}

/* Meldingen */

.notice {
    margin-bottom: 24px;
    padding: 16px 20px;
    border: 1px solid #e3cc8a;
    border-radius: 6px;
    background: #fff9e9;
    color: #594616;
}

.notice.error {
    border-color: #e5b3b3;
    background: #fff1f1;
    color: #8d2525;
}

.notice.success {
    border-color: #b5d2be;
    background: #eef8f1;
    color: #255b38;
}

/* Beheer */

.admin-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 28px;
}

.toolbar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.toolbar form {
    margin: 0;
}

.admin-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 30px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.admin-tabs a {
    display: block;
    padding: 10px 17px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #ffffff;
    font-size: 0.94rem;
}

.admin-tabs a.active {
    border-color: var(--navy);
    background: var(--navy);
    color: #ffffff;
}

.content-editor {
    max-width: 920px;
    margin: 25px auto;
}

.edit-image {
    display: block;
    width: 220px;
    height: 145px;
    margin-bottom: 15px;
    object-fit: contain;
    background: #f4f5f7;
}

.table-wrap {
    max-width: 100%;
    overflow-x: auto;
    padding: 0;
}

table {
    width: 100%;
    border-collapse: collapse;
    text-align: right;
    font-size: 0.95rem;
}

th,
td {
    padding: 15px 17px;
    border-bottom: 1px solid var(--line);
    vertical-align: top;
}

th {
    background: #f3f4f6;
    font-size: 0.9rem;
    white-space: nowrap;
}

td {
    overflow-wrap: anywhere;
}

th:first-child {
    min-width: 150px;
}

tbody tr:last-child td {
    border-bottom: 0;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 4px;
    background: #eceef1;
    font-size: 0.82rem;
    white-space: nowrap;
}

.badge.published {
    background: #edf6ef;
    color: #295b36;
}

details summary {
    cursor: pointer;
}

details form {
    min-width: 200px;
    margin-top: 15px;
}

.details {
    display: grid;
    grid-template-columns: 160px minmax(0, 1fr);
    gap: 12px 20px;
}

.details dt {
    font-weight: 700;
}

.details dd {
    margin: 0;
    overflow-wrap: anywhere;
}

.prose {
    overflow-wrap: anywhere;
    line-height: 2.1;
}

.request-message {
    margin-bottom: 24px;
    padding: 22px;
    border-radius: 5px;
    background: #f5f6f8;
}

.delete-block {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 1px solid var(--line);
}

.inline-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
}

.inline-label select {
    margin: 0;
}

.pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 18px;
    margin: 30px 0;
}

/* Artikelpagina */

.article {
    max-width: 940px;
    margin: 15px auto;
}

.article > .text-link {
    margin-bottom: 28px;
}

.article h1 {
    margin: 16px 0 25px;
    font-size: 2.15rem;
}

.article-image {
    display: block;
    width: 100%;
    max-height: 650px;
    margin-bottom: 25px;
    border-radius: 5px;
    background: #f1f2f4;
    object-fit: contain;
}

.article .prose {
    padding: 30px;
    border: 1px solid var(--line);
    border-radius: 5px;
    background: #ffffff;
    font-size: 1.08rem;
}

/* Voettekst */

footer {
    padding: 30px 0;
    border-top: 3px solid var(--navy);
    background: #ffffff;
    color: var(--muted);
}

.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}

footer strong {
    color: var(--ink);
    font-size: 1.1rem;
}

footer p {
    margin: 6px 0 0;
    font-size: 0.9rem;
}

footer span {
    font-size: 0.85rem;
}

/* Tablet */

@media (max-width: 1050px) {
    .header nav {
        gap: 0 10px;
    }

    .slide-copy {
        padding: 30px 25px;
    }

    .slide-copy h1 {
        font-size: 1.95rem;
    }

    .card-image {
        height: 205px;
    }
}

/* Mobiel */

@media (max-width: 800px) {
    html {
        scroll-padding-top: 120px;
    }

    .wrap {
        width: calc(100% - 28px);
    }

    .topbar .wrap {
        gap: 10px;
        flex-wrap: wrap;
    }

    .topbar {
        font-size: 0.78rem;
    }

    .header-inner {
        padding-top: 10px;
        gap: 0 10px;
    }

    .identity {
        gap: 12px;
        padding-bottom: 10px;
    }

    .logo-lockup img {
        width: 62px;
        height: 62px;
    }

    .logo-lockup strong {
        font-size: 0.78rem;
        max-width: 175px;
    }

    .brand-copy {
        display: none;
    }

    .menu-toggle {
        display: inline-flex;
        grid-column: 2;
        grid-row: 1;
        padding: 9px 13px;
    }

    .header nav {
        display: none;
        justify-content: flex-start;
        gap: 0 8px;
        padding: 8px 0;
    }

    .header nav.open {
        display: flex;
    }

    .header nav a {
        padding: 10px 9px;
        font-size: 0.94rem;
    }

    main {
        padding-top: 18px;
    }

    .slide {
        display: flex;
        flex-direction: column;
        min-height: 0;
        padding-bottom: 0;
        background: #ffffff;
    }

    .slide-photo {
        order: 0;
        position: relative;
        inset: auto;
        width: 100%;
        height: 260px;
        min-height: 0;
        flex-shrink: 0;
    }

    .slide-copy {
        order: 1;
        width: 100%;
        min-height: 0;
        margin: 0;
        padding: 26px;
    }

    .photo-slide .slide-copy::after {
        content: none;
    }

    .slide-copy h1 {
        font-size: 1.8rem;
    }

    .slide-copy p {
        font-size: 1rem;
    }

    .hero-emblem {
        order: 0;
        width: 130px;
        margin: 28px auto 0;
        align-self: center;
    }

    .slide-controls {
        position: relative;
        inset: auto;
        width: auto;
        margin: 0 15px 15px;
        border-color: var(--line);
        background: #fafafa;
    }

    .news-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 18px;
    }

    .news-section {
        margin-top: 32px;
    }

    .form-layout,
    .two-columns {
        grid-template-columns: minmax(0, 1fr);
        gap: 22px;
    }

    .form-aside {
        padding: 0;
    }

    .panel {
        padding: 24px;
    }

    .table-wrap {
        padding: 0;
    }

    .admin-heading {
        align-items: flex-start;
        flex-direction: column;
    }

    .footer-inner {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
    }

    .article h1 {
        font-size: 1.8rem;
    }
}

@media (max-width: 520px) {
    :root {
        font-size: 17px;
    }

    .news-grid,
    .form-grid {
        grid-template-columns: minmax(0, 1fr);
    }

    .slide-photo {
        height: 225px;
    }

    .slide-copy {
        padding: 22px;
    }

    .slide-copy h1 {
        font-size: 1.7rem;
    }

    .slide-actions {
        gap: 4px;
    }

    .slide-actions button {
        width: 36px;
    }

    .slide-dots {
        gap: 2px;
    }

    .slide-dots button {
        width: 24px;
    }

    .card-image {
        height: 235px;
    }

    .section-heading h2 {
        font-size: 1.45rem;
    }

    .page-heading h1,
    .admin-heading h1 {
        font-size: 1.75rem;
    }

    .panel h1 {
        font-size: 1.6rem;
    }

    .details {
        grid-template-columns: minmax(0, 1fr);
        gap: 5px;
    }

    .details dd {
        margin-bottom: 14px;
    }

    .recovery-codes {
        grid-template-columns: minmax(0, 1fr);
    }

    .article .prose {
        padding: 22px;
    }

    .inline-label {
        flex-wrap: wrap;
    }
}

/* Beperkte beweging en afdrukken */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation: none !important;
        transition: none !important;
        scroll-behavior: auto !important;
    }
}

@media print {
    .topbar,
    .header,
    footer,
    .skip,
    button,
    .button,
    .slide-controls {
        display: none !important;
    }

    body,
    main,
    .panel {
        width: 100%;
        margin: 0;
        background: #ffffff;
        color: #000000;
        border: 0;
        box-shadow: none;
    }

    .auth {
        max-width: none;
    }

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

    .recovery-codes code {
        font-size: 14pt;
    }
}
/* Header: iets lichter dan de referentie van kdp6.info */

.topbar {
    display: none;
}

.header {
    background: linear-gradient(135deg, #3b4d5f, #304151);
    border-bottom: 3px solid #d6b55b;
    box-shadow: 0 4px 16px rgb(0 0 0 / 12%);
}

.header .logo-lockup strong,
.header .brand-copy span:first-child {
    color: #ffffff;
}

.header .brand-copy span:last-child {
    color: #dde5ec;
}

.header nav {
    border-top-color: rgb(255 255 255 / 12%);
}

.header nav a {
    color: #f0f4f7;
}

.header nav a:hover {
    color: #ffffff;
    background: rgb(255 255 255 / 9%);
}

.header nav a.active {
    color: #ffe09a;
    background: rgb(255 255 255 / 7%);
    border-bottom-color: #e0bd61;
}

.header .menu-toggle {
    color: #ffffff;
    background: rgb(255 255 255 / 8%);
    border-color: rgb(255 255 255 / 30%);
}

/* Desktop: twee gelijke kolommen, afbeeldingshoogte 400px */

.slide {
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    min-height: 400px;
}

.slide-photo {
    width: 100%;
    height: 400px;
    min-height: 400px;
    object-fit: cover;
    object-position: center;
}

.slide-copy {
    height: 400px;
    min-height: 400px;
    padding: 24px 28px;
    gap: 10px;
    overflow: hidden;
}

.slide-copy .eyebrow {
    margin: 0;
}

.slide-copy h1 {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
    margin: 0;
    font-size: clamp(1.4rem, 2.3vw, 2rem);
    line-height: 1.45;
}

.slide-copy h1::after {
    display: none;
}

.slide-copy p {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    margin: 0;
    line-height: 1.7;
}

.slide-copy .button {
    flex-shrink: 0;
    margin: 0;
}

.slide-controls {
    width: calc(50% - 54px);
}

/* Fotoalbum en video bij artikelen */

.article-media {
    margin-top: 32px;
}

.article-media h2 {
    margin: 0 0 18px;
    font-size: 1.5rem;
}

.article-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.article-gallery a {
    display: block;
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #eef1f4;
}

.article-gallery img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
}

.article-video {
    margin-top: 28px;
}

.article-video video,
.media-preview video {
    display: block;
    width: 100%;
    max-height: 520px;
    background: #111111;
    border-radius: 6px;
}

.media-management-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
    margin-top: 24px;
}

.media-preview {
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 6px;
    background: #ffffff;
}

.media-preview img {
    display: block;
    width: 100%;
    height: 180px;
    margin-bottom: 12px;
    object-fit: cover;
}

.media-preview video {
    margin-bottom: 12px;
}

@media (max-width: 800px) {
    .slide {
        min-height: 0;
    }

    .slide-photo {
        width: 100%;
        height: auto;
        min-height: 0;
        aspect-ratio: 16 / 10;
        object-fit: cover;
    }

    .slide-copy {
        height: auto;
        min-height: 0;
        padding: 24px;
        overflow: visible;
    }

    .slide-controls {
        width: auto;
    }

    .article-gallery,
    .media-management-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 520px) {
    .article-gallery,
    .media-management-grid {
        grid-template-columns: minmax(0, 1fr);
    }
}