/* ========================== */
/*         CSS RESET          */
/* ========================== */
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 {
  scroll-behavior: smooth;
  box-sizing: border-box;
}
body {
  line-height: 1.5;
  min-height: 100vh;
  font-family: 'Georgia', 'Times New Roman', serif;
  background: #FAFAF7;
  color: #244F63;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
h1, h2, h3, h4, h5, h6 {
  font-family: 'Montserrat', Georgia, serif;
  color: #244F63;
  font-weight: 700;
  letter-spacing: 0.01em;
  margin-bottom: 16px;
}
h1 { font-size: 2.5rem; line-height: 1.13; margin-bottom: 16px; }
h2 { font-size: 1.8rem; margin-bottom: 16px; }
h3 { font-size: 1.25rem; margin-bottom: 12px; }
h4,h5,h6 { font-size: 1.1rem; margin-bottom: 8px; }
p, ul, ol, li, blockquote {
  font-family: 'Open Sans', Georgia, serif;
  color: #315061;
  font-size: 1.08rem;
  line-height: 1.7;
  margin-bottom: 16px;
}
ul, ol { padding-left: 24px; }
strong, b { font-weight: 700; color: #244F63; }
hr { border: none; border-top: 1px solid #EDE9DB; margin: 32px 0; }

a {
  color: #244F63;
  text-decoration: none;
  transition: color 0.2s;
}
a:hover, a:focus {
  color: #E6B957;
  text-decoration: underline;
}
img {
  display: block;
  max-width: 100%;
}

/* ========================== */
/*     CONTAINER & LAYOUT     */
/* ========================== */
.container {
  width: 100%;
  max-width: 1120px;
  margin: 0 auto;
  padding: 0 20px;
}
.content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 32px;
  align-items: flex-start;
}
.section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
@media (min-width: 1024px) {
  .content-wrapper {
    gap: 40px;
  }
}

/* ========================== */
/*      HEADER & NAV BAR      */
/* ========================== */
header {
  background: #FAFAF7;
  border-bottom: 1px solid #EDE9DB;
  position: sticky;
  top: 0;
  z-index: 99;
  width: 100%;
}
header .container {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 18px 20px;
}
header img[alt="Shiny Quest"] {
  height: 44px;
}
nav {
  display: flex;
  flex-direction: row;
  gap: 30px;
}
nav a {
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.01rem;
  font-weight: 500;
  padding: 8px 0;
  border-bottom: 2px solid transparent;
  transition: color .2s, border-color .2s;
}
nav a:hover, nav a:focus {
  color: #E6B957;
  border-bottom: 2px solid #E6B957;
}
nav .cta-primary {
  background: #E6B957;
  color: #244F63 !important;
  padding: 8px 24px;
  border-radius: 22px;
  font-weight: 700;
  border: none;
  margin-left: 8px;
  box-shadow: 0 1px 8px 0 rgba(36,79,99,0.07);
  transition: background .2s, color .2s;
}
nav .cta-primary:hover, nav .cta-primary:focus {
  background: #244F63;
  color: #F4FAFC !important;
}

/* ========================== */
/*      MOBILE MAIN MENU      */
/* ========================== */
.mobile-menu-toggle {
  display: inline-flex;
  font-size: 2rem;
  border: none;
  background: none;
  color: #244F63;
  cursor: pointer;
  padding: 4px 12px;
  margin-left: 14px;
  transition: background .2s, color .2s;
  z-index: 110;
}
.mobile-menu-toggle:hover,
.mobile-menu-toggle:focus {
  background: #f7f5ec;
  color: #E6B957;
  border-radius: 50%;
}

.mobile-menu {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  background: #FAFAF7;
  box-shadow: 0 8px 28px rgba(36,79,99,0.10);
  z-index: 120;
  transform: translateX(-100%);
  transition: transform 0.36s cubic-bezier(.4,0,.2,1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 32px 0 0 0;
}
.mobile-menu.open {
  transform: translateX(0);
}
.mobile-menu-close {
  background: none;
  border: none;
  font-size: 2.2rem;
  color: #244F63;
  position: absolute;
  top: 18px;
  right: 24px;
  cursor: pointer;
  z-index: 130;
  padding: 0 12px;
  transition: color .2s;
}
.mobile-menu-close:hover, .mobile-menu-close:focus {
  color: #E6B957;
}
.mobile-nav {
  display: flex;
  flex-direction: column;
  width: 100%;
  gap: 20px;
  margin-top: 54px;
  align-items: flex-start;
  padding-left: 38px;
}
.mobile-nav a {
  font-size: 1.2rem;
  font-family: 'Montserrat', Georgia, serif;
  color: #244F63;
  padding: 12px 0;
  border-bottom: none;
  font-weight: 500;
  width: 100%;
  transition: color .22s, background .12s;
  border-radius: 6px;
  margin-bottom: 4px;
}
.mobile-nav a:hover, .mobile-nav a:focus {
  color: #E6B957;
  background-color: #F4FAFC;
}

@media (max-width: 1024px) {
  nav {
    display: none;
  }
  .mobile-menu-toggle {
    display: inline-flex;
  }
}
@media (min-width: 1025px) {
  .mobile-menu-toggle, .mobile-menu {
    display: none !important;
  }
  nav {
    display: flex !important;
  }
}

/* ========================== */
/*          HERO              */
/* ========================== */
.hero {
  background: linear-gradient(120deg, #F4FAFC 65%, #E6B95711 100%);
  min-height: 320px;
  display: flex;
  align-items: center;
  padding: 45px 0 38px 0;
  margin-bottom: 0;
}
.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.hero .content-wrapper {
  align-items: center;
  text-align: center;
}
.hero h1 {
  font-size: 2.4rem;
  color: #244F63;
  margin-bottom: 10px;
}
.hero .hero-sub {
  color: #59727F;
  font-size: 1.25rem;
  font-weight: 400;
  margin-bottom: 28px;
}

/* ========================== */
/*         FEATURES           */
/* ========================== */
.feature-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
  margin-bottom: 8px;
}
.feature {
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 2px 12px 0 rgba(36,79,99,0.07);
  padding: 32px 24px 28px 24px;
  flex: 1 1 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 220px;
  max-width: 320px;
  margin-bottom: 20px;
  transition: box-shadow .23s, transform .18s;
}
.feature img {
  width: 50px; height: 50px;
  margin-bottom: 13px;
}
.feature h3 {
  color: #244F63;
  font-size: 1.2rem;
  margin-bottom: 9px;
  font-family: 'Montserrat', Georgia, serif;
}
.feature p {
  color: #386886;
}
.feature:hover, .feature:focus-within {
  box-shadow: 0 8px 24px 0 rgba(36,79,99,0.13);
  transform: translateY(-4px) scale(1.03);
}

@media (max-width: 768px) {
  .feature-grid {
    flex-direction: column;
    align-items: stretch;
    gap: 18px;
  }
  .feature {
    flex: 1 1 100%;
    min-width: unset;
    max-width: 100%;
    margin-bottom: 16px;
  }
}

/* ========================== */
/*        ARTICLE LISTS       */
/* ========================== */
.article-list,.article-cards,.article-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-bottom: 16px;
}
.article-preview {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 12px 0 rgba(36,79,99,0.06);
  padding: 28px 22px 22px 22px;
  flex: 1 1 230px;
  min-width: 220px;
  max-width: 325px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: box-shadow .22s, transform .15s;
  position: relative;
}
.article-preview .tag {
  font-size: 0.85rem;
  color: #E6B957;
  background: #F9F7F2;
  padding: 2px 14px;
  border-radius: 20px;
  margin-bottom: 5px;
  font-weight: bold;
  letter-spacing: 0.02em;
}
.article-preview h3 {
  margin-bottom: 6px;
  font-size: 1.1rem;
  color: #244F63;
}
.article-preview p {
  margin-bottom: 0;
  color: #59727F;
  font-size: .98rem;
}
.article-preview:hover, .article-preview:focus-within {
  box-shadow: 0 7px 32px 0 rgba(36,79,99,0.11);
  transform: translateY(-3px) scale(1.015);
}
@media (max-width: 768px) {
  .article-list,.article-cards,.article-preview-grid {
    flex-direction: column;
    gap: 16px;
  }
  .article-preview {
    max-width: 100%;
    min-width: unset;
  }
}

.search-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
  margin-bottom: 24px;
}
.search-bar input[type="text"] {
  flex: 1;
  border: 1px solid #E6B957;
  border-radius: 18px;
  padding: 10px 18px;
  font-size: 1rem;
  font-family: 'Open Sans', Georgia, serif;
  outline: none;
  transition: border-color .17s;
  background: #fff;
}
.search-bar input[type="text"]:focus {
  border-color: #244F63;
}
.search-bar button {
  background: #E6B957;
  color: #244F63;
  border: none;
  border-radius: 18px;
  padding: 10px 24px;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  cursor: pointer;
  transition: background .2s, color .2s;
  box-shadow: 0 1px 5px 0 rgba(36,79,99,0.10);
}
.search-bar button:hover, .search-bar button:focus {
  background: #244F63;
  color: #F4FAFC;
}

.sort-filter {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
  margin-bottom: 24px;
}
.sort-filter label {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  color: #244F63;
}
.sort-filter select {
  font-family: 'Open Sans', Georgia, serif;
  font-size: 1rem;
  border-radius: 14px;
  border: 1px solid #D2D5B6;
  padding: 6px 18px 7px 10px;
  outline: none;
  background: #fff;
  transition: border-color .18s;
}
.sort-filter select:focus {
  border-color: #E6B957;
}

/* ========================== */
/*       CATEGORY NAV         */
/* ========================== */
.category-nav, .category-links {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 12px 0 0 0;
  justify-content: center;
  align-items: center;
}
.category-nav a, .category-links a {
  background: #FAFAF7;
  color: #244F63;
  border: 1px solid #E6B957;
  border-radius: 15px;
  padding: 7px 20px;
  font-family: 'Montserrat', Georgia, serif;
  font-size: 1.02rem;
  transition: background .2s, color .2s;
}
.category-nav a:hover, .category-links a:hover, .category-nav a:focus, .category-links a:focus {
  background: #E6B957;
  color: #244F63;
}

/* ========================== */
/*          CTA SECTIONS      */
/* ========================== */
.cta {
  background: #244F63;
  color: #F4FAFC;
  border-radius: 26px;
  margin: 48px 0 36px 0;
  padding: 36px 0 28px 0;
  box-shadow: 0 2px 16px 0 rgba(36,79,99,0.08);
}
.cta h2 {
  color: #F4FAFC;
}
.cta ul {
  color: #F4FAFC;
}
.cta .cta-primary {
  margin-top: 22px;
}
.confirmation {
  min-height: 400px;
  display: flex;
  align-items: center;
  padding: 60px 0 30px 0;
}

/* ========================== */
/*         BUTTONS            */
/* ========================== */
.cta-primary, .cta-secondary {
  display: inline-block;
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 700;
  font-size: 1.09rem;
  border: none;
  border-radius: 22px;
  padding: 11px 36px 11px 36px;
  margin-top: 12px;
  cursor: pointer;
  box-shadow: 0 1px 8px 0 rgba(36,79,99,0.07);
  transition: background .2s, color .2s, transform .13s;
}
.cta-primary {
  background: #E6B957;
  color: #244F63;
}
.cta-primary:hover, .cta-primary:focus {
  background: #244F63;
  color: #F4FAFC;
  transform: translateY(-2px) scale(1.04);
}
.cta-secondary {
  background: #fff;
  color: #244F63;
  border: 1.5px solid #E6B957;
}
.cta-secondary:hover, .cta-secondary:focus {
  background: #E6B957;
  color: #244F63;
}

/* ========================== */
/*     FLEX UTILITIES         */
/* ========================== */
.card-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}
.card {
  margin-bottom: 20px;
  position: relative;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 3px 14px 0 rgba(36,79,99,0.08);
  padding: 26px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.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) {
  .content-grid, .text-image-section {
    flex-direction: column;
    gap: 18px;
    align-items: flex-start;
  }
}

.testimonials {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  margin-top: 12px;
}
.testimonial-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  background: #ffffff;
  border: 1.5px solid #E6B957;
  border-radius: 15px;
  min-width: 260px;
  max-width: 430px;
  flex: 1 1 280px;
  box-shadow: 0 2px 14px 0 rgba(36,79,99,0.08);
  margin-bottom: 20px;
  color: #244F63;
  transition: box-shadow .21s, transform .14s;
  position: relative;
}
.testimonial-card .stars {
  font-size: 1.25rem;
  color: #E6B957;
  min-width: 60px;
  margin-right: 6px;
}
.testimonial-card blockquote {
  color: #244F63;
  font-size: 1.04rem;
  font-style: italic;
  margin: 0 0 4px 0;
  max-width: 290px;
  line-height: 1.6;
  font-family: 'Georgia', serif;
}
.testimonial-person {
  font-size: .99rem;
  color: #59727F;
  font-style: normal;
  font-family: 'Montserrat', Georgia, serif;
  margin-top: 0;
}
.testimonial-card:hover, .testimonial-card:focus-within {
  box-shadow: 0 6px 26px 0 rgba(36,79,99,0.13);
  transform: translateY(-2px) scale(1.022);
}
@media (max-width: 768px) {
  .testimonials {
    flex-direction: column;
    gap: 16px;
  }
  .testimonial-card { max-width: 100%; }
}

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

/* ========================== */
/*         TEXT SECTION       */
/* ========================== */
.text-section {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: flex-start;
}
.text-section ul {
  color: #315061;
  font-size: 1rem;
}

.tips-list, .habits-tips, .balance-practices {
  display: flex;
  flex-direction: column;
  gap: 14px;
  list-style-type: disc;
  color: #386886;
  margin-top: 8px;
  margin-bottom: 0;
}
.tips-list li, .habits-tips li, .balance-practices li {
  font-size: 1.01rem;
  color: #386886;
}

/* ========================== */
/*         FORMS              */
/* ========================== */
input, textarea, select {
  font-family: 'Open Sans', Georgia, serif;
  font-size: 1.05rem;
  border-radius: 8px;
  border: 1px solid #E6B957;
  padding: 8px 12px;
  outline: none;
  background: #fff;
}
input:focus, textarea:focus, select:focus {
  border-color: #244F63;
}

/* ========================== */
/*         FOOTER             */
/* ========================== */
footer {
  background: #F4FAFC;
  border-top: 1.5px solid #E6B95722;
  margin-top: 60px;
  padding: 32px 0;
}
footer .container {
  padding: 0 20px;
}
footer .content-wrapper {
  display: flex;
  flex-direction: column;
  gap: 22px;
  align-items: flex-start;
  font-size: .97rem;
}
footer nav {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-bottom: 4px;
}
footer nav a {
  color: #315061;
  font-family: 'Montserrat', Georgia, serif;
  font-size: .97rem;
  border-bottom: 1px solid transparent;
  font-weight: 600;
  transition: border-color .2s, color .2s;
}
footer nav a:hover, footer nav a:focus {
  border-bottom: 1px solid #E6B957;
  color: #244F63;
}
footer .contact-info,
footer .address-info {
  color: #59727F;
  display: flex;
  flex-direction: row;
  gap: 8px;
  align-items: center;
  font-size: .94rem;
}
footer .address-info { gap: 5px; }
footer .contact-info img {
  height: 18px;
  width: 18px;
  margin-right: 3px;
  vertical-align: middle;
}
footer .social-links {
  display: flex;
  flex-direction: row;
  gap: 22px;
  margin-top: 10px;
}
footer .social-links img {
  width: 25px; height: 25px;
  filter: grayscale(40%);
  transition: filter .18s, transform .15s;
  cursor: pointer;
}
footer .social-links img:hover, footer .social-links img:focus {
  filter: grayscale(0%);
  transform: scale(1.2);
}
@media (max-width: 768px) {
  footer .content-wrapper {
    gap: 15px;
  }
  footer nav {
    gap: 10px;
    flex-wrap: wrap;
  }
  footer .contact-info, footer .address-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  footer .social-links {
    gap: 14px;
  }
}

/* ========================== */
/*    SPACING/SECTION RULES   */
/* ========================== */
section {
  margin-bottom: 60px;
  padding: 40px 20px;
}
section:last-child {
  margin-bottom: 0;
}

/* ========================== */
/*      ADDRESS INFO          */
/* ========================== */
.address-info {
  font-size: .96rem;
  color: #315061;
  margin-top: 8px;
}

/* ========================== */
/*      CONTACT PAGE          */
/* ========================== */
.contact-info {
  display: flex;
  flex-direction: row;
  gap: 7px;
  align-items: center;
  font-size: 1rem;
  color: #386886;
  margin-bottom: 9px;
  flex-wrap: wrap;
}
.operating-hours {
  font-size: .97rem;
  color: #315061;
  margin-top: 5px;
  font-family: 'Montserrat', Georgia, serif;
}
@media (max-width: 768px) {
  .contact-info {
    flex-direction: column;
    gap: 3px;
    align-items: flex-start;
  }
}

/* ========================== */
/*      COOKIE CONSENT        */
/* ========================== */
.cookie-consent-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: #244F63;
  color: #F4FAFC;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 22px 32px;
  z-index: 9999;
  font-size: 1.07rem;
  box-shadow: 0 -4px 24px 0 rgba(36,79,99,.16);
  animation: cookie-slide-in .58s cubic-bezier(.4,0,.2,1);
}
@keyframes cookie-slide-in {
  from { transform: translateY(100%); opacity: 0.4; }
  to   { transform: translateY(0); opacity: 1; }
}
.cookie-consent-banner .cookie-buttons {
  display: flex;
  gap: 12px;
}
.cookie-consent-banner button {
  font-family: 'Montserrat', Georgia, serif;
  font-weight: 600;
  border: none;
  border-radius: 15px;
  padding: 10px 22px;
  font-size: .95rem;
  cursor: pointer;
  transition: background .16s, color .16s, transform .18s;
  margin-left: 0;
}
.cookie-btn-accept {
  background: #E6B957;
  color: #244F63;
}
.cookie-btn-accept:hover, .cookie-btn-accept:focus {
  background: #fff2d2;
  color: #244F63;
}
.cookie-btn-reject {
  background: transparent;
  color: #F4FAFC;
  border: 1.5px solid #E6B957;
}
.cookie-btn-reject:hover, .cookie-btn-reject:focus {
  background: #E6B957;
  color: #244F63;
}
.cookie-btn-settings {
  background: #fff;
  color: #244F63;
}
.cookie-btn-settings:hover, .cookie-btn-settings:focus {
  background: #E6B957;
  color: #244F63;
}

/* COOKIES MODAL */
.cookie-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(36,79,99,0.52);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  animation: modal-fade-in .35s cubic-bezier(.4, 0, .2, 1);
}
@keyframes modal-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}
.cookie-modal {
  background: #FAFAF7;
  border-radius: 25px;
  box-shadow: 0 12px 42px 0 rgba(36,79,99,0.18);
  max-width: 410px;
  width: 96vw;
  padding: 41px 28px 28px 28px;
  color: #244F63;
  display: flex;
  flex-direction: column;
  gap: 22px;
  position: relative;
  font-size: 1.08rem;
}
.cookie-modal h2 {
  font-size: 1.25rem;
  font-family: 'Montserrat', serif;
  margin-bottom: 16px;
  color: #244F63;
}
.cookie-categories {
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.cookie-category {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 11px;
}
.cookie-category input[type="checkbox"] {
  width: 19px;
  height: 19px;
  accent-color: #E6B957;
  margin-right: 7px;
}
.cookie-category label {
  font-family: 'Open Sans', serif;
  font-size: 1.03rem;
  color: #244F63;
  margin-left: 2px;
}
/* Essential cookies always enabled */
.cookie-category input[disabled] {
  opacity: 0.6;
}
.cookie-modal .cookie-btn-save {
  margin-top: 20px;
  width: 100%;
  background: #E6B957;
  color: #244F63;
  border-radius: 19px;
  font-weight: 700;
  font-size: 1.09rem;
  border: none;
  padding: 11px 0;
  transition: background .2s, color .2s;
  cursor: pointer;
}
.cookie-modal .cookie-btn-save:hover, .cookie-modal .cookie-btn-save:focus {
  background: #244F63;
  color: #F4FAFC;
}
.cookie-modal .cookie-modal-close {
  position: absolute;
  right: 20px;
  top: 18px;
  background: none;
  border: none;
  font-size: 1.6rem;
  color: #244F63;
  cursor: pointer;
  padding: 0 7px;
  transition: color .21s;
}
.cookie-modal .cookie-modal-close:hover, .cookie-modal .cookie-modal-close:focus {
  color: #E6B957;
}
@media (max-width: 480px) {
  .cookie-consent-banner {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 17px 8px;
    font-size: .97rem;
  }
  .cookie-modal {
    padding: 23px 9px 18px 9px;
  }
}

/* ========================== */
/*        RESPONSIVENESS      */
/* ========================== */
@media (max-width: 1200px) {
  .container { max-width: 992px; }
}
@media (max-width: 1024px) {
  .container { max-width: 98vw; padding: 0 10px; }
  .feature { padding: 24px 14px 18px 14px; }
}
@media (max-width: 768px) {
  h1 { font-size: 1.65rem; }
  h2 { font-size: 1.24rem; }
  .hero { min-height: 190px; padding: 30px 0 20px 0; }
  section { margin-bottom: 44px; padding: 24px 5px; }
  .cta { border-radius: 19px; padding: 23px 0 23px 0; }
}

/* ========================== */
/*         MICRO-LAYOUTS      */
/* ========================== */
ul, ol {
  margin-bottom: 14px;
  margin-top: 0;
}

/* Ensure spacing between all cards */
.card-container > *, .content-grid > *, .feature-grid > *, .testimonials > *, .article-list > *, .article-cards > *, .article-preview-grid > * {
  margin-bottom: 20px;
}

/* Prevent overlapping and interaction issues */
*:focus-visible {
  outline: 2px solid #E6B957;
  outline-offset: 2px;
}

/* ========================== */
/*         OTHER DETAILS      */
/* ========================== */
::-webkit-scrollbar { width: 7px; background: #FAFAF7; }
::-webkit-scrollbar-thumb { background: #E6B95755; border-radius: 8px; }

::selection { background: #E6B95755; color: #244F63; }

/* Hide scroll for modal etc. when open (no grid!) */
body.modal-open {
  overflow: hidden;
}

/* End of CSS */
