@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Merriweather:wght@300;400;700&display=swap');

/* ==============================
   CSS VARIABLES & RESET
   ============================== */
:root {
  --navy: #0d2b4e;
  --navy-light: #1a3d6b;
  --navy-dark: #071a30;
  --teal: #1d9e8f;
  --teal-light: #26b5a5;
  --teal-dark: #157a6e;
  --gray-warm: #6b7280;
  --gray-light: #f4f5f7;
  --gray-mid: #e5e7eb;
  --gray-dark: #374151;
  --white: #ffffff;
  --text-main: #1f2937;
  --text-muted: #6b7280;
  --border: #d1d5db;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.10);
  --shadow-lg: 0 10px 40px rgba(0,0,0,0.13);
  --radius: 10px;
  --radius-lg: 16px;
  --font-main: 'Inter', sans-serif;
  --font-serif: 'Merriweather', serif;
  --transition: 0.22s ease;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-main);
  background: var(--white);
  color: var(--text-main);
  font-size: 16px;
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--teal); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--teal-dark); }
ul { list-style: none; }

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

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

/* ==============================
   TYPOGRAPHY
   ============================== */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-main);
  font-weight: 700;
  color: var(--navy);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.2rem); }
h3 { font-size: clamp(1.2rem, 2.5vw, 1.6rem); }
h4 { font-size: 1.15rem; }
h5 { font-size: 1rem; }

p { margin-bottom: 1.1rem; color: var(--text-main); }
p:last-child { margin-bottom: 0; }

.section-label {
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
  display: block;
}

/* ==============================
   BUTTONS
   ============================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius);
  padding: 12px 26px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: background var(--transition), color var(--transition), border-color var(--transition), transform var(--transition), box-shadow var(--transition);
  text-decoration: none;
}

.btn-primary {
  background: var(--teal);
  color: var(--white);
  border-color: var(--teal);
}
.btn-primary:hover {
  background: var(--teal-dark);
  border-color: var(--teal-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: 0 6px 20px rgba(29,158,143,0.3);
}

.btn-outline {
  background: transparent;
  color: var(--navy);
  border-color: var(--navy);
}
.btn-outline:hover {
  background: var(--navy);
  color: var(--white);
}

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,0.5);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--white);
}

.btn-sm { padding: 8px 18px; font-size: 0.82rem; }
.btn-lg { padding: 16px 36px; font-size: 1rem; }

/* ==============================
   HEADER & NAVIGATION
   ============================== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-mid);
  box-shadow: var(--shadow-sm);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

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

.logo-icon {
  width: 40px;
  height: 40px;
  background: linear-gradient(135deg, var(--navy) 0%, var(--teal) 100%);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.logo-icon svg {
  width: 22px;
  height: 22px;
  fill: white;
}

.logo-text {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--navy);
  letter-spacing: -0.03em;
}

.logo-text span { color: var(--teal); }

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

.nav-item {
  position: relative;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--gray-dark);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background: var(--gray-light);
  color: var(--navy);
}

.nav-link svg { width: 14px; height: 14px; transition: transform var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  min-width: 240px;
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: opacity var(--transition), transform var(--transition), visibility var(--transition);
  z-index: 100;
}

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

.dropdown a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  font-size: 0.87rem;
  color: var(--text-main);
  border-radius: 8px;
  transition: background var(--transition);
}

.dropdown a:hover { background: var(--gray-light); color: var(--navy); }

.dropdown-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--gray-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.dropdown-icon svg { width: 16px; height: 16px; fill: var(--teal); }

.header-cta { display: flex; align-items: center; gap: 12px; }

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

.burger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ==============================
   FOOTER
   ============================== */
.site-footer {
  background: var(--navy-dark);
  color: rgba(255,255,255,0.75);
  padding: 72px 0 0;
  margin-top: 80px;
}

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

.footer-brand .logo-text { color: var(--white); }
.footer-brand p {
  font-size: 0.9rem;
  line-height: 1.7;
  margin: 16px 0 24px;
  color: rgba(255,255,255,0.6);
}

.footer-contact-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 10px;
}

.footer-contact-item svg { width: 16px; height: 16px; fill: var(--teal); flex-shrink: 0; margin-top: 2px; }

.footer-col h5 {
  color: var(--white);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 20px;
}

.footer-col ul li { margin-bottom: 10px; }

.footer-col ul a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.6);
  transition: color var(--transition);
}

.footer-col ul a:hover { color: var(--teal); }

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 0;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.4);
  flex-wrap: wrap;
  gap: 12px;
}

.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { color: rgba(255,255,255,0.4); }
.footer-bottom-links a:hover { color: var(--teal); }

/* ==============================
   HERO
   ============================== */
.hero {
  background: var(--navy);
  padding: 100px 0 90px;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('../images/hero-bg.jpg') center/cover no-repeat;
  opacity: 0.08;
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.hero-content { }

.hero-eyebrow {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 20px;
  display: block;
}

.hero h1 {
  color: var(--white);
  margin-bottom: 22px;
  font-size: clamp(2rem, 3.5vw, 3rem);
}

.hero p {
  color: rgba(255,255,255,0.75);
  font-size: 1.1rem;
  line-height: 1.7;
  margin-bottom: 36px;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 56px;
}

.hero-stat {
  padding: 18px;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius);
  background: rgba(255,255,255,0.04);
}

.hero-stat-num {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--teal);
  display: block;
}

.hero-stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
  margin-top: 2px;
  display: block;
}

.hero-visual { }

.hero-img-wrap {
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4/3;
  border: 2px solid rgba(255,255,255,0.1);
}

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

/* ==============================
   SECTION SPACING
   ============================== */
.section { padding: 80px 0; }
.section-sm { padding: 56px 0; }
.section-lg { padding: 100px 0; }

.section-header {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 56px;
}

.section-header h2 { margin-bottom: 14px; }
.section-header p { color: var(--text-muted); font-size: 1.05rem; }

/* ==============================
   CARDS
   ============================== */
.card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  transition: box-shadow var(--transition), transform var(--transition);
  display: flex;
  flex-direction: column;
}

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

.card-img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
}

.card-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.card-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 20px;
  background: rgba(29,158,143,0.1);
  color: var(--teal-dark);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.tag-navy {
  background: rgba(13,43,78,0.1);
  color: var(--navy);
}

.meta-date {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.card-body h3 { margin-bottom: 10px; font-size: 1.15rem; }
.card-body h3 a { color: var(--navy); }
.card-body h3 a:hover { color: var(--teal); }

.card-body p { font-size: 0.9rem; color: var(--text-muted); line-height: 1.6; flex: 1; }

.card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-top: 1px solid var(--gray-mid);
  background: var(--gray-light);
}

.card-author {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
}

.read-more {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--teal);
  display: flex;
  align-items: center;
  gap: 4px;
}

.read-more svg { width: 14px; height: 14px; }

/* Grid layouts */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ==============================
   PODCAST CARD
   ============================== */
.podcast-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  gap: 20px;
  align-items: flex-start;
  transition: box-shadow var(--transition), transform var(--transition);
  text-decoration: none;
  color: inherit;
}

.podcast-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
  color: inherit;
}

.podcast-cover {
  width: 88px;
  height: 88px;
  border-radius: 12px;
  object-fit: cover;
  flex-shrink: 0;
}

.podcast-info { flex: 1; }
.podcast-info h4 { font-size: 1rem; margin-bottom: 6px; color: var(--navy); }
.podcast-info p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }

.podcast-meta {
  display: flex;
  gap: 16px;
  font-size: 0.78rem;
  color: var(--text-muted);
}

.podcast-meta span {
  display: flex;
  align-items: center;
  gap: 4px;
}

.podcast-meta svg { width: 13px; height: 13px; fill: var(--teal); }

.rating-stars { display: flex; gap: 2px; }
.rating-stars svg { width: 14px; height: 14px; fill: #f59e0b; }
.rating-stars svg.empty { fill: var(--gray-mid); }

/* ==============================
   ANALYST CARD
   ============================== */
.analyst-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: box-shadow var(--transition), transform var(--transition);
}

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

.analyst-photo {
  width: 88px;
  height: 88px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  border: 3px solid var(--teal);
}

.analyst-card h4 { margin-bottom: 4px; font-size: 1.05rem; }
.analyst-card .role { font-size: 0.82rem; color: var(--teal); font-weight: 500; margin-bottom: 12px; display: block; }
.analyst-card p { font-size: 0.85rem; color: var(--text-muted); }

.analyst-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin-top: 14px;
}

/* ==============================
   CATEGORY BLOCK
   ============================== */
.category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.category-item {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 28px 20px;
  text-align: center;
  text-decoration: none;
  color: inherit;
  border: 2px solid transparent;
  transition: border-color var(--transition), background var(--transition), box-shadow var(--transition);
}

.category-item:hover {
  border-color: var(--teal);
  background: rgba(29,158,143,0.04);
  box-shadow: var(--shadow-md);
  color: inherit;
}

.category-icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
}

.category-icon svg { width: 24px; height: 24px; fill: var(--teal); }

.category-item h4 { font-size: 0.95rem; margin-bottom: 4px; }
.category-item span { font-size: 0.78rem; color: var(--text-muted); }

/* ==============================
   NEWSLETTER BANNER
   ============================== */
.newsletter-banner {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border-radius: var(--radius-lg);
  padding: 60px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}

.newsletter-banner h2 { color: var(--white); margin-bottom: 10px; }
.newsletter-banner p { color: rgba(255,255,255,0.7); max-width: 480px; }

.newsletter-form {
  display: flex;
  gap: 12px;
  flex-shrink: 0;
  min-width: 380px;
}

.newsletter-form input {
  flex: 1;
  padding: 12px 18px;
  border-radius: var(--radius);
  border: none;
  font-family: var(--font-main);
  font-size: 0.9rem;
  outline: none;
  background: rgba(255,255,255,0.95);
  color: var(--text-main);
}

.newsletter-form input::placeholder { color: var(--gray-warm); }

/* ==============================
   FEATURED ARTICLE (WIDE)
   ============================== */
.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 28px;
  text-decoration: none;
  color: inherit;
  background: var(--white);
  transition: box-shadow var(--transition);
}

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

.featured-article-img {
  width: 100%;
  height: 100%;
  min-height: 280px;
  object-fit: cover;
}

.featured-article-content { padding: 40px; }
.featured-article-content h2 { font-size: 1.5rem; margin-bottom: 12px; }
.featured-article-content p { color: var(--text-muted); font-size: 0.95rem; }

/* ==============================
   BREADCRUMB
   ============================== */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.82rem;
  color: var(--text-muted);
  padding: 16px 0;
  flex-wrap: wrap;
}

.breadcrumb a { color: var(--teal); }
.breadcrumb span { color: var(--text-muted); }
.breadcrumb svg { width: 12px; height: 12px; fill: var(--text-muted); }

/* ==============================
   PAGE HERO (INNER PAGES)
   ============================== */
.page-hero {
  background: var(--navy);
  padding: 60px 0;
}

.page-hero h1 { color: var(--white); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.7); max-width: 600px; }

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

.sidebar-widget {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  margin-bottom: 24px;
}

.sidebar-widget h4 {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--navy);
  margin-bottom: 18px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--teal);
}

.sidebar-post {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-light);
  text-decoration: none;
  color: inherit;
}

.sidebar-post:last-child { border-bottom: none; }

.sidebar-post-img {
  width: 60px;
  height: 60px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.sidebar-post-info h5 { font-size: 0.85rem; margin-bottom: 4px; color: var(--navy); line-height: 1.3; }
.sidebar-post-info span { font-size: 0.75rem; color: var(--text-muted); }

/* ==============================
   ARTICLE CONTENT
   ============================== */
.article-body h2,
.article-body h3,
.article-body h4 { margin-top: 2rem; margin-bottom: 0.8rem; }

.article-body p { font-size: 1rem; line-height: 1.8; margin-bottom: 1.4rem; }

.article-body ul, .article-body ol {
  padding-left: 24px;
  margin-bottom: 1.4rem;
}
.article-body li { margin-bottom: 6px; line-height: 1.7; }
.article-body ul { list-style: disc; }
.article-body ol { list-style: decimal; }

.article-body blockquote {
  border-left: 4px solid var(--teal);
  padding: 16px 24px;
  background: rgba(29,158,143,0.06);
  border-radius: 0 var(--radius) var(--radius) 0;
  margin: 2rem 0;
  font-style: italic;
  font-size: 1.05rem;
  color: var(--navy);
}

.article-body .highlight-box {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  margin: 2rem 0;
  border: 1px solid var(--gray-mid);
}

/* ==============================
   RATING WIDGET
   ============================== */
.rating-widget {
  background: var(--navy);
  border-radius: var(--radius-lg);
  padding: 32px;
  color: var(--white);
  text-align: center;
}

.rating-big {
  font-size: 4rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1;
  display: block;
  margin: 16px 0 8px;
}

.rating-widget .rating-stars svg { width: 22px; height: 22px; }
.rating-widget .rating-stars { justify-content: center; }
.rating-widget p { color: rgba(255,255,255,0.65); font-size: 0.85rem; margin-top: 8px; }

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

.data-table th {
  background: var(--navy);
  color: var(--white);
  padding: 14px 18px;
  text-align: left;
  font-weight: 600;
  font-size: 0.82rem;
  letter-spacing: 0.05em;
}

.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: 14px 18px;
  border-bottom: 1px solid var(--gray-mid);
  color: var(--text-main);
}

.data-table tr:hover td { background: var(--gray-light); }
.data-table tr:last-child td { border-bottom: none; }

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

.form-label {
  display: block;
  font-size: 0.87rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 8px;
}

.form-control {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  font-family: var(--font-main);
  font-size: 0.92rem;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
}

.form-control:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29,158,143,0.12);
}

.form-control::placeholder { color: var(--gray-warm); }

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

select.form-control { cursor: pointer; }

.success-message {
  display: none;
  background: rgba(29,158,143,0.1);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius);
  padding: 16px 20px;
  color: var(--teal-dark);
  font-size: 0.9rem;
  font-weight: 500;
  margin-top: 16px;
  align-items: center;
  gap: 10px;
}

.success-message.show { display: flex; }
.success-message svg { width: 20px; height: 20px; fill: var(--teal); flex-shrink: 0; }

/* ==============================
   POLICY PAGE
   ============================== */
.policy-page h1 { margin-bottom: 8px; }
.policy-meta { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 40px; }

.policy-toc {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 24px 28px;
  margin-bottom: 40px;
  border-left: 4px solid var(--teal);
}

.policy-toc h4 { margin-bottom: 14px; font-size: 0.9rem; }
.policy-toc ol { padding-left: 20px; list-style: decimal; }
.policy-toc ol li { margin-bottom: 6px; }
.policy-toc ol li a { font-size: 0.87rem; color: var(--teal); }

.policy-section { margin-bottom: 40px; }
.policy-section h2 { font-size: 1.3rem; border-bottom: 2px solid var(--gray-mid); padding-bottom: 10px; margin-bottom: 18px; }
.policy-section h3 { font-size: 1.05rem; margin-bottom: 10px; margin-top: 20px; }
.policy-section p { font-size: 0.93rem; line-height: 1.75; color: #374151; margin-bottom: 14px; }
.policy-section ul { list-style: disc; padding-left: 22px; }
.policy-section ul li { font-size: 0.93rem; line-height: 1.7; margin-bottom: 8px; color: #374151; }

/* ==============================
   SEARCH BOX
   ============================== */
.search-box {
  display: flex;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: 50px;
  overflow: hidden;
  transition: border-color var(--transition), box-shadow var(--transition);
}

.search-box:focus-within {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29,158,143,0.12);
}

.search-box input {
  flex: 1;
  border: none;
  outline: none;
  padding: 12px 20px;
  font-family: var(--font-main);
  font-size: 0.92rem;
  background: transparent;
}

.search-box button {
  padding: 10px 22px;
  background: var(--teal);
  border: none;
  color: white;
  font-family: var(--font-main);
  font-weight: 600;
  font-size: 0.87rem;
  cursor: pointer;
  transition: background var(--transition);
}

.search-box button:hover { background: var(--teal-dark); }

/* ==============================
   TABS
   ============================== */
.tabs { display: flex; gap: 4px; border-bottom: 2px solid var(--gray-mid); margin-bottom: 32px; }

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

.tab-btn.active, .tab-btn:hover {
  color: var(--navy);
  border-bottom-color: var(--teal);
}

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

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

.page-btn {
  width: 40px;
  height: 40px;
  border-radius: 8px;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.87rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  text-decoration: none;
}

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

/* ==============================
   MISC
   ============================== */
.divider { height: 1px; background: var(--gray-mid); margin: 32px 0; }

.text-teal { color: var(--teal); }
.text-navy { color: var(--navy); }
.text-muted { color: var(--text-muted); }

.bg-light { background: var(--gray-light); }
.bg-navy { background: var(--navy); }
.bg-white { background: var(--white); }

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

.inline-icon { width: 18px; height: 18px; fill: currentColor; vertical-align: middle; }

.info-box {
  background: rgba(29,158,143,0.06);
  border: 1px solid rgba(29,158,143,0.2);
  border-radius: var(--radius);
  padding: 20px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.info-box svg { width: 22px; height: 22px; fill: var(--teal); flex-shrink: 0; margin-top: 2px; }
.info-box p { font-size: 0.9rem; color: var(--gray-dark); margin: 0; }

/* ==============================
   COOKIE BANNER
   ============================== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy-dark);
  color: rgba(255,255,255,0.85);
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  z-index: 9999;
  border-top: 3px solid var(--teal);
  flex-wrap: wrap;
}

.cookie-banner p { font-size: 0.85rem; margin: 0; flex: 1; min-width: 250px; }
.cookie-banner a { color: var(--teal); }

.cookie-actions { display: flex; gap: 10px; flex-shrink: 0; }

/* ==============================
   RESPONSIVE
   ============================== */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .category-grid { grid-template-columns: repeat(2, 1fr); }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .content-with-sidebar { grid-template-columns: 1fr; }
  .newsletter-banner { flex-direction: column; text-align: center; padding: 48px 36px; }
  .newsletter-form { min-width: unset; width: 100%; max-width: 460px; }
}

@media (max-width: 768px) {
  .hero-inner { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { padding: 60px 0; }
  .hero-stats { grid-template-columns: repeat(3, 1fr); }
  .grid-3 { grid-template-columns: 1fr; }
  .grid-2 { grid-template-columns: 1fr; }
  .grid-4 { grid-template-columns: 1fr 1fr; }
  .featured-article { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .main-nav { display: none; }
  .header-cta .btn { display: none; }
  .burger { display: flex; }

  .mobile-menu {
    display: none;
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--white);
    overflow-y: auto;
    padding: 20px;
    z-index: 999;
  }

  .mobile-menu.open { display: block; }

  .mobile-nav-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    border-bottom: 1px solid var(--gray-mid);
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-main);
    text-decoration: none;
  }

  .newsletter-form { flex-direction: column; }
  .category-grid { grid-template-columns: 1fr 1fr; }
  .page-hero { padding: 40px 0; }
  .section { padding: 56px 0; }
}

@media (max-width: 480px) {
  .hero-stats { grid-template-columns: 1fr; gap: 10px; }
  .grid-4 { grid-template-columns: 1fr; }
  .category-grid { grid-template-columns: 1fr; }
}

/* ==============================
   PODCAST REVIEW CARD (Detail)
   ============================== */
.podcast-review-card {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  overflow: hidden;
  margin-bottom: 32px;
  transition: box-shadow var(--transition);
}

.podcast-review-card:hover { box-shadow: var(--shadow-lg); }

.prc-header {
  display: flex;
  gap: 24px;
  align-items: flex-start;
  padding: 28px 28px 0;
}

.prc-cover {
  width: 110px;
  height: 110px;
  border-radius: 14px;
  object-fit: cover;
  flex-shrink: 0;
  border: 2px solid var(--gray-mid);
}

.prc-head-info { flex: 1; }
.prc-head-info h2 { font-size: 1.3rem; margin-bottom: 4px; }
.prc-head-info h2 a { color: var(--navy); }
.prc-head-info h2 a:hover { color: var(--teal); }
.prc-head-info > p { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 10px; }

.prc-rating-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.prc-score {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--navy);
}

.prc-score-label { font-size: 0.82rem; color: var(--text-muted); }

.prc-body { padding: 20px 28px; }
.prc-body > p { font-size: 0.93rem; color: var(--gray-dark); line-height: 1.75; margin-bottom: 20px; }

.prc-criteria { display: flex; flex-direction: column; gap: 10px; }

.criteria-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.criteria-name {
  font-size: 0.8rem;
  color: var(--text-muted);
  width: 170px;
  flex-shrink: 0;
}

.criteria-bar {
  flex: 1;
  height: 6px;
  background: var(--gray-mid);
  border-radius: 3px;
  overflow: hidden;
}

.criteria-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--teal), var(--teal-light));
  border-radius: 3px;
}

.criteria-val {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy);
  width: 28px;
  text-align: right;
  flex-shrink: 0;
}

.prc-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 28px;
  border-top: 1px solid var(--gray-mid);
  background: var(--gray-light);
  gap: 16px;
  flex-wrap: wrap;
}

.prc-stats {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
}

.prc-stats span {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.prc-stats svg { width: 13px; height: 13px; fill: var(--teal); }

/* ==============================
   FILTER BAR
   ============================== */
.filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.filter-label {
  font-size: 0.82rem;
  color: var(--text-muted);
  font-weight: 500;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  color: var(--gray-dark);
  border: 1.5px solid var(--gray-mid);
  background: var(--white);
  text-decoration: none;
  transition: all var(--transition);
  cursor: pointer;
}

.filter-btn:hover, .filter-btn.active {
  background: var(--navy);
  color: var(--white);
  border-color: var(--navy);
}

/* ==============================
   SIDEBAR CAT LIST
   ============================== */
.sidebar-cat-list li { margin-bottom: 6px; }

.sidebar-cat-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.87rem;
  color: var(--text-main);
  background: transparent;
  transition: background var(--transition), color var(--transition);
  text-decoration: none;
}

.sidebar-cat-list a:hover, .sidebar-cat-list a.active {
  background: rgba(29,158,143,0.08);
  color: var(--teal-dark);
}

.sidebar-cat-list span {
  font-size: 0.75rem;
  background: var(--gray-mid);
  padding: 2px 8px;
  border-radius: 10px;
  color: var(--text-muted);
}

/* ==============================
   REVIEW HEADER BLOCK
   ============================== */
.review-meta-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 24px;
  margin-bottom: 32px;
}

.rmg-item { }
.rmg-label { font-size: 0.75rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); display: block; margin-bottom: 4px; }
.rmg-val { font-size: 0.95rem; font-weight: 600; color: var(--navy); }
.rmg-val.highlight { color: var(--teal); font-size: 1.1rem; }

/* ==============================
   INFO NOTICE
   ============================== */
.info-notice {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: rgba(13,43,78,0.05);
  border: 1px solid rgba(13,43,78,0.15);
  border-left: 4px solid var(--navy);
  border-radius: var(--radius);
  padding: 18px 20px;
  font-size: 0.9rem;
  color: var(--gray-dark);
}

.info-notice svg { width: 20px; height: 20px; fill: var(--navy); flex-shrink: 0; margin-top: 2px; }

/* ==============================
   GLOSSARY
   ============================== */
.glossary-letter {
  font-size: 2rem;
  font-weight: 800;
  color: var(--teal);
  border-bottom: 2px solid var(--teal);
  padding-bottom: 8px;
  margin: 40px 0 20px;
  display: block;
}

.glossary-term {
  padding: 18px 0;
  border-bottom: 1px solid var(--gray-mid);
}

.glossary-term:last-child { border-bottom: none; }
.glossary-term h4 { font-size: 1rem; margin-bottom: 6px; color: var(--navy); }
.glossary-term p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

.glossary-alpha {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 32px;
}

.glossary-alpha a {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1.5px solid var(--gray-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  text-decoration: none;
  transition: all var(--transition);
}

.glossary-alpha a:hover { background: var(--teal); color: var(--white); border-color: var(--teal); }

/* ==============================
   STATS STRIP
   ============================== */
.stats-strip {
  background: var(--navy);
  padding: 48px 0;
}

.stats-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  text-align: center;
}

.stat-block { }
.stat-block .num {
  font-size: 2.4rem;
  font-weight: 800;
  color: var(--teal);
  display: block;
  line-height: 1;
}
.stat-block .lbl { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 6px; display: block; }

/* ==============================
   PAGE HERO (plain variant)
   ============================== */
.page-hero--plain {
  background: var(--navy);
  padding: 52px 0 44px;
  border-bottom: 3px solid var(--teal);
}

.page-hero--plain .page-hero-inner h1 {
  color: var(--white);
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  margin: 12px 0 8px;
}

.page-hero--plain .page-hero-inner p {
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  margin: 0;
}

/* Breadcrumb */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.8rem;
  margin-bottom: 12px;
}

.breadcrumb a { color: rgba(255,255,255,0.55); text-decoration: none; }
.breadcrumb a:hover { color: var(--teal); }
.breadcrumb svg { opacity: 0.4; flex-shrink: 0; }
.breadcrumb span { color: rgba(255,255,255,0.9); }

/* Breadcrumb on light background */
.page-hero .breadcrumb a { color: rgba(255,255,255,0.55); }

/* ==============================
   POLICY LAYOUT
   ============================== */
.policy-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 48px;
  align-items: start;
}

.policy-toc {
  position: sticky;
  top: 90px;
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 24px 20px;
}

.policy-toc h5 {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--text-muted);
  margin-bottom: 14px;
  font-weight: 700;
}

.policy-toc ul { list-style: none; padding: 0; margin: 0; }
.policy-toc ul li { margin-bottom: 2px; }

.policy-toc a {
  display: block;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.82rem;
  color: var(--gray-dark);
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  line-height: 1.4;
}

.policy-toc a:hover {
  background: rgba(29,158,143,0.08);
  color: var(--teal-dark);
}

/* Policy content area */
.policy-content h2 {
  font-size: 1.2rem;
  color: var(--navy);
  margin: 44px 0 14px;
  padding-top: 44px;
  border-top: 1px solid var(--gray-mid);
}

.policy-content h2:first-of-type {
  margin-top: 0;
  padding-top: 0;
  border-top: none;
}

.policy-content h3 { font-size: 1rem; color: var(--navy); margin: 24px 0 10px; }
.policy-content h4 { font-size: 0.92rem; color: var(--navy); margin: 16px 0 8px; font-weight: 600; }
.policy-content p { font-size: 0.92rem; line-height: 1.8; color: var(--gray-dark); margin-bottom: 14px; }
.policy-content ul, .policy-content ol { margin: 0 0 16px 0; padding-left: 22px; }
.policy-content li { font-size: 0.92rem; line-height: 1.75; color: var(--gray-dark); margin-bottom: 6px; }
.policy-content a { color: var(--teal); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.policy-content a:hover { color: var(--teal-dark); }

/* Contact block inside policy */
.policy-contact-block {
  background: var(--gray-light);
  border-radius: var(--radius);
  padding: 20px 24px;
  margin: 16px 0 24px;
  border-left: 4px solid var(--teal);
}

.policy-contact-block p {
  margin: 0 0 6px;
  font-size: 0.9rem;
}

.policy-contact-block p:last-child { margin: 0; }

/* ==============================
   CONTACT PAGE
   ============================== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 420px;
  gap: 56px;
  align-items: start;
}

.contact-form-wrap {
  background: var(--white);
  border: 1px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 36px 40px;
}

.form-group {
  margin-bottom: 20px;
}

.form-group label {
  display: block;
  font-size: 0.83rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 7px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-control {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius);
  font-size: 0.93rem;
  font-family: inherit;
  color: var(--text-main);
  background: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
  box-sizing: border-box;
}

.form-control:focus {
  outline: none;
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(29,158,143,0.12);
}

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 24 24' fill='none' stroke='%236b7280' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 40px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.form-success {
  display: none;
  background: rgba(29,158,143,0.08);
  border: 1.5px solid var(--teal);
  border-radius: var(--radius);
  padding: 20px 24px;
  text-align: center;
  margin-top: 20px;
}

.form-success svg { width: 36px; height: 36px; fill: var(--teal); margin-bottom: 10px; }
.form-success h4 { color: var(--navy); margin-bottom: 8px; }
.form-success p { font-size: 0.9rem; color: var(--text-muted); margin: 0; }

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

.ci-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.ci-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(29,158,143,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ci-icon svg { width: 20px; height: 20px; fill: var(--teal); }
.ci-body { }
.ci-label { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-muted); display: block; margin-bottom: 4px; }
.ci-val { font-size: 0.93rem; color: var(--navy); font-weight: 500; }
.ci-val a { color: var(--navy); text-decoration: none; }
.ci-val a:hover { color: var(--teal); }
.ci-sub { font-size: 0.82rem; color: var(--text-muted); margin-top: 2px; }

.contact-map-placeholder {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--gray-mid);
  margin-top: 28px;
  height: 220px;
  background: var(--gray-light);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}

.contact-map-placeholder svg { width: 36px; height: 36px; fill: var(--teal); opacity: 0.6; }
.contact-map-placeholder p { font-size: 0.82rem; color: var(--text-muted); margin: 0; text-align: center; line-height: 1.5; }

/* ==============================
   POLICY PAGE (old class compat)
   ============================== */
.policy-page { }
.policy-section { margin-bottom: 48px; }
.policy-section h2 { font-size: 1.2rem; color: var(--navy); border-bottom: 2px solid var(--teal); padding-bottom: 10px; margin-bottom: 18px; }
.policy-section h3 { font-size: 1rem; color: var(--navy); margin: 20px 0 8px; }
.policy-section p, .policy-section li { font-size: 0.92rem; line-height: 1.8; color: var(--gray-dark); }
.policy-section ul, .policy-section ol { padding-left: 22px; margin-bottom: 14px; }
.policy-section a { color: var(--teal); text-decoration: underline; }
.policy-toc { background: var(--gray-light); border-radius: var(--radius); padding: 22px 24px; margin-bottom: 36px; }
.policy-toc h4 { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 12px; }
.policy-toc ol { padding-left: 18px; margin: 0; }
.policy-toc li { font-size: 0.85rem; margin-bottom: 6px; }
.policy-meta { font-size: 0.82rem; color: rgba(255,255,255,0.6); margin-top: 8px; }
.container-narrow { max-width: 820px; margin: 0 auto; padding: 0 24px; }
.info-box { display: flex; gap: 12px; align-items: flex-start; background: rgba(13,43,78,0.05); border: 1px solid rgba(13,43,78,0.12); border-left: 4px solid var(--navy); border-radius: var(--radius); padding: 16px 18px; font-size: 0.9rem; color: var(--gray-dark); }
.info-box svg { width: 18px; height: 18px; fill: var(--navy); flex-shrink: 0; margin-top: 2px; }

@media (max-width: 960px) {
  .policy-layout { grid-template-columns: 1fr; }
  .policy-toc { position: static; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .stats-strip-grid { grid-template-columns: repeat(2, 1fr); }
  .review-meta-grid { grid-template-columns: repeat(2, 1fr); }
  .prc-header { flex-direction: column; align-items: flex-start; }
  .criteria-name { width: 130px; }
}
