.visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
    position: static !important;
    width: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    clip: auto;
    white-space: inherit;
}

.skip-link {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 500;
    padding: 10px 14px;
    background-color: #793c3b;
    color: #fff;
    text-decoration: none;
}

.menu-toggle,
.menu-close {
    border: 0;
    background: transparent;
    color: #874746;
    cursor: pointer;
}

.menu-toggle:focus-visible,
.menu-close:focus-visible,
a:focus-visible,
input:focus-visible,
button:focus-visible {
    outline: 2px solid #874746;
    outline-offset: 2px;
}

.main-banner h1 {
    font-family: 'Georgia Bold', sans-serif;
    font-size: 39px;
    color: #9a5f40;
    letter-spacing: -1px;
    line-height: 1.1;
    margin: 0 0 20px;
}

.rich-text > :first-child,
.contact-card > :first-child,
.empty-state > :first-child {
    margin-top: 0;
}

.rich-text > :last-child,
.contact-card > :last-child,
.empty-state > :last-child {
    margin-bottom: 0;
}

.view-filters fieldset {
    margin: 0;
    padding: 0;
    border: 0;
}

.view-filters .search-input-wrap input {
    width: 100%;
}

.view-filters legend {
    padding: 0;
}

.filter-reset {
    margin: 14px 0 0;
}

.empty-state {
    padding: 24px;
    background-color: #f8f1ee;
    border: 1px solid #f0e3dd;
}

.page-card-grid h2,
.detail-meta {
    margin-top: 0;
}

.card-detail-figure,
.card-detail-figure img {
    display: block;
}

.kaart-image--placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 360px;
    background: linear-gradient(180deg, #f8f1ee 0%, #f0e3dd 100%);
    color: #874746;
    text-align: center;
    padding: 24px;
}

.card-detail-figure img {
    width: 100%;
    height: auto;
}

.detail-back {
    margin-top: 0;
}

.detail-meta {
    list-style: none;
    padding: 0;
}

.detail-meta li {
    padding: 7px 0;
    border-bottom: 1px solid #f0e3dd;
}

.contact-card {
    padding: 24px;
    background-color: #f8f1ee;
    border: 1px solid #f0e3dd;
    height: 100%;
}

.filter-reset {
    width: 100%;
}

.contact-banner-details p,
.contact-banner-details ol,
.contact-form-note,
.form-alert,
.form-error {
    margin: 0;
}

.contact-banner-details ol {
    padding-left: 18px;
}

.contact-banner-details li + li {
    margin-top: 20px;
}

.contact-page-section {
    padding-top: 32px;
}

.contact-form {
    width: 100%;
}

.contact-form .url-textfield {
    display: none !important;
}

.webform-flexbox {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin-bottom: 18px;
}

.webform-flex {
    flex: 1 1 280px;
}

.contact-form .form-item {
    width: 100%;
}

.contact-form .form-text,
.contact-form .form-email,
.contact-form .form-tel,
.contact-form .form-textarea {
    width: 100%;
    border: 1px solid #e5d5cf;
    background-color: #fff;
    color: #4c433f;
    border-radius: 12px;
    padding: 16px 18px;
    font: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.contact-form .form-text::placeholder,
.contact-form .form-email::placeholder,
.contact-form .form-tel::placeholder,
.contact-form .form-textarea::placeholder {
    color: #8d827d;
}

.contact-form .form-textarea {
    min-height: 180px;
    resize: vertical;
}

.contact-form .form-text:focus,
.contact-form .form-email:focus,
.contact-form .form-tel:focus,
.contact-form .form-textarea:focus {
    border-color: #874746;
    box-shadow: 0 0 0 4px rgba(135, 71, 70, 0.12);
    outline: 0;
}

.contact-form .is-invalid {
    border-color: #b14444;
    background-color: #fff8f7;
}

.form-alert {
    border-radius: 14px;
    padding: 16px 18px;
    margin-bottom: 18px;
    border: 1px solid transparent;
}

.form-alert--success {
    background-color: #eef7f0;
    border-color: #b9d8bf;
    color: #295a35;
}

.form-alert--error {
    background-color: #fff5f3;
    border-color: #efcbc4;
    color: #8c3a2d;
}

.form-error {
    margin-top: 8px;
    color: #a64134;
    font-size: 14px;
}

.contact-form .form-actions {
    margin-top: 22px;
}

.contact-form .button,
.contact-form .form-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 52px;
    padding: 0 28px;
    border: 0;
    border-radius: 999px;
    background-color: #874746;
    color: #fff;
    font-family: inherit;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
}

.contact-form .button:hover,
.contact-form .form-submit:hover {
    background-color: #733c3b;
    transform: translateY(-1px);
}

.contact-form .button:focus-visible,
.contact-form .form-submit:focus-visible {
    outline: 2px solid #874746;
    outline-offset: 2px;
}

.contact-form-note {
    margin-top: 14px;
    color: #7c706a;
    font-size: 14px;
}

@media screen and (min-width: 940px) {
    .page-card-grid .kaart-list .kaart-list-item {
        flex-basis: 33.333%;
        max-width: 33.333%;
    }
}

@media screen and (max-width: 767px) {
    .webform-flexbox {
        gap: 14px;
        margin-bottom: 14px;
    }

    .contact-form .form-text,
    .contact-form .form-email,
    .contact-form .form-tel,
    .contact-form .form-textarea {
        padding: 14px 16px;
    }

    .contact-form .button,
    .contact-form .form-submit {
        width: 100%;
    }
}
