/* ========== BODY SECTION ========== */
body {
  overflow-x: hidden;
  font-family: "Figtree", sans-serif;
  margin: 0;
}

/* ========== RADIO BUTTON ========== */
.lulc-radio input[value="builtup"] {
  accent-color: #ff0000;
}

.lulc-radio input[value="water_group"] {
  accent-color: #0f5e9c;
}

.lulc-radio input[value="trees"] {
  accent-color: #38761d;
}

.lulc-radio input[value="barren_land"] {
  accent-color: #473232;
}

.lulc-radio input[value="cropping_group"] {
  accent-color: #fad900;
}

.lulc-radio input[value="shrubs_and_scrubs"] {
  accent-color: #a9a9a9;
}

.maps-wrapper {
  display: flex;
  flex-direction: column;
}

.map-page {
  display: flex;
  padding-top: 10px;
  box-sizing: border-box;
  gap: 14px;
  align-items: stretch;
}

.map-left {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  padding-left: 1rem;
}

.map-toolbar {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 999;
  pointer-events: auto;
}

.district-select {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #ccc;
  background: #fff;
  cursor: pointer;
}

.district-tooltip {
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  border-radius: 4px;
  font-size: 12px;
  padding: 4px 6px;
}

.leaflet-pane,
.leaflet-tile,
.leaflet-layer {
  pointer-events: auto;
}

.map-panel {
  border-radius: 12px;
  border: none;
  background: #ffffff;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.15);
  position: relative;
}

.leaflet-map {
  width: 100%;
  height: 70vh;
  border-radius: 8px;
}

/* ========== CONTENT PANEL ========== */
.content-panel {
  width: 40%;
  height: 62vh;
  background-color: #ffffff;
  border: none;
  border-radius: 12px;
  padding: 1.2rem;
  color: #000000;
  box-shadow: none;
  margin-right: 1rem;
  overflow-y: auto;
}

.content-panel::-webkit-scrollbar {
  width: 6px;
}

.content-panel::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #116466, rgb(194, 244, 245));
  border-radius: 4px;
}

.content-panel h2 {
  font-size: 1.3rem;
  font-weight: 700;
  padding-bottom: 6px;
  margin: 0 0 10px;
  border-bottom: 2px solid #e0f2e9;
  color: #116466;
}

.chart-table-row {
  display: flex;
  gap: 0.8rem;
}

/* ========== LULC CHART ========== */
.chart-container {
  width: 93%;
  height: 55vh;
  margin-top: 0.6rem;
  padding: 8px;
  background: #ffffff;
  border-radius: 10px;
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}

.chart-container canvas {
  width: 100% !important;
  height: 100% !important;
}

.table-panel {
  width: 50%;
}

.table-container {
  height: 60vh;
  margin-top: 0.6rem;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 0;
}

.table-container::-webkit-scrollbar {
  width: 8px;
}

.table-container::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #116466, rgb(194, 244, 245));
  border-radius: 4px;
}

.table-container::-webkit-scrollbar-track {
  background: #e8f5e9;
}

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

.data-table thead th {
  background: #116466;
  color: #ffffff;
  position: sticky;
  top: 0;
  z-index: 10;
  padding: 8px 10px;
  border: none;
}

.data-table td {
  padding: 8px 10px;
  border: none;
  color: #111;
}

.data-table tbody tr:nth-child(even) {
  background: rgb(194, 244, 245);
}

.data-table tbody tr:nth-child(odd) {
  background: #ffffff;
}

.data-table tr:nth-child(even) {
  background: rgb(194, 244, 245);
}

/* ========== YEAR SECTION ========== */
.year-slider-box {
  position: absolute;
  bottom: 10px;
  left: 13.4rem;
  background: rgba(255, 255, 255, 0.95);
  padding: 8px 10px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
  z-index: 999;
  display: flex;
  align-items: center;
  gap: 8px;
  width: 44vw;
}

.year-slider {
  width: 100%;
  margin-bottom: 6px;
  accent-color: #116466;
  cursor: pointer;
}

.year-slider-wrapper {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.year-ticks {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  font-size: 14px;
  text-align: center;
  color: #555;
}

.year-ticks span.active {
  font-weight: 700;
  color: #116466;
}

.year-play-btn {
  width: 34px;
  height: 34px;
  border-radius: 6px;
  border: 1px solid #116466;
  background: #116466;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}

.year-ticks span {
  cursor: pointer;
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  padding: 2px 4px;
}

.year-ticks span:hover {
  color: #116466;
  font-weight: 600;
}

.lulc-title {
  font-size: 2.1rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
  margin: 0.6rem 0 0.9rem;
  padding-left: 0.8rem;
  position: relative;
  color: #0b5f59;
}

.lulc-title::before {
  content: "";
  position: absolute;
  left: 0;
  top: 10%;
  width: 5px;
  height: 80%;
  background: linear-gradient(180deg, #116466, rgb(194, 244, 245));
  border-radius: 4px;
}

.sectiontitle {
  font-size: 2.2rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.3px;
  margin: 3rem 0 1.5rem;
  text-align: center;
  color: #0b5f59;
  position: relative;
  scroll-margin-top: 12vh;
}

.sectiontitle::after {
  content: "";
  display: block;
  width: 70px;
  height: 4px;
  margin: 10px auto 0;
  background: linear-gradient(90deg, #116466, rgb(194, 244, 245));
  border-radius: 3px;
}

.map-compare {
  width: 100%;
  margin: 12px 0 25px;
  margin-left: 1.5rem;
  display: flex !important;
  align-items: center;
  gap: 10px;
  padding-right: 1.5rem;
  box-sizing: border-box;
  z-index: 999;
  position: relative;
}

.map-compare button {
  padding: 6px 14px;
  border: none;
  background: #56c7b8;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
}

/* ========== COMPARE CONTROL ========== */
.compare-controls {
  display: none;
  align-items: center;
  gap: 10px;
}

.compare-controls.active {
  display: flex;
}

.compare-year {
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid #56c7b8;
  background: #ffffff;
  cursor: pointer;
  font-size: 13px;
}

.compare-btn {
  padding: 6px 14px;
  border: none;
  background: #56c7b8;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
}

.reset-btn {
  padding: 6px 14px;
  border: 1px solid #dc3545;
  background: #dc3545;
  color: #fff;
  cursor: pointer;
  border-radius: 4px;
  font-size: 13px;
}

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

.boundary-btn {
  padding: 6px 10px;
  font-size: 13px;
  border-radius: 4px;
  border: 1px solid #116466;
  background: #116466;
  color: #fff;
  cursor: pointer;
  white-space: nowrap;
}

.boundary-btn:not(.active) {
  background: #56c7b8;
  border-color: #56c7b8;
}

/* ========== NAVEBAR ========== */
.sticky-navbar {
  position: sticky;
  top: 0;
  z-index: 1010;
  height: 5rem;
  backdrop-filter: blur(15px);
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 0.35rem 2rem;
}

.sticky-navbar ul {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  list-style: none;
  margin: 0;
  padding: 0.4rem 0;
  gap: 3.5rem;
  flex-wrap: wrap;
}

.sticky-navbar a {
  text-decoration: none;
  color: #0b5f59;
  font-weight: 600;
  font-size: 1.2rem;
  padding: 0.15rem 0.25rem;
  display: inline-block;
  position: relative;
}

.sticky-navbar a.active::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #116466, rgb(194, 244, 245));
  bottom: -4px;
  transform: scaleX(1);
  transform-origin: center;
  transition: transform 200ms ease, opacity 200ms ease;
  opacity: 1;
}

.sticky-navbar a::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #116466, rgb(194, 244, 245));
  bottom: -6px;
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 200ms ease, opacity 200ms ease;
  opacity: 0;
}

.sticky-navbar a.active {
  color: #56c7b8;
  transform: translateY(-1px);
}

.sticky-navbar a .first-letter {
  color: inherit;
  transition: color 180ms ease;
}

.sticky-navbar a.active .first-letter {
  color: #116466;
  font-weight: 700;
}

.sticky-navbar a:not(.active):hover {
  color: #56c7b8;
}

/* ========== CLIMATE SECTION ========== */
.climate-visual-section {
  margin: 20px 1.5rem 40px;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.climate-row {
  display: flex;
  gap: 22px;
}

.climate-left {
  width: 62%;
}

.climate-right {
  width: 38%;
}

.climate-chart-box {
  height: 320px;
  overflow: hidden;
  background: rgb(232, 253, 265);
  border-radius: 10px;
  border: none;
  padding: 10px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}

.climate-chart-box canvas {
  width: 100% !important;
  height: 100% !important;
}

/* ========== INFO SECTION ========== */
.info-box {
  background: #ffffff;
  border-radius: 10px;
  padding: 12px 14px;
  font-size: 13px;
  line-height: 1.5;
  max-height: 315px;
  overflow-y: auto;
  color: #000000;
}

.info-box h4 {
  margin: 0 0 10px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #116466;
  border-bottom: 2px solid #e0f2e9;
  padding-bottom: 6px;
}

.info-box ul {
  padding-left: 18px;
  margin: 0;
}

.info-box li {
  margin-bottom: 8px;
}

.info-box::-webkit-scrollbar {
  width: 6px;
}

.info-box::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #116466, rgb(194, 244, 245));
  border-radius: 4px;
}

/* ========== RADION BUTTON ========== */
.lulc-radio {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 12px;
  margin-top: 10px;
  padding: 6px 4px;
  align-items: center;
}

.lulc-radio label {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
  background: #f5f5f5;
  box-shadow: inset 0 0 0 1px #e0e0e0;
  cursor: pointer;
}

.lulc-radio input[type="checkbox"] {
  width: 14px;
  height: 14px;
}

.lulc-radio label::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  bottom: 6px;
  width: 4px;
  border-radius: 4px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.lulc-radio label:hover::before {
  opacity: 1;
}

.lulc-radio label:has(input[value="builtup"]:hover),
.lulc-radio label:has(input[value="builtup"]:checked) {
  background: #ff0000;
}

.lulc-radio label:has(input[value="builtup"])::before {
  background: #ff0000;
}

.lulc-radio label:has(input[value="water_group"]:hover),
.lulc-radio label:has(input[value="water_group"]:checked) {
  background: #0f5e9c;
}

.lulc-radio label:has(input[value="water_group"])::before {
  background: #0f5e9c;
}

.lulc-radio label:has(input[value="trees"]:hover),
.lulc-radio label:has(input[value="trees"]:checked) {
  background: #38761d;
}

.lulc-radio label:has(input[value="trees"])::before {
  background: #38761d;
}

.lulc-radio label:has(input[value="barren_land"]:hover),
.lulc-radio label:has(input[value="barren_land"]:checked) {
  background: #473232;
}

.lulc-radio label:has(input[value="barren_land"])::before {
  background: #473232;
}

.lulc-radio label:has(input[value="cropping_group"]:hover),
.lulc-radio label:has(input[value="cropping_group"]:checked) {
  background: #fad900;
}

.lulc-radio label:has(input[value="cropping_group"])::before {
  background: #fad900;
}

.lulc-radio label:has(input[value="shrubs_and_scrubs"]:hover),
.lulc-radio label:has(input[value="shrubs_and_scrubs"]:checked) {
  background: #a9a9a9;
}

.lulc-radio label:has(input[value="shrubs_and_scrubs"])::before {
  background: #a9a9a9;
}

.climate-title {
  font-weight: 600;
  margin-bottom: 6px;
  color: #0b5f59;
  font-size: 15px;
  text-align: center;
}

.info-image-wrapper {
  width: 100%;
  margin-bottom: 12px;
  max-height: 180px;
  text-align: center;
  overflow: hidden;
}

.info-image {
  max-width: 100%;
  max-height: 180px;
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

/* ========== FLOOD ========== */
#flood-table-wrapper {
  height: 60vh;
}

.small-chart {
  height: 60vh;
}

#flood + .map-page {
  margin-top: 40px;
}

/* ========== CASE STUDY SECTION ========== */
.case-study-section {
  margin: 40px 1.5rem 60px;
  display: flex;
  gap: 30px;
  align-items: stretch;
}

.case-left {
  width: 55%;
  position: relative;
  border-radius: 18px;
  padding: 35px;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);

  background-image: url("../images/story/biodiversity1.jpg");

  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  color: #222;
}

.case-left h4 {
  margin: 0 0 18px;
  font-size: 1.6rem;
  font-weight: 700;
  border-bottom: 2px solid #ddd;
  padding-bottom: 10px;
  color: #116466;
}

.case-left p {
  margin-bottom: 18px;
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}

.case-right {
  width: 45%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.case-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 18px;
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

/* ========== AEROSOL ========== */
.aerosol-row {
  display: flex;
  gap: 14px;
  align-items: stretch;
  margin-bottom: 80px;
}

.aerosol-table-left {
  width: 62% !important;
  padding-left: 1rem;
}

.aerosol-table-left .table-container {
  height: 65vh;
  margin-top: 0.6rem;
  overflow-y: auto;
  background: #ffffff;
  border-radius: 0;
  border: none;
  box-shadow: none;
  padding: 0;
}

/* ========== AERSOL CHART ========== */
.aerosol-chart-right {
  width: 36% !important;
}

.aerosol-chart-right .chart-container {
  height: 60vh;
  margin-top: 0.6rem;
  padding: 10px;
  background: #ffffff;
  border-radius: 10px;
  border: none;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.12);
}

.aerosol-chart-right canvas {
  width: 100% !important;
  height: 100% !important;
}

.lulc-chart-box {
  height: 320px;
  margin-top: 5rem;
  width: 94%;
}

.lulc-chart-box canvas {
  height: 100% !important;
  width: 100% !important;
}

/* ========== POPUP OVERLAY ========== */
#deeperPopupOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

/* ========== POPUP BOX ========== */
#deeperPopup {
  position: relative;
  width: min(92%, 760px);
  max-height: 90vh;
  border-radius: 16px;
  overflow: hidden;
  background: #111;
  animation: popupFade 0.4s ease;
}

/* ========== BACKGROUND IMAGE ========== */
#deeperPopup::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("/images/story/popupinfo.png") center / cover no-repeat;
  opacity: 0.15;
  z-index: 0;
}

/* Content (Scroll Enabled) */
.deeper-popup-content {
  position: relative;
  z-index: 1;
  padding: 38px 42px;
  max-height: 80vh;
  overflow-y: auto;
  color: #fff;
}

/* Custom Scrollbar */
.deeper-popup-content::-webkit-scrollbar {
  width: 6px;
}

.deeper-popup-content::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #116466, rgb(194, 244, 245));
  border-radius: 4px;
}

.deeper-popup-content::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
}

/* Close Button */
.deeper-popup-close {
  position: absolute;
  top: 14px;
  right: 10px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  font-size: 22px;
  cursor: pointer;
  background: #116466;
  color: #56c7b8;
  z-index: 2;
}

/* Content Style */
.popup-title {
  font-size: 15px;
  line-height: 1.6;
  font-weight: 600;
  margin-bottom: 20px;
  color: #fff;
}

.popup-table {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.popup-row {
  display: grid;
  grid-template-columns: 32% 68%;
  gap: 14px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.45);
}

.popup-left strong {
  font-size: 14px;
  color: #fff;
}

.popup-period {
  font-size: 12px;
  color: #ddd;
}

.popup-right {
  font-size: 13px;
  color: #eee;
}

.popup-source {
  display: block;
  font-size: 12px;
  margin-bottom: 4px;
  color: #ffd54f;
}

.popup-right p {
  margin: 0;
  line-height: 1.45;
}

/* LULC First Click Popup */
#lulcInfoOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 10000;
}

#lulcInfoBox {
  background: #fff;
  padding: 22px 26px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 600;
  text-align: center;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.35);
  animation: popupFade 0.25s ease;
}

#lulcInfoBox button {
  margin-top: 12px;
  border: none;
  background: #56c7b8;
  color: #fff;
  padding: 6px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.sticky-navbar {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 0 2rem;
}

.nav-left {
  grid-column: 1 / 2;
}

.nav-center {
  grid-column: 2 / 3;
  display: flex;
  justify-content: center;
}

.nav-right {
  grid-column: 3 / 4;
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  align-items: center;
}

/* Story Page Buttons */
.nav-right .btn-dashboard {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.8rem 0.6rem;
  border: 2px solid #56c7b8;
  border-radius: 999px;
  background: #56c7b8;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease-in-out;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
}

/* Arrow Color */
.nav-right .btn-dashboard .arrow {
  color: white;
  transition: transform 0.2s, color 0.2s;
}

/* Hover */
.nav-right .btn-dashboard:hover {
  background: white;
  color: #56c7b8;
  border-color: #56c7b8;
  box-shadow: none;
}

/* Arrow Slide + Color Swap */
.nav-right .btn-dashboard:hover .arrow {
  transform: translateX(6px);
  color: #56c7b8;
}

#worldBg {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgb(255, 255, 255);
  overflow: hidden;
}

/* Earth Image */
.world-map {
  width: 110%;
  max-width: 1600px;
  animation: slowRotate 35s linear infinite;
  transform-origin: center;
  opacity: 0.45;
  filter: blur(6px);
}

/* Rotate Only */
@keyframes slowRotate {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

/* ========== MEDIA QUERIES ========== */
@media (min-width: 2400px) {
  .leaflet-map {
    height: 75vh;
  }

  .chart-container {
    height: 60vh;
  }

  .content-panel {
    width: 32%;
  }

  .lulc-title {
    font-size: 2.4rem;
  }
  .sectiontitle {
    font-size: 2.6rem;
  }
}

@media (max-width: 2399px) {
  .content-panel {
    width: 35%;
  }

  .leaflet-map {
    height: 70vh;
  }
}

@media (max-width: 1919px) {
  .content-panel {
    width: 38%;
  }

  .chart-container {
    height: 52vh;
  }
}

@media (max-width: 1599px) {
  .content-panel {
    width: 40%;
  }

  .leaflet-map {
    height: 65vh;
  }

  .chart-container {
    height: 48vh;
  }
}

@media (max-width: 1199px) {
  .map-page {
    flex-direction: column;
    gap: 10px;
  }

  .map-left,
  .content-panel {
    width: 100%;
  }

  .content-panel {
    height: auto;
    margin: 0;
    padding: 1rem;
  }

  .leaflet-map {
    height: 55vh;
    border-radius: 10px;
  }

  .chart-table-row {
    flex-direction: column;
    gap: 10px;
  }

  .table-panel {
    width: 100%;
  }

  .chart-container {
    height: 42vh;
  }

  .climate-row,
  .case-study-section,
  .aerosol-row {
    flex-direction: column;
    gap: 14px;
  }

  .climate-left,
  .climate-right,
  .case-left,
  .case-right,
  .aerosol-table-left,
  .aerosol-chart-right {
    width: 100% !important;
  }

  .year-slider-box {
    width: 80%;
    left: 10%;
  }
}

@media (max-width: 991px) {
  .sticky-navbar {
    grid-template-columns: 1fr;
    height: auto;
    padding: 8px 12px;
  }

  .sticky-navbar ul {
    gap: 16px;
    justify-content: center;
  }

  .nav-right {
    justify-content: center;
    margin-top: 6px;
  }

  .lulc-title {
    font-size: 1.7rem;
  }
  .sectiontitle {
    font-size: 1.8rem;
  }

  .leaflet-map {
    height: 50vh;
  }

  .chart-container {
    height: 40vh;
  }

  .table-container {
    height: 45vh;
  }

  .year-slider-box {
    width: 90%;
    left: 5%;
    flex-direction: column;
    gap: 6px;
  }

  .map-compare {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }
}

@media (max-width: 767px) {
  .sticky-navbar a {
    font-size: 0.95rem;
  }

  .leaflet-map {
    height: 45vh;
  }

  .chart-container {
    height: 36vh;
    padding: 6px;
  }

  .table-container {
    height: 40vh;
  }

  .lulc-title {
    font-size: 1.5rem;
  }
  .sectiontitle {
    font-size: 1.6rem;
  }

  .map-left {
    padding-left: 0.4rem;
  }

  .lulc-radio {
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .sticky-navbar ul {
    gap: 10px;
  }

  .leaflet-map {
    height: 42vh;
  }

  .chart-container {
    height: 32vh;
  }

  .table-container {
    height: 35vh;
  }

  .content-panel {
    padding: 0.7rem;
  }

  .year-ticks {
    font-size: 11px;
  }
}

@media (max-width: 479px) {
  .leaflet-map {
    height: 40vh;
  }

  .chart-container {
    height: 30vh;
  }

  .lulc-title {
    font-size: 1.3rem;
  }
  .sectiontitle {
    font-size: 1.4rem;
  }
}

@media (max-width: 320px) {
  .leaflet-map {
    height: 35vh;
  }

  .chart-container {
    height: 28vh;
  }

  .year-ticks {
    font-size: 9px;
  }
}
