:root {
    --dark: #06131b;
    --navy: #0a1a28;
    --lime: #8ee31f;
    --lime-2: #6ed21b;
    --text: #14202b;
    --muted: #667482;
    --line: #dfe7ee;
    --card: #ffffff;
    --shadow: 0 18px 48px rgba(9, 26, 40, .12);
    --font: 'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, sans-serif;
}
* { box-sizing: border-box; }
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
body { margin: 0; font-family: var(--font); color: var(--text); background: #f8fbfd; }
a { color: inherit; text-decoration: none; }
.container { width: min(1180px, calc(100% - 64px)); margin: 0 auto; }

.site-header { position: sticky; top: 0; z-index: 50; background: rgba(5, 15, 23, .98); border-bottom: 1px solid rgba(255,255,255,.08); backdrop-filter: blur(14px); }
.nav { height: 76px; display: flex; align-items: center; justify-content: space-between; gap: 28px; }
.logo { display: flex; align-items: center; gap: 12px; min-width: 190px; color: #fff; font-weight: 900; }
.logo img { width: 158px; height: 44px; object-fit: contain; background: #fff; border-radius: 7px; padding: 5px 8px; }
.nav-links { display: flex; align-items: center; justify-content: center; gap: 34px; color: #fff; font-size: 14px; font-weight: 800; }
.nav-links a { height: 76px; display: grid; place-items: center; border-bottom: 3px solid transparent; opacity: .9; }
.nav-links a.active, .nav-links a:hover { color: var(--lime); border-bottom-color: var(--lime); opacity: 1; }
.header-actions { display: flex; align-items: center; gap: 14px; color: #fff; }
.login-btn { min-height: 44px; padding: 0 24px; border-radius: 7px; background: linear-gradient(135deg, var(--lime), var(--lime-2)); color: #102000; display: inline-flex; align-items: center; gap: 9px; font-weight: 900; }

.hero { position: relative; min-height: 190px; color: #fff; background: linear-gradient(90deg, rgba(5,17,28,.96) 0%, rgba(5,24,39,.86) 55%, rgba(5,24,39,.35) 100%), url("img/background.jpg") center 42% / cover no-repeat; display: flex; align-items: center; }
.hero .breadcrumb { font-size: 13px; font-weight: 700; color: rgba(255,255,255,.72); margin-bottom: 12px; }
.hero .breadcrumb a:hover { color: var(--lime); }
.hero h1 { margin: 0; font-size: clamp(28px, 3.4vw, 42px); line-height: 1.15; letter-spacing: -.03em; }
.hero p { margin: 12px 0 0; font-size: 15px; color: rgba(255,255,255,.82); font-weight: 600; }

main { padding: 40px 0 30px; }
.article-layout { display: grid; grid-template-columns: 1fr 320px; gap: 36px; align-items: start; }
.article-body { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 34px; box-shadow: var(--shadow); }
.article-meta { display: flex; gap: 16px; flex-wrap: wrap; color: var(--muted); font-size: 13px; font-weight: 700; margin-bottom: 18px; }
.article-body h2 { font-size: 21px; letter-spacing: -.02em; margin: 30px 0 12px; }
.article-body h2:first-child { margin-top: 0; }
.article-body p { line-height: 1.85; font-size: 15.5px; color: #33414d; margin: 0 0 16px; }
.article-body ul, .article-body ol { line-height: 1.85; font-size: 15.5px; color: #33414d; margin: 0 0 16px; padding-left: 22px; }
.article-body li { margin-bottom: 6px; }
.article-body strong { color: var(--text); }
.article-cta { margin-top: 28px; background: linear-gradient(135deg, #f4fff1, #ffffff); border: 1px solid #d8ebd2; border-radius: 10px; padding: 22px 26px; display: flex; align-items: center; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.article-cta h3 { margin: 0 0 4px; font-size: 17px; }
.article-cta p { margin: 0; color: var(--muted); font-size: 13.5px; font-weight: 600; }
.btn-cta { min-height: 46px; padding: 0 26px; border-radius: 7px; background: linear-gradient(135deg, var(--lime), var(--lime-2)); color: #102000; display: inline-flex; align-items: center; font-weight: 900; font-size: 13px; white-space: nowrap; }

.sidebar { display: grid; gap: 20px; }
.side-box { background: var(--card); border: 1px solid var(--line); border-radius: 10px; padding: 20px; box-shadow: var(--shadow); }
.side-box h3 { margin: 0 0 14px; font-size: 14px; text-transform: uppercase; letter-spacing: .02em; }
.side-list { display: grid; gap: 12px; list-style: none; margin: 0; padding: 0; }
.side-list a { font-size: 13.5px; font-weight: 700; color: #24333f; line-height: 1.5; display: block; }
.side-list a:hover { color: var(--lime-2); }
.side-list .cat { display: inline-block; font-size: 11px; font-weight: 900; color: var(--lime-2); text-transform: uppercase; margin-bottom: 3px; }

.section-title { margin: 0 0 22px; display: flex; align-items: center; gap: 12px; font-size: 24px; letter-spacing: -.03em; text-transform: uppercase; }
.title-icon { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--lime-2); color: var(--lime-2); display: grid; place-items: center; font-weight: 900; }
.filter-tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.filter-tabs a { min-height: 36px; padding: 0 18px; border-radius: 999px; border: 1px solid var(--line); background: #fff; display: inline-flex; align-items: center; font-size: 13px; font-weight: 800; color: #34404a; }
.filter-tabs a.active { border-color: var(--lime-2); background: var(--lime); color: #102000; }
.post-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.post-card { background: var(--card); border: 1px solid var(--line); border-radius: 10px; overflow: hidden; box-shadow: var(--shadow); }
.post-card .media { height: 170px; background: #102a32 center/cover no-repeat; }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; display: block; }
.post-card .body { padding: 18px; }
.post-card .meta { color: var(--muted); font-size: 12px; font-weight: 700; margin-bottom: 8px; }
.post-card h3 { margin: 0 0 10px; font-size: 16px; line-height: 1.4; }
.post-card .read-more { color: var(--lime-2); font-size: 12.5px; font-weight: 900; }
.section-block { margin-bottom: 46px; }

.site-footer-mini { background: var(--dark); color: #fff; padding: 30px 0; margin-top: 40px; }
.footer-flex { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; font-size: 13px; color: rgba(255,255,255,.7); }
.footer-flex .flinks { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-flex a:hover { color: var(--lime); }

@media (max-width: 1040px) {
    .nav-links { display: none; }
    .article-layout { grid-template-columns: 1fr; }
    .post-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 720px) {
    .container { width: min(100% - 28px, 1180px); }
    .nav { height: 66px; gap: 12px; }
    .logo img { width: 128px; height: 38px; }
    .article-body { padding: 22px; }
    .post-grid { grid-template-columns: 1fr; }
    .article-cta { flex-direction: column; align-items: flex-start; }
}
