/* Regional grouping for the EEA observations table.
   The underlying station rows, pollutant palettes and page theme are unchanged. */
.observations-table tbody tr.region-row,
.observations-table tbody tr.region-row:nth-child(even),
.observations-table tbody tr.region-row:hover {
  height: 52px;
  background: #18364e;
  cursor: default;
}
.observations-table tbody tr.region-row td,
.observations-table tbody tr.region-row td:first-child {
  padding: 0 19px;
  text-align: left;
  border-top: 1px solid rgba(110, 199, 228, .24);
  border-bottom: 1px solid rgba(110, 199, 228, .16);
}
.region-heading-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: 52px;
  padding-left: 13px;
  border-left: 3px solid #3ecfce;
}
.region-heading-title {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 9px;
}
.region-heading-title span {
  color: #5fb9c7;
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 1.5px;
}
.region-heading-title strong {
  color: #e3f7ff;
  font-size: 13px;
  font-weight: 900;
}
.region-heading-inner > small {
  color: #97bfd3;
  font-size: 10px;
  font-weight: 800;
  white-space: nowrap;
}
.mobile-region-heading { display: none; }

body.light-mode .observations-table tbody tr.region-row,
body.light-mode .observations-table tbody tr.region-row:nth-child(even),
body.light-mode .observations-table tbody tr.region-row:hover {
  background: #d7edf6;
}
body.light-mode .region-heading-title strong { color: #164961; }
body.light-mode .region-heading-inner > small { color: #446f82; }

@media (max-width: 800px) {
  .mobile-region-heading {
    display: block;
    background: #18364e;
    border: 1px solid rgba(110, 199, 228, .22);
    border-radius: 11px;
    padding: 0 12px;
  }
  .mobile-region-heading:not(:first-child) { margin-top: 13px; }
  .mobile-region-heading .region-heading-inner { min-height: 46px; }
  .mobile-region-heading .region-heading-title strong { font-size: 12px; }
  .mobile-region-heading .region-heading-inner > small { font-size: 9px; }
  body.light-mode .mobile-region-heading { background: #d7edf6; }
}
@media (max-width: 465px) {
  .mobile-region-heading .region-heading-title { gap: 4px; }
  .mobile-region-heading .region-heading-title span { font-size: 8px; }
  .mobile-region-heading .region-heading-title strong { font-size: 11px; }
  .mobile-region-heading .region-heading-inner { gap: 7px; }
  .mobile-region-heading .region-heading-inner > small { font-size: 8.5px; }
}
