/* 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, menu, 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,
main, menu, nav, output, ruby, section, summary,
time, mark, audio, video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}
body {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  color: #2D3C49;
  background: #FFFFFF;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

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

img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  display: block;
}

ul, ol {
  list-style: none;
}
a {
  color: #2D3C49;
  text-decoration: none;
  transition: color 0.2s cubic-bezier(.4,0,.2,1);
}
a:focus { outline: 2px solid #C73A1A; outline-offset: 2px; }

h1, h2, h3, h4, h5, h6 {
  font-family: 'Roboto Slab', Georgia, serif;
  letter-spacing: 0.01em;
  font-weight: 700;
  color: #2D3C49;
}
h1 { font-size: 2.25rem; line-height: 1.2; margin-bottom: 24px; }
h2 { font-size: 1.5rem; line-height: 1.25; margin-bottom: 20px; }
h3 { font-size: 1.125rem; line-height: 1.3; margin-bottom: 14px; }
p, li {
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
  font-size: 1rem;
  line-height: 1.65;
  margin-bottom: 12px;
}

strong { font-weight: 700; }

/* FLEXBOX LAYOUTS & GEOMETRIC STRUCTURE */
.container {
  width: 100%;
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  align-items: flex-start;
}

.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #F1F1F1;
  border-radius: 24px;
  box-shadow: 0 4px 24px rgba(45,60,73,0.06);
}

.card-container, .card-grid, .feature-grid, .team-member-profiles, .event-cards, .news-cards, .event-preview-cards, .featured-news-cards, .statistics-cards {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: space-between;
}

.card {
  background: #fff;
  border: 2.5px solid #2D3C49;
  border-radius: 12px;
  box-shadow: 0 2px 12px rgba(45,60,73,0.07);
  margin-bottom: 20px;
  position: relative;
  padding: 24px 22px 18px 22px;
  min-width: 260px;
  flex: 1 1 290px;
  transition: box-shadow 0.25s cubic-bezier(.4,0,.2,1), transform 0.13s cubic-bezier(.4,0,.2,1);
}
.card:hover { box-shadow: 0 6px 24px rgba(199,58,26,0.10); transform: translateY(-4px) scale(1.015);}

.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;
  flex-direction: column;
  align-items: flex-start;
  gap: 20px;
  padding: 20px 28px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 14px rgba(45,60,73,0.06);
  margin-bottom: 20px;
  border-left: 6px solid #C73A1A;
  max-width: 500px;
}
.testimonial-card p, .testimonial-card span {
  color: #2D3C49;
}

.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* BRAND, COLOR, BUTTONS, CTAs */
.cta-btn, .cta-btn:visited {
  display: inline-flex;
  align-items: center;
  padding: 12px 34px;
  background: #C73A1A;
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.125rem;
  font-weight: 700;
  border: none;
  border-radius: 14px;
  box-shadow: 0 3px 10px rgba(42,30,28,0.07);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  cursor: pointer;
  margin-top: 12px;
  transition: background 0.18s cubic-bezier(.4,0,.2,1), transform 0.12s cubic-bezier(.4,0,.2,1);
}
.cta-btn:hover, .cta-btn:focus {
  background: #AA2700;
  color: #fff;
  transform: scale(1.03) translateY(-2px);
}

.category-tag {
  display: inline-block;
  background: #F1F1F1;
  color: #C73A1A;
  font-weight: 700;
  font-size: 0.95em;
  padding: 4px 16px;
  border-radius: 50px;
  letter-spacing: 0.08em;
  margin-top: 8px;
  margin-bottom: 10px;
}

/* NAVBAR & HEADER RESPONSIVE */
header {background: #fff; box-shadow: 0 1px 12px rgba(45,60,73,0.05);}
.main-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 26px;
  padding: 24px 0 13px 0;
}
.main-nav a {
  font-family: 'Roboto Slab', Georgia, serif;
  font-weight: 700;
  font-size: 1.02rem;
  letter-spacing: .04em;
  color: #2D3C49;
  border-bottom: 3px solid transparent;
  padding-bottom: 3px;
  transition: border-color 0.16s cubic-bezier(.4,0,.2,1), color 0.13s cubic-bezier(.4,0,.2,1);
}
.main-nav a:hover, .main-nav .cta-btn {
  color: #C73A1A;
  border-bottom: 3px solid #C73A1A;
}
.main-nav .cta-btn { border-bottom: none; margin-left: 14px; background: #C73A1A; color: #fff; padding: 10px 24px; border-radius: 10px; font-size: 1rem; }

header img {
  height: 48px; min-width: 72px;
}

.mobile-menu-toggle {
  display: none;
  background: #fff;
  color: #C73A1A;
  font-size: 2.2rem;
  padding: 8px 16px;
  border: none;
  position: absolute;
  top: 22px; right: 18px;
  z-index: 101;
  cursor: pointer;
  border-radius: 8px;
  box-shadow: 0 1px 8px rgba(45,60,73,0.08);
  transition: background .13s, color .13s;
}
.mobile-menu-toggle:focus { outline: 2px solid #2D3C49; }

.mobile-menu {
  position: fixed;
  top: 0; left: 0; height: 100vh; width: 100vw;
  background: rgba(45,60,73,0.90);
  transform: translateX(-105%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.32s cubic-bezier(.4,0,.2,1), opacity 0.24s cubic-bezier(.4,0,.2,1);
  z-index: 2002;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
  padding-top: 35px;
}
.mobile-menu.open {
  transform: translateX(0);
  opacity: 1;
  pointer-events: auto;
}
.mobile-menu-close {
  background: none;
  color: #fff;
  font-size: 2.2rem;
  border: none;
  position: absolute;
  top: 26px;
  right: 22px;
  cursor: pointer;
  z-index: 2500;
  transition: color 0.18s;
}
.mobile-menu-close:focus { outline: 2px solid #fff; }

.mobile-nav {
  display: flex;
  flex-direction: column;
  gap: 22px;
  margin-left: 34px;
  margin-top: 38px;
}
.mobile-nav a {
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1.27rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  padding: 9px 0;
  margin-bottom: 2px;
  border-bottom: 2px solid transparent;
  transition: border-color 0.17s cubic-bezier(.4,0,.2,1);
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #C73A1A;
  border-bottom: 2.5px solid #C73A1A;
}

@media (max-width: 990px) {
  .main-nav {
    gap: 15px;
    padding-right: 52px;
  }
  .main-nav .cta-btn {
    padding: 8px 16px;
    font-size: .96rem;
    margin-left: 8px;
  }
  header img {
    height: 38px;
    min-width: 60px;
  }
}

@media (max-width: 768px) {
  .main-nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
  .container {
    padding: 0 12px;
  }
  .section {
    margin-bottom: 36px;
    padding: 26px 7px;
    border-radius: 10px;
  }
  .content-wrapper, .card-container, .card-grid, .feature-grid, .team-member-profiles, .event-cards, .news-cards, .event-preview-cards, .featured-news-cards, .statistics-cards {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
  }
  .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

/* HERO, GRIDS, HIGHLIGHTS */
.hero, .feature-grid, .event-preview-cards, .news-cards {
  margin-top: 12px;
  gap: 24px;
}
.feature-grid > div, .event-preview-cards > div, .news-cards > div, .event-cards > div, .featured-news-cards > div {
  background: #fff;
  border-radius: 13px;
  min-width: 220px;
  box-shadow: 0 2px 12px rgba(45,60,73,0.04);
  border: 1.5px solid #C73A1A;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
  flex: 1 1 260px;
  transition: box-shadow .2s cubic-bezier(.4,0,.2,1), border-color .16s;
  position: relative;
}
.feature-grid > div:hover, .event-preview-cards > div:hover, .news-cards > div:hover, .event-cards > div:hover, .featured-news-cards > div:hover {
  border-color: #2D3C49;
  box-shadow: 0 6px 19px rgba(199,58,26,0.08);
}

.event-cards > div h3, .event-cards > div p, .feature-grid > div h3, .feature-grid > div p {
  margin-bottom: 4px;
}

/* TEAM PROFILES / OPINION HIGHLIGHTS */
.team-member-profiles {
  gap: 24px;
  margin-top: 6px;
}
.team-member-profiles > div {
  background: #F1F1F1;
  border-radius: 10px;
  border-left: 5px solid #C73A1A;
  box-shadow: 0 2px 12px rgba(45,60,73,0.04);
  padding: 16px 18px 10px 22px;
  flex: 1 1 210px;
  min-width: 180px;
  margin-bottom: 12px;
}

.opinion-highlight {
  background: #2D3C49;
  color: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 20px rgba(45,60,73,.09);
  padding: 26px 28px 20px 26px;
  margin-bottom: 22px;
  margin-top: 14px;
  font-size: 1.13rem;
}
.opinion-highlight h3 { color: #F1F1F1; margin-bottom: 10px; }
.opinion-highlight .author-panel { color: #C73A1A; margin-bottom: 7px; }

/* CARDS, INFOS, LABELS */
.editor-in-chief-bio {
  background: #F1F1F1;
  border-radius: 12px;
  padding: 20px 18px;
  margin: 16px 0 12px 0;
  border-left: 5px solid #2D3C49;
}

.address-block, .phone-email-info, .hours-list {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 0;
  border-bottom: 1px solid #eee;
}
.address-block img, .phone-email-info img, .hours-list img {
  height: 26px; width: 26px;
}

.author-panel {
  font-size: 1.03em;
  color: #C73A1A;
  font-family: 'Roboto Slab', Georgia, serif;
  margin-bottom: 7px;
}

.community-highlights ul {
  margin-top: 8px;
  margin-bottom: 2px;
  padding-left: 14px;
  font-size: 1.07em;
  color: #2D3C49;
  list-style: disc;
}

.partnerships-logos {
  display: flex;
  gap: 18px;
  margin: 14px 0 11px 0;
}
.partnerships-logos img {
  height: 44px;
  width: 44px;
  background: #F1F1F1;
  border-radius: 8px;
  padding: 7px;
}

/* FILTERS */
.category-filters, .city-filters, .event-filters, .browse-by-author {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
  align-items: center;
  font-size: 1rem;
  margin: 10px 0 16px 0;
}
.category-filters a, .city-filters a, .event-filters a, .browse-by-author a {
  color: #C73A1A;
  font-weight: 700;
  padding: 2px 4px;
  border-radius: 4px;
  transition: background 0.13s;
}
.category-filters a:hover, .city-filters a:hover, .event-filters a:hover, .browse-by-author a:hover {
  background: #F1F1F1;
  color: #2D3C49;
  text-decoration: underline;
}

.alert-box {
  display: flex;
  align-items: center;
  background: #C73A1A;
  color: #fff;
  padding: 16px 20px;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  margin: 18px 0 18px 0;
}

/* FOOTER */
footer {
  background: #2D3C49;
  padding-top: 36px;
  color: #fff;
  font-size: 1rem;
}
.footer-content {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 36px;
  padding-bottom: 30px;
}
.footer-content nav ul {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.footer-content nav ul li a {
  color: #fff;
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  letter-spacing: 0.04em;
  opacity: 0.87;
  transition: opacity 0.12s;
}
.footer-content nav ul li a:hover { opacity: 1; color: #C73A1A; }

.footer-links {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0 0 12px 0;
  font-size: 0.98rem;
}
.footer-links a { color: #F1F1F1; opacity: 0.85; transition: color .13s, opacity .13s; }
.footer-links a:hover { color: #C73A1A; opacity: 1; }

.contact-info p {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 7px;
  color: #fff;
  font-size: 0.97rem;
}
.contact-info img {
  height: 18px;
  width: 18px;
  filter: brightness(0) invert(1);
}
.social-media-icons {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 12px;
}
.social-media-icons a img {
  height: 28px; width: 28px;
  transition: transform 0.18s;
  border-radius: 7px;
  background: #fff;
  padding: 3px;
}
.social-media-icons a:hover img { transform: scale(1.13) rotate(-6deg); background: #C73A1A; }

/* RESPONSIVE FOOTER */
@media (max-width: 900px) {
  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
}

/* SEARCH & INPUTS */
input[type="search"] {
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid #2D3C49;
  font-size: 1rem;
  margin: 10px 0 18px 0;
  outline: none;
  width: 100%;
  max-width: 340px;
  transition: border-color 0.15s;
  font-family: 'Open Sans', Arial, Helvetica, sans-serif;
}
input[type="search"]:focus { border-color: #C73A1A; }

/* COOKIE BANNER & MODAL */
.cookie-banner {
  position: fixed;
  bottom: 0; left: 0;
  width: 100vw;
  background: #2D3C49;
  color: #fff;
  box-shadow: 0px -3px 22px rgba(45,60,73,0.18);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 3000;
  padding: 22px 18px 22px 18px;
  gap: 24px;
  flex-wrap: wrap;
  font-size: 1.01rem;
  animation: cookie-slide-in 0.7s cubic-bezier(.39, 0.575, .565, 1) 0.07s;
}
@keyframes cookie-slide-in { 0%{ transform: translateY(80px); opacity: 0; } 85%{ transform: translateY(-7px);} 100%{ transform: none; opacity: 1; } }
.cookie-banner p { color: #fff; margin-bottom: 0; }
.cookie-banner .cookie-btn {
  font-family: 'Roboto Slab', Georgia, serif;
  font-size: 1rem;
  padding: 9px 19px;
  border-radius: 7px;
  margin-left: 7px;
  margin-right: 3px;
  border: none;
  cursor: pointer;
  font-weight: 700;
  letter-spacing: 0.025em;
  transition: background .13s, color .13s;
}
.cookie-banner .cookie-btn.accept { background: #C73A1A; color: #fff; }
.cookie-banner .cookie-btn.accept:hover { background: #AA2700; }
.cookie-banner .cookie-btn.reject { background: #fff; color: #C73A1A; border: 1.5px solid #C73A1A; }
.cookie-banner .cookie-btn.reject:hover { background: #F1F1F1; color: #2D3C49; }
.cookie-banner .cookie-btn.settings { background: #F1F1F1; color: #2D3C49; border: 1.5px solid #2D3C49; }
.cookie-banner .cookie-btn.settings:hover {background: #C73A1A; color: #fff; border-color: #C73A1A;}

.cookie-modal {
  position: fixed; left: 50%; top: 50%;
  transform: translate(-50%, -53%) scale(0.95);
  background: #fff;
  color: #2D3C49;
  border-radius: 18px;
  box-shadow: 0 8px 58px rgba(45,60,73,0.21);
  z-index: 3600;
  min-width: 320px;
  width: 94vw; max-width: 390px;
  padding: 28px 24px 18px;
  opacity: 0; pointer-events: none;
  transition: opacity .23s cubic-bezier(.53,0,.2,1), transform .28s cubic-bezier(.64,0,.21,1);
}
.cookie-modal.open {
  opacity: 1; pointer-events: auto;
  transform: translate(-50%, -50%) scale(1);
}
.cookie-modal h2 {
  font-size: 1.33rem;
  margin-bottom: 18px;
  color: #2D3C49;
}
.cookie-modal .close-modal {
  position: absolute;
  top: 9px;
  right: 13px;
  border: none;
  background: none;
  color: #2D3C49;
  font-size: 1.3rem;
  cursor: pointer;
  padding: 3px 6px;
  border-radius: 4px;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 28px;
  font-size: 1.01em;
}
.cookie-category {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F1F1F1;
  border-radius: 8px;
  padding: 10px 15px 10px 12px;
  font-weight: 600;
}
.cookie-category label { font-weight: 600; }
.cookie-category input[type="checkbox"] {
  accent-color: #C73A1A;
  width: 22px; height: 22px;
}
.cookie-category .always-on {
  color: #2D3C49;
  font-size: .98em;
}
.cookie-modal .cookie-btn {
  width: 46%; min-width: 106px;
}

@media (max-width: 540px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 11px;
    padding: 16px 6px;
    font-size: 0.97rem;
  }
  .cookie-banner .cookie-btn { padding: 10px 12px; font-size: 0.98rem; margin-bottom: 3px;}
  .cookie-modal { width: 99vw; min-width: unset; max-width: 99vw; padding: 22px 4vw 12px;}
}

/* MICRO-INTERACTIONS & EFFECTS */
.card, .feature-grid > div, .event-preview-cards > div, .news-cards > div, .event-cards > div, .featured-news-cards > div {
  transition: box-shadow .15s, border-color .15s, transform .13s;
}
.cta-btn, .mobile-nav a, .footer-links a, .main-nav a {
  transition: background .14s, color .14s, border-color .14s;
}

/* GEOMETRIC ACCENTS */
.section, .card, .card-container > div, .testimonial-card, .opinion-highlight, .editor-in-chief-bio, .team-member-profiles > div {
  border-radius: 13px;
  box-shadow: 0 2px 12px rgba(45,60,73,0.07);
}
.feature-grid > div, .event-cards > div {
  border-radius: 12px 25px 9px 17px;
}

/* TYPOGRAPHY SCALE & SPACING */
.text-section h1 { margin-bottom: 22px; font-size: 2rem; }
.text-section h2 { font-size: 1.22rem; margin-bottom: 17px; }
.text-section h3 { font-size: 1.08rem; margin-bottom: 8px; }
.text-section ul { margin-bottom: 15px; margin-left: 17px; }
.text-section ul li { list-style-type: square; margin-left: 14px; margin-bottom: 7px; }

/* OPINION SECTION LISTS */
.opinion-list, .local-news-list, .news-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 12px;
}
.opinion-list li, .local-news-list li, .news-list li {
  background: #F1F1F1;
  border-radius: 7px;
  padding: 16px 14px 12px 18px;
  border-left: 4px solid #C73A1A;
}
.opinion-list li h3, .local-news-list li h3, .news-list li h3 { margin-bottom: 5px; }
.opinion-list li span { color: #C73A1A; font-style: italic; font-size: .98em; }

/* RATING */
.rating-snippet {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 22px 0 0 0;
  background: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  border: 2px solid #C73A1A;
  color: #2D3C49;
  font-weight: 700;
  font-size: 1.06em;
}
.rating-snippet img { height: 28px; }

/* ACCESSIBILITY FOCUS */
button:focus, .cta-btn:focus, a:focus {
  outline: 2px solid #2D3C49; outline-offset: 2px;
}

/* PRINT-FRIENDLY */
@media print {
  header, footer, .mobile-menu, .cookie-banner, .cookie-modal { display: none !important; }
  body { background: #fff; color: #2D3C49; }
  .section, .card, .editor-in-chief-bio, .feature-grid, .testimonial-card { box-shadow: none !important; border: none !important; }
}
