/* Gene Dilsaver on the Internet — faithful remake of the original single page.
   Original look: full-bleed US flag photo background, blue heading with a red
   shadow, photo left with two pill buttons under it, two video players right. */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body {
    font-family: Arial, Helvetica, sans-serif;
    min-height: 100vh;
    background: #1b2a4a;
}

/* Flag background on a fixed layer, so it stays put while the page scrolls.
   (background-attachment: fixed alone is ignored by some mobile browsers;
   a position:fixed layer works everywhere.) */
body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: -1;
    background: url("assets/american-flag-background.jpg") center / cover no-repeat;
}

.page {
    max-width: 1020px;
    margin: 0 auto;
    padding: 20px 16px 48px;
}

/* Heading — blue with red shadow, directly on the flag (no background box).
   A soft white halo keeps it readable over the blue field without a box. */
.site-header {
    padding: 4px 16px 0;
    text-align: center;
}

.site-header h1 {
    margin: 0;
    font-size: clamp(1.8rem, 4.8vw, 2.8rem);
    font-weight: 900;
    letter-spacing: 0.02em;
    color: #0d2a8a;
    /* Same blue-with-red-shadow style, made easier to read over the flag:
       a crisp thin white outline around each letter plus a stronger soft
       white glow behind it. No background box. */
    -webkit-text-stroke: 1px rgba(255, 255, 255, 0.7);
    text-shadow:
        4px 4px 0 #c8102e,
        -2px 0 0 rgba(255, 255, 255, 0.95),
        2px 0 0 rgba(255, 255, 255, 0.95),
        0 -2px 0 rgba(255, 255, 255, 0.95),
        0 2px 0 rgba(255, 255, 255, 0.95),
        0 0 14px rgba(255, 255, 255, 0.95),
        0 0 30px rgba(255, 255, 255, 0.8);
}

/* Two columns */
.content {
    display: flex;
    gap: 28px;
    align-items: flex-start;
    justify-content: center;
    margin-top: 26px;
}

.left {
    flex: 0 1 341px;
    min-width: 0;
}

.portrait {
    display: block;
    width: 100%;
    height: auto;
    border-radius: 4px;
    /* Blurred shadow on the top, bottom and left edges only (right edge
       stays clean) — the photo sits on the left of the page. Strengthened
       2026-11-09: larger offsets, wider blur, darker. */
    box-shadow:
        0 -24px 44px -6px rgba(0, 0, 0, 0.78),
        0 30px 52px -6px rgba(0, 0, 0, 0.82),
        -28px 0 44px -6px rgba(0, 0, 0, 0.78);
}

/* Buttons under the photo */
.buttons {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.btn {
    flex: 1 1 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 12px 10px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.98rem;
    line-height: 1.2;
    text-decoration: none;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.35);
}

.btn-hof {
    background: #ffd400;
    color: #000;
}

.btn-hof:hover, .btn-hof:focus-visible { background: #ffdf33; }

.btn-obituary {
    background: #000;
    color: #fff;
}

.btn-obituary:hover, .btn-obituary:focus-visible { background: #222; }

.btn:focus-visible {
    outline: 3px solid #fff;
    outline-offset: 2px;
}

/* Videos — stacked, black players like the original */
.videos {
    flex: 1 1 590px;
    max-width: 590px;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.video {
    position: relative;
    aspect-ratio: 16 / 9;
    background: #000;
    border-radius: 4px;
    overflow: hidden;
    /* Same shadow style as the photo, mirrored: the embeds sit on the
       right of the page, so their side shadow is on the right edge
       instead of the left (top and bottom the same, same strengthened
       settings as the photo). */
    box-shadow:
        0 -24px 44px -6px rgba(0, 0, 0, 0.78),
        0 30px 52px -6px rgba(0, 0, 0, 0.82),
        28px 0 44px -6px rgba(0, 0, 0, 0.78);
}

.video iframe {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* Mobile: stack photo/buttons above the videos, centred */
@media (max-width: 760px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .left { flex-basis: auto; width: min(341px, 100%); }
    .videos { flex-basis: auto; width: 100%; }
    /* Background stays fixed on mobile too — it lives on body::before. */
}
