/* === FULL WIDTH PLAYLIST WRAPPER === */
.syndesi_video_playlist_wrapper {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    max-width: 100% !important;
    padding: 2em !important;
}
.syndesi-full-width-playlist {
    width: 100% !important;
    max-width: 100% !important;
}
/* === VIDEO PLAYER === */
.syndesi-video-widget {
    position: relative !important;
    width: 100% !important;
    min-width: 100% !important;
    padding-bottom: 56.25% !important; /* 16:9 */
    height: 0 !important;
    overflow: hidden !important;
    margin: 1em 0 !important;
}
.syndesi-video-widget .syndesi-video-player {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.syndesi-video-widget iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}
/* === TICKER === */
.ticker-container {
    width: 100% !important;
    min-width: 100% !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 1em !important;
    margin-bottom: 0em !important;
    padding:1em;
    box-sizing: border-box !important;
}
/* Ensure the ticker-container remains as a single row without interference */
/* === FULL WIDTH VIDEO — FINAL FIX === */
.syndesi-video-full-width {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
.syndesi-video-widget {
    position: relative !important;
    width: 100% !important;
    max-width: 100% !important;
    padding-bottom: 56.25% !important; /* 16:9 */
    height: 0 !important;
    overflow: hidden !important;
    margin: 0 !important;
}
.syndesi-video-widget .syndesi-video-player {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
}
.syndesi-video-widget iframe {
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    width: 100% !important;
    height: 100% !important;
    border: none !important;
}
/* Remove loading opacity flicker */
.syndesi-video-widget.loading .syndesi-video-player {
    opacity: 0;
}
.ticker-container {
    display: flex !important;
    z-index: 3;
    width: 100%;
    justify-content: center !important;
    align-items: center;
}
.ticker-content-col {
    flex-grow: 0;
    overflow: hidden;
    text-align: center;
}
.ticker-item {
    display: none;
    cursor: pointer;
    padding: 10px;
}
.ticker-item.active {
    display: flex;
    justify-content: center;
    flex-direction: column !important;
    align-items: center !important;
}
.ticker-text-content {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    padding: 0.5em;
    text-align: center !important;
}
.ticker-prev-wrapper, .ticker-next-wrapper {
    flex-shrink: 0;
}
.ticker-text {
    /* Removed flex-grow: 1; */
}
.ticker-text-content {
    padding: 0 1em;
    text-align: center !important;
}
.ticker-title {
    color: #446344;
    font-family: 'Averia Serif Libre', serif !important;
    font-size: 20px !important; /* Added px unit for validity */
}
.ticker-content {
    color: #A3C586;
    font-family: 'Averia Serif Libre', serif;
    font-size: 16px !important;
    font-weight:600;
}
.ticker-prev,
.ticker-next {
    background: #446344;
    color: white;
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 18px;
}
.ticker-prev:active,
.ticker-next:active{
    background: #446344;
}
.ticker-prev:hover,
.ticker-next:hover{
    background: #A3C586;
}
.ticker-prev-wrapper {
    display: flex;
    justify-content: flex-end;
}
.ticker-next-wrapper {
    display: flex;
    justify-content: flex-start;
}
.ticker-prev:disabled,
.ticker-next:disabled {
    background: #cccccc;
    cursor: not-allowed;
}
/* === ARROWS === */
.ticker-prev,
.ticker-next {
    background: #446344 !important;
    color: white !important;
    border: none !important;
    padding: 10px !important;
    font-size: 18px !important;
    min-width: 40px !important;
    height: 40px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 0.5em !important;
    cursor: pointer !important;
}
.ticker-prev:hover,
.ticker-next:hover {
    background: #A3C586 !important;
}
.ticker-prev:disabled,
.ticker-next:disabled {
    background: #cccccc !important;
    cursor: not-allowed !important;
}
.message-div {
    color: red;
    font-weight: bold;
    text-align: center;
    padding: 20px;
}
@media (min-width: 1024px) {
    .ticker-container,
    .syndesi-video-widget {
        width: 60% !important;
    }
}
/* Add this for the wrapper */
.ticker-whats-next-wrapper {
    width: 100% !important;
    max-width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    text-align: center !important;
}
/* Hide all "What's next" by default, show only active */
.ticker-whats-next {
    display: none !important;
    color: #A3C586 !important;
    font-family: 'Averia Serif Libre', serif !important;
    font-size: 16px !important;
    font-weight: 600 !important;
    padding-bottom:1em;
}
.ticker-whats-next.active {
    display: block !important;
}
/* If needed, override any specific IDs to prevent side-by-side issues */
#ticker-container-syndesi-vimeo-widget,
[id^="ticker-container-syndesi-vimeo-widget"] {
    flex-wrap: nowrap !important; /* Prevent wrapping */
}
/* ================================================================== */
/* SYNDESI VIDEO ACCORDION – FINAL 2025: 100% IDENTICAL TO FAQ ACCORDION */
/* Keeps your existing markup & structure – only fixes the mismatches */
/* ================================================================== */
.syndesi-video-accordion {
    margin: 1em 0 !important;
}
.syndesi-accordion-title {
    background: white !important;
    color: #446344 !important;
    padding: 0.3em 0.6em !important;
    font-family: "Averia Serif Libre", serif !important;
    font-size: 15pt !important;
    font-weight: 400 !important;
    cursor: pointer !important;
    user-select: none !important;
    transition: all 0.35s ease !important;
    display: flex !important;
    align-items: center !important;
    gap: 12px !important;
    margin: 0 !important;
    border-bottom: 1px solid #f9f9f9 !important; /* only a subtle line under title */
}
/* + / – on the LEFT – now identical size to FAQ */
.accordion-plus-minus {
    display: inline-block !important;
    width: 24px !important;
    height: 24px !important;
    line-height: 20px !important; /* ← fixed */
    text-align: center !important;
    font-size: 20pt !important; /* ← now matches FAQ */
    font-weight: bold !important;
    color: #446344 !important;
    flex-shrink: 0 !important;
    transition: all 0.3s ease !important;
}
/* Hover state – unchanged (already perfect) */
.syndesi-accordion-title:hover {
    background: #FFCC33 !important;
    color: #333 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(255,204,51,0.3) !important;
}
.syndesi-accordion-title:hover .accordion-plus-minus {
    color: #333 !important;
}
/* Open state – now uses your real orange #f57c00 */
.syndesi-video-accordion[open] .syndesi-accordion-title {
    background: #f57c00 !important;
    color: white !important;
    border-bottom: 1px solid #f9f9f9 !important; /* only a subtle line under title */
}
.syndesi-video-accordion[open] .accordion-plus-minus {
    color: white !important;
}
/* Content area – now identical to FAQ */
.syndesi-accordion-content {
    padding: 2em !important;
    background: white !important;
    /* Use the exact same typography as FAQ content */
    font-size: 12.5pt !important;
    line-height: 1.5 !important;
    font-family: Verdana, sans-serif !important;
}
/* Clean up inside playlist */
.syndesi-accordion-content .syndesi_video_playlist_wrapper {
    padding: 0 !important;
    margin: 0 !important;
}
/* Hide browser default arrow */
.syndesi-accordion-title::-webkit-details-marker,
.syndesi-accordion-title::marker {
    display: none !important;
}
/* Old junk – keep hidden */
.accordion-arrow-wrapper,
.accordion-arrow {
    display: none !important;
}
/* ——— MOBILE: SYNDESI VIDEO ACCORDION – EXACT MATCH TO FAQ ACCORDION MOBILE STYLE ——— */
@media (max-width: 768px) {
    /* Full width wrapper – identical to FAQ container behavior */
    .syndesi_video_playlist_wrapper,
    .syndesi-full-width-playlist {
        padding: 0 0.4em !important;
        max-width: 100% !important;
        margin: 0 !important;
    }
    /* Video widget – full width, no borders, minimal side padding */
    .syndesi-video-widget {
        padding: 0 0.4em 56.25% 0.4em !important; /* 16:9 ratio + 0.4em sides */
        margin: 0.5em 0 !important;
    }
    .syndesi-video-widget iframe,
    .syndesi-video-widget .syndesi-video-player {
        border: none !important;
    }
    /* Ticker container – exact same tight treatment as FAQ content */
    .ticker-container,
    .ticker-whats-next-wrapper {
        padding: 0.4em !important; /* uniform 0.4em all sides */
        margin: 0.4em 0 !important;
    }
    /* Close ticker/video gap completely */
    .syndesi-video-widget {
        margin-top: 0 !important;
    }
    /* Accordion title – EXACT match to FAQ mobile */
    .syndesi-accordion-title {
        font-size: 14pt !important;
        padding: 0.4em 0.4em !important;
        gap: 8px !important;
    }
    /* + / – icon – EXACT match to FAQ mobile */
    .accordion-plus-minus {
        width: 20px !important;
        height: 20px !important;
        line-height: 18px !important;
        font-size: 16pt !important;
    }
    /* Accordion content – EXACT match to FAQ mobile (1.2em top/bottom, 0.4em sides) */
    .syndesi-accordion-content {
        padding: 1.2em 0.4em !important;
        font-size: 12pt !important;
        line-height: 1.45 !important;
    }
    /* Remove any extra padding inside playlist wrapper */
    .syndesi-accordion-content .syndesi_video_playlist_wrapper {
        padding: 0 !important;
        margin: 0 !important;
    }
    /* Ticker text – match FAQ body text size */
    .ticker-title {
        font-size: 14pt !important;
    }
    .ticker-content,
    .ticker-whats-next {
        font-size: 12pt !important;
        line-height: 1.45 !important;
    }
    /* Prev/Next arrows – slightly smaller to match overall tight feel */
    .ticker-prev,
    .ticker-next {
        padding: 8px !important;
        min-width: 36px !important;
        height: 36px !important;
        font-size: 16px !important;
    }
}