/* Existing folding-roof figures, in native scroll tracks or small photo groups. */
body.page-elektrische-vouwdaken .ds038-gallery {
    --ds038-gallery-gap: clamp(14px, 2vw, 24px);
    width: 100%;
    min-width: 0;
}
body.page-elektrische-vouwdaken .ds038-gallery-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 12px 24px;
    margin-bottom: 18px;
}
body.page-elektrische-vouwdaken .ds038-gallery-hint {
    margin: 0;
    color: inherit;
    font-size: 15px;
    line-height: 1.5;
}
body.page-elektrische-vouwdaken .ds038-gallery-controls {
    display: flex;
    align-items: center;
    gap: 12px;
}
body.page-elektrische-vouwdaken .ds038-gallery-controls[hidden] {
    display: none !important;
}
body.page-elektrische-vouwdaken .ds038-gallery-arrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    padding: 0;
    color: inherit;
    background: transparent;
    border: 1px solid currentColor;
    border-radius: 0;
    box-shadow: none;
    cursor: pointer;
}
body.page-elektrische-vouwdaken .ds038-gallery-arrow svg {
    display: block;
    width: 24px;
    height: 24px;
    pointer-events: none;
}
body.page-elektrische-vouwdaken .ds038-gallery-arrow:hover:not(:disabled) {
    color: #25281f;
    background: #cbb16e;
    border-color: #cbb16e;
}
body.page-elektrische-vouwdaken .ds038-gallery-arrow:disabled {
    opacity: .35;
    cursor: default;
}
body.page-elektrische-vouwdaken .ds038-gallery-status {
    min-width: 122px;
    text-align: center;
    font-size: 14px;
    line-height: 1.5;
    font-variant-numeric: tabular-nums;
}
body.page-elektrische-vouwdaken .ds038-gallery-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% - 2 * var(--ds038-gallery-gap)) / 3);
    gap: var(--ds038-gallery-gap);
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 4px 4px 16px;
    scroll-padding-inline: 4px;
    scroll-snap-type: x mandatory;
    overscroll-behavior-x: contain;
    scrollbar-width: thin;
    scrollbar-color: #b49a54 transparent;
}
body.page-elektrische-vouwdaken .ds038-gallery-grid {
    display: grid;
    grid-template-columns: repeat(var(--ds038-gallery-columns, 2), minmax(0, 1fr));
    gap: var(--ds038-gallery-gap);
}
/* Keep the original rows and cell contents intact while laying their cells out
   as one sequence. These wrappers carry no accessibility role or focus target. */
body.page-elektrische-vouwdaken :is(.ds038-gallery-track, .ds038-gallery-grid) > .af110-gallery-row {
    display: contents !important;
    margin: 0 !important;
}
body.page-elektrische-vouwdaken :is(.ds038-gallery-track, .ds038-gallery-grid) .af110-gallery-cell {
    width: auto !important;
    min-width: 0;
    margin: 0 !important;
    scroll-snap-align: start;
}
body.page-elektrische-vouwdaken .ds038-gallery-arrow:focus-visible,
body.page-elektrische-vouwdaken .ds038-gallery-track:focus-visible,
body.page-elektrische-vouwdaken .ds038-gallery .af110-figure > a:focus-visible {
    outline: 2px solid currentColor;
    outline-offset: 2px;
}
@media (max-width: 1100px) {
    body.page-elektrische-vouwdaken .ds038-gallery-track {
        grid-auto-columns: calc((100% - var(--ds038-gallery-gap)) / 2);
    }
}
@media (max-width: 680px) {
    body.page-elektrische-vouwdaken .ds038-gallery {
        --ds038-gallery-gap: 14px;
    }
    body.page-elektrische-vouwdaken .ds038-gallery-track {
        grid-auto-columns: 86%;
    }
    body.page-elektrische-vouwdaken .ds038-gallery-grid {
        grid-template-columns: 1fr;
    }
    body.page-elektrische-vouwdaken .ds038-gallery-toolbar {
        gap: 10px;
        margin-bottom: 12px;
    }
    body.page-elektrische-vouwdaken .ds038-gallery-controls {
        width: 100%;
        justify-content: space-between;
    }
}
@media (prefers-reduced-motion: reduce) {
    body.page-elektrische-vouwdaken .ds038-gallery-track {
        scroll-behavior: auto;
    }
}
