/**
 * Country Plugin Explorer Stylesheet
 * Premium World Explorer + Geographic Intelligence Hero & Directory
 * @package Kizmio Country Plugin
 */

/* ==========================================================================
   1. COUNTRY EXPLORER HERO (DESKTOP & MOBILE)
   ========================================================================== */
.country-hero-v2 {
  position: relative;
  background: #061325;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 24px;
  overflow: hidden;
  padding: 44px 38px;
  margin-bottom: 24px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.32);
}

/* Atmospheric Oceanic & Space Lighting */
.country-hero-v2__bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
  z-index: 1;
}

.country-hero-v2__glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  pointer-events: none;
}

.country-hero-v2__glow--ocean {
  top: -25%;
  left: -10%;
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, rgba(2, 132, 199, 0.28) 0%, rgba(2, 132, 199, 0) 70%);
}

.country-hero-v2__glow--cyan {
  bottom: -30%;
  right: 15%;
  width: 440px;
  height: 440px;
  background: radial-gradient(circle, rgba(6, 182, 212, 0.22) 0%, rgba(6, 182, 212, 0) 70%);
}

.country-hero-v2__glow--orange {
  top: 40%;
  right: -5%;
  width: 320px;
  height: 320px;
  background: radial-gradient(circle, rgba(250, 71, 13, 0.18) 0%, rgba(250, 71, 13, 0) 70%);
}

/* Latitude / Longitude Coordinate Grid */
.country-hero-v2__grid-lines {
  position: absolute;
  inset: 0;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.7;
}

.country-hero-v2__map-texture {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(6, 19, 37, 0.85) 100%);
  pointer-events: none;
}

/* Hero Content Grid */
.country-hero-v2__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1.18fr 0.82fr;
  align-items: center;
  gap: 36px;
}

/* Left Column */
.country-hero-v2__left {
  display: flex;
  flex-direction: column;
}

.country-hero-v2__badge {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 5px 14px;
  background: rgba(2, 132, 199, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.32);
  border-radius: 999px;
  color: #38bdf8;
  font-size: 11.5px;
  font-weight: 750;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  width: fit-content;
  margin-bottom: 16px;
}

.country-hero-v2__title {
  font-size: 36px;
  font-weight: 800;
  line-height: 1.18;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}

.country-hero-v2__accent {
  background: linear-gradient(135deg, #38bdf8 0%, #0284c7 60%, #fa470d 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.country-hero-v2__desc {
  font-size: 14px;
  line-height: 1.6;
  color: #94a3b8;
  margin-bottom: 22px;
  max-width: 500px;
}

/* Search Box */
.country-hero-v2__search-form {
  width: 100%;
  max-width: 500px;
}

.country-hero-v2__search-box {
  display: flex;
  align-items: center;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 999px;
  padding: 4px 4px 4px 16px;
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
  transition: all 0.25s ease;
}

.country-hero-v2__search-box:focus-within {
  background: rgba(255, 255, 255, 0.12);
  border-color: #0284c7;
  box-shadow: 0 0 0 3px rgba(2, 132, 199, 0.3);
}

.country-hero-v2__search-icon {
  color: #38bdf8;
  font-size: 15px;
  margin-right: 10px;
  flex-shrink: 0;
}

.country-hero-v2__search-input {
  background: transparent !important;
  border: none !important;
  outline: none !important;
  box-shadow: none !important;
  color: #ffffff !important;
  font-size: 13.5px;
  width: 100%;
  height: 38px;
  padding: 0;
}

.country-hero-v2__search-input::placeholder {
  color: rgba(255, 255, 255, 0.45);
}

.country-hero-v2__search-btn {
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 13px;
  border: none;
  border-radius: 999px;
  height: 38px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  flex-shrink: 0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.country-hero-v2__search-btn:hover {
  background: linear-gradient(135deg, #0369a1 0%, #075985 100%);
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(2, 132, 199, 0.45);
}

/* Quick Shortcuts */
.kizmiotheme .country-hero-v2 .country-hero-v2__shortcuts,
.country-hero-v2__shortcuts {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 18px;
  color: #ffffff !important;
}

.country-hero-v2__shortcuts-label {
  color: #ffffff !important;
  font-size: 11.5px;
  font-weight: 650;
  margin-right: 2px;
}

.kizmiotheme .country-hero-v2 a.country-hero-v2__chip,
.kizmiotheme .country-hero-v2 .country-hero-v2__chip,
.country-hero-v2__chip,
a.country-hero-v2__chip {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 5px 13px !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border: 1px solid rgba(255, 255, 255, 0.22) !important;
  border-radius: 999px !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 650 !important;
  text-decoration: none !important;
  transition: all 0.2s ease !important;
  backdrop-filter: blur(8px) !important;
}

.kizmiotheme .country-hero-v2 a.country-hero-v2__chip i,
.country-hero-v2__chip i {
  color: #38bdf8 !important;
  font-size: 11px !important;
}

.kizmiotheme .country-hero-v2 a.country-hero-v2__chip:hover,
.kizmiotheme .country-hero-v2 a.country-hero-v2__chip.is-active,
.country-hero-v2__chip:hover,
.country-hero-v2__chip.is-active {
  background: rgba(2, 132, 199, 0.3) !important;
  border-color: #38bdf8 !important;
  color: #ffffff !important;
  transform: translateY(-1px) !important;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.25) !important;
}

/* Dynamic Stats Strip */
.country-hero-v2__stats {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 24px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.country-hero-v2__stat-item {
  display: flex;
  flex-direction: column;
}

.country-hero-v2__stat-item strong {
  font-size: 15px;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
}

.country-hero-v2__stat-item span {
  font-size: 11px;
  color: #94a3b8;
  font-weight: 500;
}

.country-hero-v2__stat-divider {
  width: 1px;
  height: 26px;
  background: rgba(255, 255, 255, 0.12);
}

/* ==========================================================================
   2. RIGHT COLUMN: WORLD EXPLORER RADAR COMPOSITION
   ========================================================================== */
.country-hero-v2__composition {
  position: relative;
  width: 100%;
  max-width: 380px;
  height: 320px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Radar & Coordinates Graphic */
.country-hero-v2__globe-radar {
  position: absolute;
  width: 250px;
  height: 250px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0.85;
}

.country-hero-v2__radar-ring {
  position: absolute;
  border-radius: 50%;
  border: 1px dashed rgba(56, 189, 248, 0.22);
}

.country-hero-v2__radar-ring--1 {
  width: 120px;
  height: 120px;
  border-style: solid;
  border-color: rgba(56, 189, 248, 0.18);
}

.country-hero-v2__radar-ring--2 {
  width: 190px;
  height: 190px;
}

.country-hero-v2__radar-ring--3 {
  width: 250px;
  height: 250px;
  border-color: rgba(255, 255, 255, 0.08);
}

.country-hero-v2__axis {
  position: absolute;
  background: rgba(56, 189, 248, 0.15);
}

.country-hero-v2__axis--h {
  width: 100%;
  height: 1px;
}

.country-hero-v2__axis--v {
  height: 100%;
  width: 1px;
}

.country-hero-v2__globe-icon {
  font-size: 54px;
  color: rgba(56, 189, 248, 0.15);
  filter: drop-shadow(0 0 16px rgba(2, 132, 199, 0.35));
}

/* Primary Destination Card */
.kizmiotheme .country-hero-v2 a.country-hero-card--primary,
.country-hero-card--primary {
  position: relative;
  z-index: 2;
  width: 290px;
  background: rgba(11, 30, 54, 0.88) !important;
  border: 1px solid rgba(56, 189, 248, 0.25) !important;
  border-radius: 18px !important;
  padding: 14px 16px !important;
  backdrop-filter: blur(18px) !important;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
  text-decoration: none !important;
  display: flex !important;
  flex-direction: column !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

.country-hero-card--primary:hover {
  transform: translateY(-4px) !important;
  box-shadow: 0 26px 50px rgba(0, 0, 0, 0.6) !important;
  border-color: rgba(56, 189, 248, 0.5) !important;
}

.country-hero-card__header {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.country-hero-card__flag-wrap {
  width: 40px;
  height: 30px;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  background: #1e293b;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.country-hero-card__flag {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-hero-card__iso {
  font-size: 12px;
  font-weight: 800;
  color: #38bdf8;
}

.country-hero-card__name {
  font-size: 14.5px;
  font-weight: 750;
  color: #ffffff !important;
  margin: 0;
  line-height: 1.2;
}

.country-hero-card__region {
  font-size: 10.5px;
  color: #38bdf8 !important;
  font-weight: 600;
}

.country-hero-card__badge {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(2, 132, 199, 0.2);
  border: 1px solid rgba(56, 189, 248, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
}

.country-hero-card__metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.country-hero-card__metric small {
  display: block;
  font-size: 9px;
  text-transform: uppercase;
  color: #94a3b8;
  letter-spacing: 0.4px;
}

.country-hero-card__metric strong {
  display: block;
  font-size: 12px;
  color: #ffffff;
  font-weight: 700;
  line-height: 1.2;
}

/* Secondary Destination Card */
.kizmiotheme .country-hero-v2 a.country-hero-card--secondary,
.country-hero-card--secondary {
  position: absolute;
  top: -5px;
  right: -12px;
  width: 190px;
  background: rgba(15, 23, 42, 0.92) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 14px !important;
  padding: 8px 10px !important;
  z-index: 3;
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.4) !important;
  transform: rotate(3.5deg);
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 8px !important;
  transition: transform 0.25s ease !important;
}

.country-hero-card--secondary:hover {
  transform: rotate(0deg) scale(1.03) !important;
}

.country-hero-card__flag-wrap--sm {
  width: 28px;
  height: 20px;
  border-radius: 4px;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.3);
}

.country-hero-card__flag-wrap--sm img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.country-hero-card--secondary strong {
  font-size: 11px;
  font-weight: 700;
  color: #ffffff !important;
}

/* Floating Satellite Badge */
.country-hero-badge--floating {
  position: absolute;
  bottom: 6px;
  left: -12px;
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.95) 0%, rgba(3, 105, 161, 0.98) 100%);
  color: #ffffff;
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 999px;
  padding: 6px 13px;
  font-size: 11px;
  font-weight: 750;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 8px 20px rgba(2, 132, 199, 0.4);
  z-index: 4;
  letter-spacing: 0.3px;
}

/* ==========================================================================
   3. REGION SHORTCUTS SLIDER
   ========================================================================== */
.country-region-section {
  background: var(--kzm-surface, #ffffff);
  border: 1px solid var(--kzm-border, #edf0f4);
  border-radius: 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
  padding: 16px 18px;
  margin-bottom: 22px;
}

.country-region-slider {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 2px 2px 6px;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: rgba(2, 132, 199, 0.25) transparent;
}

.country-region-slider::-webkit-scrollbar {
  height: 3px;
}
.country-region-slider::-webkit-scrollbar-thumb {
  background: rgba(2, 132, 199, 0.25);
  border-radius: 999px;
}

.country-region-card {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--kzm-surface-soft, #f8fafc);
  border: 1px solid var(--kzm-border, #e2e8f0);
  border-radius: 14px;
  color: var(--kzm-text, #1e293b);
  text-decoration: none !important;
  white-space: nowrap;
  flex-shrink: 0;
  transition: all 0.18s ease;
}

.country-region-card:hover,
.country-region-card.is-active {
  background: #f0f9ff;
  border-color: #0284c7;
  color: #0284c7;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.12);
}

.country-region-card__icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: rgba(2, 132, 199, 0.12);
  color: #0284c7;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.country-region-card strong {
  display: block;
  font-size: 12.5px;
  font-weight: 700;
}

.country-region-card small {
  display: block;
  font-size: 10.5px;
  color: #64748b;
}

/* ==========================================================================
   4. COUNTRY EXPLORER TOOLBAR & SIDEBAR
   ========================================================================== */
.country-explore-shell {
  padding-top: 16px;
  padding-bottom: 48px;
}

.country-explore-toolbar {
  display: flex;
  gap: 10px;
  align-items: center;
  background: var(--kzm-surface, #ffffff);
  padding: 12px 16px;
  border: 1px solid var(--kzm-border, #e2e8f0);
  border-radius: 16px;
  margin-bottom: 18px;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
}

.country-toolbar-search {
  position: relative;
  min-width: 220px;
  max-width: 340px;
  flex: 1;
}

.country-toolbar-search i,
.country-sidebar-search i {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
}

.country-toolbar-search input,
.country-sidebar-search input {
  width: 100%;
  border: 1px solid var(--kzm-border, #dbe3ea);
  border-radius: 999px;
  padding: 7px 12px 7px 34px;
  background: var(--kzm-surface-soft, #f8fafc);
  color: inherit;
  font-size: 12.5px;
}

.country-active-filters {
  display: flex;
  gap: 7px;
  flex-wrap: wrap;
  margin-bottom: 16px;
}

.country-active-filters a {
  background: #e0f2fe;
  color: #0369a1;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none !important;
}

.country-active-filters .clear {
  background: transparent;
  color: #64748b;
}

.country-discovery-sidebar {
  position: sticky;
  top: 75px;
  background: var(--kzm-surface, #ffffff);
  border: 1px solid var(--kzm-border, #e2e8f0);
  border-radius: 18px;
  padding: 18px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.04);
}

.country-sidebar-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.country-sidebar-heading > i {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: #e0f2fe;
  color: #0284c7;
}

.country-sidebar-heading strong,
.country-sidebar-heading small {
  display: block;
}

.country-sidebar-heading small {
  color: #64748b;
}

.country-sidebar-search {
  position: relative;
  margin-bottom: 14px;
}

.country-filter-section {
  border-top: 1px solid var(--kzm-border, #e2e8f0);
  padding-top: 13px;
  margin-top: 13px;
}

.country-filter-section h3 {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #64748b;
  font-weight: 800;
}

.country-filter-section a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 7px 8px;
  border-radius: 7px;
  color: inherit;
  font-size: 13px;
}

.country-filter-section a.active,
.country-filter-section a:hover {
  background: #eff6ff;
  color: #2563eb;
}

.country-filter-section a span i {
  width: 20px;
}

.country-filter-section b {
  font-size: 11px;
  color: #94a3b8;
}

.country-filter-section label {
  font-size: 11px;
  color: #64748b;
  margin-top: 8px;
  width: 100%;
}

.country-filter-section .form-select {
  font-size: 12px;
  margin-top: 5px;
}

/* Country Discovery Cards */
.country-discovery-card {
  background: var(--kzm-surface, #ffffff);
  border: 1px solid var(--kzm-border, #e2e8f0);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 2px 10px rgba(15, 23, 42, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.country-discovery-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 30px rgba(15, 23, 42, 0.1);
  border-color: rgba(2, 132, 199, 0.35);
}

.country-card-media,
.country-card-cover {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
}

.country-card-media img,
.country-card-cover-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 0.35s ease;
  display: block;
}

.country-discovery-card:hover .country-card-media > img,
.country-discovery-card:hover .country-card-cover-image {
  transform: scale(1.04);
}

.country-card-fallback,
.country-card-cover-placeholder {
  width: 100%;
  height: 100%;
  display: grid;
  place-items: center;
  font-size: 3rem;
  color: #7dd3fc;
}

.country-featured {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.8);
  backdrop-filter: blur(8px);
  color: #fbbf24;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
}

.country-card-body {
  padding: 15px;
}

.country-card-title-row {
  display: flex;
  gap: 9px;
  align-items: center;
}

.country-card-title-row > img,
.country-card-title-row > .country-code {
  width: 38px;
  height: 28px;
  object-fit: cover;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.country-card-title-row h3 {
  font-size: 16px;
  font-weight: 750;
  margin: 0;
}

.country-card-title-row h3 a {
  color: inherit;
  text-decoration: none;
}

.country-card-title-row small {
  color: #64748b;
  display: block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 180px;
  font-size: 11px;
}

.country-card-region {
  font-size: 11px;
  color: #0284c7;
  font-weight: 700;
  margin: 8px 0 12px;
}

.country-card-facts {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.country-card-facts > div {
  display: flex;
  gap: 7px;
  align-items: center;
}

.country-card-facts i {
  color: #64748b;
  width: 15px;
}

.country-card-facts small,
.country-card-facts strong {
  display: block;
}

.country-card-facts small {
  font-size: 9px;
  text-transform: uppercase;
  color: #94a3b8;
}

.country-card-facts strong {
  font-size: 12px;
}

.country-card-facts em {
  font-size: 9px;
  color: #94a3b8;
  font-style: normal;
}

.country-view-link {
  display: flex;
  justify-content: space-between;
  margin-top: 14px;
  padding-top: 12px;
  border-top: 1px solid var(--kzm-border, #e2e8f0);
  font-size: 12px;
  font-weight: 700;
  color: #0284c7;
  text-decoration: none;
}

.country-empty-state {
  text-align: center;
  padding: 70px 20px;
  background: var(--kzm-surface, #ffffff);
  border: 1px dashed #cbd5e1;
  border-radius: 18px;
}

.country-empty-state > i {
  font-size: 3rem;
  color: #94a3b8;
}

.country-empty-state h2 {
  font-size: 1.25rem;
  margin-top: 14px;
}

/* ==========================================================================
   5. RESPONSIVE BREAKPOINTS (MOBILE HERO & OFFSETS)
   ========================================================================== */
@media (max-width: 991.98px) {
  .country-hero-v2__content {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 28px;
  }
  .country-hero-v2 {
    padding: 32px 24px 36px;
  }
  .country-hero-v2__badge {
    margin: 0 auto 14px;
  }
  .country-hero-v2__desc {
    margin: 0 auto 20px;
  }
  .country-hero-v2__search-form {
    margin: 0 auto;
  }
  .country-hero-v2__shortcuts {
    justify-content: center;
  }
  .country-hero-v2__stats {
    justify-content: center;
  }
  .country-discovery-sidebar {
    position: static;
  }
}

@media (max-width: 767.98px) {
  .country-hero-v2 {
    padding: 24px 16px 28px;
    border-radius: 18px;
    margin-bottom: 18px;
  }
  .country-hero-v2__title {
    font-size: 24px;
    margin-bottom: 8px;
  }
  .country-hero-v2__desc {
    font-size: 12.5px;
    margin-bottom: 16px;
  }
  .country-hero-v2__search-box {
    padding: 3px 3px 3px 12px;
  }
  .country-hero-v2__search-input {
    height: 35px;
    font-size: 12.5px;
  }
  .country-hero-v2__search-btn {
    height: 35px;
    padding: 0 14px;
    font-size: 12px;
  }
  .country-hero-v2__shortcuts {
    gap: 6px;
    font-size: 10.5px;
  }
  .country-hero-v2__stats {
    gap: 12px;
    padding-top: 14px;
    margin-top: 18px;
  }
  .country-hero-v2__stat-item strong {
    font-size: 13px;
  }
  .country-hero-v2__stat-item span {
    font-size: 9.5px;
  }
  .country-hero-v2__composition {
    max-width: 290px;
    height: 220px;
    margin-top: 6px;
  }
  .country-hero-card--primary {
    width: 250px;
    padding: 10px 12px !important;
  }
  .country-hero-card--secondary {
    display: none !important;
  }
}

@media (max-width: 375px) {
  .country-hero-v2__title {
    font-size: 21px;
  }
}

/* Fit the hero to the directory's main column while keeping both columns aligned. */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .country-explore-shell .sg-offcanvas-mainbar > .country-hero-v2 .country-hero-v2__content {
    display: block;
    text-align: center;
  }

  .country-explore-shell .sg-offcanvas-mainbar > .country-hero-v2 .country-hero-v2__badge,
  .country-explore-shell .sg-offcanvas-mainbar > .country-hero-v2 .country-hero-v2__desc,
  .country-explore-shell .sg-offcanvas-mainbar > .country-hero-v2 .country-hero-v2__search-form {
    margin-right: auto;
    margin-left: auto;
  }

  .country-explore-shell .sg-offcanvas-mainbar > .country-hero-v2 .country-hero-v2__shortcuts,
  .country-explore-shell .sg-offcanvas-mainbar > .country-hero-v2 .country-hero-v2__stats {
    justify-content: center;
  }

  .country-explore-shell .sg-offcanvas-mainbar > .country-hero-v2 .country-hero-v2__right {
    display: none !important;
  }
}

/* ==========================================================================
   6. DARK MODE SUPPORT
   ========================================================================== */
body.night-mode .country-region-section,
body.night-mode .country-explore-toolbar,
body.night-mode .country-discovery-sidebar,
body.night-mode .country-discovery-card,
body.night-mode .country-empty-state {
  background: var(--kzm-surface, #1e293b);
  border-color: var(--kzm-border, #334155) !important;
}

body.night-mode .country-region-card {
  background: var(--kzm-surface-soft, #0f172a);
  border-color: var(--kzm-border, #334155);
  color: var(--kzm-text, #f1f5f9);
}

body.night-mode .country-region-card:hover,
body.night-mode .country-region-card.is-active {
  background: rgba(2, 132, 199, 0.2);
  border-color: #0284c7;
  color: #38bdf8;
}

body.night-mode .country-card-title-row h3,
body.night-mode .country-card-facts strong {
  color: #f8fafc;
}
