/* Inovaclean SEO pagina's — only what the theme doesn't already style. */

.isp-page .about-desc ul,
.isp-page .content-layout-05-content ul {
    padding-left: 1.2rem;
    margin-bottom: 1rem;
}
.isp-page .about-desc li,
.isp-page .content-layout-05-content li {
    margin-bottom: .35rem;
}
.isp-page .about-desc h3,
.isp-page .content-layout-05-content h3 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}
.isp-page .about-desc > h3:first-child { margin-top: 0; }

.isp-section--text .about-container-box { text-align: left; }
.isp-section--text.isp-joined { padding-top: 0 !important; }

/* Coloured panels: theme sets `.white-text *:not(a)` to white, which hides
   the label of a white button and leaves links dark blue on light blue. */
.isp-page .white-text .white-button span { color: #0b2444; }
.isp-page .white-text .white-button:hover span { color: #fff; }
.isp-page .white-text a:not(.button) {
    color: #fff;
    text-decoration: underline;
}

/* Page CTA with the copywriter's longer text: no stray bottom margin, keep the
   button from shrinking next to two paragraphs. */
.isp-cta .cta-content p:last-child { margin-bottom: 0; }
.isp-cta .cta-content { flex: 1 1 auto; min-width: 0; padding-right: 2rem; }
.isp-cta .cta-button { flex: 0 1 auto; max-width: 45%; }
.isp-cta .cta-button .button { white-space: normal; text-align: center; }
@media (max-width: 991.98px) {
    .isp-cta .cta-content { padding-right: 0; }
    .isp-cta .cta-button { max-width: none; }
}

/* Numbered steps */
.isp-page ol.isp-steps {
    list-style: none;
    counter-reset: isp-step;
    padding-left: 0;
    margin: 1.25rem 0;
}
.isp-page ol.isp-steps > li {
    counter-increment: isp-step;
    position: relative;
    padding-left: 3.25rem;
    margin-bottom: 1.25rem;
    min-height: 2.25rem;
}
.isp-page ol.isp-steps > li::before {
    content: counter(isp-step);
    position: absolute;
    left: 0;
    top: 0;
    width: 2.25rem;
    height: 2.25rem;
    border-radius: 50%;
    background: var(--color-dark-blue, #486992);
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* "Lees meer" internal links */
.isp-readmore:empty { display: none; }
.isp-readmore { margin-top: .25rem; }
.isp-readmore-link {
    font-weight: 700;
    color: var(--color-dark-blue, #486992);
    text-decoration: none;
    border-bottom: 1px solid currentColor;
}
.isp-readmore-link::after { content: " \2192"; }
.isp-readmore-link:hover { color: var(--color-extra-dark-blue, #324967); }
.white-text .isp-readmore-link { color: #fff; }

/* FAQ accordion */
.isp-accordion .accordion-item {
    border: 0;
    border-radius: 0;
    margin-bottom: .75rem;
    background: #fff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .06);
}
.isp-accordion .accordion-header { margin: 0; font-size: inherit; }
.isp-accordion .accordion-button {
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--color-dark-blue, #486992);
    background: #fff;
    padding: 1.1rem 1.25rem;
    box-shadow: none;
}
.isp-accordion .accordion-button:not(.collapsed) {
    color: #fff;
    background: var(--color-dark-blue, #486992);
}
.isp-accordion .accordion-button:not(.collapsed)::after { filter: brightness(0) invert(1); }
.isp-accordion .accordion-button:focus { box-shadow: 0 0 0 .2rem rgba(142, 187, 208, .6); }
.isp-accordion .accordion-body { padding: 1.1rem 1.25rem; }
.isp-accordion .accordion-body p:last-child { margin-bottom: 0; }

/* Form block */
.isp-form .contact-desc { margin-bottom: 1.5rem; }

/* Map */
.isp-map-heading { margin: 0 0 1.5rem; }
.isp-map .map-section iframe {
    display: block;
    width: 100%;
    height: 420px;
    border: 0;
}

/* Related / [isp_pages] cards */
.isp-card {
    position: relative;
    background: #fff;
    height: 100%;
    transition: transform .2s ease;
}
.isp-card:hover { transform: translateY(-4px); }
.isp-card-img {
    padding-top: 62%;
    background-size: cover;
    background-color: #eee;
}
.isp-card-body { padding: 1.25rem 1.25rem 1.5rem; }
.isp-card-body .h4 { color: var(--color-dark-blue, #486992); margin-bottom: .5rem; }
.isp-card-body p { margin-bottom: .75rem; }
.isp-card-more { font-weight: 700; color: var(--color-dark-blue, #486992); }
.isp-card-more::after { content: " \2192"; }
.isp-page-list { columns: 2; padding-left: 1.2rem; }

@media (max-width: 767.98px) {
    .isp-map .map-section iframe { height: 320px; }
    .isp-accordion .accordion-button { padding: .9rem 1rem; font-size: 1rem; }
    .isp-accordion .accordion-body { padding: .9rem 1rem; }
    .isp-page ol.isp-steps > li { padding-left: 2.75rem; }
    .isp-page ol.isp-steps > li::before { width: 2rem; height: 2rem; }
    .isp-page-list { columns: 1; }
}

/* Block titles that are not part of the SEO heading outline (gallery, form,
   map, related) use .h2 — make sure they look exactly like the theme's h2. */
.isp-page div.h2 {
    color: var(--color-dark-blue, #486992);
    font-weight: 700;
    line-height: 1.15;
    margin-bottom: .75rem;
}
.isp-page .our-gallery div.h2,
.isp-page .isp-form div.h2 { margin-bottom: .75rem; }

/* ── Overview (filter, search, map, cards) ─────────────────────────────── */
.isp-ov-tools {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}
.isp-ov-filters { display: flex; flex-wrap: wrap; gap: .5rem; }
.isp-ov-filters .button { margin: 0; min-width: 0; }
.isp-ov-count { opacity: .8; font-weight: 400; }
.isp-ov-search { flex: 0 1 22rem; }
.isp-ov-search input { width: 100%; }
.isp-ov-map {
    height: 420px;
    position: relative;
    z-index: 0; /* keep Leaflet panes below the sticky header */
}
.isp-ov-popup-link { font-weight: 700; color: var(--color-dark-blue, #486992); }
.isp-ov-item { margin-bottom: 1.5rem; }
.isp-ov-item[hidden], .isp-ov-list li[hidden] { display: none !important; }
.isp-ov-location { display: flex; align-items: center; justify-content: center; gap: .35rem; }
.isp-ov-location img { filter: brightness(0) invert(1); }
.isp-ov-card .white-text .white-button span { color: #0b2444; }
.isp-overview-intro + .isp-overview { margin-top: 0; }
@media (max-width: 767.98px) {
    .isp-ov-tools { flex-direction: column; align-items: stretch; }
    .isp-ov-search { flex-basis: auto; }
    .isp-ov-map { height: 320px; }
}
