:root {
  --primary: #0f766e;
  --primary-dark: #0a5c55;
  --primary-light: #14b8a6;
  --primary-pale: #f0faf9;
  --primary-border: #b0e8e2;
  --gold: #f7e28d;
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --radius: 10px;
  --shadow: 0 2px 12px rgba(15,118,110,0.08);
}
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: var(--font-body); color: #1a202c; background: #fff; line-height: 1.6; }
a { color: var(--primary); text-decoration: none; }
a:hover { color: var(--primary-dark); }
img { max-width: 100%; }

/* TOPBAR */
.topbar { background: var(--primary-dark); color: #fff; text-align: center; font-size: 13px; font-weight: 500; padding: 8px 20px; letter-spacing: .01em; }

/* HEADER */
header { background: #fff; border-bottom: 2px solid var(--primary); position: sticky; top: 0; z-index: 1000; }
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 20px; display: flex; align-items: center; gap: 24px; height: 64px; }
.logo { display: flex; flex-direction: column; line-height: 1; text-decoration: none; }
.logo-name { font-family: var(--font-display); font-size: 22px; font-weight: 900; color: var(--primary); letter-spacing: -.5px; }
.logo-tagline { font-size: 10px; color: #64748b; font-weight: 500; letter-spacing: .05em; text-transform: uppercase; }
nav { display: flex; align-items: center; gap: 4px; margin-left: auto; flex-wrap: wrap; }
nav a { font-size: 14px; font-weight: 500; color: #374151; padding: 8px 12px; border-radius: 6px; transition: all .2s; white-space: nowrap; }
nav a:hover { background: var(--primary-pale); color: var(--primary); }
.nav-more { position: relative; }
.nav-more > a::after { content: ' ▾'; font-size: 10px; }
.dropdown { display: none; position: absolute; top: 100%; left: 0; background: #fff; border: 1px solid var(--primary-border); border-radius: var(--radius); box-shadow: 0 8px 24px rgba(0,0,0,0.12); padding: 8px; min-width: 220px; z-index: 999; }
.nav-more:hover .dropdown { display: flex; flex-direction: column; gap: 2px; }
.dropdown a { font-size: 13px; padding: 8px 12px; border-radius: 6px; color: #374151; display: block; }
.dropdown a:hover { background: var(--primary-pale); color: var(--primary); }
.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 4px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--primary); border-radius: 2px; }

/* BREADCRUMB */
.breadcrumb { max-width: 1200px; margin: 0 auto; padding: 10px 20px; font-size: 13px; color: #64748b; display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.breadcrumb a { color: var(--primary); }
.breadcrumb span { color: #cbd5e1; }

/* STATS BAR */
.stats-bar { background: var(--primary); padding: 16px 20px; }
.stats-inner { max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-around; flex-wrap: wrap; gap: 12px; }
.stat { text-align: center; }
.stat-number { font-size: 22px; font-weight: 700; color: #fff; font-family: var(--font-display); }
.stat-label { font-size: 11px; color: rgba(255,255,255,.75); text-transform: uppercase; letter-spacing: .06em; }

/* CATEGORY SECTION */
.category-section { max-width: 1200px; margin: 0 auto; padding: 40px 20px 20px; }
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.section-title { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #1a202c; }
.section-link { font-size: 14px; color: var(--primary); font-weight: 600; }
.section-link:hover { text-decoration: underline; }
.category-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 12px; }
.category-pill { background: var(--primary-pale); border: 1.5px solid var(--primary-border); border-radius: var(--radius); padding: 16px 12px; text-align: center; text-decoration: none; transition: all .2s; }
.category-pill:hover { background: var(--primary); border-color: var(--primary); transform: translateY(-2px); }
.category-pill:hover .cat-name { color: #fff; }
.category-pill:hover .cat-icon { filter: grayscale(0); }
.cat-icon { font-size: 26px; margin-bottom: 6px; }
.cat-name { font-size: 13px; font-weight: 600; color: var(--primary); }

/* MAIN LAYOUT */
.main-wrap { max-width: 1200px; margin: 0 auto; padding: 32px 20px; display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.main-wrap > main { min-width: 0; }
.main-wrap table { max-width: 100%; }
@media (max-width: 900px) { .main-wrap { grid-template-columns: 1fr; } }

/* ARTICLE GRID */
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 16px; }
.article-card { background: #fff; border: 1px solid #e2e8f0; border-radius: var(--radius); overflow: hidden; text-decoration: none; color: inherit; transition: all .2s; }
.article-card:hover { border-color: var(--primary); box-shadow: var(--shadow); transform: translateY(-2px); }
.article-card-img { background: var(--primary-pale); font-size: 32px; text-align: center; padding: 16px; }
.article-card-body { padding: 14px; }
.article-tag { font-size: 11px; font-weight: 600; color: var(--primary); text-transform: uppercase; letter-spacing: .05em; display: block; margin-bottom: 6px; }
.article-card-body h3 { font-size: 14px; font-weight: 600; color: #1a202c; line-height: 1.4; margin-bottom: 8px; }
.article-card-meta { font-size: 12px; color: #94a3b8; }

/* FEATURED CARD */
.featured-card { display: grid; grid-template-columns: 120px 1fr; gap: 20px; background: var(--primary-pale); border: 1.5px solid var(--primary-border); border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.featured-card-img { background: var(--primary); border-radius: 8px; font-size: 48px; display: flex; align-items: center; justify-content: center; }
.featured-label { font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 6px; }
.featured-card-body h2 { font-family: var(--font-display); font-size: 18px; color: #1a202c; margin-bottom: 8px; line-height: 1.3; }
.featured-card-body p { font-size: 14px; color: #4a5568; line-height: 1.6; }
.card-meta { font-size: 12px; color: #94a3b8; margin-top: 8px; }

/* SIDEBAR */
aside .newsletter-widget { background: var(--primary); color: #fff; border-radius: var(--radius); padding: 24px; margin-bottom: 20px; }
aside .newsletter-widget h4 { font-size: 16px; font-weight: 700; margin-bottom: 8px; }
aside .newsletter-widget p { font-size: 13px; opacity: .85; line-height: 1.6; margin-bottom: 14px; }
.newsletter-input { width: 100%; padding: 10px 12px; border-radius: 6px; border: none; font-size: 14px; margin-bottom: 10px; }
.newsletter-btn { width: 100%; padding: 10px; background: #fff; color: var(--primary); border: none; border-radius: 6px; font-size: 14px; font-weight: 600; cursor: pointer; }
.newsletter-btn:hover { background: var(--gold); }
.sidebar-widget { background: #f8fafc; border: 1px solid #e2e8f0; border-radius: var(--radius); padding: 20px; margin-bottom: 20px; }
.widget-header { font-size: 14px; font-weight: 700; color: #1a202c; margin-bottom: 14px; }
.widget-link { display: flex; align-items: flex-start; gap: 10px; padding: 10px 0; border-bottom: 1px solid #f1f5f9; text-decoration: none; }
.widget-link:last-child { border-bottom: none; }
.widget-link-num { font-size: 18px; font-weight: 700; color: var(--primary-border); min-width: 24px; }
.widget-link-text { font-size: 13px; color: #374151; font-weight: 500; line-height: 1.4; }
.widget-link:hover .widget-link-text { color: var(--primary); }

/* ARTICLE BODY */
.article-body { max-width: 760px; }
.article-meta { display: flex; gap: 16px; font-size: 13px; color: #64748b; margin-bottom: 24px; flex-wrap: wrap; }
.callout { background: var(--primary-pale); border-left: 4px solid var(--primary); border-radius: 0 8px 8px 0; padding: 16px 20px; margin: 24px 0; font-size: 15px; color: #374151; line-height: 1.75; }

/* FOOTER */
footer { background: #0a2a2a; color: rgba(255,255,255,.75); padding: 48px 20px 0; }
.footer-top { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 32px; padding-bottom: 40px; }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,.55); line-height: 1.7; margin-top: 8px; max-width: 280px; }
.footer-col h5 { font-size: 13px; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 14px; }
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 13px; color: rgba(255,255,255,.6); }
.footer-col ul li a:hover { color: var(--primary-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.1); max-width: 1200px; margin: 0 auto; padding: 20px 0; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; }
.footer-bottom p { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-legal { display: flex; gap: 16px; }
.footer-legal a { font-size: 12px; color: rgba(255,255,255,.4); }
.footer-legal a:hover { color: var(--primary-light); }
.disclaimer { background: #061a1a; padding: 16px 20px; text-align: center; font-size: 12px; color: rgba(255,255,255,.35); line-height: 1.6; }

/* BUTTONS */
.btn-primary { background: var(--primary); color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; display: inline-block; transition: background .2s; }
.btn-primary:hover { background: var(--primary-dark); color: #fff; }
.btn-outline { background: transparent; color: #fff; padding: 12px 24px; border-radius: 8px; font-size: 15px; font-weight: 600; text-decoration: none; border: 2px solid rgba(255,255,255,.5); display: inline-block; transition: all .2s; }
.btn-outline:hover { background: rgba(255,255,255,.1); color: #fff; }

/* AD SLOT */
.ad-slot { background: #f1f5f9; border: 1px dashed #cbd5e1; border-radius: 8px; display: flex; align-items: center; justify-content: center; color: #94a3b8; font-size: 12px; }
.sidebar-ad { padding: 0; overflow: hidden; }

/* RESPONSIVE */
@media (max-width: 768px) {
  nav { display: none; }
  nav.open { display: flex; flex-direction: column; position: absolute; top: 64px; left: 0; right: 0; background: #fff; border-bottom: 1px solid #e2e8f0; padding: 16px; z-index: 999; }
  .hamburger { display: flex; }
  .header-inner { position: relative; }
  .featured-card { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-top { grid-template-columns: 1fr; }
  .stats-inner { gap: 20px; }
}
