/* Replace the platform-dependent character with one vector silhouette.
   A CSS mask preserves the user's current hero-note colour. */
.hero-note > span {
    display: block;
    width: 110px;
    height: 76px;
    margin: 0 0 0 auto;
    font-size: 0 !important;
    line-height: 0 !important;
    color: inherit;
}
.hero-note > span::after {
    content: "";
    display: block;
    width: 100%;
    height: 100%;
    background-color: currentColor;
    -webkit-mask: url("hero-arrow.svg?ver=1.0.2") center / contain no-repeat;
    mask: url("hero-arrow.svg?ver=1.0.2") center / contain no-repeat;
}
/* Prevent viewport overflow without blocking horizontal swipes inside
   service/review sliders and scrollable price tables. */
@media (max-width: 1024px) {
    html, body {
        max-width: 100%;
        overflow-x: hidden;
    }
    @supports (overflow: clip) {
        html, body { overflow-x: clip; }
    }
    .hero-copy, .booking-card, .footer-grid > *,
    .rich-hero-grid > *, .rich-story > * {
        min-width: 0;
    }
    .hero-copy p, .footer-grid a,
    .rich-contact-cards a {
        overflow-wrap: anywhere;
    }
}
@media (max-width: 700px) {
    .hero-note { max-width: calc(100% - 35px); }
    .hero-note > span {
        width: 100px;
        height: 69px;
        margin: -1px 0 0 auto;
    }
    .header-inner .brand { min-width: 0; flex-shrink: 1; }
    .header-inner .brand img { max-width: 100%; }
    .menu-toggle { flex-shrink: 0; }
}

/* Keep editable hero words intact. JS measures the actual loaded font and
   reduces the heading only when a word exceeds the available line width. */
@media (max-width: 1024px) {
    .hero-copy h1 {
        max-width: 100%;
        padding-right: 0;
        word-break: normal;
        overflow-wrap: normal;
        hyphens: none;
    }
    .hero-copy h1.pp-title-fitted {
        font-size: var(--pp-title-size) !important;
    }
    .hero-copy h1 em {
        display: block;
        white-space: normal;
        word-break: normal;
        overflow-wrap: normal;
    }
}
@media (max-width: 700px) {
    /* Safe initial size while scripts/fonts load. */
    .hero-copy h1 { font-size: clamp(20px, 7.2vw, 36px); }
}

/* A real inline vector replaces the legacy character when JS is available.
   The mask above remains as a no-script fallback. Hide WordPress emoji images
   as well: font-size:0 alone does not reliably hide image replacements. */
.hero-note > span > img { display: none !important; }
.hero-note > span.pp-arrow-vector::before,
.hero-note > span.pp-arrow-vector::after { content: none !important; display: none !important; }
.hero-note > span > svg.pp-hero-arrow {
    display: block;
    width: 100%;
    height: 100%;
    overflow: visible;
    fill: none;
    stroke: currentColor;
}
/* Keep each complete source image inside its own media area. No photo editing,
   source changes, or image scaling on hover. Scope to the two service sliders. */
.service-slider > .service-card,
.rich-service-slider > .service-card:nth-child(n) {
    display: flex;
    flex-direction: column;
    height: auto;
    min-height: 260px;
    background: #13272f;
}
.rich-service-slider > .service-card:nth-child(n) { min-height: 290px; }
.service-slider > .service-card::after,
.rich-service-slider > .service-card::after { display: none; }
.service-slider > .service-card > img,
.rich-service-slider > .service-card > img {
    display: block;
    position: relative;
    inset: auto;
    z-index: auto;
    flex: 0 0 auto;
    align-self: center;
    width: 100%;
    height: 144px;
    min-height: 0;
    max-height: none;
    max-width: 100%;
    margin: 0 auto;
    padding: 16px 18px 8px;
    box-sizing: border-box;
    object-fit: contain;
    object-position: center center;
    border-radius: 0;
    transform: none;
}
.rich-service-slider > .service-card > img { height: 164px; padding: 18px 24px 10px; }
.service-slider > .service-card > div,
.rich-service-slider > .service-card > div {
    position: relative;
    inset: auto;
    width: 100%;
    min-width: 0;
    flex: 1 0 auto;
    padding: 10px 16px 18px;
}
.rich-service-slider > .service-card > div { padding: 10px 20px 20px; }
.service-slider > .service-card:hover > img,
.rich-service-slider > .service-card:hover > img { transform: none; }
@media (max-width: 700px) {
    /* The homepage retains its compact service list; the Diensten slider
       retains its swipeable cards and all existing navigation controls. */
    .service-slider > .service-card {
        flex-direction: row;
        min-height: 105px;
    }
    .service-slider > .service-card:nth-child(n+7) { display: none; }
    .service-slider > .service-card > img {
        width: 104px;
        height: 104px;
        padding: 12px;
    }
    .service-slider > .service-card > div {
        flex: 1 1 0%;
        width: auto;
        padding: 16px 32px 13px 8px;
    }
    .rich-service-slider > .service-card:nth-child(n) {
        display: flex;
        flex-direction: column;
        height: auto;
        min-height: 295px;
    }
    .rich-service-slider > .service-card > img {
        height: 164px;
        min-height: 0;
        max-height: none;
        padding: 18px 24px 10px;
    }
    .rich-service-slider > .service-card > div {
        position: relative;
        inset: auto;
        padding: 10px 20px 20px;
        justify-content: flex-start;
    }
}
/* Only the Diensten overview: remove its in-page navigation strip. */
.rich-page.rich-diensten > .rich-jump { display: none !important; }
