/* ============================================================
   FULL REPLACEMENT — Appearance -> Customize -> Additional CSS
   DELETE everything currently in that panel, then paste this
   ENTIRE file in as the complete replacement. Nothing else
   needs to be added on top of this.
   ============================================================ */

/* ── ROUND CHIPS + SHOW/HIDE BEHAVIOR ── */
.sl-round {
    text-decoration: none;
    cursor: pointer;
}
.round-section {
    display: none;
    animation: roundFadeIn 0.4s ease;
    scroll-margin-top: 100px; /* keeps content clear of the fixed nav when scrolled to */
}
.round-section.active {
    display: block;
}
@keyframes roundFadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
}
/* Always show round-sections while editing in WordPress, so
   photos/video can be added normally -- hiding only happens
   on the live site, never inside the editor. */
.editor-styles-wrapper .round-section {
    display: block !important;
}

/* ── GALLERY BLOCK (covers both Grid layout AND Slideshow layout,
   since Slideshow nests .wp-block-jetpack-slideshow INSIDE
   .wp-block-gallery -- we style the outer wrapper once, and
   reset the inner one so there's no double box) ── */
.wp-block-gallery {
    width: 80% !important;
    max-width: 80% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: linear-gradient(to top, #000000 0%, #2a2a2a 100%) !important;
    border: 1px solid rgba(230,57,70,0.3) !important;
    border-radius: 4px !important;
    padding: 22px !important;
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1rem;
}
.wp-block-gallery figure {
    margin: 0;
    position: relative;
    overflow: hidden;
    border-radius: 4px;
    aspect-ratio: 4/3;
}
.wp-block-gallery img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(35%);
    transition: filter 0.4s ease, transform 0.4s ease;
}
.wp-block-gallery figure:hover img {
    filter: grayscale(0%);
    transform: scale(1.05);
}
.wp-block-gallery figcaption {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.85rem;
    padding: 1.5rem 0.75rem 0.6rem;
    margin: 0;
    text-align: center;
}

/* Slideshow layout gets the same frame treatment as Grid layout
   -- styled directly, not assumed to be nested inside .wp-block-gallery */
.wp-block-jetpack-slideshow {
    width: 80% !important;
    max-width: 80% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: linear-gradient(to top, #000000 0%, #2a2a2a 100%) !important;
    border: 1px solid rgba(230,57,70,0.3) !important;
    border-radius: 4px !important;
    padding: 22px !important;
    display: block !important;
}

/* Slideshow arrow -- styled to match your archive carousel's
   red circle button (.slider-nav) exactly */
.swiper-button-prev,
.swiper-button-next {
    background: rgba(230,57,70,0.85) !important;
    color: #ffffff !important;
    width: 48px !important;
    height: 48px !important;
    border-radius: 50% !important;
    transition: all 0.3s ease !important;
    padding: 0 !important;
}
.swiper-button-prev:hover,
.swiper-button-next:hover {
    background: #e63946 !important;
    transform: scale(1.1) !important;
}
/* Force a visible arrow, covering both possible icon methods:
   an icon font (::after content) or an inline SVG (fill/stroke) */
.swiper-button-prev svg,
.swiper-button-next svg,
.swiper-button-prev svg path,
.swiper-button-next svg path {
    fill: #ffffff !important;
    stroke: #ffffff !important;
}
/* Hard geometric center: the ::after element fills the entire
   button (inset: 0) and centers its content with flex -- applied
   identically to both arrows, no directional nudging needed */
.swiper-button-prev::after,
.swiper-button-next::after {
    position: absolute !important;
    inset: 0 !important;
    margin: 0 !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    transform: none !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    font-family: Arial, Helvetica, sans-serif !important;
    color: #ffffff !important;
    font-size: 1.5rem !important;
    font-weight: bold !important;
    line-height: 1 !important;
}
.swiper-button-prev::after {
    content: "\2039" !important;
}
.swiper-button-next::after {
    content: "\203A" !important;
}

/* ── VIDEO BLOCK — smaller, 40% width, matching frame style ── */
.wp-block-video {
    width: 40% !important;
    max-width: 40% !important;
    margin-left: auto !important;
    margin-right: auto !important;
    background: linear-gradient(to top, #000000 0%, #2a2a2a 100%) !important;
    border: 1px solid rgba(230,57,70,0.3) !important;
    border-radius: 4px !important;
    padding: 14px !important;
}

/* ── HEADINGS — "Round 1" / "Day 1" / "Day 2" styling ── */
h2.wp-block-heading {
    font-family: 'Orbitron', sans-serif !important;
    color: #e63946 !important;
    letter-spacing: 3px !important;
    text-transform: uppercase !important;
    font-size: 1.8rem !important;
    margin: 3rem 0 0.5rem !important;
    text-shadow: 0 0 20px rgba(230,57,70,0.5) !important;
    padding-bottom: 0.6rem;
    border-bottom: 2px solid rgba(230,57,70,0.3);
}
h3.wp-block-heading {
    font-family: 'Rajdhani', sans-serif !important;
    color: #fff !important;
    letter-spacing: 2px !important;
    text-transform: uppercase !important;
    font-size: 1.1rem !important;
    font-weight: 600 !important;
    margin: 2rem 0 0.75rem !important;
    border-left: 3px solid #e63946 !important;
    padding-left: 0.75rem !important;
}

/* ── MOBILE ── */
@media (max-width: 768px) {
    .wp-block-gallery {
        width: 95% !important;
        max-width: 95% !important;
    }
    .wp-block-video {
        width: 70% !important;
        max-width: 70% !important;
    }
}
/* ============================================================
   PART A — ADD to your Additional CSS (Appearance -> Customize)
   Don't delete anything existing, just add this below it.
   ============================================================ */

/* ── Autoplay pause/play button — matches your arrow buttons ── */
/* Custom red pause/play button — DESKTOP ONLY. On mobile, Jetpack's
   own default button is left untouched, since a styled-but-broken
   button is worse than an unstyled-but-working one. */
@media (min-width: 769px) {
    .wp-block-jetpack-slideshow_button-pause,
    .wp-block-jetpack-slideshow_button-play {
        background: rgba(230,57,70,0.85) !important;
        color: #ffffff !important;
        width: 40px !important;
        height: 40px !important;
        border-radius: 50% !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        position: absolute !important;
        bottom: 14px !important;
        right: 14px !important;
        top: auto !important;
        left: auto !important;
        z-index: 20 !important;
        transition: all 0.3s ease !important;
        cursor: pointer !important;
    }
    .wp-block-jetpack-slideshow_button-pause:hover,
    .wp-block-jetpack-slideshow_button-play:hover {
        background: #e63946 !important;
    }

    /* Forced pause icon -- DESKTOP ONLY, nested inside this same
       media query so it can never appear on mobile and overlap
       the native button there */
    .wp-block-jetpack-slideshow_button-pause::after {
        content: "\23F8" !important;
        color: #ffffff !important;
        font-size: 1rem !important;
        line-height: 1 !important;
    }
}

/* FALLBACK — only needed if the icon is still invisible after the
   color fix above. If you see a pause icon already, ignore this. */
/*
.wp-block-jetpack-slideshow_button-pause::after {
    content: "\23F8" !important;
    color: #ffffff !important;
    font-size: 1rem !important;
    line-height: 1 !important;
}
*/

/* ── Slideshow images — greyed out, full color on hover.
   Hover is triggered by the CONTAINER, not the image itself,
   since Swiper's swipe-gesture layer sits on top of the image
   and blocks direct :hover from reaching it. ── */
.wp-block-jetpack-slideshow img {
    filter: grayscale(45%) !important;
    transition: filter 0.4s ease !important;
    cursor: zoom-in !important;
}
.wp-block-jetpack-slideshow:hover img {
    filter: grayscale(0%) !important;
    cursor: zoom-in !important;
}