/* Header 8: Broadsheet — Huge centered serif logo + full-width nav */

.h8-header {
    background: var(--color-surface);
    border-bottom: 3px double var(--color-secondary);
}

/* ── Masthead ── */
.h8-masthead {
    padding: 28px 0 20px;
    border-bottom: 1px solid var(--color-border);
    text-align: center;
}
.h8-masthead .container { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.h8-masthead__name {
    font-size: clamp(2.4rem, 6vw, 4.5rem); font-weight: 900;
    color: var(--color-secondary); text-decoration: none;
    letter-spacing: -.04em; line-height: 1;
    font-family: Georgia, 'Times New Roman', serif;
    transition: opacity .2s;
}
.h8-masthead__name:hover { opacity: .8; }
.h8-masthead .custom-logo { max-height: 72px; width: auto; }
.h8-masthead__tagline {
    font-size: .65rem; color: var(--color-muted); font-style: italic;
    letter-spacing: .06em; margin: 0;
    border-top: 1px solid var(--color-border); padding-top: 8px; width: 100%; text-align: center;
}

/* ── Full-width nav ── */
.h8-nav { background: var(--color-nav-bg); }
.h8-nav .container { display: flex; align-items: center; }
.h8-nav__menu {
    display: flex; align-items: center;
    overflow-x: auto; scrollbar-width: none; width: 100%;
}
.h8-nav__menu::-webkit-scrollbar { display: none; }
.h8-nav__item {
    display: block; padding: 13px 20px;
    color: var(--color-nav-text); font-size: .72rem; font-weight: 800;
    text-decoration: none; white-space: nowrap; text-transform: uppercase;
    letter-spacing: .1em; border-right: 1px solid rgba(255,255,255,.08);
    transition: background .2s, color .2s;
}
.h8-nav__item:first-child { border-left: 1px solid rgba(255,255,255,.08); }
.h8-nav__item:hover { background: rgba(255,255,255,.1); }
.h8-nav__item.is-active { background: var(--color-primary); color: var(--color-btn-text); }

.nav-toggle {
    display: none; background: none; border: none; cursor: pointer;
    color: var(--color-nav-text); padding: 12px 16px; align-items: center;
}
.hamburger-icon { display: flex; flex-direction: column; gap: 5px; }
.hamburger-icon span {
    display: block; width: 22px; height: 2px;
    background: currentColor; border-radius: 2px; transition: transform .25s, opacity .25s;
}

/* ── Breaking bar ── */
.h8-breaking {
    background: var(--color-primary); color: var(--color-btn-text);
    padding: 7px 0; overflow: hidden;
}
.h8-breaking .container { display: flex; align-items: center; gap: 12px; overflow: hidden; }
.h8-breaking__badge {
    flex-shrink: 0; font-size: .6rem; font-weight: 900;
    letter-spacing: .14em; text-transform: uppercase;
    background: rgba(0,0,0,.2); padding: 3px 10px; border-radius: 2px;
    animation: h8-pulse 2s ease-in-out infinite;
}
@keyframes h8-pulse { 0%,100%{opacity:1} 50%{opacity:.7} }
.h8-breaking__ticker { flex: 1; overflow: hidden; }
.h8-breaking__list {
    display: flex; gap: 48px; list-style: none; white-space: nowrap;
    animation: ticker-scroll 32s linear infinite; font-size: .8rem; margin: 0; padding: 0;
}
.h8-breaking__list:hover { animation-play-state: paused; }
.h8-breaking__list a { color: var(--color-btn-text); text-decoration: none; }
.h8-breaking__list a:hover { text-decoration: underline; }
@keyframes ticker-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── Responsive ── */
@media (max-width: 768px) {
    .h8-masthead { padding: 18px 0 14px; }
    .nav-toggle { display: flex; }
    .h8-nav__menu {
        display: none; flex-direction: column; align-items: stretch;
        position: absolute; top: 100%; left: 0; right: 0; z-index: 200;
        background: var(--color-nav-bg); box-shadow: 0 8px 24px rgba(0,0,0,.2);
    }
    .h8-nav__menu.is-open { display: flex; }
    .h8-nav { position: relative; }
    .h8-nav__item { border-right: none; border-bottom: 1px solid rgba(255,255,255,.08); }
    .h8-nav__item:first-child { border-left: none; }
}
@media (max-width: 480px) {
    .h8-masthead__name { font-size: 2rem; }
}
