/* ================================================================
   BIAFF PAST WINNERS / OFFICIAL SELECTION
   RESPONSIVE FILM SYSTEM
   ================================================================ */

:root {
    --pw-black: #000;
    --pw-white: #fff;
    --pw-grey: #d9d9d9;
    --pw-dark: #000;
    --pw-light-grey: #7e7c7c;


    /* Responsive layout */
    --film-padding-x: clamp(20px, 5vw, 90px);

    /* Horizontal spacing between poster/info */
    --film-column-gap: clamp(40px, 7vw, 140px);

    /* Vertical spacing inside a film */
    --film-content-gap: clamp(90px, 10vw, 180px);

    /* Space after a complete film */
    --film-separator: clamp(140px, 16vw, 320px);

    /* Space between the category intro screen and its film list */
    --category-films-gap: clamp(90px, 10vw, 180px);

    /* Space between the 3D wall hero and the content below it */
    --wall-hero-gap: clamp(100px, 12vw, 220px);



    --film-title-size: clamp(28px, 2.8vw, 40px);
    --film-details-size: clamp(16px, 1.4vw, 20px);
    --film-quote-size: clamp(30px, 3.5vw, 50px);
}

/* ================================================================
   GLOBAL
   ================================================================ */

.films-page,
.past-winners-page {
    width: 100%;
    overflow-x: clip;
    background: var(--pw-dark) !important;
    color: var(--pw-white);
}

.films-page img,
.past-winners-page img {
    display: block;
    max-width: 100%;
}


.film-design {
    position: relative;
    width: 100%;
    overflow: clip;

    background: #000;
    color: #fff;

    margin: 0;
    padding: 0;
}


.film-design *,
.category-intro * {
    box-sizing: border-box;
}
.film-design + .film-design {
    padding-top: var(--film-separator);
}

/* ================================================================
   3D WALL HERO
   ================================================================ */

.wall-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background: #000;

    margin-bottom: var(--wall-hero-gap);
}


.wall {
    position: relative;
    width: 100%;
    height: 100%;

    perspective: 3000px;
    transform-style: preserve-3d;

    background: #020202;
    overflow: hidden;

    transform: scale(0.85);
    opacity: 0.9;

    animation:
        wallZoomIn 1.8s cubic-bezier(0.22, 0.61, 0.36, 1)
        forwards;
}

@keyframes wallZoomIn {
    0% {
        transform: scale(0.85);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.wall-overlay {
    position: absolute;
    inset: 0;

    z-index: 1000;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    padding: 30px;

    pointer-events: none;
    text-align: center;

    color: #fff;
}

.wall-title {
    margin: 0;

    color: #fff;

   
        
    font-size: clamp(2rem, 5vw, 3.5rem);


    line-height: 0.95;
    letter-spacing: 0.15em;

    text-transform: uppercase;

    text-shadow:
        0 0 60px rgba(0, 0, 0, 0.95),
        0 0 120px rgba(0, 0, 0, 0.8);
}

/* Single-category wall title (program category subpages) —
   long category names need a smaller, wrapping title. */
.wall-title.wall-title--category {
    max-width: 90vw;
    font-size: clamp(1.2rem, 3.5vw, 2.2rem);
    line-height: 1.15;
    letter-spacing: 0.08em;
    overflow-wrap: break-word;
    word-break: break-word;
}


@media (max-width: 640px) {
    .wall-title.wall-title--category {
        font-size: clamp(0.9rem, 4.5vw, 1.6rem);
    }
}

[lang="en"] .wall-title,
[lang="en"] .category-intro__title {
    font-family: "Magistral", sans-serif;
}
[lang="ka"] .wall-title,
[lang="ka"] .category-intro__title {
    font-family: "Magistral Geo", sans-serif;
}

.wall-cta {
    display: inline-block;

    margin-top: clamp(25px, 4vw, 40px);
    padding: 14px 40px;

    border: 1.5px solid rgba(255, 255, 255, 0.4);

    background: transparent;
    color: #fff;

 
    font-size: 0.9rem;
    font-weight: 400;

    letter-spacing: 0.15em;
    text-transform: uppercase;

    cursor: pointer;
    pointer-events: auto;

    transition:
        border-color 0.4s ease,
        transform 0.4s ease,
        box-shadow 0.4s ease;
}

.wall-cta:hover {
    border-color: rgba(255, 255, 255, 0.9);
    transform: scale(1.02);

    box-shadow:
        0 0 30px rgba(255, 255, 255, 0.1),
        0 0 60px rgba(255, 255, 255, 0.05);
}


/* ================================================================
   3D WALL POSTERS
   ================================================================ */

.wall .poster {
    position: absolute;

    transform-style: preserve-3d;

    cursor: pointer;

    backface-visibility: hidden;

    overflow: visible;

    will-change: transform, left, top;

    transition:
        transform 0.45s ease,
        filter 0.45s ease;
}

.wall .poster img {
    display: block;

    position: relative;
    z-index: 2;

    width: auto;
    height: auto;

    object-fit: initial;
}

.wall .poster::before {
    content: "";

    position: absolute;
    inset: 0;

    background: #090909;

    transform: translateZ(-6px);

    z-index: 1;
}

.wall .poster.far {
    filter:
        brightness(0.25)
        drop-shadow(0 20px 40px #000);
}

.wall .poster.mid {
    filter:
        brightness(0.45)
        drop-shadow(0 30px 55px #000);
}

.wall .poster.near {
    filter:
        brightness(0.7)
        drop-shadow(0 45px 70px #000);
}

.wall .poster.front {
    filter:
        brightness(1)
        drop-shadow(0 60px 90px #000);
}

.wall .poster:hover {
    transform:
        translateZ(300px)
        scale(1.12) !important;

    filter:
        brightness(1.2)
        drop-shadow(0 80px 120px #000);

    z-index: 999;
}

.wall .poster:hover img {
    filter: none;
    transform: none;
}

.wall .poster-info {
    position: absolute;

    bottom: 100%;
    left: 50%;

    transform:
        translateX(-50%)
        translateY(-10px);

    width: max-content;
    max-width: min(90vw, 500px);

    padding: 8px 16px;

    background: rgba(0, 0, 0, 0.85);

    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 4px;

    color: #fff;
    text-align: center;

    opacity: 0;

    pointer-events: none;

    white-space: nowrap;

    z-index: 1000;

    transition:
        opacity 0.3s ease,
        transform 0.3s ease;
}

.wall .poster-info .film-name {
    color: #fff;

   
    font-size: 0.85rem;
    font-weight: 400;

    letter-spacing: 0.03em;
}

.wall .poster-info .film-data {
    margin-top: 2px;

    color: #ccc;

    font-size: 0.6rem;

    letter-spacing: 0.05em;

    opacity: 0.5;
}

.wall .poster:hover .poster-info {
    opacity: 1;

    transform:
        translateX(-50%)
        translateY(-15px);
}


/* ================================================================
   FILM CONTENT
   ================================================================ */

.films-container {
    position: relative;

    display: block;

    width: 100%;
}

.films-content-area {
    width: 100%;
}


/* ================================================================
   DESKTOP SIDE CATEGORY NAV
   ================================================================ */

.films-sidebar {
    position: fixed;

    top: 50%;
    right: 0;

    z-index: 900;

    width: 200px;

    padding: 20px;

    background: transparent;

    text-align: left;

    pointer-events: auto;


    opacity: 0;
    visibility: hidden;

    transform: translateY(-50%);

    transition:
        opacity 0.3s ease,
        visibility 0.3s ease;
}

.films-sidebar.show {
    opacity: 1;
    visibility: visible;
}

.films-sidebar h3 {
    display: none;
}

.films-category-nav ul {
    list-style: none;

    margin: 0;
    padding: 0;
}

.films-category-nav li {
    margin: 0 0 20px;
}

.films-category-nav a {
    position: relative;

    display: inline-flex;
    align-items: center;
    justify-content: flex-start;

    gap: 14px;

    color: #fff;

    font-size: 1rem;

    text-decoration: none;

    opacity: 0.5;

    transition: opacity 0.3s ease;
}

.films-category-nav a::before {
    content: "";

    flex-shrink: 0;

    width: 16px;
    height: 1px;

    background: currentColor;

    opacity: 0.6;

    transition:
        width 0.3s ease,
        opacity 0.3s ease,
        background 0.3s ease;
}

.films-category-nav a:hover {
    opacity: 0.8;
}

.films-category-nav a.active {
    color: #fff;
    opacity: 1;
}

.films-category-nav a.active::before {
    width: 34px;

    opacity: 1;
}





/* ================================================================
   SCROLL REVEAL
   ================================================================ */

.reveal {
    opacity: 0;

    transform: translateY(60px);

    transition:
        opacity 0.9s ease,
        transform 0.9s ease;

    will-change: opacity, transform;
}

.reveal.is-revealed {
    opacity: 1;
    transform: translateY(0);
}


/* ================================================================
   CATEGORY NAV
   ================================================================ */

.category-nav {
    position: sticky;

    top: 0;

    z-index: 1500;

    width: 100%;

    background: rgba(0, 0, 0, 0.85);

    border-bottom:
        1px solid rgba(255, 255, 255, 0.12);

    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    overflow-x: auto;

    scrollbar-width: none;
}

.category-nav::-webkit-scrollbar {
    display: none;
}

.category-nav__inner {
    display: flex;

    align-items: center;
    justify-content: center;

    width: max-content;
    min-width: 100%;

    gap: clamp(20px, 3vw, 42px);

    padding:
        16px
        var(--film-padding-x);
}

.category-nav__link {
    color: #fff;

    font-size: clamp(0.68rem, 0.8vw, 0.78rem);

    font-weight: 400;

    letter-spacing: 0.12em;

    text-decoration: none;
    text-transform: uppercase;

    white-space: nowrap;

    opacity: 0.75;

    transition:
        opacity 0.3s ease,
        letter-spacing 0.3s ease;
}

.category-nav__link:hover {
    opacity: 1;
    letter-spacing: 0.16em;
}


/* ================================================================
   CATEGORY INTRO
   ================================================================ */

.category-intro {
    position: relative;

    width: 100%;
    height: clamp(600px, 75vh, 1024px);

    background: var(--pw-dark);

    color: #fff;

    overflow: hidden;

    margin-bottom: var(--category-films-gap);
}


.category-intro__inner {

    position: absolute;
    inset: 0;

    z-index: 3;

    display: flex;

    flex-direction: column;

    align-items: center;

    padding:
        clamp(100px, 15vh, 205px)
        var(--film-padding-x)
        60px;
}

.category-intro__title {
    margin: 0;

    color: #fff;


    font-size:
        clamp(28px, 3.7vw, 50px);

    font-weight: 400;

    line-height: 1.1;

    text-align: center;
}

.category-intro__quote {
    width: min(900px, 100%);

    margin:
        clamp(60px, 8vh, 90px)
        0
        0;

    color: #fff;


    font-size:
        clamp(28px, 3.47vw, 50px);

    font-weight: 400;

    line-height: 1.25;

    text-align: center;
}

.category-intro__action {
    margin-top: clamp(40px, 6vh, 70px);
}

.category-intro__link {
    display: inline-block;

    padding: 12px 36px;

    border: 1.5px solid rgba(255, 255, 255, 0.4);

    background: transparent;
    color: #fff;

    font-size: 0.8rem;
    font-weight: 400;
    letter-spacing: 0.15em;

    text-transform: uppercase;
    text-decoration: none;

    transition:
        border-color 0.3s ease,
        background 0.3s ease;
}

.category-intro__link:hover {
    border-color: rgba(255, 255, 255, 0.9);

    background: rgba(255, 255, 255, 0.1);
}


/* ================================================================
   COMMON FILM TYPOGRAPHY
   ================================================================ */

.film-title {
    margin: 0;

    color: #fff;


    font-size: var(--film-title-size);

    font-weight: 400;

    line-height: 1.2;
}

.film-divider {
    width: clamp(120px, 14vw, 205px);
    height: 2px;

    margin:
        25px 0
        clamp(30px, 4vw, 45px);

    background: #fff;
}

.film-details {
    color: #fff;


    font-size: var(--film-details-size);

    font-weight: 400;

    line-height: 1.5;
}

.film-details p {
    margin: 0 0 10px;
}

.film-details strong {
    font-weight: 400;
}


/* ================================================================
   DESIGN 2
   ================================================================ */

.design-2 {
    position: relative;

    width: 100%;

    /*
     * Do NOT use a fixed min-height here.
     * The grid determines the required height.
     */
    padding:
        clamp(60px, 7vw, 100px)
        var(--film-padding-x)
        clamp(120px, 12vw, 250px);

    background: var(--pw-dark);

    display: grid;

    /*
     * Rows:
     * 1. large scene image
     * 2. quote
     * 3. poster + information
     */
    grid-template-columns:
        minmax(0, 1fr)
        minmax(0, 1fr);

    grid-template-rows:
        auto
        auto
        auto;

    column-gap: var(--film-gap);

    row-gap: var(--film-content-gap);
}



/* ================================================================
   TOP LARGE SCENE IMAGE
   ================================================================ */

.design-2__top-image {
    position: relative;

    grid-column: 1 / -1;
    grid-row: 1;

    width: min(80%, 1400px);

    aspect-ratio: 16 / 7;

    justify-self: center;

    overflow: hidden;

    background: var(--pw-dark);
}

.design-2__top-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


/* ================================================================
   QUOTE
   ================================================================ */

.design-2__quote {
    position: relative;

    grid-column: 1 / -1;
    grid-row: 2;

    width: min(700px, 90%);

    justify-self: center;

    margin: 0;

    color: #fff;


    font-size: var(--film-quote-size);

    font-weight: 400;

    line-height: 1.3;

    text-align: center;
}


/* ================================================================
   BOTTOM FILM INFORMATION
   ================================================================ */

.design-2__poster {
    position: relative;

    grid-column: 1;
    grid-row: 3;

    width: min(100%, 552px);

    aspect-ratio: 552 / 708;

    justify-self: start;

    overflow: hidden;

    background: var(--pw-dark);
}

.design-2__poster img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
}


.design-2__information {
    position: relative;

    grid-column: 2;
    grid-row: 3;

    align-self: center;

    width: min(100%, 600px);

    margin: 0;
}

.design-2__information .film-divider {
    margin-left: 0;
}

/* ================================================================
   FIXED PARALLAX WINDOW
   ================================================================ */

.film__image {
    position: relative;

    width: 100%;
    height: clamp(320px, 45vw, 600px);

    /*
     * Layer 2 – the "window". It clips the screen-anchored photo
     * below. overflow:hidden does NOT clip a position:fixed child,
     * so we clip with clip-path instead (inset(0) also creates a
     * stacking context that keeps the fixed image contained).
     */
    clip-path: inset(0);

    overflow: hidden;

    background: #000;
}


/* ================================================================
   FIXED PARALLAX IMAGE  (Layer 1)
   ================================================================ */

.film__parallax-image {
    /* Layer 1 – the photo. Pinned to the screen and never moved. */
    position: fixed;
    top: 50%;
    left: 0;
    width: 100%;
    height: auto;
    transform: translateY(-50%);
    display: block;
    z-index: 1;
}


/* ================================================================
   PLACEHOLDER
   ================================================================ */

.film__image-placeholder {
    position: absolute;

    inset: 0;

    background: #000;

    z-index: 0;
}
/* ================================================================
   FILLER
   ================================================================ */

.past-winners-filler {
    width: 100%;
    height: 1px;

    background: var(--pw-dark);
}


/* ================================================================
   SPACING BETWEEN CATEGORY INTRO AND ITS FILM LIST
   ================================================================ */

.category-films {
    padding-top: var(--category-films-gap);
}



/* ================================================================
   LARGE TABLETS
   ================================================================ */

@media (max-width: 1100px) {

    .films-sidebar {
        display: none;
    }

    .design-2 {
        column-gap: 50px;
    }

    .design-2__top-image {
        width: 90%;
    }

}


/* ================================================================
   TABLETS
   ================================================================ */

@media (max-width: 800px) {

    .wall-hero {
        height: 85svh;
        min-height: 550px;
    }

    .wall-title {
        font-size: clamp(3rem, 10vw, 5rem);
    }

    .category-nav__inner {
        justify-content: flex-start;

        min-width: max-content;
    }

    .category-intro {
        height: 650px;
    }

    .category-intro__inner {
        padding-top: 120px;
    }

    .category-intro__quote {
        margin-top: 70px;
    }


    /*
     * Switch the film layout to a single column.
     */
    .design-2 {
        display: grid;

        grid-template-columns: 1fr;

        grid-template-rows:
            auto
            auto
            auto
            auto;

        gap:
            clamp(50px, 8vw, 90px);

        padding:
            60px
            var(--film-padding-x)
            120px;
    }


    .design-2__top-image {
        grid-column: 1;
        grid-row: 1;

        width: 100%;

        aspect-ratio: 16 / 8;
    }


    .design-2__quote {
        grid-column: 1;
        grid-row: 2;

        width: min(700px, 100%);
    }


    .design-2__poster {
        grid-column: 1;
        grid-row: 3;

        width: min(65%, 500px);

        justify-self: center;
    }


    .design-2__information {
        grid-column: 1;
        grid-row: 4;

        width: min(700px, 100%);

        justify-self: center;

        text-align: center;
    }

    .design-2__information .film-divider {
        margin-left: auto;
        margin-right: auto;
    }

    .film__image {
        height: clamp(280px, 55vw, 450px);
    }
}


/* ================================================================
   MOBILE
   ================================================================ */

@media (max-width: 600px) {

    :root {
        --film-padding-x: 20px;
    }


    /* ------------------------------------------------------------
       WALL
       ------------------------------------------------------------ */

    .wall-hero {
        height: 100svh;
        min-height: 500px;
    }

    .wall-overlay {
        padding: 20px;
    }

    .wall-title {
        max-width: 90vw;

        font-size:
            clamp(2.4rem, 13vw, 4rem);

        letter-spacing: 0.08em;
    }

    .wall-cta {
        padding: 12px 28px;

        font-size: 0.75rem;

        letter-spacing: 0.12em;
    }


    /*
     * Hover doesn't really exist on touch devices.
     */
    .wall .poster:hover {
        transform: none !important;
        filter: inherit;
    }

    .wall .poster-info {
        display: none;
    }


    /* ------------------------------------------------------------
       CATEGORY NAV
       ------------------------------------------------------------ */

    .category-nav__inner {
        gap: 24px;

        padding:
            14px
            20px;
    }

    .category-nav__link {
        font-size: 0.65rem;
        letter-spacing: 0.1em;
    }


    /* ------------------------------------------------------------
       CATEGORY INTRO
       ------------------------------------------------------------ */

    .category-intro {
        height: 600px;
    }

    .category-intro__inner {
        padding:
            90px
            20px
            40px;
    }

    .category-intro__title {
        font-size: clamp(24px, 7vw, 36px);
    }

    .category-intro__quote {
        margin-top: 70px;

        font-size:
            clamp(25px, 8vw, 32px);

        line-height: 1.25;
    }


    /* ------------------------------------------------------------
       FILM DESIGN
       ------------------------------------------------------------ */

    .design-2 {
        display: flex;

        flex-direction: column;

        gap: clamp(50px, 12vw, 65px);

        padding:
            50px
            20px
            100px;
    }


    /* Large scene */

    .design-2__top-image {
        order: 1;

        width: 100%;

        aspect-ratio: 4 / 3;

        margin: 0;
    }


    /* Quote */

    .design-2__quote {
        order: 2;

        width: 100%;

        margin: 0;

        font-size:
            clamp(26px, 8vw, 32px);

        line-height: 1.3;
    }


    /* Poster */

    .design-2__poster {
        order: 3;

        width: min(85%, 400px);

        aspect-ratio: 552 / 708;

        margin: 0 auto;
    }


    /* Information */

    .design-2__information {
        order: 4;

        width: 100%;

        text-align: left;
    }

    .design-2__information .film-divider {
        margin-left: 0;
        margin-right: 0;
    }


    /* Typography */

    .film-title {
        font-size: clamp(27px, 8vw, 34px);
    }

    .film-details {
        font-size: 17px;
    }

    .film-divider {
        width: 130px;

        margin:
            20px 0
            30px;
    }

    .film__image {
        height: clamp(220px, 65vw, 380px);
    }

}


/* ================================================================
   VERY SMALL PHONES
   ================================================================ */

@media (max-width: 380px) {

    .wall-title {
        font-size: 2.3rem;
    }

    .wall-cta {
        padding: 11px 22px;

        font-size: 0.68rem;
    }

    .category-intro {
        height: 550px;
    }

    .category-intro__inner {
        padding-top: 80px;
    }

    .category-intro__quote {
        margin-top: 55px;

        font-size: 24px;
    }

    .design-2 {
        padding:
            40px
            16px
            80px;
    }

    .design-2__poster {
        width: 90%;
    }

    .design-2__quote {
        margin:
            45px 0
            55px;

        font-size: 25px;
    }
}


/* ================================================================
   ACCESSIBILITY / REDUCED MOTION
   ================================================================ */

@media (prefers-reduced-motion: reduce) {

    .wall {
        animation: none;

        transform: scale(1);
        opacity: 1;
    }

    .wall .poster,
    .wall .poster-info,
    .wall-cta,
    .category-nav__link,
    .films-sidebar,
    .reveal {
        transition: none;
    }

    .reveal {
        opacity: 1;
        transform: none;
    }
}

/* ================================================================
   PROGRAM 2026 LANDING — simple clickable category list.
   ================================================================ */

.program-landing {
    position: relative;
    width: 100%;
    min-height: 100vh;
    background: var(--pw-dark);
    /* Clear the fixed main header + submenu bar + action buttons bar. */
    padding: calc(var(--header-h, 50px) + var(--submenu-h, 40px) + 36px + 72px)
        var(--film-padding-x, 5vw) 120px;
}

.program-landing__inner {
    max-width: 1080px;
    margin: 0 auto;
}

.program-landing__title {
    font-weight: 400;
    font-size: clamp(2.2rem, 5vw, 4rem);
    letter-spacing: 0.02em;
    margin: 0 0 12px;
    color: #fff;
}

.program-landing__subtitle {
    font-size: clamp(1rem, 1.4vw, 1.25rem);
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
    max-width: 640px;
    margin: 0 0 48px;
}

.program-landing__list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
}

.program-landing__list li {
    margin: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.program-landing__list li:first-child {
    border-top: 1px solid rgba(255, 255, 255, 0.14);
}

.program-landing__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 26px 10px;
    color: #fff;
    text-decoration: none;
    background-size: cover;
    background-position: center;
    transition: padding-left 0.3s ease;
}

.program-landing__item::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.55);
    transition: background-color 0.3s ease;
}

.program-landing__item:hover::before,
.program-landing__item:focus-visible::before {
    background: rgba(190, 19, 51, 0.82);   /* BIAFF maroon */
}

.program-landing__item:hover,
.program-landing__item:focus-visible {
    padding-left: 22px;
}

.program-landing__name,
.program-landing__arrow {
    position: relative;
    z-index: 1;
}

.program-landing__name {
    font-weight: 400;
    font-size: clamp(1.3rem, 2.6vw, 2rem);
    letter-spacing: 0.01em;
}

.program-landing__arrow {
    font-size: clamp(1.4rem, 2.5vw, 2rem);
    opacity: 0.6;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.program-landing__item:hover .program-landing__arrow,
.program-landing__item:focus-visible .program-landing__arrow {
    opacity: 1;
    transform: translateX(6px);
}

.program-landing__empty {
    font-size: 1.125rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.72);
}

@media (max-width: 1024px) {
    .program-landing {
        /* Mobile: no submenu/action bar — just the fixed 50px header. */
        padding-top: calc(50px + 56px);
    }
}


/* ================================================================
   DISCOVER FILM button — shown per film on the category pages when
   the film's category has "has film pages" enabled in the admin.
   Links to the film's individual page (core:film_detail).
   ================================================================ */

.film-discover-btn {
    display: inline-block;
    margin-top: clamp(28px, 3vw, 44px);
    padding: 14px 34px;
    border: 1px solid #BE1333;
    color: #BE1333;
    font-size: clamp(0.72rem, 0.9vw, 0.8rem);
    letter-spacing: 0.3em;
    text-transform: uppercase;
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.film-discover-btn:hover,
.film-discover-btn:focus-visible {
    background-color: #BE1333;
    color: #fff;
}

.film-discover-btn span {
    display: inline-block;
    margin-left: 0.5em;
}

/* ================================================================
   "Films announced soon" — small notice shown on a category page
   when the category's "Hide films (announced soon)" checkbox is
   enabled in the admin. Replaces the film wall/grid entirely.
   ================================================================ */

.films-announced-message {
    margin: clamp(80px, 12vw, 160px) auto;
    max-width: 640px;
    padding: 0 24px;
    text-align: center;
    color: rgba(255, 255, 255, 0.72);
    font-size: clamp(0.8rem, 1vw, 0.95rem);
    letter-spacing: 0.22em;
    text-transform: uppercase;
    line-height: 1.9;
}