/**
 * Nandi IVF - Premium Blog & Clinical Guides Stylesheet
 * High-End Responsive Medical Typography & Modern Layout
 * Ashok Vihar, Delhi
 */

:root {
    --brand-pink: #D81B60;
    --brand-pink-dark: #AD1457;
    --brand-pink-light: #FF4081;
    --brand-pink-soft: #FFF0F5;
    --brand-pink-glow: rgba(216, 27, 96, 0.15);
    --brand-teal: #00897B;
    --brand-teal-soft: #E0F2F1;
    --brand-dark: #0F172A;
    --brand-slate: #334155;
    --brand-muted: #64748B;
    --brand-border: #E2E8F0;
    --brand-card-bg: #FFFFFF;
    --brand-light-bg: #F8FAFC;
    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    --font-serif: 'Lora', Georgia, serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 6px 20px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 12px 36px rgba(0, 0, 0, 0.09);
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
}

/* ── Reading Progress Top Bar ────────────────────────────── */
.reading-progress-track {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: transparent;
    z-index: 99999;
    pointer-events: none;
}

.reading-progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--brand-pink), var(--brand-pink-light), #FF80AB);
    box-shadow: 0 0 10px rgba(216, 27, 96, 0.5);
    transition: width 0.1s ease-out;
}

/* ═══════════════════════════════════════════════════════════
   BLOG LISTING HERO & CARDS
   ═══════════════════════════════════════════════════════════ */
.blog-hero-section {
    background: linear-gradient(135deg, #FFF0F5 0%, #F8FAFC 60%, #EFF6FF 100%);
    padding: 3.5rem 0 2.5rem;
    border-bottom: 1px solid var(--brand-border);
    position: relative;
    overflow: hidden;
}

.blog-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: #FFFFFF;
    color: var(--brand-pink);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 0.35rem 1rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(216, 27, 96, 0.12);
    border: 1px solid rgba(216, 27, 96, 0.15);
    margin-bottom: 1rem;
}

.blog-hero-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.2;
    margin-bottom: 0.85rem;
}

.blog-hero-title span {
    color: var(--brand-pink);
}

.blog-hero-subtitle {
    font-size: 1.05rem;
    color: var(--brand-slate);
    max-width: 650px;
    margin: 0 auto 2rem;
    line-height: 1.6;
}

/* Search Bar in Hero */
.blog-search-box {
    max-width: 520px;
    margin: 0 auto;
    position: relative;
}

.blog-search-input {
    width: 100%;
    padding: 0.85rem 3.5rem 0.85rem 1.25rem;
    border-radius: 999px;
    border: 2px solid #CBD5E1;
    font-size: 0.95rem;
    background: #FFFFFF;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
    outline: none;
    transition: all 0.2s ease;
}

.blog-search-input:focus {
    border-color: var(--brand-pink);
    box-shadow: 0 0 0 4px rgba(216, 27, 96, 0.15);
}

.blog-search-btn {
    position: absolute;
    right: 6px;
    top: 6px;
    bottom: 6px;
    width: 44px;
    border-radius: 50%;
    background: var(--brand-pink);
    color: #FFFFFF;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.blog-search-btn:hover {
    background: var(--brand-pink-dark);
    transform: scale(1.05);
}

/* Category Filter Pills */
.blog-categories-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
    justify-content: center;
    margin-top: 2rem;
}

.cat-pill {
    padding: 0.5rem 1.2rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 600;
    text-decoration: none;
    background: #FFFFFF;
    color: var(--brand-slate);
    border: 1px solid var(--brand-border);
    transition: all 0.2s ease;
}

.cat-pill:hover,
.cat-pill.active {
    background: var(--brand-pink);
    color: #FFFFFF;
    border-color: var(--brand-pink);
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.25);
    transform: translateY(-1px);
}

/* ── Blog Grid Layout ────────────────────────────────────── */
.blog-content-section {
    padding: 3.5rem 0 5rem;
    background: var(--brand-light-bg);
}

.blog-grid-layout {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 2.5rem;
    align-items: start;
}

@media (max-width: 991px) {
    .blog-grid-layout {
        grid-template-columns: 1fr;
    }
}

.blog-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.75rem;
}

@media (max-width: 640px) {
    .blog-cards-grid {
        grid-template-columns: 1fr;
    }
}

.blog-card {
    background: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
    box-shadow: var(--shadow-sm);
}

.blog-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(216, 27, 96, 0.3);
}

.blog-card-media {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F1F5F9;
}

.blog-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.blog-card:hover .blog-card-img {
    transform: scale(1.05);
}

.blog-card-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.75rem;
    border-radius: 999px;
}

.blog-card-badge.pink {
    background: var(--brand-pink);
}

.blog-card-body {
    padding: 1.35rem 1.5rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    font-size: 0.78rem;
    color: var(--brand-muted);
    margin-bottom: 0.65rem;
}

.blog-card-meta i {
    color: var(--brand-pink);
}

.blog-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--brand-dark);
    margin-bottom: 0.75rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.blog-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--brand-pink);
}

.blog-card-excerpt {
    font-size: 0.88rem;
    color: var(--brand-slate);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid #F1F5F9;
    margin-top: auto;
}

.blog-author-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--brand-slate);
}

.blog-author-avatar {
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: var(--brand-pink-soft);
    color: var(--brand-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
}

.blog-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-pink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: all 0.2s ease;
}

.blog-card-link:hover {
    color: var(--brand-pink-dark);
    transform: translateX(3px);
}

/* ═══════════════════════════════════════════════════════════
   BLOG HUB & LISTING SIDEBAR STYLES (/blogs/)
   ═══════════════════════════════════════════════════════════ */
.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: sticky;
    top: 90px;
}

.sidebar-widget {
    background: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 1.75rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.widget-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0 0 1.25rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--brand-pink-soft);
    position: relative;
}

.widget-title::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 35px;
    height: 2px;
    background: var(--brand-pink);
    border-radius: 2px;
}

.widget-cat-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.widget-cat-item {
    margin: 0;
}

.widget-cat-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 0.95rem;
    border-radius: 8px;
    color: var(--brand-slate);
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 600;
    background: #F8FAFC;
    border: 1px solid transparent;
    transition: all 0.2s ease;
}

.widget-cat-link:hover {
    background: var(--brand-pink-soft);
    color: var(--brand-pink);
    border-color: rgba(216, 27, 96, 0.2);
    transform: translateX(3px);
}

.widget-cat-link .cat-count {
    background: #FFFFFF;
    color: var(--brand-muted);
    font-size: 0.76rem;
    font-weight: 700;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    border: 1px solid var(--brand-border);
}

.widget-cat-link:hover .cat-count {
    background: var(--brand-pink);
    color: #FFFFFF;
    border-color: var(--brand-pink);
}

.widget-recent-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.recent-post-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--brand-border);
    transition: all 0.2s ease;
}

.recent-post-item:last-child {
    padding-bottom: 0;
    border-bottom: none;
}

.recent-post-item:hover .recent-post-title {
    color: var(--brand-pink);
}

.recent-post-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #F1F5F9;
    border: 1px solid var(--brand-border);
}

.recent-post-info {
    flex: 1;
    min-width: 0;
}

.recent-post-title {
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.35;
    margin-bottom: 0.35rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}

.recent-post-date {
    font-size: 0.74rem;
    color: var(--brand-muted);
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

/* ── Consultation CTA Card in Sidebar ─────────────────────── */
.widget-cta-card {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 16px;
    padding: 2rem 1.65rem;
    color: #FFFFFF;
    text-align: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(216, 27, 96, 0.3);
    box-shadow: var(--shadow-md);
}

.widget-cta-card::before {
    content: '';
    position: absolute;
    top: -40px;
    right: -40px;
    width: 140px;
    height: 140px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 27, 96, 0.35) 0%, transparent 70%);
}

.widget-cta-icon {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: var(--brand-pink);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    margin: 0 auto 1.15rem;
    box-shadow: 0 4px 14px rgba(216, 27, 96, 0.4);
}

.widget-cta-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.65rem;
}

.widget-cta-desc {
    font-size: 0.86rem;
    color: #94A3B8;
    line-height: 1.6;
    margin-bottom: 1.35rem;
}

.btn-sidebar-cta {
    display: block;
    width: 100%;
    background: var(--brand-pink);
    color: #FFFFFF !important;
    font-size: 0.9rem;
    font-weight: 700;
    padding: 0.75rem 1rem;
    border-radius: 999px;
    text-decoration: none;
    box-shadow: 0 4px 14px rgba(216, 27, 96, 0.35);
    transition: all 0.25s ease;
}

.btn-sidebar-cta:hover {
    background: var(--brand-pink-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(216, 27, 96, 0.5);
}

/* ═══════════════════════════════════════════════════════════
   MODERN BLOG DETAIL PAGE (TITLE & CONTENT-SIDE FEATURED IMAGE)
   ═══════════════════════════════════════════════════════════ */
.post-single-wrapper {
    background: #FFFFFF;
    color: var(--brand-dark);
}

/* ── Refined Hero Title Header ───────────────────────────── */
.post-hero-modern {
    background: linear-gradient(180deg, #FFF0F5 0%, #FAF5F7 60%, #FFFFFF 100%);
    padding: 1.75rem 0 1.25rem;
    border-bottom: 1px solid var(--brand-border);
}

.post-header-content {
    max-width: 940px;
    margin: 0 auto;
    text-align: left;
}

.post-header-badges {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1.15rem;
}

.modern-cat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--brand-pink);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    box-shadow: 0 2px 8px rgba(216, 27, 96, 0.25);
}

.medically-reviewed-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: #FFFFFF;
    color: #15803D;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.95rem;
    border-radius: 999px;
    border: 1px solid #BBF7D0;
    box-shadow: 0 2px 6px rgba(21, 128, 61, 0.08);
}

.post-hero-heading {
    font-size: clamp(2rem, 3.8vw, 2.75rem);
    font-weight: 800;
    color: var(--brand-dark);
    line-height: 1.25;
    letter-spacing: -0.02em;
    margin-bottom: 1.25rem;
}

.post-meta-modern-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
    padding: 0.85rem 1.25rem;
    background: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.03);
    margin-bottom: 0.5rem;
}

.author-profile-chip {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-chip-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-pink);
    box-shadow: 0 2px 6px rgba(216, 27, 96, 0.2);
}

.author-chip-name {
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--brand-dark);
}

.author-chip-name a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.author-chip-name a:hover {
    color: var(--brand-pink);
}

.author-chip-role {
    font-size: 0.76rem;
    color: var(--brand-muted);
}

.post-stats-group {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.82rem;
    color: var(--brand-slate);
    font-weight: 500;
}

.post-stat-item {
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.post-stat-item i {
    color: var(--brand-pink);
}

.post-stat-divider {
    color: #CBD5E1;
}

/* ═══════════════════════════════════════════════════════════
   2-COLUMN ARTICLE LAYOUT & SIDEBAR
   ═══════════════════════════════════════════════════════════ */
.post-body-section {
    padding: 2.5rem 0 5rem;
    background: #FFFFFF;
}

.post-layout-grid {
    display: grid;
    grid-template-columns: 1fr 340px;
    gap: 3rem;
    align-items: start;
}

@media (max-width: 1024px) {
    .post-layout-grid {
        grid-template-columns: 1fr 300px;
        gap: 2rem;
    }
}

@media (max-width: 900px) {
    .post-layout-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }
}

/* ── Left Column: Article Body ───────────────────────────── */
.post-article-column {
    min-width: 0;
}

/* ── Featured Image Placed Inside Content Column (Width 100%, Height Auto) ── */
.post-content-featured-wrapper {
    width: 100%;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--brand-border);
    margin-bottom: 2rem;
    background: #F8FAFC;
}

.post-content-featured-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    max-height: 520px;
}

.post-featured-caption-bar {
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(6px);
    color: #F8FAFC;
    font-size: 0.78rem;
    padding: 0.55rem 1.15rem;
    text-align: right;
}

/* Key Medical Takeaway Card */
.clinical-takeaway-card {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFFFFF 100%);
    border: 1px solid rgba(216, 27, 96, 0.25);
    border-left: 5px solid var(--brand-pink);
    border-radius: 14px;
    padding: 1.5rem 1.75rem;
    margin-bottom: 2.25rem;
    box-shadow: 0 4px 16px rgba(216, 27, 96, 0.05);
}

.takeaway-header {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 0.75rem;
}

.takeaway-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--brand-pink);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    flex-shrink: 0;
}

.takeaway-title {
    font-size: 1.15rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0;
}

.takeaway-sub {
    font-size: 0.78rem;
    color: var(--brand-muted);
}

.takeaway-text {
    font-size: 0.98rem;
    line-height: 1.65;
    color: var(--brand-slate);
    margin: 0;
}

/* In-Article Table of Contents */
.article-toc-box {
    background: #F8FAFC;
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 2.25rem;
}

.toc-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    cursor: pointer;
    user-select: none;
}

.toc-toggle-icon {
    color: var(--brand-muted);
    transition: transform 0.2s ease;
}

.toc-body {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--brand-border);
}

.toc-unordered-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.toc-h2-item a {
    color: var(--brand-dark);
    font-weight: 600;
    font-size: 0.92rem;
    text-decoration: none;
    display: inline-block;
    transition: color 0.2s ease;
}

.toc-h2-item a:hover {
    color: var(--brand-pink);
}

.toc-h3-item {
    margin-left: 1.25rem;
}

.toc-h3-item a {
    color: var(--brand-slate);
    font-size: 0.85rem;
    text-decoration: none;
    transition: color 0.2s ease;
}

.toc-h3-item a:hover {
    color: var(--brand-pink);
}

/* ── Rich Prose Typography ───────────────────────────────── */
.post-prose-content {
    font-size: 1.12rem;
    line-height: 1.85;
    color: #2D3748;
}

.post-prose-content p {
    margin-bottom: 1.65rem;
    word-break: break-word;
}

.post-prose-content h2 {
    font-size: clamp(1.6rem, 3vw, 1.95rem);
    font-weight: 800;
    color: var(--brand-dark);
    margin: 2.75rem 0 1.15rem;
    padding-left: 0.85rem;
    border-left: 4px solid var(--brand-pink);
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.post-prose-content h3 {
    font-size: clamp(1.25rem, 2.5vw, 1.45rem);
    font-weight: 700;
    color: var(--brand-dark);
    margin: 2.25rem 0 0.95rem;
    line-height: 1.4;
}

.post-prose-content h4 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin: 1.75rem 0 0.75rem;
}

.post-prose-content ul,
.post-prose-content ol {
    margin: 1.25rem 0 1.85rem 1.75rem;
    padding: 0;
}

.post-prose-content li {
    margin-bottom: 0.65rem;
    line-height: 1.75;
}

.post-prose-content blockquote {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFFFFF 100%);
    border-left: 4px solid var(--brand-pink);
    padding: 1.5rem 1.75rem;
    border-radius: 0 14px 14px 0;
    margin: 2.5rem 0;
    font-style: italic;
    font-size: 1.15rem;
    color: var(--brand-dark);
    box-shadow: 0 4px 14px rgba(216, 27, 96, 0.04);
}

.post-prose-content blockquote p {
    margin: 0;
}

.post-prose-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 2rem 0;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--brand-border);
}

.post-prose-content table {
    width: 100%;
    margin: 2rem 0;
    border-collapse: collapse;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--brand-border);
}

.post-prose-content th {
    background: var(--brand-dark);
    color: #FFFFFF;
    padding: 0.85rem 1rem;
    font-weight: 700;
    text-align: left;
    font-size: 0.92rem;
}

.post-prose-content td {
    padding: 0.85rem 1rem;
    border-bottom: 1px solid var(--brand-border);
    font-size: 0.92rem;
    background: #FFFFFF;
}

.post-prose-content tr:nth-child(even) td {
    background: #F8FAFC;
}

/* ── FAQ Section in Detail Page ──────────────────────────── */
.post-faq-container {
    background: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 2.25rem;
    margin: 3.5rem 0 2.5rem;
    box-shadow: var(--shadow-sm);
}

.faq-section-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.75rem;
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--brand-border);
}

.faq-icon-bubble {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--brand-pink-soft);
    color: var(--brand-pink);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.25rem;
    flex-shrink: 0;
}

.faq-section-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0;
}

.faq-section-subtitle {
    font-size: 0.85rem;
    color: var(--brand-muted);
    margin: 0;
}

.faq-modern-accordion {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-modern-item {
    border: 1px solid var(--brand-border);
    border-radius: 12px;
    overflow: hidden;
    background: #FAFAFA;
    transition: all 0.2s ease;
}

.faq-modern-item[open] {
    background: #FFFFFF;
    border-color: rgba(216, 27, 96, 0.4);
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.05);
}

.faq-modern-question {
    padding: 1.15rem 1.35rem;
    font-weight: 700;
    color: var(--brand-dark);
    font-size: 1rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    list-style: none;
    user-select: none;
}

.faq-modern-question::-webkit-details-marker {
    display: none;
}

.faq-chevron {
    color: var(--brand-muted);
    font-size: 0.85rem;
    transition: transform 0.25s ease;
}

.faq-modern-item[open] .faq-chevron {
    transform: rotate(180deg);
    color: var(--brand-pink);
}

.faq-modern-answer {
    padding: 0 1.35rem 1.25rem;
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--brand-slate);
}

.faq-modern-answer p {
    margin: 0;
}

/* ── Modern Share Bar ────────────────────────────────────── */
.modern-share-bar {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.85rem;
    padding: 1.25rem 1.5rem;
    background: #F8FAFC;
    border: 1px solid var(--brand-border);
    border-radius: 14px;
    margin: 2.5rem 0;
}

.share-title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--brand-dark);
}

.share-actions-list {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.5rem;
}

.share-pill-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.45rem 0.95rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid var(--brand-border);
    background: #FFFFFF;
    color: var(--brand-slate);
    transition: all 0.2s ease;
    cursor: pointer;
}

.share-pill-btn.whatsapp {
    color: #25D366;
    border-color: #25D366;
}

.share-pill-btn.whatsapp:hover {
    background: #25D366;
    color: #FFFFFF;
}

.share-pill-btn.facebook:hover {
    background: #1877F2;
    color: #FFFFFF;
    border-color: #1877F2;
}

.share-pill-btn.twitter:hover {
    background: #000000;
    color: #FFFFFF;
    border-color: #000000;
}

.share-pill-btn.linkedin:hover {
    background: #0A66C2;
    color: #FFFFFF;
    border-color: #0A66C2;
}

.share-pill-btn.copy:hover {
    background: var(--brand-dark);
    color: #FFFFFF;
    border-color: var(--brand-dark);
}

.copy-toast-alert {
    background: var(--brand-dark);
    color: #FFFFFF;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.75rem;
    border-radius: 6px;
    margin-left: auto;
}

/* ── Doctor Credential Bio Card ──────────────────────────── */
.doctor-credential-card {
    background: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-radius: 18px;
    padding: 2rem;
    margin: 3rem 0 2rem;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.doctor-credential-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: var(--brand-pink);
}

.doctor-card-body {
    display: flex;
    gap: 1.75rem;
    align-items: flex-start;
}

@media (max-width: 640px) {
    .doctor-card-body {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
}

.doctor-card-avatar-wrap {
    position: relative;
    flex-shrink: 0;
}

.doctor-card-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--brand-pink);
    box-shadow: 0 4px 14px rgba(216, 27, 96, 0.2);
}

.doctor-verified-badge {
    position: absolute;
    bottom: 4px;
    right: 4px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #16A34A;
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    border: 2px solid #FFFFFF;
}

.doctor-card-details {
    flex: 1;
}

.doctor-subtitle {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--brand-pink);
    margin-bottom: 0.35rem;
}

.doctor-card-name {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.25rem;
}

.doctor-card-degrees {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brand-muted);
    margin-bottom: 0.85rem;
}

.doctor-card-bio {
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--brand-slate);
    margin-bottom: 1.25rem;
}

.doctor-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

@media (max-width: 640px) {
    .doctor-card-actions {
        justify-content: center;
    }
}

.btn-doctor-profile {
    display: inline-flex;
    align-items: center;
    background: #F1F5F9;
    color: var(--brand-dark);
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-doctor-profile:hover {
    background: #E2E8F0;
    color: var(--brand-dark);
}

.btn-doctor-consult {
    display: inline-flex;
    align-items: center;
    background: var(--brand-pink);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.55rem 1.15rem;
    border-radius: 8px;
    text-decoration: none;
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.25);
    transition: all 0.2s ease;
}

.btn-doctor-consult:hover {
    background: var(--brand-pink-dark);
    color: #FFFFFF;
    transform: translateY(-1px);
}

/* ── In-Article CTA Banner ───────────────────────────────── */
.in-article-cta-banner {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    border-radius: 18px;
    padding: 2.25rem 2.5rem;
    color: #FFFFFF;
    margin: 3.5rem 0 2rem;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(216, 27, 96, 0.3);
}

.in-article-cta-banner::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(216, 27, 96, 0.35) 0%, transparent 70%);
}

.cta-banner-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    background: rgba(216, 27, 96, 0.2);
    color: #FF4081;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    border: 1px solid rgba(255, 64, 129, 0.3);
    margin-bottom: 1rem;
}

.cta-banner-title {
    font-size: 1.45rem;
    font-weight: 800;
    color: #FFFFFF;
    margin-bottom: 0.65rem;
}

.cta-banner-desc {
    font-size: 0.95rem;
    color: #94A3B8;
    line-height: 1.6;
    max-width: 600px;
    margin-bottom: 1.5rem;
}

.cta-banner-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.cta-banner-btn {
    display: inline-flex;
    align-items: center;
    padding: 0.65rem 1.35rem;
    border-radius: 8px;
    font-size: 0.88rem;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.2s ease;
}

.cta-banner-btn.primary {
    background: var(--brand-pink);
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(216, 27, 96, 0.35);
}

.cta-banner-btn.primary:hover {
    background: var(--brand-pink-dark);
    color: #FFFFFF;
    transform: translateY(-2px);
}

.cta-banner-btn.whatsapp {
    background: #25D366;
    color: #FFFFFF;
    box-shadow: 0 4px 14px rgba(37, 211, 102, 0.3);
}

.cta-banner-btn.whatsapp:hover {
    background: #1EBE5D;
    color: #FFFFFF;
    transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════════════════
   RIGHT COLUMN: STICKY SMART SIDEBAR
   ═══════════════════════════════════════════════════════════ */
.post-sidebar-column {
    position: relative;
}

.sticky-sidebar-inner {
    position: sticky;
    top: 90px;
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.sidebar-modern-card {
    background: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: var(--shadow-sm);
}

.sidebar-widget-heading {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-bottom: 1.15rem;
    padding-bottom: 0.65rem;
    border-bottom: 2px solid var(--brand-pink-soft);
    position: relative;
}

.sidebar-widget-heading::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: -2px;
    width: 35px;
    height: 2px;
    background: var(--brand-pink);
}

/* Doctor Quick Appointment Booking Widget */
.doctor-quick-card {
    background: linear-gradient(135deg, #FFF0F5 0%, #FFFFFF 100%);
    border-color: rgba(216, 27, 96, 0.25);
    position: relative;
    overflow: hidden;
}

.quick-card-badge {
    position: absolute;
    top: 14px;
    right: 14px;
    background: var(--brand-pink);
    color: #FFFFFF;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.2rem 0.55rem;
    border-radius: 999px;
    letter-spacing: 0.05em;
}

.quick-card-doctor-head {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    margin-bottom: 1rem;
}

.quick-doc-avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--brand-pink);
}

.quick-doc-name {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--brand-dark);
    margin: 0;
}

.quick-doc-role {
    font-size: 0.78rem;
    color: var(--brand-muted);
}

.quick-doc-rating {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--brand-dark);
    margin-top: 0.2rem;
}

.quick-card-text {
    font-size: 0.85rem;
    line-height: 1.55;
    color: var(--brand-slate);
    margin-bottom: 1.25rem;
}

.quick-card-actions {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.btn-sidebar-phone {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--brand-dark);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-sidebar-phone:hover {
    background: #1E293B;
    color: #FFFFFF;
}

.btn-sidebar-wa {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: #25D366;
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
}

.btn-sidebar-wa:hover {
    background: #1EBE5D;
    color: #FFFFFF;
}

.btn-sidebar-book {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background: var(--brand-pink);
    color: #FFFFFF;
    font-size: 0.85rem;
    font-weight: 700;
    padding: 0.65rem;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(216, 27, 96, 0.25);
}

.btn-sidebar-book:hover {
    background: var(--brand-pink-dark);
    color: #FFFFFF;
}

/* Sidebar Table of Contents */
.sidebar-toc-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sidebar-toc-list a {
    color: var(--brand-slate);
    font-size: 0.85rem;
    line-height: 1.4;
    text-decoration: none;
    display: block;
    transition: all 0.2s ease;
}

.sidebar-toc-list a:hover {
    color: var(--brand-pink);
    padding-left: 4px;
}

/* Sidebar Recent Posts */
.sidebar-posts-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.sidebar-post-item {
    display: flex;
    gap: 0.85rem;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: transform 0.2s ease;
}

.sidebar-post-item:hover {
    transform: translateX(3px);
}

.sidebar-post-thumb {
    width: 65px;
    height: 65px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
    background: #F1F5F9;
}

.sidebar-post-info {
    flex: 1;
    min-width: 0;
}

.sidebar-post-cat {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--brand-pink);
    display: block;
    margin-bottom: 0.15rem;
}

.sidebar-post-title {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-dark);
    line-height: 1.35;
    margin-bottom: 0.25rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.sidebar-post-item:hover .sidebar-post-title {
    color: var(--brand-pink);
}

.sidebar-post-date {
    font-size: 0.72rem;
    color: var(--brand-muted);
}

/* Categories Pills in Sidebar */
.sidebar-cat-pills {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.cat-link-pill {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.55rem 0.75rem;
    background: #F8FAFC;
    border-radius: 8px;
    color: var(--brand-slate);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: all 0.2s ease;
}

.cat-link-pill:hover {
    background: var(--brand-pink-soft);
    color: var(--brand-pink);
}

.cat-badge-num {
    background: #FFFFFF;
    color: var(--brand-muted);
    font-size: 0.72rem;
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    border: 1px solid var(--brand-border);
}

/* Clinic Trust Box Widget */
.clinic-trust-box {
    background: linear-gradient(135deg, #0F172A 0%, #1E293B 100%);
    color: #FFFFFF;
    border-color: rgba(216, 27, 96, 0.3);
}

.trust-features-list {
    list-style: none;
    padding: 0;
    margin: 0 0 1.25rem 0;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.trust-features-list li {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: #E2E8F0;
}

.trust-location-tag {
    padding-top: 0.85rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.78rem;
    color: #94A3B8;
}

/* ═══════════════════════════════════════════════════════════
   RELATED ARTICLES (EXACTLY 1 CLEAN ROW)
   ═══════════════════════════════════════════════════════════ */
.related-guides-section {
    padding: 4.5rem 0;
    background: var(--brand-light-bg);
    border-top: 1px solid var(--brand-border);
}

.section-title-wrap .sub-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--brand-pink);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-bottom: 0.5rem;
}

.section-main-title {
    font-size: clamp(1.8rem, 3.5vw, 2.35rem);
    font-weight: 800;
    color: var(--brand-dark);
    margin-bottom: 0.65rem;
}

.section-main-title span {
    color: var(--brand-pink);
}

.section-sub-desc {
    font-size: 0.98rem;
    color: var(--brand-slate);
    max-width: 600px;
    margin: 0 auto;
}

/* 1 Single Clean Row Layout (3 Columns) */
.related-cards-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    align-items: stretch;
    width: 100%;
}

@media (max-width: 991px) {
    .related-cards-row {
        grid-template-columns: repeat(3, minmax(280px, 1fr));
        overflow-x: auto;
        padding-bottom: 1rem;
        scroll-snap-type: x mandatory;
    }
    .related-col-item {
        scroll-snap-align: start;
    }
}

@media (max-width: 767px) {
    .related-cards-row {
        grid-template-columns: 1fr;
        overflow-x: visible;
    }
}

.related-col-item {
    display: flex;
    height: 100%;
}

.modern-rel-card {
    background: #FFFFFF;
    border: 1px solid var(--brand-border);
    border-radius: 16px;
    overflow: hidden;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.modern-rel-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(216, 27, 96, 0.3);
}

.rel-card-media {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #F1F5F9;
}

.rel-card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.modern-rel-card:hover .rel-card-img {
    transform: scale(1.05);
}

.rel-card-tag {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(15, 23, 42, 0.85);
    backdrop-filter: blur(4px);
    color: #FFFFFF;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    padding: 0.25rem 0.75rem;
    border-radius: 999px;
}

.rel-card-body {
    padding: 1.35rem 1.5rem;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.rel-card-meta {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    font-size: 0.78rem;
    color: var(--brand-muted);
    margin-bottom: 0.65rem;
}

.rel-card-meta i {
    color: var(--brand-pink);
}

.rel-card-title {
    font-size: 1.05rem;
    font-weight: 700;
    line-height: 1.4;
    color: var(--brand-dark);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.rel-card-title a {
    color: inherit;
    text-decoration: none;
    transition: color 0.2s ease;
}

.rel-card-title a:hover {
    color: var(--brand-pink);
}

.rel-card-footer {
    margin-top: auto;
    padding-top: 0.85rem;
    border-top: 1px solid #F1F5F9;
}

.rel-card-link {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--brand-pink);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    transition: transform 0.2s ease;
}

.rel-card-link:hover {
    transform: translateX(3px);
}
