/* =====================
   RESET & BASE
===================== */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Georgia', serif;
  font-size: 16px;
  line-height: 1.7;
  color: #222;
  background-color: #f4f4f4;
}

html {
  scroll-behavior: smooth;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* =====================
   HEADER
===================== */
.site-header {
  background-color: #ffffff;
  border-bottom: 1px solid #e0e0e0;
  padding: 14px 0;
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-inner {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.logo-dot {
  color: #d9534f;
  font-size: 10px;
  letter-spacing: 2px;
  line-height: 1;
  display: flex;
  flex-direction: column;
}

.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}

.logo-top {
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1a2f5e;
}

.logo-bottom {
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 15px;
  color: #1a2f5e;
}

.main-nav {
  display: flex;
  gap: 28px;
}

.main-nav a {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #333;
  font-weight: 500;
  transition: color 0.2s;
}

.main-nav a:hover {
  color: #d9534f;
}

.header-icons {
  display: flex;
  gap: 12px;
  font-size: 18px;
  color: #555;
  cursor: pointer;
}

/* =====================
   PAGE WRAPPER
===================== */
.page-wrapper {
  max-width: 1100px;
  margin: 30px auto;
  padding: 0 20px;
}

.content-grid {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 28px;
  align-items: start;
}

/* =====================
   MAIN CONTENT
===================== */
.main-content {
  background: #ffffff;
  border-radius: 6px;
  padding: 36px 40px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.eyebrow-label {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #d9534f;
  margin-bottom: 16px;
}

.article-title {
  font-family: 'Georgia', serif;
  font-size: 32px;
  font-weight: 700;
  color: #1a1a1a;
  line-height: 1.35;
  margin-bottom: 14px;
}

.article-subtitle {
  font-size: 16px;
  color: #444;
  margin-bottom: 10px;
  line-height: 1.6;
}

.article-subtitle-strong {
  font-size: 20px;
  font-weight: 700;
  color: #1a2f5e;
  margin-bottom: 20px;
}

.byline {
  font-family: 'Arial', sans-serif;
  font-size: 13px;
  color: #666;
  margin-bottom: 20px;
}

.article-image {
  margin-bottom: 20px;
  border-radius: 4px;
  overflow: hidden;
}

.article-image img {
  width: 100%;
  height: 320px;
  object-fit: cover;
}

.article-image-link {
  display: block;
  margin: 22px 0;
  overflow: hidden;
  border-radius: 6px;
}

.article-image-link img {
  width: 100%;
  border-radius: 6px;
}

.hero-image img {
  box-shadow: 0 12px 30px rgba(26,47,94,0.14);
}

/* =====================
   CTA BUTTONS
===================== */
.cta-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background-color: #d9534f;
  color: #ffffff;
  font-family: 'Arial', sans-serif;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 20px;
  border-radius: 4px;
  text-align: center;
  margin: 20px 0;
  transition: background-color 0.2s;
  cursor: pointer;
}

.cta-button:hover {
  background-color: #c0392b;
  color: #fff;
}

.cta-icon {
  font-size: 13px;
}

.cta-small {
  font-size: 13px;
  padding: 10px 16px;
  margin: 12px 0 0 0;
}

.cta-caption {
  font-size: 12px;
  color: #777;
  text-align: center;
  margin-top: -12px;
  margin-bottom: 20px;
  font-style: italic;
}

/* =====================
   SECTION HEADINGS
===================== */
.section-heading {
  font-family: 'Georgia', serif;
  font-size: 19px;
  font-weight: 700;
  color: #1a1a1a;
  margin: 28px 0 12px;
}

/* =====================
   SYMPTOM LIST
===================== */
.symptom-list {
  list-style: none;
  margin: 14px 0 20px;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.symptom-list li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 15px;
  color: #333;
}

.check {
  color: #d9534f;
  font-size: 14px;
  margin-top: 3px;
  flex-shrink: 0;
}

/* =====================
   HIGHLIGHT BOXES
===================== */
.highlight-box {
  border-left: 4px solid;
  padding: 14px 18px;
  margin: 22px 0;
  border-radius: 0 4px 4px 0;
  font-size: 15px;
  line-height: 1.6;
  font-style: italic;
  color: #333;
}

.highlight-box.yellow {
  background-color: #fffbea;
  border-color: #f0c040;
}

.highlight-box.blue {
  background-color: #eef4fb;
  border-color: #2980b9;
}

/* =====================
   QUOTE ICON
===================== */
.quote-icon {
  font-size: 52px;
  color: #1a2f5e;
  text-align: center;
  margin: 10px 0 0;
  line-height: 1;
}

.testimonial-featured {
  padding: 22px;
  background: #f8fafc;
  border: 1px solid #dfe7f3;
  border-radius: 8px;
  margin-top: 18px;
}

/* =====================
   TESTIMONIAL
===================== */
.testimonial-block {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 16px 0 10px;
}

.testimonial-avatar img {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

.testimonial-info {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #333;
}

.testimonial-quote {
  font-style: italic;
  color: #444;
  margin-bottom: 16px;
  font-size: 15px;
}

/* =====================
   TESTIMONIALS GRID
===================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 28px;
}

.testi-card {
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  padding: 18px;
  background: #fafafa;
}

.testi-card:last-child {
  grid-column: 1 / -1;
}

.testi-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.testi-header img {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid #ddd;
}

.testi-header div {
  font-family: 'Arial', sans-serif;
  font-size: 13px;
  color: #333;
}

.testi-card p {
  font-style: italic;
  font-size: 14px;
  color: #555;
  line-height: 1.6;
}

.faq-section {
  margin-top: 40px;
}

.faq-item {
  border-bottom: 1px solid #e6e6e6;
}

.faq-item:first-of-type {
  border-top: 1px solid #e6e6e6;
}

.faq-item summary {
  font-family: 'Arial', sans-serif;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.4;
  color: #1a1a1a;
  padding: 18px 42px 18px 0;
  cursor: pointer;
  list-style: none;
  position: relative;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  position: absolute;
  right: 2px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #eef4fb;
  color: #1a2f5e;
  display: grid;
  place-items: center;
  font-family: 'Arial', sans-serif;
  font-size: 20px;
  line-height: 1;
}

.faq-item[open] summary::after {
  content: "-";
  background: #d9534f;
  color: #ffffff;
}

.faq-item summary:focus-visible {
  outline: 2px solid #2980b9;
  outline-offset: 4px;
}

.faq-item p {
  color: #444;
  padding: 0 42px 20px 0;
}

.final-cta {
  margin-top: 42px;
  padding: 28px;
  background: linear-gradient(180deg, #f9fbff 0%, #eef4fb 100%);
  border: 1px solid #dbe6f4;
  border-radius: 8px;
}

/* =====================
   SIDEBAR
===================== */
.sidebar {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.sidebar-card {
  background: #ffffff;
  border-radius: 6px;
  padding: 20px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.sidebar-card.featured {
  background-color: #f5f8e8;
  border: 1px solid #dde8b0;
}

.sidebar-card.related {
  background-color: #f5f8e8;
  border: 1px solid #dde8b0;
}

.sidebar-title {
  font-family: 'Georgia', serif;
  font-size: 16px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 14px;
}

.sidebar-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.sidebar-list li {
  font-family: 'Arial', sans-serif;
  font-size: 14px;
  color: #333;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.sidebar-check {
  color: #5a9e3a;
  font-size: 13px;
  margin-top: 2px;
  flex-shrink: 0;
}

.related-item {
  padding: 10px 0;
}

.related-headline {
  font-family: 'Georgia', serif;
  font-size: 14px;
  font-weight: 700;
  color: #1a1a1a;
  margin-bottom: 4px;
  line-height: 1.4;
}

.related-meta {
  font-family: 'Arial', sans-serif;
  font-size: 12px;
  color: #888;
}

.sidebar-card hr {
  border: none;
  border-top: 1px solid #ddd;
  margin: 0;
}

/* =====================
   SIDEBAR PROMO
===================== */
.sidebar-promo {
  background-color: #1a2f5e;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 1px 4px rgba(0,0,0,0.12);
}

.sidebar-promo-img {
  width: 100%;
  height: 200px;
  object-fit: cover;
}

.sidebar-promo-link {
  display: block;
}

.sidebar-promo-body {
  padding: 18px;
  color: #fff;
}

.sidebar-promo-body h3 {
  font-family: 'Georgia', serif;
  font-size: 18px;
  font-weight: 700;
  margin-bottom: 10px;
  line-height: 1.3;
}

.sidebar-promo-body p {
  font-size: 13px;
  line-height: 1.5;
  color: #ccd6f0;
  margin-bottom: 4px;
}

/* =====================
   FOOTER
===================== */
.site-footer {
  background-color: #1a2f5e;
  color: #ccd6f0;
  padding: 40px 20px 30px;
  margin-top: 50px;
}

.footer-inner {
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-dot {
  color: #d9534f;
}

.footer-logo .logo-top,
.footer-logo .logo-bottom {
  color: #ffffff;
}

.footer-tagline {
  font-size: 14px;
  color: #aab8d4;
}

.footer-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-family: 'Arial', sans-serif;
  font-size: 13px;
  color: #aab8d4;
}

.footer-nav a {
  color: #ccd6f0;
  transition: color 0.2s;
}

.footer-nav a:hover {
  color: #fff;
}

.footer-nav span {
  color: #555f7a;
}

.footer-copy {
  font-size: 12px;
  color: #6677a0;
}

.footer-disclaimer {
  font-size: 12px;
  color: #90a1c7;
  max-width: 620px;
}

/* =====================
   SUBPAGES
===================== */
.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

.subpage-header {
  background-color: #1a2f5e;
  color: #ffffff;
  padding: 44px 0;
  border-bottom: 4px solid #d9534f;
}

.subpage-header h1 {
  font-family: 'Georgia', serif;
  font-size: 34px;
  line-height: 1.25;
}

.subpage-body {
  max-width: 860px;
  margin: 34px auto 0;
  padding: 34px 40px;
  background: #ffffff;
  border-radius: 6px;
  box-shadow: 0 1px 4px rgba(0,0,0,0.08);
}

.subpage-body h2 {
  font-family: 'Georgia', serif;
  font-size: 22px;
  line-height: 1.3;
  color: #1a2f5e;
  margin: 26px 0 10px;
}

.subpage-body p {
  margin-bottom: 16px;
  color: #333;
}

.subpage-body a {
  color: #1a2f5e;
  font-weight: 700;
}

.subpage-body a:hover {
  color: #d9534f;
}

.back-link {
  display: inline-flex;
  align-items: center;
  margin-top: 18px;
  font-family: 'Arial', sans-serif;
  font-size: 14px;
}

.footer {
  background-color: #1a2f5e;
  color: #ccd6f0;
  padding: 28px 20px;
  margin-top: 48px;
  text-align: center;
}

.footer__nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  font-family: 'Arial', sans-serif;
  font-size: 13px;
}

.footer__nav a {
  color: #ccd6f0;
}

.footer__nav a:hover {
  color: #ffffff;
}

.footer__sep {
  color: #6677a0;
}

/* =====================
   RESPONSIVE
===================== */
@media (max-width: 800px) {
  .site-header {
    position: static;
    padding: 10px 0;
  }

  .header-inner {
    padding: 0 14px;
    gap: 12px;
  }

  .content-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .page-wrapper {
    margin: 16px auto 24px;
    padding: 0 12px;
  }

  .sidebar {
    order: 2;
  }

  .main-content {
    order: 1;
    padding: 20px 16px;
    border-radius: 0;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
  }

  .testi-card:last-child {
    grid-column: auto;
  }

  .main-nav {
    display: none;
  }

  .header-icons {
    display: none;
  }

  .logo-top,
  .logo-bottom {
    font-size: 14px;
  }

  .article-title {
    font-size: 26px;
    line-height: 1.28;
  }

  .article-subtitle-strong {
    font-size: 18px;
    line-height: 1.45;
  }

  .eyebrow-label {
    font-size: 11px;
    margin-bottom: 12px;
  }

  .section-heading {
    font-size: 22px;
    line-height: 1.3;
  }

  .cta-button {
    width: 100%;
    padding: 14px 16px;
    font-size: 14px;
    line-height: 1.45;
  }

  .article-image-link {
    margin: 18px 0;
  }

  .article-image-link img,
  .hero-image img,
  .sidebar-promo-img {
    height: auto;
  }

  .highlight-box,
  .testimonial-featured,
  .final-cta,
  .sidebar-card,
  .sidebar-promo-body {
    padding-left: 16px;
    padding-right: 16px;
  }

  .testimonial-block,
  .testi-header {
    align-items: flex-start;
  }

  .faq-item summary {
    font-size: 17px;
    line-height: 1.4;
    padding: 16px 38px 16px 0;
  }

  .final-cta {
    padding: 22px 18px;
  }

  .container {
    padding: 0 16px;
  }

  .subpage-header {
    padding: 32px 0;
  }

  .subpage-header h1 {
    font-size: 28px;
  }

  .subpage-body {
    margin-top: 18px;
    padding: 24px 18px;
    border-radius: 0;
  }

  .subpage-body h2 {
    font-size: 20px;
  }
}

@media (max-width: 480px) {
  .page-wrapper {
    margin-top: 12px;
    padding: 0 10px;
  }

  .main-content {
    padding: 18px 14px;
  }

  .article-title {
    font-size: 23px;
  }

  .article-subtitle-strong {
    font-size: 17px;
  }

  .section-heading {
    font-size: 20px;
  }

  .symptom-list li,
  .testi-card p,
  .testimonial-quote,
  .faq-item p {
    font-size: 14px;
  }

  .faq-item p {
    padding-right: 34px;
  }
}
