@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Playfair+Display:ital,wght@0,600;0,700;1,500&display=swap');

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

:root {
  --white: #ffffff;
  --bg-light: #f4f6f9;
  --bg-card: #ffffff;
  --bg-section: #eef1f6;
  --text-primary: #1c2535;
  --text-secondary: #4a5568;
  --text-muted: #718096;
  --text-light: #a0aec0;
  --accent: #1a3c6e;
  --accent-hover: #0f2a52;
  --accent-light: #e8eef7;
  --accent-mid: #2a5298;
  --border: #dde3ee;
  --border-light: #edf0f5;
  --separator: #e2e8f0;
  --shadow-sm: 0 1px 4px rgba(26,60,110,0.07);
  --shadow-md: 0 4px 16px rgba(26,60,110,0.10);
  --shadow-lg: 0 8px 32px rgba(26,60,110,0.13);
  --radius: 6px;
  --radius-lg: 10px;
  --font-body: 'Inter', sans-serif;
  --font-heading: 'Playfair Display', serif;
  --max-width: 1200px;
  --header-height: 70px;
}

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  background: var(--bg-light);
  color: var(--text-primary);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color .2s; }
a:hover { color: var(--accent-hover); }

img { max-width: 100%; height: auto; display: block; }

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  color: var(--text-primary);
  line-height: 1.25;
  font-weight: 700;
}

p { margin-bottom: 1rem; color: var(--text-secondary); line-height: 1.75; }
p:last-child { margin-bottom: 0; }

ul, ol { padding-left: 1.5rem; color: var(--text-secondary); }
li { margin-bottom: .4rem; line-height: 1.65; }

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

.container-narrow {
  max-width: 780px;
  margin: 0 auto;
  padding: 0 24px;
}

/* =========================================
   HEADER
   ========================================= */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  height: var(--header-height);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
}

.logo-mark {
  width: 36px;
  height: 36px;
  background: var(--accent);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.logo-mark span {
  color: var(--white);
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  line-height: 1;
}

.logo-text {
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--text-primary);
}

.logo-sub {
  font-family: var(--font-body);
  font-size: 10px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: .08em;
  text-transform: uppercase;
  line-height: 1;
}

.main-nav { display: flex; align-items: center; gap: 2px; }

.main-nav a {
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  padding: 6px 12px;
  border-radius: var(--radius);
  transition: background .2s, color .2s;
  white-space: nowrap;
}

.main-nav a:hover, .main-nav a.active {
  background: var(--accent-light);
  color: var(--accent);
}

.nav-dropdown { position: relative; }

.nav-dropdown-toggle {
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-dropdown-toggle::after {
  content: '';
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 5px solid var(--text-muted);
}

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 200px;
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-6px);
  transition: opacity .2s, transform .2s, visibility .2s;
}

.nav-dropdown:hover .nav-dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown-menu a {
  display: block;
  padding: 8px 16px;
  font-size: 13.5px;
  border-radius: 0;
  color: var(--text-secondary);
}

.nav-dropdown-menu a:hover { background: var(--accent-light); color: var(--accent); }

.header-actions { display: flex; align-items: center; gap: 10px; }

.btn-subscribe {
  background: var(--accent);
  color: var(--white) !important;
  padding: 8px 18px !important;
  border-radius: var(--radius) !important;
  font-size: 13.5px !important;
  font-weight: 600 !important;
  letter-spacing: .01em;
  transition: background .2s !important;
}

.btn-subscribe:hover { background: var(--accent-hover) !important; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
  background: none;
  border: none;
}

.hamburger span {
  width: 24px; height: 2px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all .3s;
}

/* =========================================
   TOP BAR
   ========================================= */
.top-bar {
  background: var(--accent);
  color: rgba(255,255,255,0.85);
  font-size: 12px;
  padding: 6px 0;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.top-bar a { color: rgba(255,255,255,0.85); font-size: 12px; }
.top-bar a:hover { color: var(--white); }

.top-bar-left, .top-bar-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* =========================================
   HERO
   ========================================= */
.hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 60px 0 50px;
}

.hero-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 14px;
  display: block;
}

.hero h1 {
  font-size: clamp(28px, 3.5vw, 44px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 18px;
  line-height: 1.2;
}

.hero-lead {
  font-size: 17px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 28px;
}

.hero-actions { display: flex; gap: 12px; flex-wrap: wrap; }

.hero-image-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  aspect-ratio: 4/3;
  box-shadow: var(--shadow-lg);
}

.hero-image-wrap img {
  width: 100%; height: 100%;
  object-fit: cover;
}

/* =========================================
   BUTTONS
   ========================================= */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 600;
  padding: 10px 22px;
  border-radius: var(--radius);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all .2s;
  text-decoration: none;
  line-height: 1;
  letter-spacing: .01em;
}

.btn-primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}

.btn-primary:hover {
  background: var(--accent-hover);
  border-color: var(--accent-hover);
  color: var(--white);
}

.btn-outline {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn-outline:hover {
  background: var(--accent);
  color: var(--white);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-ghost:hover {
  background: var(--bg-section);
  color: var(--text-primary);
}

.btn-sm { padding: 7px 14px; font-size: 13px; }
.btn-lg { padding: 13px 30px; font-size: 15px; }

/* =========================================
   SECTION TITLES
   ========================================= */
.section { padding: 60px 0; }
.section-lg { padding: 80px 0; }
.section-sm { padding: 40px 0; }

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  margin-bottom: 36px;
  gap: 20px;
}

.section-title {
  font-size: clamp(20px, 2.5vw, 28px);
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.section-subtitle {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.5;
  font-family: var(--font-body);
  font-weight: 400;
}

.section-divider {
  width: 48px; height: 3px;
  background: var(--accent);
  border-radius: 2px;
  margin: 10px 0 0;
}

/* =========================================
   ARTICLE CARDS
   ========================================= */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.articles-grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

.articles-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.article-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow .25s, transform .25s;
}

.article-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.article-card-image {
  aspect-ratio: 16/10;
  overflow: hidden;
}

.article-card-image img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform .4s;
}

.article-card:hover .article-card-image img { transform: scale(1.04); }

.article-card-body { padding: 20px; }

.article-category {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 8px;
  display: block;
}

.article-card-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 10px;
  line-height: 1.35;
}

.article-card-title a { color: var(--text-primary); }
.article-card-title a:hover { color: var(--accent); }

.article-card-excerpt {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.65;
  margin-bottom: 16px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  color: var(--text-light);
  border-top: 1px solid var(--border-light);
  padding-top: 12px;
}

.article-meta-author { font-weight: 500; color: var(--text-muted); }

.article-card-featured {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  overflow: hidden;
  transition: box-shadow .25s;
}

.article-card-featured:hover { box-shadow: var(--shadow-md); }

.article-card-featured .article-card-image {
  aspect-ratio: auto;
  min-height: 280px;
}

.article-card-featured .article-card-body {
  padding: 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.article-card-featured .article-card-title {
  font-size: 22px;
  margin-bottom: 14px;
}

.article-card-featured .article-card-excerpt {
  font-size: 15px;
  -webkit-line-clamp: 4;
}

/* =========================================
   FEATURED / LEAD STORIES
   ========================================= */
.lead-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 24px;
}

.lead-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: var(--text-primary);
}

.lead-card-image {
  width: 100%; height: 440px;
  object-fit: cover;
  opacity: .65;
}

.lead-card-overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(15,24,40,.92) 60%, transparent);
  padding: 32px;
}

.lead-card-title {
  color: var(--white);
  font-size: clamp(18px,2.2vw,26px);
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.25;
}

.lead-card-title a { color: var(--white); }
.lead-card-title a:hover { color: rgba(255,255,255,.75); }

.lead-card-excerpt { color: rgba(255,255,255,.78); font-size: 14px; line-height: 1.65; }

.lead-side { display: flex; flex-direction: column; gap: 16px; }

.lead-side-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-light);
  padding: 20px;
  flex: 1;
  transition: box-shadow .25s;
}

.lead-side-card:hover { box-shadow: var(--shadow-sm); }

/* =========================================
   STATS BAR
   ========================================= */
.stats-bar {
  background: var(--accent);
  padding: 32px 0;
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255,255,255,.15);
}

.stat-item {
  background: var(--accent);
  text-align: center;
  padding: 24px 20px;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 36px;
  font-weight: 700;
  color: var(--white);
  display: block;
  margin-bottom: 4px;
}

.stat-label {
  font-size: 13px;
  color: rgba(255,255,255,.75);
  font-weight: 400;
}

/* =========================================
   CATEGORIES / TAGS
   ========================================= */
.tag {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  background: var(--accent-light);
  color: var(--accent);
  text-decoration: none;
  transition: background .2s, color .2s;
}

.tag:hover { background: var(--accent); color: var(--white); }

.tags-list { display: flex; flex-wrap: wrap; gap: 8px; }

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 30px;
  font-size: 13px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all .2s;
}

.category-pill:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-light);
}

/* =========================================
   SIDEBAR
   ========================================= */
.layout-with-sidebar {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 40px;
  align-items: start;
}

.sidebar { display: flex; flex-direction: column; gap: 28px; }

.sidebar-widget {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.widget-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: flex;
  align-items: center;
  gap: 8px;
}

.popular-list { list-style: none; padding: 0; }

.popular-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}

.popular-list li:last-child { border-bottom: none; }

.popular-num {
  font-size: 22px;
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  min-width: 28px;
  font-family: var(--font-heading);
}

.popular-title {
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.4;
}

.popular-title a { color: var(--text-primary); }
.popular-title a:hover { color: var(--accent); }

.popular-meta { font-size: 11.5px; color: var(--text-light); margin-top: 3px; }

/* =========================================
   NEWSLETTER BOX
   ========================================= */
.newsletter-box {
  background: var(--accent);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  text-align: center;
}

.newsletter-box h3 {
  color: var(--white);
  font-size: 18px;
  margin-bottom: 10px;
}

.newsletter-box p {
  color: rgba(255,255,255,.78);
  font-size: 13.5px;
  margin-bottom: 16px;
}

.newsletter-form { display: flex; flex-direction: column; gap: 8px; }

.newsletter-form input {
  padding: 10px 14px;
  border-radius: var(--radius);
  border: none;
  font-size: 13.5px;
  width: 100%;
  font-family: var(--font-body);
  background: rgba(255,255,255,.15);
  color: var(--white);
  outline: none;
}

.newsletter-form input::placeholder { color: rgba(255,255,255,.55); }
.newsletter-form input:focus { background: rgba(255,255,255,.22); }

.newsletter-form button {
  width: 100%;
  padding: 10px;
  border-radius: var(--radius);
  border: none;
  background: var(--white);
  color: var(--accent);
  font-weight: 600;
  font-size: 13.5px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: opacity .2s;
}

.newsletter-form button:hover { opacity: .88; }

/* =========================================
   BREADCRUMB
   ========================================= */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-light);
  padding: 14px 0;
  border-bottom: 1px solid var(--border-light);
  margin-bottom: 0;
}

.breadcrumb a { color: var(--text-muted); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb .sep { color: var(--text-light); font-size: 11px; }
.breadcrumb .current { color: var(--text-secondary); font-weight: 500; }

/* =========================================
   ARTICLE CONTENT
   ========================================= */
.article-header { padding: 40px 0 32px; }

.article-main-title {
  font-size: clamp(24px, 3.5vw, 38px);
  font-weight: 700;
  margin-bottom: 18px;
  line-height: 1.2;
}

.article-lead-text {
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 24px;
  padding: 0 0 24px;
  border-bottom: 1px solid var(--separator);
}

.article-info-bar {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--text-muted);
}

.article-info-bar .author { font-weight: 600; color: var(--text-secondary); }

.article-cover {
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin: 24px 0;
  aspect-ratio: 16/7;
}

.article-cover img { width: 100%; height: 100%; object-fit: cover; }

.article-cover figcaption {
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
  margin-top: 8px;
  font-style: italic;
}

.article-body h2 {
  font-size: clamp(19px,2.5vw,24px);
  margin: 32px 0 14px;
  color: var(--text-primary);
}

.article-body h3 {
  font-size: clamp(16px,2vw,20px);
  margin: 24px 0 12px;
  color: var(--text-primary);
}

.article-body p {
  font-size: 16px;
  line-height: 1.8;
  margin-bottom: 20px;
  color: var(--text-secondary);
}

.article-body blockquote {
  border-left: 4px solid var(--accent);
  margin: 28px 0;
  padding: 16px 24px;
  background: var(--accent-light);
  border-radius: 0 var(--radius) var(--radius) 0;
}

.article-body blockquote p {
  font-size: 17px;
  font-style: italic;
  color: var(--text-primary);
  margin: 0;
  font-family: var(--font-heading);
  font-weight: 500;
}

.article-body ul, .article-body ol {
  margin: 0 0 20px 0;
  padding-left: 24px;
}

.article-body li {
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 1.75;
  margin-bottom: 8px;
}

.infobox {
  background: var(--accent-light);
  border: 1px solid var(--accent-mid);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin: 24px 0;
}

.infobox-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--accent);
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

/* =========================================
   AUTHOR BOX
   ========================================= */
.author-box {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  gap: 20px;
  margin: 32px 0;
}

.author-avatar {
  width: 72px; height: 72px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}

.author-name {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 4px;
}

.author-title { font-size: 13px; color: var(--accent-mid); margin-bottom: 8px; }
.author-bio { font-size: 14px; color: var(--text-muted); line-height: 1.65; margin: 0; }

/* =========================================
   FORMS
   ========================================= */
.form-group { margin-bottom: 20px; }

.form-label {
  display: block;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-size: 14.5px;
  font-family: var(--font-body);
  color: var(--text-primary);
  background: var(--white);
  transition: border-color .2s, box-shadow .2s;
  outline: none;
}

.form-control:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(26,60,110,.1);
}

textarea.form-control {
  resize: vertical;
  min-height: 130px;
}

.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 36px;
}

.form-hint { font-size: 12px; color: var(--text-light); margin-top: 5px; }

.form-check {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  cursor: pointer;
}

.form-check input { margin-top: 3px; accent-color: var(--accent); }

.form-check-label { font-size: 14px; color: var(--text-secondary); }

.alert {
  padding: 14px 18px;
  border-radius: var(--radius);
  font-size: 14px;
  margin-bottom: 20px;
  display: none;
}

.alert-success {
  background: #e6f4ea;
  color: #1e7e34;
  border: 1px solid #b7dfc2;
  display: block;
}

.alert-error {
  background: #fde8e8;
  color: #c0392b;
  border: 1px solid #f5b9b9;
}

/* =========================================
   CONTACT
   ========================================= */
.contact-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 40px;
  align-items: start;
}

.contact-info { display: flex; flex-direction: column; gap: 16px; }

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
}

.contact-icon {
  width: 42px; height: 42px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon svg { color: var(--accent); }

.contact-item-title { font-size: 12px; font-weight: 600; color: var(--text-light); text-transform: uppercase; letter-spacing: .08em; margin-bottom: 4px; }

.contact-item-value { font-size: 15px; font-weight: 500; color: var(--text-primary); }

.map-placeholder {
  background: var(--bg-section);
  border-radius: var(--radius-lg);
  height: 280px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 14px;
  border: 1px solid var(--border);
  overflow: hidden;
}

.map-placeholder img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-lg); }

/* =========================================
   ANALYSIS / DATA BLOCKS
   ========================================= */
.data-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.data-card-value {
  font-size: 36px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent);
  margin-bottom: 4px;
}

.data-card-label { font-size: 14px; color: var(--text-muted); }

.data-card-trend {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 12px;
  font-weight: 600;
  margin-top: 8px;
}

.trend-up { color: #27ae60; }
.trend-down { color: #e74c3c; }

.progress-bar-wrap { margin: 10px 0; }
.progress-label {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 5px;
}
.progress-track {
  height: 7px;
  background: var(--bg-section);
  border-radius: 4px;
  overflow: hidden;
}
.progress-fill {
  height: 100%;
  background: var(--accent);
  border-radius: 4px;
  transition: width .6s ease;
}
.progress-fill.accent-2 { background: #2a5298; }
.progress-fill.accent-3 { background: #4a90d9; }
.progress-fill.accent-4 { background: #72b0f0; }

.timeline { position: relative; padding-left: 28px; }
.timeline::before {
  content: '';
  position: absolute;
  left: 8px; top: 4px;
  bottom: 4px;
  width: 2px;
  background: var(--separator);
}

.timeline-item {
  position: relative;
  padding-bottom: 28px;
}

.timeline-item::before {
  content: '';
  position: absolute;
  left: -24px; top: 6px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--accent);
  border: 2px solid var(--white);
  box-shadow: 0 0 0 2px var(--accent);
}

.timeline-year {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: .08em;
  color: var(--accent-mid);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.timeline-content { font-size: 14.5px; color: var(--text-secondary); line-height: 1.6; }

/* =========================================
   TABLE
   ========================================= */
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }

.data-table th {
  background: var(--accent);
  color: var(--white);
  padding: 12px 16px;
  text-align: left;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .04em;
}

.data-table th:first-child { border-radius: var(--radius) 0 0 0; }
.data-table th:last-child { border-radius: 0 var(--radius) 0 0; }

.data-table td {
  padding: 11px 16px;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-secondary);
}

.data-table tr:nth-child(even) td { background: var(--bg-section); }
.data-table tr:last-child td { border-bottom: none; }
.data-table tr:hover td { background: var(--accent-light); }

.table-wrap { overflow-x: auto; border-radius: var(--radius-lg); border: 1px solid var(--border); }

/* =========================================
   SEARCH
   ========================================= */
.search-bar {
  display: flex;
  gap: 0;
  max-width: 600px;
  margin: 0 auto 32px;
}

.search-input {
  flex: 1;
  padding: 12px 18px;
  border: 2px solid var(--border);
  border-right: none;
  border-radius: var(--radius) 0 0 var(--radius);
  font-size: 15px;
  font-family: var(--font-body);
  color: var(--text-primary);
  outline: none;
  transition: border-color .2s;
}

.search-input:focus { border-color: var(--accent); }

.search-btn {
  padding: 12px 22px;
  background: var(--accent);
  color: var(--white);
  border: none;
  border-radius: 0 var(--radius) var(--radius) 0;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-body);
  transition: background .2s;
}

.search-btn:hover { background: var(--accent-hover); }

/* =========================================
   PAGINATION
   ========================================= */
.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 40px;
}

.page-link {
  width: 38px; height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  font-size: 14px;
  font-weight: 500;
  border: 1.5px solid var(--border);
  color: var(--text-secondary);
  text-decoration: none;
  transition: all .2s;
}

.page-link:hover, .page-link.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--white);
}

/* =========================================
   FOOTER
   ========================================= */
.site-footer {
  background: #0f1e36;
  color: rgba(255,255,255,.75);
  padding: 56px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}

.footer-about p {
  font-size: 14px;
  color: rgba(255,255,255,.6);
  line-height: 1.7;
  margin-top: 14px;
}

.footer-logo { margin-bottom: 4px; }

.footer-col-title {
  font-family: var(--font-heading);
  font-size: 15px;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 18px;
}

.footer-links { list-style: none; padding: 0; }

.footer-links li { margin-bottom: 8px; }

.footer-links a {
  font-size: 13.5px;
  color: rgba(255,255,255,.6);
  text-decoration: none;
  transition: color .2s;
}

.footer-links a:hover { color: var(--white); }

.footer-contact-line {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 13px;
  color: rgba(255,255,255,.6);
  margin-bottom: 10px;
}

.footer-bottom {
  padding: 18px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12.5px;
  color: rgba(255,255,255,.45);
  flex-wrap: wrap;
  gap: 10px;
}

.footer-bottom a { color: rgba(255,255,255,.55); }
.footer-bottom a:hover { color: var(--white); }

.footer-bottom-links { display: flex; gap: 16px; }

/* =========================================
   PAGE HERO (inner pages)
   ========================================= */
.page-hero {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 48px 0 36px;
}

.page-hero-eyebrow {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--accent-mid);
  margin-bottom: 12px;
  display: block;
}

.page-hero h1 {
  font-size: clamp(24px, 3vw, 38px);
  margin-bottom: 12px;
}

.page-hero-desc {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 600px;
  line-height: 1.7;
}

/* =========================================
   AUTHORS
   ========================================= */
.authors-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.author-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 28px 24px;
  text-align: center;
  transition: box-shadow .25s, transform .25s;
}

.author-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.author-card-avatar {
  width: 84px; height: 84px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 14px;
  border: 3px solid var(--accent-light);
}

.author-card-name {
  font-size: 17px;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text-primary);
}

.author-card-role { font-size: 13px; color: var(--accent-mid); margin-bottom: 12px; }

.author-card-bio {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 16px;
}

/* =========================================
   QUOTE CARDS / EXPERT OPINION
   ========================================= */
.quote-section { background: var(--accent-light); }

.quote-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  position: relative;
}

.quote-mark {
  font-family: var(--font-heading);
  font-size: 72px;
  color: var(--accent-light);
  line-height: .6;
  position: absolute;
  top: 18px; left: 20px;
  font-weight: 700;
}

.quote-text {
  font-family: var(--font-heading);
  font-style: italic;
  font-size: 17px;
  color: var(--text-primary);
  line-height: 1.65;
  margin-bottom: 16px;
  padding-left: 24px;
}

.quote-author-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--text-primary);
}

.quote-author-role { font-size: 12.5px; color: var(--text-muted); }

/* =========================================
   TABS
   ========================================= */
.tabs { border-bottom: 2px solid var(--border); margin-bottom: 28px; display: flex; gap: 0; }

.tab-btn {
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  transition: all .2s;
  font-family: var(--font-body);
}

.tab-btn:hover { color: var(--text-primary); }
.tab-btn.active { color: var(--accent); border-bottom-color: var(--accent); }

.tab-content { display: none; }
.tab-content.active { display: block; }

/* =========================================
   ACCORDION
   ========================================= */
.accordion { border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden; }

.accordion-item { border-bottom: 1px solid var(--border); }
.accordion-item:last-child { border-bottom: none; }

.accordion-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  cursor: pointer;
  background: var(--bg-card);
  transition: background .2s;
  user-select: none;
}

.accordion-head:hover { background: var(--accent-light); }

.accordion-title { font-size: 15px; font-weight: 600; color: var(--text-primary); }

.accordion-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  transition: transform .3s;
  color: var(--accent);
}

.accordion-item.open .accordion-icon { transform: rotate(180deg); }

.accordion-body {
  padding: 0 20px;
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease, padding .35s;
}

.accordion-item.open .accordion-body { max-height: 600px; padding: 4px 20px 18px; }

.accordion-body p { font-size: 14.5px; color: var(--text-secondary); line-height: 1.7; margin: 0; }

/* =========================================
   POLICY PAGES
   ========================================= */
.policy-layout { max-width: 860px; margin: 0 auto; }

.policy-toc {
  background: var(--bg-section);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  margin-bottom: 32px;
}

.policy-toc-title { font-size: 14px; font-weight: 700; color: var(--text-primary); margin-bottom: 12px; }

.policy-toc ol { padding-left: 18px; margin: 0; }
.policy-toc li { font-size: 13.5px; color: var(--accent); margin-bottom: 6px; }
.policy-toc a { color: var(--accent); text-decoration: underline; }

.policy-section { margin-bottom: 40px; }
.policy-section h2 {
  font-size: 20px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.policy-section h3 {
  font-size: 16.5px;
  font-weight: 600;
  color: var(--text-primary);
  margin: 20px 0 10px;
}

.policy-section p { font-size: 14.5px; line-height: 1.8; color: var(--text-secondary); }
.policy-section ul, .policy-section ol { font-size: 14.5px; line-height: 1.75; color: var(--text-secondary); margin-bottom: 14px; }

.policy-last-updated {
  font-size: 13px;
  color: var(--text-muted);
  background: var(--bg-section);
  border-radius: var(--radius);
  padding: 8px 14px;
  display: inline-block;
  margin-bottom: 28px;
}

/* =========================================
   SITEMAP
   ========================================= */
.sitemap-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }

.sitemap-col-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--accent);
}

.sitemap-links { list-style: none; padding: 0; }
.sitemap-links li { margin-bottom: 8px; }
.sitemap-links a { font-size: 14px; color: var(--accent); }
.sitemap-links a:hover { text-decoration: underline; }

/* =========================================
   404
   ========================================= */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.error-code {
  font-size: 96px;
  font-family: var(--font-heading);
  font-weight: 700;
  color: var(--accent-light);
  line-height: 1;
  margin-bottom: 8px;
}

.error-title {
  font-size: 28px;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 14px;
}

.error-desc { font-size: 16px; color: var(--text-muted); margin-bottom: 28px; }

/* =========================================
   CATEGORIES PAGE
   ========================================= */
.category-card {
  background: var(--bg-card);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .25s, transform .25s;
}

.category-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.category-icon {
  width: 48px; height: 48px;
  background: var(--accent-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
}

.category-icon svg { color: var(--accent); }

.category-card-name { font-size: 17px; font-weight: 700; color: var(--text-primary); }
.category-card-desc { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.category-card-count { font-size: 12px; color: var(--accent-mid); font-weight: 600; }

/* =========================================
   MISC
   ========================================= */
.divider {
  border: none;
  border-top: 1px solid var(--separator);
  margin: 32px 0;
}

.bg-white { background: var(--white); }
.bg-light { background: var(--bg-light); }
.bg-section { background: var(--bg-section); }
.bg-accent { background: var(--accent); }

.text-center { text-align: center; }
.text-right { text-align: right; }

.mt-0 { margin-top: 0; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }

.flex { display: flex; }
.items-center { align-items: center; }
.gap-8 { gap: 8px; }
.gap-16 { gap: 16px; }

.success-message {
  display: none;
  background: #e6f4ea;
  border: 1px solid #b7dfc2;
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  text-align: center;
}

.success-message.visible { display: block; }
.success-message-icon { font-size: 36px; margin-bottom: 10px; color: #27ae60; }
.success-message h3 { color: #1e7e34; margin-bottom: 6px; }
.success-message p { color: #2d8a4e; margin: 0; font-size: 14px; }

.mobile-menu {
  display: none;
  position: fixed;
  top: var(--header-height);
  left: 0; right: 0;
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 90;
  padding: 16px;
  flex-direction: column;
  gap: 4px;
  box-shadow: var(--shadow-md);
}

.mobile-menu.open { display: flex; }
.mobile-menu a {
  display: block;
  padding: 10px 14px;
  font-size: 14.5px;
  color: var(--text-primary);
  border-radius: var(--radius);
}
.mobile-menu a:hover { background: var(--accent-light); color: var(--accent); }

.mobile-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

/* =========================================
   RESPONSIVE
   ========================================= */
@media (max-width: 1024px) {
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .articles-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .lead-grid { grid-template-columns: 1fr; }
  .lead-card-image { height: 320px; }
}

@media (max-width: 768px) {
  .hero-layout { grid-template-columns: 1fr; }
  .hero-image-wrap { display: none; }
  .layout-with-sidebar { grid-template-columns: 1fr; }
  .sidebar { order: -1; }
  .contact-grid { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: repeat(2, 1fr); }
  .sitemap-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .main-nav { display: none; }
  .hamburger { display: flex; }
  .top-bar-left { display: none; }
  .article-card-featured { grid-template-columns: 1fr; }
}

@media (max-width: 580px) {
  .articles-grid { grid-template-columns: 1fr; }
  .articles-grid-2 { grid-template-columns: 1fr; }
  .articles-grid-4 { grid-template-columns: 1fr; }
  .authors-grid { grid-template-columns: 1fr; }
  .sitemap-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 40px 0; }
  .section-lg { padding: 56px 0; }
}
