:root {
  --primary-color: #0b5d1e;
  --primary-hover: #084315;
  --accent-color: #f4b400;
  --accent-hover: #d99f00;
  --dark-color: #1a202c;
  --text-muted: #64748b;
  --bg-light: #f8fafc;
  --border-color: #e2e8f0;
  --card-radius: 8px;
  --transition: all 0.25s ease-in-out;
}
body { font-family: system-ui, -apple-system, sans-serif; background-color: var(--bg-light); color: #2d3748; line-height: 1.6; margin: 0; padding: 0; }
a { color: inherit; text-decoration: none; transition: var(--transition); }
a:hover { color: var(--primary-color); }
img { max-width: 100%; height: auto; display: block; }
.top-bar { background-color: #0f172a; color: #94a3b8; font-size: 0.825rem; padding: 6px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08); }
.top-bar a { color: #cbd5e1; }
.top-bar a:hover { color: var(--accent-color); }
.main-brand-header { background: #ffffff; padding: 1.25rem 0; border-bottom: 1px solid var(--border-color); }
.portal-logo-text { font-size: 2rem; font-weight: 900; letter-spacing: -0.5px; color: var(--primary-color); line-height: 1.1; text-transform: uppercase; }
.portal-logo-text span { color: var(--accent-color); }
.portal-tagline { font-size: 0.8rem; color: var(--text-muted); font-weight: 500; margin-top: 2px; }
.breaking-news-bar { background: #ffffff; border-bottom: 1px solid var(--border-color); }
.breaking-badge { background-color: #dc2626; color: #ffffff; font-size: 0.75rem; font-weight: 700; padding: 0.5rem 1rem; text-transform: uppercase; }
.breaking-slider { overflow: hidden; white-space: nowrap; font-size: 0.875rem; font-weight: 500; }
.main-navbar { background-color: var(--primary-color); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); position: sticky; top: 0; z-index: 1020; }
.main-navbar .nav-link { color: #ffffff !important; font-weight: 600; font-size: 0.925rem; padding: 0.85rem 1.1rem !important; text-transform: uppercase; }
.main-navbar .nav-link:hover, .main-navbar .nav-link.active { background-color: var(--primary-hover); color: var(--accent-color) !important; }
.btn-search-nav { color: #ffffff; background: transparent; border: none; padding: 0.5rem 1rem; cursor: pointer; }
.search-overlay { display: none; position: fixed; inset: 0; background: rgba(15, 23, 42, 0.85); backdrop-filter: blur(4px); z-index: 1050; align-items: center; justify-content: center; padding: 1.5rem; }
.search-overlay.active { display: flex; }
.search-overlay-box { width: 100%; max-width: 650px; background: #ffffff; padding: 2rem; border-radius: 12px; position: relative; }
.hero-headline-card { position: relative; border-radius: var(--card-radius); overflow: hidden; height: 440px; background-color: #0f172a; }
.hero-headline-card img, .hero-subcard img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.hero-headline-card:hover img, .hero-subcard:hover img { transform: scale(1.03); }
.hero-gradient-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 30%, rgba(0,0,0,0.88) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1.75rem; color: #ffffff; }
.hero-subcard { position: relative; border-radius: var(--card-radius); overflow: hidden; height: 210px; background-color: #0f172a; }
.hero-subcard-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0.05) 20%, rgba(0,0,0,0.9) 100%); display: flex; flex-direction: column; justify-content: flex-end; padding: 1rem; color: #ffffff; }
.badge-cat { background-color: var(--primary-color); color: #ffffff; font-size: 0.72rem; font-weight: 700; padding: 0.25rem 0.6rem; border-radius: 4px; text-transform: uppercase; display: inline-block; margin-bottom: 0.5rem; width: fit-content; }
.news-card-horizontal { background: #ffffff; border: 1px solid var(--border-color); border-radius: var(--card-radius); overflow: hidden; display: flex; transition: var(--transition); margin-bottom: 1.25rem; }
.news-card-horizontal:hover { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.06); transform: translateY(-2px); }
.news-card-thumb { width: 240px; min-width: 240px; height: 160px; overflow: hidden; background: #e2e8f0; }
.news-card-thumb img { width: 100%; height: 100%; object-fit: cover; }
.news-card-body { padding: 1rem 1.25rem; display: flex; flex-direction: column; justify-content: space-between; flex-grow: 1; }
.news-card-title { font-size: 1.15rem; font-weight: 700; line-height: 1.4; margin-bottom: 0.5rem; }
.news-card-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; flex-wrap: wrap; align-items: center; gap: 12px; }
.section-header { border-bottom: 2px solid var(--border-color); margin-bottom: 1.5rem; display: flex; align-items: center; justify-content: space-between; }
.section-title { font-size: 1.25rem; font-weight: 800; text-transform: uppercase; color: #0f172a; margin: 0; padding-bottom: 0.5rem; position: relative; }
.section-title::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 100%; height: 2px; background-color: var(--primary-color); }
.sidebar-widget { background: #ffffff; border: 1px solid var(--border-color); border-radius: var(--card-radius); padding: 1.25rem; margin-bottom: 1.75rem; }
.widget-title { font-size: 1.05rem; font-weight: 800; text-transform: uppercase; color: #0f172a; padding-bottom: 0.5rem; border-bottom: 2px solid var(--primary-color); margin-bottom: 1rem; }
.popular-item { display: flex; gap: 12px; padding-bottom: 0.85rem; margin-bottom: 0.85rem; border-bottom: 1px solid #f1f5f9; align-items: flex-start; }
.popular-number { font-size: 1.5rem; font-weight: 900; color: #cbd5e1; line-height: 1; min-width: 24px; }
.popular-thumb { width: 75px; min-width: 75px; height: 60px; border-radius: 4px; overflow: hidden; background: #e2e8f0; }
.popular-thumb img { width: 100%; height: 100%; object-fit: cover; }
.popular-title { font-size: 0.875rem; font-weight: 600; line-height: 1.35; margin: 0 0 4px 0; }
.tag-badge { background: #f1f5f9; color: #475569; font-size: 0.775rem; font-weight: 500; padding: 0.35rem 0.75rem; border-radius: 20px; border: 1px solid #e2e8f0; }
.tag-badge:hover { background: var(--primary-color); color: #ffffff; }
.main-footer { background-color: #0f172a; color: #94a3b8; padding-top: 3.5rem; border-top: 4px solid var(--primary-color); margin-top: 3rem; }
.main-footer h5 { color: #ffffff; font-size: 1.05rem; font-weight: 700; margin-bottom: 1.25rem; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0.5rem; }
.footer-links a { color: #94a3b8; font-size: 0.875rem; }
.footer-links a:hover { color: #ffffff; }
.footer-bottom { background-color: #090d16; padding: 1.25rem 0; font-size: 0.8rem; border-top: 1px solid rgba(255, 255, 255, 0.05); margin-top: 2.5rem; }
.btn-back-to-top { position: fixed; bottom: 25px; right: 25px; width: 44px; height: 44px; background-color: var(--primary-color); color: #ffffff; border: none; border-radius: 50%; box-shadow: 0 4px 10px rgba(0,0,0,0.2); cursor: pointer; display: none; align-items: center; justify-content: center; z-index: 1000; }
@media (max-width: 991.98px) {
  .hero-headline-card { height: 350px; margin-bottom: 1rem; }
  .news-card-horizontal { flex-direction: column; }
  .news-card-thumb { width: 100%; min-width: 100%; height: 200px; }
}