/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*! HTML5 Boilerplate v9.0.1 | MIT License | https://html5boilerplate.com/ */

/* main.css 3.0.0 | MIT License | https://github.com/h5bp/main.css#readme */
/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
  color: #222;
  font-size: 1em;
  line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * Customize the background color to match your design.
 */

::-moz-selection {
  background: #b3d4fc;
  text-shadow: none;
}

::selection {
  background: #b3d4fc;
  text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #ccc;
  margin: 1em 0;
  padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
  vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
  border: 0;
  margin: 0;
  padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
  resize: vertical;
}

/* ==========================================================================
   EASY CUSTOMIZATION AREA
   Change these variables to update your server's look and feel
   ========================================================================== */

:root {
  /* Colors */
  --bg-color: #0a0a0a;
  --bg-alt: #121212;
  --text-primary: #e0e0e0;
  --text-secondary: #a0a0a0;
  --accent-color: #00b7ff; /* Primary accent (Blue) */
  --accent-gold: #00b7ff;
  --stone-950: #0a0a0a;
  --stone-900: #121212;
  --stone-800: #1c1c1c;

  /* Fonts */
  --font-serif: "Oswald", sans-serif;
  --font-sans: "Montserrat", sans-serif;

  /* UI Elements */
  --btn-radius: 4px;
  --section-padding: 8rem;
  --container-width: 1200px;

  /* Animations */
  --transition-speed: 0.3s;
  --transition-curve: cubic-bezier(0.16, 1, 0.3, 1);
}

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

.theme-rounded {
  --btn-radius: 4px;
}

html {
  scroll-behavior: smooth;
}

body {
  background-color: var(--bg-color);
  color: var(--text-primary);
  font-family: var(--font-sans);
  margin: 0;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

.container {
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 0 2rem;
}



canvas#hero-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  background: transparent;
}

/* Navigation Header */
.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 100;
  padding: 1.5rem 0;
  backdrop-filter: blur(10px);
  background: rgba(10, 10, 10, 0.7);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  font-family: var(--font-serif);
  font-weight: 700;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 32px; /* adjust as needed */
  width: auto;
  display: block;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 8px; /* controls spacing cleanly */
  text-decoration: none;
  color: inherit;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.nav-links a {
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.875rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: color 0.2s ease;
}

.nav-links a.active, .nav-links a:hover {
  color: var(--accent-gold);
}

.nav-highlight {
  border: 1px solid var(--accent-gold);
  padding: 0.5rem 1rem;
  border-radius: var(--btn-radius);
  background: rgba(212, 175, 55, 0.1);
}

.nav-btn {
  background: var(--accent-gold);
  color: #000 !important;
  padding: 0.4rem 0.8rem;
  border-radius: var(--btn-radius);
  font-size: 0.7rem !important;
}

.nav-btn:hover {
  opacity: 0.9;
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-serif);
  font-weight: 700;
  line-height: 1.1;
  margin: 0 0 1.5rem 0;
  text-transform: uppercase;
}

h1 {
  font-size: clamp(3rem, 10vw, 6.5rem);
  letter-spacing: 0.02em;
  animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.hero-logo img {
  animation: float 4s ease-in-out infinite;
}

.hero-image {
  aspect-ratio: 2 / 1; /* width / height */
  width: 100%;
  object-fit: cover;
}


@keyframes float {
  0% { transform: translateY(0px); }
  50% { transform: translateY(-15px); }
  100% { transform: translateY(0px); }
}

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

h2 {
  font-size: clamp(2.5rem, 5vw, 3.5rem);
}

p {
  font-size: 1.125rem;
  line-height: 1.7;
  color: var(--text-secondary);
  max-width: 60ch;
}

.label {
  display: block;
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent-color);
  margin-bottom: 1rem;
}

.accent-text {
  color: var(--accent-color);
  font-style: normal;
}

/* Sections */
.hero {
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  position: relative;
  overflow: hidden;
  padding-top: 115px;
  box-sizing: border-box;
}

body.home-page {
  overflow-x: hidden;
}

body.home-page footer {
  position: relative;
  background: var(--stone-950);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding: 4rem 0 2rem;
  margin-top: 0;
}

body.home-page .footer-bottom {
  justify-content: space-between;
}

body.home-page .social-links {
  display: flex;
}

.hero-bg-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: linear-gradient(to bottom, rgba(10, 10, 10, 0.4), rgba(10, 10, 10, 0.9)), url('/img/background.png');
  background-size: cover;
  background-position: center;
  z-index: 0;
  transform: scale(1.1);
  animation: slowZoom 20s infinite alternate;
  filter: blur(5px);
  display: block;
  opacity: 1;
}

@keyframes slowZoom {
  from { transform: scale(1); }
  to { transform: scale(1.1); }
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  max-width: 900px;
  position: relative;
  z-index: 2;
}

.hero h1 {
  margin-top: 1rem;
  line-height: 1;
}

.hero .label {
  color: var(--accent-gold);
  font-weight: 700;
}

/* Features Highlight */
.features-highlight {
  padding: 6rem 0;
  background-color: var(--stone-950);
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.highlights-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 4rem;
  text-align: center;
}

.highlight-title {
  display: block;
  font-family: var(--font-serif);
  font-size: 1.25rem;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: 1rem;
  letter-spacing: 0.1em;
}

.highlight-item p {
  font-size: 0.95rem;
  margin: 0 auto;
}

/* Pillars Section */
.pillars-section {
  background-color: var(--stone-900);
}

.pillar-card {
  padding: 4rem 2rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.03);
  text-align: center;
  transition: all 0.4s var(--transition-curve);
}

.pillar-card:hover {
  background: rgba(255, 255, 255, 0.04);
  border-color: var(--accent-gold);
  transform: translateY(-10px);
}

.pillar-card h3 {
  font-size: 2rem;
  color: var(--accent-gold);
  margin-bottom: 1.5rem;
}

/* CTA Section */
.cta-section {
  background-image: linear-gradient(rgba(10, 10, 10, 0.8), rgba(10, 10, 10, 0.8)), url('https://images.unsplash.com/photo-1506744038136-46273834b3fb?q=80&w=2070&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  text-align: center;
  padding: 10rem 0;
}

/* Buttons */
.btn-gold {
  background-color: var(--accent-gold);
  color: #000;
  font-weight: 700;
}

.btn-gold:hover {
  background-color: #fff;
  transform: translateY(-2px);
}

.btn-black {
  background-color: #000;
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-black:hover {
  background-color: var(--stone-800);
  border-color: var(--accent-gold);
  transform: translateY(-2px);
}

.content-section {
  padding: var(--section-padding) 0;
  position: relative;
  scroll-margin-top: 80px;
}

/* Features Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 3rem;
  margin-top: 4rem;
}

.feature-card {
  padding: 2.5rem;
  background-color: var(--bg-alt);
  border: 1px solid rgba(255, 255, 255, 0.03);
  transition: all var(--transition-speed) var(--transition-curve);
}

.feature-card:hover {
  border-color: rgba(255, 255, 255, 0.1);
  transform: translateY(-5px);
}

.feature-icon {
  width: 48px;
  height: 48px;
  margin-bottom: 2rem;
  color: var(--accent-color);
}

.feature-card h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

/* Gallery Section */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 4rem;
}

.gallery-item {
  aspect-ratio: 16 / 9;
  background-color: #1a1a1a;
  overflow: hidden;
  position: relative;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s var(--transition-curve);
}

.gallery-item:hover img {
  transform: scale(1.05);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.8), transparent);
  display: flex;
  align-items: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* Testimonials */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  margin-top: 4rem;
}

.testimonial-card {
  padding: 2rem;
  border-left: 2px solid var(--accent-color);
  background: rgba(255, 255, 255, 0.02);
}

.testimonial-content {
  font-style: italic;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.author-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--stone-800);
}

.author-info span {
  display: block;
  font-size: 0.875rem;
}

.author-name {
  font-weight: 600;
  color: var(--text-primary);
}

.author-title {
  color: var(--text-secondary);
}

.alt-bg {
  background-color: var(--bg-alt);
}

/* Hero Actions */
.hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 1rem;
  animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.2s both;
}

.btn {
  display: inline-block;
  padding: 1rem 2rem;
  text-decoration: none;
  font-size: 0.875rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  transition: all var(--transition-speed) var(--transition-curve);
  text-transform: uppercase;
  border-radius: var(--btn-radius);
}

.btn-primary {
  background-color: var(--accent-color);
  color: #000;
  font-weight: 700;
  box-shadow: 0 4px 14px 0 rgba(16, 185, 129, 0.3);
}

.btn-primary:hover {
  background-color: #fff;
  color: #000;
  transform: translateY(-2px);
}

.btn-secondary {
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background-color: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.4);
}

.btn-outline {
  border-bottom: 1px solid var(--accent-color);
  color: var(--text-primary);
  padding: 0.5rem 0;
  margin-top: 1rem;
}

.btn-outline:hover {
  border-bottom-color: #fff;
}

/* Scroll Indicator */
.scroll-indicator {
  position: absolute;
  bottom: 3rem;
  left: 2rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--text-secondary);
  animation: fadeUp 1.5s cubic-bezier(0.16, 1, 0.3, 1) 0.5s both;
}

.scroll-indicator .line {
  width: 1px;
  height: 60px;
  background: linear-gradient(to bottom, var(--text-secondary), transparent);
}

/* Grid Layouts */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 4rem;
}

.pillar h3 {
  font-size: 1.5rem;
  margin-bottom: 1rem;
  border-left: 2px solid var(--stone-600);
  padding-left: 1.5rem;
}

.pillar p {
  padding-left: 1.5rem;
}

.center-content {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Footer */
footer {
  width: 100%;
  padding: 4rem 0 2rem;
  background-color: var(--stone-950);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  position: relative;
  z-index: 50;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1fr 2fr;
  gap: 4rem;
  margin-bottom: 4rem;
}

.footer-nav {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.nav-group h4 {
  font-family: var(--font-sans);
  font-size: 0.875rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.nav-group a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.9375rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

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

.footer-bottom {
  padding-top: 0;
  border-top: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.footer-bottom p {
  font-size: 0.8125rem;
  margin: 0;
  color: var(--text-secondary);
}

.social-links {
  display: flex;
  gap: 1.5rem;
}

.social-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.8125rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  transition: color 0.2s ease;
}

.social-links a:hover {
  color: var(--text-primary);
}

/* Bubbles Animation */
.bubbles-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  z-index: 0;
  pointer-events: none;
}

.bubble {
  position: absolute;
  bottom: -100px;
  background: var(--accent-color);
  border-radius: 50%;
  opacity: 0.1;
  animation: bubble-up 10s infinite ease-in;
}

@keyframes bubble-up {
  0% {
    transform: translateY(0) scale(1);
    opacity: 0.1;
  }
  50% {
    opacity: 0.2;
  }
  100% {
    transform: translateY(-120vh) scale(1.5);
    opacity: 0;
  }
}

.rules-category, .vote-card, .package-card, .store-info-section, .hero {
  position: relative;
  overflow: hidden;
}

/* Ensure content stays above bubbles */
.hero-content, .rules-category > *, .vote-card > *, .package-card > *, .store-info-section > * {
  position: relative;
  z-index: 1;
}

/* Responsive */
@media (max-width: 420px) {
  :root {
    --section-padding: 6rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 420px) {
  .header {
    padding: 60px 40px;   /* reduce vertical space */
  }

  .header h1 {
    font-size: 18px;      /* scale down text */
  }

  .header p {
    font-size: 12px;
  }

  .hero-actions {
    flex-direction: column;
    gap: 1rem;
  }

  .btn {
    text-align: center;
  }

  .grid, .pillars-grid, .features-grid, .gallery-grid, .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .footer-nav {
    grid-template-columns: 1fr;
  }

  .content-section {
    padding: 6rem 0;
  }
}

/* ========================================
   NEW COMPONENTS & PAGES STYLING
   ======================================== */

/* Breaking News Banner */
.breaking-news-banner {
  background: linear-gradient(135deg, #d32f2f 0%, #c62828 100%);
  color: white;
  padding: 0.75rem;
  position: fixed;
  top: 116px;
  left: 0;
  right: 0;
  z-index: 99;
  border-bottom: 2px solid #b71c1c;
  width: 100%;
}

.breaking-news-content {
  display: flex;
  align-items: center;
  gap: 1rem;
  max-width: 1200px;
  margin: 0 auto;
}

.breaking-label {
  font-weight: 700;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  white-space: nowrap;
}

.breaking-news-content marquee {
  flex: 1;
  font-size: 0.9rem;
  color: white;
}

.breaking-news-close {
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
  padding: 0;
  min-width: auto;
  transition: opacity 0.2s;
}

.breaking-news-close:hover {
  opacity: 0.8;
}

/* Sticky Header */
.sticky-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

/* Navigation Toggle */
.nav-toggle {
  display: none;
  flex-direction: column;
  background: none;
  border: none;
  cursor: pointer;
  gap: 5px;
  padding: 0.5rem;
}

.nav-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: all 0.3s ease;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.search-form {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.search-form input {
  padding: 0.5rem 1rem;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: var(--btn-radius);
  font-size: 0.875rem;
}

.search-form input::placeholder {
  color: var(--text-secondary);
}

.search-form button {
  background: none;
  border: none;
  color: var(--text-primary);
  cursor: pointer;
  font-size: 1rem;
}

/* Articles Grid */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.article-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all var(--transition-speed) var(--transition-curve);
}

.article-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
  background: rgba(255, 255, 255, 0.04);
}

.article-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--stone-800);
}

.article-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--transition-curve);
}

.article-card:hover .article-image img {
  transform: scale(1.05);
}

.category-badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-color);
  color: #000;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 2px;
  letter-spacing: 0.05em;
  z-index: 2;
}

.article-body {
  padding: 1.5rem;
}

.article-meta {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.article-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
  line-height: 1.3;
}

.article-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
  transition: color 0.2s;
}

.article-card h3 a:hover {
  color: var(--accent-color);
}

.article-card p {
  font-size: 0.95rem;
  margin: 0 0 1rem 0;
  color: var(--text-secondary);
  max-width: none;
}

.read-more {
  color: var(--accent-color);
  text-decoration: none;
  font-weight: 600;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.read-more:hover {
  color: #fff;
  transform: translateX(4px);
}

/* Events Grid */
.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 2.5rem;
  margin: 3rem 0;
}

.event-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  overflow: hidden;
  transition: all var(--transition-speed) var(--transition-curve);
}

.event-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  transform: translateY(-8px);
}

.event-image {
  position: relative;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--stone-800);
}

.event-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s var(--transition-curve);
}

.event-card:hover .event-image img {
  transform: scale(1.05);
}

.event-category {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--accent-gold);
  color: #000;
  padding: 0.35rem 0.75rem;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 2px;
}

.event-body {
  padding: 1.5rem;
}

.event-datetime {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  font-size: 0.8rem;
  color: var(--text-secondary);
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-card h3 {
  font-size: 1.25rem;
  margin: 0 0 0.75rem 0;
}

.event-card h3 a {
  color: var(--text-primary);
  text-decoration: none;
}

.event-card h3 a:hover {
  color: var(--accent-color);
}

.event-location {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin: 0.5rem 0;
}

.event-card p {
  font-size: 0.95rem;
  margin: 0.75rem 0;
  color: var(--text-secondary);
  max-width: none;
}

/* Businesses Grid */
.businesses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 2rem;
  margin: 3rem 0;
}

.business-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  padding: 1.5rem;
  transition: all var(--transition-speed) var(--transition-curve);
}

.business-card:hover {
  border-color: rgba(255, 255, 255, 0.15);
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-5px);
}

.business-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.business-header h3 {
  font-size: 1.25rem;
  margin: 0;
}

.business-category {
  background: var(--accent-color);
  color: #000;
  padding: 0.25rem 0.5rem;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  border-radius: 2px;
  white-space: nowrap;
}

.business-body p {
  margin: 0.5rem 0;
  font-size: 0.95rem;
  max-width: none;
}

.business-info {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 0.9rem;
}

.business-info p {
  margin: 0.5rem 0;
  color: var(--text-secondary);
}

.business-info a {
  color: var(--accent-color);
  text-decoration: none;
}

.business-info a:hover {
  text-decoration: underline;
}

/* Filter Buttons */
.filters-section {
  margin: 2rem 0;
}

.filters-section h3 {
  font-size: 1rem;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.filter-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.filter-btn {
  padding: 0.5rem 1rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  cursor: pointer;
  border-radius: var(--btn-radius);
  font-size: 0.85rem;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  transition: all 0.2s ease;
}

.filter-btn:hover {
  border-color: var(--accent-color);
  background: rgba(0, 183, 255, 0.1);
}

.filter-btn.active {
  background: var(--accent-color);
  color: #000;
  border-color: var(--accent-color);
}

/* Forms */
.form-wrapper {
  max-width: 700px;
  margin: 0 auto;
}

.tip-submission-form {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2.5rem;
  border-radius: 8px;
  margin-bottom: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
  font-size: 0.95rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="file"],
.form-group textarea {
  width: 100%;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: var(--btn-radius);
  font-family: inherit;
  font-size: 0.95rem;
  transition: all 0.2s;
}

.form-group input[type="text"]:focus,
.form-group input[type="email"]:focus,
.form-group input[type="file"]:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--accent-color);
  background: rgba(255, 255, 255, 0.08);
  box-shadow: 0 0 0 3px rgba(0, 183, 255, 0.1);
}

.form-group textarea {
  resize: vertical;
  min-height: 150px;
  font-family: inherit;
}

.form-group small {
  display: block;
  color: var(--text-secondary);
  font-size: 0.8rem;
  margin-top: 0.3rem;
}

.form-group.checkbox {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
}

.form-group.checkbox label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin: 0;
  font-weight: 400;
  cursor: pointer;
}

.form-group.checkbox input[type="checkbox"] {
  width: auto;
  margin: 0;
}

/* Success Messages */
.success-message {
  background: rgba(76, 175, 80, 0.15);
  border: 1px solid rgba(76, 175, 80, 0.3);
  padding: 1.5rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  color: #4caf50;
}

.success-message h3 {
  margin-top: 0;
}

/* Info & Tips Sections */
.tip-info,
.contact-alternatives {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.tip-info h3,
.contact-alternatives h3 {
  margin-top: 0;
}

.tip-info ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.tip-info li {
  padding: 0.5rem 0;
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.tip-info li:before {
  content: "▸";
  position: absolute;
  left: 0;
  color: var(--accent-color);
}

/* Article Detail */
.article-full {
  max-width: 850px;
  margin: 0 auto;
}

.article-header {
  text-align: center;
  margin-bottom: 2rem;
}

.article-header h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.article-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.article-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--text-primary);
  margin-bottom: 3rem;
}

.article-content h2 {
  font-size: 1.75rem;
  margin: 2rem 0 1rem;
}

.article-content p {
  margin-bottom: 1rem;
  max-width: none;
}

.article-content ul,
.article-content ol {
  margin-left: 2rem;
  margin-bottom: 1rem;
}

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

.article-sharing {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
}

.share-buttons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

.share-btn {
  padding: 0.75rem 1.5rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  text-decoration: none;
  border-radius: var(--btn-radius);
  transition: all 0.2s;
}

.share-btn:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--accent-color);
}

/* Event Detail */
.event-full {
  max-width: 850px;
  margin: 0 auto;
}

.event-full h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.event-featured-image {
  width: 100%;
  max-height: 500px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.event-details {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
}

.detail-item {
  padding: 0.75rem 0;
  font-size: 1.05rem;
}

.event-content {
  margin-bottom: 2rem;
}

.event-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

/* Weather Section */
.weather-widget {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  text-align: center;
  min-height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.weather-display {
  text-align: center;
}

.forecast-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin: 2rem 0;
}

.info-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin: 2rem 0;
}

.info-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
  text-align: center;
}

.info-card h3 {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.info-card p {
  margin: 0;
}

.info-card a {
  color: var(--accent-color);
  text-decoration: none;
  transition: all 0.2s;
}

.info-card a:hover {
  text-decoration: underline;
}

.tips-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin: 2rem 0;
}

.tip-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.5rem;
  border-radius: 8px;
}

.tip-card h3 {
  margin-top: 0;
  color: var(--accent-color);
}

/* Section Headers */
.section-header {
  text-align: center;
  margin-bottom: 2rem;
}

.section-header h2 {
  margin-bottom: 0.5rem;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  max-width: none;
}

.section-footer {
  text-align: center;
  margin-top: 2.5rem;
}

/* Featured Story Section */
.featured-story-section {
  padding: 6rem 0;
}

.featured-article {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.featured-article img {
  width: 100%;
  height: auto;
  border-radius: 8px;
}

.featured-content h2 {
  font-size: 2.2rem;
  margin-bottom: 1rem;
}

/* No Results Message */
.no-results {
  text-align: center;
  padding: 3rem;
  color: var(--text-secondary);
  font-size: 1.1rem;
}

/* Footer Updates */
.footer-about {
  margin-bottom: 2rem;
}

.footer-about h3 {
  margin-top: 0;
}

.footer-contact p {
  margin: 0.5rem 0;
  font-size: 0.9rem;
}

.footer-contact a {
  color: var(--accent-color);
  text-decoration: none;
}

.footer-contact a:hover {
  text-decoration: underline;
}

.footer-signup {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 2rem;
  border-radius: 8px;
  margin-bottom: 2rem;
  text-align: center;
}

.footer-signup h4 {
  margin-top: 0;
}

.email-signup-form {
  display: flex;
  gap: 0.5rem;
  max-width: 400px;
  margin: 1rem auto 0;
}

.email-signup-form input {
  flex: 1;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-primary);
  border-radius: var(--btn-radius);
}

.email-signup-form button {
  padding: 0.75rem 1.5rem;
}

/* CTAs */
.cta-section {
  padding: 6rem 0;
  text-align: center;
}

.submit-event-cta,
.add-business-cta {
  text-align: center;
  padding: 3rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  margin: 3rem 0;
}

/* Responsive Design */
@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .nav-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: rgba(10, 10, 10, 0.95);
    flex-direction: column;
    padding: 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
  }

  .nav-menu.active {
    max-height: 500px;
  }

  .articles-grid,
  .events-grid,
  .businesses-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .filter-buttons {
    gap: 0.5rem;
  }

  .filter-btn {
    padding: 0.4rem 0.8rem;
    font-size: 0.75rem;
  }

  .tip-submission-form {
    padding: 1.5rem;
  }

  .email-signup-form {
    flex-direction: column;
  }

  .share-buttons {
    flex-direction: column;
  }

  .event-actions {
    flex-direction: column;
  }

  .event-actions .btn {
    width: 100%;
    text-align: center;
  }

  .search-form {
    width: 100%;
    margin-top: 1rem;
  }

  .search-form input {
    flex: 1;
  }
}

@media (max-width: 480px) {
  .breaking-news-content {
    flex-direction: column;
    gap: 0.5rem;
  }

  .header-container {
    flex-direction: column;
    gap: 1rem;
  }

  .logo {
    font-size: 1.2rem;
  }

  .articles-grid,
  .events-grid,
  .businesses-grid,
  .info-cards,
  .tips-grid {
    grid-template-columns: 1fr;
  }

  .article-header h1,
  .event-full h1 {
    font-size: 1.75rem;
  }

  .tip-submission-form,
  .tip-info,
  .contact-alternatives {
    padding: 1rem;
  }

  .section-header h2 {
    font-size: 1.75rem;
  }

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

  .footer-nav {
    grid-template-columns: 1fr !important;
  }
}

/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden,
[hidden] {
  display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * https://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 *
 * 1. For long content, line feeds are not interpreted as spaces and small width
 *    causes content to wrap 1 word per line:
 *    https://medium.com/@jessebeach/beware-smushed-off-screen-accessible-text-5952a4c2cbfe
 */

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

/*
 * Extends the .visually-hidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visually-hidden.focusable:active,
.visually-hidden.focusable:focus {
  clip: auto;
  height: auto;
  margin: 0;
  overflow: visible;
  position: static;
  white-space: inherit;
  width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
  visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * The use of `table` rather than `block` is only necessary if using
 * `::before` to contain the top-margins of child elements.
 */

.clearfix::before,
.clearfix::after {
  content: "";
  display: table;
}

.clearfix::after {
  clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
  /* Style adjustments for viewports that meet the condition */
}

@media print,
(-webkit-min-device-pixel-ratio: 1.25),
(min-resolution: 1.25dppx),
(min-resolution: 120dpi) {
  /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   https://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
  *,
  *::before,
  *::after {
    background: #fff !important;
    color: #000 !important;
    /* Black prints faster */
    box-shadow: none !important;
    text-shadow: none !important;
  }

  a,
  a:visited {
    text-decoration: underline;
  }

  a[href]::after {
    content: " (" attr(href) ")";
  }

  abbr[title]::after {
    content: " (" attr(title) ")";
  }

  /*
   * Don't show links that are fragment identifiers,
   * or use the `javascript:` pseudo protocol
   */
  a[href^="#"]::after,
  a[href^="javascript:"]::after {
    content: "";
  }

  pre {
    white-space: pre-wrap !important;
  }

  pre,
  blockquote {
    border: 1px solid #999;
    page-break-inside: avoid;
  }

  tr,
  img {
    page-break-inside: avoid;
  }

  p,
  h2,
  h3 {
    orphans: 3;
    widows: 3;
  }

  h2,
  h3 {
    page-break-after: avoid;
  }
}


/* Page Header (for subpages) */
.page-header {
  padding: 10rem 0 4rem;
  background: linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.8)), url('/img/background.png');
  background-size: cover;
  background-position: center;
  text-align: center;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  z-index: 1;
}


@media (max-width: 980px) {
  .rules-grid {
    grid-template-columns: 1fr;
    max-width: 760px;
  }
}

.page-header .container, .page-header p {
  position: relative;
  z-index: 2;
  margin-left: auto;
  margin-right: auto;
}

.content-section {
  padding: 6rem 0;
  min-height: 60vh;
}


@media (max-width: 768px) {
  .breaking-news-banner {
    top: 72px;
  }

  .main-header {
    top: 0;
  }

  body.home-page {
    overflow-x: hidden;
  }

  body.home-page .hero {
    min-height: 100vh;
    height: auto;
    padding: 7rem 0 5rem;
    padding-top: calc(115px + 7rem);
    box-sizing: border-box;
  }

  body.home-page .hero .hero-logo img {
    width: 86px !important;
    height: 86px !important;
    margin-bottom: 12px !important;
  }

  body.home-page .hero .hero-logo h2 {
    font-size: 1.5rem !important;
  }

  body.home-page .hero .label {
    margin-top: 1rem !important;
    font-size: 0.75rem;
  }

  body.home-page .hero h1 {
    font-size: clamp(2.2rem, 11vw, 3.5rem) !important;
    line-height: 1.05;
    margin: 0.75rem 0 0.5rem;
  }

  body.home-page .hero-actions {
    margin-top: 0.75rem;
    gap: 0.75rem;
  }

  body.home-page .hero .btn {
    padding: 0.75rem 1.1rem;
    font-size: 0.78rem;
  }

  body.home-page footer {
    position: static;
    padding: 1rem 0 1.25rem;
  }

  body.home-page .footer-bottom p {
    font-size: 0.72rem;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .logo span {
    display: none;
  }

  .nav-links {
    gap: 1rem;
  }

  .nav-links a {
    font-size: 0.7rem;
  }
}

/* Media Queries Update */
@media (max-width: 420px) {
  .nav-links {
    gap: 1rem;
  }
  .nav-links a {
    font-size: 0.75rem;
  }
}

#hero-canvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
}

/* Montserrat */

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Montserrat';
  src: url('/fonts/Montserrat-Black.woff2') format('woff2');
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}


/* Oswald */

@font-face {
  font-family: 'Oswald';
  src: url('/fonts/Oswald-Regular.woff2') format('woff2');
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Oswald';
  src: url('/fonts/Oswald-Bold.woff2') format('woff2');
  font-weight: 700;
  font-style: normal;
  font-display: swap;
}

/* Weather widget styles */
.weather-top {
  display: flex;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2rem;
}

/* Place current conditions on the left and forecast on the right. Ensure other sections below span full width. */
.weather-top .weather-current { width: 360px; flex: 0 0 360px; }
.weather-top .weather-forecast { flex: 1 1 auto; }
.weather-radar, .weather-info, .weather-tips { width: 100%; }

.weather-small-card {
  display: flex;
  gap: 1rem;
  align-items: center;
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.6);
}

.weather-small-card.sample { opacity: 0.9; }

.weather-small-icon {
  width: 64px;
  height: 64px;
  flex: 0 0 64px;
}

.weather-small-info { color: var(--text-primary); }
.weather-small-temp { font-size: 2rem; font-weight: 700; }
.weather-small-cond { color: var(--text-secondary); margin-top: 2px; }
.weather-small-location { font-size: 0.9rem; color: var(--text-secondary); margin-top: 6px; }
.weather-small-time { font-size: 0.8rem; color: rgba(255,255,255,0.5); }

.forecast-grid-inner {
  display: flex;
  gap: 1rem;
  align-items: stretch;
}

.forecast-day {
  background: linear-gradient(180deg, rgba(255,255,255,0.02), rgba(255,255,255,0.01));
  border: 1px solid rgba(255,255,255,0.04);
  padding: 0.75rem 0.9rem;
  border-radius: 8px;
  text-align: center;
  min-width: 120px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.45);
}

.forecast-day h4 { margin: 0 0 0.5rem; font-size: 0.95rem; }
.forecast-day img { width: 48px; height: 48px; display: block; margin: 0 auto 0.5rem; }
.forecast-cond { font-size: 0.9rem; color: var(--text-secondary); margin: 0.25rem 0; }
.forecast-temps { font-weight: 700; margin-top: 6px; }

.weather-display, .forecast-grid { margin: 0; }

/* Radar and full-width weather sections styling */
.weather-radar {
  width: 98%;
  margin-top: 2rem;
  margin-bottom: 2rem;
  background: linear-gradient(180deg, rgba(255,255,255,0.01), rgba(255,255,255,0.005));
  border: 1px solid rgba(255,255,255,0.03);
  padding: 1rem;
  border-radius: 8px;
  box-shadow: 0 6px 18px rgba(0,0,0,0.5);
}

.radar-container {
  width: 100%;
  /* Make radar taller on desktop while staying responsive on smaller screens */
  min-height: 480px;
  max-height: 780px;
  display: flex;
  align-items: stretch;
  justify-content: center;
}

.radar-container img, .radar-container iframe {
  width: 100%;
  height: 150%;
  max-width: 100%;
  border: 0;
  display: block;
}

@media (max-width: 980px) {
  .radar-container { min-height: 300px; max-height: 480px; }
}

@media (max-width: 480px) {
  .radar-container { min-height: 220px; max-height: 340px; }
}

/* Ensure forecast tiles expand to use available space on wide layouts */
.weather-top .forecast-grid-inner { align-items: stretch; }
.weather-top .forecast-day { flex: 1 1 0; min-width: 120px; }

/* Responsive adjustments */
@media (max-width: 980px) {
  .weather-top { flex-direction: column; }
  .forecast-grid-inner { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 0.5rem; }
  .forecast-day { min-width: 140px; }
}



/* Strong radar override (last in file) to prevent earlier rules from shrinking it */
.weather-radar { display: block !important; width: 100% !important; padding: 1rem !important; box-sizing: border-box !important; }
.radar-container {
  position: relative !important;
  width: 100% !important;
  height: 720px !important; /* desktop height, adjust as needed */
  max-height: 85vh !important;
  overflow: hidden !important;
}
.radar-container iframe, .radar-container img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  border: 0 !important;
  display: block !important;
}
@media (max-width: 980px) {
  .radar-container { height: 480px !important; }
}
@media (max-width: 680px) {
  .radar-container { height: 360px !important; }
}
@media (max-width: 420px) {
  .radar-container { height: 260px !important; }
}

/* Debug helper: add `radar-debug` class on the body to see container bounds */
body.radar-debug .radar-container { outline: 3px dashed rgba(255, 0, 0, 0.8) !important; background: rgba(255,0,0,0.02) !important; }


/* Facebook Page Posts Widget Styling */
.facebook-posts-widget {
  margin: 2rem 0;
  padding: 0;
}

.sk-ww-facebook-page-posts {
  max-width: 100%;
  width: 100%;
}

.sk-ww-facebook-page-posts iframe {
  max-width: 100%;
  width: 100%;
}

/* Ensure widget is responsive */
@media (max-width: 768px) {
  .facebook-posts-widget {
    margin: 1rem 0;
  }
}
