/* === Landenpagina Compacte Header + Regiolijst + SVG Kaart === */
.land-hero-card {
    background-color: #f7f9fa;
    border: 1px solid #e5ecef;
    border-radius: 12px;
    padding: 1.25rem;
}

@media (min-width: 992px) {
    .land-hero-card {
        padding: 1.5rem 1.75rem;
    }
}

.land-count-subtitle {
    font-size: 0.95rem;
    font-weight: 500;
    color: #6c757d;
}

.land-regio-list-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    color: #6c757d;
}

.land-regio-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.3rem 1rem;
}

@media (min-width: 768px) {
    .land-regio-list {
        grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
        gap: 0.35rem 1.25rem;
    }
}

.land-regio-list__item {
    min-width: 0;
}

.land-regio-link {
    display: inline-flex;
    align-items: baseline;
    gap: 0.3rem;
    max-width: 100%;
    padding: 0.2rem 0.4rem;
    margin-left: -0.4rem;
    border-radius: 6px;
    color: #212529;
    font-size: 0.92rem;
    font-weight: 500;
    text-decoration: none;
    transition: background-color 0.15s ease, color 0.15s ease;
}

.land-regio-link__name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.land-regio-link__count {
    font-size: 0.8rem;
    color: #6c757d;
    flex-shrink: 0;
    font-variant-numeric: tabular-nums;
}

.land-regio-link:hover,
.land-regio-link.is-hovered {
    background-color: rgba(254, 196, 40, 0.22);
    color: var(--ht-primary-hover, #26726b);
}

.land-show-more-btn {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--ht-primary-hover, #2f7d76);
}

.land-show-more-btn:hover,
.land-show-more-btn:focus-visible {
    color: #1f5d57;
    text-decoration: underline !important;
}

/* Compacte SVG-kaart in Land-Header */
.land-map-card .map-container.land-map-container {
    min-height: 200px;
    height: 250px;
    max-height: 255px;
    padding: 0.65rem;
    background-color: #ffffff;
    border: 1px solid #e2e8e7;
    border-radius: 10px;
    box-shadow: none;
}

.land-map-card .map-container.land-map-container svg {
    width: auto;
    height: 100%;
    max-width: 100%;
    max-height: 225px;
    margin: 0 auto;
}

.map-container svg a:hover path.available,
.map-container svg a:hover g.available path,
.map-container svg a.is-hovered path.available,
.map-container svg a.is-hovered g.available path,
.map-container svg path.available.is-hovered,
.map-container svg g.available.is-hovered path {
    fill: var(--ht-accent-yellow, #fec428);
}

/* === Herbruikbare Quick-Filter Balk === */
.scoped-filter-bar {
    background-color: #ffffff;
    border: 1px solid #e2e6ea;
    border-radius: 10px;
    padding: 0.75rem 0.9rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
}

.scoped-filter-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.scoped-select-wrap {
    flex: 1 1 170px;
    max-width: 220px;
}

.scoped-filter-select {
    font-size: 0.85rem;
    border-color: #d8dee3;
    cursor: pointer;
}

.scoped-filter-select:focus {
    border-color: var(--ht-primary, #4db6ac);
    box-shadow: 0 0 0 0.2rem rgba(77, 182, 172, 0.22);
}

.scoped-quick-filters-wrap {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.scoped-quick-chips {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
    width: 100%;
}

.quick-filter-chip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.45rem;
    width: 100%;
    padding: 0.42rem 0.7rem;
    border-radius: 8px;
    border: 1px solid #d8dee3;
    background-color: #f8f9fa;
    color: #343a40;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.25;
    cursor: pointer;
    transition: all 0.15s ease;
    text-align: left;
}

.quick-filter-chip__main {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    min-width: 0;
}

.quick-filter-chip:hover {
    border-color: var(--ht-primary, #4db6ac);
    background-color: #edf7f6;
}

.quick-filter-chip.is-active {
    background-color: var(--ht-primary, #4db6ac);
    border-color: var(--ht-primary, #4db6ac);
    color: #ffffff;
}

.quick-filter-chip.is-active i {
    color: #ffffff !important;
}

.quick-filter-chip.is-zero {
    opacity: 0.48;
}

.quick-filter-chip .chip-count {
    font-size: 0.76rem;
    opacity: 0.8;
    font-variant-numeric: tabular-nums;
    flex-shrink: 0;
}

@media (max-width: 767.98px) {
    .scoped-quick-chips:not(.is-expanded) .quick-filter-chip.is-mobile-extra {
        display: none;
    }
}

@media (min-width: 768px) {
    .scoped-quick-filters-wrap {
        width: auto;
        flex: 1 1 auto;
    }

    .scoped-quick-chips {
        flex-direction: row;
        flex-wrap: wrap;
        align-items: center;
        width: auto;
        gap: 0.45rem;
    }

    .quick-filter-chip {
        display: inline-flex;
        justify-content: flex-start;
        width: auto;
        border-radius: 999px;
        padding: 0.32rem 0.7rem;
        font-size: 0.83rem;
    }
}

.scoped-more-filters-btn {
    white-space: nowrap;
    flex-shrink: 0;
}

@media (max-width: 575.98px) {
    .scoped-select-wrap {
        flex: 1 1 calc(50% - 0.25rem);
        max-width: none;
    }

    .scoped-more-filters-btn {
        width: 100%;
    }
}

.scoped-active-filters[hidden] {
    display: none !important;
}

.active-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    white-space: nowrap;
    background: #edf7f6;
    color: #26726b;
    border: 1px solid #b5dfd9;
    border-radius: 999px;
    padding: 0.24rem 0.6rem;
    font-size: 0.82rem;
    font-weight: 500;
    cursor: pointer;
}

.active-filter-pill:hover {
    background: #dcf0ee;
    border-color: var(--ht-primary, #4db6ac);
}

.active-filter-pill-remove {
    font-size: 1rem;
    line-height: 1;
    opacity: 0.75;
}

.active-filters-clear-all {
    font-size: 0.82rem;
    color: #6c757d;
}

/* === Resultaten & Toolbar === */
.scoped-toolbar {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-end;
    justify-content: space-between;
    gap: 0.5rem 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.scoped-toolbar-left {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem 1.25rem;
}

.scoped-result-count {
    font-size: 0.95rem;
    color: #343a40;
    padding-bottom: 0.35rem;
}

.scoped-toolbar .gc-tabs.nav {
    border-bottom: 0;
}

.scoped-sort-wrap {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding-bottom: 0.4rem;
    margin-left: auto;
}

.scoped-sort-label {
    font-size: 0.84rem;
    font-weight: 500;
    color: #6c757d;
    white-space: nowrap;
    margin: 0;
}

.scoped-sort-select {
    width: auto;
    min-width: 155px;
    font-size: 0.84rem;
    cursor: pointer;
}

@media (max-width: 575.98px) {
    .scoped-toolbar {
        border-bottom: 0;
        gap: 0.5rem;
    }

    .scoped-toolbar-left {
        width: 100%;
        justify-content: space-between;
        border-bottom: 1px solid #e5e7eb;
    }

    .scoped-sort-wrap {
        width: 100%;
        padding-bottom: 0;
        justify-content: space-between;
    }

    .scoped-sort-select {
        flex: 1 1 auto;
    }
}

#scoped-results-container {
    transition: opacity 0.15s ease;
}

#scoped-results-container.is-loading {
    opacity: 0.55;
    pointer-events: none;
}

.scoped-load-more-box {
    margin-top: 1.5rem;
    margin-bottom: 2.5rem;
}

#kaart {
    position: relative;
}

.map-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

/* === Hero samenvatting & ankerlink naar #land-info === */
.land-hero-summary {
    font-size: 0.94rem;
    line-height: 1.5;
    color: #495057;
    max-width: 68ch;
}

.land-hero-anchor {
    display: inline-block;
    margin-left: 0.35rem;
    color: var(--ht-primary-hover, #1a8781);
    font-weight: 600;
    text-decoration: none;
    white-space: nowrap;
}

.land-hero-anchor:hover {
    text-decoration: underline;
    color: var(--ht-primary, #22a69f);
}

/* === Sticky mobiele filter-/kaartbalk (< 768px) === */
.scoped-mobile-sticky-bar {
    position: fixed;
    left: 50%;
    bottom: 18px;
    transform: translate(-50%, 140%);
    opacity: 0;
    pointer-events: none;
    z-index: 1035;
    transition: transform 0.24s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease;
}

.scoped-mobile-sticky-bar.is-visible {
    transform: translate(-50%, 0);
    opacity: 1;
    pointer-events: auto;
}

.scoped-mobile-sticky-pill {
    display: inline-flex;
    align-items: center;
    background: #1f2937;
    color: #ffffff;
    border-radius: 999px;
    padding: 0.3rem 0.35rem;
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.28);
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.scoped-sticky-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: none;
    background: transparent;
    color: #ffffff;
    font-size: 0.86rem;
    font-weight: 600;
    padding: 0.45rem 0.9rem;
    border-radius: 999px;
    white-space: nowrap;
    cursor: pointer;
}

.scoped-sticky-btn:active {
    background: rgba(255, 255, 255, 0.14);
}

.scoped-sticky-divider {
    width: 1px;
    height: 18px;
    background: rgba(255, 255, 255, 0.24);
}

.sticky-filter-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 18px;
    height: 18px;
    padding: 0 5px;
    border-radius: 999px;
    background: var(--ht-accent, #fec428);
    color: #111827;
    font-size: 0.72rem;
    font-weight: 700;
    line-height: 1;
}

/* === Datagedreven FAQ-sectie onder #land-info === */
.land-info-section {
    scroll-margin-top: 90px;
}

.land-faq-accordion .accordion-item {
    border: 1px solid #e6edf3;
    border-radius: 10px !important;
    overflow: hidden;
    margin-bottom: 0.6rem;
    background: #ffffff;
}

.land-faq-accordion .accordion-button {
    font-size: 0.96rem;
    font-weight: 600;
    color: #1e293b;
    background: #ffffff;
    box-shadow: none;
    padding: 0.9rem 1.1rem;
}

.land-faq-accordion .accordion-button:not(.collapsed) {
    color: var(--ht-primary-hover, #1a8781);
    background: #f7fcfb;
    box-shadow: none;
}

.land-faq-accordion .accordion-body {
    font-size: 0.93rem;
    line-height: 1.6;
    color: #475569;
    padding: 0.75rem 1.1rem 1rem;
}

.land-faq-accordion .accordion-body a {
    color: var(--ht-primary-hover, #1a8781);
    font-weight: 500;
    text-decoration: underline;
    text-underline-offset: 2px;
}
