/* WEBINAR PLAYBACK */

.page-intro {
    width: 100%;
    margin: 0 auto 2rem;
    text-align: center;
}

.page-intro h1 {
    max-width: 760px;
    margin: 0 auto;
    padding: 1rem 1.25rem;

    color: var(--text);
    background: var(--brand-grey);
    border: 1px solid rgba(225, 225, 225, .35);
    border-radius: .75rem;

    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: clamp(1.8rem, 3.4vw, 2.7rem);
    font-weight: 700;
    line-height: 1.15;

    overflow-wrap: anywhere;
    box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .35);
}

.content-type {
    margin-bottom: .75rem;

    color: var(--brand-yellow);
    font-size: .9rem;
    font-weight: 700;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.playback-section {
    margin: 0 auto 2rem;
    text-align: center;
}

.video-frame {
    position: relative;

    width: 100%;
    aspect-ratio: 16 / 9;
    margin: 0 auto;

    overflow: hidden;
    background: var(--brand-black);

    border: 2px solid rgba(225, 225, 225, .55);
    border-radius: .75rem;
    box-shadow: 0 .75rem 1.75rem rgba(0, 0, 0, .45);
}

.video-frame video {
    display: block;
    width: 100%;
    height: 100%;

    background: var(--brand-black);
    object-fit: contain;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;

    display: grid;
    place-items: center;

    width: 5rem;
    height: 5rem;
    padding: 0;

    color: var(--brand-white);
    background: var(--brand-dark-blue);

    border: 3px solid var(--brand-white);
    border-radius: 50%;

    transform: translate(-50%, -50%);

    cursor: pointer;
    box-shadow: 0 .4rem 1rem rgba(0, 0, 0, .5);

    transition:
        transform .15s ease,
        background-color .15s ease;
}

.video-play-button[hidden] {
    display: none !important;
}

.video-play-button span {
    display: block;
    width: 0;
    height: 0;

    transform: translateX(.15rem);

    border-top: .8rem solid transparent;
    border-bottom: .8rem solid transparent;
    border-left: 1.25rem solid var(--brand-white);
}

.video-play-button:hover,
.video-play-button:focus-visible {
    background: var(--brand-blue);
    transform: translate(-50%, -50%) scale(1.06);
}

.video-play-button:focus-visible {
    outline: 3px solid var(--brand-yellow);
    outline-offset: 3px;
}

.playback-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: .65rem;

    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.meta-box {
    padding: .4rem .75rem;

    color: var(--text);
    background: var(--brand-grey);
    border: 1px solid rgba(225, 225, 225, .35);
    border-radius: .4rem;

    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: .8rem;
    line-height: 1.3;
}

.meta-box strong {
    color: var(--brand-yellow);
    font-weight: 700;
}

.summary-section {
    width: 100%;
    margin: 0 auto 2rem;
    text-align: left;
}

.summary-section h2,
.transcript-panel h2 {
    margin: 0 0 1rem;

    color: var(--text);
    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    line-height: 1.2;
}

.page-description {
    width: 100%;
    margin: 0;
    padding: 1rem 1.25rem;

    color: var(--text);
    background: var(--brand-grey);
    border: 1px solid rgba(225, 225, 225, .35);
    border-radius: .75rem;

    font-family: "Inter", Arial, Helvetica, sans-serif;
    font-size: 1.05rem;
    line-height: 1.7;
    text-align: left;

    box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .35);
}

.transcript-panel {
    width: 100%;
    margin: 0 auto;
    padding: clamp(1.25rem, 3vw, 2.5rem);

    color: var(--text);
    background: var(--brand-grey);
    border: 1px solid rgba(225, 225, 225, .35);
    border-radius: .75rem;

    box-shadow: 0 .8rem 2rem rgba(0, 0, 0, .35);
}

.transcript-panel h2 {
    padding-bottom: .75rem;
    border-bottom: 4px solid var(--brand-blue);
}

.transcript-content {
    line-height: 1.7;
    white-space: pre-wrap;
    overflow-wrap: anywhere;
}

.transcript-content p:first-child {
    margin-top: 0;
}

.transcript-content p:last-child {
    margin-bottom: 0;
}

@media (max-width: 640px) {
    main {
        margin-top: 1rem;
    }

    .page-intro {
        margin-bottom: 1.5rem;
    }

    .page-intro h1 {
        padding: .9rem 1rem;
    }

    .video-frame,
    .page-description,
    .transcript-panel {
        border-radius: .5rem;
    }

    .video-play-button {
        width: 4.25rem;
        height: 4.25rem;
    }

    .transcript-panel {
        padding: 1.25rem;
    }
}
