/* ==== CSS RESET & NORMALIZE ==== */
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td,
article, aside, canvas, details, embed, 
figure, figcaption, footer, header, hgroup, 
menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  vertical-align: baseline;
  font: inherit;
  box-sizing: border-box;
}
html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
ul, ol {
  list-style: none;
}
img {
  max-width: 100%;
  display: block;
  height: auto;
}
a {
  color: inherit;
  text-decoration: none;
  transition: color 0.15s;
}
button {
  font: inherit;
  background: none;
  border: none;
  outline: none;
  cursor: pointer;
}

/* ==== VARIABLES (fallbacks provided) ==== */
:root {
  --color-primary: #21415B;
  --color-secondary: #F3F3F0;
  --color-accent: #AA4422;
  --color-accent2: #A63719; /* For hover/highlight */
  --color-electro-yellow: #FDBA2D;
  --color-energetic-green: #37CE6C;
  --color-electric-blue: #2E7BFF;
  --color-white: #FFFFFF;
  --color-black: #151B26;
  --color-neutral-bg: #FFFFFF;
  --color-neutral-card: #F9FAFD;
  --color-divider: #E1E4E8;
  --shadow-card: 0 4px 24px rgba(33,65,91,0.10);
  --radius-card: 22px;
  --radius-btn: 32px;
  --radius-section: 32px;
  --font-display: 'Merriweather', Georgia, serif;
  --font-body: 'Open Sans', Arial, sans-serif;
  --transition: 0.17s cubic-bezier(.32,.72,.58,1);
}

body {
  background: var(--color-secondary);
  color: var(--color-primary);
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* ==== LAYOUT CONTAINERS ==== */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 18px;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

/* ==== HEADER ==== */
header {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 2px 8px rgba(34,65,91,0.07);
  position: relative;
  z-index: 101;
}
header .container {
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
}
.brand-logo img {
  height: 44px;
  width: auto;
  display: block;
}
.main-nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 20px;
}
.main-nav a {
  font-family: var(--font-display);
  font-size: 17px;
  font-weight: 700;
  letter-spacing: 0.01em;
  color: var(--color-white);
  padding: 6px 10px;
  border-radius: 10px;
  position: relative;
  transition: background 0.13s, color 0.13s;
}
.main-nav a:hover, .main-nav a:focus {
  background: var(--color-accent);
  color: var(--color-white);
}
.cta-button {
  background: var(--color-energetic-green);
  color: var(--color-primary);
  font-family: var(--font-display);
  font-size: 18px;
  font-weight: 700;
  padding: 12px 32px;
  border-radius: var(--radius-btn);
  box-shadow: 0 2px 10px 0 rgba(54, 196, 94,0.10);
  transition: background var(--transition), box-shadow var(--transition), color var(--transition);
  outline: none;
  margin-left: 20px;
  display: inline-block;
  border: none;
  text-align: center;
}
.cta-button:hover, .cta-button:focus {
  background: var(--color-accent);
  color: var(--color-white);
  box-shadow: 0 5px 18px 0 rgba(33,65,91,0.12);
}

.mobile-menu-toggle {
  background: var(--color-accent);
  color: var(--color-white);
  border-radius: 22px;
  padding: 7px 20px;
  font-size: 28px;
  display: none;
  margin-left: 22px;
  border: none;
  transition: background var(--transition);
}
.mobile-menu-toggle:focus, .mobile-menu-toggle:hover {
  background: var(--color-energetic-green);
  color: var(--color-primary);
}

@media (max-width: 900px) {
  .main-nav {
    display: none;
  }
  .cta-button {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ==== MOBILE MENU ==== */
.mobile-menu {
  position: fixed;
  left: 0;
  top: 0;
  width: 100vw;
  height: 100vh;
  background: var(--color-primary);
  color: var(--color-white);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding: 18px 0 0 0;
  z-index: 1200;
  pointer-events: none;
  opacity: 0;
  transform: translateX(-100%);
  transition: transform 0.37s cubic-bezier(.52,1.2,.32,1), opacity 0.28s;
}
.mobile-menu.open {
  pointer-events: all;
  opacity: 1;
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  color: var(--color-white);
  font-size: 36px;
  margin: 0 0 28px 21px;
  border-radius: 22px;
  transition: background var(--transition);
  align-self: flex-start;
  z-index: 2;
}
.mobile-menu-close:focus,
.mobile-menu-close:hover {
  background: var(--color-accent2);
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 20px;
  padding: 0 0 0 28px;
}
.mobile-nav a {
  font-family: var(--font-display);
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.01em;
  color: var(--color-white);
  margin-bottom: 4px;
  padding: 10px 0 10px 10px;
  border-radius: 10px;
  transition: background 0.16s, color 0.12s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  background: var(--color-energetic-green);
  color: var(--color-primary);
}

@media (max-width: 900px) {
  header .container {
    flex-direction: row;
  }
}

/* ==== HERO, HEADLINES, SECTIONS ==== */
.hero, .news-hero, .community-hero, .events-hero, .opinions-hero, .thank-you, .about, .legal, .contact {
  background: linear-gradient(90deg, var(--color-electric-blue) 0%, var(--color-energetic-green) 150%);
  color: var(--color-primary);
  border-radius: 0 0 var(--radius-section) var(--radius-section);
  margin-bottom: 60px;
  padding: 60px 0 60px 0;
}
.hero h1, .news-hero h1, .community-hero h1, .events-hero h1, .opinions-hero h1, .about h1, .thank-you h1 {
  font-family: var(--font-display);
  font-weight: 900;
  font-size: 2.2rem;
  color: var(--color-primary);
  margin-bottom: 16px;
  letter-spacing: -1.2px;
}
.hero .subheadline, .news-hero .section-intro, .community-hero .section-intro, .events-hero .section-intro, .opinions-hero .section-intro {
  font-size: 1.18rem;
  color: var(--color-black);
  margin-bottom: 20px;
}

/* ==== GENERIC SECTIONS / SPACING ==== */
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}

/* ==== FLEX UTILITY LAYOUTS SPEC ==== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
}
.content-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-between;
}
.text-image-section {
  display: flex;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ==== FLEXBOX BASED WRAPS from HTML STRUCTURE ==== */
.news-list > .news-list,   /* / news-list articles */
.news-list .news-list {
  display: flex;
  flex-wrap: wrap;
  gap: 28px;
  margin-bottom: 24px;
}
.news-list .news-list article {
  flex: 1 1 250px;
  background: var(--color-neutral-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 24px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 240px;
  max-width: 360px;
}

.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: flex-start;
  margin-top: 16px;
}
.feature {
  flex: 1 1 190px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 32px 20px 28px 20px;
  min-width: 180px;
  max-width: 300px;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.feature img {
  width: 48px; height: 48px;
  margin-bottom: 6px;
}
.feature h3 {
  font-family: var(--font-display);
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.18;
  color: var(--color-accent);
}
.feature p {
  text-align: center;
}

.community-posts {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 18px;
}
.community-posts article {
  flex: 1 1 280px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  padding: 20px 20px 18px 20px;
  box-shadow: var(--shadow-card);
  margin-bottom: 0;
}

/* Team List */
.team-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 0;
}
.team-member {
  flex: 1 1 220px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 20px 22px 20px;
  min-width: 210px;
  max-width: 330px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.team-member h3 {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--color-accent);
}
.team-member a {
  color: var(--color-electric-blue);
  font-weight: 700;
  text-decoration: underline;
  margin-top: 10px;
}
.team-member a:hover, .team-member a:focus {
  color: var(--color-accent2);
  text-decoration: none;
}

.user-stories {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 28px;
}
.story {
  flex: 1 1 200px;
  background: var(--color-neutral-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 20px 16px;
  min-width: 180px;
  max-width: 350px;
}

.opinion-grid, .news-grid, .event-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 32px;
}
.opinion-item, .news-item, .event-item {
  flex: 1 1 220px;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 26px 20px;
  margin-bottom: 0;
  min-width: 180px;
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* ==== TESTIMONIALS ==== */
.testimonials .testimonial-card {
  background: var(--color-neutral-card);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  margin-bottom: 20px;
  color: var(--color-black);
  font-size: 1.06rem;
  flex-direction: column;
  align-items: flex-start;
  gap: 10px;
  transition: box-shadow var(--transition), transform var(--transition);
}
.testimonial-card strong {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--color-accent);
  font-weight: 700;
}
.testimonial-card:hover {
  box-shadow: 0 7px 30px 0 rgba(33,65,91,0.15);
  transform: translateY(-2px) scale(1.018);
}

/* ==== BUTTON STYLES ==== */
button, .cta-button, .call-to-contribute .cta-button, .call-to-action .cta-button, .mobile-menu-close {
  cursor: pointer;
  border: none;
  font-family: var(--font-display);
  font-weight: 700;
  transition: all var(--transition);
}

/* ==== PAGINATION & FILTERS ==== */
.pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 12px;
  margin-top: 8px; margin-bottom: 24px;
}
.pagination a {
  color: var(--color-accent);
  border-radius: 8px;
  padding: 4px 13px;
  font-weight: 700;
  border: 2px solid transparent;
  transition: background 0.13s, border 0.14s, color 0.13s;
}
.pagination a:hover, .pagination a:focus {
  background: var(--color-energetic-green);
  border: 2px solid var(--color-accent2);
  color: var(--color-primary);
}
.pagination span {
  font-weight: 700;
  color: var(--color-electric-blue);
  background: var(--color-secondary);
  padding: 4px 13px;
  border-radius: 8px;
}
.category-filters, .event-filters {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: 1rem;
  margin-bottom: 16px;
}
.category-filters a, .event-filters a {
  color: var(--color-accent2);
  font-weight: bold;
  transition: color var(--transition);
}
.category-filters a:hover, .category-filters a:focus, .event-filters a:hover, .event-filters a:focus {
  color: var(--color-electric-blue);
}

/* ==== MAP & COVERAGE BOXES ==== */
.map-box{
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--color-white);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-card);
  padding: 28px 0;
  min-height: 120px;
  margin-bottom: 24px;
}
.covered-towns{
  display: flex;
  flex-wrap: wrap;
  gap: 12px 40px;
  font-size: 1.02rem;
}
.covered-towns li{
  color: var(--color-primary);
  font-weight: 600;
  background: var(--color-accent2);
  color: var(--color-white);
  border-radius: 8px;
  padding: 6px 16px;
}

/* ==== CONTACT SECTION ==== */
.contact-details {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 20px;
}
.contact-details img {
  width: 22px;
  height: 22px;
  margin-right: 7px;
  vertical-align: middle;
}
.map-location {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px 0;
}

/* ==== CALL TO CONTRIBUTE / ACTION ==== */
.call-to-contribute, .call-to-action {
  text-align: center;
  background: var(--color-electric-blue);
  color: var(--color-white);
  border-radius: var(--radius-section);
  box-shadow: 0 3px 20px 0 rgba(46,123,255,0.09);
  padding: 32px 12px 38px 12px;
  margin-bottom: 60px;
}
.call-to-contribute h3, .call-to-action h2 {
  font-family: var(--font-display);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--color-white);
  margin-bottom: 10px;
}
.call-to-contribute .cta-button, .call-to-action .cta-button{
  margin-top: 18px;
  font-size: 1.2rem;
  background: var(--color-energetic-green);
  color: var(--color-primary);
}
.call-to-contribute .cta-button:hover, .call-to-contribute .cta-button:focus,.call-to-action .cta-button:hover,.call-to-action .cta-button:focus{
  background: var(--color-accent2);
  color: var(--color-white);
}

/* ==== FOOTER ==== */
footer {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 56px 0 24px 0;
  border-radius: var(--radius-section) var(--radius-section) 0 0;
  box-shadow: 0 -2px 12px 0 rgba(33,65,91,0.08);
  margin-top: 40px;
}
footer .container {
  flex-direction: row;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 32px;
  justify-content: space-between;
}
.footer-brand {
  flex: 1 1 260px;
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 18px;
}
.footer-brand img {
  height: 48px;
  width: 48px;
}
.footer-brand p {
  font-size: 1rem;
  line-height: 1.5;
}
.footer-nav {
  flex: 2 1 350px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  padding: 8px 0;
}
.footer-nav a {
  color: var(--color-energetic-green);
  font-weight: bold;
  font-size: 0.98rem;
  transition: color var(--transition);
}
.footer-nav a:hover, .footer-nav a:focus {
  color: var(--color-electric-blue);
}
.footer-social {
  flex: 1 1 72px;
  display: flex;
  gap: 20px;
  align-items: center;
}
.footer-social img {
  height: 32px;
  width: 32px;
  filter: brightness(0) invert(1);
  transition: filter var(--transition);
}
.footer-social img:hover {
  filter: brightness(0) invert(0.6) sepia(1) saturate(10) hue-rotate(348deg);
}
.footer-copy {
  flex: 1 1 100%;
  font-size: 0.94rem;
  color: #f7f7f7;
  text-align: center;
  margin-top: 14px;
}

/* ==== TYPOGRAPHY & HIERARCHY ==== */
h1, h2, h3, h4 {
  font-family: var(--font-display);
}
h1 {
  font-size: 2.1rem;
  font-weight: 900;
  color: var(--color-primary);
}
h2 {
  font-size: 1.58rem;
  font-weight: 800;
  color: var(--color-electric-blue);
  margin-bottom: 8px;
}
h3 {
  font-size: 1.14rem;
  font-weight: 700;
  color: var(--color-accent2);
  line-height: 1.22;
}
h4 {
  font-size: 1.09rem;
  font-weight: bold;
}
p, li {
  font-size: 1rem;
  color: var(--color-primary);
}
.strong, strong {
  font-weight: bold;
  color: var(--color-accent);
}
ul, ol {
  margin-left: 20px;
  list-style: none;
  margin-bottom: 18px;
}
.text-section ul, .text-section ol {
  margin-left: 24px;
  margin-bottom: 16px;
  list-style: disc outside;
}
.text-section li {
  color: var(--color-primary);
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.6;
}

/* ==== SECTIONS ETC ==== */
.section {
  background: var(--color-neutral-card);
  border-radius: var(--radius-section);
  box-shadow: 0 2px 12px 0 rgba(33,65,91,0.05);
}

/* ==== BUTTONS FOR COOKIES AND MODALS ==== */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100vw;
  background: var(--color-black);
  color: var(--color-white);
  z-index: 9999;
  padding: 22px 12px 22px 12px;
  box-shadow: 0 -2px 10px 0 rgba(33,65,91,0.16);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 22px;
  font-size: 1.06rem;
  animation: cookieSlideIn 0.36s cubic-bezier(.32,.92,.63,1.1);
}
@keyframes cookieSlideIn {
  from {
    opacity: 0;
    transform: translateY(22px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}
.cookie-banner .cookie-actions {
  display: flex;
  flex-direction: row;
  gap: 14px;
  margin-left: 22px;
}
.cookie-btn {
  font-family: var(--font-display);
  font-weight: 800;
  border-radius: var(--radius-btn);
  border: none;
  padding: 9px 20px;
  letter-spacing: 0.04em;
  font-size: 1.04rem;
  transition: background var(--transition), color var(--transition);
}
.cookie-btn.accept {
  background: var(--color-energetic-green);
  color: var(--color-black);
}
.cookie-btn.accept:hover, .cookie-btn.accept:focus {
  background: var(--color-electric-blue);
  color: var(--color-white);
}
.cookie-btn.reject {
  background: var(--color-accent2);
  color: var(--color-white);
}
.cookie-btn.reject:hover, .cookie-btn.reject:focus {
  background: var(--color-energetic-green);
  color: var(--color-black);
}
.cookie-btn.settings {
  background: var(--color-white);
  color: var(--color-primary);
  border: 2px solid var(--color-electric-blue);
}
.cookie-btn.settings:hover, .cookie-btn.settings:focus {
  background: var(--color-electric-blue);
  color: var(--color-white);
  border-color: var(--color-electric-blue);
}

/* COOKIE PREFERENCES MODAL */
.cookie-modal {
  position: fixed;
  left: 0; top: 0; right: 0; bottom: 0;
  z-index: 11000;
  background: rgba(26,30,49,0.40);
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.26s cubic-bezier(.21,.82,.46,1);
}
.cookie-modal.open {
  pointer-events: all;
  opacity: 1;
}
.cookie-modal-content {
  background: var(--color-white);
  color: var(--color-primary);
  border-radius: var(--radius-card);
  padding: 34px 22px 27px 22px;
  box-shadow: 0 8px 64px 0 rgba(33,65,91,0.14);
  max-width: 375px;
  width: 100vw;
  display: flex;
  flex-direction: column;
  gap: 22px;
  animation: fadeInZoom 0.28s;
}
@keyframes fadeInZoom {
  from {
    opacity: 0;
    transform: scale(.88);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}
.cookie-modal-content h3 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.32rem;
  margin-bottom: 7px;
  color: var(--color-electric-blue);
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 18px;
}
.cookie-category {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 4px 0;
}
.cookie-category .toggle {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 6px;
}
.cookie-category label {
  font-weight: 700;
  font-size: 1.04rem;
}
/* Pretty toggle switches */
.switch {
  position: relative;
  display: inline-block;
  width: 46px;
  height: 24px;
}
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--color-divider);
  transition: background var(--transition);
  border-radius: 16px;
}
.switch input:checked + .slider {
  background: var(--color-energetic-green);
}
.slider:before {
  position: absolute;
  content: '';
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: var(--color-white);
  transition: transform var(--transition);
  border-radius: 50%;
}
.switch input:checked + .slider:before {
  transform: translateX(22px);
}

.cookie-modal-actions {
  display: flex;
  flex-direction: row;
  justify-content: flex-end;
  gap: 14px;
}

.cookie-modal-close {
  background: var(--color-accent2);
  color: var(--color-white);
  font-size: 1.07rem;
  padding: 8px 22px;
  border-radius: var(--radius-btn);
  font-weight: 700;
  transition: background var(--transition);
}
.cookie-modal-close:hover, .cookie-modal-close:focus {
  background: var(--color-energetic-green);
  color: var(--color-black);
}


/* ==== RESPONSIVE DESIGN ==== */
@media (max-width: 900px) {
  .container {
    padding: 0 8px;
    max-width: 100vw;
  }
  footer .container {
    flex-direction: column;
    gap: 12px;
    align-items: flex-start;
  }
  .footer-brand {
    flex-direction: row;
    align-items: center;
    gap: 9px;
  }
  .footer-social {
    margin-top: 14px;
    margin-bottom: 7px;
  }
}

@media (max-width: 768px) {
  .section, .about, .legal, .call-to-contribute, .call-to-action {
    padding: 30px 5vw;
    margin-bottom: 36px;
  }
  .container {
    padding: 0 5vw;
  }
  .content-wrapper {
    gap: 18px;
  }
  .main-nav {
    gap: 10px;
  }
  .feature-grid,
  .news-list > .news-list,
  .community-posts,
  .team-list,
  .user-stories,
  .opinion-grid,.news-grid,.event-grid {
    flex-direction: column;
    gap: 18px;
  }
  .feature, .news-item, .opinion-item, .event-item, .team-member, .story, .community-posts article {
    max-width: 100vw;
    min-width: 0;
    width: 100%;
  }
  .testimonial-card {
    padding: 14px 10px;
  }
  .text-image-section {
    flex-direction: column;
    align-items: flex-start;
    gap: 18px;
  }
  .call-to-contribute, .call-to-action {
    padding: 22px 4vw 28px 4vw;
  }
}

@media (max-width: 540px) {
  h1 {
    font-size: 1.38rem;
  }
  h2 {
    font-size: 1.08rem;
  }
  .hero, .news-hero, .community-hero, .events-hero, .opinions-hero, .about, .thank-you {
    padding: 36px 0 32px 0;
    border-radius: 0 0 22px 22px;
  }
}

/* ==== ANIMATIONS & TRANSITIONS ==== */
.cta-button, .cookie-btn, .call-to-contribute .cta-button, .call-to-action .cta-button {
  transition: background 0.17s, color 0.14s, box-shadow 0.14s, transform 0.14s;
}
.cta-button:active, .cookie-btn:active {
  transform: scale(.98);
}
.card, .feature, .news-item, .opinion-item, .event-item, .team-member, .community-posts article, .story {
  transition: box-shadow var(--transition), transform var(--transition);
}
.card:hover, .feature:hover, .news-item:hover, .opinion-item:hover, .event-item:hover, .team-member:hover, .community-posts article:hover, .story:hover {
  box-shadow: 0 12px 36px 0 rgba(33,65,91,0.13);
  transform: translateY(-4px) scale(1.015);
}

/* ==== UTILITY CLASSES ==== */
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.hide { display: none !important; }

/* ==== SCROLLBAR ==== */
body::-webkit-scrollbar {
  width: 10px;
  background: var(--color-secondary);
}
body::-webkit-scrollbar-thumb {
  background: var(--color-primary);
  border-radius: 8px;
}

/* ==== PRINT ==== */
@media print {
  header, nav, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body, .container, main { background: #fff !important; color: #222 !important; }
}
