:root {
    --max: 1280px;
}

.tv-page {
    padding: 1.6rem 0 2.2rem;
}

.tv-banner {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 14px;
    overflow: hidden;
    background: linear-gradient(120deg, rgba(36, 87, 154, 0.2), rgba(57, 79, 104, 0.12));
}
.tv-banner-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.3fr) minmax(220px, 0.9fr);
    gap: 1rem;
    align-items: center;
    padding: 1rem;
}
.tv-banner-copy h1 {
    font-size: clamp(1.25rem, 2.5vw, 1.8rem);
    margin-bottom: 0.55rem;
}
.tv-banner-copy p {
    color: #d4dceb;
    font-size: 0.96rem;
}

.tv-banner-btn {
    margin-top: 1.15rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    padding: 0.52rem 1.2rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.24);
    background: rgba(255, 255, 255, 0.06);
    color: #eef4ff;
    font-size: 1.02rem;
    font-weight: 700;
    transition: 0.2s ease;
}

.tv-banner-btn:hover,
.tv-banner-btn:focus-visible {
    background: rgba(255, 255, 255, 0.14);
    border-color: rgba(255, 255, 255, 0.45);
    outline: none;
}
.tv-banner-media {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    min-height: 180px;
}
.tv-banner-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.section {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
    padding-top: 1.3rem;
}
.section h2 {
    font-size: clamp(1.25rem, 2.2vw, 1.7rem);
    margin-bottom: 0.85rem;
}
.section h2.centered,
.section p.centered {
    text-align: center;
}
.section p {
    color: var(--muted);
}

.category-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.category-btn {
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 999px;
    padding: 0.4rem 0.85rem;
    background: rgba(255, 255, 255, 0.04);
    color: #e4ebf7;
    font-size: 1.02rem;
    line-height: 1.2;
    white-space: nowrap;
}

.category-btn.active {
    background: #fff;
    color: #0b0e14;
    font-weight: 700;
    border-color: transparent;
}

.tv-grid {
    margin-top: 0.95rem;
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.75rem;
}
.tv-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.02);
    padding: 0.6rem;
}

/* Linked TV cards keep the legacy appearance while making the full card interactive. */
.tv-card-link {
    color: inherit;
    display: block;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease;
}

/* Pointer and keyboard feedback expose the detail action without shifting the card. */
.tv-card-link:hover,
.tv-card-link:focus-visible {
    border-color: rgba(47, 128, 255, 0.9);
    background: rgba(47, 128, 255, 0.1);
}

/* The focus boundary follows the complete clickable TV card. */
.tv-card-link:focus-visible {
    outline: 2px solid rgba(47, 128, 255, 0.9);
    outline-offset: 3px;
}

/* The lazy-image placeholder and final image share the original poster dimensions. */
.tv-card img,
.tv-poster {
    width: 100%;
    aspect-ratio: 2 / 3;
    object-fit: cover;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    display: block;
    margin-bottom: 0.45rem;
}
.tv-title {
    font-size: 0.94rem;
    color: #edf4ff;
    font-weight: 700;
    margin-bottom: 0.2rem;
}
.tv-desc {
    color: #c8d2e2;
    font-size: 0.8rem;
    line-height: 1.4;
}

.discover-copy {
    max-width: 920px;
    margin: 0.35rem auto 1rem;
}

.guide-grid {
    margin-top: 0.9rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.mood-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}
.guide-card {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 0.9rem;
    background: rgba(255, 255, 255, 0.02);
}
.guide-card h3 {
    display: inline-flex;
    align-items: center;
    gap: 0.32rem;
}
.guide-card h3 {
    color: #46d7c1;
    font-size: 1.08rem;
    margin-bottom: 0.25rem;
}
.guide-card p {
    font-size: 0.9rem;
    color: #cfd8e6;
}

.tv-guide-title {
    margin-top: 2.1rem;
}

.discover-title {
    margin-top: 2.4rem;
}

.reviews-grid {
    margin-top: 1.1rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.75rem;
}

.awards-grid {
    margin-top: 0.95rem;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.8rem;
}

.award-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.85rem;
    background: rgba(255, 255, 255, 0.02);
}

.award-card h3 {
    color: #46d7c1;
    font-size: 1.02rem;
    margin-bottom: 0.3rem;
}

.award-card p {
    color: #cfd8e6;
    font-size: 0.9rem;
    line-height: 1.45;
}

.awards-social {
    margin: 0.8rem auto 0;
    max-width: 720px;
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.awards-social img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.tv-production {
    margin-top: 1rem;
    display: grid;
    grid-template-columns: 6fr 4fr;
    gap: 1rem;
    align-items: center;
}

.tv-production-copy p {
    color: #d4dceb;
}

.tv-production-copy ul {
    margin: 0.55rem 0 0.7rem;
    padding-left: 1.05rem;
    color: #d4dceb;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0.22rem 0.9rem;
}

.tv-production-media {
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.12);
    aspect-ratio: 1 / 1;
}

.tv-production-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.watching-tv-today .tv-production {
    grid-template-columns: 7fr 3fr;
}

.watching-tv-today .tv-production-media {
    max-width: 250px;
    margin-left: auto;
}

.tv-production-overview .tv-production {
    grid-template-columns: 7fr 3fr;
}

.tv-production-overview .tv-production-media {
    max-width: 235px;
    margin-left: auto;
}
.review-card {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
}
.review-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.45rem;
}
.review-user {
    color: #eef5ff;
    font-size: 0.9rem;
    font-weight: 700;
}
.review-score {
    color: #46d7c1;
    font-size: 0.82rem;
    letter-spacing: 0.5px;
}
.review-card p {
    font-size: 0.88rem;
    color: #d3dbe8;
}

.faq-list {
    margin-top: 0.9rem;
    display: grid;
    gap: 0.65rem;
}
.faq-item {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.88rem;
    background: rgba(255, 255, 255, 0.015);
}
.faq-item summary {
    list-style: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.8rem;
    color: #eef4ff;
    font-size: 1rem;
    font-weight: 700;
}
.faq-item summary::-webkit-details-marker {
    display: none;
}
.faq-item summary::after {
    content: '+';
    color: #7ddfcf;
    font-size: 1.1rem;
}
.faq-item[open] summary::after {
    content: '−';
}
.faq-item p {
    margin-top: 0.55rem;
    font-size: 0.9rem;
    color: #cfd7e5;
}

.trusted-title {
    text-align: center;
    font-size: clamp(1.45rem, 3.4vw, 2rem);
    margin-bottom: 0.45rem;
}

.partner-logos {
    margin-top: 0.95rem;
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
}

.partner-logo {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0.9rem;
}

.partner-logo img {
    max-width: 100%;
    max-height: 70px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
    filter: brightness(1.05);
}

.partner-carousel {
    position: relative;
    padding: 0;
}

@media (min-width: 761px) {
    .partner-arrow {
        display: none !important;
    }
}

.partner-arrow {
    display: none;
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.28);
    background: rgba(0, 0, 0, 0.58);
    color: #eef4ff;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    line-height: 1;
    cursor: pointer;
    z-index: 2;
}

.partner-arrow:hover,
.partner-arrow:focus-visible {
    background: rgba(47, 128, 255, 0.35);
    border-color: rgba(47, 128, 255, 0.85);
    outline: none;
}

.partner-logo.forbes img {
    max-height: 70px;
    max-width: 170px;
}

@media (max-width: 1180px) {
    .tv-banner-inner {
        grid-template-columns: 1fr;
    }
    .tv-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .guide-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .mood-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
    .awards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .reviews-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tv-production {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 760px) {
    .tv-grid {
        display: flex;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        gap: 0.7rem;
        padding-bottom: 0.2rem;
    }
    .tv-card {
        flex: 0 0 72%;
        scroll-snap-align: start;
    }
    .guide-grid,
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    .mood-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .awards-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
    .tv-production-copy ul {
        grid-template-columns: 1fr;
    }
    /* H5 keeps each long-form production copy above its supporting image. */
    .watching-tv-today .tv-production,
    .tv-production-overview .tv-production {
        grid-template-columns: 1fr;
    }
    .watching-tv-today .tv-production-media {
        max-width: 220px;
        margin-inline: auto;
    }
    .tv-production-overview .tv-production-media {
        max-width: 220px;
        margin-inline: auto;
    }
    .partner-logos {
        display: flex;
        gap: 0.55rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.2rem;
    }

    .partner-logo {
        flex: 0 0 44%;
        min-height: 78px;
        padding: 0.55rem;
        scroll-snap-align: start;
    }

    .partner-logo img {
        max-height: 48px;
    }

    .partner-logos::-webkit-scrollbar {
        display: none;
    }

    .partner-carousel {
        padding: 0 2.1rem;
    }

    .partner-arrow {
        display: inline-flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
    }

    .partner-arrow.prev {
        left: 0.15rem;
    }

    .partner-arrow.next {
        right: 0.15rem;
    }
}

@media (max-width: 760px) {
    body {
        font-size: 15px;
        line-height: 1.62;
    }

    h1 {
        font-size: clamp(1.25rem, 6vw, 1.62rem);
        line-height: 1.24;
    }

    h2 {
        font-size: clamp(1.12rem, 5.4vw, 1.42rem);
        line-height: 1.3;
    }

    h3 {
        font-size: clamp(1rem, 4.9vw, 1.16rem);
        line-height: 1.35;
    }

    p,
    li,
    summary {
        font-size: 0.92rem;
        line-height: 1.65;
    }
}

@media (min-width: 761px) {
    .partner-carousel {
        padding: 0;
    }

    .partner-carousel .partner-arrow {
        display: none !important;
    }

    .partner-carousel .partner-logos {
        display: grid !important;
        grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
        gap: 0.8rem !important;
        overflow: visible !important;
        scroll-snap-type: none !important;
        padding-bottom: 0 !important;
    }

    .partner-carousel .partner-logo {
        flex: initial !important;
        min-height: 110px !important;
        padding: 0.9rem !important;
        scroll-snap-align: none !important;
    }

    .partner-carousel .partner-logo img {
        max-height: 70px !important;
    }

    .partner-carousel .partner-logo.forbes img {
        max-height: 70px !important;
        max-width: 170px !important;
    }
}

/* Trusted Partners responsive final override */
.partner-carousel .partner-arrow {
    display: none;
}

.partner-carousel .partner-logos {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 0.8rem;
    overflow: visible;
    scroll-snap-type: none;
    padding-bottom: 0;
}

.partner-carousel .partner-logo {
    flex: initial;
    min-height: 110px;
    padding: 0.9rem;
    scroll-snap-align: none;
}

.partner-carousel .partner-logo img {
    max-height: 70px;
}

.partner-carousel .partner-logo.forbes img {
    max-height: 70px;
    max-width: 170px;
}

@media (max-width: 760px) {
    .partner-carousel {
        position: relative;
        padding: 0 2.1rem;
    }

    .partner-carousel .partner-logos {
        display: flex;
        gap: 0.55rem;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 0.2rem;
    }

    .partner-carousel .partner-logos::-webkit-scrollbar {
        display: none;
    }

    .partner-carousel .partner-logo {
        flex: 0 0 44%;
        min-height: 78px;
        padding: 0.55rem;
        scroll-snap-align: start;
    }

    .partner-carousel .partner-logo img {
        max-height: 48px;
    }

    .partner-carousel .partner-arrow {
        display: inline-flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 32px;
        height: 32px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.28);
        background: rgba(0, 0, 0, 0.58);
        color: #eef4ff;
        align-items: center;
        justify-content: center;
        font-size: 1rem;
        line-height: 1;
        cursor: pointer;
        z-index: 2;
    }

    .partner-carousel .partner-arrow.prev {
        left: 0.15rem;
    }

    .partner-carousel .partner-arrow.next {
        right: 0.15rem;
    }
}

/* Trusted Partners fixed 4-column restore */
.partner-arrow,
.partner-carousel .partner-arrow {
    display: none !important;
}

.partner-carousel {
    padding: 0 !important;
    position: static !important;
}

.partner-logos,
.partner-carousel .partner-logos {
    display: grid !important;
    grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
    gap: 0.8rem !important;
    overflow: visible !important;
    scroll-snap-type: none !important;
    padding-bottom: 0 !important;
}

.partner-logo,
.partner-carousel .partner-logo {
    flex: initial !important;
    min-height: 110px !important;
    padding: 0.9rem !important;
    scroll-snap-align: none !important;
}

.partner-logo img,
.partner-carousel .partner-logo img {
    max-height: 70px !important;
}

.partner-logo.forbes img,
.partner-carousel .partner-logo.forbes img {
    max-height: 70px !important;
    max-width: 170px !important;
}
@media (max-width: 760px) {
    .partner-mobile-carousel {
        position: relative;
        padding: 0 2.1rem;
    }

    .partner-mobile-carousel .partner-logos {
        display: flex !important;
        gap: 0.7rem !important;
        overflow-x: auto !important;
        scroll-snap-type: x mandatory;
        scrollbar-width: none;
        -webkit-overflow-scrolling: touch;
    }

    .partner-mobile-carousel .partner-logos::-webkit-scrollbar {
        display: none;
    }

    .partner-mobile-carousel .partner-logo {
        flex: 0 0 calc(50% - 0.35rem);
        min-height: 96px;
        scroll-snap-align: start;
    }

    .partner-mobile-arrow {
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        width: 30px;
        height: 30px;
        border-radius: 999px;
        border: 1px solid rgba(255, 255, 255, 0.32);
        background: rgba(0, 0, 0, 0.56);
        color: #eef4ff;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 0.95rem;
        line-height: 1;
        cursor: pointer;
        z-index: 2;
    }

    .partner-mobile-arrow.prev {
        left: 0.15rem;
    }

    .partner-mobile-arrow.next {
        right: 0.15rem;
    }
}

@media (min-width: 761px) {
    .partner-mobile-arrow {
        display: none !important;
    }
}

@media (max-width: 760px) {
}
