.media-hero {
    position: relative;
    overflow: hidden;
    min-height: 570px;
    padding: calc(var(--header-height) + 108px) 0 95px;
    background:
        linear-gradient(115deg, rgba(8, 11, 10, .98), rgba(16, 22, 20, .92)),
        url("../images/photographs/full/photo-14.webp") center 54% / cover;
    color: var(--paper-bright);
}

.media-hero--podcasts {
    background:
        linear-gradient(115deg, rgba(8, 11, 10, .98), rgba(16, 22, 20, .91)),
        url("../images/photographs/full/patriots-across-pond.webp") center / cover;
}

.media-hero::after {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--red), var(--yellow), var(--green), var(--blue), transparent 90%);
    content: "";
}

.media-hero__glow {
    position: absolute;
    top: 0;
    left: 52%;
    width: 590px;
    height: 590px;
    border: 1px solid rgba(215, 177, 126, .16);
    border-radius: 50%;
    transform: translateY(-42%);
}

.media-hero__glow::before,
.media-hero__glow::after {
    position: absolute;
    inset: 14%;
    border: 1px solid rgba(215, 177, 126, .1);
    border-radius: inherit;
    content: "";
}

.media-hero__glow::after {
    inset: 29%;
}

.media-hero__inner {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: minmax(0, 1.45fr) minmax(280px, .55fr);
    gap: clamp(70px, 10vw, 150px);
    align-items: end;
}

.media-hero h1 {
    max-width: 870px;
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(62px, 8.4vw, 126px);
    font-weight: 400;
    letter-spacing: -.055em;
    line-height: .83;
}

.media-hero h1 em {
    color: var(--copper-light);
    font-weight: 400;
}

.media-hero__intro {
    padding-bottom: 4px;
    border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.media-hero__intro p {
    margin: 0 0 28px;
    color: rgba(248, 245, 238, .75);
    font-family: var(--serif);
    font-size: 20px;
    line-height: 1.55;
}

.media-hero__intro span {
    display: block;
    padding: 15px 0;
    color: rgba(248, 245, 238, .58);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.media-hero__intro strong {
    color: var(--copper-light);
    font-size: 16px;
}

.photo-archive {
    background: var(--paper-bright);
}

.photo-archive__heading,
.program-library__heading {
    display: flex;
    gap: 50px;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 42px;
}

.photo-archive__heading h2,
.program-library__heading h2 {
    margin: 0;
    font-family: var(--serif);
    font-size: clamp(48px, 6vw, 82px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .95;
}

.photo-archive__heading > p,
.program-library__heading > p {
    margin: 0 0 5px;
    color: var(--muted);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.photo-archive__heading > p span {
    color: var(--ink);
}

.photo-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 9px;
    margin-bottom: 43px;
    padding-top: 21px;
    border-top: 1px solid var(--line);
}

.photo-filter {
    border: 1px solid var(--line);
    border-radius: 100px;
    padding: 9px 17px;
    background: transparent;
    color: var(--muted);
    cursor: pointer;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    transition: border-color .2s ease, background .2s ease, color .2s ease, transform .2s ease;
}

.photo-filter:hover,
.photo-filter:focus-visible {
    border-color: var(--ink);
    color: var(--ink);
    transform: translateY(-2px);
}

.photo-filter.is-active {
    border-color: var(--ink);
    background: var(--ink);
    color: var(--paper-bright);
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.photo-card[hidden] {
    display: none;
}

.photo-card {
    min-width: 0;
    overflow: hidden;
    background: var(--ink);
}

.photo-card__button {
    position: relative;
    display: block;
    overflow: hidden;
    width: 100%;
    aspect-ratio: 19 / 13;
    border: 0;
    padding: 0;
    background: var(--ink);
    color: var(--paper-bright);
    cursor: zoom-in;
    text-align: left;
}

.photo-card__button img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .55s cubic-bezier(.2, .7, .2, 1), filter .4s ease;
}

.photo-card__magnifier {
    position: absolute;
    z-index: 1;
    top: 18px;
    right: 18px;
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: 50%;
    background: rgba(8, 10, 10, .25);
    transition: background .25s ease, transform .25s ease;
}

.photo-card__magnifier::before {
    position: absolute;
    top: 10px;
    left: 10px;
    width: 10px;
    height: 10px;
    border: 2px solid currentColor;
    border-radius: 50%;
    content: "";
}

.photo-card__magnifier::after {
    position: absolute;
    top: 22px;
    left: 22px;
    width: 8px;
    height: 2px;
    transform: rotate(45deg);
    transform-origin: left center;
    background: currentColor;
    content: "";
}

.photo-card__button:hover img,
.photo-card__button:focus-visible img {
    transform: scale(1.055);
    filter: saturate(.78);
}

.photo-card__button:hover .photo-card__magnifier,
.photo-card__button:focus-visible .photo-card__magnifier {
    transform: scale(1.08);
    background: var(--paper-bright);
    color: var(--ink);
}

body.lightbox-open {
    overflow: hidden;
}

.photo-lightbox {
    position: fixed;
    z-index: 300;
    inset: 0;
    display: grid;
    padding: 28px;
    opacity: 0;
    place-items: center;
    transition: opacity .18s ease;
}

.photo-lightbox[hidden] {
    display: none;
}

.photo-lightbox.is-open {
    opacity: 1;
}

.photo-lightbox__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(3, 5, 5, .94);
    cursor: zoom-out;
    backdrop-filter: blur(15px);
}

.photo-lightbox__dialog {
    position: relative;
    z-index: 1;
    width: min(1460px, 100%);
    max-height: calc(100vh - 56px);
}

.photo-lightbox__figure {
    position: relative;
    display: block;
    overflow: hidden;
    max-height: calc(100vh - 56px);
    margin: 0;
    background: #090c0b;
    box-shadow: 0 28px 80px rgba(0, 0, 0, .52);
}

.photo-lightbox__image-stage {
    display: grid;
    min-width: 0;
    min-height: 500px;
    max-height: calc(100vh - 56px);
    padding: 24px;
    background: #050707;
    place-items: center;
}

.photo-lightbox__image-stage img {
    width: 100%;
    height: 100%;
    max-height: calc(100vh - 104px);
    object-fit: contain;
}

.photo-download {
    position: absolute;
    z-index: 3;
    right: 18px;
    bottom: 18px;
    display: inline-flex;
    gap: 11px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .35);
    border-radius: 100px;
    padding: 11px 17px;
    background: rgba(5, 7, 7, .78);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    transition: color .2s ease, border-color .2s ease, background .2s ease;
}

.photo-download:hover {
    border-color: var(--copper-light);
    background: var(--copper);
    color: var(--ink);
}

.photo-lightbox__close {
    position: absolute;
    z-index: 3;
    top: 18px;
    right: 18px;
    width: 42px;
    height: 42px;
    border: 1px solid rgba(11, 13, 13, .25);
    border-radius: 50%;
    background: rgba(248, 245, 238, .9);
    color: var(--ink);
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.photo-lightbox__close:hover {
    transform: rotate(6deg);
    background: #fff;
}

.photo-lightbox__close span::before,
.photo-lightbox__close span::after {
    position: absolute;
    top: 19px;
    left: 11px;
    width: 19px;
    height: 2px;
    transform: rotate(45deg);
    background: currentColor;
    content: "";
}

.photo-lightbox__close span::after {
    transform: rotate(-45deg);
}

.photo-lightbox__nav {
    position: absolute;
    z-index: 3;
    top: 50%;
    width: 46px;
    height: 46px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50%;
    transform: translateY(-50%);
    background: rgba(5, 7, 7, .72);
    color: #fff;
    cursor: pointer;
    transition: background .2s ease, transform .2s ease;
}

.photo-lightbox__nav:hover {
    transform: translateY(-50%) scale(1.08);
    background: var(--copper);
}

.photo-lightbox__nav--previous {
    left: 40px;
}

.photo-lightbox__nav--next {
    right: 40px;
}

.podcast-feature {
    background: var(--paper-bright);
}

.podcast-feature__grid {
    display: grid;
    grid-template-columns: minmax(0, 1.28fr) minmax(330px, .72fr);
    gap: clamp(60px, 8vw, 125px);
    align-items: center;
}

.podcast-feature__image {
    position: relative;
    display: block;
    overflow: hidden;
    box-shadow: 0 26px 65px rgba(16, 15, 12, .17);
}

.podcast-feature__image img {
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    transition: transform .55s ease, filter .35s ease;
}

.podcast-play,
.program-card__image span {
    position: absolute;
    right: 20px;
    bottom: 20px;
    display: inline-flex;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, .3);
    border-radius: 100px;
    padding: 10px 16px;
    background: rgba(7, 9, 9, .82);
    color: white;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    backdrop-filter: blur(8px);
    transition: background .25s ease, transform .25s ease;
}

.podcast-play i,
.program-card__image i {
    width: 0;
    height: 0;
    border-top: 5px solid transparent;
    border-bottom: 5px solid transparent;
    border-left: 8px solid currentColor;
}

.podcast-feature__image:hover img,
.podcast-feature__image:focus-visible img,
.program-card__image:hover img,
.program-card__image:focus-visible img {
    transform: scale(1.035);
    filter: brightness(.82);
}

.podcast-feature__image:hover .podcast-play,
.podcast-feature__image:focus-visible .podcast-play {
    transform: translateY(-4px);
    background: var(--copper);
}

.podcast-platform {
    display: block;
    margin-bottom: 18px;
    color: var(--copper);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
}

.podcast-feature__copy h2 {
    margin: 0 0 17px;
    font-family: var(--serif);
    font-size: clamp(43px, 5vw, 70px);
    font-weight: 400;
    letter-spacing: -.045em;
    line-height: .98;
}

.podcast-feature__copy > p:not(.eyebrow):not(.podcast-creator) {
    margin: 0 0 32px;
    color: var(--muted);
}

.podcast-creator {
    margin: 0 0 20px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .04em;
}

.program-library {
    background: var(--ink);
    color: var(--paper-bright);
}

.program-library__heading > p {
    color: rgba(248, 245, 238, .55);
}

.program-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 55px 22px;
}

.program-card {
    min-width: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .14);
    padding-bottom: 34px;
}

.program-card__image {
    position: relative;
    display: block;
    overflow: hidden;
    margin-bottom: 27px;
    background: #050707;
}

.program-card__image::after {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(4, 6, 6, .56));
    content: "";
    pointer-events: none;
}

.program-card__image img {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    transition: transform .45s ease, filter .35s ease;
}

.program-card__image span {
    z-index: 1;
    right: 13px;
    bottom: 13px;
    padding: 8px 12px;
}

.program-card__body h3 {
    margin: 0 0 12px;
    font-family: var(--serif);
    font-size: clamp(26px, 2.3vw, 34px);
    font-weight: 400;
    letter-spacing: -.025em;
    line-height: 1.05;
}

.program-card__body h3 a {
    transition: color .2s ease;
}

.program-card__body h3 a:hover {
    color: var(--copper-light);
}

.program-card__body > p:not(.podcast-creator) {
    min-height: 82px;
    margin: 0 0 23px;
    color: rgba(248, 245, 238, .63);
    font-size: 14px;
    line-height: 1.65;
}

.program-card .podcast-creator {
    color: rgba(248, 245, 238, .48);
}

.program-card .text-link {
    color: var(--copper-light);
}

@media (max-width: 1080px) {
    .photo-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .podcast-feature__grid {
        gap: 55px;
    }

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

@media (max-width: 800px) {
    .media-hero {
        min-height: 650px;
        padding-top: calc(var(--header-height) + 95px);
    }

    .media-hero__inner {
        grid-template-columns: 1fr;
        gap: 70px;
    }

    .media-hero__intro {
        max-width: 560px;
    }

    .photo-lightbox {
        padding: 12px;
    }

    .photo-lightbox__dialog,
    .photo-lightbox__figure {
        max-height: calc(100vh - 24px);
    }

    .photo-lightbox__image-stage {
        min-height: 0;
        height: min(62vh, 620px);
        padding: 12px;
    }

    .photo-lightbox__image-stage img {
        max-height: 100%;
    }

    .photo-lightbox__close {
        top: 14px;
        right: 14px;
    }

    .photo-lightbox__nav {
        top: min(31vh, 310px);
    }

    .photo-lightbox__nav--previous {
        left: 24px;
    }

    .photo-lightbox__nav--next {
        right: 24px;
    }

    .podcast-feature__grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 640px) {
    .media-hero {
        min-height: 610px;
        padding-bottom: 70px;
    }

    .media-hero h1 {
        font-size: clamp(54px, 17vw, 78px);
    }

    .media-hero--podcasts h1 {
        font-size: clamp(50px, 15vw, 70px);
    }

    .media-hero__inner {
        gap: 52px;
    }

    .photo-archive__heading,
    .program-library__heading {
        display: block;
    }

    .photo-archive__heading > p,
    .program-library__heading > p {
        margin-top: 18px;
    }

    .photo-filters {
        flex-wrap: nowrap;
        overflow-x: auto;
        width: calc(100% + 16px);
        padding-bottom: 8px;
        scrollbar-width: thin;
    }

    .photo-filter {
        flex: 0 0 auto;
    }

    .photo-grid,
    .program-grid {
        grid-template-columns: 1fr;
    }

    .photo-grid {
        gap: 14px;
    }

    .photo-card__button {
        aspect-ratio: 4 / 3;
    }

    .photo-lightbox__image-stage {
        height: 55vh;
    }

    .photo-lightbox__nav {
        top: 27.5vh;
        width: 42px;
        height: 42px;
    }

    .podcast-feature__grid {
        gap: 42px;
    }

    .podcast-play {
        right: 12px;
        bottom: 12px;
    }

    .podcast-feature__copy h2 {
        font-size: 43px;
    }

    .program-card__body > p:not(.podcast-creator) {
        min-height: 0;
    }
}
