/**
 * assets/css/pcos-myths-guide.css
 * Dedicated Scoped Stylesheet for PCOS & PCOD Myths vs Facts Guide
 * PCOS Ferticure Clinic — PF-256
 */

:root {
  --myths-plum: #4A154B;
  --myths-plum-dark: #2E0D30;
  --myths-plum-light: #FBF0F6;
  --myths-pink: #AE236B;
  --myths-pink-hover: #8C1C56;
  --myths-rose: #FFF5F9;
  --myths-rose-light: #FDF2F7;
  --myths-teal: #0F766E;
  --myths-teal-light: #F0FDFA;
  --myths-text: #2C3E50;
  --myths-text-muted: #5A6B7C;
  --myths-border: #E8D5E0;
  --myths-border-light: #F2E8EE;
  --myths-surface: #FFFFFF;
  --myths-green: #2E7D32;
  --myths-green-bg: #E8F5E9;
  --myths-amber: #E65100;
  --myths-amber-bg: #FFF3E0;
  --myths-red: #C62828;
  --myths-red-bg: #FFEBEE;
  --myths-blue: #1565C0;
  --myths-blue-bg: #E3F2FD;
  --myths-radius-sm: 8px;
  --myths-radius-md: 14px;
  --myths-radius-lg: 20px;
  --myths-shadow-sm: 0 2px 8px rgba(74, 21, 75, 0.06);
  --myths-shadow-md: 0 6px 20px rgba(74, 21, 75, 0.08);
  --myths-shadow-lg: 0 12px 32px rgba(74, 21, 75, 0.12);
}

.myths-guide-page {
  font-family: var(--font-sans, "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  color: var(--myths-text);
  line-height: 1.7;
  background: #FFF;
  overflow-x: clip;
  word-wrap: break-word;
}

.myths-guide-shell {
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Full-Width Hero Banner */
.myths-full-banner {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #FDF2F7;
  margin-bottom: 24px;
  line-height: 0;
}

.myths-banner-img {
  width: 100%;
  height: auto;
  max-height: 520px;
  object-fit: cover;
  object-position: center;
  display: block;
}

/* Hero Header & Badges */
.myths-hero-content {
  margin-bottom: 32px;
}

.myths-badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 14px;
}

.myths-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  background: var(--myths-plum-light);
  color: var(--myths-pink);
  border: 1px solid var(--myths-border);
}

.myths-badge-teal {
  background: var(--myths-teal-light);
  color: var(--myths-teal);
  border-color: #99F6E4;
}

.myths-badge-green {
  background: var(--myths-green-bg);
  color: var(--myths-green);
  border-color: #C8E6C9;
}

.myths-h1 {
  font-size: clamp(1.85rem, 4vw, 2.65rem);
  font-weight: 800;
  line-height: 1.25;
  color: var(--myths-plum-dark);
  margin: 0 0 16px;
  letter-spacing: -0.02em;
}

.myths-intro {
  font-size: 1.125rem;
  line-height: 1.75;
  color: var(--myths-text);
  margin-bottom: 20px;
}

.myths-meta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 28px;
  padding: 14px 20px;
  background: var(--myths-rose);
  border: 1px solid var(--myths-border);
  border-radius: var(--myths-radius-md);
  font-size: 0.875rem;
  color: var(--myths-text-muted);
  margin-bottom: 20px;
}

.myths-meta-item strong {
  color: var(--myths-plum-dark);
}

.myths-clinical-notice {
  background: #FFF8E1;
  border-left: 4px solid #FFA000;
  padding: 14px 18px;
  border-radius: 0 var(--myths-radius-sm) var(--myths-radius-sm) 0;
  font-size: 0.9375rem;
  line-height: 1.6;
  color: #5D4037;
  margin-bottom: 32px;
}

/* Quick Answer Cards (4 Cards) */
.myths-qa-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--myths-plum-dark);
  margin-bottom: 18px;
}

.myths-qa-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 18px;
  margin-bottom: 36px;
}

.myths-qa-card {
  background: #FFF;
  border: 1px solid var(--myths-border);
  border-radius: var(--myths-radius-md);
  padding: 20px;
  box-shadow: var(--myths-shadow-sm);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  position: relative;
  overflow: hidden;
}

.myths-qa-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, var(--myths-pink), var(--myths-teal));
}

.myths-qa-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--myths-shadow-md);
}

.myths-qa-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--myths-plum-light);
  color: var(--myths-pink);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
  font-weight: 800;
  font-size: 1.1rem;
}

.myths-qa-q {
  font-size: 1rem;
  font-weight: 700;
  color: var(--myths-plum-dark);
  margin: 0 0 10px;
  line-height: 1.4;
}

.myths-qa-a {
  font-size: 0.9375rem;
  line-height: 1.6;
  color: var(--myths-text);
  margin: 0;
}

/* Table of Contents */
.myths-toc-card {
  background: var(--myths-plum-light);
  border: 2px solid var(--myths-border);
  border-radius: var(--myths-radius-lg);
  padding: 28px 24px;
  margin-bottom: 44px;
}

.myths-toc-heading {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--myths-plum-dark);
  margin: 0 0 20px;
  padding-bottom: 14px;
  border-bottom: 2px solid var(--myths-border);
}

.myths-toc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

@media (max-width: 768px) {
  .myths-toc-grid {
    grid-template-columns: 1fr;
  }
}

.myths-toc-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9375rem;
  line-height: 1.5;
}

.myths-toc-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 26px;
  height: 26px;
  border-radius: 50%;
  background: var(--myths-pink);
  color: #FFF;
  font-size: 0.75rem;
  font-weight: 700;
  margin-top: 2px;
  flex-shrink: 0;
}

.myths-toc-link {
  color: var(--myths-plum-dark);
  text-decoration: none;
  font-weight: 600;
  transition: color 0.15s ease;
}

.myths-toc-link:hover {
  color: var(--myths-pink);
  text-decoration: underline;
}

/* Content Sections */
.myths-section {
  margin-bottom: 48px;
  scroll-margin-top: 80px;
}

.myths-section-title {
  font-size: clamp(1.4rem, 2.8vw, 1.85rem);
  font-weight: 800;
  color: var(--myths-plum-dark);
  line-height: 1.35;
  margin: 0 0 16px;
  padding-bottom: 10px;
  border-bottom: 2px solid var(--myths-border-light);
  display: flex;
  align-items: center;
  gap: 12px;
}

.myths-section-num {
  color: var(--myths-pink);
  font-size: 1.15rem;
  font-weight: 800;
  background: var(--myths-plum-light);
  padding: 2px 10px;
  border-radius: var(--myths-radius-sm);
  border: 1px solid var(--myths-border);
}

.myths-para {
  font-size: 1.03125rem;
  line-height: 1.75;
  color: var(--myths-text);
  margin-bottom: 18px;
}

.myths-para a {
  color: var(--myths-pink);
  text-decoration: underline;
  text-underline-offset: 3px;
  font-weight: 600;
  transition: color 0.15s ease;
}

.myths-para a:hover {
  color: var(--myths-plum);
}

/* Myth vs Fact Dedicated Comparison Card */
.myth-vs-fact-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 2px solid var(--myths-border);
  border-radius: var(--myths-radius-md);
  margin: 22px 0 28px;
  overflow: hidden;
  box-shadow: var(--myths-shadow-sm);
}

@media (max-width: 768px) {
  .myth-vs-fact-card {
    grid-template-columns: 1fr;
  }
}

.myth-side {
  background: #FFF5F5;
  padding: 20px 22px;
  border-right: 1px solid var(--myths-border);
}

@media (max-width: 768px) {
  .myth-side {
    border-right: none;
    border-bottom: 1px solid var(--myths-border);
  }
}

.fact-side {
  background: #F0FDF4;
  padding: 20px 22px;
}

.myth-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #FEE2E2;
  color: #B91C1C;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.fact-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: #DCFCE7;
  color: #15803D;
  font-size: 0.8125rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 10px;
}

.myth-statement {
  font-size: 1.05rem;
  font-weight: 700;
  color: #7F1D1D;
  margin: 0 0 10px;
  line-height: 1.45;
}

.fact-statement {
  font-size: 1.05rem;
  font-weight: 700;
  color: #14532D;
  margin: 0 0 10px;
  line-height: 1.45;
}

.myth-explanation, .fact-explanation {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--myths-text);
  margin: 0;
}

.clinical-takeaway-bar {
  grid-column: 1 / -1;
  background: #FFF;
  border-top: 1px solid var(--myths-border);
  padding: 12px 20px;
  font-size: 0.875rem;
  color: var(--myths-text-muted);
  display: flex;
  align-items: center;
  gap: 8px;
}

.clinical-takeaway-bar strong {
  color: var(--myths-plum-dark);
}

/* Case History Card */
.myths-case-box {
  background: #FAF5FF;
  border: 1px solid #E9D5FF;
  border-left: 5px solid var(--myths-pink);
  border-radius: var(--myths-radius-md);
  padding: 22px 24px;
  margin: 24px 0 30px;
}

.myths-case-badge {
  display: inline-block;
  background: var(--myths-plum-light);
  color: var(--myths-pink);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.myths-case-title {
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--myths-plum-dark);
  margin: 0 0 12px;
}

.myths-case-item {
  font-size: 0.9375rem;
  line-height: 1.6;
  margin-bottom: 8px;
  color: var(--myths-text);
}

.myths-case-label {
  font-weight: 700;
  color: var(--myths-plum-dark);
}

/* Responsive Clinical Comparison Tables */
.myths-table-wrapper {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--myths-border);
  border-radius: var(--myths-radius-md);
  box-shadow: var(--myths-shadow-sm);
  background: #FFF;
}

.myths-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9375rem;
}

.myths-table th {
  background: var(--myths-plum-dark);
  color: #FFF;
  font-weight: 700;
  padding: 14px 18px;
  letter-spacing: 0.02em;
  border-bottom: 2px solid var(--myths-pink);
}

.myths-table td {
  padding: 14px 18px;
  border-bottom: 1px solid var(--myths-border-light);
  color: var(--myths-text);
  line-height: 1.6;
  vertical-align: top;
}

.myths-table tr:nth-child(even) td {
  background: #FAFAFA;
}

.myths-table tr:hover td {
  background: var(--myths-rose);
}

/* Summary Matrix Table in Section 21 */
.matrix-myth-cell {
  color: #B91C1C;
  font-weight: 600;
}

.matrix-fact-cell {
  color: #15803D;
  font-weight: 600;
}

/* Clinical Images & Posters */
.myths-img-container {
  margin: 28px 0;
  text-align: center;
}

.myths-img {
  max-width: 100%;
  height: auto;
  border-radius: var(--myths-radius-md);
  border: 1px solid var(--myths-border);
  box-shadow: var(--myths-shadow-sm);
}

.myths-img-caption {
  font-size: 0.875rem;
  color: var(--myths-text-muted);
  margin-top: 8px;
  font-style: italic;
}

/* Interactive Health Tools Section */
.myths-tools-section {
  background: linear-gradient(135deg, #FDF2F7 0%, #F0FDFA 100%);
  border: 2px solid var(--myths-border);
  border-radius: var(--myths-radius-lg);
  padding: 32px 24px;
  margin: 44px 0;
}

.myths-tools-heading {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--myths-plum-dark);
  margin: 0 0 10px;
  text-align: center;
}

.myths-tools-sub {
  font-size: 1rem;
  color: var(--myths-text-muted);
  text-align: center;
  max-width: 680px;
  margin: 0 auto 26px;
}

.myths-tools-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.myths-tool-card {
  background: #FFF;
  border: 1px solid var(--myths-border);
  border-radius: var(--myths-radius-md);
  padding: 18px;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: var(--myths-shadow-sm);
  transition: transform 0.2s ease;
}

.myths-tool-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--myths-shadow-md);
}

.myths-tool-title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--myths-plum-dark);
  margin: 0 0 8px;
}

.myths-tool-desc {
  font-size: 0.875rem;
  color: var(--myths-text-muted);
  margin-bottom: 14px;
  line-height: 1.5;
}

.myths-tool-btn {
  display: inline-block;
  background: var(--myths-pink);
  color: #FFF !important;
  font-size: 0.875rem;
  font-weight: 700;
  padding: 8px 16px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: background 0.15s ease;
}

.myths-tool-btn:hover {
  background: var(--myths-pink-hover);
}

/* FAQ Accordion Section */
.myths-faq-section {
  margin: 44px 0;
}

.myths-faq-heading {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--myths-plum-dark);
  margin: 0 0 20px;
  display: flex;
  align-items: center;
  gap: 10px;
}

.myths-faq-item {
  border: 1px solid var(--myths-border);
  border-radius: var(--myths-radius-md);
  margin-bottom: 14px;
  background: #FFF;
  overflow: hidden;
  box-shadow: var(--myths-shadow-sm);
}

.myths-faq-question {
  width: 100%;
  text-align: left;
  background: #FFF;
  border: none;
  padding: 18px 22px;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--myths-plum-dark);
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 14px;
}

.myths-faq-question:hover {
  background: var(--myths-rose);
}

.myths-faq-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
  color: var(--myths-pink);
  transition: transform 0.25s ease;
}

.myths-faq-answer {
  padding: 0 22px 20px;
  font-size: 0.96875rem;
  line-height: 1.7;
  color: var(--myths-text);
  border-top: 1px solid var(--myths-border-light);
  background: #FDFBFC;
}

/* Doctor Consultation Profile Card */
.myths-doctor-section {
  background: #FFF;
  border: 2px solid var(--myths-border);
  border-radius: var(--myths-radius-lg);
  padding: 32px 28px;
  margin: 48px 0;
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 28px;
  align-items: center;
  box-shadow: var(--myths-shadow-md);
}

@media (max-width: 768px) {
  .myths-doctor-section {
    grid-template-columns: 1fr;
    text-align: center;
  }
}

.myths-doctor-photo {
  width: 180px;
  height: 180px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--myths-pink);
  margin: 0 auto;
}

.myths-doctor-name {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--myths-plum-dark);
  margin: 0 0 6px;
}

.myths-doctor-creds {
  font-size: 0.9375rem;
  font-weight: 700;
  color: var(--myths-pink);
  margin-bottom: 12px;
}

.myths-doctor-bio {
  font-size: 0.96875rem;
  line-height: 1.65;
  color: var(--myths-text);
  margin-bottom: 18px;
}

.myths-doctor-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

@media (max-width: 768px) {
  .myths-doctor-ctas {
    justify-content: center;
  }
}

.myths-btn-primary {
  display: inline-block;
  background: var(--myths-pink);
  color: #FFF !important;
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none !important;
  box-shadow: 0 4px 12px rgba(174, 35, 107, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
}

.myths-btn-primary:hover {
  background: var(--myths-pink-hover);
  transform: translateY(-2px);
}

.myths-btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--myths-plum-dark) !important;
  border: 2px solid var(--myths-plum);
  font-weight: 700;
  padding: 10px 22px;
  border-radius: 999px;
  text-decoration: none !important;
  transition: all 0.15s ease;
}

.myths-btn-outline:hover {
  background: var(--myths-plum-light);
}

/* References & Disclaimer */
.myths-refs-box {
  background: #F8FAFC;
  border: 1px solid #E2E8F0;
  border-radius: var(--myths-radius-md);
  padding: 22px 24px;
  margin: 36px 0;
  font-size: 0.875rem;
  color: var(--myths-text-muted);
}

.myths-refs-box h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--myths-plum-dark);
  margin: 0 0 10px;
}

.myths-refs-box ol {
  padding-left: 20px;
  margin: 0;
  line-height: 1.6;
}

.myths-refs-box li {
  margin-bottom: 6px;
}

.myths-disclaimer-box {
  background: #FFF;
  border-left: 4px solid #94A3B8;
  padding: 14px 18px;
  margin: 24px 0 40px;
  font-size: 0.8125rem;
  line-height: 1.6;
  color: #64748B;
}
