/* ===================================
   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;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
  box-sizing: border-box;
}

html {
  box-sizing: border-box;
  scroll-behavior: smooth;
}
*, *:before, *:after {
  box-sizing: inherit;
}
body {
  line-height: 1.6;
  font-family: 'Lora', 'Times New Roman', Times, serif; /* Elegant serif for classic style */
  background: #F6ECDF;
  color: #1A2233;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  font-size: 16px;
}
img {
  max-width: 100%;
  height: auto;
}
a {
  color: #1A2233;
  text-decoration: underline;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E93323;
}
ul, ol {
  margin-left: 1.5em;
}
input, textarea, button, select {
  font-family: inherit;
  font-size: inherit;
  color: inherit;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Playfair Display', 'Lora', serif; /* Elegant serif for headings */
  font-weight: 600;
  color: #1A2233;
  margin-bottom: 16px;
  line-height: 1.2;
}
h1 { font-size: 2.5rem; margin-bottom: 20px; }
h2 { font-size: 2rem; margin-bottom: 18px; }
h3 { font-size: 1.35rem; margin-bottom: 14px; }
h4 { font-size: 1.1rem; margin-bottom: 12px; }
h5, h6 { font-size: 1rem; margin-bottom: 10px; }

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding-left: 20px;
  padding-right: 20px;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 24px 0 rgba(26,34,51,0.07);
}
@media (max-width: 900px) {
  .section {
    padding: 28px 10px;
    margin-bottom: 40px;
  }
}

/* ===================================
   HEADER & NAVIGATION
   =================================== */
header {
  background: #fff;
  box-shadow: 0 2px 16px 0 rgba(26,34,51,0.06);
  position: sticky;
  top: 0;
  z-index: 900;
}
header .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding-top: 16px;
  padding-bottom: 16px;
}
header img {
  height: 44px;
  display: block;
}
nav {
  display: flex;
  flex-wrap: wrap;
  gap: 21px;
  align-items: center;
}
nav a {
  font-family: 'Lora', serif;
  font-size: 1rem;
  color: #1A2233;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 4px;
  transition: background .2s, color .2s;
  position: relative;
}
nav a:hover, nav a:focus {
  background: #E93323;
  color: #fff;
}
.cta-nav {
  background: #E93323;
  color: #fff;
  font-weight: 600;
  border-radius: 8px;
  padding: 8px 18px;
  box-shadow: 0 1px 8px rgba(233,51,35,.10);
  transition: background .2s, color .2s, box-shadow .2s;
}
.cta-nav:hover,
.cta-nav:focus {
  background: #fff;
  color: #E93323;
  border: 1.5px solid #E93323;
  box-shadow: 0 2px 16px 0 rgba(233,51,35,0.13);
}

/* Hide nav on mobile */
@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: block;
  }
}

/* ===================================
   MOBILE MENU
   =================================== */
.mobile-menu-toggle {
  font-size: 2rem;
  color: #1A2233;
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 6px;
  width: 44px;
  height: 44px;
  display: none;
  align-items: center;
  justify-content: center;
  transition: background .2s;
  z-index: 1201;
}
.mobile-menu-toggle:focus,
.mobile-menu-toggle:hover {
  background: #E93323;
  color: #fff;
}
@media (max-width: 1024px) {
  .mobile-menu-toggle {
    display: flex;
  }
}
.mobile-menu {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(26,34,51,0.96);
  z-index: 1200;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  transform: translateX(-100%);
  transition: transform 0.33s cubic-bezier(0.77,0,0.175,1);
  pointer-events: none;
  opacity: 0;
}
.mobile-menu.open {
  transform: translateX(0);
  pointer-events: all;
  opacity: 1;
}
.mobile-menu-close {
  font-size: 2.2rem;
  font-weight: bold;
  color: #fff;
  background: none;
  border: none;
  padding: 28px 12px 0 28px;
  align-self: flex-start;
  cursor: pointer;
  z-index: 1202;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E93323;
}
.mobile-nav {
  width: 100%;
  margin-top: 25px;
  display: flex;
  flex-direction: column;
  gap: 24px;
  align-items: flex-start;
  padding-left: 32px;
}
.mobile-nav a {
  font-size: 1.4rem;
  color: #fff;
  text-decoration: none;
  letter-spacing: 0.01em;
  padding: 8px 0px;
  transition: color 0.2s, background .2s;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E93323;
  background: none;
}
@media (max-width: 500px) {
  .mobile-nav {
    padding-left: 18px;
  }
  .mobile-menu-close {
    padding: 20px 6px 0 20px;
  }
}

/* ===================================
   HERO SECTION
   =================================== */
.hero {
  background: #F6ECDF;
  padding: 0;
  margin-bottom: 60px;
  border-bottom: 1px solid #e1dbc7;
}
.hero .container {
  padding-top: 56px;
  padding-bottom: 56px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 24px;
}
.hero h1 {
  font-size: 2.6rem;
  color: #1A2233;
}
.hero .subheadline {
  font-family: 'Lora', serif;
  font-style: italic;
  color: #E93323;
  font-size: 1.22rem;
  margin-bottom: 18px;
}
.cta-main {
  display: inline-block;
  background: #E93323;
  color: #fff;
  font-family: 'Lora', serif;
  font-size: 1.10rem;
  font-weight: 600;
  padding: 14px 32px;
  border: none;
  border-radius: 8px;
  margin-top: 14px;
  box-shadow: 0 2px 18px 0 rgba(233,51,35,0.10);
  transition: background .2s, color .2s, box-shadow .2s;
  letter-spacing: 0.01em;
  cursor: pointer;
  text-decoration: none;
}
.cta-main:hover,
.cta-main:focus {
  background: #fff;
  color: #E93323;
  box-shadow: 0 6px 24px 0 rgba(233,51,35,0.17);
  border: 1.6px solid #E93323;
}

.cta-secondary {
  display: inline-block;
  background: #fff;
  color: #E93323;
  font-family: 'Lora', serif;
  font-size: 1.10rem;
  font-weight: 600;
  padding: 10px 24px;
  border-radius: 8px;
  border: 1.6px solid #E93323;
  margin-top: 14px;
  box-shadow: 0 2px 16px 0 rgba(233,51,35,0.04);
  transition: background .2s, color .2s, box-shadow .2s;
  cursor: pointer;
  text-decoration: none;
}
.cta-secondary:hover,
.cta-secondary:focus {
  background: #E93323;
  color: #fff;
  box-shadow: 0 6px 21px 0 rgba(233,51,35,0.12);
}

/* ===================================
   FLEXBOX LAYOUTS & SPACING
   =================================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 1px 16px 0 rgba(26,34,51,0.09);
  margin-bottom: 20px;
  position: relative;
  padding: 26px 24px;
  flex: 1 1 300px;
  transition: box-shadow .18s, transform .2s;
  min-width: 260px;
}
.card:hover, .card:focus-within {
  box-shadow: 0 4px 36px 0 rgba(26,34,51,0.15);
  transform: translateY(-6px) scale(1.02);
}
.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;
}
@media (max-width: 768px) {
  .text-image-section {
    flex-direction: column;
    gap: 20px;
    align-items: flex-start;
  }
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 14px 0 rgba(26,34,51,0.08);
  margin-bottom: 28px;
  min-width: 0;
}
@media (max-width: 600px) {
  .testimonial-card {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px;
  }
}
.feature-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 15px;
}

/* ===================================
   FEATURES GRID & ARTICLE LISTS
   =================================== */
.features {
  display: flex;
  flex-direction: column;
  gap: 32px;
}
.feature-grid,
.reviews-by-category ul,
.recommendations ul,
.article-list {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.feature-grid li {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1 1 230px;
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 18px 0 rgba(26,34,51,0.10);
  padding: 22px 18px 18px 18px;
  transition: box-shadow .18s;
  min-width: 210px;
}
.feature-grid li:hover,
.feature-grid li:focus-within {
  box-shadow: 0 8px 32px 0 rgba(233,51,35,0.12);
}
.feature-grid span[role="img"] {
  font-size: 2.3rem;
  margin-bottom: 12px;
}
.article-list li {
  background: #fff;
  border-radius: 10px;
  padding: 18px 15px;
  box-shadow: 0 1px 10px 0 rgba(26,34,51,0.04);
  margin-bottom: 12px;
  transition: box-shadow .15s, transform .15s;
  flex: 1 1 220px;
}
.article-list li:hover {
  box-shadow: 0 4px 20px 0 rgba(233,51,35,0.11);
  transform: translateY(-4px);
}
@media (max-width: 900px) {
  .features, .feature-grid, .reviews-by-category ul, .article-list, .recommendations ul {
    gap: 15px;
  }
}
@media (max-width: 700px) {
  .feature-grid, .article-list {
    flex-direction: column;
  }
}

/* ===================================
   NEWSLETTER & FORMS
   =================================== */
.newsletter {
  background: #fff;
  border-radius: 16px;
  padding: 32px 20px;
  margin-bottom: 60px;
  box-shadow: 0 1px 16px 0 rgba(26,34,51,0.08);
}
.newsletter form {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-top: 14px;
}
.newsletter input[type=email] {
  border: 1.3px solid #e6ded4;
  border-radius: 7px;
  background: #F6ECDF;
  font-family: inherit;
  font-size: 1rem;
  padding: 11px 18px;
  color: #1A2233;
  width: 210px;
  outline: none;
  transition: border .18s, box-shadow .18s;
}
.newsletter input[type=email]:disabled {
  background: #f9f7f2;
  color: #999;
}
.newsletter button {
  background: #E93323;
  color: #fff;
  border: none;
  border-radius: 6px;
  padding: 10px 24px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: not-allowed;
  transition: background .2s;
}
.newsletter button:disabled {
  background: #e1dbc7;
  color: #999;
}
@media (max-width: 600px) {
  .newsletter form {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }
  .newsletter input[type=email] {
    width: 100%;
  }
}

/* ===================================
   CARDS, REVIEWS, TESTIMONIALS
   =================================== */
.reviews-by-category h3 {
  margin-top: 24px;
  font-size: 1.28rem;
  color: #E93323;
}
.reviews-by-category ul {
  gap: 18px;
  margin-bottom: 8px;
}
.reviews-by-category li {
  background: #fff;
  border-radius: 9px;
  padding: 16px 16px 12px 14px;
  box-shadow: 0 1px 12px 0 rgba(26,34,51,0.04);
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.reviews-by-category span {
  margin-left: 12px;
  color: #E93323;
  font-size: 1.1rem;
}
.editor-note {
  color: #1A2233;
  font-family: 'Lora', serif;
  font-style: italic;
  margin-left: 12px;
  font-size: 1.01rem;
}
.testimonials {
  padding: 32px 16px;
}
.testimonial-card blockquote {
  font-family: 'Lora', serif;
  color: #222;
  font-size: 1.13rem;
  line-height: 1.5;
  margin-bottom: 5px;
}
.testimonial-card cite {
  display: block;
  font-family: 'Roboto', Arial, sans-serif;
  color: #686868;
  font-size: 0.98rem;
  font-style: normal;
  margin-top: 5px;
}

/* ===================================
   FOOTER
   =================================== */
footer {
  background: #1A2233;
  color: #fff;
  margin-top: 60px;
  padding-top: 42px;
  padding-bottom: 12px;
  font-family: 'Lora', serif;
}
footer .container {
  display: flex;
  flex-direction: column;
  gap: 26px;
}
.footer-main {
  display: flex;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 24px 42px;
  justify-content: space-between;
  padding-bottom: 12px;
}
.footer-main a {
  color: #fff !important;
  text-decoration: none;
  padding: 5px 8px;
  transition: color .2s;
  font-size: 1rem;
}
.footer-main a:hover, .footer-main a:focus {
  color: #E93323;
}
.footer-main img {
  height: 46px;
}
.footer-contact p, .footer-contact a {
  font-size: 0.98rem;
  color: #ececec;
  text-decoration: none;
}
.footer-contact img {
  vertical-align: middle;
  margin-right: 4px;
  opacity: 0.85;
  height: 1.1em;
}
.footer-copy {
  display: flex;
  justify-content: center;
  align-items: center;
  color: #8c8b9b;
  font-size: 0.96rem;
}
@media (max-width: 900px) {
  .footer-main {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
  }
  .footer-main img {
    margin-bottom: 8px;
  }
}

/* ===================================
   MISC: CATEGORY FILTERS, CALENDARS, ETC
   =================================== */
.category-filter, .review-sort, .calendar-filters {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 10px;
  margin: 18px 0 20px 0;
}
.category-filter span,
.review-sort span,
.calendar-filters span {
  font-weight: 600;
  color: #1A2233;
  font-size: 1.05rem;
  font-family: 'Lora', serif;
}
.category-filter button,
.review-sort button,
.calendar-filters button {
  background: #fff;
  border: 1.2px solid #E93323;
  color: #E93323;
  border-radius: 7px;
  padding: 7px 17px;
  font-family: 'Lora', serif;
  font-size: 1rem;
  font-weight: 600;
  cursor: not-allowed;
  opacity: 0.56;
  margin-left: 3px;
}
.calendar-view.disabled {
  background: #faf9f7;
  color: #A8A6A3;
  padding: 14px 20px;
  border-radius: 8px;
  margin-bottom: 15px;
  font-size: 1.01rem;
  font-style: italic;
  font-family: 'Lora', serif;
}

/* ===================================
   ABOUT, VALUES, ENGAGEMENT, ETC.
   =================================== */
.text-section {
  margin-bottom: 34px;
}
.community-engagement {
  margin-top: 18px;
  background: #faf9f7;
  border-radius: 9px;
  padding: 12px 17px;
  box-shadow: 0 1px 8px 0 rgba(26,34,51,0.04);
}
.contact-info {
  background: #f5eee4;
  border-radius: 8px;
  padding: 20px 16px 14px 16px;
  margin-bottom: 24px;
}
.cta-form {
  margin-top: 20px;
  display: flex;
  justify-content: flex-start;
}
.confirmation-message {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 1px 14px 0 rgba(26,34,51,0.08);
  padding: 28px 16px;
  margin-top: 14px;
  text-align: center;
}

/* ===================================
   COOKIES BANNER & MODAL
   =================================== */
.cookie-banner {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #1A2233;
  color: #fff;
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  box-shadow: 0 -2px 18px rgba(26,34,51,0.17);
  gap: 16px;
  font-family: 'Lora', serif;
  flex-wrap: wrap;
  min-height: 65px;
  animation: bannerAppear 0.36s cubic-bezier(0.77,0,0.175,1);
}
@keyframes bannerAppear {
  0% { transform: translateY(120%); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.cookie-banner p {
  margin: 0;
  font-size: 1.08rem;
  flex: 1 1 200px;
}
.cookie-btns {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.cookie-btn {
  font-family: 'Lora', serif;
  font-weight: 700;
  font-size: 1rem;
  border-radius: 8px;
  padding: 9px 20px;
  cursor: pointer;
  border: 1.4px solid #E93323;
  background: #E93323;
  color: #fff;
  margin-top: 4px;
  transition: background .17s, color .17s, border .17s;
}
.cookie-btn.settings {
  background: #fff;
  color: #E93323;
  border: 1.5px solid #E93323;
}
.cookie-btn.reject {
  background: #fff;
  color: #E93323;
  border: 1.5px solid #E93323;
}
.cookie-btn:hover, .cookie-btn:focus {
  background: #fff;
  color: #E93323;
  border: 1.5px solid #E93323;
}
.cookie-btn.settings:hover {
  background: #E93323;
  color: #fff;
}
@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 18px 6px;
    gap: 10px;
  }
  .cookie-btns {
    gap: 10px;
  }
}

/* Cookie Modal */
.cookie-modal-backdrop {
  position: fixed;
  z-index: 2200;
  left: 0; top: 0; width: 100vw; height: 100vh;
  background: rgba(26,34,51,0.48);
  display: none;
  align-items: center;
  justify-content: center;
}
.cookie-modal-backdrop.open {
  display: flex;
}
.cookie-modal {
  background: #fff;
  color: #1A2233;
  border-radius: 14px;
  max-width: 420px;
  width: calc(100vw - 24px);
  padding: 34px 28px 24px 28px;
  box-shadow: 0px 2px 46px rgba(26,34,51,0.18);
  font-family: 'Lora', serif;
  font-size: 1.09rem;
  animation: modalIn .33s cubic-bezier(0.77,0,0.175,1);
  position: relative;
}
@keyframes modalIn {
  0% { transform: translateY(40px) scale(0.97); opacity: 0; }
  100% { transform: translateY(0) scale(1); opacity: 1; }
}
.cookie-modal h3 {
  margin-top: 0;
}
.cookie-modal .cookie-category {
  margin-bottom: 21px;
}
.cookie-toggle-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 16px;
}
.cookie-toggle {
  width: 38px;
  height: 22px;
  border-radius: 15px;
  background: #e6ded4;
  position: relative;
  cursor: pointer;
  transition: background .17s;
}
.cookie-toggle.on {
  background: #E93323;
}
.cookie-toggle input {
  display: none;
}
.cookie-toggle-slider {
  position: absolute;
  left: 4px; top: 3px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  transition: left 0.2s;
}
.cookie-toggle.on .cookie-toggle-slider {
  left: 18px;
}
.cookie-modal .modal-actions {
  display: flex;
  gap: 20px;
  justify-content: flex-end;
  margin-top: 24px;
}
.cookie-modal-close {
  position: absolute;
  top: 11px; right: 16px;
  font-size: 1.7rem;
  color: #E93323;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
}
@media (max-width: 500px) {
  .cookie-modal {
    padding: 21px 5vw 18px 5vw;
  }
}

/* ===================================
   RESPONSIVE/Typography
   =================================== */
@media (max-width: 700px) {
  h1 { font-size: 2rem; }
  h2 { font-size: 1.34rem; }
  .hero .container {
    padding-top: 36px;
    padding-bottom: 36px;
  }
  .section, .newsletter {
    padding: 20px 2px;
  }
}

/* Visually hide for screen-readers only */
.sr-only {
  position: absolute;
  width: 1px; height: 1px; padding: 0; margin: -1px; 
  overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0;
}

/* ===================================
   MICRO-INTERACTIONS
   =================================== */
.card, .feature-grid li, .article-list li, .testimonial-card {
  transition: box-shadow 0.20s, transform 0.20s;
}
.card:hover,
.feature-grid li:hover,
.article-list li:hover,
.testimonial-card:hover {
  box-shadow: 0 6px 28px 0 rgba(233,51,35,0.13);
  transform: translateY(-4px) scale(1.01);
}

/* ===================================
   UTILITIES & GENERAL SPACING
   =================================== */
.content-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Minimum margin for all content cards/sections */
.section:not(:last-child), .card, .feature-grid li, .testimonial-card, .review-grid, .about-preview, .recommendations {
  margin-bottom: 20px;
}

/* END OF CSS */
