/* ==========================================================================
   Independence Day 2026 - Microsite stylesheet
   Press Information Bureau, Government of India
   Mobile-first, works from 320px to ultra-wide. No Bootstrap dependency.
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. Design tokens
   -------------------------------------------------------------------------- */
:root {
    /* Tricolour palette */
    --id-saffron: #ff9933;
    --id-saffron-dark: #e07b12;
    --id-white: #ffffff;
    --id-green: #138808;
    --id-green-dark: #0d6205;
    --id-chakra: #000080;
    --id-chakra-soft: #1b3a8f;

    /* Neutrals */
    --id-ink: #14213d;
    --id-ink-soft: #41506e;
    --id-muted: #6b7280;
    --id-line: #dfe3ec;
    --id-surface: #ffffff;
    --id-surface-alt: #f5f7fb;
    --id-page: #eef1f7;

    /* Typography - fluid, clamps between phone and desktop */
    --id-font: 'Segoe UI', 'Noto Sans', 'Noto Sans Devanagari', Lato, Arial, sans-serif;
    --id-font-urdu: 'Noto Nastaliq Urdu', 'Jameel Noori Nastaleeq', 'Segoe UI', serif;
    --fs-base: clamp(0.95rem, 0.9rem + 0.22vw, 1.06rem);
    --fs-sm: clamp(0.82rem, 0.79rem + 0.15vw, 0.92rem);
    --fs-xs: clamp(0.74rem, 0.72rem + 0.1vw, 0.82rem);
    --fs-lead: clamp(1.05rem, 0.98rem + 0.35vw, 1.25rem);
    --fs-h2: clamp(1.35rem, 1.1rem + 1.1vw, 2.1rem);
    --fs-h3: clamp(1.05rem, 0.95rem + 0.5vw, 1.35rem);

    /* Spacing scale */
    --sp-1: 0.25rem;
    --sp-2: 0.5rem;
    --sp-3: 0.75rem;
    --sp-4: 1rem;
    --sp-5: 1.5rem;
    --sp-6: 2rem;
    --sp-7: 3rem;
    --sp-8: 4rem;

    --radius: 10px;
    --radius-sm: 6px;
    --radius-lg: 16px;
    --shadow-1: 0 1px 2px rgba(20, 33, 61, .08), 0 2px 8px rgba(20, 33, 61, .06);
    --shadow-2: 0 6px 18px rgba(20, 33, 61, .12);
    --shadow-3: 0 14px 34px rgba(20, 33, 61, .18);

    --container: 1440px;
    --header-h: 56px;

    /* Shared height for the big media blocks (hero carousel, address card,
       photo hero and the two scroll rails) so columns line up exactly. */
    --media-h: clamp(420px, 34vw, 620px);
}

@media (min-width: 1800px) {
    :root {
        --container: 1660px;
    }
}

/* --------------------------------------------------------------------------
   2. Reset / base
   -------------------------------------------------------------------------- */
*, *::before, *::after {
    box-sizing: border-box;
}

html {
    -webkit-text-size-adjust: 100%;
    scroll-behavior: smooth;
    scroll-padding-top: calc(var(--header-h) + 12px);
}

body {
    margin: 0;
    font-family: var(--id-font);
    font-size: var(--fs-base);
    line-height: 1.65;
    color: var(--id-ink);
    /* Light tricolour-tinted wash. Deliberately calm so the media cards carry
       the page instead of competing with a photographic backdrop. */
    background-color: var(--id-page);
    background-image:
        radial-gradient(900px 460px at 10% -8%, rgba(255, 153, 51, .24), transparent 62%),
        radial-gradient(820px 440px at 90% 0%, rgba(19, 136, 8, .16), transparent 64%),
        linear-gradient(180deg, #fdfaf6 0%, #f3f6fc 44%, #eaeff8 100%);
    background-attachment: fixed;
    background-repeat: no-repeat;
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
    border: 0;
}

a {
    color: var(--id-chakra-soft);
    text-decoration: none;
}

a:hover, a:focus {
    text-decoration: underline;
}

h1, h2, h3, h4 {
    margin: 0 0 var(--sp-3);
    line-height: 1.3;
    font-weight: 700;
    color: var(--id-ink);
}

p {
    margin: 0 0 var(--sp-3);
}

ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Visible keyboard focus everywhere - accessibility requirement */
:focus-visible {
    outline: 3px solid var(--id-chakra);
    outline-offset: 2px;
}

.id-skip {
    position: absolute;
    left: -9999px;
    top: auto;
    z-index: 2000;
}

.id-skip:focus {
    left: 12px;
    top: 12px;
    background: var(--id-ink);
    color: #fff;
    padding: 10px 18px;
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.id-visually-hidden {
    position: absolute !important;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* --------------------------------------------------------------------------
   3. Layout primitives
   -------------------------------------------------------------------------- */
.id-container {
    width: 100%;
    max-width: var(--container);
    margin-inline: auto;
    padding-inline: clamp(0.75rem, 0.4rem + 1.6vw, 2rem);
}

.id-section {
    padding-block: clamp(1.5rem, 1rem + 2.2vw, 3.25rem);
}

.id-section--tint {
    background: rgba(255, 255, 255, .66);
    border-top: 1px solid rgba(20, 33, 61, .07);
    border-bottom: 1px solid rgba(20, 33, 61, .07);
    backdrop-filter: blur(6px);
}

/* Dark "theatre" band - used by the video gallery so the player reads as the
   focal point of the page rather than one more white box. */
.id-section--theatre {
    background: radial-gradient(1200px 520px at 20% 0%, #1b2c63 0%, transparent 60%), linear-gradient(180deg, #101b3d 0%, #0b132c 100%);
    color: #dbe3f7;
}

.id-section--theatre .id-heading h2 {
    color: #ffffff;
}

.id-section--theatre .id-heading::before,
.id-section--theatre .id-heading::after {
    box-shadow: none;
    opacity: .92;
}

.id-section--theatre .id-empty {
    color: #9fb0d4;
}

.id-grid {
    display: grid;
    gap: var(--sp-4);
}

/* Section heading with tricolour rule */
.id-heading {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-bottom: var(--sp-5);
}

.id-heading h2 {
    margin: 0;
    font-size: var(--fs-h2);
    color: var(--id-chakra);
    white-space: normal;
}

.id-heading::before,
.id-heading::after {
    content: "";
    flex: 1;
    height: 6px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--id-saffron), #fff 50%, var(--id-green));
    box-shadow: inset 0 0 0 1px rgba(20, 33, 61, .08);
}

.id-heading::before {
    background: linear-gradient(90deg, var(--id-green), #fff 50%, var(--id-saffron));
}

@media (max-width: 520px) {
    .id-heading::before, .id-heading::after {
        flex: 0 0 18px;
    }
}

/* --------------------------------------------------------------------------
   4. Utility / top bar
   -------------------------------------------------------------------------- */
.id-topbar {
    background: var(--id-ink);
    color: #e8ecf6;
    font-size: var(--fs-xs);
}

.id-topbar .id-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2) var(--sp-4);
    min-height: 40px;
    padding-block: 6px;
}

.id-topbar__brand {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
    font-weight: 600;
    letter-spacing: .01em;
}

.id-topbar__brand img {
    height: 26px;
    width: auto;
}

.id-topbar__tools {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    margin-inline-start: auto;
}

.id-topbar a {
    color: #cfd8ea;
}

.id-topbar a:hover, .id-topbar a:focus {
    color: #fff;
}

/* Language selector ------------------------------------------------------- */
.id-lang {
    display: flex;
    align-items: center;
    gap: var(--sp-2);
}

.id-lang__label {
    font-weight: 600;
    color: #cfd8ea;
    white-space: nowrap;
}

.id-lang select,
select.id-lang__select {
    appearance: none;
    -webkit-appearance: none;
    font: inherit;
    font-size: var(--fs-xs);
    color: var(--id-ink);
    background-color: #fff;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%2314213d' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 8px center;
    background-size: 14px 14px;
    border: 1px solid #c8d0e2;
    border-radius: var(--radius-sm);
    padding: 6px 30px 6px 10px;
    min-height: 34px;
    line-height: 1.2;
    cursor: pointer;
    max-width: 190px;
}

select.id-lang__select:hover {
    border-color: var(--id-saffron);
}

.id-lang__noscript a {
    color: #fff;
    text-decoration: underline;
    margin-inline-start: var(--sp-2);
}

/* --------------------------------------------------------------------------
   5. Banner + navigation
   -------------------------------------------------------------------------- */
/* The banner is drawn, not photographed: a tricolour gradient wash, an inline
   Ashoka chakra and the greeting as real text. One markup block therefore serves
   English, Hindi and every screen width - no per-language banner artwork, and
   the wording stays translatable. */
.id-banner {
    position: relative;
    isolation: isolate; /* keeps the z-index: -1 decorations behind the text but
                           above the banner's own background layers */
    overflow: hidden;
    background-color: #fff;
    background-image:
        /* saffron blade down the leading edge, feathering into white */
        linear-gradient(135deg, rgba(255, 153, 51, .98) 0%, rgba(255, 153, 51, .78) 2.5%, rgba(255, 153, 51, .34) 6%, rgba(255, 153, 51, .08) 10.5%, rgba(255, 153, 51, 0) 15%),
        radial-gradient(16% 130% at 0% 8%, rgba(255, 153, 51, .55) 0%, rgba(255, 153, 51, 0) 70%),
        /* green blade on the trailing edge */
        linear-gradient(315deg, rgba(19, 136, 8, .98) 0%, rgba(19, 136, 8, .78) 2.5%, rgba(19, 136, 8, .34) 6%, rgba(19, 136, 8, .08) 10.5%, rgba(19, 136, 8, 0) 15%),
        radial-gradient(16% 130% at 100% 92%, rgba(19, 136, 8, .5) 0%, rgba(19, 136, 8, 0) 70%),
        linear-gradient(180deg, #ffffff 0%, #f7f9fd 100%);
}

/* Thin tricolour rule closing the banner off from the navy navigation. */
.id-banner::after {
    content: "";
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--id-saffron) 0%, #fff 50%, var(--id-green) 100%);
}

/* Sized off the banner's own height, so it keeps its proportions at every
   width without a media query. */
.id-banner__chakra {
    position: absolute;
    top: 50%;
    inset-inline-start: 23%;
    height: 190%;
    width: auto;
    transform: translate(-50%, -50%);
    color: var(--id-chakra);
    opacity: .09;
    z-index: -1;
}

.id-banner__inner {
    position: relative;
    display: flex;
    align-items: center;
    gap: clamp(.7rem, 2vw, 1.75rem);
    min-height: 90px;
    padding-block: clamp(.6rem, 1.3vw, 1rem);
}

.id-banner__logo {
    flex: 0 0 auto;
    width: clamp(50px, 6.4vw, 88px);
    height: auto;
    border-radius: 50%;
    background: #fff;
    box-shadow: 0 2px 10px rgba(20, 33, 61, .20);
}

.id-banner__text {
    flex: 1 1 auto;
    text-align: center;
    min-width: 0; /* lets the greeting wrap instead of overflowing the flex row */
}

.id-banner__title {
    margin: 0;
    font-size: clamp(1.2rem, .45rem + 2.5vw, 2.7rem);
    font-weight: 800;
    line-height: 1.14;
    letter-spacing: -.01em;
    color: var(--id-chakra);
    text-shadow: 0 1px 0 rgba(255, 255, 255, .7);
    text-wrap: balance;
}

.id-banner__sub {
    margin: .2em 0 0;
    font-size: clamp(.82rem, .5rem + 1vw, 1.45rem);
    font-weight: 600;
    line-height: 1.25;
    color: var(--id-chakra-soft);
}

/* Phones: the chakra reads better centred behind the greeting. */
@media (max-width: 640px) {
    .id-banner__chakra {
        inset-inline-start: 50%;
        opacity: .08;
    }
}

.id-nav {
    position: sticky;
    top: 0;
    z-index: 900;
    background: var(--id-chakra);
    background-image: linear-gradient(90deg, var(--id-chakra) 0%, #10236b 100%);
    box-shadow: var(--shadow-1);
    border-bottom: 3px solid var(--id-saffron);
}

.id-nav .id-container {
    display: flex;
    align-items: center;
    gap: var(--sp-3);
    min-height: var(--header-h);
}

.id-nav__title {
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #fff;
    margin: 0;
    padding-block: 8px;
    flex: 1 1 auto;
    min-width: 0;
}

.id-nav__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: #fff;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: var(--radius-sm);
    padding: 8px 12px;
    min-height: 40px;
    cursor: pointer;
    flex: 0 0 auto;
}

.id-nav__toggle:hover {
    background: rgba(255, 255, 255, .22);
}

.id-nav__list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 2px;
}

.id-nav__list > li > a,
.id-nav__list > li > button {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: #eaf0ff;
    background: none;
    border: 0;
    border-radius: var(--radius-sm);
    padding: 10px 14px;
    min-height: 44px;
    cursor: pointer;
    text-decoration: none;
    white-space: nowrap;
}

.id-nav__list > li > a:hover,
.id-nav__list > li > a:focus,
.id-nav__list > li > button:hover,
.id-nav__list > li > button:focus {
    background: rgba(255, 255, 255, .16);
    color: #fff;
    text-decoration: none;
}

/* Sub-menu (PM address / release languages) */
.id-nav__item {
    position: relative;
}

.id-nav__submenu {
    display: none;
    position: absolute;
    top: 100%;
    inset-inline-start: 0;
    min-width: 210px;
    background: #fff;
    border: 1px solid var(--id-line);
    border-top: 3px solid var(--id-saffron);
    border-radius: 0 0 var(--radius-sm) var(--radius-sm);
    box-shadow: var(--shadow-2);
    padding: var(--sp-1) 0;
    z-index: 950;
}

.id-nav__item.is-open .id-nav__submenu {
    display: block;
}

.id-nav__submenu a {
    display: block;
    padding: 9px 16px;
    font-size: var(--fs-sm);
    color: var(--id-ink);
    min-height: 40px;
}

.id-nav__submenu a:hover,
.id-nav__submenu a:focus {
    background: var(--id-surface-alt);
    color: var(--id-chakra);
    text-decoration: none;
}

/* Mobile navigation */
@media (max-width: 991px) {
    .id-nav .id-container {
        flex-wrap: wrap;
        padding-block: 8px;
    }

    .id-nav__panel {
        flex-basis: 100%;
        display: none;
        border-top: 1px solid rgba(255, 255, 255, .18);
        margin-top: 8px;
        padding-top: 8px;
        max-height: min(70vh, 520px);
        overflow-y: auto;
    }

    .id-nav__panel.is-open {
        display: block;
    }

    .id-nav__list {
        flex-direction: column;
        align-items: stretch;
        gap: 2px;
    }

    .id-nav__list > li > a,
    .id-nav__list > li > button {
        width: 100%;
        justify-content: space-between;
    }

    .id-nav__submenu {
        position: static;
        display: none;
        box-shadow: none;
        border: 0;
        border-inline-start: 3px solid var(--id-saffron);
        border-radius: 0;
        background: rgba(255, 255, 255, .95);
        margin: 2px 0 6px 12px;
    }
}

@media (min-width: 992px) {
    .id-nav__toggle {
        display: none;
    }

    .id-nav__panel {
        display: block !important;
        margin-inline-start: auto;
    }
}

/* --------------------------------------------------------------------------
   6. Hero: carousel + featured video
   -------------------------------------------------------------------------- */
.id-hero {
    display: grid;
    gap: var(--sp-5);
    grid-template-columns: 1fr;
    align-items: start;
}

@media (min-width: 992px) {
    .id-hero {
        grid-template-columns: minmax(0, 7fr) minmax(0, 5fr);
        align-items: stretch;
    }

    /* One shared row height for both cards - the address card used to stop
       short and leave a block of empty white underneath its text. */
    .id-hero > .id-card {
        height: var(--media-h);
    }
}

.id-card {
    display: flex;
    flex-direction: column;
    background: var(--id-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

/* Carousel ---------------------------------------------------------------- */
.id-carousel {
    position: relative;
    background: #0d1730;
}

.id-carousel__viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 10;
    overflow: hidden;
}

@supports not (aspect-ratio: 1) {
    .id-carousel__viewport {
        height: 0;
        padding-bottom: 62.5%;
    }
}

@media (min-width: 992px) {
    /* Fill whatever is left after the control bar instead of dictating a ratio */
    .id-carousel__viewport {
        aspect-ratio: auto;
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        padding-bottom: 0;
    }
}

.id-carousel__slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity .6s ease;
}

.id-carousel__slide.is-active {
    opacity: 1;
    visibility: visible;
}

/* Blurred copy of the same photo fills the letterbox bars left by
   object-fit: contain, so portrait shots no longer sit on flat colour. */
.id-carousel__bg {
    position: absolute;
    inset: 0;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    filter: blur(26px) saturate(1.25) brightness(.55);
    transform: scale(1.15);
    z-index: 0;
}

.id-carousel__link {
    position: absolute;
    inset: 0;
    display: block;
    z-index: 1;
    line-height: 0;
}

.id-carousel__slide img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.id-carousel__zoom {
    position: absolute;
    top: var(--sp-3);
    inset-inline-end: var(--sp-3);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: rgba(9, 15, 33, .55);
    border: 1px solid rgba(255, 255, 255, .45);
    color: #fff;
    font-size: 1rem;
    line-height: 1;
    opacity: 0;
    transition: opacity .3s ease, background .3s ease;
}

.id-carousel__link:hover .id-carousel__zoom,
.id-carousel__link:focus-visible .id-carousel__zoom {
    opacity: 1;
}

.id-carousel__link:hover .id-carousel__zoom {
    background: var(--id-saffron);
    border-color: var(--id-saffron);
    color: #10236b;
}

.id-carousel__caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    z-index: 2;
    pointer-events: none;
    padding: var(--sp-5) var(--sp-4) var(--sp-3);
    background: linear-gradient(180deg, rgba(13, 23, 48, 0) 0%, rgba(13, 23, 48, .88) 55%);
    color: #fff;
    font-size: var(--fs-sm);
    line-height: 1.45;
}

@media (max-width: 575px) {
    .id-carousel__caption {
        padding: var(--sp-4) var(--sp-3) var(--sp-2);
        font-size: var(--fs-xs);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

.id-carousel__controls {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: space-between;
    gap: var(--sp-2);
    padding: var(--sp-2) var(--sp-3);
    background: #0d1730;
}

.id-carousel__dots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1 1 auto;
}

.id-carousel__dots button {
    width: 12px;
    height: 12px;
    padding: 0;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .7);
    background: transparent;
    cursor: pointer;
}

.id-carousel__dots button[aria-current="true"] {
    background: var(--id-saffron);
    border-color: var(--id-saffron);
}

.id-carousel__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, .35);
    background: rgba(255, 255, 255, .1);
    color: #fff;
    font-size: 1rem;
    cursor: pointer;
    flex: 0 0 auto;
}

.id-carousel__btn:hover {
    background: var(--id-saffron);
    border-color: var(--id-saffron);
    color: #10236b;
}

/* Featured video ---------------------------------------------------------- */
.id-feature {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.id-feature__media {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
}

@supports not (aspect-ratio: 1) {
    .id-feature__media {
        height: 0;
        padding-bottom: 56.25%;
    }
}

@media (min-width: 992px) {
    /* Grow to absorb the row height instead of leaving white space below the body */
    .id-feature__media {
        aspect-ratio: auto;
        flex: 1 1 auto;
        min-height: 0;
        height: auto;
        padding-bottom: 0;
    }

    .id-feature__body {
        flex: 0 0 auto;
    }
}

.id-feature__media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-feature__play {
    position: absolute;
    inset: 0;
    display: block;
    background: url('../images/play-btn.png') center / 72px 72px no-repeat, rgba(0, 0, 0, .18);
    transition: background-color .3s ease;
}

.id-feature__play:hover {
    background-color: rgba(0, 0, 0, .38);
}

.id-feature__body {
    padding: var(--sp-4);
}

.id-feature__body h3 {
    font-size: var(--fs-h3);
    margin-bottom: var(--sp-1);
}

.id-feature__body p {
    margin: 0;
    color: var(--id-ink-soft);
    font-size: var(--fs-sm);
}

/* --------------------------------------------------------------------------
   7. Video gallery
   -------------------------------------------------------------------------- */
.id-video {
    display: grid;
    gap: var(--sp-5);
    grid-template-columns: 1fr;
}

/* Player takes the lion's share; the playlist rail is wide enough for a real
   16:9 thumbnail plus a readable three-line title. */
@media (min-width: 992px) {
    .id-video {
        grid-template-columns: minmax(0, 1fr) clamp(320px, 27vw, 440px);
        align-items: start;
    }
}

.id-video__main {
    min-width: 0;
}

.id-video__player {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-3);
    border: 1px solid rgba(255, 255, 255, .12);
}

@supports not (aspect-ratio: 1) {
    .id-video__player {
        height: 0;
        padding-bottom: 56.25%;
    }
}

.id-video__player iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.id-video__nowplaying {
    margin: var(--sp-4) 0 0;
    font-size: var(--fs-lead);
    font-weight: 600;
    line-height: 1.45;
    color: #f1f5ff;
}

.id-video__nowplaying:empty {
    display: none;
}

/* Playlist rail --------------------------------------------------------- */
.id-video__rail {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.id-video__railhead {
    margin: 0 0 var(--sp-3);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--id-saffron);
}

.id-video__list {
    display: grid;
    gap: var(--sp-3);
    grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
}

@media (min-width: 992px) {
    .id-video__list {
        grid-template-columns: 1fr;
        max-height: min(58vh, 640px);
        overflow-y: auto;
        padding-inline-end: 8px;
        scrollbar-width: thin;
        scrollbar-color: var(--id-saffron) rgba(255, 255, 255, .12);
    }

    .id-video__list::-webkit-scrollbar {
        width: 8px;
    }

    .id-video__list::-webkit-scrollbar-track {
        background: rgba(255, 255, 255, .1);
        border-radius: 4px;
    }

    .id-video__list::-webkit-scrollbar-thumb {
        background: var(--id-saffron);
        border-radius: 4px;
    }
}

.id-video__item {
    display: grid;
    /* Percentage rather than a fixed thumb width, so the title still gets a
       readable column when the rail is at its narrowest (320px). */
    grid-template-columns: 42% minmax(0, 1fr);
    gap: var(--sp-3);
    align-items: start;
    width: 100%;
    text-align: start;
    font: inherit;
    color: #e6ecfb;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .14);
    border-radius: var(--radius);
    padding: var(--sp-2);
    cursor: pointer;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.id-video__item:hover,
.id-video__item:focus-visible {
    background: rgba(255, 255, 255, .14);
    border-color: var(--id-saffron);
    transform: translateY(-2px);
}

.id-video__item[aria-current="true"] {
    background: rgba(255, 153, 51, .18);
    border-color: var(--id-saffron);
    box-shadow: inset 3px 0 0 var(--id-saffron);
}

.id-video__thumb {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    border-radius: var(--radius-sm);
    overflow: hidden;
    background: #000;
}

.id-video__thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.id-video__play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.id-video__play i {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(9, 15, 33, .62);
    border: 1px solid rgba(255, 255, 255, .5);
    color: #fff;
    font-size: .8rem;
    padding-inline-start: 3px;
    transition: background .25s ease;
}

.id-video__item:hover .id-video__play i,
.id-video__item[aria-current="true"] .id-video__play i {
    background: var(--id-saffron);
    border-color: var(--id-saffron);
    color: #10236b;
}

.id-video__label {
    font-size: var(--fs-sm);
    line-height: 1.45;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    padding-block: 2px;
}

/* Below the rail breakpoint the playlist becomes a card grid */
@media (max-width: 991px) {
    .id-video__item {
        grid-template-columns: 1fr;
        gap: var(--sp-2);
    }
}

/* --------------------------------------------------------------------------
   8. Photo gallery
   -------------------------------------------------------------------------- */
/* Mirrors the video gallery: a large feature photo beside a scrolling rail of
   cards, instead of an endless run of tiles below the hero. */
.id-photos {
    display: grid;
    gap: var(--sp-5);
    grid-template-columns: 1fr;
}

@media (min-width: 992px) {
    .id-photos {
        grid-template-columns: minmax(0, 1fr) clamp(320px, 27vw, 440px);
        align-items: stretch;
    }

    .id-photos > * {
        height: var(--media-h);
    }
}

.id-photohero {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    background: #0d1730;
    box-shadow: var(--shadow-2);
}

.id-photohero a {
    display: block;
    position: relative;
    height: 100%;
    line-height: 0;
}

.id-photohero img {
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    transition: transform .7s ease;
}

@media (min-width: 992px) {
    .id-photohero img {
        aspect-ratio: auto;
        height: 100%;
    }
}

@supports not (aspect-ratio: 1) {
    .id-photohero img {
        max-height: 60vh;
    }
}

.id-photohero:hover img {
    transform: scale(1.03);
}

.id-photohero__caption {
    position: absolute;
    inset-inline: 0;
    bottom: 0;
    padding: clamp(2rem, 1rem + 4vw, 4rem) clamp(1rem, .6rem + 1.6vw, 2.25rem) clamp(1rem, .7rem + 1vw, 1.75rem);
    background: linear-gradient(180deg, rgba(13, 23, 48, 0) 0%, rgba(13, 23, 48, .9) 65%);
    color: #fff;
    font-size: var(--fs-lead);
    line-height: 1.5;
    font-weight: 500;
}

@media (max-width: 575px) {
    .id-photohero__caption {
        font-size: var(--fs-sm);
        display: -webkit-box;
        -webkit-line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }
}

/* Rail ------------------------------------------------------------------- */
.id-photos__rail {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.id-photos__railhead {
    margin: 0 0 var(--sp-3);
    font-size: var(--fs-xs);
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    color: var(--id-chakra);
}

.id-photos__grid {
    display: grid;
    gap: var(--sp-4);
    grid-template-columns: repeat(auto-fill, minmax(min(320px, 100%), 1fr));
}

@media (min-width: 992px) {
    .id-photos__grid {
        grid-template-columns: 1fr;
        gap: var(--sp-2);
        flex: 1 1 auto;
        min-height: 0;
        align-content: start;
        overflow-y: auto;
        padding-inline-end: 8px;
        scrollbar-width: thin;
        scrollbar-color: var(--id-saffron) var(--id-surface-alt);
    }

    .id-photos__grid::-webkit-scrollbar {
        width: 8px;
    }

    .id-photos__grid::-webkit-scrollbar-track {
        background: var(--id-surface-alt);
        border-radius: 4px;
    }

    .id-photos__grid::-webkit-scrollbar-thumb {
        background: var(--id-saffron);
        border-radius: 4px;
    }

    /* Inside the rail a card is horizontal, like a video playlist row. */
    .id-photos__grid .id-photo {
        display: grid;
        grid-template-columns: 42% minmax(0, 1fr);
        align-items: stretch;
        min-height: 130px;
        border-radius: var(--radius);
    }

    .id-photos__grid .id-photo:hover,
    .id-photos__grid .id-photo:focus-within {
        transform: none;
        box-shadow: var(--shadow-2);
    }

    /* The image is taken out of flow so the card's height is decided by the
       caption column alone.
       A percentage-height image inside a grid item makes the row height
       self-referential; Chrome resolves that cycle to zero, which collapsed
       every card to its 2px border and clipped the content away. The video
       rail avoids this by sizing its thumbnail with aspect-ratio instead. */
    .id-photos__grid .id-photo__link {
        position: relative;
        overflow: hidden;
    }

    .id-photos__grid .id-photo__img {
        position: absolute;
        inset: 0;
        width: 100%;
        height: 100%;
        aspect-ratio: auto;
        object-fit: cover;
    }

    .id-photos__grid .id-photo__body {
        gap: var(--sp-2);
        padding: var(--sp-3);
    }

    .id-photos__grid .id-photo__caption {
        font-size: var(--fs-xs);
        line-height: 1.5;
    }

    .id-photos__grid .id-photo__actions {
        padding-top: var(--sp-2);
        gap: 6px;
    }

    .id-photos__grid .id-photo__actions a {
        width: 32px;
        height: 32px;
        font-size: .85rem;
    }
}

.id-photo {
    display: flex;
    flex-direction: column;
    background: var(--id-surface);
    border: 1px solid var(--id-line);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-1);
    transition: transform .3s ease, box-shadow .3s ease, border-color .3s ease;
}

.id-photo:hover,
.id-photo:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-3);
    border-color: rgba(255, 153, 51, .55);
}

.id-photo__link {
    position: relative;
    display: block;
    overflow: hidden;
    line-height: 0;
}

.id-photo__img {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--id-surface-alt);
    transition: transform .55s ease;
}

.id-photo:hover .id-photo__img,
.id-photo:focus-within .id-photo__img {
    transform: scale(1.06);
}

.id-photo__zoom {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 23, 48, .38);
    color: #fff;
    font-size: 1.5rem;
    line-height: 1;
    opacity: 0;
    transition: opacity .3s ease;
}

.id-photo__link:hover .id-photo__zoom,
.id-photo__link:focus-visible .id-photo__zoom {
    opacity: 1;
}

.id-photo__body {
    display: flex;
    flex-direction: column;
    gap: var(--sp-3);
    flex: 1 1 auto;
    padding: var(--sp-4);
}

.id-photo__caption {
    margin: 0;
    flex: 1 1 auto;
    font-size: var(--fs-sm);
    line-height: 1.55;
    color: var(--id-ink-soft);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.id-photo__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding-top: var(--sp-3);
    border-top: 1px solid var(--id-line);
}

.id-photo__actions a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--id-surface-alt);
    border: 1px solid var(--id-line);
    color: var(--id-ink-soft);
    font-size: .95rem;
    transition: background .25s ease, color .25s ease, border-color .25s ease;
}

.id-photo__actions a:hover,
.id-photo__actions a:focus-visible {
    background: var(--id-chakra);
    border-color: var(--id-chakra);
    color: #fff;
    text-decoration: none;
}

.id-photo__actions a[data-net="facebook"]:hover { background: #3b5998; border-color: #3b5998; }
.id-photo__actions a[data-net="x"]:hover        { background: #14171a; border-color: #14171a; }
.id-photo__actions a[data-net="whatsapp"]:hover { background: #25d366; border-color: #25d366; }
.id-photo__actions a[data-net="download"]:hover { background: var(--id-green); border-color: var(--id-green); }

/* --------------------------------------------------------------------------
   8b. "Show more" for the media rails
   --------------------------------------------------------------------------
   On desktop both rails scroll inside a fixed-height column, so everything is
   reachable without lengthening the page. On phones the rails become ordinary
   stacked grids, and 15 videos or 24 photos is a very long scroll - so only the
   first few are shown until the visitor asks for the rest.

   The nth-child cut-offs below must stay in step with the data-more-limit
   values in Default.aspx (photos 6, videos 4).
   -------------------------------------------------------------------------- */
.id-showmore {
    display: none;
    margin-top: var(--sp-4);
    align-self: center;
}

.id-showmore[hidden] {
    display: none !important;
}

@media (max-width: 991px) {
    .id-showmore:not([hidden]) {
        display: inline-flex;
    }

    .id-photos__grid.is-collapsed > *:nth-child(n+7),
    .id-video__list.is-collapsed > *:nth-child(n+5) {
        display: none;
    }

    .id-photos__rail,
    .id-video__rail {
        display: flex;
        flex-direction: column;
    }

    .id-section--theatre .id-showmore {
        color: #fff;
        border-color: rgba(255, 255, 255, .55);
        background: transparent;
    }

    .id-section--theatre .id-showmore:hover,
    .id-section--theatre .id-showmore:focus-visible {
        background: var(--id-saffron);
        border-color: var(--id-saffron);
        color: #10236b;
    }
}

/* --------------------------------------------------------------------------
   9. Releases - three fixed language columns
   -------------------------------------------------------------------------- */
.id-releases {
    display: grid;
    gap: var(--sp-4);
    grid-template-columns: 1fr;
}

@media (min-width: 700px) {
    .id-releases {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (min-width: 1100px) {
    .id-releases {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

.id-relcol {
    display: flex;
    flex-direction: column;
    background: var(--id-surface);
    border: 1px solid var(--id-line);
    border-top: 5px solid var(--id-saffron);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    overflow: hidden;
}

.id-relcol--en {
    border-top-color: var(--id-chakra);
}

.id-relcol--ur {
    border-top-color: var(--id-green);
}

.id-relcol__head {
    padding: var(--sp-3) var(--sp-4);
    background: var(--id-surface-alt);
    border-bottom: 1px solid var(--id-line);
}

.id-relcol__head h3 {
    margin: 0;
    font-size: var(--fs-h3);
    color: var(--id-chakra);
}

.id-relcol__body {
    flex: 1 1 auto;
    max-height: 460px;
    overflow-y: auto;
    padding: var(--sp-2) var(--sp-3);
    scrollbar-width: thin;
    scrollbar-color: var(--id-saffron) var(--id-surface-alt);
}

.id-relcol__body::-webkit-scrollbar {
    width: 8px;
}

.id-relcol__body::-webkit-scrollbar-track {
    background: var(--id-surface-alt);
}

.id-relcol__body::-webkit-scrollbar-thumb {
    background: var(--id-saffron);
    border-radius: 4px;
}

.id-relcol__foot {
    padding: var(--sp-3);
    border-top: 1px solid var(--id-line);
    text-align: center;
}

.id-relcol--ur .id-relcol__body,
.id-relcol--ur .id-relcol__head h3 {
    direction: rtl;
    text-align: right;
    font-family: var(--id-font-urdu);
    line-height: 2;
}

/* Release item */
.id-rel {
    display: flex;
    gap: var(--sp-3);
    padding: var(--sp-3) 0;
    border-bottom: 1px dashed var(--id-line);
}

.id-rel:last-child {
    border-bottom: 0;
}

.id-rel__thumb {
    flex: 0 0 auto;
    width: 76px;
    height: 56px;
    object-fit: cover;
    border-radius: 4px;
    background: var(--id-surface-alt);
}

.id-rel__body {
    min-width: 0;
}

.id-rel__title {
    display: block;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--id-ink);
    line-height: 1.45;
}

.id-rel__title:hover,
.id-rel__title:focus {
    color: var(--id-chakra);
}

.id-rel__date {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 4px;
    font-size: var(--fs-xs);
    color: var(--id-muted);
}

.id-empty {
    padding: var(--sp-5) var(--sp-3);
    text-align: center;
    color: var(--id-muted);
    font-size: var(--fs-sm);
}

/* Buttons ----------------------------------------------------------------- */
.id-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 20px;
    font: inherit;
    font-size: var(--fs-sm);
    font-weight: 700;
    color: #fff;
    background: var(--id-chakra);
    border: 1px solid var(--id-chakra);
    border-radius: 999px;
    cursor: pointer;
    text-decoration: none;
}

.id-btn:hover, .id-btn:focus {
    background: var(--id-saffron);
    border-color: var(--id-saffron);
    color: #10236b;
    text-decoration: none;
}

.id-btn--ghost {
    color: var(--id-chakra);
    background: transparent;
}

.id-btn--ghost:hover, .id-btn--ghost:focus {
    color: #10236b;
}

/* Language chips (other-language releases) */
.id-chips {
    display: flex;
    flex-wrap: wrap;
    gap: var(--sp-2);
    justify-content: center;
    margin-top: var(--sp-5);
}

.id-chips a {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--id-ink);
    background: #fff;
    border: 1px solid var(--id-line);
    border-radius: 999px;
}

.id-chips a:hover, .id-chips a:focus {
    background: var(--id-chakra);
    border-color: var(--id-chakra);
    color: #fff;
    text-decoration: none;
}

/* --------------------------------------------------------------------------
   10. Quotes
   -------------------------------------------------------------------------- */
.id-quotes {
    display: grid;
    gap: var(--sp-4);
    grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
}

.id-quote {
    position: relative;
    background: var(--id-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    padding: var(--sp-6) var(--sp-4) var(--sp-4);
    border-top: 5px solid var(--id-green);
}

.id-quote::before {
    content: "\201C";
    position: absolute;
    top: 2px;
    inset-inline-start: 14px;
    font-size: 4rem;
    line-height: 1;
    color: var(--id-saffron);
    opacity: .55;
    font-family: Georgia, serif;
}

.id-quote__text {
    font-size: var(--fs-base);
    font-style: italic;
    color: var(--id-ink-soft);
    margin-bottom: var(--sp-3);
}

.id-quote__by {
    border-inline-start: 3px solid var(--id-saffron);
    padding-inline-start: 10px;
    font-size: var(--fs-sm);
    font-weight: 600;
    color: var(--id-muted);
    font-style: normal;
}

/* --------------------------------------------------------------------------
   11. Breadcrumb / inner pages
   -------------------------------------------------------------------------- */
.id-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
    font-size: var(--fs-xs);
    color: var(--id-muted);
    padding-block: var(--sp-3);
}

.id-breadcrumb li + li::before {
    content: "\203A";
    margin-inline-end: 6px;
    color: var(--id-muted);
}

.id-breadcrumb li {
    display: inline-flex;
    align-items: center;
}

.id-panel {
    background: var(--id-surface);
    border-radius: var(--radius);
    box-shadow: var(--shadow-1);
    padding: clamp(1rem, .6rem + 1.4vw, 2rem);
}

.id-panel--rtl {
    direction: rtl;
    text-align: right;
    font-family: var(--id-font-urdu);
    line-height: 2.1;
}

.id-rellist .id-rel {
    padding-block: var(--sp-4);
}

.id-rellist .id-rel__thumb {
    width: 120px;
    height: 84px;
}

@media (max-width: 575px) {
    .id-rellist .id-rel {
        flex-direction: column;
    }

    .id-rellist .id-rel__thumb {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/* --------------------------------------------------------------------------
   12. Footer
   -------------------------------------------------------------------------- */
.id-footer {
    margin-top: var(--sp-6);
    background: var(--id-ink);
    color: #b9c4dc;
    font-size: var(--fs-xs);
    border-top: 5px solid var(--id-saffron);
}

.id-footer .id-container {
    padding-block: var(--sp-5);
    text-align: center;
}

.id-footer a {
    color: #dbe4f7;
}

.id-totop {
    position: fixed;
    inset-inline-end: 16px;
    bottom: 16px;
    z-index: 800;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    border: 0;
    background: var(--id-chakra);
    color: #fff;
    font-size: 1.1rem;
    cursor: pointer;
    box-shadow: var(--shadow-2);
    opacity: 0;
    visibility: hidden;
    transition: opacity .25s ease;
}

.id-totop.is-visible {
    opacity: 1;
    visibility: visible;
}

.id-totop:hover, .id-totop:focus {
    background: var(--id-saffron);
    color: #10236b;
}

/* --------------------------------------------------------------------------
   13. Motion / print / high-contrast preferences
   -------------------------------------------------------------------------- */
@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *, *::before, *::after {
        animation-duration: .001ms !important;
        transition-duration: .001ms !important;
    }
}

@media (prefers-contrast: more) {
    :root {
        --id-line: #6b7280;
        --id-muted: #3b4252;
    }
}

@media print {
    .id-nav, .id-topbar, .id-totop, .id-carousel__controls, .id-photo__actions {
        display: none !important;
    }

    body {
        background: #fff;
    }
}
