/*
 * forestier.css
 * Feuille de styles principale du site web de l'ITIE-RDC.
 *
 * 
 */


/* ==================================================
   1. VARIABLES
   ================================================== */

:root {
  --forest-dark: #1B4332;
  --forest-primary: #2D6A4F;
  --forest-medium: #40916C;
  --forest-light: #52B788;
  --forest-lighter: #74C69D;
  --forest-soft: #95D5B2;
  --forest-bg: #D8F3DC;
  --forest-topbar-height: 36px;
  --forest-page-header-height: 130px;
  --accent-gold: #FCD116;
}

/* ==================================================
   2. HTML / BODY
   ================================================== */

html {
  scroll-behavior: smooth;
  scroll-padding-top: 180px;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  padding-top: var(--forest-page-header-height);
  color: #1f2937;
}

/* ==================================================
   3. HEADER / NAVIGATION
   ================================================== */

.sticky-header > .forest-gradient {
  position: relative;
  z-index: 2;
  min-height: var(--forest-topbar-height);
}

.sticky-header > nav {
  position: relative;
  z-index: 1;
}

.sticky-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, .1);
  transition: all .3s ease;
}

.sticky-header .nav-link {
  position: relative;
  transition: color .3s ease;
}

.sticky-header .nav-link::after {
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  content: "";
  background: var(--accent-gold);
  transition: width .3s ease;
}

.sticky-header .nav-link:hover::after,
.sticky-header .nav-link.active::after {
  width: 100%;
}

.sticky-header .nav-item {
  position: relative;
}

.sticky-header .submenu {
  position: absolute;
  top: 100%;
  left: 0;
  z-index: 2000;
  display: none;
  min-width: 260px;
  background: #fff;
  box-shadow: 0 5px 15px rgba(0, 0, 0, .1);
}

.sticky-header .nav-item:hover > .submenu,
.sticky-header .nav-item:focus-within > .submenu {
  display: block;
}

#mobile-menu.mobile-menu {
  display: none;
}

#mobile-menu.mobile-menu.active {
  display: block;
}

#mobile-menu-btn {
  cursor: pointer;
}

/* ==================================================
   4. COMPOSANTS RÉUTILISABLES
   ================================================== */

.hero-forestier {
  position: relative;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(27,67,50,.94) 0%, rgba(45,106,79,.90) 100%),
    url("/bg-site-itierdc.jpg");
  background-position: center;
  background-size: cover;
}

.hero-forestier::before {
  position: absolute;
  inset: 0;
  content: "";
  background:
    radial-gradient(circle at 15% 15%, rgba(252,209,22,.24), transparent 45%),
    radial-gradient(circle at 80% 25%, rgba(149,213,178,.24), transparent 45%);
  pointer-events: none;
}

.forest-gradient {
  background: linear-gradient(135deg, var(--forest-dark) 0%, var(--forest-primary) 100%);
}

.forest-card-hover {
  transition: all 0.3s ease;
}
.forest-card-hover:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* ==================================================
   5. TABLEAUX
   ================================================== */

table {
  border-collapse: collapse;
  width: 100%;
}
th {
  background: var(--forest-primary);
  color: white;
  font-weight: 600;
  text-align: left;
  padding: 12px;
  white-space: nowrap;
}
td {
  padding: 12px;
  border-bottom: 1px solid #e5e7eb;
  vertical-align: top;
}
tr:hover {
  background-color: var(--forest-bg);
}

/* ==================================================
   6. BADGES
   ================================================== */

.badge-active {
  background: #10b981;
  color: white;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}
.badge-draft {
  background: #f59e0b;
  color: #1f2937;
  padding: 4px 12px;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  white-space: nowrap;
}


/* ==================================================
   7. STRUCTURE DE LA CARTE
   ================================================== */

.forest-map-app {
  display: grid;
  grid-template-columns: 340px minmax(0, 1fr);
  grid-template-areas: "sidebar map";
  align-items: stretch;
  width: 100%;
  height: calc(100vh - var(--forest-page-header-height));
  min-height: 560px;
  overflow: hidden;
  background: #f3f7f4;
  color: #1f2937;
  direction: ltr;
}

.forest-map-page {
  width: 100%;
  overflow: hidden;
}

.forest-map-sidebar {
  grid-area: sidebar;
  width: 340px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  max-height: none;
  height: 100%;
  overflow-y: auto;
  background: #fff;
  color: #526b55;
  border-right: 1px solid #d9e7dd;
  box-shadow: 4px 0 18px rgba(0, 0, 0, .08);
  z-index: 10;
}

/* ==================================================
   8. BARRE LATÉRALE ET EN-TÊTE
   ================================================== */

.forest-map-sidebar::-webkit-scrollbar { width: 8px; }
.forest-map-sidebar::-webkit-scrollbar-track { background: #f1f1f1; }
.forest-map-sidebar::-webkit-scrollbar-thumb {
  background: var(--forest-primary);
  border-radius: 4px;
}

.forest-map-header {
  position: relative;
  z-index: 1;
  padding: 20px;
  color: #fff;
  background: linear-gradient(135deg, var(--forest-dark), var(--forest-medium));
}

.forest-map-header small {
  display: block;
  margin-bottom: 6px;
  opacity: .85;
  text-transform: uppercase;
  letter-spacing: .08em;
  font-size: 11px;
}

.forest-map-header h1 {
  margin: 0;
  font-size: 20px;
  line-height: 1.3;
  font-weight: 700;
}

.forest-map-panel {
  padding: 16px 18px;
  border-bottom: 1px solid #d9e7dd;
}

.forest-map-panel h2 {
  margin: 0 0 12px;
  color: var(--forest-dark);
  font-size: 15px;
  font-weight: 700;
}

/* ==================================================
   9. FORMULAIRES ET COMMANDES
   ================================================== */

.forest-map-checkbox {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 0;
  font-size: 14px;
}

.forest-map-checkbox input {
  width: 18px;
  height: 18px;
  accent-color: var(--forest-primary);
}

.forest-map-input {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #c8d6cc;
  border-radius: 8px;
  background: #fff;
  font-size: 14px;
  outline: none;
}

.forest-map-input:focus {
  border-color: var(--forest-primary);
  box-shadow: 0 0 0 2px rgba(45, 106, 79, .15);
}

.forest-map-form-group { margin: 12px 0 0; }
.forest-map-form-group label {
  display: block;
  margin-bottom: 6px;
  color: var(--forest-dark);
  font-size: 13px;
  font-weight: 600;
}

.forest-map-btn {
  width: 100%;
  margin-bottom: 8px;
  padding: 11px 12px;
  border: 0;
  border-radius: 10px;
  cursor: pointer;
  background: #eef8f1;
  color: var(--forest-dark);
  font-weight: 700;
  text-align: left;
  transition: .2s ease;
}

.forest-map-btn:hover,
.forest-map-btn.active {
  background: var(--forest-primary);
  color: #fff;
}

.forest-map-btn-primary { background: #e8f3ff; color: #0b5ed7; }
.forest-map-btn-primary:hover { background: #0b5ed7; color: #fff; }
.forest-map-btn-danger { background: #fff0f0; color: #dc3545; }
.forest-map-btn-danger:hover { background: #dc3545; color: #fff; }

/* ==================================================
   10. STATISTIQUES ET RÉSULTATS
   ================================================== */

.forest-map-stat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.forest-map-stat {
  padding: 12px;
  border: 1px solid #d9e7dd;
  border-radius: 12px;
  background: #fbfdfb;
}

.forest-map-stat span {
  display: block;
  margin-bottom: 6px;
  color: #667085;
  font-size: 12px;
}

.forest-map-stat strong { color: var(--forest-primary); font-size: 18px; }

.forest-map-results {
  min-height: 80px;
  padding: 12px;
  border: 1px solid #d9e7dd;
  border-radius: 12px;
  background: #f8faf8;
  font-size: 13px;
  line-height: 1.5;
}

/* ==================================================
   11. ZONE CARTOGRAPHIQUE ET INFOBULLE
   ================================================== */

.forest-map-wrap {
  grid-area: map;
  position: relative;
  width: 100%;
  min-width: 0;
  height: 100%;
}
#map { width: 100%; height: 100%; }

.forest-map-title {
  position: absolute;
  top: 18px;
  left: 18px;
  z-index: 5;
  padding: 12px 16px;
  border: 1px solid #d9e7dd;
  border-radius: 14px;
  background: rgba(255, 255, 255, .95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .12);
}

.forest-map-title strong {
  display: block;
  color: var(--forest-dark);
  font-size: 16px;
}

.forest-map-title span { color: #667085; font-size: 12px; }

.forest-map-popup {
  min-width: 220px;
  padding: 12px 14px;
  border: 1px solid #d9e7dd;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 8px 24px rgba(0, 0, 0, .18);
  font-size: 13px;
}

.forest-map-popup strong { color: var(--forest-primary); }
.forest-map-popup::after {
  content: '';
  position: absolute;
  left: 18px;
  bottom: -10px;
  border-width: 10px 10px 0;
  border-style: solid;
  border-color: #fff transparent transparent;
}

/* ==================================================
   12. NAVIGATION DE LA BARRE LATÉRALE
   ================================================== */

.forest-sidebar-tabs {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  border-bottom: 1px solid #e3e9e3;
  background: #f6f7f6;
}

.forest-sidebar-tab {
  display: flex;
  min-width: 0;
  padding: 10px 3px 9px;
  border: 0;
  border-bottom: 3px solid transparent;
  background: transparent;
  color: #6b856e;
  cursor: pointer;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  line-height: 1;
}

.forest-sidebar-tab-icon {
  font-size: 17px;
  line-height: 1;
}

.forest-sidebar-tab:hover,
.forest-sidebar-tab.is-active {
  color: #365f42;
}

.forest-sidebar-tab.is-active {
  border-bottom-color: #477653;
  background: #fff;
  font-weight: 700;
}

.forest-sidebar-panel[hidden] {
  display: none;
}

.forest-sidebar-section-title {
  display: flex;
  align-items: center;
  gap: 7px;
  margin: 0;
  padding: 12px 11px;
  border-bottom: 1px solid #e3e9e3;
  color: #58745c;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.forest-sidebar-options {
  display: grid;
  gap: 7px;
  padding: 10px;
}

.forest-sidebar-option {
  display: flex;
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d4e0d5;
  border-radius: 6px;
  background: #fff;
  color: #566d59;
  cursor: pointer;
  align-items: center;
  gap: 9px;
  font-size: 13px;
  font-weight: 700;
  text-align: left;
  transition: background-color .2s ease, border-color .2s ease, color .2s ease;
}

.forest-sidebar-option:hover {
  border-color: #86a88b;
  background: #f4f8f4;
}

.forest-sidebar-option.is-active {
  border-color: #477653;
  background: #477653;
  color: #fff;
}

.forest-layer-option {
  cursor: default;
}

/* ==================================================
   13. FILTRE DES PROVINCES ET COUCHES
   ================================================== */

.forest-layer-list {
  border-top: 1px solid #e6ebe6;
  background: #fff;
}

.forest-province-filter {
  padding: 10px;
  border-bottom: 1px solid #e6ebe6;
  background: #f8faf8;
}

.forest-province-filter label {
  display: block;
  margin-bottom: 6px;
  color: #58745c;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .02em;
  text-transform: uppercase;
}

.forest-province-select {
  width: 100%;
  padding: 9px 34px 9px 10px;
  border: 1px solid #cfdacf;
  border-radius: 6px;
  outline: none;
  background: #fff;
  color: #354d39;
  cursor: pointer;
  font-size: 13px;
}

.forest-province-select:focus {
  border-color: #477653;
  box-shadow: 0 0 0 3px rgba(71, 118, 83, .12);
}

.forest-layer-row {
  display: grid;
  min-height: 48px;
  padding: 7px 10px 7px 5px;
  border-bottom: 1px solid #e6ebe6;
  background: #fff;
  color: #303830;
  grid-template-columns: 9px 36px minmax(0, 1fr) 18px;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.forest-layer-handle {
  overflow: hidden;
  color: #b7beb8;
  cursor: grab;
  font-size: 15px;
  line-height: 1;
}

.forest-layer-switch {
  position: relative;
  display: inline-flex;
  width: 36px;
  height: 20px;
}

.forest-layer-switch input {
  position: absolute;
  z-index: 2;
  inset: 0;
  width: 100%;
  height: 100%;
  margin: 0;
  opacity: 0;
  cursor: pointer;
}

.forest-layer-slider {
  position: relative;
  width: 100%;
  height: 100%;
  border-radius: 999px;
  background: #c9d2ca;
  transition: background-color .2s ease;
}

.forest-layer-slider::after {
  position: absolute;
  top: 2px;
  left: 2px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .22);
  content: '';
  transition: transform .2s ease;
}

.forest-layer-switch input:checked + .forest-layer-slider {
  background: #61c66e;
}

.forest-layer-switch input:checked + .forest-layer-slider::after {
  transform: translateX(16px);
}

.forest-layer-switch input:focus-visible + .forest-layer-slider {
  outline: 3px solid rgba(71, 118, 83, .25);
  outline-offset: 2px;
}

.forest-layer-label {
  line-height: 1.35;
}

.forest-layer-info {
  display: inline-grid;
  width: 18px;
  height: 18px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #6d9173;
  cursor: help;
  place-items: center;
  font-size: 15px;
  line-height: 1;
}

/* ==================================================
   14. LÉGENDE CARTOGRAPHIQUE
   ================================================== */

.forest-legend-dot {
  width: 13px;
  height: 13px;
  border: 1px solid rgba(35, 67, 42, .28);
  border-radius: 3px;
  flex: 0 0 auto;
}

.forest-legend-groups {
  overflow-y: auto;
  padding: 12px 10px 18px;
  background: #fff;
}

.forest-legend-group + .forest-legend-group {
  margin-top: 17px;
}

.forest-legend-group-title {
  margin: 0 0 8px;
  color: #315b39;
  font-size: 12px;
  font-weight: 800;
  line-height: 1.35;
}

.forest-legend-item {
  display: flex;
  color: #4b5d4e;
  align-items: flex-start;
  gap: 8px;
  font-size: 12px;
  line-height: 1.35;
}

.forest-legend-item + .forest-legend-item {
  margin-top: 7px;
}

.forest-legend-item .forest-legend-dot {
  margin-top: 1px;
}

.forest-legend-dot.is-water { background: #3f8fe5; }
.forest-legend-dot.is-cfcl { background: #2f8f5b; }
.forest-legend-dot.is-industrial { background: #6ab55b; }
.forest-legend-dot.is-conservation { background: #5c431f } 
.forest-legend-dot.is-national-park { background: #7047b7; }
.forest-legend-dot.is-biosphere { background: #3f63a8; }
.forest-legend-dot.is-community-reserve { background: #18a39b; }
.forest-legend-dot.is-integral-reserve { background: #28663b; }
.forest-legend-dot.is-fauna-reserve { background: #79b84f; }
.forest-legend-dot.is-scientific-reserve { background: #d94f5c; }
.forest-legend-dot.is-hunting-domain { background: #9aa1a7; }

/* ==================================================
   15. RECHERCHE
   ================================================== */

.forest-sidebar-search {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #d4e0d5;
  border-radius: 6px;
  outline: none;
  color: #3f5743;
  font-size: 13px;
}

.forest-sidebar-search:focus {
  border-color: #477653;
  box-shadow: 0 0 0 3px rgba(71, 118, 83, .12);
}

/* ==================================================
   16. CONTRÔLES OPENLAYERS
   ================================================== */

/* Boutons de zoom OpenLayers */
.forest-map-wrap .ol-zoom {
  top: 16px;
  left: 16px;
  display: grid;
  padding: 0;
  border-radius: 10px;
  background: transparent;
  box-shadow: 0 5px 16px rgba(31, 64, 39, .18);
  gap: 1px;
}

.forest-map-wrap .ol-zoom button {
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid #d7e2d9;
  border-radius: 0;
  background: #fff !important;
  color: #477653 !important;
  font-family: Arial, sans-serif;
  font-size: 22px;
  font-weight: 500;
  line-height: 36px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.forest-map-wrap .ol-zoom-in {
  border-radius: 9px 9px 0 0 !important;
}

.forest-map-wrap .ol-zoom-out {
  border-radius: 0 0 9px 9px !important;
}

.forest-map-wrap .ol-zoom button:hover,
.forest-map-wrap .ol-zoom button:focus {
  border-color: #477653;
  outline: none;
  background: #477653 !important;
  color: #fff !important;
}

.forest-map-wrap .ol-zoom button:focus-visible {
  box-shadow: 0 0 0 3px rgba(71, 118, 83, .25);
}

/* Bouton plein écran OpenLayers */
.forest-map-wrap .ol-full-screen {
  top: 16px;
  right: 16px;
  padding: 0;
  border-radius: 9px;
  background: transparent;
  box-shadow: 0 5px 16px rgba(31, 64, 39, .18);
}

.forest-map-wrap .ol-full-screen button {
  width: 38px;
  height: 38px;
  margin: 0;
  border: 1px solid #d7e2d9;
  border-radius: 9px !important;
  background: #fff !important;
  color: #477653 !important;
  font-size: 18px;
  line-height: 36px;
  transition: background-color .2s ease, color .2s ease, border-color .2s ease;
}

.forest-map-wrap .ol-full-screen button:hover,
.forest-map-wrap .ol-full-screen button:focus {
  border-color: #477653;
  outline: none;
  background: #477653 !important;
  color: #fff !important;
}

.forest-map-wrap .ol-full-screen button:focus-visible {
  box-shadow: 0 0 0 3px rgba(71, 118, 83, .25);
}

/* Attribution OpenStreetMap réduite par défaut */
.forest-map-wrap .ol-attribution {
  right: 10px;
  bottom: 10px;
  max-width: calc(100% - 20px);
  padding: 0;
  border-radius: 7px;
  background: transparent !important;
}

.forest-map-wrap .ol-attribution ul {
  position: absolute;
  right: 0;
  bottom: 34px;
  display: none !important;
  min-width: 190px;
  margin: 0;
  padding: 7px 10px;
  border: 1px solid #d7e2d9;
  border-radius: 7px;
  background: rgba(255, 255, 255, .96);
  box-shadow: 0 4px 14px rgba(31, 64, 39, .14);
  color: #405844;
  font-size: 11px;
  white-space: nowrap;
}

.forest-map-wrap .ol-attribution:hover ul,
.forest-map-wrap .ol-attribution:focus-within ul {
  display: block !important;
}

.forest-map-wrap .ol-attribution button {
  display: block !important;
  width: 28px;
  height: 28px;
  margin: 0 0 0 auto;
  border: 1px solid #d7e2d9;
  border-radius: 7px !important;
  background: rgba(255, 255, 255, .94) !important;
  color: #477653 !important;
  font-size: 15px;
  line-height: 26px;
  box-shadow: 0 3px 10px rgba(31, 64, 39, .14);
}

.forest-map-wrap .ol-attribution button:hover,
.forest-map-wrap .ol-attribution button:focus {
  border-color: #477653;
  outline: none;
  background: #477653 !important;
  color: #fff !important;
}

/* Volet d'information sur la déforestation, superposé à droite de la carte. */
    .forest-map-page .forest-map-wrap {
      --forest-deforestation-drawer-width: min(360px, calc(100% - 32px));
      --forest-deforestation-drawer-gap: 12px;
      position: relative;
    }

    .forest-deforestation-drawer {
      position: absolute;
      z-index: 1100;
      top: 50%;
      right: var(--forest-deforestation-drawer-gap);
      display: flex;
      width: var(--forest-deforestation-drawer-width);
      height: min(600px, calc(100% - 96px));
      flex-direction: column;
      overflow: visible;
      border: 1px solid rgba(45, 106, 79, .18);
      border-radius: 12px;
      background: #ffffff;
      box-shadow: 0 14px 36px rgba(15, 23, 42, .22);
      transform: translateY(-50%);
      transition: transform .25s ease;
    }

    .forest-deforestation-drawer.is-collapsed {
      transform: translateX(calc(100% + var(--forest-deforestation-drawer-gap))) translateY(-50%);
    }

    .forest-deforestation-drawer-header {
      flex: 0 0 auto;
      padding: 18px 20px;
      border-radius: 11px 11px 0 0;
      background: #2D6A4F;
      color: #ffffff;
    }

    .forest-deforestation-drawer-title {
      margin: 0;
      font-size: 17px;
      font-weight: 700;
      line-height: 1.3;
    }

    .forest-deforestation-drawer-content {
      min-height: 0;
      flex: 1 1 auto;
      overflow-y: auto;
      padding: 20px;
      color: #334155;
      font-size: 15px;
      line-height: 1.6;
    }

    .forest-deforestation-drawer-content p {
      margin: 0;
    }

    .forest-deforestation-drawer-toggle {
      position: absolute;
      z-index: 1101;
      top: 50%;
      right: 0;
      display: grid;
      width: 32px;
      height: 48px;
      place-items: center;
      transform: translateY(-50%);
      border: 0;
      border-radius: 8px 0 0 8px;
      background: #2D6A4F;
      color: #ffffff;
      box-shadow: -4px 5px 14px rgba(15, 23, 42, .18);
      cursor: pointer;
      font-size: 24px;
      line-height: 1;
      transition: right .25s ease, background-color .2s ease;
    }

    .forest-deforestation-drawer-toggle.is-open {
      right: calc(var(--forest-deforestation-drawer-width) + var(--forest-deforestation-drawer-gap));
    }

    .forest-deforestation-drawer-toggle:hover {
      background: #1B4332;
    }

    .forest-deforestation-drawer-toggle:focus-visible {
      outline: 3px solid rgba(250, 204, 21, .85);
      outline-offset: 2px;
    }

    @media (max-width: 767px) {
      .forest-map-page .forest-map-wrap {
        --forest-deforestation-drawer-width: min(320px, calc(100% - 40px));
        --forest-deforestation-drawer-gap: 8px;
      }

      .forest-deforestation-drawer {
        height: min(460px, calc(100% - 48px));
      }

      .forest-deforestation-drawer.is-collapsed {
        transform: translateX(calc(100% + var(--forest-deforestation-drawer-gap))) translateY(-50%);
      }

      .forest-deforestation-drawer-header {
        padding: 15px 16px;
      }

      .forest-deforestation-drawer-content {
        padding: 16px;
      }
    }
    


    .forest-mining-accordion-toggle {
      display: flex;
      flex: 1;
      align-items: center;
      justify-content: space-between;
      min-width: 0;
      padding: 0;
      color: inherit;
      font: inherit;
      text-align: left;
      background: transparent;
      border: 0;
      cursor: pointer;
    }
    .forest-mining-title-text { min-width: 0; }
    .forest-mining-count,
    .forest-mining-subcount {
      display: inline-flex;
      min-width: 28px;
      padding: 3px 7px;
      border-radius: 999px;
      background: #e8f5e9;
      color: #2d6a4f;
      font-size: 11px;
      font-weight: 800;
      font-variant-numeric: tabular-nums;
      justify-content: center;
      line-height: 1.2;
      white-space: nowrap;
    }
    .forest-mining-count { margin: 0 8px 0 auto; }
    .forest-mining-subcount { justify-self: end; }
    .forest-mining-accordion-toggle #miningTitlesChevron { margin-left: auto; }
    .forest-mining-accordion-items { background: #fff; }
    .forest-mining-suboption { padding-left: 21px; background: #f8fbf8; }
    .forest-mining-accordion-items[hidden] { display: none; }
    .forest-mining-accordion-items strong { color: #2d6a4f; }



/* ==================================================
   17. RESPONSIVE
   ================================================== */

@media (min-width: 768px) {
  #mobile-menu.mobile-menu,
  #mobile-menu.mobile-menu.active {
    display: none;
  }
}

@media (max-width: 850px) {
  .forest-map-app {
    grid-template-columns: 1fr;
    grid-template-areas:
      "sidebar"
      "map";
    height: auto;
  }

  .forest-map-sidebar {
    width: 100%;
    max-height: 480px;
  }

  .forest-map-wrap {
    height: 600px;
  }
}
