/* World Map Styles */
.section-map {
  padding: 9.6rem 0;
  background-color: #f9f8eb;
}

.map-description {
  font-size: 1.8rem;
  line-height: 1.6;
  max-width: 90rem;
  margin: 0 auto 3.2rem auto;
  color: #555;
}

.map-box {
  width: 100%;
  height: 60rem;
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 2.4rem 4.8rem rgba(0, 0, 0, 0.08);
  overflow: hidden;
  position: relative;
}

.country {
  stroke: #fff;
  stroke-width: 0.5px;
  cursor: pointer;
  transition: opacity 0.2s, stroke-width 0.2s;
}

.country:hover {
  opacity: 0.8;
  stroke: #222;
  stroke-width: 1.2px;
}

.country-info-box {
  margin-top: 2.4rem;
  padding: 2rem 2.4rem;
  font-size: 1.8rem;
  line-height: 1.6;
  background-color: #fff;
  border-radius: 11px;
  box-shadow: 0 1.2rem 2.4rem rgba(0, 0, 0, 0.06);
}

.map-tooltip {
  position: absolute;
  padding: 0.8rem 1.2rem;
  background-color: rgba(33, 37, 41, 0.92);
  color: #fff;
  font-size: 1.4rem;
  border-radius: 6px;
  pointer-events: none;
  opacity: 0;
}

/* Radar Chart Styles */

.radar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2.4rem;
  margin-bottom: 1.6rem;
}

.radar-title {
  font-size: 2.4rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 0.6rem;
}

.radar-subtitle {
  font-size: 1.4rem;
  line-height: 1.5;
  color: #666;
}

.radar-year-control {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  font-size: 1.6rem;
}

.radar-year-control select {
  font-size: 1.6rem;
  padding: 0.4rem 0.8rem;
}

#radar-chart {
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.radar-svg {
  width: 100%;
  max-width: 60rem;
  height: auto;
}

.radar-grid {
  fill: none;
  stroke: #dee2e6;
  stroke-width: 1px;
}

.radar-axis {
  stroke: #adb5bd;
  stroke-width: 1px;
}

.radar-axis-label {
  font-size: 1.3rem;
  fill: #333;
}

.radar-level-label {
  font-size: 1.1rem;
  fill: #868e96;
}

.radar-area {
  fill: rgba(11, 114, 133, 0.22);
  stroke: #0b7285;
  stroke-width: 2.5px;
}

.radar-dot {
  fill: #0b7285;
  stroke: #fff;
  stroke-width: 1.5px;
}

.radar-score-label {
  font-size: 1.2rem;
  fill: #333;
  font-weight: 500;
}

.radar-empty {
  font-size: 1.8rem;
  color: #666;
  padding: 2rem 0;
}

.radar-year-control {
  min-width: 26rem;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.radar-year-top {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.2rem;
  font-size: 1.6rem;
  color: #333;
}

.radar-play-button {
  border: none;
  background-color: #0b7285;
  color: #fff;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-size: 1.4rem;
  cursor: pointer;
}

.radar-play-button:hover {
  background-color: #095c6b;
}

.radar-year-slider {
  width: 100%;
  cursor: pointer;
}

.radar-year-scale {
  display: flex;
  justify-content: space-between;
  font-size: 1.2rem;
  color: #777;
}

.logo { height: 7.4rem; width: auto; }

.viz-box {
  width: 100%;
  min-height: 42rem;
  background: #f3f8fb;
  border: 1px solid #d7e6ee;
  border-radius: 12px;
  padding: 1.6rem;
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.04);
}

.viz-small {
  width: 100%;
  min-height: 18rem;
  background: #f3f8fb;
  border: 1px solid #d7e6ee;
  border-radius: 12px;
  padding: 1.4rem;
  box-shadow: 0 0.8rem 2.4rem rgba(0, 0, 0, 0.04);
}

.viz-controls,
.control-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1.2rem;
  align-items: center;
  margin-bottom: 1.6rem;
}

.viz-controls label,
.control-row label {
  font-size: 1.4rem;
  font-weight: 500;
}

.viz-controls select,
.viz-controls input,
.control-row select,
.control-row input {
  font: inherit;
  padding: 0.8rem 1.2rem;
  border-radius: 8px;
  border: 1px solid #d1d5db;
  background: #fff;
}

.viz-note {
  font-size: 1.35rem;
  color: #555;
  margin-top: 1rem;
  line-height: 1.7;
}

.insight-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.6rem;
  margin-top: 2.4rem;
}

.insight-title {
  font-size: 1.8rem;
  font-weight: 600;
  color: #333;
  margin-bottom: 1.2rem;
}

.panel-copy,
.tooltip-box,
.filter-panel {
  font-size: 1.5rem;
  line-height: 1.65;
  color: #333;
}

.section-time,
.section-feature-viz {
  padding: 9.6rem 0 3.2rem 0;
}

.map-narrative { margin-top: 2.4rem; }

.map-legend-note {
  max-width: 90rem;
  margin: 1.6rem auto 0 auto;
  font-size: 1.4rem;
  line-height: 1.6;
  color: #666;
}

.feature-card {
  background: #f4f8f9;
  border-radius: 16px;
  padding: 2.4rem;
  box-shadow: 0 1.2rem 3.2rem rgba(0, 0, 0, 0.06);
  border: 1px solid #dbe8ec;
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.9fr;
  gap: 2.4rem;
  align-items: start;
}

.feature-text p {
  font-size: 1.7rem;
  line-height: 1.75;
  margin-bottom: 1.8rem;
  color: #4a4a4a;
}

.feature-bullets {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-top: 1.6rem;
}

.feature-bullets li {
  font-size: 1.5rem;
  line-height: 1.6;
  color: #444;
  padding-left: 1.6rem;
  position: relative;
}

.feature-bullets li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: #0b7285;
  font-weight: 700;
}

.callout-box {
  background: linear-gradient(180deg, #f7fbfc 0%, #edf7f8 100%);
  border: 1px solid #d5ecef;
  border-radius: 14px;
  padding: 2rem;
}

.callout-box h3 {
  font-size: 2rem;
  margin-bottom: 1.2rem;
  color: #284b63;
}

.callout-box p {
  font-size: 1.5rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.section-change { padding: 3.2rem 0 9.6rem 0; }

@media (max-width: 59em) {
  .insight-grid,
  .feature-grid {
    grid-template-columns: 1fr;
  }
}