/* Jersey-only media and evidence explorer; other segment pages keep their layout. */
.jersey-hero {
    aspect-ratio: 16 / 9;
}
.jersey-hero-stage {
    position: absolute;
    inset: 0;
}
.jersey-hero .seg-hero-inner {
    position: absolute;
    inset: 0;
    width: 100%;
    max-width: 1280px;
    min-height: 0;
    padding: clamp(32px, 6vw, 88px);
    pointer-events: none;
}
.jersey-hero .seg-hero-body {
    max-width: 45%;
    pointer-events: auto;
}
.jersey-hero h1 {
    font-size: clamp(1.9rem, 3.3vw, 3rem);
}
.jersey-hero::after {
    pointer-events: none;
    background: linear-gradient(90deg, rgba(7, 26, 48, .92), rgba(7, 26, 48, .72) 42%, rgba(7, 26, 48, .12) 65%, transparent 100%);
}
.jersey-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: contain;
}
.jersey-hero[data-enhanced] .jersey-hero-video {
    opacity: 0;
}
.jersey-hero[data-enhanced].is-video-ready .jersey-hero-video {
    opacity: 1;
}
.jersey-hero[data-enhanced] {
    cursor: pointer;
}
.jersey-video-toggle {
    position: absolute;
    z-index: 2;
    right: 24px;
    bottom: 24px;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 10px 17px;
    border: 1px solid rgba(255, 255, 255, .55);
    border-radius: var(--radius-pill);
    color: white;
    background: rgba(7, 26, 48, .84);
    font-size: 14px;
    font-weight: 600;
}
.jersey-video-toggle:hover { background: var(--navy); }
.jersey-video-toggle[hidden], .jersey-video-toggle svg[hidden] { display: none; }

.jersey-evidence { margin-top: 32px; }
.jersey-evidence-hint { font-size: 14px; color: var(--slate); }
.jersey-evidence-tools {
    display: flex;
    align-items: end;
    flex-wrap: wrap;
    gap: 16px;
    margin: 20px 0;
}
.jersey-evidence-tools[hidden] { display: none; }
.jersey-evidence-search { flex: 1 1 340px; }
.jersey-evidence-search label {
    display: block;
    margin-bottom: 7px;
    color: var(--navy);
    font-size: 14px;
    font-weight: 600;
}
.jersey-evidence-search input {
    width: 100%;
    min-height: 48px;
    padding: 12px 16px;
    border: 1px solid #aab9c8;
    border-radius: 10px;
    background: white;
    color: var(--navy);
    font: inherit;
    font-size: 15px;
}
.jersey-evidence-search input:focus-visible {
    outline: 2px solid var(--blurple);
    outline-offset: 3px;
}
.jersey-evidence-expand {
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid var(--hairline);
    border-radius: 10px;
    background: white;
    color: var(--blurple-deep);
    font-size: 14px;
    font-weight: 600;
}
.jersey-evidence-expand:hover { border-color: var(--blurple); }
.jersey-evidence-expand:disabled { opacity: .5; cursor: default; }
.jersey-evidence-count {
    flex: 0 0 100%;
    font: 12px var(--font-mono);
    color: var(--slate);
}
.jersey-obligations { margin-top: 20px; }
.jersey-obligation {
    margin-top: 12px;
    border: 1px solid var(--hairline);
    border-radius: 14px;
    background: white;
    box-shadow: var(--shadow-card);
}
.jersey-obligation[open] { border-color: #c3befb; }
.jersey-obligation summary {
    display: grid;
    grid-template-columns: 30px minmax(0, 1fr) 150px 20px;
    gap: 18px;
    align-items: center;
    padding: 24px;
    list-style: none;
    cursor: pointer;
}
.jersey-obligation summary::-webkit-details-marker { display: none; }
.jersey-obligation summary:hover { background: rgba(var(--blurple-rgb), .035); border-radius: 14px; }
.jersey-obligation-number { font: 12px var(--font-mono); color: var(--blurple-deep); }
.jersey-obligation-question { color: var(--navy); font-size: 16px; font-weight: 600; line-height: 1.5; }
.jersey-obligation-module { color: var(--blurple-deep); font-size: 12px; font-weight: 600; }
.jersey-obligation-chevron { color: var(--blurple-deep); transition: transform .18s ease; }
.jersey-obligation[open] .jersey-obligation-chevron { transform: rotate(180deg); }
.jersey-obligation-answer {
    margin: 0 24px 24px 72px;
    padding: 4px 0 4px 20px;
    border-left: 2px solid var(--emerald);
    font-size: 15px;
}
.jersey-evidence-empty {
    margin-top: 20px;
    padding: 24px;
    border-radius: 14px;
    background: white;
}
.jersey-evidence-empty button {
    border: 0;
    background: none;
    color: var(--blurple-deep);
    font: inherit;
    text-decoration: underline;
}

@media (max-width: 1000px) {
    /* Keep the entire 16:9 film visible on small screens; copy flows underneath. */
    .jersey-hero { aspect-ratio: auto; }
    .jersey-hero-stage { position: relative; aspect-ratio: 16 / 9; }
    .jersey-hero::after { display: none; }
    .jersey-hero .seg-hero-inner { position: relative; padding: 36px 24px 44px; }
    .jersey-hero .seg-hero-body { max-width: 690px; }
    .jersey-hero h1 { font-size: clamp(2rem, 4.5vw, 2.7rem); }
    .jersey-video-toggle { right: 16px; bottom: 16px; }
}
@media (max-width: 640px) {
    .jersey-obligation summary { grid-template-columns: 24px minmax(0, 1fr) 20px; gap: 12px; padding: 20px 16px; }
    .jersey-obligation-module { grid-column: 2; grid-row: 2; }
    .jersey-obligation-chevron { grid-column: 3; grid-row: 1; }
    .jersey-obligation-answer { margin: 0 16px 20px 52px; padding-left: 14px; }
    .jersey-evidence-search { flex-basis: 100%; }
    .jersey-evidence-count { flex: 1; align-self: center; text-align: right; }
}
@media (prefers-reduced-motion: reduce) {
    .jersey-obligation-chevron { transition: none; }
}
