:root {
    --bg: #f2f2f2;
    --panel: #ffffff;
    --navy: #005fb8;
    --navy-soft: #0068c9;
    --red: #9d220f;
    --red-deep: #7d180b;
    --gold: #c9a34d;
    --text: #2b2b2b;
    --muted: #787878;
    --line: rgba(0, 0, 0, 0.06);
    --shadow: 0 8px 22px rgba(0, 0, 0, 0.04);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: "Source Sans 3", sans-serif;
    color: var(--text);
    background: var(--bg);
}

.topbar {
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.72), rgba(255, 255, 255, 0.58));
    border-bottom: 1px solid #d8d8d8;
    padding-bottom: 10px;
}

.topbar::after {
    content: "";
    position: absolute;
    inset: 0 0 0 auto;
    width: min(520px, 42vw);
    background-image: linear-gradient(90deg, rgba(242, 242, 242, 0) 0%, rgba(242, 242, 242, 0.22) 20%, rgba(242, 242, 242, 0.4) 100%), url("editores-ox2f.png");
    background-repeat: no-repeat;
    background-position: 146px -43px;
    background-size: auto 305%;
    opacity: 0.52;
    pointer-events: none;
}

.topbar-inner {
    width: min(1440px, calc(100% - 12px));
    margin: 0 auto;
    min-height: 88px;
    display: flex;
    align-items: center;
    padding: 0 8px;
    position: relative;
    z-index: 1;
}

.topbar-logo {
    width: 220px;
    display: block;
}

.landing {
    width: min(1440px, calc(100% - 12px));
    margin: 0 auto;
    min-height: 100vh;
    display: grid;
    grid-template-columns: 402px minmax(0, 1fr);
    gap: 14px;
    align-items: stretch;
    padding: 6px 0;
}

.content-panel,
.player-panel {
    position: relative;
}

.player-panel {
    display: flex;
    flex-direction: column;
    align-items: center;
    /* justify-content: center; */
}

.content-panel {
    min-height: 470px;
    padding: 40px 18px 20px;
    border: 0;
    border-radius: 0;
    background: #f7f7f5;
    box-shadow: 0 0 0 1px rgba(157, 34, 15, 0.05);
    display: flex;
    flex-direction: column;
    /* justify-content: center; */
}

h1,
h2 {
    margin: 0;
    font-family: "Cinzel", serif;
    color: var(--red);
    line-height: 1.05;
}

h1 {
    font-size: clamp(3rem, 2.4vw, 2.7rem);
    text-align: left;
}

.lead {
    margin: 18px 0 0;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--navy-soft);
    text-align: left;
}

.lead-highlight {
    color: var(--red);
}

.thumb-grid {
    margin-top: 18px;
    display: grid;
    grid-template-columns: minmax(0, 1fr);
    gap: 8px;
}

.thumb-card {
    padding: 7px;
    border: 1px solid rgba(157, 34, 15, 0.14);
    border-radius: 0;
    background: #fcfcfc;
    color: var(--text);
    text-align: left;
    cursor: pointer;
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
    display: grid;
    grid-template-columns: 128px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
}

.thumb-card:disabled {
    cursor: not-allowed;
}

.thumb-card:hover,
.thumb-card:focus-visible,
.thumb-card.is-active {
    transform: translateY(-2px);
    border-color: var(--red);
    box-shadow: 0 10px 18px rgba(0, 0, 0, 0.08);
    outline: none;
}

.thumb-card img {
    width: 100%;
    display: block;
    border-radius: 0;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    margin-bottom: 0;
}

.thumb-copy {
    display: block;
}

.thumb-copy strong {
    display: block;
    color: var(--red);
    font-size: 0.9rem;
    letter-spacing: 0.04em;
}

.thumb-copy span {
    display: block;
    margin-top: 4px;
    font-size: 0.82rem;
    line-height: 1.25;
    color: var(--text);
}

.thumb-copy small {
    display: block;
    margin-top: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    color: var(--navy-soft);
}

.thumb-copy em {
    display: block;
    margin-top: 6px;
    font-size: 0.72rem;
    font-style: normal;
    color: var(--muted);
}

.thumb-card.is-locked {
    opacity: 0.66;
}

.thumb-card.is-locked:hover,
.thumb-card.is-locked:focus-visible {
    transform: none;
    border-color: rgba(157, 34, 15, 0.18);
    box-shadow: none;
}

.video-frame {
    width: 100%;
    min-height: 470px;
    padding: 8px;
    border-radius: 0;
    background: #f3f3f3;
    border: 0;
    box-shadow: none;
    display: flex;
    align-items: center;
}

.video-player {
    width: 100%;
    position: relative;
}

.video-play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 88px;
    height: 88px;
    border: 0;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.62);
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: opacity 180ms ease, visibility 180ms ease, transform 180ms ease;
}

.video-play-button span {
    width: 0;
    height: 0;
    border-top: 14px solid transparent;
    border-bottom: 14px solid transparent;
    border-left: 22px solid #ffffff;
    margin-left: 6px;
}

.video-play-button:hover,
.video-play-button:focus-visible {
    transform: translate(-50%, -50%) scale(1.04);
    background: rgba(0, 0, 0, 0.74);
    outline: none;
}

.video-play-button.is-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

video {
    width: 100%;
    display: block;
    border-radius: 0;
    border: 0;
    background: #000000;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    cursor: pointer;
}

@media (max-width: 920px) {
    .landing {
        grid-template-columns: 1fr;
        width: min(100%, calc(100% - 12px));
        padding: 6px 0 12px;
    }

    .content-panel {
        min-height: auto;
        padding: 20px 16px;
    }

    .video-frame {
        min-height: auto;
        padding: 6px;
    }

    .topbar-inner {
        min-height: 60px;
    }

    .topbar-logo {
        width: 190px;
    }
}

@media (max-width: 680px) {
    .thumb-grid {
        gap: 6px;
    }

    .thumb-card {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 5px;
        gap: 6px;
    }

    .thumb-card img {
        max-width: 120px;
        margin: 0 auto;
    }

    .thumb-copy strong {
        font-size: 0.78rem;
    }

    .thumb-copy span {
        margin-top: 2px;
        font-size: 0.72rem;
        line-height: 1.18;
    }

    .thumb-copy small,
    .thumb-copy em {
        margin-top: 4px;
        font-size: 0.66rem;
    }

    h1 {
        font-size: 2.3rem;
        text-align: center;
    }

    .lead {
        font-size: 1.08rem;
        text-align: center;
    }
}
