
:root {
  --primary: #0f172a;
  --primary-accent: #d97706;
  --accent-hover: #b45309;
  --bg: #0b0f19;
  --surface: #131c2e;
  --surface-card: #182238;
  --border: #23314d;
  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --radius-sm: 8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  --shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; margin: 0; padding: 0; }
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text-main);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--primary-accent); text-decoration: none; transition: color 0.2s; }
a:hover { color: #f59e0b; }

.container { max-width: 1140px; margin: 0 auto; padding: 0 20px; }

header.site-header {
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 0;
}
.brand {
  display: flex;
  flex-direction: column;
}
.brand .logo {
  font-size: 26px;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand .logo span { color: var(--primary-accent); }
.brand .tagline {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.2px;
}

nav.main-nav ul {
  display: flex;
  list-style: none;
  gap: 24px;
}
nav.main-nav a {
  color: #cbd5e1;
  font-weight: 600;
  font-size: 14.5px;
  padding: 6px 0;
  transition: all 0.2s;
}
nav.main-nav a:hover, nav.main-nav a.active {
  color: var(--primary-accent);
  border-bottom: 2px solid var(--primary-accent);
}

.hero {
  background: linear-gradient(180deg, #131c2e 0%, #0b0f19 100%);
  padding: 56px 0 44px;
  border-bottom: 1px solid var(--border);
}
.hero-content { max-width: 820px; }
.hero-badge {
  display: inline-block;
  background: rgba(217, 119, 6, 0.18);
  color: #fbbf24;
  border: 1px solid rgba(217, 119, 6, 0.4);
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 12.5px;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: 0.8px;
}
.hero h1 {
  font-size: 38px;
  line-height: 1.22;
  color: #ffffff;
  margin-bottom: 16px;
  letter-spacing: -0.5px;
}
.hero p {
  font-size: 17px;
  color: var(--text-muted);
  line-height: 1.65;
}

.main-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 40px;
  padding: 48px 0 64px;
}
@media (max-width: 880px) {
  .main-layout { grid-template-columns: 1fr; }
  .header-inner { flex-direction: column; gap: 14px; align-items: flex-start; }
  nav.main-nav ul { flex-wrap: wrap; gap: 14px; }
  .hero h1 { font-size: 28px; }
}

.section-title {
  font-size: 22px;
  color: #ffffff;
  margin-bottom: 24px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--border);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 22px;
  background: var(--primary-accent);
  border-radius: 2px;
}

.articles-grid {
  display: flex;
  flex-direction: column;
  gap: 28px;
}
.article-card {
  background: var(--surface-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: transform 0.25s, border-color 0.25s;
}
.article-card:hover {
  transform: translateY(-3px);
  border-color: rgba(217, 119, 6, 0.5);
}
.card-img-wrap {
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #0f172a;
}
.card-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.article-card:hover .card-img-wrap img {
  transform: scale(1.03);
}
.card-body {
  padding: 24px;
}
.card-meta {
  display: flex;
  gap: 12px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 10px;
  font-weight: 600;
}
.card-cat {
  color: var(--primary-accent);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.article-card h2 {
  font-size: 21px;
  line-height: 1.35;
  margin-bottom: 12px;
}
.article-card h2 a { color: #ffffff; }
.article-card h2 a:hover { color: var(--primary-accent); }
.article-card p {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.62;
}

.sidebar { display: flex; flex-direction: column; gap: 30px; }
.widget {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 24px;
  box-shadow: var(--shadow);
}
.widget h3 {
  font-size: 17px;
  color: #ffffff;
  margin-bottom: 18px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.widget ul { list-style: none; }
.widget li { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 1px dashed rgba(255,255,255,0.06); }
.widget li:last-child { margin-bottom: 0; padding-bottom: 0; border: none; }
.widget a {
  font-size: 14.5px;
  color: #e2e8f0;
  display: block;
}
.widget a:hover { color: var(--primary-accent); }

.author-box {
  background: linear-gradient(135deg, rgba(217, 119, 6, 0.12) 0%, rgba(15, 23, 42, 0.6) 100%);
  border: 1px solid rgba(217, 119, 6, 0.25);
  border-radius: var(--radius-md);
  padding: 22px;
  text-align: center;
}
.author-box h4 { color: #fbbf24; font-size: 16.5px; margin-bottom: 8px; }
.author-box p { font-size: 13.5px; color: var(--text-muted); line-height: 1.55; }

.article-detail {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 38px 34px;
  box-shadow: var(--shadow);
}
.detail-hero-img {
  width: 100%;
  max-height: 440px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin-bottom: 26px;
  border: 1px solid var(--border);
}
.detail-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.article-detail .meta-bar {
  display: flex;
  gap: 16px;
  font-size: 13.5px;
  color: var(--text-muted);
  padding-bottom: 18px;
  margin-bottom: 26px;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}
.article-detail h1 {
  font-size: 32px;
  line-height: 1.26;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.article-body {
  font-size: 16.5px;
  line-height: 1.82;
  color: #e2e8f0;
}
.article-body h2 {
  font-size: 22px;
  color: #fbbf24;
  margin: 34px 0 16px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--border);
}
.article-body p { margin-bottom: 20px; }
.article-body ul, .article-body ol {
  margin: 0 0 22px 24px;
}
.article-body li { margin-bottom: 10px; }
.article-body blockquote {
  background: rgba(217, 119, 6, 0.1);
  border-left: 4px solid var(--primary-accent);
  padding: 18px 22px;
  margin: 26px 0;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-style: italic;
  color: #fde68a;
}

footer.site-footer {
  background: #080c14;
  color: #94a3b8;
  padding: 52px 0 30px;
  margin-top: 40px;
  border-top: 1px solid var(--border);
  font-size: 14px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 40px;
}
@media (max-width: 740px) {
  .footer-grid { grid-template-columns: 1fr; gap: 26px; }
}
.footer-col h4 {
  color: #ffffff;
  font-size: 16.5px;
  margin-bottom: 18px;
}
.footer-col p { line-height: 1.65; font-size: 13.5px; color: #64748b; }
.footer-col ul { list-style: none; }
.footer-col li { margin-bottom: 10px; }
.footer-col a { color: #94a3b8; }
.footer-col a:hover { color: var(--primary-accent); text-decoration: underline; }
.footer-bottom {
  padding-top: 26px;
  border-top: 1px solid rgba(255,255,255,0.06);
  text-align: center;
  font-size: 12.5px;
  color: #475569;
}
