/**
 * PCOS Ferticure Clinic - PCOS Weight Loss & Healthy Weight Management Guide Stylesheet
 * Milestone: PF-247 (Complete English + Hindi Development)
 * Target URLs: /india-pcod-weight-loss & /hi/india-pcod-weight-loss
 */

:root {
  --weight-plum: #4A154B;
  --weight-plum-dark: #371037;
  --weight-plum-light: #F9EBF2;
  --weight-pink: #C85A8A;
  --weight-pink-soft: #F4D3E2;
  --weight-pink-subtle: #FDF7FA;
  --weight-green: #0D5C3A;
  --weight-green-light: #EBF8F2;
  --weight-green-border: #A7F3D0;
  --weight-text: #1F2937;
  --weight-text-muted: #4B5563;
  --weight-bg: #FFFFFF;
  --weight-bg-alt: #FDF9FB;
  --weight-border: #F3DCE8;
  --weight-shadow-sm: 0 2px 8px rgba(74, 21, 75, 0.05);
  --weight-shadow-md: 0 4px 18px rgba(74, 21, 75, 0.08);
  --weight-shadow-lg: 0 8px 30px rgba(74, 21, 75, 0.12);
  --weight-radius-sm: 8px;
  --weight-radius-md: 14px;
  --weight-radius-lg: 20px;
}

/* Page Scoping & Reset */
.weight-guide-page {
  font-family: var(--font-sans, system-ui, -apple-system, sans-serif);
  color: var(--weight-text);
  background-color: var(--weight-bg-alt);
  line-height: 1.7;
  overflow-x: clip;
}

.weight-guide-page * {
  box-sizing: border-box;
}

/* Full-Width Hero Banner */
.weight-guide-hero {
  position: relative;
  width: 100%;
  background: #FFF;
  border-bottom: 1px solid var(--weight-border);
}

.weight-guide-full-banner {
  width: 100%;
  max-width: 100%;
  background-color: #FAFAFA;
  display: block;
  line-height: 0;
  overflow: hidden;
}

.weight-guide-full-banner img {
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

/* Container Shell */
.weight-guide-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* Breadcrumbs */
.weight-guide-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  padding: 20px 0 12px;
  font-size: 0.9rem;
  color: var(--weight-text-muted);
}

.weight-guide-breadcrumb a {
  color: var(--weight-plum);
  text-decoration: none;
  font-weight: 500;
}

.weight-guide-breadcrumb a:hover {
  text-decoration: underline;
}

/* Hero Content Grid */
.weight-guide-hero-copy {
  padding: 16px 0 36px;
}

.weight-guide-eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--weight-pink);
  background: var(--weight-plum-light);
  padding: 4px 12px;
  border-radius: 999px;
  margin-bottom: 14px;
}

.weight-guide-hero-copy h1 {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: clamp(2rem, 3.8vw, 2.75rem);
  font-weight: 700;
  line-height: 1.25;
  color: var(--weight-plum-dark);
  margin: 0 0 16px;
}

.weight-guide-lead {
  font-size: 1.15rem;
  line-height: 1.65;
  color: var(--weight-text);
  margin-bottom: 16px;
}

/* 4 Quick Answers Box */
.weight-guide-quick-answers {
  background: #FFF;
  border: 1px solid var(--weight-border);
  border-left: 5px solid var(--weight-pink);
  border-radius: var(--weight-radius-md);
  padding: 24px 28px;
  margin: 28px 0;
  box-shadow: var(--weight-shadow-sm);
}

.weight-guide-quick-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--weight-plum);
  margin: 0 0 14px;
}

.weight-guide-quick-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px 24px;
}

.weight-guide-quick-list li {
  font-size: 0.95rem;
  line-height: 1.55;
  color: var(--weight-text);
  padding-left: 20px;
  position: relative;
}

.weight-guide-quick-list li::before {
  content: "✔";
  position: absolute;
  left: 0;
  top: 0;
  color: var(--weight-green);
  font-weight: bold;
}

.weight-guide-quick-list li strong {
  color: var(--weight-plum-dark);
}

/* Table of Contents (Pink Accented, Numbered 2-Column) */
.weight-guide-toc {
  background: #FFF;
  border: 1px solid var(--weight-border);
  border-radius: var(--weight-radius-lg);
  padding: 28px 32px;
  margin: 36px 0 48px;
  box-shadow: var(--weight-shadow-sm);
}

.weight-guide-toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--weight-plum-light);
  padding-bottom: 14px;
  margin-bottom: 20px;
}

.weight-guide-toc-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--weight-plum);
  margin: 0;
}

.weight-guide-toc-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px 24px;
}

.weight-guide-toc-list li a {
  display: flex;
  align-items: baseline;
  gap: 8px;
  color: var(--weight-text);
  text-decoration: none;
  font-size: 0.95rem;
  line-height: 1.45;
  padding: 6px 8px;
  border-radius: var(--weight-radius-sm);
  transition: all 0.2s ease;
}

.weight-guide-toc-list li a:hover {
  background: var(--weight-plum-light);
  color: var(--weight-plum);
  transform: translateX(3px);
}

.weight-guide-toc-num {
  font-weight: 700;
  color: var(--weight-pink);
  min-width: 24px;
  flex-shrink: 0;
}

/* Sections */
.weight-guide-section {
  background: #FFF;
  border: 1px solid var(--weight-border);
  border-radius: var(--weight-radius-lg);
  padding: 36px 40px;
  margin-bottom: 40px;
  box-shadow: var(--weight-shadow-sm);
}

.weight-guide-section h2 {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--weight-plum-dark);
  margin: 0 0 20px;
  border-bottom: 2px solid var(--weight-plum-light);
  padding-bottom: 10px;
}

.weight-guide-section h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--weight-plum);
  margin: 28px 0 14px;
}

.weight-guide-section h4 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--weight-text);
  margin: 20px 0 10px;
}

.weight-guide-section p {
  margin: 0 0 16px;
  font-size: 1.02rem;
  line-height: 1.7;
  color: var(--weight-text);
}

.weight-guide-section ul,
.weight-guide-section ol {
  margin: 0 0 20px;
  padding-left: 24px;
}

.weight-guide-section li {
  margin-bottom: 10px;
  font-size: 1rem;
  line-height: 1.65;
}

/* Responsive Clinical Tables */
.weight-table-wrap {
  overflow-x: auto;
  margin: 24px 0 32px;
  border: 1px solid var(--weight-border);
  border-radius: var(--weight-radius-md);
  box-shadow: var(--weight-shadow-sm);
}

.weight-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.95rem;
  min-width: 600px;
}

.weight-table th {
  background: var(--weight-plum);
  color: #FFF;
  font-weight: 600;
  text-align: left;
  padding: 14px 18px;
  border-bottom: 1px solid var(--weight-plum-dark);
}

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

.weight-table tr:last-child td {
  border-bottom: none;
}

.weight-table tr:nth-child(even) td {
  background: var(--weight-pink-subtle);
}

/* Callout Highlights */
.weight-callout {
  background: var(--weight-plum-light);
  border-left: 4px solid var(--weight-plum);
  border-radius: var(--weight-radius-sm);
  padding: 20px 24px;
  margin: 24px 0;
}

.weight-callout-green {
  background: var(--weight-green-light);
  border-left: 4px solid var(--weight-green);
}

.weight-callout p:last-child {
  margin-bottom: 0;
}

/* 7-Day Activity & Lifestyle Cards */
.weight-lifestyle-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin: 28px 0;
}

.weight-lifestyle-card {
  background: var(--weight-bg-alt);
  border: 1px solid var(--weight-border);
  border-radius: var(--weight-radius-md);
  padding: 20px 22px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.weight-lifestyle-card:hover {
  transform: translateY(-3px);
  box-shadow: var(--weight-shadow-md);
  border-color: var(--weight-pink);
}

.weight-lifestyle-card h3,
.weight-lifestyle-card h4 {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--weight-plum);
  margin: 0 0 10px;
  border-bottom: 1px solid var(--weight-border);
  padding-bottom: 8px;
}

.weight-lifestyle-badge {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--weight-green);
  background: var(--weight-green-light);
  padding: 2px 8px;
  border-radius: 4px;
  margin-bottom: 8px;
}

.weight-lifestyle-item {
  font-size: 0.92rem;
  margin-bottom: 8px;
  line-height: 1.5;
}

.weight-lifestyle-item strong {
  color: var(--weight-plum-dark);
}

/* WhatsApp Share Integration Box */
.weight-whatsapp-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  background: linear-gradient(135deg, #F0FDF4 0%, #DCFCE7 100%);
  border: 1px solid var(--weight-green-border);
  border-radius: var(--weight-radius-lg);
  padding: 24px 32px;
  margin: 32px 0;
}

.weight-whatsapp-text h3 {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--weight-green);
  margin: 0 0 6px;
}

.weight-whatsapp-text p {
  font-size: 0.95rem;
  color: #166534;
  margin: 0;
  line-height: 1.5;
}

.weight-whatsapp-btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: #FFF;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  padding: 12px 24px;
  border-radius: 999px;
  white-space: nowrap;
  box-shadow: 0 4px 14px rgba(37, 211, 102, 0.35);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  flex-shrink: 0;
}

.weight-whatsapp-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
  background: #20BD5A;
}

.weight-whatsapp-btn svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}

/* Interactive Health Tools Box */
.weight-tools-box {
  background: #FFF;
  border: 1px solid var(--weight-border);
  border-radius: var(--weight-radius-lg);
  padding: 30px 32px;
  margin: 36px 0;
  box-shadow: var(--weight-shadow-sm);
}

.weight-tools-box h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--weight-plum);
  margin: 0 0 10px;
}

.weight-tools-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 18px;
}

.weight-tool-item {
  display: block;
  background: var(--weight-bg-alt);
  border: 1px solid var(--weight-border);
  border-radius: var(--weight-radius-md);
  padding: 18px 20px;
  text-decoration: none;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.weight-tool-item:hover {
  transform: translateY(-2px);
  border-color: var(--weight-pink);
  box-shadow: var(--weight-shadow-sm);
}

.weight-tool-item strong {
  display: block;
  font-size: 1rem;
  color: var(--weight-plum);
  margin-bottom: 4px;
}

.weight-tool-item span {
  font-size: 0.88rem;
  color: var(--weight-text-muted);
  line-height: 1.45;
  display: block;
}

/* FAQ Accordion */
.weight-faq-list {
  margin: 24px 0 0;
}

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

.weight-faq-item summary {
  padding: 18px 22px;
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--weight-plum);
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  user-select: none;
}

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

.weight-faq-item summary::after {
  content: "+";
  font-size: 1.4rem;
  color: var(--weight-pink);
  font-weight: 400;
  transition: transform 0.2s ease;
}

.weight-faq-item[open] summary::after {
  content: "−";
}

.weight-faq-item[open] summary {
  background: var(--weight-pink-subtle);
  border-bottom: 1px solid var(--weight-border);
}

.weight-faq-answer {
  padding: 18px 22px;
  font-size: 0.98rem;
  line-height: 1.65;
  color: var(--weight-text);
}

.weight-faq-answer p:last-child {
  margin-bottom: 0;
}

/* Doctor Profile Card */
.weight-doctor-card {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 32px;
  background: linear-gradient(135deg, #FFF 0%, var(--weight-pink-subtle) 100%);
  border: 1px solid var(--weight-border);
  border-radius: var(--weight-radius-lg);
  padding: 32px;
  margin: 36px 0;
  align-items: center;
}

.weight-doctor-media img {
  width: 100%;
  height: auto;
  border-radius: var(--weight-radius-md);
  object-fit: cover;
  box-shadow: var(--weight-shadow-md);
}

.weight-doctor-badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--weight-pink);
  background: var(--weight-plum-light);
  padding: 4px 10px;
  border-radius: 999px;
  margin-bottom: 8px;
}

.weight-doctor-info h3 {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.5rem;
  color: var(--weight-plum-dark);
  margin: 0 0 10px;
}

.weight-credentials-list {
  list-style: none;
  padding: 0;
  margin: 0 0 16px;
}

.weight-credentials-list li {
  font-size: 0.92rem;
  color: var(--weight-text-muted);
  margin-bottom: 4px;
}

.weight-credentials-list li strong {
  color: var(--weight-plum);
}

/* CTAs & Related Guides */
.weight-cta-panel {
  background: linear-gradient(135deg, var(--weight-plum-dark) 0%, var(--weight-plum) 100%);
  color: #FFF;
  border-radius: var(--weight-radius-lg);
  padding: 36px 40px;
  text-align: center;
  margin: 40px 0;
}

.weight-cta-panel h2 {
  font-family: var(--font-serif, "Playfair Display", Georgia, serif);
  font-size: 1.85rem;
  color: #FFF;
  margin: 0 0 12px;
  border: none;
  padding: 0;
}

.weight-cta-panel p {
  font-size: 1.05rem;
  color: #F9EBF2;
  max-width: 720px;
  margin: 0 auto 24px;
}

.weight-cta-actions,
.weight-guide-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.weight-guide-hero-actions {
  justify-content: flex-start;
  margin-top: 20px;
}

.weight-cta-actions .button,
.weight-guide-hero-actions .button {
  background: #FFF;
  color: var(--weight-plum);
  font-weight: 700;
  padding: 12px 24px;
  border-radius: 999px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.weight-cta-actions .button:hover,
.weight-guide-hero-actions .button:hover {
  background: var(--weight-pink-soft);
  color: var(--weight-plum-dark);
}

.weight-cta-actions .button-outline,
.weight-guide-hero-actions .button-outline {
  background: transparent;
  color: #FFF;
  border: 2px solid #FFF;
}

.weight-cta-actions .button-outline:hover,
.weight-guide-hero-actions .button-outline:hover {
  background: rgba(255, 255, 255, 0.15);
}

.weight-guide-hero-actions .button {
  background: var(--weight-plum);
  color: #FFF;
}

.weight-guide-hero-actions .button:hover {
  background: var(--weight-plum-dark);
  color: #FFF;
}

.weight-guide-hero-actions .button-outline {
  background: transparent;
  color: var(--weight-plum);
  border: 2px solid var(--weight-plum);
}

.weight-guide-hero-actions .button-outline:hover {
  background: var(--weight-plum-light);
}

.weight-disclaimer {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  margin-top: 24px;
  line-height: 1.5;
}

.weight-related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 16px;
  margin: 24px 0 0;
}

.weight-related-card {
  display: block;
  background: #FFF;
  border: 1px solid var(--weight-border);
  border-radius: var(--weight-radius-md);
  padding: 18px 20px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.weight-related-card:hover {
  border-color: var(--weight-pink);
  transform: translateY(-2px);
  box-shadow: var(--weight-shadow-sm);
}

.weight-related-card h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--weight-plum);
  margin: 0 0 6px;
}

.weight-related-card p {
  font-size: 0.88rem;
  color: var(--weight-text-muted);
  line-height: 1.45;
  margin: 0 0 10px;
}

.weight-related-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--weight-pink);
}

/* Responsive Media Queries */
@media (max-width: 900px) {
  .weight-guide-section {
    padding: 28px 24px;
  }
  .weight-doctor-card {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .weight-doctor-media img {
    max-width: 200px;
    margin: 0 auto;
  }
  .weight-whatsapp-box {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 768px) {
  .weight-guide-quick-list,
  .weight-guide-toc-list,
  .weight-tools-grid {
    grid-template-columns: 1fr;
  }
  .weight-guide-hero-copy h1 {
    font-size: 1.85rem;
  }
  .weight-guide-section h2 {
    font-size: 1.5rem;
  }
}
