/* Header 10: Tab Strip — Logo top + category tabs + breaking */

.h10-header {
    background: var(--color-surface);
    position: sticky; top: 0; z-index: 200;
    box-shadow: 0 2px 12px rgba(0,0,0,.08);
}

/* ── Top row ── */
.h10-top {
    padding: 14px 0;
    border-bottom: 1px solid var(--color-border);
}
.h10-top .container {
    display: flex; align-items: center; justify-content: space-between; gap: 16px;
}
.h10-brand { display: flex; flex-direction: column; gap: 3px; }
.h10-brand__name {
    font-size: clamp(1.3rem, 2.5vw, 1.9rem); font-weight: 900;
    color: var(--color-secondary); text-decoration: none;
    letter-spacing: -.03em; line-height: 1; transition: opacity .2s;
}
.h10-brand__name:hover { opacity: .8; }
.h10-brand__tagline { font-size: .6rem; color: var(--color-muted); letter-spacing: .06em; text-transform: uppercase; }
.h10-brand .custom-logo { max-height: 44px; width: auto; }

.h10-toggle {
    display: none; background: none; border: none; cursor: pointer;
    color: var(--color-text); padding: 8px; border-radius: 6px; transition: background .2s;
}
.h10-toggle:hover { background: var(--color-bg); }
.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;
}

/* ── Tab strip ── */
.h10-tabs { background: var(--color-nav-bg); }
.h10-tabs__track {
    display: flex; overflow-x: auto; scrollbar-width: none;
}
.h10-tabs__track::-webkit-scrollbar { display: none; }
.h10-tabs__tab {
    display: flex; align-items: center; gap: 6px;
    padding: 12px 20px; color: rgba(255,255,255,.55);
    font-size: .8rem; font-weight: 600; white-space: nowrap;
    text-decoration: none; flex-shrink: 0;
    border-bottom: 3px solid transparent;
    transition: color .2s, border-color .2s, background .2s;
}
.h10-tabs__tab:hover { color: #fff; border-bottom-color: var(--color-primary); background: rgba(255,255,255,.06); }
.h10-tabs__tab.is-active { color: #fff; border-bottom-color: var(--color-primary); background: rgba(255,255,255,.08); }
.h10-tabs__tab svg { flex-shrink: 0; opacity: .7; }

/* ── Breaking bar ── */
.h10-breaking {
    background: var(--color-breaking-bg); color: var(--color-breaking-text);
    padding: 7px 0; overflow: hidden;
}
.h10-breaking .container { display: flex; align-items: center; gap: 12px; overflow: hidden; }
.h10-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: h10-pulse 2s ease-in-out infinite;
}
@keyframes h10-pulse { 0%,100%{opacity:1} 50%{opacity:.7} }
.h10-breaking__ticker { flex: 1; overflow: hidden; }
.h10-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;
}
.h10-breaking__list:hover { animation-play-state: paused; }
.h10-breaking__list a { color: var(--color-breaking-text); text-decoration: none; }
.h10-breaking__list a:hover { text-decoration: underline; }
@keyframes ticker-scroll { 0%{transform:translateX(0)} 100%{transform:translateX(-50%)} }

/* ── Responsive ── */
@media (max-width: 768px) {
    .h10-toggle { display: flex; }
    .h10-tabs__track {
        display: none; flex-direction: column; overflow-x: visible;
    }
    .h10-tabs__track.is-open { display: flex; }
    .h10-tabs__tab {
        border-bottom: 1px solid rgba(255,255,255,.07);
        border-left: 3px solid transparent; padding: 13px 20px;
    }
    .h10-tabs__tab:hover, .h10-tabs__tab.is-active {
        border-bottom: 1px solid rgba(255,255,255,.07);
        border-left-color: var(--color-primary);
    }
}
@media (max-width: 480px) {
    .h10-top .container { flex-wrap: wrap; }
    .h10-brand__name { font-size: 1.2rem; }
}
