
:root {
  --green: #1a3d2b;
  --green-mid: #2d6a4f;
  --green-light: #52b788;
  --cream: #f8f4ec;
  --cream-dark: #ede8de;
  --sand: #d4a853;
  --text: #1c1c1c;
  --text-muted: #5a5a5a;
  --white: #ffffff;
  --radius: 4px;
  --shadow: 0 2px 20px rgba(0,0,0,0.08);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
  font-family: 'Source Serif 4', Georgia, serif;
  background: var(--cream);
  color: var(--text);
  font-size: 18px;
  line-height: 1.75;
}


.card-img img, .featured-img img, .article-hero-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.card-img { overflow: hidden; padding: 0; }
.featured-img { overflow: hidden; padding: 0; }
.article-hero-img { overflow: hidden; padding: 0; font-size: 0; }

/* ===== PAGES ===== */
.page { display: none; }
.page.active { display: block; }

/* ===== NAV ===== */
header {
  background: var(--green);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 2px 12px rgba(0,0,0,0.2);
}

.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}

.logo {
  font-family: 'Playfair Display', serif;
  font-size: 28px;
  font-weight: 900;
  color: var(--white);
  cursor: pointer;
  letter-spacing: -0.5px;
}

.logo span { color: var(--green-light); }

nav { display: flex; gap: 6px; flex-wrap: wrap; }

nav a {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 500;
  color: rgba(255,255,255,0.82);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 3px;
  transition: all 0.2s;
  cursor: pointer;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

nav a:hover, nav a.active {
  background: rgba(255,255,255,0.12);
  color: var(--white);
}

/* ===== HERO ===== */
.hero {
  background: var(--green);
  padding: 80px 24px 90px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 30% 50%, rgba(82,183,136,0.15) 0%, transparent 70%),
              radial-gradient(ellipse at 80% 20%, rgba(212,168,83,0.1) 0%, transparent 60%);
}

.hero-inner { position: relative; max-width: 760px; margin: 0 auto; }

.hero-tag {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-light);
  border: 1px solid rgba(82,183,136,0.4);
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 24px;
}

.hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(38px, 6vw, 68px);
  font-weight: 900;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 20px;
}

.hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.6;
}

.btn-primary {
  display: inline-block;
  font-family: 'DM Sans', sans-serif;
  font-size: 15px;
  font-weight: 600;
  background: var(--sand);
  color: var(--green);
  padding: 14px 32px;
  border-radius: 3px;
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
  border: none;
  text-decoration: none;
}

.btn-primary:hover { background: #e0b75e; transform: translateY(-1px); }

/* ===== AD PLACEHOLDER ===== */
.ad-banner {
  background: var(--cream-dark);
  border: 2px dashed #c5bfb3;
  text-align: center;
  padding: 28px;
  margin: 32px 0;
  border-radius: var(--radius);
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  color: #999;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ad-banner-wide { max-width: 728px; margin: 32px auto; }
.ad-banner-rect { max-width: 336px; }

/* ===== MAIN LAYOUT ===== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.content-grid { display: grid; grid-template-columns: 1fr 320px; gap: 48px; padding: 56px 0; }
.main-content { min-width: 0; }

/* ===== SECTION HEADING ===== */
.section-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 32px;
}

.section-heading h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--green);
}

.section-line {
  flex: 1;
  height: 1px;
  background: var(--cream-dark);
}

/* ===== ARTICLE CARDS ===== */
.article-card {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 24px;
  padding: 28px 0;
  border-bottom: 1px solid var(--cream-dark);
  cursor: pointer;
  transition: opacity 0.2s;
}

.article-card:hover { opacity: 0.8; }

.article-card:first-child { padding-top: 0; }

.card-img {
  width: 200px;
  height: 140px;
  border-radius: var(--radius);
  object-fit: cover;
  background: linear-gradient(135deg, var(--green-mid), var(--green-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 40px;
  flex-shrink: 0;
}

.card-meta {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 8px;
}

.card-title {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 10px;
  line-height: 1.3;
}

.card-excerpt {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.6;
}

.card-author {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 10px;
}

/* ===== FEATURED ===== */
.featured-card {
  background: var(--white);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 40px;
  box-shadow: var(--shadow);
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
}

.featured-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }

.featured-img {
  height: 320px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 60%, var(--green-light) 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 80px;
}

.featured-body { padding: 32px; }

.featured-body .card-meta { margin-bottom: 12px; }

.featured-body .card-title {
  font-size: 28px;
  margin-bottom: 14px;
}

/* ===== SIDEBAR ===== */
.sidebar {}

.sidebar-widget {
  background: var(--white);
  border-radius: 6px;
  padding: 28px;
  margin-bottom: 28px;
  box-shadow: var(--shadow);
}

.widget-title {
  font-family: 'Playfair Display', serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 20px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--cream-dark);
}

.sidebar-list { list-style: none; }

.sidebar-list li {
  display: flex;
  gap: 12px;
  padding: 10px 0;
  border-bottom: 1px solid var(--cream-dark);
  cursor: pointer;
  transition: opacity 0.2s;
}

.sidebar-list li:hover { opacity: 0.7; }
.sidebar-list li:last-child { border-bottom: none; }

.sidebar-num {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 900;
  color: var(--cream-dark);
  line-height: 1;
  flex-shrink: 0;
  width: 30px;
}

.sidebar-text {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  line-height: 1.4;
}

.category-pills { display: flex; flex-wrap: wrap; gap: 8px; }

.pill {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  background: var(--cream);
  color: var(--green);
  cursor: pointer;
  transition: all 0.2s;
  letter-spacing: 0.3px;
}

.pill:hover { background: var(--green); color: var(--white); }

/* ===== ARTICLE PAGE ===== */
.article-layout {
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 56px;
  padding: 56px 0;
}

.article-header { margin-bottom: 36px; }

.article-header .card-meta { font-size: 12px; margin-bottom: 14px; }

.article-header h1 {
  font-family: 'Playfair Display', serif;
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--green);
  line-height: 1.2;
  margin-bottom: 20px;
}

.article-byline {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 0;
  border-top: 1px solid var(--cream-dark);
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 32px;
}

.author-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.byline-info { font-family: 'DM Sans', sans-serif; }
.byline-name { font-weight: 600; font-size: 15px; color: var(--text); }
.byline-date { font-size: 13px; color: var(--text-muted); }

.article-hero-img {
  width: 100%;
  height: 420px;
  background: linear-gradient(135deg, var(--green) 0%, var(--green-mid) 50%, var(--green-light) 100%);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 100px;
  margin-bottom: 36px;
}

.article-body h2 {
  font-family: 'Playfair Display', serif;
  font-size: 26px;
  font-weight: 700;
  color: var(--green);
  margin: 40px 0 16px;
}

.article-body h3 {
  font-family: 'Playfair Display', serif;
  font-size: 21px;
  font-weight: 700;
  color: var(--text);
  margin: 30px 0 12px;
}

.article-body p { margin-bottom: 20px; }

.article-body ul, .article-body ol {
  margin: 20px 0 20px 24px;
}

.article-body li { margin-bottom: 10px; }

.article-body strong { color: var(--green); }

.article-disclaimer {
  background: #f0f7f4;
  border-left: 4px solid var(--green-light);
  padding: 20px 24px;
  border-radius: 0 4px 4px 0;
  font-size: 14px;
  color: var(--text-muted);
  margin: 32px 0;
  font-family: 'DM Sans', sans-serif;
  line-height: 1.6;
}

.article-disclaimer strong { color: var(--green-mid); font-size: 13px; text-transform: uppercase; letter-spacing: 0.5px; }

.key-takeaways {
  background: var(--green);
  color: var(--white);
  border-radius: 6px;
  padding: 28px 32px;
  margin: 36px 0;
}

.key-takeaways h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--green-light);
  margin-bottom: 16px;
}

.key-takeaways ul { margin-left: 20px; }

.key-takeaways li {
  color: rgba(255,255,255,0.88);
  font-size: 16px;
  margin-bottom: 8px;
}

.author-box {
  background: var(--white);
  border-radius: 6px;
  padding: 32px;
  margin-top: 48px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 24px;
  align-items: flex-start;
}

.author-box-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  flex-shrink: 0;
}

.author-box h4 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.author-box .credentials {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  color: var(--green-light);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.author-box p { font-size: 15px; color: var(--text-muted); line-height: 1.6; }

/* ===== ABOUT PAGE ===== */
.about-hero {
  background: var(--green);
  padding: 72px 24px;
  text-align: center;
}

.about-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 48px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 16px;
}

.about-hero p {
  font-size: 19px;
  color: rgba(255,255,255,0.72);
  max-width: 540px;
  margin: 0 auto;
}

.about-content {
  max-width: 760px;
  margin: 56px auto;
  padding: 0 24px;
}

.about-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 30px;
  font-weight: 700;
  color: var(--green);
  margin: 40px 0 16px;
}

.about-content p { margin-bottom: 20px; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 28px;
  margin: 40px 0;
}

.team-card {
  background: var(--white);
  border-radius: 6px;
  padding: 28px 24px;
  text-align: center;
  box-shadow: var(--shadow);
}

.team-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 36px;
  background: var(--green);
}

.team-card h4 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 4px;
}

.team-card .role {
  font-family: 'DM Sans', sans-serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--green-light);
  margin-bottom: 12px;
}

.team-card p { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ===== STATIC PAGES ===== */
.static-hero {
  background: var(--green);
  padding: 56px 24px;
  text-align: center;
}

.static-hero h1 {
  font-family: 'Playfair Display', serif;
  font-size: 40px;
  font-weight: 900;
  color: var(--white);
  margin-bottom: 10px;
}

.static-hero p {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  color: rgba(255,255,255,0.6);
}

.static-content {
  max-width: 760px;
  margin: 56px auto;
  padding: 0 24px 80px;
}

.static-content h2 {
  font-family: 'Playfair Display', serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--green);
  margin: 36px 0 14px;
}

.static-content h3 {
  font-family: 'Playfair Display', serif;
  font-size: 19px;
  font-weight: 700;
  color: var(--text);
  margin: 24px 0 10px;
}

.static-content p { margin-bottom: 18px; }
.static-content ul { margin: 12px 0 18px 24px; }
.static-content li { margin-bottom: 8px; }

/* ===== CONTACT ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 56px;
  max-width: 900px;
  margin: 56px auto;
  padding: 0 24px 80px;
}

.contact-form label {
  display: block;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--cream-dark);
  border-radius: var(--radius);
  font-family: 'Source Serif 4', serif;
  font-size: 16px;
  background: var(--white);
  color: var(--text);
  margin-bottom: 20px;
  outline: none;
  transition: border-color 0.2s;
}

.contact-form input:focus,
.contact-form textarea:focus { border-color: var(--green-light); }

.contact-form textarea { height: 150px; resize: vertical; }

.contact-info h3 {
  font-family: 'Playfair Display', serif;
  font-size: 22px;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 16px;
}

.contact-info p { font-size: 15px; color: var(--text-muted); margin-bottom: 16px; }

.info-row {
  display: flex;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 15px;
}

.info-icon { font-size: 18px; }

/* ===== FOOTER ===== */
footer {
  background: var(--green);
  color: rgba(255,255,255,0.7);
  padding: 56px 24px 32px;
}

.footer-inner {
  max-width: 1200px;
  margin: 0 auto;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: 40px;
  margin-bottom: 48px;
}

.footer-brand .logo { font-size: 24px; margin-bottom: 14px; cursor: default; }
.footer-brand p { font-size: 14px; line-height: 1.7; max-width: 260px; }

.footer-col h4 {
  font-family: 'DM Sans', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul { list-style: none; }

.footer-col li {
  font-family: 'DM Sans', sans-serif;
  font-size: 14px;
  margin-bottom: 10px;
  cursor: pointer;
  transition: color 0.2s;
}

.footer-col li:hover { color: var(--white); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
}

.footer-links { display: flex; gap: 24px; }
.footer-links span { cursor: pointer; transition: color 0.2s; }
.footer-links span:hover { color: var(--white); }

/* ===== MEDICAL DISCLAIMER BANNER ===== */
.disclaimer-banner {
  background: #fffbf0;
  border-bottom: 1px solid #e8dfc8;
  padding: 10px 24px;
  text-align: center;
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: #7a6840;
}

/* ===== BREADCRUMB ===== */
.breadcrumb {
  font-family: 'DM Sans', sans-serif;
  font-size: 13px;
  color: var(--text-muted);
  padding: 16px 0;
  border-bottom: 1px solid var(--cream-dark);
  margin-bottom: 32px;
}

.breadcrumb span { cursor: pointer; color: var(--green-mid); }
.breadcrumb span:hover { text-decoration: underline; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .content-grid, .article-layout { grid-template-columns: 1fr; }
  .sidebar { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .contact-grid { grid-template-columns: 1fr; }
  .article-card { grid-template-columns: 1fr; }
  .card-img { width: 100%; height: 200px; }
}

@media (max-width: 600px) {
  nav a { font-size: 11px; padding: 5px 8px; }
  .footer-grid { grid-template-columns: 1fr; }
  .hero h1 { font-size: 32px; }
  .author-box { flex-direction: column; }
}

/* Multi-page overrides */
.page { display: block !important; }

/* Multi-page link fixes */
.logo { text-decoration: none; }
footer a { color: rgba(255,255,255,0.7); text-decoration: none; transition: color 0.2s; }
footer a:hover { color: #fff; }
.footer-bottom a { color: rgba(255,255,255,0.7); }
.footer-bottom a:hover { color: #fff; }
.breadcrumb a { color: var(--green-mid); text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.article-card { text-decoration: none; color: inherit; }
.featured-card { text-decoration: none; color: inherit; }
.card-title { color: var(--text); }
a.article-card:hover { opacity: 0.85; }
a.featured-card:hover { transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,0,0,0.12); }
nav a { text-decoration: none; }
nav a.active { background: rgba(255,255,255,0.12); color: #fff; }
