body.country-weather-v2 {
  --country-line: rgba(220, 237, 248, .13);
  --country-text: #f4f7f9;
  --country-muted: #9daab3;
  background: #030506 !important;
  background-image: none !important;
}

body.country-weather-v2 .country-weather-main {
  position: relative;
  z-index: 1;
  width: min(calc(100% - 48px), 1320px);
  margin: 0 auto;
  padding: 54px 0 80px;
}

body.country-weather-v2 .country-weather-hero { padding: 0; }

body.country-weather-v2 .country-weather-hero .crumbs {
  margin: 0 0 28px;
  color: var(--country-muted) !important;
  font-size: 14px;
  line-height: 1.45;
}

body.country-weather-v2 .country-weather-hero .crumbs a {
  color: #b9d7ff !important;
  text-decoration: none;
}

body.country-weather-v2 .country-weather-hero h1 {
  max-width: 900px;
  margin: 0;
  color: var(--country-text);
  font-size: clamp(42px, 5vw, 58px);
  font-weight: 600;
  line-height: 1.02;
  letter-spacing: -.045em;
}

body.country-weather-v2 .country-weather-hero .lead {
  max-width: 820px;
  margin: 16px 0 0 !important;
  color: var(--country-muted) !important;
  font-size: 20px;
  line-height: 1.5;
}

/* Country navigation is deliberately a plain content section, not a card. */
body.country-weather-v2 .country-weather-index {
  margin: 56px 0 0;
  padding: 0;
}

body.country-weather-v2 .country-weather-index__head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 18px;
}

body.country-weather-v2 .country-weather-index__head h2 {
  margin: 0;
  color: var(--country-text);
  font-size: 26px;
  font-weight: 600;
  line-height: 1.15;
  letter-spacing: -.025em;
}

body.country-weather-v2 .country-weather-index .city-grid,
body.country-weather-v2 .country-weather-index .cities {
  display: grid !important;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 10px 28px !important;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  list-style: none;
}

body.country-weather-v2 .country-weather-index .city-grid li,
body.country-weather-v2 .country-weather-index .cities li {
  min-width: 0;
  margin: 0 !important;
  padding: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
}

body.country-weather-v2 .country-weather-index .city-grid li:hover,
body.country-weather-v2 .country-weather-index .cities li:hover {
  background: transparent !important;
}

body.country-weather-v2 .country-weather-index .city-grid a,
body.country-weather-v2 .country-weather-index .cities a {
  display: flex !important;
  align-items: center;
  min-height: 38px;
  padding: 6px 2px !important;
  color: #c2cdd2 !important;
  font-size: 15px !important;
  font-weight: 500 !important;
  line-height: 1.4;
  text-decoration: none !important;
  transition: color 160ms ease, transform 160ms ease;
}

body.country-weather-v2 .country-weather-index .city-grid a:hover,
body.country-weather-v2 .country-weather-index .cities a:hover,
body.country-weather-v2 .country-weather-index .city-grid a:focus-visible,
body.country-weather-v2 .country-weather-index .cities a:focus-visible {
  color: #fff !important;
  text-decoration: none !important;
  transform: translateX(3px);
}

body.country-weather-v2 .country-weather-index .city-grid a:focus-visible,
body.country-weather-v2 .country-weather-index .cities a:focus-visible {
  outline: 1px solid rgba(143, 199, 234, .72);
  outline-offset: 4px;
  border-radius: 2px;
}

/* Keep the SEO copy readable without turning it into a second visual panel. */
body.country-weather-v2 .country-weather-guide {
  display: grid;
  grid-template-columns: minmax(240px, .72fr) minmax(0, 1.28fr);
  gap: 32px 72px;
  margin: 64px 0 0 !important;
  padding: 48px 0 0 !important;
  border: 0 !important;
  border-top: 1px solid var(--country-line) !important;
  border-radius: 0 !important;
  background: transparent !important;
  color: #aebbc2 !important;
  font-size: 16px !important;
  line-height: 1.65 !important;
}

body.country-weather-v2 .country-weather-guide h2 {
  grid-row: 1 / span 2;
  margin: 0 !important;
  color: #fff !important;
  font-size: clamp(30px, 3vw, 42px) !important;
  font-weight: 500;
  line-height: 1.08;
  letter-spacing: -.025em;
}

body.country-weather-v2 .country-weather-guide p {
  margin: 0 !important;
  color: #aebbc2 !important;
  text-wrap: pretty;
}

body.country-weather-v2 .country-weather-backlink {
  margin: 28px 0 0 !important;
  color: #7f8d95 !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
}

body.country-weather-v2 .country-weather-backlink a {
  color: #b9d7ff !important;
  text-decoration: none;
}

@media (max-width: 980px) {
  body.country-weather-v2 .country-weather-index .city-grid,
  body.country-weather-v2 .country-weather-index .cities {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }

  body.country-weather-v2 .country-weather-guide {
    grid-template-columns: minmax(210px, .7fr) minmax(0, 1.3fr);
    gap: 28px 44px;
  }
}

@media (max-width: 720px) {
  body.country-weather-v2 .country-weather-main {
    width: min(calc(100% - 28px), 1320px);
    padding: 38px 0 58px;
  }

  body.country-weather-v2 .country-weather-hero .crumbs {
    margin-bottom: 24px;
    font-size: 13px;
  }

  body.country-weather-v2 .country-weather-hero h1 { font-size: clamp(38px, 12vw, 52px); }

  body.country-weather-v2 .country-weather-hero .lead {
    margin-top: 14px !important;
    font-size: 17px;
  }

  body.country-weather-v2 .country-weather-index { margin-top: 40px; }

  body.country-weather-v2 .country-weather-index__head {
    align-items: flex-start;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
  }

  body.country-weather-v2 .country-weather-index__head h2 { font-size: 24px; }

  body.country-weather-v2 .country-weather-index .city-grid,
  body.country-weather-v2 .country-weather-index .cities {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 20px !important;
  }

  body.country-weather-v2 .country-weather-index .city-grid a,
  body.country-weather-v2 .country-weather-index .cities a {
    min-height: 50px;
    font-size: 14px !important;
  }

  body.country-weather-v2 .country-weather-guide {
    display: block;
    margin-top: 48px !important;
    padding-top: 36px !important;
  }

  body.country-weather-v2 .country-weather-guide h2 {
    margin-bottom: 24px !important;
    font-size: 32px !important;
  }

  body.country-weather-v2 .country-weather-guide p + p { margin-top: 20px !important; }
}

@media (max-width: 420px) {
  body.country-weather-v2 .country-weather-index .city-grid,
  body.country-weather-v2 .country-weather-index .cities {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  body.country-weather-v2 .country-weather-index a { transition: none !important; }
}
