
/* UNDER THE TURBAN */

.utt-feature,
.utt-detail {
    background: #151110;
    color: #f5f0e9;
    font-family: inherit;
}

.utt-feature *,
.utt-detail * {
    box-sizing: border-box;
}

.utt-feature {
    padding: 80px 0;
}

.utt-feature .utt-inner {
    max-width: 1120px;
    margin: auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: minmax(220px, 390px) 1fr;
    gap: 60px;
    align-items: center;
}

.utt-feature img {
    display: block;
    width: 100%;
    height: auto;
    box-shadow: 0 18px 65px #0009;
}

.utt-eyebrow {
    font-size: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #d5b1a0;
    font-weight: 700;
}

.utt-feature h2,
.utt-detail h1 {
    font-size: clamp(36px, 5vw, 76px);
    line-height: 1.08;
    color: #fff;
    margin: 18px 0;
}

.utt-feature p,
.utt-detail p {
    color: #ded4ce;
    line-height: 1.85;
    font-size: 16px;
}

.utt-buttons {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 26px;
}

.utt-btn {
    display: inline-block;
    padding: 13px 22px;
    background: #9d3d35;
    color: #fff !important;
    text-decoration: none !important;
    border: 1px solid #9d3d35;
    font-size: 13px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.utt-btn--outline {
    background: transparent;
    border-color: #b5a39b;
}

.utt-btn:hover {
    background: #bf5548;
    color: #fff;
}

/* Film detail page */

.utt-detail {
    padding: 65px 0 100px;
}

.utt-wrap {
    max-width: 1150px;
    margin: auto;
    padding: 0 22px;
}

.utt-hero {
    display: grid;
    grid-template-columns: minmax(220px, 390px) 1fr;
    gap: 60px;
    align-items: center;
}

.utt-hero img {
    width: 100%;
    height: auto;
}

.utt-detail h2 {
    color: #fff;
    font-size: 32px;
    margin: 0 0 24px;
}

.utt-detail section.utt-section {
    padding: 65px 0;
    border-top: 1px solid #4c3935;
}

.utt-video {
    width: 100%;
    max-height: 650px;
    background: #000;
    display: block;
}

.utt-gallery {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(220px, 1fr)
    );
    gap: 22px;
}

.utt-gallery img {
    width: 100%;
    height: auto;
}

.utt-facts {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(190px, 1fr)
    );
    gap: 18px;
}

.utt-fact {
    padding: 22px;
    background: #251d1a;
}

.utt-fact strong {
    display: block;
    color: #fff;
    margin-bottom: 8px;
}

.utt-fact span {
    color: #d8cbc3;
}

.utt-credit {
    color: #fff;
    font-weight: 600;
}

/* Responsive */

@media (max-width: 700px) {

    .utt-feature .utt-inner,
    .utt-hero {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .utt-feature {
        padding: 45px 0;
    }

    .utt-detail {
        padding-top: 35px;
    }

    .utt-detail section.utt-section {
        padding: 42px 0;
    }

    .utt-feature img,
    .utt-hero img {
        max-width: 390px;
    }
}



/* ==========================================
   UNDER THE TURBAN - LAYOUT IMPROVEMENTS
   Add at the END of existing CSS
========================================== */

/* Main film page */

.utt-detail {
    padding-top: 90px;
    padding-bottom: 90px;
}

.utt-detail .utt-wrap {
    width: 100%;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 30px;
}

/* Film hero */

.utt-detail .utt-hero {
    display: grid;
    grid-template-columns: minmax(0, 380px) minmax(0, 1fr);
    align-items: center;
    gap: 65px;
}

.utt-detail .utt-hero > img {
    display: block;
    width: 100%;
    height: auto;
    max-height: 570px;
    object-fit: contain;
    object-position: center;
}

.utt-detail .utt-hero > div {
    min-width: 0;
}

.utt-detail .utt-hero h1 {
    font-size: clamp(38px, 4.5vw, 64px);
    line-height: 1.12;
    letter-spacing: -1.5px;
    margin: 18px 0 25px;
}

.utt-detail .utt-hero p {
    max-width: 560px;
    font-size: 16px;
    line-height: 1.9;
}

/* Buttons */

.utt-detail .utt-buttons {
    margin-top: 30px;
}

.utt-detail .utt-btn {
    padding: 14px 24px;
    font-size: 12px;
    font-weight: 600;
    transition: background .25s ease,
                border-color .25s ease;
}

.utt-detail .utt-btn:hover {
    background: #b54c40;
    border-color: #b54c40;
}

/* Section headings and spacing */

.utt-detail section.utt-section {
    padding: 65px 0;
    border-top: 1px solid rgba(255,255,255,.12);
}

.utt-detail section.utt-section h2 {
    font-size: clamp(26px, 3vw, 36px);
    line-height: 1.3;
    margin-bottom: 25px;
    letter-spacing: -.5px;
}

.utt-detail section.utt-section > p {
    max-width: 820px;
    line-height: 1.9;
    font-size: 16px;
}

/* ==========================================
   MOTION POSTER
========================================== */

.utt-detail #motion-poster {
    text-align: center;
}

.utt-detail #motion-poster h2 {
    margin-bottom: 35px;
}

.utt-detail .utt-video {
    display: block;
    width: 100%;
    max-width: 390px;
    height: auto;
    max-height: 690px;
    margin: 0 auto;
    background: #000;
    object-fit: contain;
    box-shadow: 0 15px 50px rgba(0,0,0,.35);
}

/* ==========================================
   CAST & CREW
========================================== */

.utt-detail .utt-facts {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
}

.utt-detail .utt-fact {
    min-width: 0;
    padding: 25px;
    background: #251d1a;
    border: 1px solid rgba(255,255,255,.05);
}

.utt-detail .utt-fact strong {
    display: block;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 12px;
    color: #fff;
}

.utt-detail .utt-fact span {
    display: block;
    font-size: 14px;
    line-height: 1.8;
    color: #d8cbc3;
}

/* ==========================================
   POSTERS & PUBLICITY
========================================== */

.utt-detail .utt-gallery {
    display: grid;
    grid-template-columns: repeat(
        auto-fit,
        minmax(200px, 260px)
    );
    gap: 24px;
    margin-bottom: 30px;
}

.utt-detail .utt-gallery a {
    display: block;
    text-decoration: none;
}

.utt-detail .utt-gallery img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 2 / 3;
    object-fit: contain;
    background: #251d1a;
    transition: transform .3s ease;
}

.utt-detail .utt-gallery a:hover img {
    transform: translateY(-5px);
}

/* ==========================================
   TABLET
========================================== */

@media (max-width: 991px) {

    .utt-detail {
        padding-top: 60px;
    }

    .utt-detail .utt-hero {
        grid-template-columns: minmax(0, 300px) minmax(0, 1fr);
        gap: 35px;
    }

    .utt-detail .utt-facts {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

}

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

@media (max-width: 767px) {

    .utt-detail {
        padding: 35px 0 60px;
    }

    .utt-detail .utt-wrap {
        padding: 0 20px;
    }

    .utt-detail .utt-hero {
        grid-template-columns: minmax(0, 1fr);
        gap: 30px;
    }

    .utt-detail .utt-hero > img {
        max-width: 340px;
        max-height: none;
        margin: 0 auto;
    }

    .utt-detail .utt-hero h1 {
        font-size: 38px;
        letter-spacing: -.5px;
    }

    .utt-detail section.utt-section {
        padding: 45px 0;
    }

    .utt-detail .utt-video {
        max-width: 340px;
        max-height: none;
    }

    .utt-detail .utt-facts {
        grid-template-columns: minmax(0, 1fr);
    }

    .utt-detail .utt-gallery {
        grid-template-columns: repeat(
            auto-fit,
            minmax(150px, 1fr)
        );
    }

    .utt-detail .utt-buttons {
        gap: 10px;
    }

    .utt-detail .utt-btn {
        padding: 12px 18px;
    }

}





/* ==========================================
   UNDER THE TURBAN
   BEHIND THE SCENES GALLERY
========================================== */

.utt-bts-section {
    padding-top: 65px;
    padding-bottom: 65px;
}

.utt-bts-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 30px;
}

.utt-bts-heading h2 {
    margin-top: 10px;
    margin-bottom: 12px;
}

.utt-bts-heading p {
    margin: 0;
    color: #b9b1b1;
    font-size: 15px;
    line-height: 1.8;
}

.utt-bts-count {
    flex-shrink: 0;
    color: #a79b9b;
    font-size: 12px;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Gallery grid */

.utt-bts-gallery {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

/* Gallery item */

.utt-bts-item {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 5px;
    background: #241b1d;
    text-decoration: none;
}

/* Preserve image proportions */

.utt-bts-item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.45s ease;
}

/* Consistent gallery tile height */

.utt-bts-item--portrait {
    min-height: 330px;
}

.utt-bts-item--landscape {
    min-height: 330px;
}

/* Subtle zoom */

.utt-bts-item:hover img {
    transform: scale(1.035);
}

/* Caption overlay */

.utt-bts-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;

    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;

    padding: 24px 18px 16px;

    background: linear-gradient(
        to top,
        rgba(15, 9, 11, .94),
        rgba(15, 9, 11, 0)
    );

    color: #fff;
    font-size: 14px;
    font-weight: 500;
}

.utt-bts-view {
    flex-shrink: 0;
    color: #e64a5e;
    font-size: 12px;
    font-weight: 600;
}

/* Focus accessibility */

.utt-bts-item:focus-visible {
    outline: 2px solid #e64a5e;
    outline-offset: 4px;
}

/* Tablet */

@media (max-width: 991px) {

    .utt-bts-gallery {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .utt-bts-item--portrait,
    .utt-bts-item--landscape {
        min-height: 280px;
    }

}

/* Mobile */

@media (max-width: 575px) {

    .utt-bts-section {
        padding-top: 45px;
        padding-bottom: 45px;
    }

    .utt-bts-heading {
        display: block;
    }

    .utt-bts-count {
        display: inline-block;
        margin-top: 14px;
    }

    .utt-bts-gallery {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .utt-bts-item--portrait,
    .utt-bts-item--landscape {
        min-height: auto;
    }

    .utt-bts-item img {
        height: auto;
    }

}

