:root {
    --bg: #101113;
    --bg-soft: #17181c;
    --panel: rgba(28, 29, 34, 0.95);
    --panel-2: rgba(21, 22, 26, 0.96);
    --text: #f5f5f5;
    --muted: #b7b7bc;
    --line: rgba(255,255,255,0.08);
    --shadow: 0 16px 50px rgba(0,0,0,0.35);
    --radius: 6px;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { font-size: 16px; }
body {
    margin: 0;
    font-family: Inter, system-ui, sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at top, rgba(207,47,47,0.12), transparent 30%),
        linear-gradient(180deg, #0e0f11 0%, #14161a 100%);
}
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
.container { width: min(calc(100% - 32px), var(--max)); margin: 0 auto; }
.panel {
    background: linear-gradient(180deg, rgba(35,36,42,0.97), rgba(24,25,30,0.97));
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.site-main { padding-bottom: 48px; }
.site-header {
    position: sticky;
    top: 0;
    z-index: 10;
    background: linear-gradient(180deg, rgba(12,13,15,0.98), rgba(14,15,18,0.92));
    border-bottom: 1px solid var(--line);
    backdrop-filter: blur(10px);
}
.site-brand-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 88px;
}
.site-brand {
    font-family: Oswald, Impact, sans-serif;
    font-size: clamp(2rem, 5vw, 3.4rem);
    letter-spacing: 0.03em;
    line-height: 1;
}
.brand-news, .story-tag, .btn-accent, .panel-title::after { color: var(--accent-color); }
.brand-dot { color: #ffffff; }
.site-nav {
    display: flex;
    gap: 22px;
    padding: 12px 0 18px;
    border-top: 1px solid var(--line);
    font-size: 0.95rem;
}
.site-nav .nav { display: flex; gap: 22px; list-style: none; padding: 0; margin: 0; flex-wrap: wrap; }
.site-nav .nav a { color: #d8d8dc; }
.site-nav .nav-current a, .site-nav a:hover { color: #fff; }
.nav-toggle { display: none; background: none; border: 0; color: #fff; font-size: 1.8rem; }

.home-top { padding-top: 26px; }
.hero-story {
    position: relative;
    overflow: hidden;
    min-height: 480px;
    border: 1px solid var(--line);
}
.hero-media, .card-media { position: absolute; inset: 0; }
.hero-media img, .card-media img, .archive-thumb img, .article-image img {
    width: 100%; height: 100%; object-fit: cover;
}
.overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(0,0,0,0.12), rgba(0,0,0,0.55) 60%, rgba(0,0,0,0.85));
}
.hero-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: 480px;
    padding: 30px;
    max-width: 760px;
}
.hero-content h1, .article-title {
    font-family: Oswald, sans-serif;
    font-size: clamp(2.4rem, 5vw, 4.4rem);
    line-height: 1.03;
    margin: 10px 0 8px;
}
.story-meta {
    color: var(--muted);
    font-size: 0.92rem;
}
.hero-content p, .card-content p, .archive-content p, .list-story p { color: #e1e1e3; }
.story-tag {
    display: inline-flex;
    border: 1px solid rgba(207,47,47,0.45);
    background: rgba(207,47,47,0.14);
    border-radius: 999px;
    padding: 0.28rem 0.62rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    width: fit-content;
}
.top-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
    margin-top: 18px;
}
.card-story {
    position: relative;
    min-height: 320px;
    overflow: hidden;
    border: 1px solid var(--line);
    background: #141518;
}
.compact-card { min-height: 280px; }
.card-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: end;
    min-height: inherit;
    padding: 20px;
    background: linear-gradient(180deg, rgba(0,0,0,0.03), rgba(0,0,0,0.75) 65%, rgba(0,0,0,0.9));
}
.card-content h2, .archive-content h2, .list-story h2, .trend-item h3 {
    font-family: Oswald, sans-serif;
    line-height: 1.08;
    margin: 10px 0 6px;
}
.card-content h2 { font-size: 1.8rem; }
.content-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) 360px;
    gap: 22px;
    margin-top: 22px;
}
.main-column, .side-column > .panel, .archive-shell, .article-shell { padding: 20px; }
.panel-title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: Oswald, sans-serif;
    font-size: 1.9rem;
    margin-bottom: 18px;
    border-bottom: 1px solid var(--line);
    padding-bottom: 10px;
}
.panel-title::after {
    content: '»';
    font-size: 1.3rem;
}
.list-story, .trend-item { padding: 0 0 16px; margin-bottom: 16px; border-bottom: 1px solid var(--line); }
.list-story:last-child, .trend-item:last-child { border-bottom: 0; margin-bottom: 0; }
.list-story h2 { font-size: 1.75rem; }
.side-column { display: grid; gap: 22px; align-content: start; }
.subscribe-panel { background: linear-gradient(180deg, rgba(59,19,19,0.96), rgba(30,17,17,0.96)); }
.email-input {
    width: 100%;
    margin-bottom: 12px;
    background: rgba(255,255,255,0.96);
    border: 0;
    padding: 14px 15px;
    border-radius: 4px;
    color: #141414;
    font-size: 1rem;
}
.btn-accent {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    background: linear-gradient(180deg, #d73a3a, #b12121);
    color: #fff;
    border: 0;
    border-radius: 4px;
    padding: 14px 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}
.submit-btn { width: auto; min-width: 160px; }
.form-note { font-size: 0.88rem; color: var(--muted); margin: 10px 0 0; }
.form-note.success { display: none; }
.submit-panel p { margin: 0 0 16px; }
.archive-listing, .article-shell { margin-top: 26px; }
.archive-item {
    display: grid;
    grid-template-columns: 260px minmax(0, 1fr);
    gap: 20px;
    padding-bottom: 22px;
    margin-bottom: 22px;
    border-bottom: 1px solid var(--line);
}
.archive-thumb { display: block; min-height: 180px; overflow: hidden; border-radius: var(--radius); }
.article-title { margin-top: 12px; }
.article-meta { color: var(--muted); margin-bottom: 24px; }
.article-image { margin: 0 0 28px; overflow: hidden; border-radius: var(--radius); }
.article-content { max-width: 780px; font-size: 1.08rem; line-height: 1.8; }
.article-content a { color: var(--accent-color); text-decoration: underline; }
.article-content h2, .article-content h3, .article-content h4 {
    font-family: Oswald, sans-serif;
    line-height: 1.15;
    margin: 1.8em 0 0.7em;
}
.article-content blockquote {
    margin: 1.5rem 0;
    padding: 0.8rem 1rem;
    border-left: 4px solid var(--accent-color);
    background: rgba(255,255,255,0.03);
}
.pagination {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 18px;
}
.pagination a, .pagination span {
    padding: 12px 14px;
    border: 1px solid var(--line);
    background: rgba(255,255,255,0.03);
}
.site-footer {
    border-top: 1px solid var(--line);
    color: var(--muted);
    padding: 22px 0 40px;
}
.footer-inner {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.kg-width-wide, .kg-width-full { max-width: 100%; }
.image-fallback {
    width: 100%; height: 100%;
    background: linear-gradient(135deg, #252833, #101114);
}
.gh-content .kg-image-card img { border-radius: var(--radius); }

@media (max-width: 980px) {
    .content-grid { grid-template-columns: 1fr; }
    .top-grid { grid-template-columns: 1fr; }
    .archive-item { grid-template-columns: 1fr; }
}

@media (max-width: 720px) {
    .site-brand-row { min-height: 76px; }
    .site-brand { font-size: 2.2rem; }
    .nav-toggle { display: block; }
    .site-nav { display: none; padding-top: 14px; }
    body.nav-open .site-nav { display: block; }
    .site-nav .nav { flex-direction: column; gap: 14px; }
    .hero-story, .hero-content { min-height: 360px; }
    .hero-content { padding: 20px; }
    .hero-content h1, .article-title { font-size: 2.55rem; }
    .card-content h2, .list-story h2 { font-size: 1.45rem; }
    .container { width: min(calc(100% - 22px), var(--max)); }
    .main-column, .side-column > .panel, .archive-shell, .article-shell { padding: 16px; }
}


.visually-hidden {
  position: absolute !important;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
