/* ==========================================================================
   2026 amends - plain CSS, loaded after style.css
   ========================================================================== */

/* Season carousel
   -------------------------------------------------------------------------- */
.c-season__slider {
    position: relative;
}

/* Hide stacked slides until Slick has initialised */
.c-season__slider:not(.slick-initialized) .c-season__slide + .c-season__slide {
    display: none;
}

.c-season__slide {
    outline: none;
}

.c-season__slide img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1580 / 805; /* matches the "slider" crop used on In the works */
    object-fit: cover;
}

/* Dots reuse the .c-slider styles, just closer to the image here */
.c-season__slider.c-slider .slick-dots {
    margin: 25px 0 0;
}

@media screen and (min-width: 1201px) {
    .c-season__slider.c-slider .slick-dots {
        margin-top: 40px;
    }
}

.c-season__slider .slick-dots button {
    background: none;
    padding: 0;
    font: inherit;
    letter-spacing: inherit;
    color: inherit;
}

/* Images linked to a journal entry
   -------------------------------------------------------------------------- */
.c-journal-link {
    display: block;
    position: relative;
    overflow: hidden;
}

.c-journal-link img {
    display: block;
    transition: transform 0.6s ease, opacity 0.3s ease;
}

.c-journal-link__label {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 20px;
    background: rgba(35, 31, 32, 0.75);
    color: #fff;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    text-align: center;
    opacity: 0;
    transform: translateY(100%);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.c-journal-link:hover img,
.c-journal-link:focus-visible img {
    transform: scale(1.03);
}

.c-journal-link:hover .c-journal-link__label,
.c-journal-link:focus-visible .c-journal-link__label {
    opacity: 1;
    transform: translateY(0);
}

/* No hover on touch screens, so keep the label visible */
@media (hover: none) {
    .c-journal-link__label {
        opacity: 1;
        transform: none;
    }
}

/* Full-width video on Studio pages (list section slot)
   -------------------------------------------------------------------------- */
.l-list-section__video .c-video-wrap {
    position: relative;
    z-index: 2;
}

.l-list-section__video video {
    background: #000;
    object-fit: cover;
}

/* Videos added through the editor ([video] shortcode) fill their column
   -------------------------------------------------------------------------- */
.l-content-section__right .wp-video,
.l-entry-content .wp-video {
    width: 100% !important;
}

.l-content-section__right .wp-video video,
.l-entry-content .wp-video video {
    width: 100% !important;
    height: auto !important;
}

@media (prefers-reduced-motion: reduce) {
    .c-journal-link img,
    .c-journal-link__label {
        transition: none;
    }
}
