/* Satellite landing — weather.com–inspired layout (not affiliated). */
:root {
  --sat-wc-blue: #0468b1;
  --sat-wc-blue-dark: #004a8f;
  --sat-wc-blue-hero: linear-gradient(180deg, #0570c7 0%, #004f94 100%);
  --sat-header-bg: #1b1b1b;
  --sat-page-bg: #eceef0;
  --sat-surface: #fff;
  --sat-ink: #1b1b1b;
  --sat-muted: #5c6670;
  --sat-link: #0468b1;
  --sat-link-hover: #004a8f;
  --sat-line: #d9dde1;
  --sat-radius: 8px;
  --sat-font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body {
  margin: 0;
  color: var(--sat-ink);
  background: var(--sat-page-bg);
  font: 15px/1.45 var(--sat-font);
  -webkit-font-smoothing: antialiased;
}

a {
  color: var(--sat-link);
  text-decoration: none;
}

a:hover {
  color: var(--sat-link-hover);
  text-decoration: underline;
}

.sat-wrap {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 16px;
}

/* —— Header (dark bar + blue hero) —— */
.sat-header {
  margin-bottom: 0;
}

.sat-header-bar {
  background: var(--sat-header-bg);
  color: #fff;
}

.sat-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  min-height: 52px;
}

.sat-brand {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -.01em;
}

.sat-brand a {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
}

.sat-brand a:hover {
  color: #fff;
  text-decoration: none;
  opacity: .92;
}

.sat-brand a::before {
  content: "";
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #ffd54f, #f9a825 40%, transparent 41%),
    linear-gradient(160deg, #4fc3f7, #0468b1);
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .25);
}

.sat-lang {
  display: flex;
  gap: 4px;
  align-items: center;
}

.sat-lang a {
  padding: 6px 12px;
  font-size: .8125rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .75);
  text-decoration: none;
  border-radius: 4px;
}

.sat-lang a:hover {
  color: #fff;
  background: rgba(255, 255, 255, .1);
  text-decoration: none;
}

.sat-lang-active {
  color: #fff !important;
  background: rgba(255, 255, 255, .18) !important;
}

.sat-hero-band {
  padding: 32px 0 40px;
  color: #fff;
  background: var(--sat-wc-blue-hero);
}

.sat-hero-eyebrow {
  margin: 0 0 8px;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  opacity: .85;
}

.sat-title {
  margin: 0 0 12px;
  max-width: 20ch;
  font-size: clamp(1.75rem, 4.5vw, 2.5rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: -.02em;
}

.sat-lead {
  margin: 0;
  max-width: 42rem;
  font-size: 1rem;
  line-height: 1.5;
  opacity: .92;
}

/* —— Main content —— */
.sat-main {
  padding: 24px 0 40px;
}

.sat-panel {
  background: var(--sat-surface);
  border: 1px solid var(--sat-line);
  border-radius: var(--sat-radius);
  padding: 24px 20px 28px;
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.sat-section-head {
  margin-bottom: 20px;
  padding-bottom: 16px;
  border-bottom: 1px solid var(--sat-line);
}

.sat-h2 {
  margin: 0 0 6px;
  font-size: 1.375rem;
  font-weight: 700;
  color: var(--sat-ink);
}

.sat-note {
  margin: 0;
  font-size: .9375rem;
  color: var(--sat-muted);
}

.sat-grid {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 16px;
}

.sat-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 12px;
  margin: 0;
}

.sat-widget {
  display: flex;
  justify-content: center;
  flex: 1;
}

/* Flatten embed widget to match card */
.sat-widget .hinf {
  width: 100%;
  max-width: 240px;
  margin: 0;
  opacity: 1;
  border: none;
  border-radius: 6px;
  background: var(--sat-surface) !important;
  box-shadow: none;
  font-family: var(--sat-font) !important;
}

.sat-widget .hinf-hd,
.sat-widget .hinf-ft {
  display: none;
}

.sat-widget .hinf-city {
  padding-top: 8px;
}

.sat-widget .hinf-loc {
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--sat-ink);
}

.sat-widget .hinf-temp {
  font-size: 2rem !important;
  font-weight: 300 !important;
  color: var(--sat-ink) !important;
}

.sat-widget .hinf-cond {
  color: var(--sat-muted) !important;
  font-size: .8125rem !important;
}

.sat-widget .hinf-dets {
  border-top: 1px solid var(--sat-line);
  margin-top: 8px;
  padding-top: 8px;
}

.sat-widget .hinf-det {
  font-size: .75rem !important;
}

.sat-cta {
  display: block;
  width: 100%;
  padding: 10px 12px;
  border-radius: 4px;
  background: var(--sat-wc-blue);
  color: #fff !important;
  font-size: .875rem;
  font-weight: 700;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: .04em;
}

.sat-cta:hover {
  background: var(--sat-wc-blue-dark);
  color: #fff !important;
  text-decoration: none;
}

/* —— About —— */
.sat-about {
  margin-top: 20px;
}

.sat-about-card {
  padding: 24px 20px;
  background: var(--sat-surface);
  border: 1px solid var(--sat-line);
  border-radius: var(--sat-radius);
  box-shadow: 0 1px 2px rgba(0, 0, 0, .06);
}

.sat-about-card .sat-h2 {
  font-size: 1.125rem;
}

.sat-about-card p {
  margin: 0 0 12px;
  color: var(--sat-muted);
  font-size: .9375rem;
}

.sat-about-link {
  display: inline-block;
  font-weight: 700;
  font-size: .9375rem;
}

/* —— Footer —— */
.sat-foot {
  padding: 24px 0 32px;
  background: var(--sat-header-bg);
  color: rgba(255, 255, 255, .65);
}

.sat-foot a {
  color: rgba(255, 255, 255, .9);
}

.sat-foot a:hover {
  color: #fff;
}

.sat-foot p {
  margin: 0;
  font-size: .8125rem;
  text-align: center;
}

@media (max-width: 600px) {
  .sat-hero-band {
    padding: 24px 0 28px;
  }

  .sat-title {
    max-width: none;
  }

  .sat-grid {
    grid-template-columns: 1fr;
  }

  .sat-panel {
    padding: 18px 14px 22px;
  }
}

/* Per-satellite accent (subtle hero shift) */
[data-satellite="bugunhavo-uz"] .sat-hero-band {
  background: linear-gradient(180deg, #0a7c6e 0%, #065f55 100%);
}

[data-satellite="bugunhavo-uz"] .sat-cta {
  background: #0a7c6e;
}

[data-satellite="bugunhavo-uz"] .sat-cta:hover {
  background: #065f55;
}
