/* ============================================
   ATMOSPHERA — Weather Learning Blog
   
   HOW TO EDIT:
   - Colors: Change the CSS variables in :root (light) and [data-theme="dark"] (dark)
   - Fonts: Update the font-family values and the Google Fonts link in HTML <head>
   - Spacing: Adjust padding/margin values as needed
   ============================================ */

:root {
  --bg: #f0f2f5;
  --bg-card: #ffffff;
  --bg-sidebar: #e8eef5;
  --text-primary: #1a2438;
  --text-secondary: #4a5568;
  --text-muted: #8895a7;
  --accent: #0891b2;
  --accent-hover: #0e7490;
  --accent-soft: rgba(8, 145, 178, 0.1);
  --accent-light: #22d3ee;
  --border: #dde1e8;
  --tag-bg: rgba(8, 145, 178, 0.08);
  --tag-text: #0891b2;
  --shadow: 0 1px 3px rgba(1,116,183,0.04), 0 4px 12px rgba(1,116,183,0.03);
  --shadow-hover: 0 2px 8px rgba(1,116,183,0.08), 0 8px 24px rgba(1,116,183,0.06);
  --gradient-sky: linear-gradient(135deg, #0891b2 0%, #1a2d5a 100%);
  --newsletter-bg: #1a2d5a;
  --newsletter-text: #F1F5F9;
}

[data-theme="dark"] {
  --bg: #0B1622;
  --bg-card: #132233;
  --bg-sidebar: #0F1C2B;
  --text-primary: #E0EAF0;
  --text-secondary: #8AAABB;
  --text-muted: #5A7A8D;
  --accent: #22d3ee;
  --accent-hover: #67e8f9;
  --accent-soft: rgba(34, 211, 238, 0.1);
  --accent-light: #22d3ee;
  --border: #1E3448;
  --tag-bg: #182C3E;
  --tag-text: #73AED0;
  --shadow: 0 1px 3px rgba(0,0,0,0.2), 0 4px 12px rgba(0,0,0,0.15);
  --shadow-hover: 0 2px 8px rgba(0,0,0,0.3), 0 8px 24px rgba(0,0,0,0.2);
  --newsletter-bg: #0A1E30;
  --newsletter-text: #F1F5F9;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }


/* Subtle weather-map background */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image:
    url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='980' height='680' viewBox='0 0 980 680'%3E%3Cg fill='none' stroke='%230891b2' stroke-opacity='0.13' stroke-width='1.4'%3E%3Cpath d='M-90 120 C90 40 190 215 345 150 S635 35 790 130 1000 120 1060 35'/%3E%3Cpath d='M-120 245 C85 170 220 315 390 245 S675 140 850 220 1040 230 1110 155'/%3E%3Cpath d='M-80 405 C120 315 250 470 420 392 S710 275 900 365 1070 375 1140 300'/%3E%3Cpath d='M-130 560 C90 455 260 625 455 535 S735 435 930 505 1080 520 1160 450'/%3E%3Cpath d='M120 -70 C180 95 55 190 145 335 S350 490 250 755'/%3E%3Cpath d='M470 -90 C550 85 395 230 505 375 S730 535 620 770'/%3E%3Cpath d='M820 -80 C900 110 760 245 870 405 S1075 555 980 760'/%3E%3C/g%3E%3Cg fill='%231a2438' fill-opacity='0.10' font-family='monospace' font-size='13'%3E%3Ctext x='90' y='170'%3E1008%3C/text%3E%3Ctext x='610' y='290'%3E1012%3C/text%3E%3Ctext x='290' y='525'%3E1004%3C/text%3E%3C/g%3E%3C/svg%3E"),
    linear-gradient(115deg, rgba(8, 145, 178, 0.08) 0%, transparent 28%, rgba(241, 245, 249, 0.55) 58%, transparent 100%);
  background-size: 980px 680px, 100% 100%;
  background-position: center top, center;
  pointer-events: none;
  z-index: 0;
  opacity: 0.95;
}
[data-theme="dark"] body::before {
  opacity: 0.36;
}
body > * { position: relative; z-index: 1; }

body {
  font-family: 'Outfit', 'DM Sans', sans-serif;
  background:
    linear-gradient(180deg, rgba(232, 240, 246, 0.98) 0%, rgba(248, 250, 252, 0.98) 42%, rgba(237, 245, 242, 0.98) 100%);
  color: var(--text-primary);
  line-height: 1.7;
  transition: background 0.4s ease, color 0.4s ease;
  overflow-x: hidden;
}

[data-theme="dark"] body {
  background:
    linear-gradient(180deg, #07111d 0%, #0b1622 50%, #101c2a 100%);
}

/* ---- HEADER ---- */
header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(240, 242, 245, 0.9);
  border-bottom: 1px solid var(--border);
  backdrop-filter: blur(20px);
  transition: background 0.4s ease, border-color 0.4s ease;
}
[data-theme="dark"] header {
  background: rgba(11, 22, 34, 0.9);
}

.header-inner {
  max-width: 1880px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 2.25rem);
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 58px;
  gap: 1.5rem;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.logo-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  overflow: hidden;
}

.logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.logo-text {
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.logo-text span:first-child { color: #1a2d5a; }
.logo-text { color: var(--accent); }
[data-theme="dark"] .logo-text span:first-child { color: #93b5e0; }

nav {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

nav a {
  text-decoration: none;
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 500;
  transition: color 0.2s;
  position: relative;
}

nav a:hover { color: var(--accent); }

nav a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s ease;
  border-radius: 1px;
}

nav a:hover::after { width: 100%; }

.theme-toggle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--bg-card);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  color: var(--text-secondary);
}

.theme-toggle:hover {
  border-color: var(--accent);
  color: var(--accent);
  transform: rotate(20deg);
}

/* ---- HERO ---- */
.hero {
  max-width: 1880px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6.5rem) clamp(1rem, 2vw, 2.25rem) clamp(2.5rem, 4vw, 4rem);
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  display: block;
  position: absolute;
  inset: clamp(1.25rem, 3vw, 2.5rem) clamp(1rem, 3vw, 2rem) auto auto;
  width: min(42vw, 560px);
  height: clamp(220px, 28vw, 390px);
  background:
    linear-gradient(135deg, rgba(240, 242, 245, 0.08), rgba(240, 242, 245, 0.72)),
    url('../images/storm-clouds-over-the-mountain-range-2025-02-12-01-47-31-utc.webp') center/cover;
  border: 1px solid var(--border);
  border-radius: 8px;
  opacity: 0.88;
  pointer-events: none;
  z-index: -1;
}

.hero::after {
  content: '';
  display: block;
  position: absolute;
  right: clamp(1.5rem, 5vw, 4rem);
  bottom: 1.25rem;
  width: min(34vw, 460px);
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: 0.45;
  pointer-events: none;
}

@keyframes float {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(-20px) scale(1.05); }
}

.hero-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 100px;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  animation: fadeUp 0.8s ease;
}

.hero h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.5rem, 5.5vw, 5.8rem);
  line-height: 1.15;
  letter-spacing: -0.03em;
  max-width: 840px;
  animation: fadeUp 0.8s ease 0.1s both;
}

.hero h1 em {
  font-style: italic;
  color: var(--accent);
}

.hero p {
  font-size: clamp(1.05rem, 1.4vw, 1.35rem);
  color: var(--text-secondary);
  max-width: 620px;
  margin-top: 1.25rem;
  animation: fadeUp 0.8s ease 0.2s both;
}

@keyframes fadeUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ---- MAIN LAYOUT ---- */
.main-layout {
  max-width: 1880px;
  margin: 0 auto;
  padding: 0 clamp(1rem, 2vw, 2.25rem) 5rem;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: clamp(1.5rem, 2.8vw, 3.5rem);
  align-items: start;
}

/* ---- FEATURED ARTICLE ---- */
.featured {
  border-radius: 12px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: none;
  margin-bottom: 2.5rem;
  transition: border-color 0.3s ease, transform 0.3s ease, background 0.4s ease;
  cursor: pointer;
  animation: fadeUp 0.8s ease 0.35s both;
  text-decoration: none;
  color: inherit;
  display: block;
}

@media (min-width: 1200px) {
  .featured {
    display: grid;
    grid-template-columns: minmax(460px, 1.2fr) minmax(320px, 0.8fr);
    min-height: 360px;
  }
}

.featured:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(8, 145, 178, 0.08);
}

.featured-img {
  width: 100%;
  height: 260px;
  background: var(--gradient-sky);
  position: relative;
  overflow: hidden;
}

.featured-img img {
  border-radius: 0 !important;
}

@media (min-width: 1200px) {
  .featured-img {
    height: 100%;
    min-height: 360px;
  }
}

.weather-scene {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.weather-scene .sun {
  position: absolute;
  top: 40px;
  right: 80px;
  width: 80px;
  height: 80px;
  background: radial-gradient(circle, #FCD34D, #F59E0B);
  border-radius: 50%;
  box-shadow: 0 0 40px rgba(245,158,11,0.4), 0 0 80px rgba(245,158,11,0.2);
  animation: pulse 4s ease-in-out infinite;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 40px rgba(245,158,11,0.4), 0 0 80px rgba(245,158,11,0.2); }
  50% { box-shadow: 0 0 60px rgba(245,158,11,0.5), 0 0 100px rgba(245,158,11,0.3); }
}

.weather-scene .cloud {
  position: absolute;
  background: rgba(255,255,255,0.85);
  border-radius: 100px;
}

.cloud-1 { width: 160px; height: 50px; top: 60px; left: 10%; animation: drift 20s linear infinite; }
.cloud-2 { width: 120px; height: 40px; top: 100px; left: 40%; animation: drift 25s linear infinite 5s; }
.cloud-3 { width: 100px; height: 35px; top: 40px; left: 65%; animation: drift 18s linear infinite 10s; opacity: 0.6; }

@keyframes drift {
  0% { transform: translateX(0); }
  100% { transform: translateX(100px); }
}

.featured-content {
  padding: clamp(1.5rem, 3vw, 3rem);
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.featured-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--accent-soft);
  color: var(--accent);
  border-radius: 4px;
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.75rem;
}

.featured-content h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2rem, 3.5vw, 3.6rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
  margin-bottom: 0.75rem;
}

.featured-content p {
  color: var(--text-secondary);
  font-size: clamp(1rem, 1.1vw, 1.18rem);
  margin-bottom: 1.25rem;
}

.article-meta {
  display: flex;
  align-items: center;
  gap: 1rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
}

.article-meta .dot { opacity: 0.4; }

/* ---- POST CARDS ---- */
.section-title {
  font-family: 'Instrument Serif', serif;
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-primary);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid var(--border);
}

.posts-grid {
  display: grid;
  gap: 1.15rem;
}

@media (min-width: 1200px) {
  .posts-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (min-width: 1440px) {
  .posts-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (min-width: 1800px) {
  .posts-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

.post-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  border-radius: 10px;
  overflow: hidden;
  background: var(--bg-card);
  border: 1px solid var(--border);
  box-shadow: none;
  transition: all 0.3s ease;
  cursor: pointer;
  animation: fadeUp 0.6s ease both;
  text-decoration: none;
  color: inherit;
}

@media (min-width: 1200px) {
  .post-card {
    grid-template-columns: 1fr;
  }
}

.post-card:nth-child(1) { animation-delay: 0.4s; }
.post-card:nth-child(2) { animation-delay: 0.5s; }
.post-card:nth-child(3) { animation-delay: 0.6s; }

.post-card:hover {
  border-color: var(--accent);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(8, 145, 178, 0.08);
}

.post-thumb {
  width: 100%;
  height: 100%;
  min-height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.post-thumb img {
  border-radius: 0 !important;
}

@media (min-width: 1200px) {
  .post-thumb {
    height: 190px;
    min-height: 190px;
  }
}

.post-thumb.thunder { background: linear-gradient(135deg, #2A4A6B, #0C2E4A); }
.post-thumb.rain { background: linear-gradient(135deg, #4A7A9B, #2A5A7B); }
.post-thumb.snow { background: linear-gradient(135deg, #9CC5DD, #73AED0); }
.post-thumb.sunny { background: linear-gradient(135deg, #F59E0B, #D97706); }
.post-thumb.wind { background: linear-gradient(135deg, #6EE7B7, #059669); }
.post-thumb.fog { background: linear-gradient(135deg, #9CA3AF, #6B7280); }

.post-thumb .emoji {
  font-size: 3.5rem;
  animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

.post-info {
  padding: 1rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  height: 100%;
}

.post-tag {
  display: inline-block;
  padding: 2px 8px;
  background: var(--tag-bg);
  color: var(--tag-text);
  border-radius: 4px;
  font-size: 0.65rem;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
  width: fit-content;
}

.post-info h3 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.3rem, 1.35vw, 1.65rem);
  line-height: 1.3;
  letter-spacing: -0.01em;
  margin-bottom: 0.5rem;
}

.post-info p {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.6;
  margin-bottom: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.post-info .article-meta {
  margin-top: auto;
  padding-top: 0.25rem;
}

/* ---- SIDEBAR ---- */
.sidebar {
  position: sticky;
  top: 82px;
  display: flex;
  flex-direction: column;
  gap: 2rem;
  animation: fadeUp 0.8s ease 0.5s both;
}

.sidebar-card {
  border-radius: 10px;
  padding: clamp(1.5rem, 2vw, 2rem);
  background: var(--bg-card);
  border: 1px solid var(--border);
  transition: background 0.4s ease, border-color 0.4s ease;
}

.author-card { text-align: center; }

.author-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--gradient-sky);
  margin: 0 auto 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 4px 16px rgba(1,116,183,0.2);
  overflow: hidden;
}

.author-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.35rem;
  margin-bottom: 0.25rem;
}

.author-card .role {
  font-size: 0.82rem;
  color: var(--accent);
  font-weight: 500;
  margin-bottom: 0.75rem;
}

.author-card .bio {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
}

.author-socials {
  display: flex;
  justify-content: center;
  gap: 10px;
}

.social-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  color: var(--text-secondary);
  transition: all 0.25s ease;
}

.social-btn:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-soft);
}

/* Newsletter */
.newsletter-card {
  background: var(--newsletter-bg);
  color: var(--newsletter-text);
  position: relative;
  overflow: hidden;
}

.newsletter-card::before {
  content: '';
  position: absolute;
  top: -30px;
  right: -30px;
  width: 120px;
  height: 120px;
  background: radial-gradient(circle, rgba(115,174,208,0.2), transparent);
  border-radius: 50%;
}

.newsletter-card h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.35rem;
  margin-bottom: 0.35rem;
  position: relative;
}

.newsletter-card .nl-desc {
  font-size: 0.85rem;
  opacity: 0.75;
  margin-bottom: 1.25rem;
  line-height: 1.6;
  position: relative;
}

.nl-form {
  display: flex;
  flex-direction: column;
  gap: 10px;
  position: relative;
}

.nl-form input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px solid rgba(115,174,208,0.25);
  background: rgba(255,255,255,0.08);
  color: white;
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 0.9rem;
  outline: none;
  transition: all 0.3s ease;
}

.nl-form input::placeholder { color: rgba(255,255,255,0.4); }
.nl-form input:focus { border-color: var(--accent-light); background: rgba(255,255,255,0.12); }

.nl-form button {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  border: none;
  background: var(--accent-light);
  color: #0C2E4A;
  font-family: 'Outfit', 'DM Sans', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
}

.nl-form button:hover { background: #93C5E0; transform: translateY(-1px); }

.nl-privacy {
  font-size: 0.72rem;
  opacity: 0.5;
  text-align: center;
  margin-top: 4px;
}

/* ---- ARTICLE PAGE ---- */
.article-page {
  max-width: 920px;
  margin: 0 auto;
  padding: clamp(3rem, 6vw, 6rem) clamp(1.5rem, 5vw, 3rem) 5.5rem;
}

.article-page .back-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--accent);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 500;
  margin-bottom: 2rem;
  transition: gap 0.2s;
}

.article-page .back-link:hover { gap: 10px; }

.article-page h1 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(2.75rem, 6vw, 5.6rem);
  line-height: 1.15;
  letter-spacing: -0.02em;
  margin-bottom: 1rem;
}

.article-page .article-meta {
  margin-bottom: 2.5rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
}

.article-page .article-body {
  max-width: 780px;
  font-size: clamp(1.05rem, 1.05vw, 1.18rem);
  line-height: 1.85;
  color: var(--text-secondary);
}

.article-page .article-body h2 {
  font-family: 'Instrument Serif', serif;
  font-size: clamp(1.8rem, 2.5vw, 2.5rem);
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
}

.article-page .article-body h3 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.3rem;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.article-page .article-body p {
  margin-bottom: 1.25rem;
}

.article-page .article-body blockquote {
  border-left: 3px solid var(--accent);
  padding: 1rem 1.5rem;
  margin: 1.5rem 0;
  background: var(--accent-soft);
  border-radius: 0 12px 12px 0;
  font-style: italic;
  color: var(--text-primary);
}

.article-page .article-body img {
  width: 100%;
  border-radius: 16px;
  margin: 2rem 0;
}

.article-page .article-body ul, .article-page .article-body ol {
  margin: 1rem 0 1.25rem 1.5rem;
}

.article-page .article-body li { margin-bottom: 0.5rem; }

/* ---- COMMENTS ---- */
.comments-section {
  max-width: 920px;
  margin: 0 auto;
  padding: 0 clamp(1.5rem, 5vw, 3rem) 3rem;
}

.comments-section h2 {
  font-family: 'Instrument Serif', serif;
  font-size: 1.6rem;
  margin-bottom: 1.5rem;
  padding-top: 2rem;
  border-top: 1px solid var(--border);
}

/* ---- FOOTER ---- */
footer {
  border-top: 1px solid var(--border);
  transition: border-color 0.4s ease;
}

.footer-inner {
  max-width: 1880px;
  margin: 0 auto;
  padding: 1.5rem clamp(1rem, 2vw, 2.25rem);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.footer-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  font-family: 'Outfit', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 6px;
}

.footer-copy {
  font-size: 0.82rem;
  color: var(--text-muted);
}

.footer-links {
  display: flex;
  gap: 2rem;
}

.footer-links a {
  font-size: 0.85rem;
  color: var(--text-secondary);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-links a:hover { color: var(--accent); }

/* ---- WEATHER ANIMATIONS ---- */
.rain-drop {
  position: absolute;
  width: 2px;
  height: 16px;
  background: rgba(255,255,255,0.5);
  border-radius: 2px;
  animation: rain 1.2s linear infinite;
}

@keyframes rain {
  0% { transform: translateY(-20px); opacity: 0; }
  30% { opacity: 1; }
  100% { transform: translateY(200px); opacity: 0; }
}

.snowflake {
  position: absolute;
  color: white;
  font-size: 14px;
  opacity: 0.8;
  animation: fall 4s linear infinite;
}

@keyframes fall {
  0% { transform: translateY(-10px) rotate(0deg); opacity: 0; }
  20% { opacity: 1; }
  100% { transform: translateY(200px) rotate(360deg); opacity: 0; }
}

.lightning {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(255,255,255,0.15);
  opacity: 0;
  animation: flash 5s ease-in-out infinite;
}

@keyframes flash {
  0%, 92%, 94%, 96%, 100% { opacity: 0; }
  93%, 95% { opacity: 1; }
}

/* ---- TOAST ---- */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  background: #10B981;
  color: white;
  padding: 14px 28px;
  border-radius: 14px;
  font-weight: 500;
  font-size: 0.9rem;
  box-shadow: 0 8px 24px rgba(16,185,129,0.3);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
  z-index: 1000;
}

.toast.show { transform: translateX(-50%) translateY(0); }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
  .hero::before,
  .hero::after {
    display: none;
  }
  .main-layout { grid-template-columns: 1fr; }
  .sidebar {
    position: static;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
  }
  .post-card { grid-template-columns: 160px 1fr; }
}

@media (max-width: 600px) {
  .header-inner {
    padding: 0 1.25rem;
    flex-wrap: wrap;
  }
  nav {
    gap: 1rem;
  }
  nav a {
    font-size: 0.8rem;
  }
  .hero { padding: 3rem 1.25rem 2.5rem; }
  .main-layout { padding: 0 1.25rem 3rem; gap: 2rem; }
  .post-card { grid-template-columns: 1fr; }
  .post-thumb { min-height: 140px; }
  .sidebar { grid-template-columns: 1fr; }
  .featured-content { padding: 1.5rem; }
  .footer-inner { flex-direction: column; gap: 1rem; text-align: center; }
  .article-page { padding: 2rem 1.25rem 3rem; }
  .article-page h1 { font-size: clamp(2rem, 12vw, 3rem); }
}
