.sitemap .sitemap-content li.lev2 .de_broodfondsmakers {
    text-transform: none;
}
.navcol ul li.de_broodfondsmakers a {
    text-transform: none;
}

.bf-container {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.bf-row {
    --bs-gutter-x: 30px;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
    margin-top: calc(var(--bs-gutter-y) * -1);
    margin-right: calc(var(--bs-gutter-x) / -2);
    margin-left: calc(var(--bs-gutter-x) / -2);
}

.bf-row>* {
    flex-shrink: 0;
    width: 100%;
    max-width: 100%;
    padding-right: calc(var(--bs-gutter-x) / 2);
    padding-left: calc(var(--bs-gutter-x) / 2);
    margin-top: var(--bs-gutter-y);
}

.bf-justify-content-center {
    justify-content: center !important;
}

.bf-py-2 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

.bf-col-12 {
    flex: 0 0 auto;
    width: 100%;
}

.bf-mb-1 {
    margin-bottom: 20px !important;
}

@media (min-width: 768px) {
    .bf-col-md-10 {
        flex: 0 0 auto;
        width: 83.3333333333%;
    }

    .bf-col-md-3 {
        flex: 0 0 auto;
        width: 25%;
    }
}

@media (min-width: 1200px) {
    .bf-container {
        max-width: 1250px !important;
    }
}

.sitemap .sitemap-column-header {
    color: #333 !important;
    font-family: lev_serifbold;
    font-weight: 700;
    letter-spacing: 0.05rem;
    margin-top: 1rem !important;
    margin-bottom: 0px !important;
    text-transform: uppercase !important;
    padding-bottom: 20px !important;
    font-size: 1.375rem;
}

.sitemap .sitemap-column-header * {
    color: #333 !important;
    font-family: lev_serifbold;
}

.sitemap .sitemap-button {
    border: none;
    background: none;
    display: block;
    width: 100%;
    font-family: lev_serifbold, Georgia, "Times New Roman", Times, serif;
}

.sitemap .sitemap-button .sitemap-button-label {
    display: block;
}

.sitemap .sitemap-content {
    padding-top: 0;
}

/* Testimonial carousel ----------------------------------------------
 *
 * The /persoonlijke_ervaringen page uses two synchronised carousels:
 *   - `.testimonial-photos` inside `.page-header.foto-boven .photo`
 *     (full-width hero image behind the logo)
 *   - `.testimonial-items` inside `.content > .extra.enthousiaste_verhalen`
 *     (name + quote + body text on a white card overlapping the hero)
 *
 * Both share a single Alpine `{ current, total }` state on the
 * `.testimonial-page` ancestor; `testimonial-carousel.js` toggles
 * `display` on the matching child of each ref.
 */

.testimonial-page {
    position: relative;
}
.testimonial-page .page-header.foto-boven {
    min-height: 34rem;
    margin-bottom: 0;
}
/* TestimonialFeatureCard image: the `<img>` tag Neos.Neos:ImageTag
 * emits carries width/height HTML attributes (e.g. 768x609), and the
 * legacy `.extra.enthousiaste_verhalen .inner img { width: 100% }`
 * rule alone is not enough to override that height — without an
 * explicit `height: auto` the browser sticks to the attribute height
 * and the image bursts out of the 175px-tall `.picture` container.
 * Pin the image to the picture's bounds with object-fit so it crops
 * cleanly instead of clipping at the bottom edge. */
.testimonial-page .extra.enthousiaste_verhalen .picture {
    height: 175px;
    overflow: hidden;
}
.testimonial-page .extra.enthousiaste_verhalen .picture img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}

/* `.balk` is the grey background bar that floats behind the bottom
 * of the three TestimonialFeatureCard columns. Its width is forced
 * to `.main-container` width by the legacy resize() handler in
 * site.js (line 419: `$('.balk').css('width', contW)`). Using
 * `!important` is the only way to beat that inline style.
 *
 * We want the bar to exactly span the `.row` of cards: the row sits
 * 15px outside `.extra` on each side because of Bootstrap's
 * `.row { margin: 0 -15px }` default. `calc(100% + 30px)` plus a
 * matching negative left margin lines the bar up flush with the
 * card edges. */
.testimonial-page .extra.enthousiaste_verhalen .balk {
    width: calc(100% + 30px) !important;
    margin-left: -15px !important;
    margin-right: -15px !important;
}

/* `.testimonial-controls` sits OVER the page-header area as its own
 * stacking layer. The page-header (with photo) paints at default level,
 * `.testimonial-carousel` paints at z:1 (overlapping the bottom of the
 * photo), and these controls paint on top of both at z:5. Dimensions
 * mirror the page-header `min-height` so the dots can dock to the
 * photo's bottom edge without JS measurements. */
.testimonial-page .testimonial-controls {
    position: absolute;
    top: 2.5rem; /* below the navbar */
    left: 0;
    right: 0;
    height: 34rem; /* matches page-header.foto-boven min-height */
    pointer-events: none;
    /* The legacy `.extra.enthousiaste_verhalen` rule in
     * site_templates.less sets z-index: 999 on the wrapper around the
     * carousel, which would otherwise hide these controls. Beat it. */
    z-index: 1000;
}
/* Drop the legacy 999 stacking on this page — nothing on this page
 * actually needs the carousel wrapper to float above other layers. */
.testimonial-page .extra.enthousiaste_verhalen {
    z-index: auto;
}
.testimonial-page .testimonial-controls > * {
    pointer-events: auto;
}
@media (max-width: 991px) {
    .testimonial-page .testimonial-controls {
        height: 18rem;
    }
}
/* Strip the legacy .content.foto-boven margin/padding above the
 * testimonial-carousel so the white card can dock against the photo
 * with no white gap in between. */
.testimonial-page .content.foto-boven {
    margin: 0;
    padding-top: 0;
    background: transparent;
}
.testimonial-page .content.foto-boven .extra.enthousiaste_verhalen {
    margin-top: 0;
}
.testimonial-page .page-header.foto-boven .photo.testimonial-photos {
    position: absolute;
    inset: 0;
    z-index: 0;
    overflow: hidden;
    display: block !important; /* override .content.foto-boven .photo {display:none} */
}
.testimonial-page .page-header.foto-boven .photo.testimonial-photos .testimonial-photo {
    position: absolute;
    inset: 0;
}
.testimonial-page .page-header.foto-boven .photo.testimonial-photos .testimonial-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.testimonial-page .page-header.foto-boven .photo.testimonial-photos::after {
    /* darken the photo a touch so the diapositief logo + arrows stay readable */
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.4) 100%);
    pointer-events: none;
}
.testimonial-page .page-header.foto-boven .logo,
.testimonial-page .page-header.foto-boven .social-media {
    position: relative;
    z-index: 2;
}

.testimonial-carousel {
    position: relative;
    margin-top: -10rem;
    margin-left: 4rem;
    margin-right: 4rem;
    z-index: 1;
}
.testimonial-slide {
    background: #fff;
    padding: 2.5rem 3rem 3rem;
}
@media (max-width: 991px) {
    .testimonial-carousel {
        margin-left: 1.5rem;
        margin-right: 1.5rem;
        margin-top: -5rem;
    }
}
.testimonial-body {
    flex: 1;
    min-width: 0;
}
/* The name line above the quote, as on the old site: bold grey Open Sans at
 * 1.5rem, without the letter-spacing headings get from body.language_nl. */
.testimonial-person {
    color: #807f7f;
    font-family: 'Open Sans', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    line-height: 1.1;
    letter-spacing: normal;
    margin: 0 0 1rem;
}
.testimonial-quote {
    font-family: lev_serifbold, Georgia, "Times New Roman", Times, serif;
    font-size: 2.25rem;
    line-height: 1.2;
    margin: 0 0 1.5rem;
    color: #030303;
}
.testimonial-text {
    font-size: 1rem;
    line-height: 1.7;
    color: #333;
}
.testimonial-sidebar {
    width: 200px;
    flex-shrink: 0;
}
.testimonial-sidebar img {
    width: 100%;
    height: auto;
}
/* Dots sit on the photo right above the white text card. Anchored to
 * `.testimonial-controls` (height = photo height) so they always land
 * on the photo's bottom edge regardless of how tall the body slide
 * ends up. */
.testimonial-page .page-header.foto-boven {
    position: relative;
}
.testimonial-page .testimonial-controls .testimonial-dots {
    position: absolute;
    /* 9rem clears the 10rem (-10rem margin-top of the carousel) overlap
     * + 1rem breathing room, so the dots land on photo pixels, not on
     * the white text card that overlaps the photo's bottom. */
    bottom: 9rem;
    left: 0;
    right: 0;
    text-align: center;
    margin: 0;
}
@media (max-width: 991px) {
    .testimonial-page .testimonial-controls .testimonial-dots {
        bottom: 4rem; /* matches the -5rem carousel overlap on small screens */
    }
}
.testimonial-dot {
    display: inline-block;
    width: 0.85rem;
    height: 0.85rem;
    border-radius: 50%;
    background: rgba(255,255,255,0.65);
    border: 1px solid rgba(0,0,0,0.15);
    margin: 0 0.25rem;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
    box-sizing: border-box;
}
.testimonial-dot.active,
.testimonial-dot:hover {
    background: #FF4C09;
    border-color: #FF4C09;
    transform: scale(1.1);
}

/* Arrows hover next to the white text card (matches live), not over
 * the photo. They sit on the carousel's vertical midpoint, just
 * outside its left/right edges. */
.testimonial-page .testimonial-carousel > .testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    /* The thin outline chevrons of the old site, at their old size. */
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    text-decoration: none;
    z-index: 4;
}
.testimonial-page .testimonial-carousel > .testimonial-arrow img {
    width: 100%;
    height: 100%;
}
.testimonial-page .testimonial-carousel > .testimonial-arrow-left { left: -4.5rem; }
.testimonial-page .testimonial-carousel > .testimonial-arrow-right { right: -4.5rem; }

@media (max-width: 767px) {
    .testimonial-page .page-header.foto-boven {
        min-height: 18rem;
    }
    .testimonial-slide {
        padding: 1.5rem;
    }
    .testimonial-quote {
        font-size: 1.5rem;
    }
    .testimonial-sidebar {
        display: none;
    }
    .testimonial-page .testimonial-carousel > .testimonial-arrow {
        display: none;
    }
}

/* Social media icons - inline SVG support (Neos renders SVG inline instead of <img>).
   Sizes match the old site, whose icons had white space around them inside
   their box: visibly 19px in the header, 26px in the mobile menu and 30px in
   the footer, a few pixels apart. The current icons fill their whole box, so
   the box is that size and the space between them comes from padding. */
.main-container .page-header .social-media svg {
    position: relative;
    height: 19px;
    width: 19px;
}
.main-container .page-header .social-media svg path,
.main-container .page-header .social-media svg polygon,
.main-container .page-header .social-media svg circle,
.main-container .page-header .social-media svg rect {
    fill: #c4c2c2 !important;
    stroke: #c4c2c2 !important;
}
.main-container .page-header .social-media svg:hover path,
.main-container .page-header .social-media svg:hover polygon,
.main-container .page-header .social-media svg:hover circle,
.main-container .page-header .social-media svg:hover rect {
    fill: #757575 !important;
    stroke: #757575 !important;
}
.main-container .page-header .social-media .clickable-svg {
    display: inline-block;
}
.main-container .page-header .social-media figure.svg {
    display: inline-block;
    margin: 0;
    padding: 0 2px;
}
.navbar .social-media svg {
    height: 26px;
    width: 26px;
}
.navbar .social-media figure.svg {
    display: inline-block;
    margin: 0;
    padding: 0 3px;
}
.sitemap .sitemap-content .social-media svg {
    height: 30px;
    width: 30px;
}
/* The footer shows the same one-colour icon as the header, in white:
   brightness(0) makes it black whatever its colour, invert(1) white.
   The height overrides the 3rem of site_navigation.less, which was sized for
   the old icons and their white space. */
.sitemap .sitemap-content .social-media img.svg {
    filter: brightness(0) invert(1);
    height: 30px !important;
    width: auto !important;
    margin: 0 10px 0 0;
}

/* Image grid (download images) */
/* A grid after other content in the content column gets the white space of a
   paragraph above it (the old site had the text above it in a <p>), the same
   as a single Image element. */
.content > .neos-contentcollection > * + .image-grid-wrapper {
    margin-top: 2rem;
}
.image-grid {
    display: table;
    width: 100%;
    border-collapse: collapse;
    border: 1px solid #ddd;
    table-layout: fixed;
}
.image-grid figure {
    display: table-cell;
    vertical-align: bottom;
    border-right: 1px solid #ddd;
    text-align: center;
    margin: 0;
    /* Room under the file-type label, as on the old site (about 9px). */
    padding: 0 0 .5rem;
}
.image-grid figure:last-child {
    border-right: none;
}
.image-grid figure a {
    display: block;
}
.image-grid figure img {
    width: 100%;
    height: auto;
    display: block;
}
.image-grid figure figcaption {
    display: block;
    text-align: center;
    color: #FF4C09;
    padding: 4px 0;
    font-size: 0.9em;
}

/* `.content.punten` is fully styled by site_templates.less (legacy
   `.punt` watermark layout). Older counter-based overrides used to live
   here, but they fought with the new Punt + BijeenkomstAanvragen
   NodeTypes (forced 50% width + position:relative, which broke the
   `extra-top` absolute sidebar). Layout is now handled there. */

/* In de buurt checkbox labels: dark text in regular weight on grey, or on
   orange once checked, as on the old site. */
body.module_kaart form#kaart-form label.indebuurt-checkbox-label {
    color: #333;
    font-weight: normal;
}
body.module_kaart form#kaart-form label.indebuurt-checkbox-label:has(input:checked) {
    background-color: #FF4C09;
}

/* Agenda item hero header: an HTML rendition of the header image the old
   site generated per agenda item. Everything inside scales with the banner
   width (cqw), so the proportions of that image hold at every breakpoint.
   The padding sits on the inner element because cqw resolves against the
   content box of the container. */
.agenda-item-hero {
    container-type: inline-size;
    background-color: #f74a29;
    color: #fff;
    margin: 1.5rem 0 5.6%;
}
/* Left padding 10cqw (designer): the title lines up with the text below
   the banner. The title column grows by what the padding lost (45.9 + 1.4),
   so the date keeps its place above the right-hand column. */
/* last baseline: the last title line and the month share their baseline.
   flex-end lined up the bottoms of their boxes instead, which no longer
   puts the letters level now the title is smaller than the month. */
.agenda-item-hero-inner {
    display: flex;
    align-items: flex-end;
    align-items: last baseline;
    padding: 0 0 9.33cqw 10cqw;
}
.agenda-item-hero-text,
.agenda-item-hero-month {
    font-family: 'lev_serifbold', Georgia, serif;
    font-size: 5cqw;
    line-height: 1.086;
}
/* A size smaller than the month (designer), so "Informatiebijeenkomst"
   fits on one line. */
.agenda-item-hero-text {
    flex: 0 0 47.3cqw;
    padding-top: 4.1cqw;
    font-size: 4.5cqw;
    /* A word wider than the column breaks instead of pushing into the date:
       a flex item does not shrink below its longest word by default. */
    min-width: 0;
    overflow-wrap: break-word;
}
/* Day above the month; the month shares the baseline of the last title
   line through align-items: last baseline. The negative top margin keeps the
   day from adding height, so it rises above the banner instead. */
.agenda-item-hero-date {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}
.agenda-item-hero-day {
    font-family: 'lev_serifbold', Georgia, serif;
    font-size: 16.8cqw;
    line-height: 0.8;
    color: #e4170b;
    margin: -6cqw 0 2.065cqw -1.22cqw;
}
.agenda-item-hero-icon {
    position: absolute;
    top: 100%;
    left: 0.6cqw;
    margin-top: 3.1cqw;
    width: 10.1cqw;
    filter: brightness(0) saturate(100%) invert(82%) sepia(0%) saturate(0%) hue-rotate(0deg) brightness(92%) contrast(87%);
}

/* Leaflet map popups */
.leaflet-popup-content .link-button {
    background-color: #FF4C09;
    color: #fff !important;
}

/* Leaflet map on in de buurt page */
.leaflet-map {
    width: 100%;
    height: 30.5rem;
}
@media (max-width: 1280px) {
    .leaflet-map {
        height: 34.5rem;
    }
}

/* Header image */
.header-image {
    margin-bottom: 20px;
}
.header-image img {
    width: 100%;
    height: auto;
}

/* Contact, tip-a-friend and broodfonds-contact forms */
.form-success {
    margin-bottom: 1rem;
}

/* .form-group scope outranks bootstrap's `.form-group label { display: none }` */
.form-group .form-consent {
    font-weight: normal;
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
}

.form-group .form-consent input[type="checkbox"] {
    flex: 0 0 auto;
}

/* Spam-guard honeypot (Component.FormGuard): off-screen rather than
   display:none, which some bots skip */
.form-guard {
    position: absolute;
    left: -10000px;
    top: auto;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

/* Select boxes draw their own chevron: the browser's arrow sat almost against
   the right border. In the 39px high box the 8px chevron has 15px above and
   below it, so it keeps 15px from the right as well.
   .form-group scope outranks `.form-group .form-control { padding }`. */
select.form-control,
.form-group select.form-control {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5l5 5 5-5' fill='none' stroke='%23555' stroke-width='1.5'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 15px center;
    background-size: 12px 8px;
}
select.form-control::-ms-expand {
    display: none;
}
