/*
 Theme Name:     De Linde Basisschool
 Theme URI:      http://www.elegantthemes.com/gallery/divi/
 Description:    De Linde Basisschool Theme
 Author:         Pamu
 Author URI:     http://www.elegantthemes.com
 Template:       Divi
 Version:        1.0.2
*/




@import url("../Divi/style.css");

#footer-bottom { display: none !important; }


/* ========================================================================
   DE LINDE — CSS VARIABELEN
   ======================================================================== */
:root {
    /* Basis (licht) */
    --linde-bg:            #FFFFFF;
    --linde-bg-soft:       #F7F5EF;
    --linde-text:          #1E1A2E;
    --linde-text-muted:    #6B6478;

    /* Donker (team, footer) */
    --linde-bg-dark:       #1E1A2E;
    --linde-bg-dark-soft:  #2A2440;
    --linde-text-on-dark:  #F5F1E8;

    /* Accenten */
    --linde-mint:          #4EE0A8;
    --linde-mint-deep:     #2FA678;
    --linde-yellow:        #F5E896;
    --linde-lila:          #E896D6;

    /* Portret-kleuren */
    --linde-coral:         #F58F80;
    --linde-pink:          #F5B8D0;
    --linde-orange:        #EE7A2A;
    --linde-olive:         #A19B3B;
    --linde-yellow-warm:   #F5C13D;
    --linde-blue:          #8080E0;
    --linde-mint-portrait: #5BE0A0;

    /* Typografie */
    --linde-font-display:  'Archivo Black', 'Arial Black', sans-serif;
    --linde-font-body:     'Nunito', system-ui, sans-serif;

    /* Layout */
    --linde-radius:        14px;
    --linde-max-width:     1180px;
}


/* ========================================================================
   BODY
   ======================================================================== */
body {
    font-family: var(--linde-font-body);
    background-color: var(--linde-bg);
    color: var(--linde-text);
    -webkit-font-smoothing: antialiased;
}


/* ========================================================================
   SECTIE-VARIANTEN
   ======================================================================== */
.linde-section--dark {
    background-color: var(--linde-bg-dark) !important;
    color: var(--linde-text-on-dark);
}


/* ========================================================================
   TITELS (mint, chunky, gecentreerd)
   ======================================================================== */
.et_pb_text .linde-title,
.et_pb_text h1.linde-title,
.et_pb_text h2.linde-title,
.et_pb_text h3.linde-title,
h2.linde-title {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-mint-deep) !important;
    font-size: clamp(3rem, 8vw, 6rem) !important;
    line-height: 0.95 !important;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center !important;
    margin: 0 !important;
}

.linde-section--dark .et_pb_text .linde-title,
.linde-section--dark h2.linde-title {
    color: var(--linde-mint) !important;
}


/* ========================================================================
   NAMEN + ROLLEN
   ======================================================================== */
.et_pb_text p.linde-name {
    font-family: var(--linde-font-body) !important;
    color: var(--linde-olive) !important;
    font-weight: 700 !important;
    font-size: clamp(1.1rem, 1.6vw, 1.4rem) !important;
    text-align: center !important;
    line-height: 1.2 !important;
    margin: 0 0 0.6em 0 !important;
}
.linde-section--dark .et_pb_text p.linde-name {
    color: var(--linde-yellow) !important;
}

.et_pb_text p.linde-role {
    font-family: var(--linde-font-body) !important;
    color: var(--linde-orange) !important;
    font-weight: 600 !important;
    font-size: 0.95rem !important;
    text-align: center !important;
    line-height: 1.3 !important;
    margin: 0 !important;
}
.linde-section--dark .et_pb_text p.linde-role {
    color: var(--linde-lila) !important;
}


/* ========================================================================
   PORTRETTEN — strak naast elkaar, geen gap
   ======================================================================== */

/* Belangrijke fix: haal Divi's row-gap weg op team-rijen */
.linde-team-row.et_pb_row {
    width: 90% !important;
    max-width: var(--linde-max-width) !important;
}

.linde-team-row .et_pb_column {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 4px !important;   /* kleine gap tussen portretten */
}

.et_pb_image.linde-portrait {
    display: block !important;
    aspect-ratio: 2 / 3;
    border-radius: var(--linde-radius);
    overflow: hidden;
    margin: 0 !important;
}

.et_pb_image.linde-portrait .et_pb_image_wrap {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
}

.et_pb_image.linde-portrait .et_pb_image_wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
    display: block !important;
}

/* Kleurvarianten */
.et_pb_image.linde-portrait--coral  { background-color: var(--linde-coral)  !important; }
.et_pb_image.linde-portrait--yellow { background-color: var(--linde-yellow-warm) !important; }
.et_pb_image.linde-portrait--blue   { background-color: var(--linde-blue)   !important; }
.et_pb_image.linde-portrait--pink   { background-color: var(--linde-pink)   !important; }
.et_pb_image.linde-portrait--mint   { background-color: var(--linde-mint-portrait) !important; }
.et_pb_image.linde-portrait--orange { background-color: var(--linde-orange) !important; }
.et_pb_image.linde-portrait--olive  { background-color: var(--linde-olive)  !important; }

/* Solo portret */
.et_pb_image.linde-portrait--single {
    max-width: 240px !important;
    margin: 0 auto !important;
}


/* ========================================================================
   TEAM-GROEP SPACING
   volgorde: PORTRETTEN -> TITEL -> NAMEN+ROLLEN
   ======================================================================== */

/* Portretten (bovenaan) */
.linde-team-row.et_pb_row {
    padding-top: 60px !important;
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
}

/* Titel (midden) - weinig ruimte boven, iets meer onder */
.linde-team-title.et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 20px !important;
    margin-bottom: 0 !important;
}

/* Namen + rollen (onderaan) - ruimte onder voor volgende groep */
.linde-team-names.et_pb_row {
    width: 90% !important;
    max-width: var(--linde-max-width) !important;
    padding-top: 0 !important;
    padding-bottom: 40px !important;
    margin-bottom: 0 !important;
}

.linde-team-names .et_pb_column {
    margin-right: 0 !important;
    margin-bottom: 0 !important;
    padding: 0 4px !important;
}

/* ---- Fix voor portret-foto's die niet zichtbaar zijn ---- */
.et_pb_image.linde-portrait {
    position: relative !important;
}

.et_pb_image.linde-portrait .et_pb_image_wrap,
.et_pb_image.linde-portrait .et_pb_image_wrap a {
    height: 100% !important;
    width: 100% !important;
    display: block !important;
}

.et_pb_image.linde-portrait .et_pb_image_wrap img {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important;
}


/* ========================================================================
   HERO LOGO (homepage)
   ======================================================================== */
.linde-hero {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 92vh;
    padding: 2rem 1.5rem;
    text-align: center;
    background-color: var(--linde-bg);
    transition: opacity 0.4s ease, transform 0.5s ease;
}

.linde-hero > .et_pb_row {
    width: 100% !important;
    max-width: var(--linde-max-width) !important;
    margin: 0 auto !important;
    padding: 0 !important;
}

.linde-hero .et_pb_image img {
    max-width: min(70vw, 560px);
    height: auto;
    margin: 0 auto;
    display: block;
}

.linde-tagline {
    font-family: var(--linde-font-body);
    color: var(--linde-text);
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    font-weight: 600;
    text-align: center;
    max-width: 40ch;
    margin: 1.5rem auto 0;
    line-height: 1.4;
}

.linde-tagline em {
    color: var(--linde-mint-deep);
    font-style: normal;
    font-weight: 800;
}

body.linde-scrolled .linde-hero {
    opacity: 0;
    transform: translateY(-40px);
    pointer-events: none;
}


/* ========================================================================
   STICKY HEADER + SHRINKING LOGO
   ======================================================================== */
#main-header {
    background-color: transparent !important;
    box-shadow: none !important;
    transition: background-color 0.35s ease, box-shadow 0.35s ease;
}

#main-header #logo {
    max-height: 0 !important;
    opacity: 0;
    transform: scale(0.6);
    transition: max-height 0.4s ease, opacity 0.35s ease, transform 0.4s ease;
}

body.linde-scrolled #main-header {
    background-color: var(--linde-bg) !important;
    box-shadow: 0 2px 18px rgba(30, 26, 46, 0.12) !important;
}

body.linde-scrolled #main-header #logo {
    max-height: 55px !important;
    opacity: 1;
    transform: scale(1);
}


/* ========================================================================
   RESPONSIVE
   ======================================================================== */
@media (max-width: 640px) {
    .linde-hero { min-height: 85vh; }

    .linde-team-names.et_pb_row {
        padding-top: 30px !important;
        padding-bottom: 15px !important;
    }
    .linde-team-row.et_pb_row {
        padding-bottom: 15px !important;
    }
}


/* ============================================================
   TEAM LAYOUT — match old site
   ============================================================ */
.linde-team-row.et_pb_row,
.linde-team-title.et_pb_row,
.linde-team-names.et_pb_row {
    width: 90% !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
.linde-team-row.et_pb_row {
    padding-top: 60px !important;
    padding-bottom: 0 !important;
}
.linde-team-row .et_pb_column {
    padding: 0 5px !important;
    margin-right: 0 !important;
}
.et_pb_image.linde-portrait {
    width: 100% !important;
    aspect-ratio: 5 / 7 !important;
}
.et_pb_text .linde-title,
.et_pb_text h2.linde-title,
h2.linde-title {
    font-size: clamp(2.8rem, 8vw, 5rem) !important;
    line-height: 0.95 !important;
    letter-spacing: 1px !important;
    max-width: none !important;
    word-spacing: normal !important;
    padding: 0 !important;
    margin: 0 !important;
}
.linde-team-title.et_pb_row {
    padding-top: 20px !important;
    padding-bottom: 8px !important;
}
.linde-team-title .et_pb_module { margin-bottom: 0 !important; }
.linde-team-names.et_pb_row {
    padding-top: 0 !important;
    padding-bottom: 0 !important;
}
.linde-team-names .et_pb_column {
    padding: 0 5px !important;
    margin-right: 0 !important;
}
.linde-team-names .et_pb_module { margin-bottom: 0 !important; }
.linde-team-names .et_pb_text p { padding-bottom: 0 !important; }
.et_pb_text p.linde-name {
    margin: 0 0 2px 0 !important;
    line-height: 1.2 !important;
}
.et_pb_text p.linde-role {
    margin: 0 !important;
    line-height: 1.25 !important;
}


/* ============================================================
   HOME PAGE — paste at the very bottom of style.css
   ============================================================ */

/* Sections + narrow centered column (same width as team page) */
.linde-home-section.et_pb_section {
    background-color: var(--linde-bg) !important;
    padding: 50px 0 !important;
}
.linde-home-section--soft.et_pb_section {
    background-color: var(--linde-bg-soft) !important;
}
.linde-home-row.et_pb_row {
    width: 90% !important;
    max-width: 800px !important;
    padding: 10px 0 !important;
}
.linde-home-row .et_pb_column {
    margin-bottom: 20px !important;
}

/* Section titles (smaller than the team titles) */
.et_pb_text h2.linde-subtitle,
.et_pb_text h3.linde-subtitle {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-mint-deep) !important;
    font-size: clamp(2rem, 5vw, 3rem) !important;
    line-height: 0.95 !important;
    text-transform: uppercase;
    text-align: center;
    padding: 0 !important;
    margin: 0 0 0.6em 0 !important;
}
.et_pb_text h3.linde-subtitle--small {
    font-size: clamp(1.5rem, 3.5vw, 2.2rem) !important;
    text-align: left;
}

/* Body text */
.linde-lead p {
    font-family: var(--linde-font-body);
    font-size: 1.08rem;
    line-height: 1.65;
    color: var(--linde-text);
}

/* Highlighted sentence (green marker like the poster) */
.linde-highlight {
    background-color: var(--linde-mint);
    color: var(--linde-text);
    font-weight: 700;
    padding: 0 0.25em;
    -webkit-box-decoration-break: clone;
    box-decoration-break: clone;
}

/* The five logo words as colored chips */
.linde-words {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-bottom: 1em !important;
}
.linde-word {
    display: inline-block;
    font-weight: 800;
    color: var(--linde-text);
    padding: 4px 14px;
    border-radius: 999px;
}
.linde-word--coral  { background-color: var(--linde-coral); }
.linde-word--blue   { background-color: var(--linde-blue); color: #fff; }
.linde-word--yellow { background-color: var(--linde-yellow-warm); }
.linde-word--orange { background-color: var(--linde-orange); color: #fff; }
.linde-word--mint   { background-color: var(--linde-mint-portrait); }

/* Lindekes row: vertically centered */
.linde-lindekes.et_pb_row {
    display: flex;
    align-items: center;
}
.linde-lindekes__img img {
    border-radius: var(--linde-radius);
}

/* Cards (Divi blurb modules) */
.linde-cards .et_pb_column {
    padding: 0 5px !important;
    margin-right: 0 !important;
}
.et_pb_blurb.linde-card {
    border-radius: var(--linde-radius);
    padding: 26px 24px !important;
    height: 100%;
    transition: transform 0.2s ease;
}
.et_pb_blurb.linde-card:hover { transform: translateY(-4px); }
.et_pb_blurb.linde-card .et_pb_module_header,
.et_pb_blurb.linde-card .et_pb_module_header a {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-text) !important;
    font-size: 1.6rem !important;
    line-height: 1 !important;
    text-transform: uppercase;
    padding-bottom: 10px !important;
}
.et_pb_blurb.linde-card .et_pb_blurb_description p {
    color: var(--linde-text);
    font-size: 1rem;
    line-height: 1.5;
}
.linde-card--pink   { background-color: var(--linde-pink); }
.linde-card--yellow { background-color: var(--linde-yellow-warm); }
.linde-card--blue   { background-color: var(--linde-blue); }
.linde-card--mint   { background-color: var(--linde-mint-portrait); }

/* Video */
.linde-video {
    border-radius: var(--linde-radius);
    overflow: hidden;
}

/* Contact form */
.linde-form .input,
.linde-form textarea {
    background-color: var(--linde-bg-soft) !important;
    border: 2px solid transparent !important;
    border-radius: 10px !important;
    font-family: var(--linde-font-body) !important;
    color: var(--linde-text) !important;
}
.linde-form .input:focus,
.linde-form textarea:focus {
    border-color: var(--linde-mint-deep) !important;
}
.linde-form .et_pb_contact_submit {
    background-color: var(--linde-text) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: var(--linde-font-body) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 10px 26px !important;
}
.linde-form .et_pb_contact_submit:hover {
    background-color: var(--linde-mint-deep) !important;
}

/* Mobile */
@media (max-width: 980px) {
    .linde-lindekes.et_pb_row { display: block; }
    .linde-cards .et_pb_column { margin-bottom: 10px !important; }
}

/* ---- Cards: equal height + smaller gap between rows ---- */
.linde-cards.et_pb_row {
    display: flex !important;
    padding: 5px 0 !important;
}
.linde-home-row.linde-cards .et_pb_column {
    display: flex;
    margin-bottom: 0 !important;
}
.et_pb_blurb.linde-card {
    width: 100%;
    min-height: 230px;
    margin-bottom: 0 !important;
}
@media (max-width: 980px) {
    .linde-cards.et_pb_row { display: block !important; }
    .linde-home-row.linde-cards .et_pb_column { margin-bottom: 10px !important; }
    .et_pb_blurb.linde-card { min-height: 0; }
}


/* ============================================================
   CONTENT PAGES (visie & next pages) — paste at the bottom of style.css
   Reuses .linde-home-section / .linde-home-row / .linde-subtitle / .linde-lead
   ============================================================ */

/* Page title (h1) a bit bigger than section titles */
.et_pb_text h1.linde-subtitle--page {
    font-size: clamp(2.8rem, 8vw, 5rem) !important;
    margin-bottom: 0.2em !important;
}
.et_pb_text h2.linde-subtitle--left { text-align: left; }

/* Two-column rows: vertically centered */
.linde-split.et_pb_row { display: flex; align-items: center; }
.linde-split .et_pb_column { margin-bottom: 0 !important; }

.linde-rounded-img img { border-radius: var(--linde-radius); }
.linde-visie-blad img { max-width: 260px; }

/* Motto line */
.linde-lead p.linde-motto {
    font-family: var(--linde-font-display);
    color: var(--linde-mint-deep);
    text-transform: uppercase;
    font-size: 1.4rem;
    line-height: 1.1;
    padding-top: 0.3em;
}

/* Root cards */
.linde-roots .et_pb_column {
    padding: 0 5px !important;
    margin-right: 0 !important;
}
.et_pb_text.linde-root {
    border-radius: var(--linde-radius);
    padding: 24px 22px !important;
    height: 100%;
}
.linde-root p { color: var(--linde-text); font-size: 0.98rem; line-height: 1.5; }
.linde-root p.linde-root__label {
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    padding-bottom: 0 !important;
}
.linde-root h3.linde-root__title {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-text) !important;
    text-transform: uppercase;
    font-size: 2rem !important;
    line-height: 1 !important;
    padding: 0 0 10px !important;
}
.linde-root--coral  { background-color: var(--linde-coral); }
.linde-root--yellow { background-color: var(--linde-yellow-warm); }
.linde-root--blue   { background-color: var(--linde-blue); }

/* Keyword chips inside a card */
.linde-chips { display: flex; flex-wrap: wrap; gap: 6px; padding-bottom: 0 !important; }
.linde-chips span {
    background-color: rgba(255, 255, 255, 0.6);
    color: var(--linde-text);
    font-size: 0.82rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
}

/* Toggles (full text, collapsed) */
.et_pb_toggle.linde-toggle {
    background-color: var(--linde-bg-soft) !important;
    border: none !important;
    border-radius: var(--linde-radius);
    padding: 18px 22px !important;
    margin-bottom: 10px !important;
}
.et_pb_toggle.linde-toggle .et_pb_toggle_title {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-text) !important;
    text-transform: uppercase;
    font-size: 1.3rem !important;
    line-height: 1.1 !important;
}
.et_pb_toggle.linde-toggle .et_pb_toggle_title:before {
    color: var(--linde-mint-deep) !important;
    font-size: 22px;
}
.et_pb_toggle.linde-toggle.et_pb_toggle_open .et_pb_toggle_title {
    color: var(--linde-mint-deep) !important;
}
.et_pb_toggle.linde-toggle .et_pb_toggle_content {
    color: var(--linde-text);
    font-size: 1rem;
    line-height: 1.65;
    padding-top: 12px;
}
.et_pb_toggle.linde-toggle ul { padding-left: 1.2em; }
.et_pb_toggle.linde-toggle li { margin-bottom: 0.7em; }

/* Button */
.et_pb_button_module_wrapper .et_pb_button.linde-btn,
.et_pb_button.linde-btn {
    background-color: var(--linde-text) !important;
    color: #fff !important;
    border: none !important;
    border-radius: 999px !important;
    font-family: var(--linde-font-body) !important;
    font-weight: 700 !important;
    font-size: 1rem !important;
    padding: 10px 26px !important;
}
.et_pb_button.linde-btn:hover {
    background-color: var(--linde-mint-deep) !important;
    padding: 10px 26px !important;
}
.et_pb_button.linde-btn:after { display: none !important; }

/* ---- Team page: sparkles around names (old-site detail) ---- */
.et_pb_text p.linde-name--star::before,
.et_pb_text p.linde-name--star::after {
    content: "✦";
    color: var(--linde-blue);
    margin: 0 0.4em;
    font-size: 0.9em;
}

@media (max-width: 980px) {
    .linde-split.et_pb_row { display: block; }
    .linde-roots .et_pb_column { margin-bottom: 10px !important; }
}


/* ============================================================
   VISIE — root cards (paste at the very bottom of style.css)
   The whole column is the colored card; image on top, text below.
   ============================================================ */

.linde-roots.et_pb_row {
    display: flex !important;
    align-items: stretch;
}
.linde-roots .et_pb_column.linde-root-col {
    margin: 0 5px !important;
    width: calc(33.333% - 10px) !important;
    border-radius: 18px;
    overflow: hidden;
    padding: 0 0 22px 0 !important;
}
.linde-root-col.linde-root--coral  { background-color: var(--linde-coral) !important; }
.linde-root-col.linde-root--yellow { background-color: var(--linde-yellow-warm) !important; }
.linde-root-col.linde-root--blue   { background-color: var(--linde-blue) !important; }

/* Image on top: same height for all three */
.et_pb_image.linde-root__img {
    margin: 0 0 18px 0 !important;
    width: 100% !important;
}
.et_pb_image.linde-root__img .et_pb_image_wrap,
.et_pb_image.linde-root__img img {
    display: block;
    width: 100% !important;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    object-position: center bottom;
}

/* Text inside the card */
.et_pb_text.linde-root {
    background: transparent !important;
    padding: 0 22px !important;
    margin: 0 !important;
}
.et_pb_text.linde-root p {
    color: var(--linde-text) !important;
    font-size: 0.98rem;
    line-height: 1.5;
}
.et_pb_text.linde-root p.linde-root__label {
    font-family: var(--linde-font-body) !important;
    font-weight: 800 !important;
    font-size: 0.78rem !important;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    opacity: 0.65;
    padding-bottom: 2px !important;
}
.et_pb_text.linde-root h3.linde-root__title {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-text) !important;
    text-transform: uppercase;
    font-size: 2rem !important;
    line-height: 1 !important;
    padding: 0 0 10px 0 !important;
}
.linde-root-col.linde-root--blue .et_pb_text.linde-root p,
.linde-root-col.linde-root--blue .et_pb_text.linde-root h3.linde-root__title {
    color: #FFFFFF !important;
}

/* Keyword chips */
.et_pb_text.linde-root p.linde-chips {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    padding: 4px 0 0 0 !important;
}
.linde-chips span {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--linde-text);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    line-height: 1.4;
}

@media (max-width: 980px) {
    .linde-roots.et_pb_row { display: block !important; }
    .linde-roots .et_pb_column.linde-root-col {
        width: 100% !important;
        margin: 0 0 12px 0 !important;
    }
}


/* ============================================================
   TEAM PAGE — white page, dark panel (not full width)
   Paste at the very bottom of style.css
   ============================================================ */

/* Dark team block becomes a centered panel on a white page */
.et_pb_section.linde-section--dark {
    width: 92% !important;
    max-width: 880px !important;
    margin: 0 auto 70px auto !important;
    padding: 10px 0 40px 0 !important;
    border-radius: 22px;
    overflow: hidden;
}

/* White intro above the panel */
.linde-team-intro.et_pb_section {
    padding-bottom: 30px !important;
}
.linde-lead p.linde-center-text {
    text-align: center;
    max-width: 52ch;
    margin: 0 auto;
}

@media (max-width: 640px) {
    .et_pb_section.linde-section--dark {
        width: 96% !important;
        border-radius: 16px;
    }
}


/* ============================================================
   VISIE — intro block as one card
   ============================================================ */
.linde-intro-card.et_pb_row {
    display: flex !important;
    align-items: stretch !important;
    background-color: var(--linde-pink) !important;
    border-radius: 18px;
    overflow: hidden;
    padding: 0 !important;
}
.linde-intro-card .et_pb_column { width: 50% !important; margin: 0 !important; }
.linde-intro-card .et_pb_column:first-child { padding: 32px 30px !important; }
.linde-intro-card .et_pb_text p { color: var(--linde-text) !important; }
.linde-intro-card .et_pb_text p.linde-motto {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-text) !important;
    text-transform: uppercase;
    font-size: 1.5rem !important;
    line-height: 1.05 !important;
    padding-top: 6px !important;
    padding-bottom: 0 !important;
}
.linde-intro-card .et_pb_column:last-child { padding: 0 !important; }
.linde-intro-card .et_pb_image,
.linde-intro-card .et_pb_image .et_pb_image_wrap {
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
}
.linde-intro-card .et_pb_image img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover;
    object-position: center;
    border-radius: 0 !important;
}
@media (max-width: 980px) {
    .linde-intro-card.et_pb_row { display: block !important; }
    .linde-intro-card .et_pb_column { width: 100% !important; }
    .linde-intro-card .et_pb_image img { height: 280px !important; }
}

/* ============================================================
   TEAM intro white + h1 titles + sparkles
   ============================================================ */
body div.et_pb_section.linde-team-intro {
    background-color: #FFFFFF !important;
    background-image: none !important;
}
.et_pb_text h1.linde-subtitle {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-mint-deep) !important;
    font-size: clamp(2.8rem, 8vw, 5rem) !important;
    line-height: 0.95 !important;
    text-transform: uppercase;
    text-align: center;
    padding: 0 !important;
    margin: 0 0 0.3em 0 !important;
}
.linde-section--dark .et_pb_text p.linde-name.linde-name--star::before,
.linde-section--dark .et_pb_text p.linde-name.linde-name--star::after {
    content: "\2726";
    color: var(--linde-blue);
    margin: 0 0.4em;
    font-size: 0.9em;
}


/* ============================================================
   DOORLICHTING + reusable text cards — paste at the bottom of style.css
   ============================================================ */

/* Quote */
.et_pb_text.linde-quote { margin: 10px auto 30px !important; max-width: 640px; }
.linde-quote p.linde-quote__text {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-text) !important;
    font-size: clamp(1.5rem, 3.6vw, 2.2rem) !important;
    line-height: 1.15 !important;
    text-align: center;
    padding-bottom: 10px !important;
}
.linde-quote p.linde-quote__source {
    text-align: center;
    font-weight: 800;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--linde-mint-deep) !important;
}

/* Two cards side by side, equal height */
.linde-pair.et_pb_row {
    display: flex !important;
    align-items: stretch;
    padding: 6px 0 !important;
}
.linde-pair .et_pb_column {
    width: calc(50% - 10px) !important;
    margin: 0 5px !important;
    display: flex;
}

/* Text card (reusable on every page) */
.et_pb_text.linde-textcard {
    width: 100%;
    border-radius: 18px;
    padding: 26px 24px !important;
    margin: 0 !important;
}
.et_pb_text.linde-textcard p {
    color: var(--linde-text) !important;
    font-size: 0.98rem;
    line-height: 1.55;
}
.et_pb_text.linde-textcard h3.linde-textcard__title {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-text) !important;
    text-transform: uppercase;
    font-size: 1.6rem !important;
    line-height: 1 !important;
    padding: 0 0 12px 0 !important;
}
.et_pb_text.linde-textcard p.linde-textcard__label {
    font-family: var(--linde-font-display) !important;
    text-transform: uppercase;
    font-size: 1.3rem !important;
    line-height: 1 !important;
    padding-bottom: 8px !important;
}
.et_pb_text.linde-textcard p.linde-textcard__sign {
    font-weight: 800;
    padding-top: 6px;
    padding-bottom: 0 !important;
}
.linde-textcard--pink   { background-color: var(--linde-pink); }
.linde-textcard--mint   { background-color: var(--linde-mint-portrait); }
.linde-textcard--yellow { background-color: var(--linde-yellow-warm); }
.linde-textcard--coral  { background-color: var(--linde-coral); }
.linde-textcard--blue   { background-color: var(--linde-blue); }
.linde-textcard--blue p { color: #FFFFFF !important; }

/* Chips (generic) */
.et_pb_text p.linde-chips {
    display: flex !important;
    flex-wrap: wrap;
    gap: 6px;
    padding-bottom: 0 !important;
}
.linde-chips span {
    background-color: rgba(255, 255, 255, 0.7);
    color: var(--linde-text);
    font-size: 0.8rem;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 999px;
    line-height: 1.4;
}

/* Centered text + date badge */
.linde-lead p.linde-center-text { text-align: center; max-width: 60ch; margin: 0 auto; }
.linde-date {
    display: inline-block;
    background-color: var(--linde-text);
    color: #FFFFFF;
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 14px;
    border-radius: 999px;
}

/* Report image: rounded, subtle shadow, zoom cursor */
.linde-doc-img img {
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(30, 26, 46, 0.12);
    cursor: zoom-in;
}

@media (max-width: 980px) {
    .linde-pair.et_pb_row { display: block !important; }
    .linde-pair .et_pb_column { width: 100% !important; margin: 0 0 10px 0 !important; }
}

/* ---- Inspection results: small pie + list per domain ---- */
.linde-legend {
    display: flex !important;
    flex-wrap: wrap;
    justify-content: center;
    gap: 6px 18px;
    font-size: 0.85rem;
    color: var(--linde-text);
    padding-bottom: 10px !important;
}
.linde-legend > span { display: inline-flex; align-items: center; }
.linde-dot {
    display: inline-block;
    flex: 0 0 auto;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-right: 8px;
}
.linde-results.et_pb_row {
    display: flex !important;
    align-items: stretch;
    padding: 6px 0 !important;
}
.linde-results .et_pb_column {
    flex: 1 1 0;
    width: auto !important;
    margin: 0 5px !important;
    display: flex;
}
.et_pb_text.linde-result {
    width: 100%;
    background-color: #FFFFFF;
    border-radius: 18px;
    padding: 20px !important;
    margin: 0 !important;
}
.linde-result__head {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 12px;
}
.linde-pie { flex: 0 0 auto; width: 72px; height: 72px; }
.et_pb_text.linde-result h3.linde-result__title {
    font-family: var(--linde-font-display) !important;
    color: var(--linde-text) !important;
    text-transform: uppercase;
    font-size: 1.05rem !important;
    line-height: 1.1 !important;
    padding: 0 !important;
}
.et_pb_text.linde-result ul.linde-result__list {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
}
.linde-result__list li {
    display: flex;
    align-items: flex-start;
    font-size: 0.88rem;
    line-height: 1.35;
    color: var(--linde-text);
    padding: 3px 0;
}
.linde-result__list .linde-dot { margin-top: 3px; }
.linde-center-row .et_pb_button_module_wrapper { text-align: center; }

@media (max-width: 980px) {
    .linde-results.et_pb_row { display: block !important; }
    .linde-results .et_pb_column { width: 100% !important; margin: 0 0 10px 0 !important; }
}


/* ============================================================
   DOORLICHTING — result cards aligned with the cards above
   ============================================================ */
.linde-results.et_pb_row {
    width: 90% !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    justify-content: center;
    align-items: stretch;
    gap: 10px;
    padding: 5px 0 !important;
}
.linde-results.et_pb_row::after { display: none !important; }
.linde-results .et_pb_column {
    flex: 0 0 calc((100% - 20px) / 3) !important;
    width: calc((100% - 20px) / 3) !important;
    margin: 0 !important;
    display: flex;
}
.linde-result__head {
    flex-direction: column;
    text-align: center;
    gap: 10px;
    margin-bottom: 14px;
}
.linde-pie { width: 64px; height: 64px; }
.et_pb_text.linde-result h3.linde-result__title {
    font-size: 0.95rem !important;
    line-height: 1.15 !important;
    text-align: center;
}
.et_pb_text.linde-result { padding: 22px 18px !important; }
.linde-center-row.et_pb_row { padding-top: 20px !important; }

/* ============================================================
   KOD — long page title + logo row
   ============================================================ */
.et_pb_text h1.linde-subtitle.linde-subtitle--long {
    font-size: clamp(1.8rem, 5.5vw, 3.2rem) !important;
    word-break: normal;
    overflow-wrap: normal;
    hyphens: none;
}
.linde-logos.et_pb_row {
    display: flex !important;
    justify-content: center;
    align-items: center;
    gap: 40px;
    padding: 30px 0 10px 0 !important;
}
.linde-logos.et_pb_row::after { display: none !important; }
.linde-logos .et_pb_column {
    width: auto !important;
    margin: 0 !important;
    flex: 0 1 auto;
}
.et_pb_image.linde-logo { margin: 0 !important; text-align: center; }
.et_pb_image.linde-logo img {
    height: 80px !important;
    width: auto !important;
    object-fit: contain;
}

/* ============================================================
   Titles in half-width columns: smaller, never split mid-word
   ============================================================ */
.linde-split .et_pb_text h2.linde-subtitle {
    font-size: clamp(1.6rem, 3.4vw, 2rem) !important;
    line-height: 1 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: manual;
}

/* ============================================================
   Role list + download button + DearFlip thumbnail
   ============================================================ */
.et_pb_text.linde-textcard ul.linde-roles {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
}
.linde-roles li {
    padding: 8px 0;
    border-bottom: 1px solid rgba(30, 26, 46, 0.12);
    color: var(--linde-text);
    font-size: 0.98rem;
    line-height: 1.4;
}
.linde-roles li:last-child { border-bottom: none; }
.linde-roles li span {
    display: block !important;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.65;
}
a.linde-download {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: var(--linde-text);
    color: #FFFFFF !important;
    font-weight: 700;
    font-size: 0.9rem;
    line-height: 1.2;
    padding: 10px 18px;
    border-radius: 999px;
    text-decoration: none !important;
    transition: background-color 0.2s ease;
}
a.linde-download::before { content: "\2193"; font-weight: 800; }
a.linde-download:hover { background-color: var(--linde-mint-deep); }
.linde-flip { position: relative; display: inline-block; margin-top: 6px; }
a.linde-flip__link { position: absolute; inset: 0; z-index: 5; border-radius: 10px; }
.linde-flip ._df_thumb {
    width: 140px !important;
    height: 190px !important;
    margin: 0 !important;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(30, 26, 46, 0.18);
    transition: transform 0.2s ease;
}
.linde-flip:hover ._df_thumb { transform: translateY(-3px); }
.linde-flip ._df_book-title,
.linde-flip ._df_thumb span { display: none !important; }

/* ============================================================
   Trio cards (3 equal cards) + checklist
   ============================================================ */
.linde-trio.et_pb_row {
    width: 90% !important;
    max-width: 800px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: flex !important;
    align-items: stretch;
    gap: 10px;
    padding: 5px 0 !important;
}
.linde-trio.et_pb_row::after { display: none !important; }
.linde-trio .et_pb_column {
    flex: 1 1 0 !important;
    width: auto !important;
    margin: 0 !important;
}
.linde-trio .et_pb_text.linde-textcard h3.linde-textcard__title {
    font-size: 1.2rem !important;
    line-height: 1.05 !important;
    word-break: normal !important;
    overflow-wrap: normal !important;
    hyphens: manual;
}
.et_pb_text.linde-textcard ul.linde-checks {
    list-style: none !important;
    padding: 0 !important;
    margin: 0;
}
.linde-checks li {
    position: relative;
    padding: 6px 0 6px 30px;
    color: var(--linde-text);
    font-size: 0.95rem;
    line-height: 1.4;
}
.linde-checks li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    top: 6px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.75);
    color: var(--linde-text);
    font-size: 0.75rem;
    font-weight: 800;
    line-height: 20px;
    text-align: center;
}
.linde-textcard--wide p.linde-textcard__label {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.linde-textcard--wide .linde-date {
    font-family: var(--linde-font-body);
    font-size: 0.75rem;
    text-transform: none;
}
.linde-textcard--blue .linde-textcard__title,
.linde-textcard--blue .linde-textcard__label { color: #FFFFFF !important; }
.et_pb_text h2.linde-subtitle--section {
    font-size: clamp(1.6rem, 4vw, 2.4rem) !important;
    margin: 40px 0 10px 0 !important;
}

/* ============================================================
   Card buttons always at the bottom (pair + trio)
   ============================================================ */
.linde-pair .et_pb_column,
.linde-trio .et_pb_column { display: flex !important; }
.linde-pair .et_pb_text.linde-textcard,
.linde-trio .et_pb_text.linde-textcard {
    display: flex !important;
    flex-direction: column;
    width: 100%;
}
.linde-pair .et_pb_text.linde-textcard .et_pb_text_inner,
.linde-trio .et_pb_text.linde-textcard .et_pb_text_inner {
    display: flex !important;
    flex-direction: column;
    flex: 1 1 auto;
}
.et_pb_text.linde-textcard p.linde-card-actions,
.et_pb_text.linde-textcard .et_pb_text_inner > .linde-flip {
    margin-top: auto !important;
    padding-top: 16px !important;
    padding-bottom: 0 !important;
}

/* ============================================================
   INSCHRIJVINGEN — period blocks, note, steps, form card
   ============================================================ */
.et_pb_text.linde-textcard p.linde-period {
    background-color: rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    padding: 10px 12px !important;
    margin-bottom: 8px;
    font-size: 0.9rem;
    line-height: 1.45;
}
.linde-textcard--blue p.linde-period { color: var(--linde-text) !important; }
.linde-textcard a:not(.linde-download) {
    color: var(--linde-text) !important;
    text-decoration: underline;
}
.linde-lead p.linde-note { font-size: 0.95rem; padding: 6px 0 14px 0 !important; }
.linde-lead p.linde-note a { color: var(--linde-mint-deep); }

.linde-steps.et_pb_row {
    display: flex !important;
    align-items: center;
    gap: 30px;
    padding: 18px 0 !important;
}
.linde-steps.et_pb_row::after { display: none !important; }
.linde-steps .et_pb_column {
    flex: 1 1 0 !important;
    width: auto !important;
    margin: 0 !important;
}
.et_pb_image.linde-step-figure { margin: 0 !important; text-align: center; }
.et_pb_image.linde-step-figure img {
    max-height: 280px;
    width: auto !important;
    transition: transform 0.3s ease;
}
.et_pb_image.linde-step-figure--logo img { max-height: 200px; }
.linde-steps:hover .et_pb_image.linde-step-figure img { transform: rotate(-3deg) scale(1.03); }

.et_pb_contact_form_container.linde-form {
    background-color: #FFFFFF;
    border-radius: 18px;
    padding: 26px 24px !important;
}
.linde-form .et_pb_contact_form { margin: 0 !important; }
.linde-form p.et_pb_contact_field { margin-bottom: 12px !important; }
.linde-form .input,
.linde-form textarea.input,
.linde-form input.et_pb_contact_captcha {
    background-color: var(--linde-bg-soft) !important;
    border: 2px solid #E6E1D6 !important;
    border-radius: 10px !important;
    color: var(--linde-text) !important;
    font-family: var(--linde-font-body) !important;
    font-size: 0.95rem !important;
    padding: 12px 14px !important;
}
.linde-form .input:focus,
.linde-form textarea.input:focus,
.linde-form input.et_pb_contact_captcha:focus {
    border-color: var(--linde-mint-deep) !important;
    background-color: #FFFFFF !important;
}
.linde-form .et_contact_bottom_container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 12px;
    float: none !important;
    margin-top: 6px;
}
.linde-form .et_pb_contact_right {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--linde-text);
    font-weight: 700;
}
.linde-form input.et_pb_contact_captcha { width: 70px !important; text-align: center; }
.linde-home-section--soft .et_pb_text h3.linde-subtitle--small {
    font-size: clamp(1.3rem, 3vw, 1.8rem) !important;
    text-align: center !important;
    margin: 30px 0 14px 0 !important;
}

/* ============================================================
   MOBILE (all rows above)
   ============================================================ */
@media (max-width: 980px) {
    .linde-results.et_pb_row,
    .linde-trio.et_pb_row,
    .linde-steps.et_pb_row { display: block !important; }
    .linde-results .et_pb_column,
    .linde-trio .et_pb_column,
    .linde-steps .et_pb_column {
        width: 100% !important;
        margin: 0 0 10px 0 !important;
    }
    .et_pb_image.linde-step-figure img { max-height: 180px; }
}
@media (max-width: 640px) {
    .linde-logos.et_pb_row { gap: 20px; }
    .et_pb_image.linde-logo img { height: 56px !important; }
}

/* ============================================================
   All buttons the same: DearFlip buttons + role labels
   ============================================================ */
._df_button,
._df_custom,
.linde-textcard ._df_button {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    background: var(--linde-text) !important;
    background-image: none !important;
    color: #FFFFFF !important;
    font-family: var(--linde-font-body) !important;
    font-weight: 700 !important;
    font-size: 0.9rem !important;
    line-height: 1.2 !important;
    padding: 10px 18px !important;
    margin: 0 !important;
    border: none !important;
    border-radius: 999px !important;
    box-shadow: none !important;
    text-transform: none !important;
    cursor: pointer;
    transition: background-color 0.2s ease;
}
._df_button::before { content: "\2192"; font-weight: 800; }
._df_button:hover,
._df_custom:hover { background: var(--linde-mint-deep) !important; }

/* Role label with its own class (the editor strips plain <span>) */
.linde-roles li .linde-roles__label {
    display: block !important;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.65;
}

/* ============================================================
   CONTACT — map + contact lists inside toggles
   ============================================================ */
.et_pb_code.linde-map {
    border-radius: 18px;
    overflow: hidden;
    margin-top: 10px !important;
}
.et_pb_code.linde-map iframe { display: block; }

.et_pb_toggle.linde-toggle h4.linde-contacts__group {
    font-family: var(--linde-font-body) !important;
    font-size: 0.78rem !important;
    font-weight: 800 !important;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--linde-mint-deep) !important;
    padding: 16px 0 4px 0 !important;
    margin: 0 !important;
}
.et_pb_toggle.linde-toggle h4.linde-contacts__group:first-child { padding-top: 0 !important; }
.et_pb_toggle.linde-toggle ul.linde-contacts {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 !important;
}
.linde-contacts li {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: baseline;
    gap: 2px 16px;
    padding: 8px 0 !important;
    margin: 0 !important;
    border-bottom: 1px solid rgba(30, 26, 46, 0.08);
    font-size: 0.95rem;
}
.linde-contacts li:last-child { border-bottom: none; }
.linde-contacts .linde-contacts__name { font-weight: 700; color: var(--linde-text); }
.linde-contacts .linde-contacts__note {
    display: block;
    font-weight: 400;
    font-size: 0.82rem;
    color: var(--linde-text-muted);
}
.linde-contacts a { color: var(--linde-mint-deep) !important; font-weight: 600; word-break: break-all; }
.linde-textcard .linde-roles a { font-weight: 700; }

/* ============================================================
   Safety net: keep rows centered and toggles closed even when
   Divi's own module CSS loads late or not at all on a page
   ============================================================ */
.et_pb_row.linde-home-row,
.et_pb_row.linde-team-row,
.et_pb_row.linde-team-title,
.et_pb_row.linde-team-names {
    margin-left: auto !important;
    margin-right: auto !important;
}
.et_pb_toggle.linde-toggle.et_pb_toggle_close .et_pb_toggle_content { display: none; }
.et_pb_toggle.linde-toggle.et_pb_toggle_open .et_pb_toggle_content { display: block; }
.et_pb_toggle.linde-toggle .et_pb_toggle_title {
    position: relative;
    cursor: pointer;
    padding-right: 30px !important;
    margin: 0 !important;
}
.et_pb_toggle.linde-toggle .et_pb_toggle_title::after {
    content: "+";
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--linde-font-body);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--linde-mint-deep);
}
.et_pb_toggle.linde-toggle.et_pb_toggle_open .et_pb_toggle_title::after { content: "\2212"; }
.et_pb_toggle.linde-toggle .et_pb_toggle_title::before { display: none !important; }

/* Fallback: a paragraph that only holds a card button goes to the bottom,
   even without the linde-card-actions class */
.et_pb_text.linde-textcard .et_pb_text_inner > p:last-child:has(> a.linde-download:only-child) {
    margin-top: auto !important;
    padding-top: 16px !important;
    padding-bottom: 0 !important;
}

/* ============================================================
   NASCHOOLS — lists, callouts and flyer inside toggles;
   anchor links open the matching toggle (see JS note)
   ============================================================ */
.et_pb_toggle.linde-toggle ul.linde-roles {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 6px 0 !important;
}
.et_pb_toggle.linde-toggle ul.linde-checks {
    list-style: none !important;
    padding: 0 !important;
    margin: 0 0 10px 0 !important;
}
.et_pb_toggle.linde-toggle .linde-checks li::before { background-color: var(--linde-mint-portrait); }
.et_pb_toggle.linde-toggle .linde-roles a,
.et_pb_toggle.linde-toggle p a { color: var(--linde-mint-deep) !important; font-weight: 700; }
.linde-callout {
    background-color: #FDE7E3;
    border-left: 4px solid var(--linde-coral);
    border-radius: 10px;
    padding: 12px 14px !important;
    margin: 10px 0 !important;
    font-size: 0.95rem;
    color: var(--linde-text);
}
/* Images inside a toggle (e.g. the yoga flyer): large and centered,
   also when the editor replaced the class or added a width attribute */
.et_pb_toggle.linde-toggle .et_pb_toggle_content img,
img.linde-flyer {
    display: block !important;
    width: 100% !important;
    max-width: 520px !important;
    height: auto !important;
    margin: 16px auto 0 auto !important;
    border-radius: 14px;
    box-shadow: 0 6px 24px rgba(30, 26, 46, 0.12);
}
html { scroll-behavior: smooth; }
.et_pb_toggle.linde-toggle { scroll-margin-top: 100px; }

/* ============================================================
   LINDEBLAD — shelf of flipbook covers
   ============================================================ */
.linde-shelf {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px 32px;
    padding: 10px 0 6px 0;
}
.linde-shelf__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 160px;
}
.linde-shelf .linde-flip ._df_thumb {
    width: 160px !important;
    height: 220px !important;
}
.et_pb_text p.linde-shelf__caption,
.et_pb_toggle p.linde-shelf__caption {
    font-family: var(--linde-font-display) !important;
    text-transform: uppercase;
    font-size: 0.95rem;
    color: var(--linde-text) !important;
    text-align: center;
    padding: 10px 0 0 0 !important;
    margin: 0 !important;
}
@media (max-width: 640px) {
    .linde-shelf { gap: 20px; }
    .linde-shelf__item { width: 130px; }
    .linde-shelf .linde-flip ._df_thumb { width: 130px !important; height: 180px !important; }
}

/* ============================================================
   NAVIGATION — Divi default header
   Home: logo appears after scrolling (big hero logo on top).
   Other pages: logo always visible.
   ============================================================ */
#main-header {
    background-color: #FFFFFF !important;
    box-shadow: none !important;
    border-bottom: 1px solid rgba(30, 26, 46, 0.06);
}
body.linde-scrolled #main-header { box-shadow: 0 4px 20px rgba(30, 26, 46, 0.08) !important; }
body.home:not(.linde-scrolled) #main-header { border-bottom-color: transparent; }

body:not(.home) #main-header #logo {
    max-height: 54px !important;
    opacity: 1 !important;
    transform: none !important;
}
#main-header #logo { width: auto; }

#top-menu li { padding-right: 6px !important; }
#top-menu > li > a {
    font-family: var(--linde-font-body) !important;
    font-weight: 700 !important;
    font-size: 15px !important;
    color: var(--linde-text) !important;
    padding: 9px 14px !important;
    border-radius: 999px;
    opacity: 1 !important;
    transition: background-color 0.2s ease, color 0.2s ease;
}
#top-menu > li > a:hover { background-color: var(--linde-bg-soft); }
#top-menu > li.current-menu-item > a,
#top-menu > li.current-menu-ancestor > a,
#top-menu > li.current_page_item > a {
    background-color: var(--linde-mint) !important;
    color: var(--linde-text) !important;
}
/* Dropdown arrow inside the pill */
#top-menu .menu-item-has-children > a { padding-right: 30px !important; }
#top-menu .menu-item-has-children > a::after { right: 10px !important; top: 9px !important; }
/* Divi puts padding below menu items to centre them; keep the bar compact */
#top-menu-nav > ul > li > a { padding-bottom: 9px !important; }
#et-top-navigation { padding-top: 22px !important; }
.et-fixed-header #et-top-navigation { padding-top: 16px !important; }

/* Dropdown */
#top-menu li ul.sub-menu {
    border: none !important;
    border-radius: 16px;
    padding: 10px !important;
    width: 260px;
    box-shadow: 0 12px 32px rgba(30, 26, 46, 0.14) !important;
    background-color: #FFFFFF !important;
}
#top-menu li ul.sub-menu li { padding: 0 !important; width: 100%; }
#top-menu li ul.sub-menu li a {
    width: 100% !important;
    font-family: var(--linde-font-body) !important;
    font-weight: 600 !important;
    font-size: 14px !important;
    color: var(--linde-text) !important;
    padding: 9px 14px !important;
    border-radius: 10px;
}
#top-menu li ul.sub-menu li a:hover {
    background-color: var(--linde-bg-soft) !important;
    opacity: 1 !important;
}
#top-menu li ul.sub-menu li.current-menu-item > a { background-color: var(--linde-pink) !important; }

/* Mobile menu */
.mobile_menu_bar::before { color: var(--linde-text) !important; }
.et_mobile_menu {
    border-top: 3px solid var(--linde-mint) !important;
    border-radius: 0 0 16px 16px;
    box-shadow: 0 12px 32px rgba(30, 26, 46, 0.14) !important;
}
.et_mobile_menu li a {
    font-family: var(--linde-font-body) !important;
    font-weight: 700 !important;
    color: var(--linde-text) !important;
    border-bottom: 1px solid rgba(30, 26, 46, 0.06) !important;
}
.et_mobile_menu li.current-menu-item > a { color: var(--linde-mint-deep) !important; }
.et_mobile_menu .sub-menu li a { font-weight: 600 !important; padding-left: 10% !important; }

/* ============================================================
   FOOTER — custom footer.php in the child theme
   ============================================================ */
#main-footer.linde-footer { background-color: var(--linde-bg-dark) !important; }
.linde-footer { color: var(--linde-text-on-dark); font-family: var(--linde-font-body); }
.linde-footer__stripe { display: flex; height: 8px; }
.linde-footer__stripe span { flex: 1; }
.linde-footer__stripe span:nth-child(1) { background: var(--linde-pink); }
.linde-footer__stripe span:nth-child(2) { background: var(--linde-yellow-warm); }
.linde-footer__stripe span:nth-child(3) { background: var(--linde-blue); }
.linde-footer__stripe span:nth-child(4) { background: var(--linde-olive); }
.linde-footer__stripe span:nth-child(5) { background: var(--linde-orange); }
.linde-footer__stripe span:nth-child(6) { background: var(--linde-mint-portrait); }

.linde-footer__inner {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 56px 0 36px 0;
    display: grid;
    grid-template-columns: 1.2fr 1fr 1fr 1fr;
    gap: 36px;
}
.linde-footer__logo { width: 150px; height: auto; display: block; margin-bottom: 14px; }
.linde-footer p.linde-footer__tagline {
    font-family: var(--linde-font-display);
    text-transform: uppercase;
    font-size: 1.05rem;
    line-height: 1.15;
    color: var(--linde-mint) !important;
}
.linde-footer h4.linde-footer__title {
    font-family: var(--linde-font-display) !important;
    text-transform: uppercase;
    font-size: 1rem !important;
    color: var(--linde-yellow) !important;
    padding: 0 0 12px 0 !important;
    margin: 0 !important;
}
.linde-footer p {
    color: var(--linde-text-on-dark) !important;
    font-size: 0.95rem;
    line-height: 1.6;
    padding-bottom: 10px !important;
}
.linde-footer a {
    color: var(--linde-text-on-dark) !important;
    text-decoration: none;
    border-bottom: 1px solid rgba(245, 241, 232, 0.25);
    transition: color 0.2s ease, border-color 0.2s ease;
}
.linde-footer a:hover { color: var(--linde-mint) !important; border-color: var(--linde-mint); }
ul.linde-footer__links { list-style: none !important; padding: 0 !important; margin: 0 !important; }
.linde-footer__links li { padding: 0 0 8px 0 !important; font-size: 0.95rem; }
.linde-footer__links li::before { display: none !important; }

.linde-footer__bottom {
    width: 90%;
    max-width: 1000px;
    margin: 0 auto;
    padding: 18px 0 26px 0;
    border-top: 1px solid rgba(245, 241, 232, 0.12);
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    font-size: 0.82rem;
    color: var(--linde-text-muted);
}
.linde-footer__bottom a { border-bottom: none; color: var(--linde-text-muted) !important; }

@media (max-width: 980px) {
    .linde-footer__inner { grid-template-columns: 1fr 1fr; gap: 28px; }
}
@media (max-width: 560px) {
    .linde-footer__inner { grid-template-columns: 1fr; padding-top: 40px; }
}

/* ============================================================
   AGENDA — Google Calendar embed (month on desktop, list on mobile)
   ============================================================ */
.et_pb_code.linde-calendar {
    background-color: #FFFFFF;
    border: 2px solid var(--linde-bg-soft);
    border-radius: 18px;
    padding: 14px !important;
    box-shadow: 0 6px 24px rgba(30, 26, 46, 0.06);
}
.linde-calendar__frame iframe {
    display: block;
    width: 100%;
    border: 0;
    border-radius: 10px;
}
.linde-calendar__frame--month iframe { height: 640px; }
.linde-calendar__frame--list { display: none; }
.linde-calendar__frame--list iframe { height: 560px; }

.linde-lead p.linde-calendar__actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 10px;
    padding-bottom: 0 !important;
}
a.linde-download.linde-download--light {
    background-color: var(--linde-bg-soft);
    color: var(--linde-text) !important;
}
a.linde-download.linde-download--light:hover { background-color: var(--linde-mint); }

@media (max-width: 780px) {
    .linde-calendar__frame--month { display: none; }
    .linde-calendar__frame--list { display: block; }
    .et_pb_code.linde-calendar { padding: 8px !important; }
}

/* ============================================================
   Short pages: push the footer to the bottom of the screen
   ============================================================ */
#page-container {
    display: flex !important;
    flex-direction: column;
    min-height: calc(100vh - var(--wp-admin--admin-bar--height, 0px));
    box-sizing: border-box;
}
#et-main-area {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
}
#main-content { flex: 1 0 auto; }
#main-footer { flex-shrink: 0; }
/* Any leftover space below the footer takes the footer colour;
   the page content itself keeps its white background */
html, body { background-color: var(--linde-bg-dark) !important; }
#page-container, #main-content { background-color: #FFFFFF; }
#page-container { padding-bottom: 0 !important; margin-bottom: 0 !important; }

/* Contact form on a white section: no card, fields span the full width */
.linde-home-section:not(.linde-home-section--soft) .et_pb_contact_form_container.linde-form {
    background-color: transparent;
    border-radius: 0;
    padding: 0 !important;
}
.linde-form .et_pb_contact_form,
.linde-form .et_pb_contact_form_container { margin-left: 0 !important; margin-right: 0 !important; }
.linde-form p.et_pb_contact_field { padding-left: 0 !important; }
.linde-form p.et_pb_contact_field_half { width: calc(50% - 8px) !important; margin-right: 16px !important; }
.linde-form p.et_pb_contact_field_half.et_pb_contact_field_last { margin-right: 0 !important; }
@media (max-width: 767px) {
    .linde-form p.et_pb_contact_field_half { width: 100% !important; margin-right: 0 !important; }
}