/* campingcompas.css – plugin-specifieke stijlen die NIET in het child theme staan */

/* Leaflet kaart hoogte */
#cc-kaart { height: 500px; }

/* Admin-kolom in de beheerslijst */
.column-cc_beoordeling { width: 80px; }
.column-cc_land        { width: 100px; }


/* ------------------------------------------------------------------
   v3.6.3 plugin-only homepage fixes
   ------------------------------------------------------------------ */

/* Verberg WP topbalk visueel ook als fallback */
#wpadminbar { display: none !important; }
html { margin-top: 0 !important; }
body.admin-bar { margin-top: 0 !important; padding-top: 0 !important; }

/* Zoekveld: icoon links, tekst met voldoende ruimte */
.cc-zoekbalk__input-wrap {
    position: relative !important;
    flex: 1 1 0% !important;
    min-width: 240px !important;
}
.cc-zoekbalk__icon {
    position: absolute !important;
    left: 16px !important;
    top: 50% !important;
    transform: translateY(-50%) !important;
    width: 18px !important;
    height: 18px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    pointer-events: none !important;
    color: #3d8b68 !important;
    z-index: 2 !important;
}
.cc-zoekbalk__icon svg {
    width: 18px !important;
    height: 18px !important;
    display: block !important;
    fill: none !important;
    stroke: currentColor !important;
    stroke-width: 2.25 !important;
    stroke-linecap: round !important;
    stroke-linejoin: round !important;
}
.cc-zoekbalk__input {
    padding-left: 46px !important;
    box-sizing: border-box !important;
}

/* Zoekresultaten: altijd hetzelfde kaartformaat als normale tegels */
.cc-grid-wrap,
#cc-kaarten-carousel,
#cc-kaarten-scroll,
#cc-kaarten-grid,
#cc-kaarten-grid > .cc-kaart {
    box-sizing: border-box !important;
}

#cc-kaarten-carousel,
#cc-kaarten-scroll {
    display: block !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    overflow: visible !important;
}

#cc-kaarten-grid {
    display: grid !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    gap: 20px !important;
    align-items: stretch !important;
    justify-items: stretch !important;
}

#cc-kaarten-grid > .cc-kaart {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    margin: 0 !important;
    flex: none !important;
    justify-self: stretch !important;
    align-self: start !important;
    display: flex !important;
    flex-direction: column !important;
}

#cc-kaarten-grid > .cc-kaart .cc-kaart__foto-wrap {
    height: 260px !important;
}

@media (max-width: 900px) {
    #cc-kaarten-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

@media (max-width: 580px) {
    #cc-kaarten-grid {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* ------------------------------------------------------------------
   v3.6.17 homepage: 6 tegels max + gelijke containerbreedte als kaart
   ------------------------------------------------------------------ */
.cc-app--home .cc-zoekbalk,
.cc-app--home .cc-grid-wrap,
.cc-app--home .cc-home-kaart-head,
.cc-app--home .cc-home-kaart-wrap {
    width: 100% !important;
    max-width: 1100px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    box-sizing: border-box !important;
}

.cc-app--home .cc-zoekbalk,
.cc-app--home .cc-grid-wrap,
.cc-app--home .cc-home-kaart-head,
.cc-app--home .cc-home-kaart-wrap {
    padding-left: 24px !important;
    padding-right: 24px !important;
}

.cc-app--home #cc-kaarten-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    width: 100% !important;
}

/* v3.6.35: laad volgende 6 echt zichtbaar; niet langer hard verbergen vanaf tegel 7 */

@media (max-width: 580px) {
    .cc-app--home .cc-zoekbalk,
    .cc-app--home .cc-grid-wrap,
    .cc-app--home .cc-home-kaart-head,
    .cc-app--home .cc-home-kaart-wrap {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }
}


/* ------------------------------------------------------------------
   v3.6.31 delen van campingkaarten
   ------------------------------------------------------------------ */
.cc-kaart__acties {
    margin-top: 14px !important;
    display: flex !important;
    justify-content: flex-start !important;
}

.cc-share-btn,
.cc-popup__share-btn {
    appearance: none !important;
    border: 1px solid #d8d0c4 !important;
    background: #fff !important;
    color: #213041 !important;
    border-radius: 999px !important;
    padding: 10px 14px !important;
    min-height: 42px !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.cc-share-btn:hover,
.cc-share-btn:focus-visible,
.cc-popup__share-btn:hover,
.cc-popup__share-btn:focus-visible {
    transform: translateY(-1px) !important;
    border-color: #b8cdbf !important;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08) !important;
    outline: none !important;
}

.cc-share-btn__icon {
    width: 22px !important;
    height: 22px !important;
    border-radius: 999px !important;
    background: #e4f0e8 !important;
    color: #2d6a4f !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-size: 0.95rem !important;
    font-weight: 700 !important;
    flex: 0 0 auto !important;
}


.cc-popup__acties {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 10px !important;
}

.cc-popup__share-btn {
    min-width: 118px !important;
    justify-content: center !important;
}

.cc-popup__route-btn {
    appearance: none !important;
    border: 1px solid #d8d0c4 !important;
    background: #fff !important;
    color: #213041 !important;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    min-height: 42px !important;
    min-width: 118px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 0.92rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    cursor: pointer !important;
    box-shadow: 0 6px 16px rgba(17, 24, 39, 0.06) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
    text-decoration: none !important;
}

.cc-popup__route-btn:hover,
.cc-popup__route-btn:focus-visible {
    transform: translateY(-1px) !important;
    border-color: #b8cdbf !important;
    box-shadow: 0 10px 22px rgba(17, 24, 39, 0.08) !important;
    outline: none !important;
}

.cc-share-sheet {
    position: fixed !important;
    inset: 0 !important;
    z-index: 99999 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 18px !important;
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
    transition: opacity .18s ease, visibility .18s ease !important;
}
.cc-share-sheet.is-open {
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
}
.cc-share-sheet__backdrop {
    position: absolute !important;
    inset: 0 !important;
    border: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    background: rgba(13, 18, 24, 0.22) !important;
    backdrop-filter: blur(7px) !important;
    -webkit-backdrop-filter: blur(7px) !important;
    cursor: pointer !important;
}
.cc-share-sheet__panel {
    position: relative !important;
    width: min(320px, calc(100vw - 32px)) !important;
    background: rgba(255,255,255,.96) !important;
    border: 1px solid rgba(221,211,198,.9) !important;
    border-radius: 22px !important;
    box-shadow: 0 22px 50px rgba(15, 23, 42, 0.18) !important;
    padding: 18px !important;
    transform: translateY(8px) scale(.98) !important;
    transition: transform .18s ease !important;
}
.cc-share-sheet.is-open .cc-share-sheet__panel {
    transform: translateY(0) scale(1) !important;
}
.cc-share-sheet__close {
    appearance: none !important;
    position: absolute !important;
    top: 10px !important;
    right: 10px !important;
    width: 34px !important;
    height: 34px !important;
    border: 0 !important;
    border-radius: 999px !important;
    background: rgba(244, 241, 234, .95) !important;
    color: #213041 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    transition: transform .16s ease, background .16s ease !important;
}
.cc-share-sheet__close:hover,
.cc-share-sheet__close:focus-visible {
    background: #fff !important;
    transform: scale(1.05) !important;
    outline: none !important;
}
.cc-share-sheet__head {
    margin-bottom: 14px !important;
    padding-right: 34px !important;
}
.cc-share-sheet__title {
    font-size: 1rem !important;
    font-weight: 700 !important;
    color: #16202c !important;
}
.cc-share-sheet__sub {
    margin-top: 4px !important;
    font-size: 0.83rem !important;
    color: #6d7682 !important;
}
.cc-share-sheet__body {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
}
.cc-share-sheet__option {
    width: 100% !important;
    border: 1px solid #e4ddd2 !important;
    border-radius: 16px !important;
    background: #faf8f4 !important;
    padding: 12px 10px !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    color: #16202c !important;
    cursor: pointer !important;
    transition: transform .16s ease, border-color .16s ease, background .16s ease, box-shadow .16s ease !important;
}
.cc-share-sheet__option:hover,
.cc-share-sheet__option:focus-visible {
    transform: translateY(-1px) !important;
    border-color: #b8cdbf !important;
    background: #f3f8f4 !important;
    box-shadow: 0 10px 20px rgba(17,24,39,.08) !important;
    outline: none !important;
}
.cc-share-sheet__symbol {
    width: 44px !important;
    height: 44px !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: #234f3d !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    box-shadow: inset 0 0 0 1px rgba(35,79,61,.08), 0 8px 14px rgba(17,24,39,.05) !important;
}
.cc-share-sheet__symbol svg {
    width: 20px !important;
    height: 20px !important;
    stroke: currentColor !important;
    fill: none !important;
}
.cc-share-sheet__feedback {
    min-height: 20px !important;
    margin-top: 12px !important;
    font-size: 0.82rem !important;
    color: #2d6a4f !important;
    text-align: center !important;
}
.cc-share-sheet__feedback.is-error {
    color: #b42318 !important;
}
.cc-share-sheet__feedback.is-visible {
    display: block !important;
}
body.cc-share-sheet-open {
    overflow: hidden !important;
}

@media (max-width: 700px) {
    .cc-share-sheet {
        padding: 16px !important;
    }

    .cc-share-sheet__panel {
        width: min(308px, calc(100vw - 24px)) !important;
        border-radius: 20px !important;
        padding: 16px !important;
    }
}


/* Fallback styling voor home-carrousel navigatie */

.cc-kaarten-scroll-outer {
    position: relative;
}

.cc-kaarten-scroll {
    overflow: hidden;
}

/* Carrouselnavigatie: rechts boven de tegelrijen, in een eigen zone */
.cc-grid-nav {
    position: absolute;
    top: 8px;
    right: 0;
    z-index: 4;
    display: inline-flex;
    justify-content: flex-end;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 6px;
    border-radius: 999px;
    background: rgba(248, 245, 238, .78);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(17,24,39,.10);
}

.cc-kaarten-scroll-outer {
    position: relative;
    padding-top: 76px;
}

.cc-kaarten-scroll {
    overflow: hidden;
}

.cc-grid-nav__btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: linear-gradient(180deg, #ffffff 0%, #f4f1ea 100%);
    color: #234f3d;
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease, color .18s ease, opacity .18s ease;
    box-shadow: 0 10px 24px rgba(17,24,39,.12), inset 0 1px 0 rgba(255,255,255,.92);
}

.cc-grid-nav__btn::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid rgba(35,79,61,.14);
    pointer-events: none;
}

.cc-grid-nav__btn svg {
    width: 20px;
    height: 20px;
    stroke-width: 2.35;
    position: relative;
    z-index: 1;
}

.cc-grid-nav__btn:hover:not(:disabled) {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #ffffff 0%, #edf5ef 100%);
    box-shadow: 0 14px 28px rgba(17,24,39,.16), 0 0 0 4px rgba(46,125,87,.08);
}

.cc-grid-nav__btn:active:not(:disabled) {
    transform: translateY(0) scale(.98);
}

.cc-grid-nav__btn:focus-visible {
    outline: none;
    box-shadow: 0 0 0 4px rgba(46,125,87,.16), 0 14px 28px rgba(17,24,39,.14);
}

.cc-grid-nav__btn:disabled {
    opacity: .38;
    color: #9aa3a9;
    cursor: default;
    box-shadow: inset 0 1px 0 rgba(255,255,255,.7);
}

@media (max-width: 700px) {
    .cc-kaarten-scroll-outer {
        padding-top: 0;
    }

    .cc-grid-nav {
        position: relative;
        top: auto;
        right: auto;
        display: flex;
        justify-content: center;
        width: fit-content;
        margin: 0 auto 14px;
        padding: 0;
        background: transparent;
        backdrop-filter: none;
        box-shadow: none;
    }

    .cc-grid-nav__btn {
        width: 44px;
        height: 44px;
    }

    .cc-grid-nav__btn svg {
        width: 18px;
        height: 18px;
    }
}



/* ------------------------------------------------------------------
   v3.6.26 foto verwijderknop op camping bewerken
   ------------------------------------------------------------------ */
.cc-foto-item {
    position: relative !important;
}

.cc-foto-item__del {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 1px solid rgba(33,48,65,.08) !important;
    background: rgba(255,255,255,.94) !important;
    color: #d85a5f !important;
    border-radius: 999px !important;
    width: 18px !important;
    height: 18px !important;
    min-width: 18px !important;
    min-height: 18px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    top: 6px !important;
    right: 6px !important;
    box-shadow: 0 4px 10px rgba(17,24,39,.10) !important;
    cursor: pointer !important;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease !important;
    z-index: 3 !important;
    line-height: 1 !important;
    font-size: 0 !important;
    backdrop-filter: blur(6px) !important;
    aspect-ratio: 1 / 1 !important;
}

.cc-foto-item__del svg {
    width: 10px !important;
    height: 10px !important;
    stroke: currentColor !important;
    pointer-events: none !important;
}

.cc-foto-item__del:hover,
.cc-foto-item__del:focus-visible {
    transform: translateY(-1px) scale(1.04) !important;
    background: #fff !important;
    color: #bf3f46 !important;
    box-shadow: 0 8px 16px rgba(17,24,39,.15) !important;
    outline: none !important;
}

.cc-foto-item__del:focus-visible {
    box-shadow: 0 0 0 2px rgba(45,106,79,.18), 0 8px 16px rgba(17,24,39,.15) !important;
}

.cc-foto-item__del:active {
    transform: scale(.97) !important;
}

/* ── Roteer-knop ── */
.cc-foto-item__rot {
    appearance: none !important;
    -webkit-appearance: none !important;
    border: 1px solid rgba(33,48,65,.08) !important;
    background: rgba(255,255,255,.94) !important;
    color: #2d6a4f !important;
    border-radius: 999px !important;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px !important;
    min-height: 22px !important;
    padding: 0 !important;
    margin: 0 !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    position: absolute !important;
    bottom: 6px !important;
    right: 6px !important;
    box-shadow: 0 4px 10px rgba(17,24,39,.10) !important;
    cursor: pointer !important;
    transition: transform .16s ease, box-shadow .16s ease, background .16s ease !important;
    z-index: 3 !important;
    line-height: 1 !important;
    font-size: 0 !important;
    backdrop-filter: blur(6px) !important;
    aspect-ratio: 1 / 1 !important;
}

.cc-foto-item__rot svg {
    width: 13px !important;
    height: 13px !important;
    stroke: currentColor !important;
    pointer-events: none !important;
}

.cc-foto-item__rot:hover,
.cc-foto-item__rot:focus-visible {
    transform: translateY(-1px) scale(1.04) rotate(90deg) !important;
    background: #fff !important;
    color: #1f5c40 !important;
    box-shadow: 0 8px 16px rgba(17,24,39,.15) !important;
    outline: none !important;
}

.cc-foto-item__rot:active {
    transform: scale(.97) rotate(90deg) !important;
}

/* Bezig-state: spinner animatie */
.cc-foto-item__rot--bezig {
    animation: cc-rot-spin .6s linear infinite !important;
    pointer-events: none !important;
    opacity: .7 !important;
}

@keyframes cc-rot-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}


/* ═══════════════════════════════════════
   PARTNERS
═══════════════════════════════════════ */
.cc-partners-wrap{padding:0 0 32px}
.cc-home-header--partners{margin-bottom:18px}
.cc-partners-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:18px}
.cc-partners-grid--bottom{margin-top:18px;align-items:start}
.cc-partner-card{background:#fff;border:1px solid var(--cc-border);border-radius:26px;box-shadow:0 14px 30px rgba(17,24,39,.06);padding:22px}
.cc-partner-card__head{display:flex;gap:14px;align-items:flex-start;margin-bottom:18px}
.cc-partner-card__head h2{margin:0;font-size:1.08rem;color:var(--cc-tekst)}
.cc-partner-card__head p{margin:4px 0 0;color:var(--cc-tekst-2);font-size:.92rem;line-height:1.55}
.cc-partner-card__icon{width:48px;height:48px;border-radius:16px;background:linear-gradient(135deg,var(--cc-groen),var(--cc-groen-2));color:#fff;display:flex;align-items:center;justify-content:center;font-size:1.1rem;box-shadow:0 10px 22px rgba(45,106,79,.22);flex:0 0 auto}
.cc-partner-form,.cc-partner-visibility-form{display:grid;gap:14px}
.cc-partner-rulebox{margin-top:16px;padding:16px 18px;border-radius:20px;background:#f7fbf8;border:1px solid #dceadf}
.cc-partner-rulebox strong{display:block;margin-bottom:8px}
.cc-partner-rulebox ul{margin:0;padding-left:18px;color:var(--cc-tekst-2);display:grid;gap:8px;font-size:.9rem}

.cc-partner-capacity{display:flex;flex-wrap:wrap;gap:10px 16px;align-items:center;padding:14px 18px;border-radius:18px;background:#f7fbf8;border:1px solid #dceadf;color:var(--cc-tekst-2);margin:0 0 18px}
.cc-partner-capacity strong{color:var(--cc-tekst)}
.cc-partner-capacity--warn{background:#fef3f2;border-color:#f3c7c2;color:#8f2d26}
.cc-partner-note{margin:14px 0 0;font-size:.88rem;color:var(--cc-tekst-2)}
.cc-partner-note--warn{color:#8f2d26;font-weight:600}

.cc-partner-visibility-list{display:grid;gap:12px}
.cc-partner-toggle{display:flex;gap:12px;align-items:center;padding:14px 16px;border:1px solid var(--cc-border);border-radius:18px;background:#fcfbf8;cursor:pointer}
.cc-partner-toggle input{width:18px;height:18px;accent-color:var(--cc-groen)}
.cc-partner-toggle__info{display:flex;flex-direction:column}
.cc-partner-toggle__info strong{font-size:.95rem;color:var(--cc-tekst)}
.cc-partner-toggle__info small{color:var(--cc-grijs);font-size:.82rem}
.cc-partner-list{display:grid;gap:14px}
.cc-partner-member{border:1px solid var(--cc-border);border-radius:22px;background:#fcfbf8;padding:16px}
.cc-partner-member--pending{background:#fffdf8}
.cc-partner-member__top{display:flex;gap:12px;align-items:center}
.cc-partner-member__avatar{width:42px;height:42px;border-radius:50%;background:#eef5ef;color:var(--cc-groen);display:flex;align-items:center;justify-content:center;font-weight:700;font-size:1rem;flex:0 0 auto}
.cc-partner-member__meta{min-width:0;flex:1}
.cc-partner-member__meta h3{margin:0;font-size:.98rem;color:var(--cc-tekst)}
.cc-partner-member__meta p{margin:3px 0 0;color:var(--cc-grijs);font-size:.84rem;word-break:break-word}
.cc-partner-member__details{display:flex;gap:10px;flex-wrap:wrap;margin-top:12px;color:var(--cc-tekst-2);font-size:.84rem}
.cc-partner-badge{display:inline-flex;align-items:center;justify-content:center;padding:8px 12px;border-radius:999px;background:#edf7f0;color:var(--cc-groen);font-weight:600;font-size:.76rem;white-space:nowrap}
.cc-partner-badge--soft{background:#fff6df;color:#8a5a04}
.cc-partner-inline-form{margin-top:14px}
.cc-partner-remove{display:inline-flex;align-items:center;justify-content:center;border:0;border-radius:999px;background:#1f2937;color:#fff;padding:10px 16px;font-size:.84rem;font-weight:600;cursor:pointer;transition:transform .18s ease,opacity .18s ease}
.cc-partner-remove:hover{transform:translateY(-1px);opacity:.95}
.cc-partner-remove--ghost{background:#fff;border:1px solid var(--cc-border);color:var(--cc-tekst)}
.cc-partner-empty{margin:0;color:var(--cc-grijs);font-size:.92rem}
@media (max-width: 920px){
  .cc-partners-grid{grid-template-columns:minmax(0,1fr)}
}


/* ═══════════════════════════════════════
   HOMEPAGE — mobiel laden per 6
═══════════════════════════════════════ */
.cc-grid-more-wrap {
    display: none;
    justify-content: center;
    margin: 18px 0 0;
}

.cc-grid-more {
    appearance: none;
    border: 1px solid rgba(35,79,61,.14);
    background: linear-gradient(180deg, #ffffff 0%, #f4f1ea 100%);
    color: #234f3d;
    border-radius: 999px;
    min-height: 46px;
    padding: 0 18px;
    font-size: .92rem;
    font-weight: 700;
    box-shadow: 0 10px 24px rgba(17,24,39,.10);
    cursor: pointer;
    transition: transform .18s ease, box-shadow .18s ease, background .18s ease;
}

.cc-grid-more:hover,
.cc-grid-more:focus-visible {
    transform: translateY(-1px);
    background: linear-gradient(180deg, #ffffff 0%, #edf5ef 100%);
    box-shadow: 0 14px 28px rgba(17,24,39,.14), 0 0 0 4px rgba(46,125,87,.08);
    outline: none;
}

@media (max-width: 700px) {
    .cc-grid-nav {
        display: none !important;
    }

    .cc-grid-more-wrap {
        display: flex;
        margin-top: 18px;
    }

    .cc-kaarten-grid,
    .cc-kaarten-grid.cc-cols-1,
    .cc-kaarten-grid.cc-cols-2,
    .cc-kaarten-grid.cc-cols-3 {
        grid-template-columns: minmax(0, 1fr) !important;
    }
}


/* v3.6.37: oud footer-menu definitief verwijderen op desktop en mobiel */
.cc-nav,
.cc-nav__inner,
.cc-nav__items,
.cc-nav__gebruiker {
    display: none !important;
}


/* v3.6.38: tabletweergave altijd 2 tegels breed */
@media (min-width: 701px) and (max-width: 1024px) {
    #cc-kaarten-grid,
    #cc-kaarten-grid.cc-cols-1,
    #cc-kaarten-grid.cc-cols-2,
    #cc-kaarten-grid.cc-cols-3,
    .cc-kaarten-grid,
    .cc-kaarten-grid.cc-cols-1,
    .cc-kaarten-grid.cc-cols-2,
    .cc-kaarten-grid.cc-cols-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }
}

/* v3.6.40: geschiedenis splitst verblijven binnen hetzelfde jaar in losse trips na een tussenpauze van 28+ dagen; versiebeheer en cache-busting gelijkgetrokken */

/* ------------------------------------------------------------------
   v3.7.117 popup actieknoppen gelijkgetrokken + route-cirkel boven foto
   ------------------------------------------------------------------ */
.cc-popup__share-btn,
.cc-popup__route-btn,
.cc-popup__bewerk-btn {
    appearance: none !important;
    -webkit-appearance: none !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    background: #fff !important;
    color: #213041 !important;
    border: 1px solid #d8d0c4 !important;
    border-radius: 999px !important;
    padding: 10px 18px !important;
    min-height: 42px !important;
    min-width: 118px !important;
    font-family: var(--cc-font-body, inherit) !important;
    font-size: .92rem !important;
    font-weight: 600 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    cursor: pointer !important;
    box-shadow: 0 6px 16px rgba(17,24,39,.06) !important;
    transition: transform .18s ease, box-shadow .18s ease, border-color .18s ease !important;
}

.cc-popup__share-btn:hover,
.cc-popup__share-btn:focus-visible,
.cc-popup__route-btn:hover,
.cc-popup__route-btn:focus-visible,
.cc-popup__bewerk-btn:hover,
.cc-popup__bewerk-btn:focus-visible {
    transform: translateY(-1px) !important;
    border-color: #b8cdbf !important;
    box-shadow: 0 10px 22px rgba(17,24,39,.08) !important;
    background: #fff !important;
    color: #213041 !important;
    outline: none !important;
}

.cc-popup__share-btn svg,
.cc-popup__route-btn svg,
.cc-popup__share-foto-btn svg,
.cc-popup__route-foto-btn svg {
    width: 14px !important;
    height: 14px !important;
    flex: 0 0 14px !important;
}

.cc-popup__share-foto-btn,
.cc-popup__route-foto-btn {
    position: absolute !important;
    top: 12px !important;
    width: 32px !important;
    height: 32px !important;
    min-height: 32px !important;
    padding: 0 !important;
    background: rgba(255,255,255,.92) !important;
    backdrop-filter: blur(4px) !important;
    border: none !important;
    border-radius: 50% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    color: #213041 !important;
    font-size: .95rem !important;
    box-shadow: 0 2px 8px rgba(0,0,0,.18) !important;
    transition: background .15s ease, transform .15s ease !important;
    z-index: 10 !important;
}

.cc-popup__share-foto-btn {
    left: 12px !important;
}

.cc-popup__route-foto-btn {
    left: 52px !important;
}

.cc-popup__share-foto-btn:hover,
.cc-popup__share-foto-btn:focus-visible,
.cc-popup__route-foto-btn:hover,
.cc-popup__route-foto-btn:focus-visible {
    background: #fff !important;
    transform: none !important;
    outline: none !important;
}

/* ------------------------------------------------------------------
   v3.7.118 popup badges uit de weg van share/route-iconen
   ------------------------------------------------------------------ */
.cc-popup__foto-wrap .cc-popup__ster-badge {
    left: auto !important;
    right: 56px !important;
    top: 12px !important;
}

.cc-popup__foto-wrap .cc-popup__aanbevolen {
    left: auto !important;
    right: 56px !important;
}
