:root {
    --ink: #172033;
    --muted: #667085;
    --red: #c31722;
    --gold: #f5b32f;
    --line: #e5e7eb;
    --bg: #f5f6f8;
}

* { box-sizing: border-box; }
body { margin: 0; font-family: Arial, Helvetica, sans-serif; color: var(--ink); background: var(--bg); }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: 80%; max-width: none; margin: 0 auto; }
.topbar { background: #111827; color: #fff; font-size: 13px; }
.topbar-inner { min-height: 38px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.socials { display: flex; gap: 14px; color: #d1d5db; }
.site-header { background: #fff; border-bottom: 1px solid var(--line); }
.brand-row { min-height: 152px; display: flex; align-items: center; justify-content: space-between; gap: 24px; }
.brand { display: flex; align-items: center; gap: 8px; min-width: 0; }
.brand-mark { width: 110px; height: 110px; object-fit: contain; flex: 0 0 auto; }
.brand-wordmark { width: auto; height: 110px; max-width: min(650px, 48vw); object-fit: contain; flex: 0 1 auto; }
.search { display: flex; width: min(360px, 100%); border: 1px solid var(--line); border-radius: 4px; overflow: hidden; background: #fff; }
.search input { flex: 1; border: 0; padding: 12px; min-width: 0; }
.search button { border: 0; background: var(--red); color: #fff; padding: 0 18px; cursor: pointer; }
.nav { background: #050505; color: #fff; }
.main-menu, .sub-menu { margin: 0; padding: 0; list-style: none; }
.main-menu { display: flex; flex-wrap: wrap; }
.main-menu > li { position: relative; }
.main-menu a { display: block; padding: 15px 14px; font-weight: 700; font-size: 13px; }
.main-menu li:hover > a { background: rgba(0,0,0,.18); }
.main-menu > .menu-tv-item { margin-left: auto; display: flex; align-items: center; }
.main-menu > .menu-tv-item > .menu-tv-button {
    display: flex;
    align-items: center;
    gap: 9px;
    margin: 8px 0;
    padding: 8px 13px;
    border-radius: 5px;
    background: #fff;
    color: #c31722;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,.22), 0 0 0 rgba(255,255,255,.4);
    animation: liveButtonGlow 1.8s ease-in-out infinite;
}
.main-menu > .menu-tv-item:hover > .menu-tv-button { background: #fff; color: #9f111a; }
.live-icon {
    position: relative;
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    border-radius: 50%;
    background: #c31722;
}
.live-icon::before,
.live-icon::after {
    content: "";
    position: absolute;
    inset: -5px;
    border: 2px solid #c31722;
    border-radius: 50%;
    opacity: .75;
    animation: livePulse 1.4s ease-out infinite;
}
.live-icon::after { animation-delay: .45s; }
.live-icon { box-shadow: inset 0 0 0 5px #fff; }
.sub-menu { display: none; position: absolute; z-index: 20; min-width: 230px; background: #fff; color: var(--ink); box-shadow: 0 18px 38px rgba(15,23,42,.18); }
.sub-menu .sub-menu { left: 100%; top: 0; }
.main-menu li:hover > .sub-menu { display: block; }
.sub-menu a { padding: 11px 14px; border-bottom: 1px solid var(--line); font-weight: 600; }
.ticker { background: #fff; border-bottom: 1px solid var(--line); }
.ticker-inner { display: flex; align-items: center; gap: 18px; min-height: 48px; }
.ticker strong { color: var(--red); }
.ticker a { margin-right: 28px; color: var(--ink); }
.hero { background: linear-gradient(135deg, #151922, #2a3140); padding: 28px 0; }
.hero-grid { display: grid; grid-template-columns: 1fr 280px; gap: 24px; align-items: stretch; }
.hero-card { min-height: 420px; background: #000; overflow: hidden; border-radius: 6px; position: relative; }
.hero-card a, .hero-card img { height: 100%; }
.hero-card img { width: 100%; object-fit: cover; opacity: .72; }
.hero-card span, .hero-card h1 { position: absolute; left: 28px; right: 28px; color: #fff; }
.hero-card span { bottom: 118px; width: fit-content; background: var(--gold); color: #111; padding: 7px 10px; border-radius: 3px; font-weight: 700; }
.hero-card h1 { bottom: 20px; margin: 0; max-width: 820px; font-size: clamp(28px, 5vw, 52px); line-height: 1.05; }
.quick-links { display: grid; gap: 12px; }
.quick-links a { background: #fff; border-left: 5px solid var(--gold); border-radius: 5px; padding: 22px; font-weight: 800; box-shadow: 0 8px 22px rgba(0,0,0,.18); }
.section { padding: 34px 0; }
.section h2, .page h1 { margin: 0 0 18px; font-size: 26px; border-left: 6px solid var(--red); padding-left: 12px; }
.news-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.news-card { background: #fff; border: 1px solid var(--line); border-radius: 6px; overflow: hidden; }
.news-card img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; background: #ddd; }
.news-card div { padding: 14px; }
.news-card span { color: var(--red); font-size: 12px; font-weight: 800; text-transform: uppercase; }
.news-card h3 { margin: 8px 0; font-size: 18px; line-height: 1.25; }
.news-card p { color: var(--muted); margin: 0; font-size: 13px; }
.mini-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.mini-card { display: grid; grid-template-columns: 112px 1fr; gap: 12px; align-items: center; background: #fff; border: 1px solid var(--line); border-radius: 6px; padding: 10px; }
.mini-card img { width: 112px; height: 76px; object-fit: cover; border-radius: 4px; grid-row: span 2; }
.mini-card small { color: var(--muted); }
.page { background: #fff; min-height: 520px; margin-top: 28px; margin-bottom: 28px; padding: 30px; border: 1px solid var(--line); border-radius: 6px; }
.article .crumb { color: var(--red); font-weight: 800; }
.meta { color: var(--muted); margin-bottom: 18px; }
.article-image { width: 100%; max-height: 520px; object-fit: cover; border-radius: 6px; margin: 18px 0; }
.body { line-height: 1.7; font-size: 16px; }
.body img { height: auto; }
.footer { background: #161b24; color: #e5e7eb; padding: 38px 0; }
.footer-grid { display: grid; grid-template-columns: 1.2fr 1fr 1fr; gap: 28px; }
.footer-logo { width: 92px; margin-bottom: 12px; }
.footer .main-menu { display: block; }
.footer .main-menu a { padding: 5px 0; font-weight: 400; }
.footer .sub-menu { display: none; }
.footer .main-menu > .menu-tv-item { margin-left: 0; display: block; }
.footer .main-menu > .menu-tv-item > .menu-tv-button { display: inline-flex; margin: 8px 0 0; padding: 8px 10px; }

@keyframes livePulse {
    0% { transform: scale(.55); opacity: .7; }
    100% { transform: scale(1.7); opacity: 0; }
}

@keyframes liveButtonGlow {
    0%, 100% { box-shadow: 0 0 0 rgba(255,255,255,0); }
    50% { box-shadow: 0 0 18px rgba(255,255,255,.42); }
}

@media (max-width: 900px) {
    .container { width: calc(100% - 32px); }
    .brand-row, .topbar-inner { align-items: flex-start; flex-direction: column; padding: 16px 0; }
    .brand { width: 100%; }
    .brand-wordmark { width: auto; height: 110px; max-width: calc(100vw - 166px); }
    .hero-grid, .footer-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .mini-grid { grid-template-columns: 1fr; }
    .main-menu { display: block; }
    .main-menu > .menu-tv-item { margin-left: 0; display: block; }
    .main-menu > .menu-tv-item > .menu-tv-button { margin: 8px 0; width: fit-content; }
    .sub-menu { position: static; display: block; box-shadow: none; background: rgba(255,255,255,.08); color: #fff; }
}

@media (max-width: 560px) {
    .news-grid { grid-template-columns: 1fr; }
    .brand { gap: 6px; }
    .brand-mark { width: 82px; height: 82px; }
    .brand-wordmark { width: auto; height: 82px; max-width: calc(100vw - 134px); }
    .mini-card { grid-template-columns: 88px 1fr; }
    .mini-card img { width: 88px; height: 66px; }
    .hero-card { min-height: 340px; }
}
