:root {
  --navy: #002147;
  --yellow: #FDB913;
  --red: #E63946;
  --text-dark: #1a1a1a;
  --text-mid: #4a4a4a;
  --text-light: #7a7a7a;
  --bg-light: #f8f8f8;
  --bg-white: #ffffff;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: Lato, "Helvetica Neue", Helvetica, Arial, "Liberation Sans", sans-serif;
  background: #f5f5f5;
  color: var(--text-dark);
  font-size: 16px;
  line-height: 1.5;
}

/* NAV */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--chrome);
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  height: 72px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.nav-logo {
  display: flex;
  align-items: flex-end;
  gap: 8px;
  text-decoration: none;
  color: inherit;
  flex-wrap: wrap;
}

.nav-logo-dep {
  height: 48px;
  width: auto;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-logo-slogan {
  font-family: 'Playfair Display', serif;
  font-size: 20px;
  font-weight: 400;
  color: white;
  line-height: 1.2;
  max-width: none;
  white-space: nowrap;
  letter-spacing: 0px;
  align-self: flex-end;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  gap: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links > li {
  position: relative;
}

.nav-links > li > a {
  text-decoration: none;
  color: white;
  font-size: 15px;
  font-weight: 500;
  padding: 18px 12px;
  border-radius: 4px;
  transition: background 0.15s, color 0.15s;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.nav-links > li > a:hover {
  color: var(--chrome-accent);
}

.caret {
  font-size: 9px;
  opacity: 0.8;
  transition: transform 0.2s;
}

.has-dropdown:hover .caret,
.has-dropdown:focus-within .caret {
  transform: rotate(180deg);
}

.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.18);
  border-top: 3px solid var(--red);
  padding: 10px 0;
  min-width: 220px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition: opacity 0.18s ease, transform 0.18s ease, visibility 0.18s;
  z-index: 200;
}

.has-dropdown:hover .dropdown,
.has-dropdown:focus-within .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown a {
  display: block;
  padding: 9px 20px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--navy);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}

.dropdown a:hover {
  background: #f3f6fb;
  color: var(--red);
}

.mega-menu {
  display: grid;
  grid-template-columns: repeat(3, minmax(170px, 1fr));
  gap: 8px 32px;
  padding: 26px 30px;
  min-width: 580px;
  left: 0;
}

.mega-col {
  display: flex;
  flex-direction: column;
}

.mega-cat {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--red);
  margin-bottom: 8px;
  padding-bottom: 6px;
  border-bottom: 1px solid #eee;
}

.mega-menu a {
  padding: 5px 0;
  font-size: 13px;
  font-weight: 400;
  color: var(--text-mid);
  text-decoration: none;
  transition: color 0.15s;
}

.mega-menu a:hover {
  color: var(--red);
  background: transparent;
}

.nav-search {
  display: flex;
  align-items: center;
  gap: 9px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 6px;
  padding: 8px 14px;
  width: 260px;
  transition: background 0.2s, border-color 0.2s, box-shadow 0.2s, width 0.25s ease;
  backdrop-filter: blur(4px);
}

.nav-search:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.3);
}

.nav-search:focus-within {
  background: #ffffff;
  border-color: var(--chrome-accent);
  box-shadow: 0 0 0 3px rgba(127, 227, 184, 0.3);
  width: 300px;
}

.nav-search-icon {
  width: 16px;
  height: 16px;
  color: rgba(255, 255, 255, 0.7);
  flex-shrink: 0;
  transition: color 0.2s;
}

.nav-search:focus-within .nav-search-icon {
  color: var(--navy);
}

.nav-search-input {
  flex: 1;
  border: none;
  background: transparent;
  outline: none;
  font-family: inherit;
  font-size: 13px;
  color: white;
  min-width: 0;
}

.nav-search-input::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.nav-search:focus-within .nav-search-input {
  color: var(--text-dark);
}

.nav-search:focus-within .nav-search-input::placeholder {
  color: #aaa;
}

.nav-search-kbd {
  font-size: 10.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.7);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 5px;
  padding: 2px 6px;
  flex-shrink: 0;
  transition: all 0.2s;
}

.nav-search:focus-within .nav-search-kbd {
  color: var(--text-light);
  background: #f0f0f0;
  border-color: #e0e0e0;
}

/* RED RIBBON */
.red-ribbon {
  height: 4px;
  background: var(--ribbon);
}

/* CONTENT */
.container {
  max-width: 750px;
  margin: 60px auto 0;
  padding: 40px 40px;
  background: var(--bg-white);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
}

.breadcrumb {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
}

.breadcrumb a {
  color: var(--navy);
  text-decoration: none;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.meta {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--navy);
  margin-bottom: 16px;
  padding: 8px 14px;
  background: rgba(0, 33, 71, 0.08);
  border-radius: 20px;
}

h1 {
  font-family: 'Playfair Display', serif;
  font-size: 42px;
  font-weight: 700;
  line-height: 1.2;
  color: var(--navy);
  margin-bottom: 8px;
}

.byline {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.byline::after {
  content: '';
}

.chart-box {
  background: var(--bg-light);
  border-radius: 8px;
  padding: 32px;
  margin: 40px 0;
  text-align: center;
}

.chart-box svg {
  width: 100%;
  height: auto;
  max-width: 600px;
  margin: 0 auto;
}

.chart-title {
  font-family: 'Playfair Display', serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  text-align: center;
}

.chart-subtitle {
  font-size: 13px;
  color: var(--text-light);
  margin-bottom: 24px;
  text-align: center;
}

.chart-source {
  font-size: 12px;
  color: var(--text-light);
  margin-top: 16px;
  font-style: italic;
  text-align: center;
}

.article-text {
  font-family: 'Source Serif 4', serif;
  font-size: 15px;
  line-height: 1.8;
  color: var(--text-mid);
}

.article-text p {
  margin-bottom: 16px;
}

.highlight {
  background: rgba(230, 57, 70, 0.08);
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 4px;
}

.highlight-label {
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  color: var(--red);
  margin-bottom: 8px;
}

.highlight-value {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 4px;
}

.highlight-text {
  font-size: 14px;
  color: var(--text-dark);
  line-height: 1.5;
}

/* BOTTOM NAVIGATION */
.insight-nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #e5e5e5;
}

.nav-related {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.nav-related-label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-mid);
  white-space: nowrap;
}

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

.nav-tag {
  display: inline-block;
  background: #f0f3f8;
  color: var(--navy);
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  text-decoration: none;
  transition: background 0.2s, color 0.2s;
}

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

.copy-link-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  background: #e8f0f7;
  color: var(--navy);
  border: 1px solid #d0dae8;
  padding: 8px 16px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

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

.nav-current {
  text-align: center;
  flex: 1;
}

.nav-current-title {
  font-family: 'Playfair Display', serif;
  font-size: 14px;
  font-weight: 700;
  color: var(--navy);
}

/* FOOTER */
footer {
  background: var(--chrome-deep);
  color: rgba(255, 255, 255, 0.7);
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  padding: 44px 32px 28px;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 36px;
}

.footer-brand-name {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 600;
  color: white;
  margin-bottom: 8px;
}

.footer-brand-desc {
  font-size: 12.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 14px;
}

.footer-col-title {
  font-size: 10.5px;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  margin-bottom: 12px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.footer-links a {
  text-decoration: none;
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.6);
  transition: color 0.15s;
}

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

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding: 14px 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 11.5px;
  color: rgba(255, 255, 255, 0.3);
}

@media (max-width: 768px) {
  nav {
    padding: 0 20px;
  }

  .nav-links {
    display: none;
  }

  .container {
    padding: 40px 20px;
  }

  h1 {
    font-size: 28px;
  }

  .insight-nav {
    flex-direction: column;
  }

  .footer-inner {
    grid-template-columns: 1fr 1fr;
  }
}

/* DATA INSIGHTS CAROUSEL */
.insights-bg {
  background: #f5f7fa;
}

.insights-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 32px;
  gap: 24px;
}

.insights-title {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 8px;
  letter-spacing: -0.3px;
}

.insights-subtitle {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 16px;
  color: #666;
  max-width: 620px;
  line-height: 1.5;
  font-weight: 400;
}

.insights-link {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--navy);
  font-weight: 500;
  text-decoration: none;
  border: 1px solid #d0d0d0;
  padding: 10px 18px;
  border-radius: 3px;
  white-space: nowrap;
  transition: all 0.15s;
  background: white;
}

.insights-link:hover {
  border-color: var(--navy);
  background: #fafafa;
}

.insights-carousel {
  position: relative;
}

.insights-track {
  display: flex;
  gap: 0;
  overflow-x: auto;
  scroll-behavior: smooth;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.insights-track::-webkit-scrollbar {
  display: none;
}

.insights-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 5;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--navy);
  border: none;
  color: white;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.25);
  transition: background 0.2s;
}

.insights-arrow:hover {
  background: #00306a;
}

.insights-arrow svg {
  width: 22px;
  height: 22px;
}

.insights-arrow-prev {
  left: -26px;
}

.insights-arrow-next {
  right: -26px;
}

.insight-card {
  flex: 0 0 65%;
  scroll-snap-align: start;
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  background: #ffffff;
  padding: 32px;
  margin-right: 28px;
  align-items: stretch;
  border: 1px solid #e5e5e5;
  border-radius: 4px;
  transition: box-shadow 0.2s;
}

.insight-card:hover {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.insight-image {
  width: 260px;
  background: #fafafa;
  overflow: hidden;
  border: 1px solid #efefef;
  border-radius: 3px;
}

.insight-image svg {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.insight-content {
  padding: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  position: relative;
  gap: 8px;
}

.insight-content::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 140px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.6) 50%, rgba(255, 255, 255, 1) 100%);
  pointer-events: none;
}

.insight-heading {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  line-height: 1.3;
  margin-bottom: 10px;
}

.insight-meta-line {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-top: 0;
  margin-bottom: 12px;
  padding-bottom: 12px;
  border-bottom: 1px solid #f0f0f0;
}

.insight-author {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 13px;
  font-style: italic;
  color: #999;
  margin: 0;
}

.insight-meta {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  margin: 0;
}

.insight-description {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
  margin-bottom: 10px;
}

.insight-link-more {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Helvetica, Arial, sans-serif;
  font-size: 14px;
  color: var(--navy);
  text-decoration: none;
  border-bottom: 1px solid #d0d0d0;
  padding-bottom: 2px;
  font-weight: 500;
  transition: all 0.15s;
  position: absolute;
  bottom: 16px;
  right: 0;
  z-index: 1;
}

.insight-link-more:hover {
  color: var(--red);
  border-bottom-color: var(--red);
}

.section {
  max-width: 1400px;
  margin: 0 auto;
  padding: 60px 32px;
}

@media (max-width: 860px) {
  .insight-card {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .insight-image {
    width: 100%;
    height: 260px;
  }

  .insight-content {
    padding: 0;
  }

  .insights-arrow-prev {
    left: 4px;
  }

  .insights-arrow-next {
    right: 4px;
  }
}

/* ===== CMS content: Markdown blockquote = "Key Finding" box ===== */
.article-text blockquote {
  background: rgba(230, 57, 70, 0.08);
  border-left: 4px solid var(--red);
  padding: 16px 20px;
  margin: 24px 0;
  border-radius: 4px;
}
.article-text blockquote::before {
  content: "Key Finding";
  display: block;
  font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px;
  color: var(--red); margin-bottom: 8px;
}
.article-text blockquote p { font-size: 14px; color: var(--text-dark); line-height: 1.5; margin: 0; }
.article-text blockquote p:first-of-type > strong:only-child {
  display: block; font-size: 18px; font-weight: 700; color: var(--navy); margin-bottom: 4px;
}
