/* =========================================================
 * Lemster Skûtsje, aanpassingen okt 2026
 * ========================================================= */

:root {
    --maincolor: #04112A;
    --subcolor: #0077B6;
    --helpmeecolor: #E05A00;
    --helpmeehover: #C24E00;
    --lichtblauw: #F0F9FF;
}

/* ---------- Opfrisbeurt: golven weg, alleen de footergolf blijft ---------- */

.headergolven,
section#hero .headergolf,
section#hero .herowaves {
    display: none !important;
}

/* ---------- Opfrisbeurt: kleuren ---------- */

/* Zeeblauw (was #005380) */
.agendapunten .agendapunt h3 i,
section#hero .heroarrow i,
section#hero .tekstfoto .subtekst {
    color: var(--subcolor);
}

.archivewrapper .singleitem h2,
.pagination > *,
section#facebook .nsfb-post .nsfb-actionlinks > a,
body .paginasectie .single-bloktekstmetfoto-content {
    background: var(--subcolor);
}

/* Oranje als vaste actiekleur voor knoppen */
.button,
a.button,
footer a.button.orangebutton {
    background: var(--helpmeecolor);
    background-color: var(--helpmeecolor);
    color: #fff;
}

.button:hover,
a.button:hover {
    background: var(--helpmeehover);
    background-color: var(--helpmeehover);
    opacity: 1;
}

.woocommerce footer a.button,
.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
body.woocommerce-checkout #payment #place_order,
body.single-product div.product form.cart .button {
    background: var(--helpmeecolor) !important;
    background-color: var(--helpmeecolor) !important;
}

/* Contactknop in de header op subpagina's blijft een rustige omlijnde knop */
body:not(.home) .rightpartmenu .button:hover {
    background: transparent !important;
}

/* Golfje onder het actieve menu-item weg */
.desktopmenu #menu-hoofdmenu > .current-menu-item > a:before,
.desktopmenu #menu-hoofdmenu > .current-menu-ancestor > a:before {
    content: none;
    display: none;
    background: none;
}

/* ---------- Help mee-knoppen ---------- */

a.button.hero-helpmee,
a.helpmee-fixed {
    background: var(--helpmeecolor);
    color: #fff;
    font-weight: 700;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: background 0.2s ease, transform 0.2s ease;
}

a.button.hero-helpmee:hover,
a.helpmee-fixed:hover {
    background: var(--helpmeehover);
    color: #fff;
}

a.button.hero-helpmee {
    margin-top: 30px;
    padding: 18px 34px;
    font-size: 22px;
    border-radius: 50px;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.25);
}

a.button.hero-helpmee i {
    color: #fff;
}

a.helpmee-fixed {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 9990;
    padding: 14px 22px 14px 20px;
    border-radius: 40px 0 0 40px;
    font-size: 17px;
    box-shadow: 0 4px 14px rgba(4, 17, 42, 0.3);
}

a.helpmee-fixed i {
    font-size: 20px;
}

/* ---------- Hero video ---------- */

section#hero .heroafbeelding.heeft-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ---------- Subsponsoren marquee ---------- */

section#logos .subsponsoren-marquee {
    display: flex;
    width: 100%;
    overflow: hidden;
    margin-top: 50px;
    padding: 18px 0;
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 6%, #000 94%, transparent 100%);
}

section#logos .subsponsoren-track {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    animation: lemster-marquee var(--duur, 60s) linear infinite;
}

section#logos .subsponsoren-marquee:hover .subsponsoren-track {
    animation-play-state: paused;
}

section#logos .subsponsoren-track a {
    position: relative;
    white-space: nowrap;
    color: var(--maincolor);
    font-size: 20px;
    font-weight: 600;
    text-decoration: none;
    padding: 0 28px;
}

section#logos .subsponsoren-track a:after {
    content: '';
    position: absolute;
    right: -3px;
    top: 50%;
    width: 6px;
    height: 6px;
    margin-top: -3px;
    border-radius: 50%;
    background: var(--subcolor);
    opacity: 0.5;
}

section#logos .subsponsoren-track a:hover {
    color: var(--subcolor);
}

@keyframes lemster-marquee {
    from { transform: translateX(0); }
    to { transform: translateX(-100%); }
}

@media (prefers-reduced-motion: reduce) {
    section#logos .subsponsoren-marquee {
        flex-wrap: wrap;
        -webkit-mask-image: none;
        mask-image: none;
    }

    section#logos .subsponsoren-track {
        animation: none;
        flex-wrap: wrap;
        flex-shrink: 1;
    }

    section#logos .subsponsoren-track[aria-hidden='true'] {
        display: none;
    }
}

/* ---------- Cateringsponsoren (sponsorpagina) ---------- */

section#logos h2.cateringtitel {
    margin-top: 70px;
}

section#logos .cateringsponsoren .cateringsponsor,
section#logos .cateringsponsoren a {
    flex: 0 0 15%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

section#logos .cateringsponsoren span {
    font-size: 20px;
    font-weight: 600;
    color: var(--maincolor);
}

section#logos .cateringsponsoren img {
    height: 150px;
    object-fit: contain;
}

.page-template-template-landingspagina section#logos {
    margin-top: 80px;
}

/* ---------- Sponsorformulier ---------- */

.gform_wrapper.ns-sponsorformulier {
    background: var(--lichtblauw);
    border-radius: 24px;
    padding: 50px;
    box-sizing: border-box;
    box-shadow: 0 10px 30px rgba(0, 83, 128, 0.12);
    margin: 40px 0;
}

.gform_wrapper.ns-sponsorformulier .gform_title {
    color: var(--maincolor);
    font-size: 34px;
    margin-top: 0;
}

.gform_wrapper.ns-sponsorformulier .gfield.ns-bedragkeuze > .gfield_label,
.gform_wrapper.ns-sponsorformulier .gfield.ns-bedragkeuze legend {
    font-size: 22px;
    font-weight: 700;
    color: var(--maincolor);
}

.ns-bedragen {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 12px 0 14px;
}

.ns-bedragen .ns-bedrag {
    min-width: 96px;
    padding: 14px 24px;
    border: 2px solid #D6E4EE;
    border-radius: 14px;
    background: #fff;
    color: var(--maincolor);
    font-family: inherit;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.ns-bedragen .ns-bedrag:hover {
    border-color: var(--subcolor);
}

.ns-bedragen .ns-bedrag.is-actief {
    background: var(--subcolor);
    border-color: var(--subcolor);
    color: #fff;
}

.ns-bedragen .ns-bedrag:focus-visible {
    outline: 3px solid var(--helpmeecolor);
    outline-offset: 2px;
}

/* Invoerveld alleen tonen bij "Anders" */
.gfield.ns-bedragkeuze[data-ns-bedrag='1']:not(.ns-bedrag-anders) .ginput_container {
    display: none;
}

.gfield.ns-bedragkeuze.ns-bedrag-anders .ginput_container input {
    max-width: 260px;
    font-size: 20px;
}

.gform_wrapper.ns-sponsorformulier .gform_footer input[type='submit'],
.gform_wrapper.ns-sponsorformulier .gform_footer button {
    background: var(--helpmeecolor);
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    padding: 16px 40px;
    border: 0;
    border-radius: 50px;
    cursor: pointer;
}

.gform_wrapper.ns-sponsorformulier .gform_footer input[type='submit']:hover,
.gform_wrapper.ns-sponsorformulier .gform_footer button:hover {
    background: var(--helpmeehover);
}

/* ---------- Voordelen achter een knop ---------- */

details.voordelen-uitklap {
    margin: 20px 0 30px;
}

details.voordelen-uitklap > summary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    list-style: none;
    padding: 14px 26px;
    color: #fff;
    font-weight: 600;
}

details.voordelen-uitklap > summary::-webkit-details-marker {
    display: none;
}

details.voordelen-uitklap > summary i {
    color: #fff;
    transition: transform 0.2s ease;
}

details.voordelen-uitklap[open] > summary i {
    transform: rotate(180deg);
}

details.voordelen-uitklap .voordelen-inhoud {
    margin-top: 20px;
    padding: 30px;
    background: #fff;
    border-radius: 20px;
    box-shadow: 0 6px 20px rgba(4, 17, 42, 0.08);
}

/* ---------- Mobiel ---------- */

@media screen and (max-width: 1000px) {
    section#logos .cateringsponsoren .cateringsponsor,
    section#logos .cateringsponsoren a {
        flex: 0 0 32%;
    }
}

@media screen and (max-width: 600px) {
    a.button.hero-helpmee {
        font-size: 18px;
        padding: 14px 26px;
        margin-top: 20px;
    }

    a.helpmee-fixed {
        top: auto;
        bottom: 16px;
        right: auto;
        left: 16px;
        transform: none;
        border-radius: 40px;
        padding: 12px 20px;
        font-size: 16px;
    }

    section#logos .subsponsoren-track a {
        font-size: 17px;
        padding: 0 20px;
    }

    section#logos .cateringsponsoren .cateringsponsor,
    section#logos .cateringsponsoren a {
        flex: 0 0 49%;
    }

    .gform_wrapper.ns-sponsorformulier {
        padding: 28px 20px;
    }

    .ns-bedragen .ns-bedrag {
        flex: 1 0 40%;
        min-width: 0;
    }
}
