/* Homepage hero. Values follow the approved Sites homepage. */

.home-main {
    width: 100%;
}

.hero {
    color: #fff;
}

.hero h1, .hero p {
    margin: 0;
}

.hero .eyebrow {
    color: var(--yellow);
    font-weight: 800;
    text-transform: uppercase;
}

.hero a {
    text-decoration: none;
}

.hero :focus-visible {
    outline-color: var(--yellow);
}

.hero .hero-intro {
    margin-top: var(--space-md);
}

.button--outline-light {
    color: #fff;
    background: transparent;
    border-color: #ffffff5c;
}

.button--outline-light:hover {
    color: var(--yellow);
    background: #ffffff0f;
    border-color: var(--yellow);
}

.hero .button svg {
    width: 19px;
    height: 19px;
}

.hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    background: var(--navy);
}

.hero-photo {
    position: absolute;
    inset: 0 0 0 30%;
    z-index: -3;
    mask-image: linear-gradient(90deg, transparent, #000 35%);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 35%);
}

.hero-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: 50% 48%;
}

.hero-shade {
    position: absolute;
    inset: 0;
    z-index: -2;
    background: linear-gradient(90deg, #191c27 0%, #191c27 24%, #191c27ef 39%, #191c273a 64%, #191c2700 85%), linear-gradient(0deg, #191c27 0%, #191c2730 30%, #191c2700 65%);
}

.hero-main {
    display: flex;
    justify-content: space-between;
    position: relative;
    min-height: 600px;
    padding-top: 48px;
    padding-bottom: 32px;
}

.hero-copy {
    max-width: 650px;
}

.hero-copy .eyebrow {
    display: flex;
    gap: 12px;
    align-items: center;
    font-size: .75rem;
    letter-spacing: .115em;
    margin-bottom: var(--space-sm);
}

.hero-copy .eyebrow > span {
    width: 24px;
    height: 2px;
    background: var(--yellow);
}

.hero h1 {
    font-size: clamp(4.5rem, 6.8vw, 6.5rem);
    line-height: .98;
    letter-spacing: -.055em;
}

.hero h1 > span {
    color: var(--yellow);
}

.hero-intro {
    margin-top: var(--space-md);
    color: #d1d4dd;
    max-width: 480px;
    font-size: 1rem;
    line-height: 1.65;
}

.hero-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

.watch-link {
    color: #fff;
    display: inline-flex;
    gap: 12px;
    height: auto;
    padding: 0;
    margin-top: var(--space-md);
    background: transparent;
    text-align: left;
}

.watch-link:hover {
    background: transparent;
    color: var(--yellow);
}

.watch-link > span:last-child {
    font-size: .875rem;
    font-weight: 700;
}

.watch-link small {
    display: block;
    font-size: .75rem;
    font-weight: 400;
    color: #b7becb;
}

.play-circle {
    border: 1px solid #ffffff6b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: grid;
    place-items: center;
}

.play-circle svg {
    width: 14px;
    height: 14px;
    margin-left: 2px;
}

.hero-side-note {
    align-self: flex-end;
    padding-bottom: 2px;
    text-align: right;
    font-size: .75rem;
    line-height: 1.25;
    letter-spacing: .15em;
    text-shadow: 0 1px 8px #000;
}

.hero-side-note span, .hero-side-note strong {
    display: block;
}

.hero-side-note strong {
    color: var(--yellow);
    margin-top: 2px;
    font-weight: 900;
}

.event-rail {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    position: relative;
}

.rail-event {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-top: 1px solid #ffffff30;
    border-radius: 0;
    color: #fff;
    background: #191c275c;
    padding: 22px 20px 24px;
    height: auto;
    gap: var(--space-sm);
    white-space: normal;
    text-align: center;
}

.rail-event + .rail-event {
    border-left: 1px solid #ffffff26;
}

.rail-event:hover {
    background: #ffffff0f;
    color: var(--yellow);
}

.rail-logo {
    width: 180px;
    height: 100px;
    object-fit: contain;
}

.rail-champions .rail-logo {
    transform: scale(.85);
}

.rail-date {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.rail-date small {
    font-size: .75rem;
    letter-spacing: .055em;
    color: #bfc6d3;
}

.rail-date svg {
    width: 15px;
    height: 15px;
    color: #bfc6d3;
}

/* Align the tagline with the aftermovie caption, including shorter desktop heroes. */
@media (min-width: 1151px) {
    .hero-main {
        display: grid;
        grid-template-columns: auto auto;
        align-content: start;
    }
}

@media (min-width: 1500px) {
    .hero-main {
        min-height: 640px;
    }
}

@media (max-width: 1150px) {
    .hero h1 {
        font-size: 5.5rem;
    }

    .hero-side-note {
        display: none;
    }

    .rail-event {
        padding-inline: 12px;
    }
}

@media (max-width: 900px) {
    .hero-copy {
        max-width: 520px;
    }

    .hero-photo {
        left: 20%;
    }

    .hero-shade {
        background: linear-gradient(90deg, #191c27 0%, #191c27e8 35%, #191c2740 90%), linear-gradient(0deg, #191c27, transparent 80%);
    }

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

    .rail-event {
        padding: 20px 16px;
    }

    .rail-event:nth-child(3) {
        border-left: 0;
    }
}

@media (max-width: 640px) {
    .hero-main {
        padding-top: 48px;
        padding-bottom: 40px;
        min-height: auto;
    }

    .hero-photo {
        inset: 0;
        mask-image: none;
        -webkit-mask-image: none;
    }

    .hero-photo img {
        object-position: 62% center;
    }

    .hero-shade {
        background: linear-gradient(90deg, #191c27e8, #191c279c), linear-gradient(0deg, #191c27 0%, #191c2777 55%, transparent 100%);
    }

    .hero-copy .eyebrow {
        letter-spacing: .1em;
        gap: 9px;
    }

    .hero-copy .eyebrow > span {
        width: 15px;
        flex-shrink: 0;
    }

    .hero h1 {
        font-size: clamp(3.5rem, 12.5vw, 5rem);
        letter-spacing: -.05em;
    }

    .hero-intro {
        font-size: .9375rem;
        max-width: 330px;
    }

    .hero-actions {
        flex-wrap: wrap;
    }

    .hero-actions .button {
        padding: 13px 16px;
        min-height: 49px;
        font-size: .8125rem;
        gap: 11px;
    }

    .event-rail {
        padding-inline: 22px;
        padding-bottom: 12px;
    }

    .rail-event {
        padding: 22px 8px;
    }

    .rail-logo {
        width: 145px;
        height: 86px;
    }

    .rail-date {
        gap: 5px;
    }

    .rail-date small {
        font-size: .6875rem;
        letter-spacing: .02em;
    }

    .rail-date svg {
        width: 12px;
    }
}

/* Shared homepage dialog presentation. Native dialog manages modal focus. */

.ifr-dialog-open {
    overflow: hidden;
}

.ifr-dialog:not([open]) {
    display: none;
}

.ifr-dialog {
    position: fixed;
    width: min(680px, calc(100% - 32px));
    max-width: none;
    max-height: 88svh;
    margin: auto;
    padding: 38px 32px 32px;
    overflow-y: auto;
    color: var(--navy);
    background: var(--canvas);
    border: 1px solid var(--border);
    border-radius: 0;
}

.ifr-dialog::backdrop {
    background: #0b0d14b8;
}

.ifr-dialog h2 {
    margin: 0 0 12px;
    font-size: 2.5rem;
    letter-spacing: -.04em;
    line-height: 1.08;
}

.ifr-dialog p {
    margin: 0;
}

.ifr-dialog > p:not(.dialog-eyebrow):not(.screen-reader-text) {
    color: var(--muted);
}

.dialog-eyebrow {
    margin-bottom: 12px !important;
    color: #706020;
    font-size: var(--type-label);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .1em;
}

.dialog-close {
    position: absolute;
    top: 8px;
    right: 8px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 8px;
    color: inherit;
    background: transparent;
    border: 0;
}

.dialog-close:hover {
    color: #8b6900;
}

.finder-fields {
    display: grid;
    gap: 10px;
    margin-top: var(--space-md);
}

.finder-fields label {
    font-weight: 800;
    font-size: var(--type-label);
}

.finder-fields select {
    width: 100%;
    min-height: 48px;
    padding: 10px 12px;
    color: var(--navy);
    background: var(--canvas);
    border: 1px solid #b8bec8;
    border-radius: 0;
}

.finder-results {
    display: grid;
    gap: 12px;
    margin-top: var(--space-md);
}

.finder-results > .dialog-eyebrow {
    margin: 0 !important;
}

.finder-result {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 18px;
    border: 1px solid var(--border);
    text-decoration: none;
}

.finder-result:hover {
    background: #fff4ce;
    border-color: #c6a440;
}

.finder-result strong, .finder-result small {
    display: block;
}

.finder-result strong {
    font-weight: 800;
}

.finder-result small {
    margin-top: 5px;
    color: var(--muted);
    font-size: var(--type-label);
}

.video-dialog {
    width: min(950px, calc(100% - 32px));
    color: var(--canvas);
    background: var(--navy);
}

.video-dialog > p:not(.dialog-eyebrow):not(.screen-reader-text) {
    color: #b8c0cf;
}

.video-frame {
    aspect-ratio: 16 / 9;
    margin-top: var(--space-md);
    background: var(--deep);
}

.video-frame iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

.video-external-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: var(--space-md);
}

@media (max-width: 640px) {
    .ifr-dialog {
        padding: 42px 23px 24px;
    }

    .ifr-dialog h2 {
        font-size: 1.75rem;
    }

    .finder-result {
        padding: 14px;
    }
}
