/* The public blocks the CMS draws itself (cookie notice, pdf viewer, lightbox, galleries, photo
   strips, contact form, the notice for a missing file). Taken over from css/app.css, which is the
   stylesheet of /beheer only: it resets body, links and headings and would overrule the theme of
   the site. Colours come from the --hs-* variables of /beheer/colors. */
.hs-muted {
    color: var(--hs-ink-soft);
}

.hs-card {
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--hs-radius);
    padding: 1.5rem;
    height: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
    display: flex;
    flex-direction: column;
}

.hs-card__title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--hs-brand);
    margin-bottom: 0.5rem;
}

.hs-card__text {
    flex-grow: 1;
    color: var(--hs-ink-soft);
}

.hs-card__link {
    color: var(--hs-brand);
    font-weight: 700;
    text-decoration: none;
}

.hs-card__photo {
    width: calc(100% + 3rem);
    margin: -1.5rem -1.5rem 1rem;
    border-radius: var(--hs-radius) var(--hs-radius) 0 0;
    object-fit: cover;
    aspect-ratio: 3 / 2;
    display: block;
}

.hs-card__photo-link {
    display: block;
    width: calc(100% + 3rem);
    margin: -1.5rem -1.5rem 1rem;
    overflow: hidden;
    border-radius: var(--hs-radius) var(--hs-radius) 0 0;
}

.hs-card__photo-link .hs-card__photo {
    width: 100%;
    margin: 0;
    border-radius: 0;
    transition: transform 0.45s ease;
}

@media (hover: hover) {
    .hs-card:hover .hs-card__photo-link .hs-card__photo {
        transform: scale(1.06);
    }
}

.hs-card--team {
    height: auto;
}

.hs-card--team .hs-card__photo {
    width: 100%;
    margin: 0 0 0.75rem;
    border-radius: var(--hs-radius);
    aspect-ratio: auto;
    height: auto;
    object-fit: contain;
}

.hs-card--team .hs-card__photo-link {
    width: 100%;
    margin: 0 0 0.75rem;
    border-radius: var(--hs-radius);
    overflow: hidden;
}

.hs-card--team .hs-card__photo-link .hs-card__photo {
    margin: 0;
    border-radius: var(--hs-radius);
}

@media (hover: hover) {
    .hs-card--team:hover .hs-card__photo-link .hs-card__photo {
        transform: none;
        opacity: 0.92;
    }
}

.hs-separator {
    background:
        linear-gradient(rgba(20, 14, 18, 0.30), rgba(255, 51, 153, 0.24)),
        var(--hs-separator-image) center / cover no-repeat;
    color: #fff;
    text-align: center;
    padding: 4rem 0;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55), 0 1px 3px rgba(0, 0, 0, 0.45);
    
    min-height: var(--hs-separator-height, 0);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.hs-separator__text {
    font-size: clamp(1.5rem, 3.5vw, 2.4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
    margin-bottom: 0.4rem;
}

.hs-separator__sub {
    font-weight: 500;
    font-size: 1.15rem;
    opacity: 0.95;
    margin: 0;
}

.hs-card__photo,
.hs-banner__img,
.hs-moodboard__img {
    filter: brightness(1.05) saturate(1.08);
}

.hs-inline-foto {
    margin: 1.5rem 0;
}

.hs-inline-foto__img {
    max-width: 100%;
    border-radius: var(--hs-radius);
    display: block;
    filter: brightness(1.05) saturate(1.08);
}

.hs-inline-foto__caption {
    padding-top: 0.5rem;
    font-weight: 600;
    color: var(--hs-ink-soft);
    font-size: 0.95rem;
}

.hs-inline-foto--links {
    float: left;
    max-width: min(45%, 420px);
    margin: 0.35rem 1.5rem 1rem 0;
}

.hs-inline-foto--rechts {
    float: right;
    max-width: min(45%, 420px);
    margin: 0.35rem 0 1rem 1.5rem;
}

.hs-inline-foto--midden {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.hs-inline-foto--midden .hs-inline-foto__img {
    margin-inline: auto;
}

.hs-inline-foto--breed .hs-inline-foto__img {
    width: 100%;
}

@media (max-width: 575.98px) {
    .hs-inline-foto--links,
    .hs-inline-foto--rechts {
        float: none;
        max-width: 100%;
        margin: 1.5rem 0;
    }
}

.hs-media-missing__box {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 120px;
    padding: 1rem;
    background: repeating-linear-gradient(45deg, #f6f2f4, #f6f2f4 12px, #efe8ec 12px, #efe8ec 24px);
    border: 1px dashed #c9b7c1;
    border-radius: var(--hs-radius);
    color: var(--hs-ink-soft);
    font-weight: 600;
    text-align: center;
}

.hs-document-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    color: var(--hs-brand);
    text-decoration: none;
    min-height: 48px;
}

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

.hs-document-link__badge {
    background: var(--hs-brand);
    color: #fff;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 4px;
    padding: 0.15rem 0.4rem;
    letter-spacing: 0.05em;
}

.hs-pdf {
    margin: 0 0 1.5rem;
}

.hs-pdf__stage {
    background-color: #f5f5f5;
    border: 1px solid #e0e0e0;
    min-height: 200px;
}

.hs-pdf__page {
    display: block;
    width: 100%;
    height: auto;
}

.hs-pdf__bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.hs-pdf__counter {
    color: var(--hs-ink-soft, #767676);
    font-size: 0.9rem;
    text-align: center;
    flex: 1 1 auto;
}

.hs-pdf__nav {
    background-color: var(--hs-primary, #c27d04);
    color: #fff;
    border: 0;
    border-radius: 3px;
    padding: 0.45rem 0.9rem;
    font-size: 0.85rem;
    cursor: pointer;
}

.hs-pdf__nav[disabled] {
    opacity: 0.4;
    cursor: default;
}

.hs-pdf__frame {
    display: block;
    width: 100%;
    height: 80vh;
    min-height: 420px;
    border: 1px solid #e0e0e0;
    background-color: #f5f5f5;
}

.hs-pdf__open {
    margin-top: 0.75rem;
}

@media (max-width: 549px) {
    /* ⛔ The spam check box is 304 pixels wide and that is fixed: Google and Cloudflare draw it in
       an iframe of their own size. In the column of the contact form on a phone of 360 pixels it
       sticks out. Scaling is the only way both providers support; the height has to follow, or the
       gap of the unscaled box stays. The class names come from CaptchaPolicy.WidgetClass. */
    .g-recaptcha,
    .cf-turnstile {
        height: 68px;
        transform: scale(.85);
        transform-origin: left top;
    }

    .hs-pdf__frame {
        height: 60vh;
        min-height: 320px;
    }
    .hs-pdf__bar {
        flex-wrap: wrap;
    }
    .hs-pdf__counter {
        order: -1;
        flex: 1 0 100%;
        margin-bottom: 0.35rem;
    }
}

.hs-lightbox-link {
    display: block;
    cursor: zoom-in;
}

.hs-lightbox-overlay {
    position: fixed;
    inset: 0;
    z-index: 2000;
    background: rgba(20, 10, 16, 0.88);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    cursor: zoom-out;
}

.hs-lightbox-overlay img {
    max-width: min(1200px, 92vw);
    max-height: 84vh;
    border-radius: var(--hs-radius);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.hs-lightbox-overlay figcaption {
    color: #fff;
    font-weight: 600;
    padding-top: 0.75rem;
}

.hs-lightbox-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 48px;
    height: 48px;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    cursor: pointer;
}

.hs-moodboard {
    margin: 0;
    background: #fff;
    border: 1px solid #eee;
    border-radius: var(--hs-radius);
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
}

.hs-moodboard__img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    display: block;
}

.hs-moodboard__caption {
    padding: 0.6rem 0.9rem;
    font-weight: 700;
    color: var(--hs-brand);
}

.hs-form__honey {
    position: absolute;
    left: -9999px;
    top: -9999px;
}

.hs-form__spamcheck {
    margin-bottom: 1rem;
    max-width: 100%;
    overflow-x: auto;
}

.hs-consent {
    position: fixed;
    bottom: 1rem;
    left: 1rem;
    right: 1rem;
    max-width: 34rem;
    margin: 0 auto;
    background: #fff;
    border: 2px solid var(--hs-brand);
    border-radius: var(--hs-radius);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.18);
    padding: 1.1rem 1.3rem;
    z-index: 200;
}

.hs-consent__text {
    margin-bottom: 0.75rem;
}

.hs-consent__buttons {
    display: flex;
    gap: 0.6rem;
}

.hs-consent__more {
    margin-left: 0.35rem;
}

@media (max-width: 575.98px) {
    .hs-separator {
        padding: 2.75rem 0;
    }
}

.hs-tiles-picker__list {
    max-height: 15rem;
    overflow-y: auto;
}

.hs-imported-img {
    max-width: 100%;
    height: auto;
}

/* From the public stylesheet of the reference project: lightbox, contact form, map. */
.hs-lightbox {
    position: fixed;
    inset: 0;
    z-index: 2000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background-color: rgba(0, 0, 0, .85);
}

.hs-lightbox--open {
    display: flex;
}

.hs-lightbox__img {
    max-width: 100%;
    max-height: 100%;
}

.hs-lightbox__close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    border: 0;
    background: none;
    color: #fff;
    font-size: 2.5rem;
    line-height: 1;
    cursor: pointer;
}

html.hs-lightbox-is-open {
    overflow: hidden;
}

.hs-photo-strip__extra {
    display: inline-block;
    width: 120px;
    margin: .5rem .5rem 0 0;
    vertical-align: top;
}

.hs-contactform__honey {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.hs-contactform__ok,
.hs-contactform__error {
    display: block;
    margin: 0 0 1rem;
    padding: .8rem 1rem;
    border: 2px solid #46b450;
    border-radius: 3px;
}

.hs-contactform__error {
    border-color: #dc3232;
}

.hs-contactform .validation-message {
    display: block;
    color: #dc3232;
    font-size: .85em;
}

@keyframes hs-slide-in {
    from { transform: translateX(100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes hs-slide-out {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(-100%); opacity: 0; }
}

@keyframes hs-slide-in-back {
    from { transform: translateX(-100%); opacity: 0; }
    to   { transform: translateX(0); opacity: 1; }
}

@keyframes hs-slide-out-back {
    from { transform: translateX(0); opacity: 1; }
    to   { transform: translateX(100%); opacity: 0; }
}

.hs-map {
    margin-bottom: 1.5rem;
}

.hs-map__frame {
    display: block;
    width: 100%;
    
    aspect-ratio: 425 / 350;
    border: 1px solid #000;
}

.hs-map__link {
    margin: .4rem 0 0;
    font-size: .85em;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-email,
.wpcf7-form-control.wpcf7-tel,
.wpcf7-form-control.wpcf7-textarea,
.hs-contactform input[type="text"],
.hs-contactform input[type="email"],
.hs-contactform input[type="tel"],
.hs-contactform textarea,
.hs-contactform select {
    font-size: 16px;
}
