/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800;900&display=swap');

:root {
  --bg: #ffffff;
  --bg-secondary: #f8f9fa;
  --surface: rgba(255, 255, 255, 0.96);
  --surface-solid: #ffffff;
  --surface-dark: rgba(15, 23, 42, 0.92);
  --text: #1f2937;
  --text-soft: #6b7280;
  --heading: #111827;
  --primary: #0369a1;
  --primary-strong: #075985;
  --accent: #0ea5e9;
  --accent-warm: #f59e0b;
  --success: #10b981;
  --danger: #ef4444;
  --border: rgba(226, 232, 240, 1);
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.07);
  --shadow-lg: 0 16px 48px rgba(0, 0, 0, 0.13);
  --shadow-card: 0 2px 12px rgba(3, 105, 161, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: min(1280px, calc(100vw - 40px));
  --font-base: 18px;
  --line: 1.6;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
  font-size: var(--font-base);
  line-height: var(--line);
  color: var(--text);
  background: linear-gradient(135deg, #ffffff 0%, #f0f9ff 100%);
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
}

body.large-text {
  --font-base: 20px;
}

body.high-contrast {
  --bg: #08121f;
  --bg-secondary: #102134;
  --surface: rgba(10, 20, 34, 0.94);
  --surface-solid: #12243b;
  --text: #f2f6ff;
  --text-soft: #c7d6ef;
  --heading: #ffffff;
  --border: rgba(255, 255, 255, 0.16);
  --shadow: 0 18px 44px rgba(0, 0, 0, 0.5);
}

body.high-contrast .button.tertiary,
body.high-contrast .text-link,
body.high-contrast .site-nav a,
body.high-contrast .hero-highlights li,
body.high-contrast .refresh-note {
  color: #ffffff;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

input {
  color: var(--heading);
}

main,
header,
footer {
  position: relative;
  z-index: 1;
}

.container {
  width: var(--container);
  margin: 0 auto;
}

.section {
  padding: 28px 0 14px;
}

.section-soft {
  padding: 34px 0;
}

.weather-bg {
  position: fixed;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.weather-bg span {
  position: absolute;
  border-radius: 999px;
  filter: blur(10px);
  opacity: 0.45;
}

.weather-bg span:nth-child(1) {
  width: 22rem;
  height: 22rem;
  left: -4rem;
  top: 4rem;
  background: rgba(255, 255, 255, 0.42);
  animation: drift 20s ease-in-out infinite alternate;
}

.weather-bg span:nth-child(2) {
  width: 12rem;
  height: 12rem;
  right: 10%;
  top: 18%;
  background: rgba(103, 212, 255, 0.36);
  animation: drift 18s ease-in-out infinite alternate-reverse;
}

.weather-bg span:nth-child(3) {
  width: 32rem;
  height: 32rem;
  right: -9rem;
  bottom: -10rem;
  background: rgba(255, 180, 77, 0.18);
  animation: drift 26s ease-in-out infinite alternate;
}

body.theme-sunny {
  background: linear-gradient(135deg, #fffbf0 0%, #fff8f1 100%);
}

body.theme-cloudy {
  background: linear-gradient(135deg, #f0f4f8 0%, #e7f0f8 100%);
}

body.theme-rain {
  background: linear-gradient(135deg, #e3e8ef 0%, #dce5f0 100%);
}

body.theme-snow {
  background: linear-gradient(135deg, #f8fbff 0%, #eef5ff 100%);
}

body.theme-storm {
  background: linear-gradient(135deg, #1f2937 0%, #111827 100%);
  color: #f3f4f6;
}

body.theme-storm .site-nav a,
body.theme-storm .hero-text,
body.theme-storm p,
body.theme-storm .refresh-note,
body.theme-storm .radar-caption,
body.theme-storm .hero-highlights li,
body.theme-storm .text-link {
  color: #d7e7ff;
}

body.theme-rain .weather-bg::after,
body.theme-snow .weather-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.5;
}

body.theme-rain .weather-bg::after {
  background-image: linear-gradient(transparent, transparent), linear-gradient(rgba(255,255,255,0.55), rgba(255,255,255,0.04));
  background-size: 100% 100%, 2px 28px;
  animation: rain 0.75s linear infinite;
}

body.theme-snow .weather-bg::after {
  background-image: radial-gradient(circle, rgba(255,255,255,0.95) 0 28%, transparent 32%);
  background-size: 22px 22px;
  animation: snow 14s linear infinite;
}

.site-header {
  padding: 14px 0;
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 2px 16px rgba(3, 105, 161, 0.07);
  z-index: 100;
  transition: box-shadow 0.3s;
}
.site-header.scrolled {
  box-shadow: 0 4px 24px rgba(3, 105, 161, 0.13);
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 0;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
}

.brand strong {
  display: block;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--heading);
  letter-spacing: -0.02em;
}

.brand span {
  display: none;
}

.site-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.site-nav a,
.accessibility-tools button,
.menu-toggle,
.city-chip,
.category-pill {
  border: none;
  background: transparent;
  color: var(--text-soft);
  padding: 10px 14px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.92rem;
  transition: all 0.2s ease;
  position: relative;
}

.site-nav a.active,
.site-nav a:hover,
.accessibility-tools button:hover,
.menu-toggle:hover,
.city-chip:hover,
.category-pill.active,
.category-pill:hover {
  background: rgba(3, 105, 161, 0.08);
  color: var(--primary);
}

.site-nav a.active::after {
  content: '';
  position: absolute;
  bottom: 2px;
  left: 14px;
  right: 14px;
  height: 2.5px;
  background: var(--primary);
  border-radius: 2px;
}

.accessibility-tools {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.menu-toggle {
  display: none;
}

.hero {
  padding: 48px 0 36px;
}

.hero-home {
  padding: 120px 0 80px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  position: relative;
  overflow: hidden;
}

.hero-home::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.1"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.hero-home .container {
  position: relative;
  z-index: 2;
  text-align: center;
}

.hero-content {
  max-width: 900px;
  margin: 0 auto;
}

.hero-home h1 {
  font-size: clamp(3.2rem, 6vw, 5rem);
  margin-bottom: 16px;
  font-weight: 800;
  letter-spacing: -0.04em;
  line-height: 1.1;
  color: #ffffff;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.hero-subtitle {
  font-size: clamp(1.1rem, 2.5vw, 1.4rem);
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 32px;
  font-weight: 400;
  letter-spacing: -0.01em;
}

.hero-actions-primary {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 40px;
}

.button-large {
  padding: 16px 28px;
  font-size: 1.05rem;
  min-height: auto;
}

.button-light {
  background: rgba(255, 255, 255, 0.2);
  border: 2px solid rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(10px);
  color: #ffffff;
}

.button-light:hover {
  background: rgba(255, 255, 255, 0.3);
  border-color: rgba(255, 255, 255, 0.6);
}

.button-secondary {
  background: rgba(255, 255, 255, 0.15);
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
}

.button-secondary:hover {
  background: rgba(255, 255, 255, 0.25);
}

.scroll-hint {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.9rem;
  letter-spacing: 0.15em;
  font-weight: 600;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(300px, 0.8fr);
  gap: 32px;
  align-items: stretch;
}

.weather-hero-grid {
  grid-template-columns: 1fr;
}

.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow);
  backdrop-filter: blur(8px);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(59, 130, 246, 0.2);
}

.glass-card {
  background: rgba(255,255,255,0.98);
}

.section-card,
.info-card,
.article-card,
.blog-teaser,
.news-card,
.alert-item,
.stat-card,
.forecast-card,
.hourly-card {
  padding: 24px;
}

.hero-copy {
  padding: 34px;
}

.eyebrow {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.78rem;
  font-weight: 800;
  color: var(--primary-strong);
  margin: 0 0 10px;
}

h1,
h2,
h3 {
  color: var(--heading);
  line-height: 1.15;
  margin-top: 0;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -0.03em;
}

h2 {
  font-size: clamp(1.4rem, 2.5vw, 2.2rem);
  margin-bottom: 10px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
  font-weight: 700;
}

p {
  margin-top: 0;
  color: var(--text-soft);
}

.hero-text {
  max-width: 62ch;
  margin-bottom: 22px;
}

.search-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  margin-bottom: 20px;
}

.search-bar input {
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 14px 18px;
  background: rgba(255, 255, 255, 0.95);
  min-height: 56px;
  font-size: 1rem;
  transition: all 0.2s ease;
}

.search-bar input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.search-bar button,
.button {
  border: 0;
  border-radius: 12px;
  padding: 14px 20px;
  min-height: 56px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
  transition: all 0.2s ease;
}

.search-bar button:hover,
.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(59, 130, 246, 0.28);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.button.secondary {
  background: linear-gradient(135deg, var(--success), #34d399);
  box-shadow: 0 8px 20px rgba(16, 185, 129, 0.2);
}

.button.tertiary {
  background: rgba(248, 249, 250, 0.96);
  color: var(--heading);
  border: 1px solid var(--border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.hero-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 0;
  list-style: none;
  margin: 0;
}

.hero-highlights li {
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.98), rgba(240, 249, 255, 0.96));
  border: 1px solid var(--border);
  color: var(--heading);
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
}

.hero-highlights li:hover {
  border-color: var(--primary);
  background: rgba(59, 130, 246, 0.05);
}

.stack-lg {
  display: grid;
  gap: 20px;
}

.card-header,
.section-heading {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.current-hero-card {
  padding: 32px;
}

.temperature-badge {
  min-width: 100px;
  padding: 16px 24px;
  border-radius: 16px;
  text-align: center;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.1), rgba(14, 165, 233, 0.1));
  color: var(--primary);
  font-size: 2rem;
  font-weight: 800;
}

.weather-main {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
}

.weather-icon {
  font-size: 3.4rem;
  line-height: 1;
}

.weather-location {
  font-weight: 800;
  color: var(--heading);
}

.weather-description {
  margin-bottom: 8px;
}

.detail-row,
.weather-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.detail-pill {
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.66);
  border: 1px solid var(--border);
  color: var(--heading);
  font-weight: 700;
}

.two-column-layout,
.three-up,
.blog-teasers,
.article-stack,
.stats-grid,
.forecast-grid,
.news-grid,
.hourly-grid {
  display: grid;
  gap: 20px;
}

.two-column-layout {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.three-up,
.blog-teasers {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-stack {
  grid-template-columns: 1fr;
}

.stats-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}

.forecast-grid,
.news-grid {
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.hourly-grid {
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
}

.hourly-card,
.forecast-card,
.stat-card,
.alert-item,
.news-card {
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.75);
  border-radius: var(--radius-md);
}

.hourly-time,
.forecast-day,
.stat-label,
.article-tag,
.news-source,
.news-date,
.refresh-note {
  color: var(--text-soft);
  font-weight: 700;
}

.hourly-temp,
.forecast-temp,
.stat-value {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--heading);
}

.alert-list {
  display: grid;
  gap: 12px;
}

.alert-item {
  display: grid !important;
  grid-template-columns: auto 1fr;
  gap: 14px;
  align-items: start;
  padding: 16px 18px;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.96), rgba(240, 249, 255, 0.96));
  border-radius: var(--radius-md);
  border: 1px solid var(--border);
}

.alert-icon {
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12), rgba(14, 165, 233, 0.12));
  font-size: 1.25rem;
  flex-shrink: 0;
}

.radar-card {
  padding: 24px;
}

.radar-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background:
    radial-gradient(circle at center, rgba(103, 212, 255, 0.2), rgba(5, 22, 51, 0.9) 65%),
    linear-gradient(135deg, rgba(18, 44, 92, 0.8), rgba(39, 121, 255, 0.22));
  overflow: hidden;
  border: 1px solid rgba(148, 218, 255, 0.2);
}

.radar-ring,
.radar-scan,
.radar-dot {
  position: absolute;
  inset: 50%;
  transform: translate(-50%, -50%);
}

.radar-ring {
  border-radius: 50%;
  border: 1px solid rgba(132, 232, 255, 0.28);
}

.radar-ring:nth-child(1) { width: 34%; height: 34%; }
.radar-ring:nth-child(2) { width: 58%; height: 58%; }
.radar-ring:nth-child(3) { width: 82%; height: 82%; }

.radar-scan {
  width: 160%;
  height: 160%;
  background: conic-gradient(from 45deg, rgba(134, 234, 255, 0.36), transparent 18%, transparent 100%);
  border-radius: 50%;
  animation: scan 5.5s linear infinite;
}

.radar-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #aaf4ff;
  box-shadow: 0 0 16px rgba(170, 244, 255, 0.85);
}

.radar-dot-a { left: 33%; top: 42%; }
.radar-dot-b { left: 61%; top: 57%; background: #ffde8b; }
.radar-dot-c { left: 55%; top: 31%; background: #67ffbf; }

.radar-caption {
  margin-top: 16px;
}

.text-link {
  font-weight: 800;
  color: var(--primary-strong);
}

.popular-searches,
.category-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  align-items: center;
}

.city-chip,
.category-pill {
  font-size: 0.95rem;
}

.news-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.news-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: linear-gradient(135deg, #c9dcff, #eaf3ff);
}

.news-card-content {
  padding: 22px;
  display: grid;
  gap: 10px;
  height: 100%;
}

.news-card p {
  margin-bottom: 0;
}

.news-source-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 10px;
}

.article-tag {
  display: inline-flex;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(41, 121, 255, 0.1);
  color: var(--primary-strong);
  margin-bottom: 12px;
}

.footer-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.site-footer {
  padding: 32px 0;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.5), rgba(240, 249, 255, 0.5));
  border-top: 1px solid var(--border);
}

.footer-note {
  text-align: center;
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-soft);
}

.weather-summary-skeleton,
.empty-state {
  padding: 24px;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.58);
  border: 1px dashed var(--border);
  color: var(--text-soft);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

@keyframes drift {
  from { transform: translate3d(0, 0, 0) scale(1); }
  to { transform: translate3d(22px, -16px, 0) scale(1.08); }
}

@keyframes scan {
  from { transform: translate(-50%, -50%) rotate(0deg); }
  to { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes rain {
  from { transform: translateY(-18px); }
  to { transform: translateY(18px); }
}

@keyframes snow {
  from { transform: translateY(-18px); }
  to { transform: translateY(18px); }
}

@media (max-width: 1024px) {
  .hero-grid,
  .two-column-layout,
  .three-up,
  .blog-teasers,
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .topbar {
    flex-wrap: wrap;
    gap: 12px;
  }

  .brand img {
    width: 48px;
    height: 48px;
  }

  .brand strong {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: inline-flex;
  }

  .site-nav {
    display: none;
    width: 100%;
    flex-direction: column;
    order: 3;
  }

  .site-nav.open {
    display: flex;
  }

  .accessibility-tools {
    gap: 6px;
    order: 2;
  }

  .accessibility-tools button {
    padding: 8px 12px;
    font-size: 0.85rem;
  }

  .hero-grid,
  .weather-hero-grid,
  .two-column-layout,
  .three-up,
  .blog-teasers,
  .stats-grid,
  .forecast-grid,
  .news-grid,
  .hourly-grid,
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .search-bar {
    grid-template-columns: 1fr;
  }

  .search-bar input,
  .search-bar button {
    min-height: 52px;
    font-size: 0.95rem;
  }

  .hero-copy,
  .current-hero-card,
  .section-card,
  .article-card,
  .info-card {
    padding: 20px;
  }

  .card-header,
  .section-heading {
    flex-direction: column;
    gap: 12px;
  }

  h1 {
    font-size: clamp(1.8rem, 4vw, 2.4rem);
  }

  h2 {
    font-size: 1.3rem;
  }

  .hero-highlights {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

/* ======================== NEW LANDING PAGE SECTIONS ======================== */

.section {
  padding: 32px 0;
}

.section-soft {
  padding: 40px 0;
}

.section-features {
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
  padding: 60px 0;
}

.section-title {
  text-align: center;
  font-size: clamp(2.2rem, 4vw, 3.2rem);
  font-weight: 800;
  margin-bottom: 8px;
  color: var(--heading);
}

.section-subtitle {
  text-align: center;
  font-size: 1.3rem;
  color: var(--text-soft);
  margin-bottom: 40px;
  font-weight: 400;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.feature-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px 24px;
  text-align: center;
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.feature-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(102, 126, 234, 0.3);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
}

.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 12px;
  color: var(--heading);
}

.feature-card p {
  font-size: 0.95rem;
  color: var(--text-soft);
  margin: 0;
}

.section-search {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 60px 0;
  color: #ffffff;
  position: relative;
}

.section-search::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.08"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
}

.search-panel {
  position: relative;
  z-index: 2;
  text-align: center;
  max-width: 700px;
  margin: 0 auto;
}

.search-panel h2 {
  color: #ffffff;
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.search-panel > p {
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 28px;
  font-size: 1.1rem;
}

.search-bar-large {
  margin-bottom: 32px;
}

.search-input-group {
  display: flex;
  gap: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.search-input-group input {
  flex: 1;
  border: none;
  padding: 18px 24px;
  font-size: 1.05rem;
  background: rgba(255, 255, 255, 0.95);
  color: var(--heading);
  outline: none;
}

.search-input-group button {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border: none;
  padding: 0 24px;
  color: #ffffff;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.search-input-group button:hover {
  background: linear-gradient(135deg, #5568d3 0%, #693994 100%);
}

.popular-cities-section {
  text-align: center;
}

.popular-label {
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  margin-bottom: 12px;
}

.popular-cities {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
}

.city-chip {
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 10px 16px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.city-chip:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.search-result-container {
  margin-top: 24px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 24px;
}

.section-how-it-works {
  background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
  padding: 60px 0;
}

.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 28px;
}

.step-card {
  position: relative;
  padding: 40px 24px 24px;
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  text-align: center;
  transition: all 0.3s ease;
}

.step-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  position: absolute;
  top: -16px;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: #ffffff;
  font-size: 1.8rem;
  font-weight: 800;
  border-radius: 50%;
  box-shadow: 0 4px 16px rgba(102, 126, 234, 0.3);
}

.step-card h3 {
  margin-top: 16px;
  margin-bottom: 12px;
  color: var(--heading);
}

.step-card p {
  margin: 0;
  font-size: 0.95rem;
  color: var(--text-soft);
}

.section-news {
  padding: 60px 0;
  background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.news-grid-home {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
}

.section-cta {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  padding: 80px 0;
  color: #ffffff;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.section-cta::before {
  content: '';
  position: absolute;
  inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><defs><pattern id="grid" width="40" height="40" patternUnits="userSpaceOnUse"><path d="M 40 0 L 0 0 0 40" fill="none" stroke="%23ffffff" stroke-width="0.5" opacity="0.08"/></pattern></defs><rect width="1200" height="600" fill="url(%23grid)"/></svg>');
  opacity: 0.3;
}

.cta-content {
  position: relative;
  z-index: 2;
  max-width: 600px;
  margin: 0 auto;
}

.cta-content h2 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  color: #ffffff;
  font-weight: 800;
}

.cta-content p {
  font-size: 1.3rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 24px;
  font-weight: 400;
}

@media (max-width: 768px) {
  .features-grid {
    grid-template-columns: 1fr;
  }

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

  .search-input-group {
    flex-direction: column;
  }

  .search-input-group button {
    padding: 16px 24px;
  }

  .popular-cities {
    justify-content: center;
  }

  .cta-content h2 {
    font-size: 2rem;
  }

  .cta-content p {
    font-size: 1.1rem;
  }

  .section-cta {
    padding: 60px 0;
  }

  .section-news,
  .section-features,
  .section-how-it-works {
    padding: 40px 0;
  }
}

/* ── iPad / Tablet  769 – 1024 px ── */
@media (min-width: 769px) and (max-width: 1024px) {
  .features-grid  { grid-template-columns: repeat(2, 1fr); }
  .steps-grid     { grid-template-columns: repeat(2, 1fr); }
  .news-grid      { grid-template-columns: repeat(2, 1fr); }
  .footer-grid    { grid-template-columns: repeat(2, 1fr); }
  .hero-grid,
  .three-up,
  .blog-teasers   { grid-template-columns: repeat(2, 1fr); }
  .section        { padding: 28px 0; }
  .section-features,
  .section-search,
  .section-how-it-works,
  .section-news,
  .section-cta    { padding: 48px 0; }
}

/* ── Small phones  ≤ 480 px ── */
@media (max-width: 480px) {
  :root { --container: calc(100vw - 24px); }

  .topbar         { padding: 10px 0; gap: 8px; }
  .brand strong   { font-size: 1rem; }
  .brand img      { width: 38px; height: 38px; }
  .menu-toggle    { padding: 8px 10px; font-size: 0.82rem; }

  .search-bar     { grid-template-columns: 1fr; }
  .search-input-group { flex-direction: column; }
  .search-input-group input  { border-radius: var(--radius-sm) var(--radius-sm) 0 0; }
  .search-input-group button { border-radius: 0 0 var(--radius-sm) var(--radius-sm); min-height: 48px; }

  .section-title  { font-size: clamp(1.5rem, 5.5vw, 2.2rem); }
  .section-subtitle { font-size: 1rem; }
  .section-cta    { padding: 48px 0; }
  .cta-content h2 { font-size: 1.9rem; }

  .feature-card,
  .step-card,
  .article-card   { padding: 18px 14px; }
  .feature-icon   { font-size: 2.4rem; }

  .popular-cities { gap: 6px; }
  .city-chip      { padding: 5px 11px; font-size: 0.82rem; }

  .site-footer    { padding: 32px 0 16px; }
  .footer-grid    { gap: 20px; }
}

/* ═══════════════════════════════════════
   NEW ENHANCED UI COMPONENTS — April 2026
═══════════════════════════════════════ */

/* ── Announce bar (top of page) ── */
.announce-bar {
  background: linear-gradient(90deg, #075985 0%, #0369a1 50%, #0284c7 100%);
  color: #fff;
  text-align: center;
  padding: 9px 20px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  overflow: hidden;
}
.announce-bar a { color: #bae6fd; text-decoration: underline; }
.announce-bar::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.05) 50%, transparent 100%);
  animation: shimmerSlide 3s ease-in-out infinite;
}
@keyframes shimmerSlide {
  0%   { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

/* ── Trust / stats bar ── */
.trust-bar {
  background: #fff;
  border-bottom: 1px solid #e0f2fe;
  padding: 16px 0;
}
.trust-bar-inner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 40px;
  flex-wrap: wrap;
}
.trust-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.88rem;
  font-weight: 600;
  color: #374151;
  white-space: nowrap;
}
.trust-item .t-num {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--primary);
}
.trust-divider {
  width: 1px;
  height: 20px;
  background: #e2e8f0;
}
@media (max-width: 600px) {
  .trust-bar-inner { gap: 16px; }
  .trust-divider { display: none; }
}

/* ── Sitelinks quick nav ── */
.sitelinks-section {
  background: linear-gradient(180deg, #f0f9ff 0%, #fff 100%);
  padding: 48px 0;
}
.sitelinks-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
@media (max-width: 900px) { .sitelinks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 500px)  { .sitelinks-grid { grid-template-columns: 1fr; } }

.sitelink-card {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  padding: 24px 22px;
  background: #fff;
  border: 1.5px solid #e0f2fe;
  border-radius: 18px;
  text-decoration: none;
  color: inherit;
  transition: all 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 2px 12px rgba(3, 105, 161, 0.06);
  position: relative;
  overflow: hidden;
}
.sitelink-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.25s ease;
}
.sitelink-card:hover {
  border-color: var(--accent);
  box-shadow: 0 8px 28px rgba(3, 105, 161, 0.14);
  transform: translateY(-3px);
}
.sitelink-card:hover::before { transform: scaleX(1); }
.sitelink-icon {
  width: 48px;
  height: 48px;
  border-radius: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.sitelink-icon.blue  { background: linear-gradient(135deg, #dbeafe, #bfdbfe); }
.sitelink-icon.sky   { background: linear-gradient(135deg, #e0f2fe, #bae6fd); }
.sitelink-icon.amber { background: linear-gradient(135deg, #fef3c7, #fde68a); }
.sitelink-icon.green { background: linear-gradient(135deg, #d1fae5, #a7f3d0); }
.sitelink-card h3 { font-size: 1rem; font-weight: 700; color: #0f172a; margin: 0; }
.sitelink-card p  { font-size: 0.83rem; color: #64748b; margin: 0; line-height: 1.55; }
.sitelink-card .sitelink-arrow { margin-top: auto; font-size: 0.82rem; font-weight: 700; color: var(--primary); opacity: 0; transform: translateX(-6px); transition: all 0.2s; }
.sitelink-card:hover .sitelink-arrow { opacity: 1; transform: translateX(0); }

/* ── Page hero banner (used on weather/news/blog) ── */
.page-hero-banner {
  background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0ea5e9 100%);
  padding: 40px 0 36px;
  position: relative;
  overflow: hidden;
}
.page-hero-banner::after {
  content: '';
  position: absolute;
  inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='80' height='80' viewBox='0 0 80 80' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Ccircle cx='40' cy='40' r='36'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.page-hero-banner .container { position: relative; z-index: 1; }
.page-hero-banner .breadcrumb {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.7);
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  gap: 6px;
}
.page-hero-banner .breadcrumb a { color: rgba(255,255,255,0.8); text-decoration: none; }
.page-hero-banner .breadcrumb a:hover { color: #fff; }
.page-hero-banner h1 { color: #fff; font-size: clamp(1.7rem,3vw,2.5rem); font-weight: 800; margin: 0 0 8px; }
.page-hero-banner p { color: rgba(255,255,255,0.88); font-size: 1rem; margin: 0; max-width: 600px; }

/* ── Cookie consent ── */
#cookie-consent {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: rgba(15, 23, 42, 0.97);
  backdrop-filter: blur(12px);
  color: #e2e8f0;
  z-index: 9999;
  padding: 18px 0;
  border-top: 1px solid rgba(255,255,255,0.08);
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
#cookie-consent.visible { transform: translateY(0); }
.cookie-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.cookie-text { font-size: 0.85rem; color: #cbd5e1; line-height: 1.6; flex: 1; min-width: 260px; }
.cookie-text a { color: #7dd3fc; text-decoration: underline; }
.cookie-btns { display: flex; gap: 10px; flex-shrink: 0; }
.cookie-accept {
  padding: 10px 22px; background: #0ea5e9; color: #fff; border: none;
  border-radius: 8px; font-weight: 700; font-size: 0.88rem; cursor: pointer;
  transition: background 0.2s; font-family: inherit;
}
.cookie-accept:hover { background: #0284c7; }
.cookie-decline {
  padding: 10px 18px; background: transparent; color: #94a3b8; border: 1px solid #334155;
  border-radius: 8px; font-weight: 600; font-size: 0.85rem; cursor: pointer;
  transition: all 0.2s; font-family: inherit;
}
.cookie-decline:hover { border-color: #64748b; color: #e2e8f0; }

/* ── Scroll-reveal animation ── */
.reveal {
  opacity: 0;
  transform: translateY(22px);
  transition: opacity 0.55s ease, transform 0.55s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ── Progress bar (top of page) ── */
#read-progress {
  position: fixed;
  top: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, #0369a1, #0ea5e9, #38bdf8);
  z-index: 9998;
  width: 0%;
  transition: width 0.1s linear;
}

/* ── Improved footer ── */
.site-footer {
  background: linear-gradient(135deg, #0c1a2e 0%, #1e293b 100%);
}

/* ── Back-to-top button ── */
#back-to-top {
  position: fixed;
  bottom: 90px;
  right: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(3,105,161,0.35);
  opacity: 0;
  transform: translateY(12px);
  transition: all 0.3s;
  z-index: 500;
  display: flex;
  align-items: center;
  justify-content: center;
}
#back-to-top.show { opacity: 1; transform: translateY(0); }
#back-to-top:hover { background: var(--primary-strong); transform: translateY(-2px); box-shadow: 0 8px 24px rgba(3,105,161,0.4); }

/* ── Hero subtitle badge ── */
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.18);
  border: 1px solid rgba(255,255,255,0.3);
  color: #fff;
  padding: 5px 14px;
  border-radius: 30px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 16px;
}

/* ── Section divider wave ── */
.wave-divider {
  line-height: 0;
  overflow: hidden;
}
.wave-divider svg { display: block; width: 100%; }

/* ── Responsive helpers ── */
@media (max-width: 640px) {
  .sitelinks-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .sitelink-card  { padding: 18px 16px; }
  .cookie-inner   { flex-direction: column; align-items: flex-start; }
  #back-to-top    { bottom: 76px; right: 14px; }
}


/* ═══════════════════════════════════════════════════
   DailyInfoHub — Portal Shared Styles (all pages)
═══════════════════════════════════════════════════ */
:root{
  --navy:#0d1b2a;--navy2:#1a2d42;--navy3:#243d56;
  --blue:#1a5fa8;--sky:#2e9fd8;--skylt:#e8f4fb;
  --red:#c8232c;--redlt:#fef2f2;
  --amber:#e8930a;--amberlt:#fffbeb;
  --green:#1e7a4b;--greenlt:#f0fdf4;
  --border2:#c8d3e0;--muted:#8a97a8;--soft2:#556070;
}
/* Topbar */
.dih-topbar{background:var(--navy);color:rgba(255,255,255,.65);font-size:.72rem;padding:7px 0;border-bottom:1px solid rgba(255,255,255,.07);}
.dih-topbar-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;}
.dih-topbar a{color:rgba(255,255,255,.55);margin:0 8px;transition:color .2s;}
.dih-topbar a:hover{color:#fff;}
.live-badge{display:inline-flex;align-items:center;gap:5px;font-weight:700;color:rgba(255,255,255,.85);}
.live-dot{width:7px;height:7px;border-radius:50%;background:var(--red);animation:livepulse 1.6s ease-in-out infinite;flex-shrink:0;}
@keyframes livepulse{0%,100%{opacity:1;transform:scale(1);}50%{opacity:.35;transform:scale(.8);}}
/* Header */
.dih-header{background:#fff;border-bottom:3px solid var(--navy);box-shadow:0 2px 10px rgba(0,0,0,.07);position:sticky;top:0;z-index:200;}
.dih-header-row{display:flex;align-items:center;justify-content:space-between;gap:16px;padding:12px 0;}
.dih-brand{display:inline-flex;align-items:center;gap:11px;text-decoration:none;}
.dih-brand img{width:48px;height:48px;}
.dih-brand-text strong{display:block;font-family:'Playfair Display',serif;font-size:1.45rem;font-weight:800;color:var(--navy);line-height:1.1;letter-spacing:-.02em;}
.dih-brand-text span{display:block;font-size:.68rem;font-weight:700;color:var(--soft2);text-transform:uppercase;letter-spacing:1.4px;margin-top:1px;}
.dih-header-right{display:flex;align-items:center;gap:10px;}
.hdr-search{display:flex;border-radius:6px;overflow:hidden;border:1.5px solid var(--border2);transition:border-color .2s;}
.hdr-search:focus-within{border-color:var(--sky);}
.hdr-search input{padding:8px 14px;border:none;font-size:.88rem;outline:none;width:180px;color:var(--text);}
.hdr-search button{padding:8px 14px;background:var(--navy);color:#fff;border:none;font-size:.85rem;font-weight:700;cursor:pointer;transition:background .2s;}
.hdr-search button:hover{background:var(--blue);}
.acc-tools{display:flex;gap:6px;}
.acc-tools button{padding:7px 11px;background:#f5f7fa;border:1.5px solid #dde3ec;border-radius:6px;font-size:.78rem;font-weight:700;color:var(--soft2);cursor:pointer;transition:all .2s;}
.acc-tools button:hover{background:var(--navy);color:#fff;border-color:var(--navy);}
/* Navbar */
.dih-navbar{background:var(--navy);}
.dih-nav{display:flex;align-items:center;overflow-x:auto;scrollbar-width:none;}
.dih-nav::-webkit-scrollbar{display:none;}
.dih-nav a,.dih-nav-cta{color:rgba(255,255,255,.75);padding:12px 17px;font-size:.86rem;font-weight:600;text-decoration:none;border:none;background:transparent;white-space:nowrap;border-bottom:3px solid transparent;transition:all .2s;cursor:pointer;display:inline-block;}
.dih-nav a:hover,.dih-nav a.nav-active{color:#fff;border-bottom-color:var(--sky);background:rgba(255,255,255,.05);}
.dih-nav-cta{margin-left:auto;background:var(--red);color:#fff !important;border-bottom-color:transparent !important;font-weight:700;}
.dih-nav-cta:hover{background:#a81c24;}
.dih-menu-btn{display:none;background:rgba(255,255,255,.12);border:none;color:#fff;padding:10px 14px;border-radius:6px;font-size:.85rem;font-weight:700;cursor:pointer;margin-left:auto;}
/* Ticker */
.dih-ticker{background:var(--red);color:#fff;padding:8px 0;overflow:hidden;}
.dih-ticker-inner{display:flex;align-items:center;white-space:nowrap;}
.ticker-tag{background:var(--navy);color:#fff;font-size:.68rem;font-weight:800;padding:4px 13px;letter-spacing:1.2px;text-transform:uppercase;flex-shrink:0;margin-right:22px;}
.ticker-track{flex:1;overflow:hidden;position:relative;height:19px;}
.ticker-scroll{position:absolute;white-space:nowrap;animation:tscroll 55s linear infinite;font-size:.83rem;font-weight:500;line-height:19px;}
@keyframes tscroll{0%{transform:translateX(100vw);}100%{transform:translateX(-100%);}}
/* Page banner */
.page-banner{background:linear-gradient(135deg,var(--navy) 0%,var(--navy2) 60%,#1e3958 100%);padding:36px 0 32px;color:#fff;}
.page-banner .pb-bc{font-size:.78rem;opacity:.52;margin:0 0 10px;}
.page-banner .pb-bc a{color:rgba(255,255,255,.6);}
.page-banner h1{font-family:'Playfair Display',serif;font-size:clamp(1.6rem,4vw,2.6rem);font-weight:900;margin:0 0 10px;line-height:1.15;}
.page-banner p{font-size:1rem;opacity:.82;margin:0;max-width:640px;}
/* Ad slots */
.ad-slot{background:#f0f4f8;border:1.5px dashed #c8d3e0;border-radius:8px;display:flex;align-items:center;justify-content:center;color:#8a97a8;font-size:.72rem;flex-direction:column;gap:3px;}
.ad-slot-lbl{font-size:.62rem;text-transform:uppercase;letter-spacing:1px;color:#bac4d0;}
/* Sec headings */
.sec-hd{display:flex;align-items:center;gap:10px;margin-bottom:20px;padding-bottom:11px;border-bottom:2px solid #dde3ec;}
.sec-hd-bar{width:4px;height:22px;border-radius:2px;background:var(--red);flex-shrink:0;}
.sec-hd h2{font-family:'Playfair Display',serif;font-size:1.15rem;font-weight:800;color:#0f172a;margin:0;}
.sec-hd-link{margin-left:auto;font-size:.8rem;font-weight:700;color:var(--blue);white-space:nowrap;}
.sec-hd-link:hover{color:var(--sky);}
/* Portal layout */
.portal-wrap{background:#f5f7fa;padding:36px 0;}
.portal-cols{display:grid;grid-template-columns:1fr 320px;gap:28px;}
/* News cards */
.news-3{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;margin-bottom:28px;}
.nc{background:#fff;border-radius:10px;overflow:hidden;border:1px solid #dde3ec;transition:all .2s;display:flex;flex-direction:column;}
.nc:hover{box-shadow:0 8px 32px rgba(13,27,42,.15);transform:translateY(-3px);border-color:var(--border2);}
.nc img{width:100%;height:170px;object-fit:cover;background:#edf2f7;}
.nc-body{padding:14px;flex:1;display:flex;flex-direction:column;}
.nc-cat{font-size:.65rem;font-weight:700;text-transform:uppercase;letter-spacing:.8px;margin:0 0 6px;}
.nc h3{font-family:'Playfair Display',serif;font-size:.92rem;font-weight:700;color:#0f172a;margin:0 0 7px;line-height:1.45;flex:1;}
.nc h3 a{color:inherit;}.nc h3 a:hover{color:var(--blue);}
.nc-desc{font-size:.8rem;color:var(--soft2);margin:0 0 10px;line-height:1.6;}
.nc-meta{font-size:.7rem;color:var(--muted);margin-top:auto;display:flex;align-items:center;gap:6px;}
/* Featured news card */
.nc-feat{background:#fff;border-radius:10px;overflow:hidden;border:1px solid #dde3ec;display:grid;grid-template-columns:1fr 1fr;margin-bottom:18px;transition:box-shadow .2s;}
.nc-feat:hover{box-shadow:0 8px 32px rgba(13,27,42,.15);}
.nc-feat img{width:100%;height:100%;min-height:210px;object-fit:cover;}
.nc-feat-body{padding:22px;display:flex;flex-direction:column;}
.nc-feat-cat{font-size:.68rem;font-weight:700;text-transform:uppercase;letter-spacing:.8px;color:var(--red);margin:0 0 9px;}
.nc-feat h3{font-family:'Playfair Display',serif;font-size:1.25rem;font-weight:800;color:#0f172a;margin:0 0 10px;line-height:1.45;}
.nc-feat-desc{font-size:.86rem;color:var(--soft2);line-height:1.7;margin:0 0 14px;flex:1;}
.nc-feat-meta{font-size:.72rem;color:var(--muted);}
.nc-feat-link{display:inline-flex;align-items:center;gap:5px;font-size:.82rem;font-weight:700;color:var(--blue);margin-top:10px;}
.nc-feat-link:hover{color:var(--sky);}
/* List items */
.nl-item{display:flex;gap:13px;align-items:flex-start;padding:13px 0;border-bottom:1px solid #dde3ec;}
.nl-item:last-child{border:none;}
.nl-item img{width:78px;height:58px;object-fit:cover;border-radius:7px;flex-shrink:0;background:#edf2f7;}
.nl-cat{font-size:.63rem;font-weight:700;text-transform:uppercase;letter-spacing:.7px;margin:0 0 4px;}
.nl-item h4{font-family:'Playfair Display',serif;font-size:.88rem;font-weight:700;color:#0f172a;margin:0 0 4px;line-height:1.4;}
.nl-item h4 a{color:inherit;}.nl-item h4 a:hover{color:var(--blue);}
.nl-meta{font-size:.68rem;color:var(--muted);}
/* Sidebar */
.sb-box{background:#fff;border-radius:10px;border:1px solid #dde3ec;overflow:hidden;margin-bottom:22px;}
.sb-head{padding:13px 16px;background:var(--navy);color:#fff;font-size:.86rem;font-weight:700;display:flex;align-items:center;gap:7px;}
.sb-body{padding:14px 16px;}
.sb-wx-row{display:flex;align-items:center;justify-content:space-between;padding:9px 0;border-bottom:1px solid #dde3ec;}
.sb-wx-row:last-child{border:none;}
.sb-wx-day{font-size:.82rem;font-weight:600;color:#0f172a;}
.sb-wx-icon{font-size:1.15rem;}
.sb-wx-hi{color:var(--red);font-weight:700;font-size:.82rem;}
.sb-wx-lo{color:var(--blue);font-weight:600;font-size:.78rem;margin-left:3px;}
.sb-stat-grid{display:grid;grid-template-columns:1fr 1fr;gap:9px;}
.sb-stat{background:#f5f7fa;border-radius:8px;padding:11px;text-align:center;}
.sb-stat .v{font-size:1.2rem;font-weight:800;color:var(--navy);display:block;}
.sb-stat .l{font-size:.65rem;color:var(--soft2);text-transform:uppercase;letter-spacing:.5px;margin-top:1px;}
.sb-city-chips{display:flex;flex-wrap:wrap;gap:7px;}
.sb-chip{padding:7px 13px;background:#f5f7fa;border:1.5px solid #dde3ec;border-radius:30px;font-size:.82rem;font-weight:600;color:#0f172a;cursor:pointer;transition:all .18s;}
.sb-chip:hover{background:var(--navy);color:#fff;border-color:var(--navy);}
/* 7-day strip */
.fx-section{background:var(--navy);padding:36px 0;}
.fx-section .sec-hd{border-bottom-color:rgba(255,255,255,.12);}
.fx-section .sec-hd h2{color:#fff;}
.fx-section .sec-hd-link{color:var(--sky);}
.fx-7{display:grid;grid-template-columns:repeat(7,1fr);gap:11px;}
.fx-day{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:12px;padding:15px 9px;text-align:center;color:#fff;transition:all .18s;}
.fx-day:hover{background:rgba(255,255,255,.13);border-color:rgba(46,159,216,.5);}
.fx-name{font-size:.72rem;font-weight:700;text-transform:uppercase;letter-spacing:.5px;opacity:.6;margin:0 0 7px;}
.fx-icon{font-size:1.9rem;margin:0 0 7px;}
.fx-hi{font-size:1.05rem;font-weight:800;}
.fx-lo{font-size:.82rem;opacity:.48;margin-left:3px;}
.fx-lbl{font-size:.65rem;opacity:.48;margin-top:5px;}
/* Search section */
.search-sect{background:var(--skylt);padding:40px 0;border-top:3px solid #c8e8f5;border-bottom:3px solid #c8e8f5;}
.search-wrap{max-width:620px;margin:0 auto;text-align:center;}
.search-wrap h2{font-family:'Playfair Display',serif;font-size:1.75rem;font-weight:800;color:var(--navy);margin:0 0 8px;}
.search-wrap p{color:var(--soft2);margin:0 0 22px;font-size:.95rem;}
.search-form{display:flex;border-radius:50px;overflow:hidden;box-shadow:0 4px 20px rgba(0,0,0,.1);}
.search-form input{flex:1;padding:15px 22px;border:1.5px solid var(--border2);border-right:none;border-radius:50px 0 0 50px;font-size:.95rem;outline:none;color:#0f172a;}
.search-form input:focus{border-color:var(--sky);}
.search-form button{padding:15px 26px;background:var(--navy);color:#fff;border:none;font-size:.95rem;font-weight:700;cursor:pointer;border-radius:0 50px 50px 0;}
.search-form button:hover{background:var(--blue);}
.chips-row{display:flex;gap:8px;flex-wrap:wrap;justify-content:center;margin-top:14px;}
.city-pill{padding:9px 18px;background:#fff;border:1.5px solid var(--border2);border-radius:30px;font-size:.84rem;font-weight:600;color:#0f172a;cursor:pointer;transition:all .18s;}
.city-pill:hover{background:var(--navy);color:#fff;border-color:var(--navy);}
/* Tips */
.tips-sect{background:linear-gradient(135deg,#0b3255 0%,var(--navy) 100%);padding:44px 0;}
.tips-sect .sec-hd{border-bottom-color:rgba(255,255,255,.12);}
.tips-sect .sec-hd h2{color:#fff;}
.tips-4{display:grid;grid-template-columns:repeat(4,1fr);gap:18px;}
.tip-c{background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1);border-radius:10px;padding:20px;color:#fff;transition:all .18s;}
.tip-c:hover{background:rgba(255,255,255,.12);}
.tip-ico{font-size:1.9rem;margin:0 0 10px;}
.tip-c h3{font-size:.95rem;font-weight:700;margin:0 0 7px;}
.tip-c p{font-size:.82rem;opacity:.72;line-height:1.7;margin:0;}
/* CTA */
.cta-sect{background:linear-gradient(90deg,var(--red) 0%,#9e1a20 100%);padding:44px 0;text-align:center;color:#fff;}
.cta-sect h2{font-family:'Playfair Display',serif;font-size:clamp(1.5rem,3vw,2.2rem);font-weight:800;margin:0 0 10px;}
.cta-sect p{opacity:.88;font-size:.98rem;margin:0 0 24px;}
.btn-wh{padding:13px 28px;background:#fff;color:var(--red);border:none;border-radius:50px;font-size:.95rem;font-weight:800;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:7px;transition:all .2s;}
.btn-wh:hover{transform:translateY(-2px);box-shadow:0 8px 24px rgba(0,0,0,.22);}
.btn-gh{padding:12px 26px;background:transparent;color:#fff;border:2px solid rgba(255,255,255,.45);border-radius:50px;font-size:.95rem;font-weight:600;cursor:pointer;text-decoration:none;display:inline-flex;align-items:center;gap:7px;transition:all .2s;}
.btn-gh:hover{border-color:#fff;background:rgba(255,255,255,.1);}
/* Search result card */
.src-card{background:#fff;border-radius:10px;border:1px solid #dde3ec;padding:18px 22px;text-align:left;box-shadow:0 2px 12px rgba(13,27,42,.09);}
.src-city{font-size:.95rem;font-weight:700;color:#0f172a;margin:0 0 3px;}
.src-temp{font-family:'Playfair Display',serif;font-size:2.4rem;font-weight:900;color:var(--navy);}
.src-desc{font-size:.86rem;color:var(--soft2);margin:3px 0 0;}
/* Skeleton */
.skel{background:linear-gradient(90deg,#e2e8f0 25%,#f0f4f8 50%,#e2e8f0 75%);background-size:200% 100%;animation:shimmer 1.5s infinite;border-radius:7px;}
@keyframes shimmer{0%{background-position:200% 0;}100%{background-position:-200% 0;}}
/* Blog article cards */
.blog-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:22px;margin-bottom:28px;}
.blog-card{background:#fff;border-radius:12px;overflow:hidden;border:1px solid #dde3ec;transition:all .2s;display:flex;flex-direction:column;}
.blog-card:hover{box-shadow:0 8px 32px rgba(13,27,42,.14);transform:translateY(-3px);}
.blog-card-img{width:100%;height:200px;object-fit:cover;background:#edf2f7;}
.blog-card-body{padding:20px;flex:1;display:flex;flex-direction:column;}
.blog-tag{display:inline-block;font-size:.67rem;font-weight:800;text-transform:uppercase;letter-spacing:1px;padding:3px 10px;border-radius:20px;margin:0 0 10px;}
.blog-card h3{font-family:'Playfair Display',serif;font-size:1.05rem;font-weight:800;color:#0f172a;margin:0 0 9px;line-height:1.45;flex:1;}
.blog-card p{font-size:.84rem;color:var(--soft2);line-height:1.7;margin:0 0 14px;}
.blog-card-meta{font-size:.72rem;color:var(--muted);}
.blog-card-link{font-size:.82rem;font-weight:700;color:var(--blue);margin-top:10px;display:inline-flex;align-items:center;gap:4px;}
.blog-card-link:hover{color:var(--sky);}
/* Category pills (news page) */
.cat-pills{display:flex;gap:9px;flex-wrap:wrap;margin-bottom:22px;}
.cat-pills .category-pill{padding:9px 18px;background:#f5f7fa;border:1.5px solid #dde3ec;border-radius:30px;font-size:.84rem;font-weight:700;color:#0f172a;cursor:pointer;transition:all .2s;}
.cat-pills .category-pill:hover,.cat-pills .category-pill.active{background:var(--navy);color:#fff;border-color:var(--navy);}
/* Weather page specific */
.wx-page-grid{display:grid;grid-template-columns:1fr 1fr;gap:22px;margin-bottom:22px;}
.wx-detail-card{background:#fff;border-radius:12px;border:1px solid #dde3ec;padding:22px;}
.wx-detail-card h3{font-family:'Playfair Display',serif;font-size:1rem;font-weight:800;color:#0f172a;margin:0 0 14px;display:flex;align-items:center;gap:7px;}
/* Mobile responsive */
@media(max-width:1040px){.portal-cols{grid-template-columns:1fr;}}
@media(max-width:900px){
  .fx-7{grid-template-columns:repeat(4,1fr);}
  .tips-4{grid-template-columns:repeat(2,1fr);}
  .blog-grid{grid-template-columns:1fr;}
  .nc-feat{grid-template-columns:1fr;}
}
@media(max-width:768px){
  .dih-nav{display:none;flex-direction:column;align-items:stretch;}
  .dih-nav.nav-open{display:flex;}
  .dih-nav a,.dih-nav-cta{border-bottom:1px solid rgba(255,255,255,.08);border-left:none;padding:13px 18px;}
  .dih-nav-cta{margin-left:0;}
  .dih-menu-btn{display:block;}
  .hdr-search{display:none;}
  .dih-brand-text span{display:none;}
  .news-3{grid-template-columns:repeat(2,1fr);}
  .wx-page-grid{grid-template-columns:1fr;}
}
@media(max-width:520px){
  .news-3{grid-template-columns:1fr;}
  .fx-7{grid-template-columns:repeat(3,1fr);}
  .tips-4{grid-template-columns:1fr;}
}
