html {
  scroll-behavior: smooth;
}
body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  z-index: 0;
}
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background: url(../../../bg.png) no-repeat fixed bottom center / cover;
  opacity: 0.2;
  z-index: -1;
  pointer-events: none;
}
:root {
  --primary: #059669;
  --primary-dark: #047857;
  --primary-light: #34d399;
  --accent: #f59e0b;
  --accent-dark: #d97706;
  --bg: #f1f5f9;
  --bg-white: #ffffff;
  --bg-card: #ffffff;
  --text: #1e293b;
  --text-muted: #64748b;
  --text-light: #94a3b8;
  --border: #e2e8f0;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.05);
  --shadow: 0 1px 3px rgba(0,0,0,0.1), 0 1px 2px rgba(0,0,0,0.06);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.07), 0 2px 4px rgba(0,0,0,0.06);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.1), 0 4px 6px rgba(0,0,0,0.05);
  --radius: 8px;
  --radius-lg: 12px;
  --transition: all 0.2s ease;
  --font: 'Segoe UI', system-ui, -apple-system, sans-serif;
  --max-width: 1200px;
  --header-bg: linear-gradient(135deg, #065f46 0%, #059669 100%);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
a { color: var(--primary); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.container { max-width: var(--max-width); margin: 0 auto; padding: 0 20px; }

.top-bar {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.9);
  font-size: 13px;
  padding: 6px 0;
}
.top-bar .container { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 8px; }
.top-bar-date { display: flex; align-items: center; gap: 6px; }
.top-bar-social { display: flex; gap: 8px; }
.soc-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 32px; height: 32px; border-radius: 50%;
  font-size: 15px;
  color: #fff !important; transition: var(--transition);
}
.soc-icon.fb { background: #1877f2; }
.soc-icon.tw { background: #000; }
.soc-icon.ig { background: #e4405f; }
.soc-icon.rs { background: #f26522; }
.soc-icon:hover { transform: scale(1.15); opacity: 0.9; }

.banner {
  width: 100%;
  min-height: 280px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  position: relative;
}
.banner-overlay {
  width: 100%;
  min-height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(6,95,70,0.85) 0%, rgba(5,150,105,0.75) 100%);
}
.banner-content {
  display: flex;
  align-items: center;
  gap: 30px;
  text-align: left;
}
.banner-logo img { height: 90px; width: auto; border-radius: 8px; }
.banner-text h1 { font-size: 36px; font-weight: 800; color: #fff; letter-spacing: -1px; }
.banner-text h1 a { color: #fff; }
.banner-text h1 a:hover { color: var(--accent); }
.banner-text p { font-size: 16px; color: rgba(255,255,255,0.8); margin-top: 6px; }

.nav-bar {
  background: var(--header-bg);
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow-md);
}
.nav-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
  gap: 20px;
}
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 12px 8px;
}
.nav-toggle-text { display: none; }

.nav > ul { display: flex; align-items: center; }
.nav li { position: relative; }
.nav a {
  display: block; padding: 14px 16px; color: #fff;
  font-size: 14px; font-weight: 500; white-space: nowrap;
}
.nav a:hover, .nav a.active { background: rgba(255,255,255,0.15); color: #fff; text-decoration: none; }
.nav .has-dropdown > a::after { content: ' ▾'; font-size: 10px; opacity: 0.7; margin-left: 3px; }
.nav .dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 220px;
  padding: 8px 0;
  z-index: 100;
  list-style: none;
}
.nav .has-dropdown:hover > .dropdown,
.nav .has-dropdown.open > .dropdown { display: block; }
.nav .dropdown a {
  color: var(--text);
  padding: 10px 18px;
  display: block;
  border-radius: 0;
  font-weight: 400;
}
.nav .dropdown a:hover { background: var(--bg); color: var(--primary); }
.nav .dropdown .dropdown { top: 0; left: 100%; margin-left: 2px; }

.search-bar {
  background: rgba(255,255,255,0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  padding: 0 12px;
  flex-shrink: 0;
}
.search-bar input {
  background: none;
  border: none;
  color: #fff;
  padding: 8px 6px;
  font-size: 13px;
  outline: none;
  width: 160px;
  font-family: var(--font);
}
.search-bar input::placeholder { color: rgba(255,255,255,0.5); }
.search-bar button {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  padding: 6px;
  font-size: 15px;
}

.breaking-news {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border);
  padding: 10px 0;
}
.breaking-news .container { display: flex; align-items: center; gap: 16px; }
.breaking-label {
  background: var(--accent);
  color: #fff;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 4px;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}
.breaking-text {
  flex: 1;
  overflow: hidden;
  white-space: nowrap;
  font-size: 14px;
  height: 24px;
  line-height: 24px;
  position: relative;
}
.breaking-text-inner {
  display: inline-block;
  white-space: nowrap;
  animation: ticker-scroll 80s linear infinite;
}
@keyframes ticker-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}
.breaking-text:hover .breaking-text-inner { animation-play-state: paused; }
.breaking-text a { color: var(--text); }
.breaking-text a:hover { color: var(--primary); }
.breaking-text a { margin-right: 20px; }

.share-wrap {
  display: flex; align-items: center; gap: 10px;
  margin-top: 24px; padding-top: 20px;
  border-top: 1px solid var(--border);
}
.share-label { font-size: 14px; font-weight: 600; color: var(--text-muted); }
.share-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%;
  font-size: 17px; color: #fff !important;
  transition: var(--transition);
}
.share-btn.fb { background: #1877f2; }
.share-btn.tw { background: #000; }
.share-btn.wa { background: #25d366; }
.share-btn.tg { background: #0088cc; }
.share-btn:hover { transform: scale(1.15); opacity: 0.9; }

.main-wrapper { display: flex; gap: 28px; max-width: var(--max-width); margin: 28px auto; padding: 0 20px; align-items: flex-start; }
.content-area { flex: 1; min-width: 0; }
.sidebar { width: 320px; flex-shrink: 0; }

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  overflow: hidden;
}
.card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}
.card-header .icon { color: var(--primary); font-size: 18px; }
.card-body { padding: 20px; }

.section-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  padding-bottom: 10px;
  margin-bottom: 20px;
  border-bottom: 3px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.section-title .badge {
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 600;
}

.news-grid { display: grid; gap: 24px; }
.news-grid-2 { grid-template-columns: 1fr 1fr; }
.news-grid-3 { grid-template-columns: 1fr 1fr 1fr; }
.news-grid-4 { grid-template-columns: 1fr 1fr 1fr 1fr; }

.news-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card-img {
  aspect-ratio: 16/9;
  overflow: hidden;
  background: var(--bg);
  position: relative;
}
.news-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.news-card:hover .news-card-img img { transform: scale(1.05); }
.news-card-img .category-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary);
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  padding: 3px 10px;
  border-radius: 4px;
}
.news-card-body { padding: 16px; }
.news-card-body h3 { font-size: 16px; font-weight: 600; line-height: 1.4; margin-bottom: 8px; }
.news-card-body h3 a { color: var(--text); }
.news-card-body h3 a:hover { color: var(--primary); }
.news-meta {
  font-size: 12px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}
.news-excerpt { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.news-list { display: flex; flex-direction: column; gap: 14px; }
.news-list-item {
  display: flex;
  gap: 14px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border);
}
.news-list-item:last-child { border-bottom: none; padding-bottom: 0; }
.news-list-img {
  width: 100px;
  height: 70px;
  border-radius: 6px;
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg);
}
.news-list-img img { width: 100%; height: 100%; object-fit: cover; }
.news-list-content { flex: 1; min-width: 0; }
.news-list-content h4 { font-size: 14px; font-weight: 600; line-height: 1.4; }
.news-list-content h4 a { color: var(--text); }
.news-list-content h4 a:hover { color: var(--primary); }
.news-list-content .date { font-size: 11px; color: var(--text-light); margin-top: 4px; display: block; }

.hero-slider {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--bg-card);
  box-shadow: var(--shadow);
  margin-bottom: 28px;
}
.hero-slide { display: none; }
.hero-slide.active { display: block; }
.hero-slide-img { aspect-ratio: 21/9; overflow: hidden; position: relative; }
.hero-slide-img img { width: 100%; height: 100%; object-fit: cover; }
.hero-slide-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  padding: 40px 24px 20px;
}
.hero-slide-overlay .cat { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--accent); letter-spacing: 1px; }
.hero-slide-overlay h2 { font-size: 22px; font-weight: 700; color: #fff; margin: 6px 0 8px; line-height: 1.3; }
.hero-slide-overlay h2 a { color: #fff; }
.hero-slide-overlay h2 a:hover { color: var(--accent); }
.hero-slide-overlay p { font-size: 14px; color: rgba(255,255,255,0.8); }
.hero-dots {
  position: absolute;
  bottom: 12px;
  right: 20px;
  display: flex;
  gap: 6px;
}
.hero-dots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.6);
  background: transparent;
  cursor: pointer;
  padding: 0;
  transition: var(--transition);
}
.hero-dots button.active { background: #fff; border-color: #fff; }

.utama-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.utama-card {
  background: var(--bg-card);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  transition: var(--transition);
}
.utama-card:hover { box-shadow: var(--shadow-md); }
.utama-card-img {
  aspect-ratio: 16/10;
  overflow: hidden;
  background: var(--bg);
}
.utama-card-img img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.utama-card:hover .utama-card-img img { transform: scale(1.03); }
.utama-card-body { padding: 16px; }
.utama-card-body .label {
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.utama-card-body h3 { font-size: 17px; font-weight: 600; line-height: 1.4; margin: 6px 0; }
.utama-card-body h3 a { color: var(--text); }
.utama-card-body h3 a:hover { color: var(--primary); }
.utama-card-body p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

.sidebar-widget { margin-bottom: 24px; }
.sidebar-widget:last-child { margin-bottom: 0; }
.sidebar-title {
  font-size: 15px;
  font-weight: 700;
  padding-bottom: 10px;
  margin-bottom: 14px;
  border-bottom: 2px solid var(--primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.sidebar-list { display: flex; flex-direction: column; gap: 10px; }
.sidebar-list a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  transition: var(--transition);
  font-size: 14px;
  color: var(--text);
}
.sidebar-list a:hover { background: var(--bg); color: var(--primary); }
.sidebar-list a .count {
  margin-left: auto;
  background: var(--bg);
  color: var(--text-muted);
  font-size: 12px;
  padding: 1px 8px;
  border-radius: 10px;
}
.sidebar-img-card {
  border-radius: var(--radius);
  overflow: hidden;
  margin-bottom: 14px;
  box-shadow: var(--shadow-sm);
}
.sidebar-img-card img { width: 100%; }

.tab-wrap { display: flex; border-bottom: 2px solid var(--border); margin-bottom: 16px; }
.tab-btn {
  padding: 10px 18px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: var(--transition);
  font-family: var(--font);
}
.tab-btn.active { color: var(--primary); border-bottom-color: var(--primary); }
.tab-btn:hover { color: var(--primary); }
.tab-panel { display: none; }
.tab-panel.active { display: block; }

.footer {
  background: #0f172a;
  color: rgba(255,255,255,0.8);
  padding: 48px 0 0;
  margin-top: 48px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}
.footer-col h4 {
  color: #fff;
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 16px;
  position: relative;
  padding-bottom: 10px;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 30px;
  height: 2px;
  background: var(--primary-light);
}
.footer-col p { font-size: 14px; line-height: 1.7; margin-bottom: 12px; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { color: rgba(255,255,255,0.6); font-size: 14px; }
.footer-col ul a:hover { color: #fff; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 20px 0;
  margin-top: 40px;
  text-align: center;
  font-size: 13px;
  color: rgba(255,255,255,0.4);
}

.video-wrap { position: relative; aspect-ratio: 16/9; border-radius: var(--radius); overflow: hidden; background: #000; }
.video-wrap iframe { width: 100%; height: 100%; border: none; }

.pagination, .pages { display: flex; gap: 6px; margin-top: 24px; flex-wrap: wrap; align-items: center; }
.pagination a, .pagination span, .pages a, .pages span {
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  border: 1px solid var(--border);
  color: var(--text);
  transition: var(--transition);
  display: inline-block;
}
.pagination a:hover, .pages a:hover { background: var(--bg); border-color: var(--primary); color: var(--primary); text-decoration: none; }
.pagination .active, .pages .current { background: var(--primary); color: #fff; border-color: var(--primary); }
.pages .current b { font-weight: 600; }
.pages .nextprev { font-weight: 600; }
.pages span.nextprev { border-color: var(--border); color: var(--muted); }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: var(--transition);
  font-family: var(--font);
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { border: 1px solid var(--border); color: var(--text); background: transparent; }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 6px 12px; font-size: 12px; }

.more-link {
  color: var(--primary);
  font-weight: 600;
  font-size: 13px;
}
.more-link:hover { color: var(--primary-dark); }

.pilihan-redaksi { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

.poll-widget { }
.poll-widget .question { font-weight: 600; margin-bottom: 12px; font-size: 14px; }
.poll-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  cursor: pointer;
  font-size: 13px;
}
.poll-option input[type="radio"] { accent-color: var(--primary); }
.poll-bar { height: 6px; background: var(--bg); border-radius: 4px; overflow: hidden; margin: 4px 0; }
.poll-bar-fill { height: 100%; background: var(--primary); border-radius: 4px; transition: width 0.6s ease; }
.poll-pct { font-size: 12px; color: var(--text-muted); }

.galeri-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.galeri-grid img { aspect-ratio: 1; object-fit: cover; border-radius: 6px; }
.album-grid { display: grid; grid-template-columns: repeat(auto-fill,minmax(200px,1fr)); gap: 16px; }
@media (max-width: 480px) { .album-grid { grid-template-columns: 1fr 1fr; } }

.agenda-item {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border);
}
.agenda-item:last-child { border-bottom: none; }
.agenda-date {
  text-align: center;
  background: var(--primary);
  color: #fff;
  border-radius: 6px;
  padding: 6px 12px;
  flex-shrink: 0;
  min-width: 50px;
}
.agenda-date .day { font-size: 18px; font-weight: 700; display: block; line-height: 1; }
.agenda-date .month { font-size: 10px; text-transform: uppercase; opacity: 0.9; }
.agenda-info h5 { font-size: 14px; font-weight: 600; }
.agenda-info h5 a { color: var(--text); }
.agenda-info h5 a:hover { color: var(--primary); }
.agenda-info span { font-size: 12px; color: var(--text-light); }

.berita-foto-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.berita-foto-item {
  position: relative;
  aspect-ratio: 1;
  border-radius: 6px;
  overflow: hidden;
}
.berita-foto-item img { width: 100%; height: 100%; object-fit: cover; transition: var(--transition); }
.berita-foto-item:hover img { transform: scale(1.05); }
.berita-foto-item .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0,0,0,0.6);
  color: #fff;
  font-size: 11px;
  padding: 6px 8px;
  text-align: center;
}

.iklan-container { margin: 20px 0; }
.iklan-container a { display: block; }
.iklan-container img { width: 100%; display: block; border-radius: var(--radius); }

.detail-header { margin-bottom: 24px; }
.detail-header .kategori {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--primary);
  letter-spacing: 0.5px;
}
.detail-header h1 { font-size: 28px; font-weight: 700; line-height: 1.3; margin: 8px 0; }
.detail-meta { font-size: 13px; color: var(--text-muted); display: flex; gap: 16px; flex-wrap: wrap; }
.detail-body { font-size: 16px; line-height: 1.8; }
.detail-body p { margin-bottom: 16px; }
.detail-body img { border-radius: var(--radius); margin: 16px 0; }

.main-column-wrapper { display: flex; gap: 28px; }
.main-column-left { flex: 1; min-width: 0; }

@media (max-width: 1024px) {
  .sidebar { width: 280px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav-bar-inner { flex-wrap: wrap; justify-content: flex-start; }
  .nav-toggle { display: flex; align-items: center; gap: 12px; width: 100%; }
  .nav-toggle-text { display: none; font-size: 16px; font-weight: 700; color: #fff; }
  .nav-bar.scrolled .nav-toggle-text { display: inline; }
  .dark-toggle { display: none !important; }
  .dark-toggle-mobile { display: flex; align-items: center; margin-left: auto; }
  .search-bar { width: 100%; margin-bottom: 10px; }
  .search-bar input { width: 100%; }
  .nav {
    display: none;
    width: 100%;
    padding: 0 0 10px;
  }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; align-items: stretch; width: 100%; }
  .nav a { padding: 12px 16px; }
  .nav .dropdown { position: static; box-shadow: none; padding-left: 20px; }

  .banner { min-height: 200px; }
  .banner-overlay { min-height: 200px; }
  .banner-content { flex-direction: column; gap: 16px; text-align: center; padding: 30px 20px; }
  .banner-logo img { height: 60px; }
  .banner-text h1 { font-size: 26px; }

  .main-wrapper { flex-direction: column; }
  .sidebar { width: 100%; }

  .news-grid-2, .news-grid-3, .news-grid-4 { grid-template-columns: 1fr; }
  .utama-grid { grid-template-columns: 1fr; }
  .pilihan-redaksi { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 24px; }

  .hero-slide-img { aspect-ratio: 16/9; }
  .hero-slide-overlay h2 { font-size: 18px; }

  .main-column-wrapper { flex-direction: column; }

  .galeri-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 480px) {
  .pilihan-redaksi { grid-template-columns: 1fr; }
  .galeri-grid { grid-template-columns: 1fr 1fr; }
  .top-bar .container { flex-direction: column; text-align: center; }
}

#back-top {
  position: fixed; bottom: 30px; right: 30px;
  z-index: 999; opacity: 0; visibility: hidden;
  transition: var(--transition);
}
#back-top.show { opacity: 1; visibility: visible; }
#back-top a {
  display: flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 50%;
  background: var(--primary); color: #fff; font-size: 18px;
  box-shadow: var(--shadow-lg); transition: var(--transition);
}
#back-top a:hover { background: var(--primary-dark); color: #fff; transform: translateY(-3px); }

.footer-stats {
  background: #0b1324; padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.05);
}
.footer-stats .container {
  display: flex; align-items: center; justify-content: center;
  gap: 28px; flex-wrap: wrap;
}
.footer-stats .stats-item {
  font-size: 13px; color: rgba(255,255,255,0.5);
  display: flex; align-items: center; gap: 6px;
}
.footer-stats .stats-item strong { color: #fff; font-weight: 600; }
.footer-stats .stats-item i { color: var(--primary-light); }

.cat-news-wrap {
  display: flex; gap: 24px; margin-bottom: 24px;
  background: var(--bg-card); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow);
}
.cat-news-featured { flex: 1; min-width: 0; }
.cat-news-img {
  aspect-ratio: 16/10; border-radius: var(--radius);
  overflow: hidden; margin-bottom: 12px; background: var(--bg);
}
.cat-news-img img { width: 100%; height: 100%; object-fit: cover; }
.cat-news-featured h3 { font-size: 16px; font-weight: 600; margin-bottom: 6px; }
.cat-news-featured h3 a { color: var(--text); }
.cat-news-featured h3 a:hover { color: var(--primary); }
.cat-news-featured p { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 8px; }
.cat-news-list { width: 280px; flex-shrink: 0; display: flex; flex-direction: column; gap: 10px; }
.cat-news-list li { border-bottom: 1px solid var(--border); padding-bottom: 10px; }
.cat-news-list li:last-child { border-bottom: none; padding-bottom: 0; }
.cat-news-list a {
  font-size: 14px; color: var(--text); line-height: 1.4;
  display: block; padding: 4px 0;
}
.cat-news-list a:hover { color: var(--primary); }

.link-grid { display: grid; gap: 12px; }
.link-grid a { display: block; border-radius: var(--radius); overflow: hidden; }
.link-grid img { width: 100%; transition: var(--transition); }
.link-grid a:hover img { opacity: 0.9; transform: scale(1.02); }

.tab-wrap-3 .tab-btn { padding: 10px 12px; font-size: 12px; }

@media (max-width: 768px) {
  .cat-news-wrap { flex-direction: column; }
  .cat-news-list { width: 100%; }
  #back-top { bottom: 20px; right: 20px; }
  #back-top a { width: 38px; height: 38px; font-size: 15px; }
}

/* ── Breadcrumb ── */
.breadcrumb {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; padding: 12px 0 8px; flex-wrap: wrap;
}
.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--primary); }
.breadcrumb .sep { color: var(--text-light); font-size: 14px; }
.breadcrumb .current { color: var(--text); font-weight: 600; }

/* ── Scroll Progress Bar ── */
#scroll-progress {
  position: fixed; top: 0; left: 0; width: 0%; height: 3px;
  background: linear-gradient(90deg, var(--primary-light), var(--accent));
  z-index: 9999; transition: width 0.1s linear;
}

/* ── Dark Mode ── */
body.dark-mode {
  --bg: #0f172a;
  --bg-white: #1e293b;
  --bg-card: #1e293b;
  --text: #e2e8f0;
  --text-muted: #94a3b8;
  --text-light: #64748b;
  --border: #334155;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow: 0 1px 3px rgba(0,0,0,0.4);
  --shadow-md: 0 4px 6px rgba(0,0,0,0.4);
  --shadow-lg: 0 10px 15px rgba(0,0,0,0.5);
}
.dark-mode .banner-overlay { background: linear-gradient(135deg, rgba(15,23,42,0.92) 0%, rgba(30,41,59,0.85) 100%); }
.dark-mode .nav-bar { background: #0f172a; }
.dark-mode .footer { background: #020617; }
.dark-mode .footer-stats { background: #020617; }
.dark-mode .news-card-img { background: #1e293b; }
.dark-mode .cat-news-img { background: #1e293b; }
.dark-mode .hero-slide-img { background: #1e293b; }

.dark-toggle {
  background: none; border: none; cursor: pointer;
  color: #fff; font-size: 18px; padding: 8px;
  display: flex; align-items: center; gap: 6px;
  order: 99;
}
.dark-toggle-mobile { font-size: 18px; cursor: pointer; padding: 4px 8px; }

/* ── Tag Cloud ── */
.tag-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
.tag-cloud a {
  display: inline-block; padding: 4px 14px;
  background: var(--bg); border-radius: 20px;
  font-size: 13px; color: var(--text-muted);
  transition: var(--transition);
}
.tag-cloud a:hover { background: var(--primary); color: #fff; }

/* ── Blur-reveal Animation ── */
.fade-in {
  opacity: 0; filter: blur(12px);
  transition: opacity 0.6s ease, filter 0.6s ease;
}
.fade-in.visible { opacity: 1; filter: blur(0); }

/* ── Reading Time ── */
.reading-time {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 13px; color: var(--text-light);
}
