/* Climate & topography page - FSOL version 1. Same visual language as team-cards.css (prefix cl-). */
.cl-page{ max-width: 1180px; }

/* in-page navigation */
.cl-nav{ display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin: 0 0 1.75rem; }
.cl-nav a{
  display: inline-flex; align-items: center; gap: .4rem;
  padding: .45rem 1.05rem; border-radius: 999px;
  background: var(--tm-green, #3e6a55); color: #fff;
  font-weight: 600; font-size: .95rem; text-decoration: none;
  transition: background .2s, color .2s;
}
.cl-nav a:hover, .cl-nav a:focus-visible{ background: var(--tm-yellow, #fbf456); color: #1f3a2e; }

/* cards */
.cl-card{
  margin: 0 0 1.75rem; padding: 1.35rem 1.5rem 1.6rem;
  background: var(--tm-card, #e8f2cb);
  border-radius: 16px;
  border-inline-start: 6px solid var(--tm-green, #3e6a55);
  box-shadow: 0 8px 22px rgba(38,70,54,.14);
  scroll-margin-top: 7rem;
}
.cl-card-title{
  display: flex; align-items: center; gap: .6rem; margin: 0 0 1rem;
  font-size: clamp(1.2rem, 1.05rem + .6vw, 1.55rem); font-weight: 700;
  color: var(--tm-green-dark, #355e4a);
}
.cl-card-title i{ font-size: 1.4rem; color: var(--tm-green, #3e6a55); }
.cl-text{ line-height: 2; font-size: 1.08rem; color: var(--tm-text, #2c3a32); text-align: start; overflow-wrap: anywhere; }
.cl-text p{ margin: 0 0 .9rem; }
.cl-text p:last-child{ margin-bottom: 0; }

/* topography: text + picture (the picture stays on the LEFT in both languages) */
.cl-split{ display: grid; gap: 1.5rem; align-items: start; grid-template-columns: 1fr; }
@media (min-width: 900px){ .cl-split{ grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); } .cl-split.no-img{ grid-template-columns: 1fr; } }
.cl-page[dir="ltr"] .cl-figure{ order: -1; }
@media (min-width: 900px){ .cl-page[dir="ltr"] .cl-split{ grid-template-columns: minmax(0, 2fr) minmax(0, 3fr); } .cl-page[dir="ltr"] .cl-split.no-img{ grid-template-columns: 1fr; } }
.cl-figure{ display: block; border-radius: 14px; overflow: hidden; box-shadow: 0 8px 22px rgba(38,70,54,.2); background: #fff; }
.cl-figure img{ display: block; width: 100%; height: auto; transition: transform .35s ease; }
.cl-figure:hover img{ transform: scale(1.03); }

/* embedded PDF */
.cl-pdf{ margin: 1.25rem 0 0; }
.cl-pdf-frame{ border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 8px 22px rgba(38,70,54,.16); }
.cl-pdf-frame iframe{ display: block; width: 100%; height: 560px; border: 0; }
.cl-pdf-note{ display: none; margin: 0 0 .75rem; font-size: .95rem; color: var(--tm-text, #2c3a32); text-align: center; }
.cl-pdf-actions{ display: flex; flex-wrap: wrap; justify-content: center; gap: .6rem; margin-top: .9rem; }
@media (max-width: 767px){
  .cl-pdf-frame{ display: none; }            /* phones cannot show embedded PDFs reliably: buttons only */
  .cl-pdf-note{ display: block; }
}
.cl-btn{
  display: inline-flex; align-items: center; gap: .45rem;
  padding: .5rem 1.1rem; border: 0; border-radius: 999px;
  background: var(--tm-green, #3e6a55); color: #fff;
  font-size: .95rem; font-weight: 600; text-decoration: none; cursor: pointer;
  transition: background .2s, color .2s;
}
.cl-btn:hover, .cl-btn:focus-visible{ background: var(--tm-yellow, #fbf456); color: #1f3a2e; }
.cl-btn--ghost{ background: transparent; color: var(--tm-green-dark, #355e4a); box-shadow: inset 0 0 0 2px var(--tm-green, #3e6a55); }

/* bio-climatic zones */
.cl-zones{ display: grid; gap: 1.25rem; margin-top: 1.5rem; grid-template-columns: 1fr; }
@media (min-width: 900px){ .cl-zones{ grid-template-columns: 1fr 1fr; } }
.cl-zone{ padding: 1.1rem 1.25rem 1.25rem; background: #f4f9e6; border-radius: 14px; box-shadow: 0 4px 14px rgba(38,70,54,.12); }
.cl-zone h3{
  display: flex; align-items: center; gap: .5rem; margin: 0 0 .7rem; padding-bottom: .5rem;
  font-size: 1.15rem; font-weight: 700; color: var(--tm-green-dark, #355e4a);
  border-bottom: 3px solid var(--tm-yellow, #fbf456);
}
.cl-zone h3 i{ color: var(--tm-green, #3e6a55); }
.cl-zone .cl-text{ font-size: 1.02rem; line-height: 1.9; }
.cl-zone ul{ margin: 0 0 .9rem; padding-inline-start: 1.3rem; }
.cl-zone li + li{ margin-top: .35rem; }
.cl-zone bdi{ unicode-bidi: isolate; }
.cl-zone [dir="LTR"], .cl-zone [dir="ltr"]{ unicode-bidi: isolate; }
.cl-empty{ margin: 0; text-align: center; font-weight: 700; color: var(--tm-green-dark, #355e4a); }

/* ---------- station tables ---------- */
.cl-tools{ display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: .75rem; margin: 1.1rem 0 .6rem; }
.cl-search{ position: relative; flex: 1 1 260px; max-width: 420px; display: block; }
.cl-search i{ position: absolute; inset-inline-start: .8rem; top: 50%; transform: translateY(-50%); color: #5c7d6d; pointer-events: none; }
.cl-search input{
  width: 100%; box-sizing: border-box; min-height: 44px;
  padding: .45rem .9rem; padding-inline: 2.4rem .9rem;
  border: 2px solid #529174; border-radius: 999px; background: #fff; color: #345C4A; font-weight: 600;
}
.cl-search input:focus{ outline: none; border-color: #3e6a55; box-shadow: 0 0 0 .2rem rgba(82,145,116,.28); }
.cl-caption{ margin: 0 0 .5rem; font-weight: 700; color: var(--tm-green-dark, #355e4a); }
.cl-table-wrap{ overflow: auto; max-height: 640px; background: #fff; border-radius: 14px; box-shadow: 0 8px 22px rgba(38,70,54,.16); }
.cl-table{ width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; font-size: .92rem; color: #1f2d27; }
.cl-table th, .cl-table td{ padding: .45rem .55rem; border-bottom: 1px solid #e3ecd8; text-align: center; white-space: nowrap; }
.cl-table thead th{
  position: sticky; top: 0; z-index: 3;
  background: var(--tm-green, #3e6a55); color: #fff; font-weight: 700; white-space: normal; line-height: 1.25; min-width: 3.2rem;
}
.cl-table thead th[data-sort]{ cursor: pointer; user-select: none; }
.cl-table thead th[data-sort]:hover{ background: #2f5543; }
.cl-table thead th[aria-sort="ascending"]::after{ content: " \25B2"; font-size: .7em; }
.cl-table thead th[aria-sort="descending"]::after{ content: " \25BC"; font-size: .7em; }
.cl-table .cl-st{ text-align: start; font-weight: 700; min-width: 7.5rem; position: sticky; inset-inline-start: 0; z-index: 2; background: #f4f9e6; }
.cl-table thead .cl-st{ z-index: 4; background: var(--tm-green, #3e6a55); }
.cl-table .cl-co{ color: #44574d; font-size: .85rem; }
.cl-table .cl-an{ font-weight: 800; background: #e8f2cb; }
.cl-table thead .cl-an{ background: #2f5543; }
.cl-table tbody tr:hover td, .cl-table tbody tr:hover th{ filter: brightness(.96); }
.cl-nomatch{ margin: .75rem 0 0; text-align: center; font-weight: 700; color: var(--tm-green-dark, #355e4a); }
.cl-nomatch[hidden]{ display: none; }
.cl-table tbody tr[hidden]{ display: none; }

/* original PDF folded away; bio-climatic map */
.cl-orig{ margin-top: 1.1rem; }
.cl-orig summary{
  display: inline-flex; align-items: center; gap: .45rem; cursor: pointer;
  padding: .45rem 1.05rem; border-radius: 999px; font-weight: 600; font-size: .95rem; list-style: none;
  color: var(--tm-green-dark, #355e4a); box-shadow: inset 0 0 0 2px var(--tm-green, #3e6a55);
}
.cl-orig summary::-webkit-details-marker{ display: none; }
.cl-orig[open] summary{ background: var(--tm-yellow, #fbf456); }
.cl-map{ margin: 1.25rem 0 0; }
.cl-map a{ display: block; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 8px 22px rgba(38,70,54,.16); }
.cl-map img{ display: block; width: 100%; height: auto; }
.cl-table thead .cl-co{ color: #fff; font-size: inherit; }
