.has-editorial-sections {
    --editorial-green: #233d33;
}

.has-editorial-sections #header {
    height: 54svh;
    min-height: 20rem;
}

.editorial-section {
    padding-block: var(--section-space);
}

.editorial-section--paper {
    background: var(--paper);
}

.editorial-section--forest {
    color: #fffaf0;
    background: var(--editorial-green);
}

.editorial-section-inner {
    display: grid;
    gap: 2rem;
}

.editorial-section-copy:empty {
    display: none;
}

.editorial-section--text .editorial-section-copy,
.editorial-section--columns .editorial-section-copy,
.editorial-section-closing {
    width: min(100%, 68ch);
    margin-inline: auto;
}

.editorial-section--split .editorial-section-inner {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    align-items: center;
    gap: 3rem;
}

.editorial-section--split .editorial-section-panels,
.editorial-section--split .editorial-section-closing {
    grid-column: 1 / -1;
}

.editorial-section-image img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 5;
    object-fit: cover;
}

.editorial-section--forest .editorial-section-image img {
    aspect-ratio: 5 / 4;
}

.editorial-section h2,
.editorial-section h3 {
    letter-spacing: 0;
    line-height: 1.2;
    text-wrap: balance;
}

.editorial-section h2 {
    font: 500 2.45rem / 1.16 "Literata", Georgia, serif;
    margin: 0 0 1.25rem;
}

.editorial-section h3 {
    font-size: 1.22rem;
    margin-block: 1.5rem .55rem;
}

.editorial-text p,
.editorial-text ul {
    margin: 0 0 .85rem;
}

.editorial-text ul {
    padding-inline-start: 1.25em;
}

.editorial-text li + li {
    margin-top: .35rem;
}

.editorial-text a:not([href="#kerstborrel-aanvragen"]):not([href="#reservation_widget_expanded"]) {
    color: inherit;
    text-decoration: underline;
    text-underline-offset: .18em;
}

.editorial-text > :last-child {
    margin-bottom: 0;
}

.editorial-section-panels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 16rem), 1fr));
    gap: 1rem;
}

.editorial-section-panel {
    padding: 1.5rem;
    border: 1px solid #ddd1be;
    background: #fff;
    color: var(--ink);
}

.editorial-section-panel h3:first-child {
    margin-top: 0;
}

.has-editorial-sections #kerstborrel-aanvragen {
    scroll-margin-top: 1.5rem;
}

.has-editorial-sections #kerstborrel-aanvragen .container {
    max-width: 59rem;
}

.has-editorial-sections #kerstborrel-aanvragen .content-text {
    margin-bottom: 1.5rem;
}

.has-editorial-sections #kerstborrel-aanvragen .wedding-form {
    grid-auto-flow: row;
    grid-template-rows: none;
}

.has-editorial-sections #kerstborrel-aanvragen .alert-success {
    border: 1px solid #899e89;
    border-radius: .375rem;
    padding: 1rem;
    margin-bottom: 1rem;
    color: var(--editorial-green);
    background: #edf4ed;
}

@media (max-width: 50em) {
    .has-editorial-sections #header {
        height: 48svh;
        min-height: 15rem;
    }

    .editorial-section h2 {
        font-size: 2.1rem;
    }

    .editorial-section--split .editorial-section-inner {
        grid-template-columns: 1fr;
        gap: 1.75rem;
    }
}
