/* ============================================================
   mch101.com — main.css  (Premium Rewrite)
   Design: Warm rose-pink, clean, trustworthy, fully premium
   ============================================================ */

/* ── Google Fonts ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@400;500;600;700;800;900&family=Inter:wght@400;500;600&display=swap');

/* ── Design Tokens ────────────────────────────────────────── */
:root {
    --primary:        #C06080;
    --primary-dark:   #8B2252;
    --primary-light:  #FFD6E0;
    --accent:         #F4B8C8;
    --accent-soft:    #FFF0F5;

    --text:           #1A1A2E;
    --text-muted:     #6B7280;
    --text-light:     #9CA3AF;
    --bg:             #FFFFFF;
    --bg-soft:        #FFF8FA;
    --bg-muted:       #F9FAFB;
    --border:         #F0D5DF;
    --border-light:   #FAF0F3;

    --success:        #059669;
    --warning:        #D97706;
    --danger:         #DC2626;
    --info:           #0284C7;

    --font-heading:   'Nunito', sans-serif;
    --font-body:      'Inter', sans-serif;

    --r-sm:   8px;
    --r-md:   14px;
    --r-lg:   20px;
    --r-xl:   28px;
    --r-pill: 999px;

    --shadow-xs:  0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm:  0 2px 8px rgba(192,96,128,0.08), 0 1px 3px rgba(0,0,0,0.05);
    --shadow-md:  0 4px 20px rgba(192,96,128,0.12), 0 2px 8px rgba(0,0,0,0.06);
    --shadow-lg:  0 8px 40px rgba(192,96,128,0.16), 0 4px 16px rgba(0,0,0,0.08);
    --shadow-xl:  0 20px 60px rgba(192,96,128,0.20), 0 8px 24px rgba(0,0,0,0.10);

    --ease:       cubic-bezier(0.4, 0, 0.2, 1);
    --trans:      all 0.25s var(--ease);
    --trans-fast: all 0.15s var(--ease);

    --nav-h:      72px;
    --container:  1200px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
    font-size: 16px;
}

html, body { max-width: 100%; overflow-x: hidden; }

body {
    font-family: var(--font-body);
    font-size: 1rem;
    line-height: 1.75;
    color: var(--text);
    background: var(--bg);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img { max-width: 100%; height: auto; display: block; }
main { display: block; }

/* ── Typography ───────────────────────────────────────────── */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.25;
    color: var(--text);
    margin-bottom: 0.6em;
    letter-spacing: -0.01em;
}

h1 { font-size: clamp(2rem, 4.5vw, 3rem);   font-weight: 900; }
h2 { font-size: clamp(1.6rem, 3.5vw, 2.4rem); }
h3 { font-size: clamp(1.25rem, 2.5vw, 1.75rem); }
h4 { font-size: 1.2rem; }
h5 { font-size: 1.05rem; }
h6 { font-size: 0.95rem; }

p { margin-bottom: 1rem; color: var(--text); line-height: 1.75; }
p:last-child { margin-bottom: 0; }

a { color: var(--primary); text-decoration: none; transition: var(--trans-fast); }
a:hover { color: var(--primary-dark); }

strong { font-weight: 700; }

/* ── Scrollbar ────────────────────────────────────────────── */
.scrollable {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(192,96,128,0.25) transparent;
}
.scrollable::-webkit-scrollbar { height: 5px; }
.scrollable::-webkit-scrollbar-thumb {
    background: rgba(192,96,128,0.25);
    border-radius: var(--r-pill);
}

/* ── Layout ───────────────────────────────────────────────── */
.page-main { min-height: calc(100vh - var(--nav-h)); }

.section-pad    { padding: 88px 0; }
.section-pad-sm { padding: 56px 0; }

/* ── Utility ──────────────────────────────────────────────── */
.text-primary  { color: var(--primary) !important; }
.text-muted    { color: var(--text-muted) !important; }
.text-center   { text-align: center; }
.bg-soft       { background: var(--bg-soft) !important; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255,214,224,0.7);
    padding: 5px 14px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(192,96,128,0.15);
    margin-bottom: 14px;
}

/* alias used in pages */
.hp-eyebrow { @extend .eyebrow; }
.hp-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--primary);
    background: rgba(255,214,224,0.7);
    padding: 5px 14px;
    border-radius: var(--r-pill);
    border: 1px solid rgba(192,96,128,0.15);
    margin-bottom: 14px;
}

.section-label {
    font-family: var(--font-heading);
    font-weight: 900;
    position: relative;
    display: inline-block;
}
.section-label::after {
    content: '';
    display: block;
    width: 48px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent));
    border-radius: var(--r-pill);
    margin-top: 8px;
}
.section-label.centered::after { margin-inline: auto; }

/* ── Surface Cards ────────────────────────────────────────── */
.surface {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
}
.surface-hover {
    transition: var(--trans);
}
.surface-hover:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

/* ── Chip / Badge ─────────────────────────────────────────── */
.chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.78rem;
    color: var(--primary-dark);
    background: rgba(255,214,224,0.65);
    border: 1px solid rgba(192,96,128,0.18);
}

/* ── NAVIGATION ───────────────────────────────────────────── */
.navbar {
    height: var(--nav-h);
    background: rgba(255,255,255,0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 1px 0 var(--border-light), var(--shadow-xs);
    transition: box-shadow 0.3s var(--ease);
}
.navbar.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(255,255,255,0.99);
}

.navbar .navbar-brand {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--primary-dark) !important;
    display: flex;
    align-items: center;
    gap: 10px;
    letter-spacing: -0.02em;
}
.navbar .brand-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(192,96,128,0.35);
}
.navbar .brand-accent { color: var(--primary); }

.navbar .navbar-toggler {
    border: none;
    padding: 6px 8px;
    border-radius: var(--r-sm);
}
.navbar .navbar-toggler:focus { box-shadow: none !important; }
.navbar .nav-toggler-icon { color: var(--primary); font-size: 1.2rem; }

.navbar .navbar-nav { align-items: center; }

.navbar .nav-link {
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text) !important;
    padding: 0.45rem 0.9rem !important;
    border-radius: var(--r-pill);
    transition: var(--trans);
    white-space: nowrap;
}
.navbar .nav-link:hover,
.navbar .nav-link.active {
    color: var(--primary) !important;
    background: rgba(255,214,224,0.55);
}

.navbar .dropdown-menu {
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    padding: 8px;
    min-width: 210px;
    box-shadow: var(--shadow-lg);
    margin-top: 8px;
}
.navbar .dropdown-item {
    border-radius: var(--r-sm);
    padding: 9px 12px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.88rem;
    color: var(--text);
    transition: var(--trans-fast);
}
.navbar .dropdown-item:hover,
.navbar .dropdown-item:focus {
    background: rgba(255,214,224,0.5);
    color: var(--primary-dark);
}
.navbar .dropdown-toggle::after { margin-left: 4px; opacity: 0.55; }

.navbar .nav-search-btn { min-width: 40px; justify-content: center; }

@media (max-width: 991px) {
    .navbar .navbar-collapse {
        background: rgba(255,255,255,0.99);
        border: 1px solid var(--border-light);
        border-radius: var(--r-lg);
        padding: 16px;
        box-shadow: var(--shadow-lg);
        margin-top: 10px;
    }
    .navbar .navbar-nav { align-items: stretch; gap: 4px; }
    .navbar .nav-link { padding: 0.6rem 1rem !important; }
}

/* ── BUTTONS ──────────────────────────────────────────────── */
.btn {
    font-family: var(--font-heading);
    font-weight: 700;
    border-radius: var(--r-pill);
    padding: 11px 28px;
    transition: var(--trans);
    border: 2px solid transparent;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 0.92rem;
    line-height: 1.4;
    white-space: nowrap;
    text-decoration: none;
    vertical-align: middle;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff !important;
    border-color: transparent;
    box-shadow: 0 4px 14px rgba(192,96,128,0.35);
}
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(192,96,128,0.45);
    color: #fff !important;
    background: linear-gradient(135deg, #cc6e8a 0%, #9b2a5e 100%);
}
.btn-primary:active { transform: translateY(0); }

.btn-outline {
    background: transparent;
    color: var(--primary) !important;
    border-color: var(--primary);
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(192,96,128,0.3);
}

.btn-light {
    background: #fff;
    color: var(--primary-dark) !important;
    border-color: var(--border);
    box-shadow: var(--shadow-xs);
}
.btn-light:hover {
    background: var(--bg-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
}

.btn-secondary {
    background: var(--bg-muted);
    color: var(--text-muted) !important;
    border-color: var(--border);
}
.btn-secondary:hover {
    background: var(--border-light);
    color: var(--text) !important;
}

.btn-outline-light {
    background: rgba(255,255,255,0.12);
    border: 2px solid rgba(255,255,255,0.3);
    color: #fff !important;
}
.btn-outline-light:hover {
    background: rgba(255,255,255,0.22);
    transform: translateY(-2px);
}

.btn-sm  { padding: 7px 18px; font-size: 0.82rem; }
.btn-lg  { padding: 14px 36px; font-size: 1rem; }
.btn-xl  { padding: 17px 44px; font-size: 1.05rem; }
.btn-full, .w-100.btn { width: 100%; }

.btn:disabled, .btn[disabled] {
    opacity: 0.55;
    cursor: not-allowed;
    transform: none !important;
    box-shadow: none !important;
}

/* ── FORMS ────────────────────────────────────────────────── */
.form-group { margin-bottom: 1.25rem; }

.form-label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--text);
    margin-bottom: 6px;
}

.form-control,
.form-select {
    width: 100%;
    padding: 11px 16px;
    border: 2px solid var(--border);
    border-radius: var(--r-md);
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    background: var(--bg);
    transition: var(--trans);
    outline: none;
    appearance: auto;
    box-shadow: none !important;
}
.form-control:focus,
.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(192,96,128,0.1) !important;
    background: #fff;
}
.form-control::placeholder { color: var(--text-light); }
.form-control.is-invalid   { border-color: var(--danger); }

textarea.form-control { resize: vertical; min-height: 120px; }

.invalid-feedback {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 4px;
    display: block;
}

/* ── ALERTS ───────────────────────────────────────────────── */
.alert {
    padding: 14px 18px;
    border-radius: var(--r-md);
    border: 1px solid transparent;
    margin-bottom: 1rem;
    font-size: 0.92rem;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    line-height: 1.5;
}
.alert-success { background: #ECFDF5; border-color: #A7F3D0; color: #065F46; }
.alert-danger  { background: #FEF2F2; border-color: #FECACA; color: #991B1B; }
.alert-warning { background: #FFFBEB; border-color: #FDE68A; color: #92400E; }
.alert-info    { background: #EFF6FF; border-color: #BFDBFE; color: #1E40AF; }

/* ── CARDS ────────────────────────────────────────────────── */
.card {
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    overflow: hidden;
}
.card:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-4px);
    border-color: rgba(192,96,128,0.2);
}
.card-img-top {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
}
.card-body { padding: 1.5rem; }
.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
    color: var(--text);
    margin-bottom: 0.5rem;
    line-height: 1.35;
}
.card-text  { color: var(--text-muted); font-size: 0.9rem; line-height: 1.65; }
.card-meta  {
    font-size: 0.8rem;
    color: var(--text-light);
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    margin-bottom: 0.75rem;
}
.card-meta i { color: var(--primary); }

/* ── BADGES ───────────────────────────────────────────────── */
.badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    display: inline-block;
    letter-spacing: 0.02em;
}
.badge-primary  { background: var(--primary-light); color: var(--primary-dark); }
.badge-premium  {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
}
.badge-trimester {
    background: var(--bg-soft);
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.badge-free {
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
}

/* ── BREADCRUMB ───────────────────────────────────────────── */
.breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    align-items: center;
    font-size: 0.83rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    list-style: none;
    padding: 0;
}
.breadcrumb a {
    color: var(--primary);
    font-weight: 600;
    transition: var(--trans-fast);
}
.breadcrumb a:hover { color: var(--primary-dark); }
.breadcrumb i,
.breadcrumb .separator {
    font-size: 0.65rem;
    opacity: 0.45;
    color: var(--text-light);
}

/* ── PAGE HERO ────────────────────────────────────────────── */
.page-hero,
.page-hero-simple {
    padding: 60px 0 36px;
    background: linear-gradient(135deg, var(--primary-light) 0%, var(--bg-soft) 50%, #fff 100%);
    border-bottom: 1px solid var(--border-light);
    position: relative;
    overflow: hidden;
}
.page-hero::before,
.page-hero-simple::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 80% 60% at 70% 50%, rgba(255,214,224,0.3) 0%, transparent 70%);
    pointer-events: none;
}
.page-hero h1,
.page-hero-simple h1 {
    font-weight: 900;
    letter-spacing: -0.025em;
    margin-bottom: 12px;
}
.page-hero .lead,
.page-hero-simple .lead,
.page-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    max-width: 68ch;
    margin-top: 8px;
    line-height: 1.7;
}

/* Inline page-hero for listing pages */
.blog-listing-page .page-hero,
.shop-page .page-hero,
.pregnancy-week-index .page-hero,
.ebooks-listing-page .page-hero {
    border-radius: var(--r-xl);
    padding: 44px 32px;
    margin: 24px 0 20px;
    box-shadow: var(--shadow-sm);
}

/* ── CATEGORY TABS ────────────────────────────────────────── */
.category-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: none;
    margin-bottom: 24px;
}
.category-tabs::-webkit-scrollbar { display: none; }

.category-tabs .tab {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-muted);
    font-weight: 700;
    font-family: var(--font-heading);
    font-size: 0.85rem;
    white-space: nowrap;
    transition: var(--trans);
    cursor: pointer;
    text-decoration: none;
}
.category-tabs .tab:hover {
    border-color: rgba(192,96,128,0.4);
    background: rgba(255,214,224,0.35);
    color: var(--primary-dark);
}
.category-tabs .tab.active {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-color: transparent;
    box-shadow: 0 4px 12px rgba(192,96,128,0.3);
}
.tab-count {
    background: rgba(0,0,0,0.08);
    color: inherit;
    padding: 1px 7px;
    border-radius: var(--r-pill);
    font-size: 0.75rem;
}
.category-tabs .tab.active .tab-count { background: rgba(255,255,255,0.2); }

/* ── PAGINATION ───────────────────────────────────────────── */
.pagination,
.pagination-wrap {
    display: flex;
    gap: 6px;
    list-style: none;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    margin: 2.5rem 0 1rem;
    padding: 0;
}
.page-item .page-link,
.pagination-wrap .page-btn {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--r-md);
    border: 1.5px solid var(--border);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--trans);
    background: #fff;
    text-decoration: none;
    padding: 0 12px;
    box-shadow: var(--shadow-xs);
}
.page-item .page-link:hover,
.page-item.active .page-link,
.pagination-wrap .page-btn:hover,
.pagination-wrap .page-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff;
    box-shadow: 0 4px 12px rgba(192,96,128,0.3);
}

/* ── EMPTY STATE ──────────────────────────────────────────── */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    color: var(--text-muted);
}
.empty-state i {
    font-size: 3.5rem;
    color: var(--primary-light);
    margin-bottom: 20px;
    display: block;
}
.empty-state h3 {
    font-size: 1.4rem;
    color: var(--text);
    margin-bottom: 10px;
}
.empty-state p { color: var(--text-muted); margin-bottom: 24px; }

/* ── SPINNER ──────────────────────────────────────────────── */
.spinner {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2.5px solid rgba(192,96,128,0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 0.75s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ── NEWSLETTER SECTION ───────────────────────────────────── */
.newsletter-section,
.hp-newsletter-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #6B1A3A 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.newsletter-section::before,
.hp-newsletter-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 70% 80% at 50% 50%, rgba(255,214,224,0.12) 0%, transparent 70%);
    pointer-events: none;
}
.hp-newsletter-icon {
    font-size: 3rem;
    margin-bottom: 16px;
    display: block;
}
.hp-newsletter-title {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    color: #fff;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}
.hp-newsletter-sub {
    color: rgba(255,255,255,0.78);
    font-size: 1rem;
    max-width: 60ch;
    margin: 0 auto 28px;
    line-height: 1.7;
}
.hp-newsletter-row {
    display: flex;
    gap: 10px;
    max-width: 560px;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: center;
}
.hp-newsletter-row .form-control {
    flex: 1;
    min-width: 180px;
    background: rgba(255,255,255,0.12);
    border-color: rgba(255,255,255,0.25);
    color: #fff;
    border-radius: var(--r-pill);
}
.hp-newsletter-row .form-control::placeholder { color: rgba(255,255,255,0.6); }
.hp-newsletter-row .form-control:focus {
    background: rgba(255,255,255,0.18);
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 0 0 4px rgba(255,255,255,0.1) !important;
}
.hp-newsletter-note {
    color: rgba(255,255,255,0.5);
    font-size: 0.8rem;
    margin-top: 14px;
}
.newsletter-input-group {
    display: flex;
    gap: 10px;
    max-width: 480px;
    margin: 0 auto;
}

/* ── FOOTER ───────────────────────────────────────────────── */
.footer,
.premium-footer {
    background: linear-gradient(180deg, #3D0E22 0%, #220812 100%);
    color: rgba(255,255,255,0.75);
    padding: 72px 0 0;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}
.footer-brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(192,96,128,0.4);
}
.footer-brand-text {
    font-family: var(--font-heading);
    font-weight: 900;
    color: #fff;
    font-size: 1.05rem;
    line-height: 1.3;
    letter-spacing: -0.01em;
}

.footer h5 {
    font-family: var(--font-heading);
    font-weight: 800;
    color: #fff;
    font-size: 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.footer a {
    color: rgba(255,255,255,0.62);
    font-size: 0.88rem;
    display: block;
    margin-bottom: 10px;
    transition: var(--trans);
    line-height: 1.5;
}
.footer a:hover {
    color: var(--accent);
    padding-left: 5px;
}

.footer-brand-copy,
.footer-news-copy {
    color: rgba(255,255,255,0.6);
    font-size: 0.88rem;
    line-height: 1.75;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
    margin-top: 4px;
}
.footer-social a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    display: flex !important;
    align-items: center;
    justify-content: center;
    font-size: 0.95rem;
    margin: 0;
    padding: 0;
    transition: var(--trans);
    color: rgba(255,255,255,0.7) !important;
}
.footer-social a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(192,96,128,0.4);
    padding-left: 0;
}

.footer-news-row {
    display: flex;
    gap: 8px;
}
.footer-news-input {
    background: rgba(255,255,255,0.08) !important;
    border-color: rgba(255,255,255,0.18) !important;
    color: #fff !important;
    border-radius: var(--r-pill) !important;
}
.footer-news-input::placeholder { color: rgba(255,255,255,0.5) !important; }
.footer-news-input:focus {
    background: rgba(255,255,255,0.12) !important;
    border-color: rgba(255,255,255,0.4) !important;
}
.footer-news-btn { white-space: nowrap; }
.footer-feedback { display: none; margin-top: 8px; font-size: 0.8rem; }
.footer-disclaimer {
    margin-top: 4px;
    font-size: 0.76rem;
    opacity: 0.5;
    line-height: 1.6;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding: 24px 0;
    margin-top: 56px;
    text-align: center;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.4);
}
.footer-bottom a {
    color: rgba(255,255,255,0.55);
    display: inline;
    margin: 0;
    padding: 0;
    font-size: inherit;
}
.footer-bottom a:hover { color: var(--accent); padding-left: 0; }
.footer-bottom p { margin-bottom: 6px; color: inherit; }

/* ── LEGAL PAGES ──────────────────────────────────────────── */
.legal-page .legal-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    padding: 48px;
    max-width: 860px;
    margin: 0 auto;
}
.legal-page h1 { margin-bottom: 8px; }
.legal-page h3 { margin-top: 28px; margin-bottom: 10px; font-size: 1.1rem; }
.legal-page p  { color: var(--text-muted); }

@media (max-width: 767px) {
    .legal-page .legal-card { padding: 28px 20px; }
}

/* ══════════════════════════════════════════════════════════
   HOMEPAGE SECTIONS
   ══════════════════════════════════════════════════════════ */

.hp-section       { padding: 88px 0; }
.hp-section-soft  { background: var(--bg-soft); }
.hp-section-pink  { background: linear-gradient(180deg, rgba(255,214,224,0.4) 0%, transparent 100%); }

.hp-section-title {
    font-family: var(--font-heading);
    font-weight: 900;
    letter-spacing: -0.02em;
    margin-top: 10px;
    margin-bottom: 8px;
}
.hp-section-desc {
    color: var(--text-muted);
    max-width: 68ch;
    line-height: 1.75;
}
.hp-section-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 32px;
}

/* ── Hero ─────────────────────────────────────────────────── */
.hp-hero {
    position: relative;
    width: 100%;
    overflow: hidden;
}
.hp-hero .carousel,
.hp-hero .carousel-inner {
    width: 100%;
    height: 100%;
}
.hp-hero .carousel-item {
    height: calc(100vh - var(--nav-h));
    min-height: 580px;
    max-height: 860px;
    position: relative;
    background-color: #1a0a12;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    width: 100%;
}
.hp-hero-default {
    min-height: 580px;
    background: linear-gradient(135deg, #3D0E22 0%, #8B2252 50%, #C06080 100%);
    position: relative;
}
.hp-hero-overlay {
    position: absolute;
    inset: 0;
    /* Bottom-up dark base so text always readable */
    background:
        linear-gradient(to top,  rgba(10,4,8,0.72) 0%,  rgba(10,4,8,0.0)  45%),
        linear-gradient(to right, rgba(10,4,8,0.75) 0%, rgba(10,4,8,0.35) 55%, rgba(10,4,8,0.05) 100%);
}
.hp-hero-content {
    position: relative;
    z-index: 2;
    padding: 100px 0;
}
.hp-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: rgba(255,255,255,0.92);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    margin-bottom: 18px;
    backdrop-filter: blur(8px);
}
.hp-hero-title {
    color: #fff;
    font-weight: 900;
    letter-spacing: -0.03em;
    text-shadow: 0 4px 24px rgba(0,0,0,0.4);
    margin-bottom: 16px;
}
.hp-hero-sub {
    color: rgba(255,255,255,0.84);
    font-size: 1.1rem;
    max-width: 58ch;
    line-height: 1.7;
    text-shadow: 0 2px 12px rgba(0,0,0,0.3);
}
.hp-hero-actions {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}

/* ── Stats Bar ────────────────────────────────────────────── */
.hp-stats-bar {
    margin-top: -36px;
    position: relative;
    z-index: 3;
    padding-bottom: 0;
}
.hp-stats-bar .container {
    background: #fff;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow-lg);
    border-radius: var(--r-xl);
    padding: 24px 32px;
}
.hp-stats-row { display: flex; flex-wrap: wrap; }
.hp-stat-item {
    padding: 12px 20px;
    text-align: center;
    border-right: 1px solid var(--border-light);
}
.hp-stat-item:last-child { border-right: none; }
.hp-stat-number {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.6rem;
    color: var(--primary-dark);
    line-height: 1;
    letter-spacing: -0.02em;
}
.hp-stat-label {
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 6px;
    font-weight: 500;
}

/* ── Week Tracker ─────────────────────────────────────────── */
.hp-week-form {
    background: #fff;
    border: 1.5px solid var(--border);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    padding: 28px;
}
.hp-week-select { border-radius: var(--r-pill) !important; }
.hp-current-week-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: var(--r-pill);
    background: rgba(192,96,128,0.08);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    margin-top: 14px;
}
.hp-trimester-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
}
.hp-trimester-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
}
.hp-trimester-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192,96,128,0.25);
}
.hp-trimester-icon  { font-size: 28px; margin-bottom: 12px; }
.hp-trimester-name  { font-family: var(--font-heading); font-weight: 900; font-size: 1rem; }
.hp-trimester-weeks { color: var(--text-muted); font-size: 0.85rem; margin-top: 3px; }
.hp-trimester-desc  { color: var(--text-muted); font-size: 0.88rem; margin-top: 10px; line-height: 1.55; }

/* ── Featured Articles ────────────────────────────────────── */
.hp-article-card {
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    height: 100%;
}
.hp-article-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.hp-article-lead .hp-article-img-wrap {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
}
.hp-article-lead .hp-article-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.hp-article-lead:hover .hp-article-img-wrap img { transform: scale(1.04); }
.hp-article-badge {
    position: absolute;
    top: 14px;
    left: 14px;
    background: rgba(139,34,82,0.9);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    backdrop-filter: blur(4px);
}
.hp-article-body { padding: 24px; }
.hp-cat-chip {
    display: inline-block;
    padding: 3px 12px;
    border-radius: var(--r-pill);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    background: var(--primary-light);
    color: var(--primary-dark);
    margin-bottom: 10px;
    text-decoration: none;
    transition: var(--trans-fast);
}
.hp-cat-chip:hover { background: var(--primary); color: #fff; }
.hp-cat-chip-sm { font-size: 0.7rem; padding: 2px 9px; }
.hp-article-body h3 {
    font-size: 1.2rem;
    font-weight: 800;
    line-height: 1.35;
    margin-bottom: 10px;
}
.hp-article-body h3 a { color: var(--text); }
.hp-article-body h3 a:hover { color: var(--primary); }
.hp-article-body p { color: var(--text-muted); font-size: 0.92rem; line-height: 1.65; }
.hp-article-meta {
    display: flex;
    gap: 14px;
    font-size: 0.8rem;
    color: var(--text-light);
    margin-top: 14px;
    flex-wrap: wrap;
}
.hp-article-meta i { color: var(--primary); margin-right: 3px; }

/* Mini article row */
.hp-article-mini {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 14px;
    box-shadow: var(--shadow-xs);
    transition: var(--trans);
}
.hp-article-mini:hover {
    transform: translateX(4px);
    box-shadow: var(--shadow-sm);
    border-color: rgba(192,96,128,0.2);
}
.hp-article-mini-img {
    width: 80px;
    height: 64px;
    border-radius: var(--r-sm);
    overflow: hidden;
    flex-shrink: 0;
    display: block;
}
.hp-article-mini-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s var(--ease);
}
.hp-article-mini:hover .hp-article-mini-img img { transform: scale(1.06); }
.hp-article-mini-body { flex: 1; min-width: 0; }
.hp-article-mini-body h4 {
    font-size: 0.92rem;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 6px;
}
.hp-article-mini-body h4 a { color: var(--text); }
.hp-article-mini-body h4 a:hover { color: var(--primary); }
.hp-article-date { font-size: 0.78rem; color: var(--text-light); }

/* ── Category Cards ───────────────────────────────────────── */
.hp-cat-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 22px 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    text-decoration: none;
}
.hp-cat-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192,96,128,0.25);
}
.hp-cat-card-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.hp-cat-card-name {
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text);
    font-size: 0.98rem;
}
.hp-cat-card-count { color: var(--text-muted); font-size: 0.85rem; }

/* ── Week Chips Scroll ────────────────────────────────────── */
.hp-weeks-scroll {
    display: flex;
    gap: 14px;
    overflow-x: auto;
    padding: 4px 2px 16px;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
}
.hp-weeks-scroll::-webkit-scrollbar { display: none; }

.hp-week-chip {
    min-width: 200px;
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 14px 16px;
    box-shadow: var(--shadow-sm);
    display: flex;
    gap: 12px;
    align-items: center;
    scroll-snap-align: start;
    transition: var(--trans);
    text-decoration: none;
    flex-shrink: 0;
}
.hp-week-chip:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192,96,128,0.25);
}
.hp-week-chip img {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    object-fit: cover;
    flex-shrink: 0;
}
.hp-week-chip-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--r-sm);
    background: rgba(192,96,128,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    flex-shrink: 0;
}
.hp-week-chip-info { min-width: 0; }
.hp-week-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--text);
    font-size: 0.95rem;
}
.hp-week-size {
    display: block;
    color: var(--text-muted);
    font-size: 0.82rem;
    margin-top: 2px;
}

/* ── Doctor Cards ─────────────────────────────────────────── */
.hp-doctor-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--trans);
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.hp-doctor-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192,96,128,0.2);
}
.hp-doctor-photo {
    width: 68px;
    height: 68px;
    border-radius: var(--r-lg);
    overflow: hidden;
    background: rgba(192,96,128,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-bottom: 12px;
    flex-shrink: 0;
}
.hp-doctor-photo img { width: 100%; height: 100%; object-fit: cover; }
.hp-doctor-initials {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--primary-dark);
    font-size: 1.2rem;
}
.hp-verified-badge {
    position: absolute;
    right: -4px;
    bottom: -4px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #059669;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    border: 2px solid #fff;
}
.hp-doctor-name  { font-family: var(--font-heading); font-weight: 900; font-size: 1rem; color: var(--text); }
.hp-doctor-spec  { color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-top: 3px; }
.hp-doctor-city  { color: var(--text-muted); font-size: 0.82rem; margin-top: 3px; }
.hp-doctor-info  { flex: 1; }

/* ── Product Cards (Homepage) ─────────────────────────────── */
.hp-product-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.hp-product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.hp-product-img-wrap {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    position: relative;
    background: var(--bg-soft);
}
.hp-product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.hp-product-card:hover .hp-product-img-wrap img { transform: scale(1.05); }
.hp-product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    font-size: 2.5rem;
}
.hp-product-sale-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--danger);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: var(--r-pill);
}
.hp-product-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.hp-product-name { font-family: var(--font-heading); font-weight: 800; font-size: 0.95rem; line-height: 1.35; }
.hp-product-name a { color: var(--text); }
.hp-product-name a:hover { color: var(--primary); }
.hp-product-desc { color: var(--text-muted); font-size: 0.82rem; line-height: 1.55; flex: 1; }
.hp-product-price-row { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.hp-price { font-family: var(--font-heading); font-weight: 900; color: var(--primary-dark); font-size: 1.05rem; }
.hp-price-old { font-size: 0.85rem; color: var(--text-light); text-decoration: line-through; }

/* ── eBook Cards (Homepage) ───────────────────────────────── */
.hp-ebook-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.hp-ebook-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
}
.hp-ebook-cover {
    aspect-ratio: 3/4;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-soft));
    display: flex;
    align-items: center;
    justify-content: center;
}
.hp-ebook-cover img { width: 100%; height: 100%; object-fit: cover; }
.hp-ebook-cover-placeholder { font-size: 3rem; color: var(--primary); opacity: 0.4; }
.hp-ebook-free-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    letter-spacing: 0.05em;
}
.hp-ebook-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.hp-ebook-body h4 { font-size: 0.95rem; font-weight: 800; line-height: 1.35; }
.hp-ebook-body h4 a { color: var(--text); }
.hp-ebook-body h4 a:hover { color: var(--primary); }
.hp-ebook-body p { color: var(--text-muted); font-size: 0.82rem; flex: 1; }
.hp-ebook-price { font-family: var(--font-heading); font-weight: 800; color: var(--primary-dark); font-size: 0.95rem; }

/* ── Course Cards (Homepage) ──────────────────────────────── */
.hp-course-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.hp-course-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.hp-course-img-wrap {
    display: block;
    aspect-ratio: 16/9;
    overflow: hidden;
    position: relative;
}
.hp-course-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.hp-course-card:hover .hp-course-img-wrap img { transform: scale(1.04); }
.hp-course-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hp-course-meta-row { display: flex; gap: 12px; align-items: center; flex-wrap: wrap; font-size: 0.8rem; color: var(--text-muted); }
.hp-level-badge {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.hp-level-beginner { background: #ECFDF5; color: #065F46; border-color: #A7F3D0; }
.hp-level-intermediate { background: #FFFBEB; color: #92400E; border-color: #FDE68A; }
.hp-level-advanced { background: #FEF2F2; color: #991B1B; border-color: #FECACA; }
.hp-course-body h4 { font-size: 1rem; font-weight: 800; line-height: 1.35; }
.hp-course-body h4 a { color: var(--text); }
.hp-course-body h4 a:hover { color: var(--primary); }
.hp-course-instructor { font-size: 0.82rem; color: var(--text-muted); }

/* ── Testimonials ─────────────────────────────────────────── */
.hp-testimonial-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 28px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--trans);
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.hp-testimonial-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.hp-testimonial-stars { display: flex; gap: 3px; }
.hp-testimonial-text {
    color: var(--text);
    font-size: 0.95rem;
    line-height: 1.75;
    flex: 1;
    font-style: italic;
}
.hp-testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: auto; }
.hp-testimonial-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.hp-testimonial-avatar-initials {
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--primary-dark);
    font-size: 1rem;
}
.hp-testimonial-name { font-family: var(--font-heading); font-weight: 800; font-size: 0.92rem; color: var(--text); }
.hp-testimonial-loc  { font-size: 0.78rem; color: var(--text-muted); margin-top: 2px; }

/* ── Homepage Responsive ──────────────────────────────────── */
@media (max-width: 991px) {
    .hp-section { padding: 64px 0; }
    .hp-hero .carousel-item { height: 520px; min-height: 420px; }
    .hp-hero-default { min-height: 480px; }
    .hp-hero-content { padding: 80px 0; }
    .hp-section-header { align-items: flex-start; flex-direction: column; }
    .hp-trimester-row { grid-template-columns: 1fr; }
    .hp-stats-bar .container { padding: 20px; }
    .hp-stat-item { border-right: none; border-bottom: 1px solid var(--border-light); }
    .hp-stat-item:last-child { border-bottom: none; }
}
@media (max-width: 575px) {
    .hp-section { padding: 48px 0; }
    .hp-hero-content { padding: 60px 0; }
    .hp-hero-title { font-size: 1.9rem; }
    .hp-stats-bar { margin-top: -20px; }
    .hp-week-chip { min-width: 180px; }
    .hp-newsletter-row { flex-direction: column; }
    .hp-newsletter-row .form-control { min-width: unset; width: 100%; }
}

/* ══════════════════════════════════════════════════════════
   BLOG LISTING PAGE
   ══════════════════════════════════════════════════════════ */

.blog-search-form { margin: 20px 0 24px; }
.search-wrap {
    display: flex;
    align-items: center;
    gap: 0;
    background: #fff;
    border: 2px solid var(--border);
    border-radius: var(--r-pill);
    padding: 6px 6px 6px 18px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    max-width: 560px;
}
.search-wrap:focus-within {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(192,96,128,0.1);
}
.search-icon { color: var(--text-light); font-size: 0.9rem; flex-shrink: 0; }
.search-input {
    flex: 1;
    border: none;
    outline: none;
    background: transparent;
    font-family: var(--font-body);
    font-size: 0.95rem;
    color: var(--text);
    padding: 4px 12px;
}
.search-input::placeholder { color: var(--text-light); }

/* Featured hero post */
.featured-hero {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 0;
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    margin-bottom: 32px;
    transition: var(--trans);
}
.featured-hero:hover { box-shadow: var(--shadow-lg); }
.hero-img-wrap {
    display: block;
    position: relative;
    overflow: hidden;
    min-height: 320px;
    background: var(--bg-soft);
}
.hero-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s var(--ease);
}
.featured-hero:hover .hero-img-wrap img { transform: scale(1.04); }
.hero-img-placeholder {
    width: 100%;
    height: 100%;
    min-height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: var(--primary-light);
    background: var(--bg-soft);
}
.hero-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 14px;
    border-radius: var(--r-pill);
    letter-spacing: 0.04em;
}
.hero-content {
    padding: 36px 32px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}
.hero-content h2 { font-size: 1.5rem; font-weight: 900; line-height: 1.3; }
.hero-content h2 a { color: var(--text); }
.hero-content h2 a:hover { color: var(--primary); }
.post-excerpt { color: var(--text-muted); font-size: 0.92rem; line-height: 1.7; }
.post-cat-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: var(--r-pill);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.75rem;
    text-decoration: none;
    transition: var(--trans-fast);
}
.post-cat-badge.small { font-size: 0.7rem; padding: 3px 10px; }
.post-meta {
    display: flex;
    gap: 14px;
    font-size: 0.82rem;
    color: var(--text-muted);
    flex-wrap: wrap;
    align-items: center;
}
.post-meta i { color: var(--primary); margin-right: 4px; }

/* Results bar */
.results-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 20px;
    font-size: 0.88rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.clear-filters {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--danger);
    font-weight: 600;
    font-size: 0.85rem;
    transition: var(--trans-fast);
}
.clear-filters:hover { color: #991B1B; }

/* Posts grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}
.post-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    display: flex;
    flex-direction: column;
}
.post-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192,96,128,0.2);
}
.post-card.premium { border-color: rgba(192,96,128,0.3); }
.card-img-link {
    display: block;
    aspect-ratio: 16/10;
    overflow: hidden;
    position: relative;
    background: var(--bg-soft);
}
.card-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.post-card:hover .card-img { transform: scale(1.05); }
.card-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-light);
}
.premium-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: var(--r-pill);
}
.trimester-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.55);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.7rem;
    padding: 3px 10px;
    border-radius: var(--r-pill);
    backdrop-filter: blur(4px);
}
.post-card .card-body { padding: 20px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.post-card .card-title { font-size: 1rem; font-weight: 800; line-height: 1.4; margin-bottom: 0; }
.post-card .card-title a { color: var(--text); }
.post-card .card-title a:hover { color: var(--primary); }
.card-excerpt { color: var(--text-muted); font-size: 0.86rem; line-height: 1.65; flex: 1; }
.post-card .card-meta { margin-top: auto; padding-top: 10px; border-top: 1px solid var(--border-light); }

@media (max-width: 991px) {
    .posts-grid { grid-template-columns: repeat(2, 1fr); }
    .featured-hero { grid-template-columns: 1fr; }
    .hero-img-wrap { min-height: 240px; }
    .hero-content { padding: 24px; }
}
@media (max-width: 575px) {
    .posts-grid { grid-template-columns: 1fr; }
    .hero-content h2 { font-size: 1.25rem; }
}

/* ══════════════════════════════════════════════════════════
   SINGLE BLOG POST
   ══════════════════════════════════════════════════════════ */

.single-post-page .post-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 340px;
    gap: 28px;
    padding: 32px 0 72px;
}
.single-post-page .post-header { padding: 20px 0 14px; }
.single-post-page .post-title {
    font-weight: 900;
    letter-spacing: -0.025em;
    line-height: 1.2;
}
.single-post-page .post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    color: var(--text-muted);
    font-size: 0.88rem;
    margin-top: 14px;
    align-items: center;
}
.single-post-page .post-meta i { color: var(--primary); margin-right: 4px; }
.single-post-page .post-featured-img { margin: 20px 0; }
.single-post-page .post-featured-img img {
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    width: 100%;
}
.single-post-page .post-content {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text);
}
.single-post-page .post-content h2,
.single-post-page .post-content h3 { margin-top: 2rem; }
.single-post-page .post-content img {
    border-radius: var(--r-md);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
}
.single-post-page .share-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid var(--border-light);
}
.single-post-page .share-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--border);
    background: #fff;
    box-shadow: var(--shadow-xs);
    transition: var(--trans);
    color: var(--text-muted);
    font-size: 0.9rem;
}
.single-post-page .share-btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-sm);
    border-color: var(--primary);
    color: var(--primary);
}
.single-post-page .premium-gate {
    margin-top: 24px;
    padding: 32px;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, rgba(255,214,224,0.5), rgba(255,248,250,1));
    border: 1.5px solid rgba(192,96,128,0.2);
    text-align: center;
}
.single-post-page .post-sidebar .sidebar-widget {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.single-post-page .post-sidebar .sidebar-widget h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--border-light);
}

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

/* ══════════════════════════════════════════════════════════
   SHOP PAGE
   ══════════════════════════════════════════════════════════ */

.affiliate-notice {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 20px 0;
    padding: 14px 18px;
    border-radius: var(--r-lg);
    background: rgba(255,214,224,0.35);
    border: 1px solid rgba(192,96,128,0.15);
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.6;
}
.affiliate-notice i { color: var(--primary-dark); flex-shrink: 0; margin-top: 2px; }

.shop-toolbar {
    margin: 0 0 24px;
    padding: 20px;
    border-radius: var(--r-xl);
    background: #fff;
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
}
.shop-sort-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 16px;
    flex-wrap: wrap;
    padding-top: 16px;
    border-top: 1px solid var(--border-light);
}

/* Products grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    padding: 8px 0 40px;
}
.product-card {
    position: relative;
    border-radius: var(--r-xl);
    background: #fff;
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--trans);
    display: flex;
    flex-direction: column;
}
.product-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192,96,128,0.2);
}
.product-card.sponsored { border-color: rgba(255,193,7,0.4); }
.sponsored-tag {
    position: absolute;
    top: 10px;
    left: 10px;
    background: rgba(255,193,7,0.9);
    color: #92400E;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.68rem;
    padding: 3px 9px;
    border-radius: var(--r-pill);
    z-index: 2;
}
.featured-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    background: rgba(192,96,128,0.9);
    color: #fff;
    font-size: 0.75rem;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}
.sale-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--danger);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    padding: 3px 9px;
    border-radius: var(--r-pill);
    z-index: 2;
}
.product-img-wrap {
    display: block;
    aspect-ratio: 4/3;
    overflow: hidden;
    background: var(--bg-soft);
}
.product-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.product-card:hover .product-img-wrap img { transform: scale(1.05); }
.product-img-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: var(--primary-light);
}
.product-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.product-cat {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.72rem;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.product-name { font-family: var(--font-heading); font-weight: 800; font-size: 0.92rem; line-height: 1.35; }
.product-name a { color: var(--text); }
.product-name a:hover { color: var(--primary); }
.product-brand { font-size: 0.78rem; color: var(--text-light); }
.product-excerpt { color: var(--text-muted); font-size: 0.82rem; line-height: 1.55; flex: 1; }
.product-price { display: flex; align-items: center; gap: 8px; margin-top: 4px; }
.original-price { color: var(--text-light); text-decoration: line-through; font-size: 0.85rem; }
.sale-price, .price {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--primary-dark);
    font-size: 1rem;
}
.buy-btn { margin-top: 8px; }

@media (max-width: 1199px) { .products-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px)  { .products-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .products-grid { grid-template-columns: 1fr; } }

/* ── Product Single ───────────────────────────────────────── */
.product-single-page .product-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 28px;
    padding: 28px 0 60px;
}
.product-single-page .product-gallery {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    padding: 16px;
}
.product-single-page .product-info {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    position: sticky;
    top: calc(var(--nav-h) + 20px);
    align-self: start;
}
.product-single-page .product-title { font-weight: 900; letter-spacing: -0.02em; }
.product-single-page .product-price-box {
    margin-top: 16px;
    padding: 18px;
    border-radius: var(--r-lg);
    background: rgba(255,214,224,0.3);
    border: 1px solid rgba(192,96,128,0.15);
}
.product-single-page .product-description {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    padding: 28px;
    margin-top: 20px;
}
@media (max-width: 991px) {
    .product-single-page .product-layout { grid-template-columns: 1fr; }
    .product-single-page .product-info { position: static; }
}

/* ══════════════════════════════════════════════════════════
   EBOOKS PAGE
   ══════════════════════════════════════════════════════════ */

.ebooks-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 8px 0 48px;
}
.ebook-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    display: flex;
    flex-direction: column;
    position: relative;
}
.ebook-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ebook-badge-free {
    position: absolute;
    top: 12px;
    left: 12px;
    background: linear-gradient(135deg, #059669, #047857);
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.7rem;
    padding: 4px 10px;
    border-radius: var(--r-pill);
    z-index: 2;
    letter-spacing: 0.05em;
}
.ebook-cover-link {
    display: block;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, var(--primary-light), var(--bg-soft));
}
.ebook-cover-thumb {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s var(--ease);
}
.ebook-card:hover .ebook-cover-thumb { transform: scale(1.04); }
.ebook-cover-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    opacity: 0.35;
}
.ebook-cover-placeholder.small { font-size: 2rem; }
.ebook-card-body { padding: 18px; flex: 1; display: flex; flex-direction: column; gap: 8px; }
.ebook-card-title { font-family: var(--font-heading); font-weight: 800; font-size: 0.95rem; line-height: 1.35; }
.ebook-card-title a { color: var(--text); }
.ebook-card-title a:hover { color: var(--primary); }
.ebook-card-meta { display: flex; gap: 10px; font-size: 0.78rem; color: var(--text-muted); flex-wrap: wrap; }
.ebook-card-price { font-family: var(--font-heading); font-weight: 800; color: var(--primary-dark); font-size: 0.95rem; }
.price-free { color: #059669; }

@media (max-width: 1199px) { .ebooks-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 991px)  { .ebooks-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px)  { .ebooks-grid { grid-template-columns: 1fr; } }

/* ── eBook Single ─────────────────────────────────────────── */
.ebook-single-page .ebook-layout {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 32px;
    padding: 28px 0 60px;
}
.ebook-cover-img {
    width: 100%;
    border-radius: var(--r-lg);
    box-shadow: var(--shadow-lg);
}
.purchase-box {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    margin-top: 20px;
}
.price-display {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.8rem;
    color: var(--primary-dark);
    text-align: center;
    margin-bottom: 16px;
}
.price-display.free { color: #059669; }
.price-display .sale { color: var(--primary-dark); }
.purchase-trust {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 14px;
    font-size: 0.78rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}
.purchase-trust i { color: var(--primary); margin-right: 4px; }
.ebook-title { font-weight: 900; letter-spacing: -0.02em; margin-bottom: 16px; }
.ebook-meta-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-light);
}
.ebook-meta-row i { color: var(--primary); margin-right: 4px; }
.ebook-description { color: var(--text); line-height: 1.8; }
.medical-disclaimer {
    background: rgba(255,214,224,0.3);
    border: 1px solid rgba(192,96,128,0.15);
    border-radius: var(--r-md);
    padding: 14px 16px;
    font-size: 0.85rem;
    color: var(--text-muted);
}
.medical-disclaimer i { color: var(--primary); margin-right: 6px; }

@media (max-width: 991px) {
    .ebook-single-page .ebook-layout { grid-template-columns: 1fr; }
    .ebook-cover-col { max-width: 320px; margin: 0 auto; }
}

/* ══════════════════════════════════════════════════════════
   PREGNANCY WEEK INDEX
   ══════════════════════════════════════════════════════════ */

.week-finder {
    margin-top: 20px;
    padding: 24px;
    border-radius: var(--r-xl);
    background: rgba(255,255,255,0.8);
    border: 1.5px solid rgba(192,96,128,0.15);
    backdrop-filter: blur(12px);
    max-width: 560px;
    margin-inline: auto;
}
.week-finder label {
    display: block;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 12px;
    font-size: 0.92rem;
}
.wf-row {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}
.week-result-box {
    margin-top: 16px;
    padding: 16px;
    background: rgba(255,214,224,0.4);
    border: 1px solid rgba(192,96,128,0.2);
    border-radius: var(--r-lg);
    text-align: center;
}
.week-result-box p { color: var(--text-muted); font-size: 0.9rem; margin: 8px 0 14px; }

.trimester-section { margin-top: 40px; }
.trimester-title {
    font-weight: 900;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
}

.weeks-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin-bottom: 8px;
}
.week-card {
    border-radius: var(--r-lg);
    border: 1.5px solid var(--border-light);
    background: #fff;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    transition: var(--trans);
    display: block;
    text-decoration: none;
}
.week-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192,96,128,0.25);
}
.week-card.current {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(192,96,128,0.15), var(--shadow-md);
}
.wc-img {
    aspect-ratio: 16/10;
    overflow: hidden;
    background: rgba(255,214,224,0.3);
    display: flex;
    align-items: center;
    justify-content: center;
}
.wc-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s var(--ease); }
.week-card:hover .wc-img img { transform: scale(1.06); }
.wc-placeholder { font-size: 1.8rem; color: var(--primary-light); }
.wc-body { padding: 12px 14px 14px; }
.wc-num {
    display: block;
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--text);
    font-size: 0.92rem;
}
.wc-size {
    display: block;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 3px;
}

@media (max-width: 1199px) { .weeks-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 991px)  { .weeks-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575px)  { .weeks-grid { grid-template-columns: repeat(2, 1fr); } }

/* ══════════════════════════════════════════════════════════
   ABOUT PAGE
   ══════════════════════════════════════════════════════════ */

.about-hero-visual { display: flex; justify-content: center; align-items: center; }
.about-stat-circle {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
}
.about-stat-num { font-family: var(--font-heading); font-weight: 900; font-size: 2rem; line-height: 1; }
.about-stat-lbl { font-size: 0.85rem; opacity: 0.85; margin-top: 6px; }

.about-value-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    transition: var(--trans);
}
.about-value-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about-value-card i { color: var(--primary-dark); font-size: 1.1rem; margin-right: 8px; }
.about-value-card strong { font-family: var(--font-heading); font-weight: 800; }
.about-value-card p { color: var(--text-muted); font-size: 0.88rem; margin-top: 8px; margin-bottom: 0; }

.about-impact-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-impact-item {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
}
.about-impact-item:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.about-impact-num {
    font-family: var(--font-heading);
    font-weight: 900;
    color: var(--primary-dark);
    font-size: 1.6rem;
    letter-spacing: -0.02em;
}
.about-impact-label { color: var(--text-muted); font-size: 0.85rem; margin-top: 4px; }

.about-team-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 24px;
    box-shadow: var(--shadow-sm);
    height: 100%;
    text-align: center;
    transition: var(--trans);
}
.about-team-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.about-team-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 14px;
    background: rgba(192,96,128,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-team-photo img { width: 100%; height: 100%; object-fit: cover; }
.about-team-initials { font-family: var(--font-heading); font-weight: 900; color: var(--primary-dark); font-size: 1.4rem; }
.about-team-name  { font-family: var(--font-heading); font-weight: 900; font-size: 1rem; }
.about-team-role  { color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-top: 4px; }
.about-team-bio   { color: var(--text-muted); font-size: 0.85rem; margin-top: 10px; line-height: 1.6; }
.about-team-linkedin {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: #0A66C2;
    color: #fff;
    font-size: 0.9rem;
    margin-top: 12px;
    transition: var(--trans);
}
.about-team-linkedin:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(10,102,194,0.4); }

.about-editorial-list { display: flex; flex-direction: column; gap: 20px; margin-top: 20px; }
.about-editorial-step { display: flex; gap: 16px; align-items: flex-start; }
.about-editorial-num {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.4rem;
    color: var(--primary-light);
    line-height: 1;
    flex-shrink: 0;
    width: 36px;
}
.about-editorial-step strong { font-family: var(--font-heading); font-weight: 800; display: block; margin-bottom: 4px; }
.about-editorial-step p { color: var(--text-muted); font-size: 0.9rem; margin: 0; }

.about-certifications { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.about-cert-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
}
.about-cert-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.about-cert-card i { font-size: 1.3rem; margin-bottom: 10px; display: block; }
.about-cert-card strong { font-family: var(--font-heading); font-weight: 800; display: block; margin-bottom: 4px; }
.about-cert-card p { color: var(--text-muted); font-size: 0.85rem; margin: 0; }

/* ══════════════════════════════════════════════════════════
   CONTACT PAGE
   ══════════════════════════════════════════════════════════ */

.contact-form-card,
.contact-info-sidebar {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    padding: 36px;
    height: 100%;
}
.contact-info-item {
    display: flex;
    gap: 14px;
    padding: 16px;
    border-radius: var(--r-lg);
    border: 1.5px solid var(--border-light);
    background: var(--bg-soft);
    margin-bottom: 12px;
    transition: var(--trans);
}
.contact-info-item:hover { border-color: rgba(192,96,128,0.2); box-shadow: var(--shadow-xs); }
.contact-info-icon {
    width: 46px;
    height: 46px;
    border-radius: var(--r-md);
    background: rgba(255,214,224,0.6);
    color: var(--primary-dark);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 1rem;
}
.contact-info-label { font-family: var(--font-heading); font-weight: 800; font-size: 0.9rem; }
.contact-info-value { color: var(--primary); font-weight: 600; font-size: 0.9rem; }
.contact-info-note  { color: var(--text-muted); font-size: 0.82rem; margin-top: 3px; }
.contact-response-card,
.contact-doctor-cta {
    background: rgba(255,214,224,0.3);
    border: 1.5px solid rgba(192,96,128,0.15);
    border-radius: var(--r-xl);
    padding: 20px;
}
.contact-response-card p,
.contact-doctor-cta p { color: var(--text-muted); font-size: 0.88rem; margin-top: 8px; }
.contact-doctor-cta h5 { font-family: var(--font-heading); font-weight: 800; }

@media (max-width: 767px) {
    .contact-form-card, .contact-info-sidebar { padding: 24px 20px; }
}

/* ══════════════════════════════════════════════════════════
   AUTH PAGES (Login / Register)
   ══════════════════════════════════════════════════════════ */

.auth-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-md);
    padding: 40px;
    max-width: 480px;
    margin: 0 auto;
}
/* Bootstrap .card used in login/register gets premium treatment */
.hp-section .card {
    border-radius: var(--r-xl);
    border: 1.5px solid var(--border-light);
    box-shadow: var(--shadow-md);
}
.hp-section .card:hover {
    transform: none;
    box-shadow: var(--shadow-md);
}
.hp-section .card.p-4 { padding: 36px !important; }

/* ══════════════════════════════════════════════════════════
   MEMBERSHIP PAGE
   ══════════════════════════════════════════════════════════ */

.membership-hero {
    background: linear-gradient(135deg, var(--primary-dark) 0%, #6B1A3A 50%, var(--primary) 100%);
    padding: 88px 0;
    position: relative;
    overflow: hidden;
}
.membership-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(255,214,224,0.15) 0%, transparent 70%);
    pointer-events: none;
}
.membership-feature-list { display: flex; flex-direction: column; gap: 12px; }
.membership-feature-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--r-lg);
    padding: 14px 18px;
    color: #fff;
    font-size: 0.92rem;
    font-weight: 500;
    backdrop-filter: blur(8px);
    transition: var(--trans);
}
.membership-feature-item:hover { background: rgba(255,255,255,0.16); }
.membership-feature-icon {
    width: 36px;
    height: 36px;
    border-radius: var(--r-sm);
    background: rgba(255,255,255,0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 0.95rem;
}

/* Pricing cards */
.pricing-card {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    height: 100%;
    transition: var(--trans);
    position: relative;
}
.pricing-card:hover { box-shadow: var(--shadow-md); }
.pricing-card-featured {
    border-color: var(--primary);
    box-shadow: var(--shadow-md);
    transform: scale(1.02);
}
.pricing-card-featured:hover { box-shadow: var(--shadow-lg); }
.pricing-popular-badge {
    position: absolute;
    top: -1px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 5px 18px;
    border-radius: 0 0 var(--r-md) var(--r-md);
    white-space: nowrap;
    letter-spacing: 0.02em;
}
.pricing-card-header {
    padding: 32px 28px 24px;
    border-bottom: 1px solid var(--border-light);
    text-align: center;
}
.pricing-card-header-featured {
    background: linear-gradient(135deg, rgba(255,214,224,0.4), rgba(255,248,250,0.8));
}
.pricing-plan-name {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.2rem;
    color: var(--text);
    margin-bottom: 16px;
}
.pricing-plan-price {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 2.4rem;
    color: var(--primary-dark);
    letter-spacing: -0.03em;
    line-height: 1;
}
.pricing-plan-period { color: var(--text-muted); font-size: 0.88rem; margin-top: 6px; }
.pricing-toggle {
    display: inline-flex;
    background: var(--bg-muted);
    border-radius: var(--r-pill);
    padding: 4px;
    gap: 4px;
    margin-bottom: 16px;
    border: 1px solid var(--border);
}
.pricing-toggle-btn {
    padding: 6px 16px;
    border-radius: var(--r-pill);
    border: none;
    background: transparent;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: var(--trans);
    display: flex;
    align-items: center;
    gap: 6px;
}
.pricing-toggle-btn.active {
    background: #fff;
    color: var(--primary-dark);
    box-shadow: var(--shadow-xs);
}
.pricing-save-badge {
    background: #059669;
    color: #fff;
    font-size: 0.65rem;
    padding: 2px 7px;
    border-radius: var(--r-pill);
    font-weight: 800;
}
.pricing-card-body { padding: 28px; }
.pricing-feature-list { list-style: none; display: flex; flex-direction: column; gap: 10px; margin-bottom: 24px; }
.pricing-feature-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: var(--text-muted);
}
.pricing-feature-list li.included { color: var(--text); }
.pricing-feature-list li.included i { color: #059669; }
.pricing-feature-list li.excluded { opacity: 0.5; }
.pricing-feature-list li.excluded i { color: var(--danger); }
.pricing-feature-list li.premium i { color: var(--primary); }

/* ══════════════════════════════════════════════════════════
   ASK A DOCTOR
   ══════════════════════════════════════════════════════════ */

/* Uses .card.p-4 — already styled above */
.accordion-item {
    border: 1.5px solid var(--border-light) !important;
    border-radius: var(--r-lg) !important;
    overflow: hidden;
    margin-bottom: 8px;
}
.accordion-button {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--text);
    background: #fff;
    border-radius: var(--r-lg) !important;
    padding: 16px 20px;
}
.accordion-button:not(.collapsed) {
    color: var(--primary-dark);
    background: rgba(255,214,224,0.25);
    box-shadow: none;
}
.accordion-button:focus { box-shadow: none !important; }
.accordion-body { padding: 16px 20px 20px; font-size: 0.92rem; color: var(--text-muted); line-height: 1.75; }

/* ══════════════════════════════════════════════════════════
   PREMIUM LOCK OVERLAY
   ══════════════════════════════════════════════════════════ */

.premium-lock { position: relative; overflow: hidden; }
.premium-lock::after {
    content: '🔒 MamaPlus Content';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(139,34,82,0.96) 45%, transparent);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 32px;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1rem;
    letter-spacing: 0.03em;
}

/* ══════════════════════════════════════════════════════════
   WEEK TRACKER WIDGET (sidebar / standalone)
   ══════════════════════════════════════════════════════════ */

.week-tracker {
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff;
    border-radius: var(--r-xl);
    padding: 32px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}
.week-tracker::before {
    content: '🌸';
    position: absolute;
    font-size: 130px;
    opacity: 0.07;
    right: -20px;
    top: -20px;
    pointer-events: none;
}
.week-tracker .week-number {
    font-size: 4.5rem;
    font-family: var(--font-heading);
    font-weight: 900;
    line-height: 1;
    letter-spacing: -0.04em;
}
.week-tracker .week-label { font-size: 0.88rem; opacity: 0.82; margin-top: 6px; }
.pregnancy-progress {
    background: rgba(255,255,255,0.25);
    border-radius: var(--r-pill);
    height: 8px;
    margin: 18px 0;
    overflow: hidden;
}
.pregnancy-progress .progress-fill {
    height: 100%;
    border-radius: var(--r-pill);
    background: #fff;
    transition: width 0.6s var(--ease);
}

/* ══════════════════════════════════════════════════════════
   GLOBAL RESPONSIVE
   ══════════════════════════════════════════════════════════ */

@media (max-width: 767px) {
    :root { --nav-h: 64px; }

    .section-pad    { padding: 56px 0; }
    .section-pad-sm { padding: 36px 0; }
    .hp-section     { padding: 48px 0; }

    .btn    { padding: 10px 22px; font-size: 0.88rem; }
    .btn-lg { padding: 12px 28px; font-size: 0.95rem; }

    .card-body { padding: 1.1rem; }

    .newsletter-input-group { flex-direction: column; }

    .week-tracker .week-number { font-size: 3.5rem; }

    .about-impact-grid    { grid-template-columns: 1fr; }
    .about-certifications { grid-template-columns: 1fr; }
    .hp-trimester-row     { grid-template-columns: 1fr; }

    .pricing-card-featured { transform: none; }

    .membership-hero { padding: 56px 0; }
    .membership-feature-list { gap: 8px; }

    .contact-form-card, .contact-info-sidebar { padding: 20px; }

    .page-hero, .page-hero-simple { padding: 44px 0 28px; }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .section-pad { padding: 72px 0; }
    .hp-section  { padding: 72px 0; }
}

/* ── Print ────────────────────────────────────────────────── */
@media print {
    .navbar, .footer, .btn, .newsletter-section,
    .hp-newsletter-section, .sidebar-widget { display: none !important; }
    body { font-size: 12pt; color: #000; }
    a    { color: #000; }
    .single-post-page .post-layout { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════
   PREGNANCY WEEK SINGLE PAGE
   ══════════════════════════════════════════════════════════ */

.week-single-page { padding-bottom: 80px; }

/* Hero */
.week-hero {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 40px;
    align-items: center;
    background: linear-gradient(135deg, var(--bg-soft) 0%, #fff 100%);
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 48px;
    margin-bottom: 28px;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}
.week-hero::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 300px; height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(192,96,128,0.08) 0%, transparent 70%);
    pointer-events: none;
}
.week-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: var(--r-pill);
    background: rgba(192,96,128,0.1);
    color: var(--primary-dark);
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.8rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 16px;
}
.week-hero-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 16px;
    color: var(--text);
}
.week-hero-size {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}
.week-hero-size .size-icon { color: var(--primary); flex-shrink: 0; }
.week-hero-size strong { color: var(--text); font-weight: 800; }
.week-hero-metrics {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 24px;
}
.metric-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 12px 18px;
    box-shadow: var(--shadow-xs);
    min-width: 130px;
}
.metric-icon { color: var(--primary); flex-shrink: 0; }
.metric-label { display: block; font-size: 0.75rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.metric-value { display: block; font-family: var(--font-heading); font-weight: 900; color: var(--text); font-size: 1rem; }
.week-progress-wrap { margin-top: 8px; }
.week-progress-bar {
    height: 8px;
    background: var(--border-light);
    border-radius: var(--r-pill);
    overflow: hidden;
    margin-bottom: 8px;
}
.week-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--primary), var(--primary-dark));
    border-radius: var(--r-pill);
    transition: width 0.8s var(--ease);
}
.week-progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 600;
}
.week-hero-visual { display: flex; justify-content: center; align-items: center; }
.week-hero-img-wrap {
    width: 320px;
    height: 320px;
    border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: var(--shadow-lg);
    background: var(--bg-soft);
}
.week-hero-img-wrap img { width: 100%; height: 100%; object-fit: cover; }

/* Week Nav Bar */
.week-nav-bar {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    gap: 12px;
    align-items: center;
    margin-bottom: 32px;
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 14px 20px;
    box-shadow: var(--shadow-xs);
}
.week-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border-radius: var(--r-pill);
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    transition: var(--trans);
    text-decoration: none;
    white-space: nowrap;
}
.week-nav-btn:hover { border-color: var(--primary); color: var(--primary); background: rgba(192,96,128,0.05); }
.week-nav-prev { justify-self: start; }
.week-nav-next { justify-self: end; }
.week-nav-center { display: flex; justify-content: center; }
.week-jump-select {
    border-radius: var(--r-pill) !important;
    padding: 8px 20px !important;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.88rem;
    border: 1.5px solid var(--border) !important;
    min-width: 180px;
    text-align: center;
}

/* Layout */
.week-layout {
    display: grid;
    grid-template-columns: minmax(0,1fr) 320px;
    gap: 28px;
    align-items: start;
}

/* Tabs */
.week-tabs {
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding-bottom: 2px;
    margin-bottom: 28px;
    scrollbar-width: none;
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 8px;
    box-shadow: var(--shadow-xs);
}
.week-tabs::-webkit-scrollbar { display: none; }
.week-tab {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 9px 18px;
    border-radius: var(--r-lg);
    border: none;
    background: transparent;
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    cursor: pointer;
    transition: var(--trans);
    white-space: nowrap;
}
.week-tab:hover { background: var(--bg-soft); color: var(--text); }
.week-tab.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; box-shadow: 0 4px 12px rgba(192,96,128,0.3); }

/* Sections */
.week-section {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 32px;
    margin-bottom: 20px;
    box-shadow: var(--shadow-sm);
}
.week-section-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1.5px solid var(--border-light);
}
.week-section-icon {
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
}
.week-section-title { font-size: 1.25rem; font-weight: 900; margin-bottom: 4px; letter-spacing: -0.01em; }
.week-section-sub   { color: var(--text-muted); font-size: 0.88rem; margin: 0; }
.week-prose { color: var(--text); line-height: 1.85; font-size: 0.97rem; }
.week-prose p { margin-bottom: 1rem; }
.week-prose ul, .week-prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.week-prose li { margin-bottom: 0.4rem; }
.week-empty-state { text-align: center; padding: 32px; color: var(--text-muted); }
.week-empty-state svg { margin: 0 auto 12px; opacity: 0.3; display: block; }

/* Doctor section */
.week-section-doctor { background: linear-gradient(135deg, rgba(255,214,224,0.3), #fff); border-color: rgba(192,96,128,0.2); }
.week-doctor-banner { display: flex; align-items: center; gap: 16px; margin-bottom: 20px; padding-bottom: 20px; border-bottom: 1.5px solid rgba(192,96,128,0.15); }
.week-doctor-icon { width: 56px; height: 56px; border-radius: var(--r-lg); background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0; box-shadow: 0 4px 12px rgba(192,96,128,0.3); }
.week-cta-btn {
    display: inline-flex; align-items: center; gap: 8px;
    margin-top: 20px; padding: 11px 24px;
    border-radius: var(--r-pill);
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; font-family: var(--font-heading); font-weight: 700; font-size: 0.9rem;
    text-decoration: none; transition: var(--trans);
    box-shadow: 0 4px 14px rgba(192,96,128,0.3);
}
.week-cta-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(192,96,128,0.4); color: #fff; }

/* Symptoms */
.symptom-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; }
.symptom-item {
    display: flex; align-items: center; gap: 12px;
    padding: 12px 16px;
    background: var(--bg-soft);
    border: 1px solid var(--border-light);
    border-radius: var(--r-md);
    font-size: 0.9rem; color: var(--text);
    transition: var(--trans);
}
.symptom-item:hover { border-color: rgba(192,96,128,0.2); background: rgba(255,214,224,0.2); }
.symptom-check {
    width: 24px; height: 24px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: #fff; display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}

/* Checklist */
.week-section-header .flex-grow-1 { flex: 1; }
.week-download-btn {
    display: inline-flex; align-items: center; gap: 6px;
    padding: 7px 14px; border-radius: var(--r-pill);
    border: 1.5px solid var(--border); background: #fff;
    color: var(--text-muted); font-family: var(--font-heading);
    font-weight: 700; font-size: 0.8rem; cursor: pointer;
    transition: var(--trans); white-space: nowrap;
}
.week-download-btn:hover { border-color: var(--primary); color: var(--primary); }
.week-checklist { list-style: none; display: flex; flex-direction: column; gap: 8px; }
.checklist-row {}
.checklist-label {
    display: flex; align-items: center; gap: 14px;
    padding: 14px 18px;
    background: var(--bg-soft); border: 1.5px solid var(--border-light);
    border-radius: var(--r-md); cursor: pointer; transition: var(--trans);
}
.checklist-label:hover { border-color: rgba(192,96,128,0.25); background: rgba(255,214,224,0.15); }
.checklist-label.done { background: rgba(5,150,105,0.06); border-color: rgba(5,150,105,0.25); }
.checklist-label.done .checklist-text { text-decoration: line-through; color: var(--text-muted); }
.checklist-label input[type=checkbox] { display: none; }
.checklist-box {
    width: 22px; height: 22px; border-radius: 6px;
    border: 2px solid var(--border); background: #fff;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0; transition: var(--trans);
    color: transparent;
}
.checklist-label.done .checklist-box { background: #059669; border-color: #059669; color: #fff; }
.checklist-text { font-size: 0.92rem; color: var(--text); line-height: 1.5; }

/* Affiliate */
.affiliate-note {
    display: flex; align-items: center; gap: 8px;
    font-size: 0.82rem; color: var(--text-muted);
    margin-bottom: 16px;
}
.affiliate-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.affiliate-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1.5px solid var(--border-light);
    border-radius: var(--r-lg); overflow: hidden;
    text-decoration: none; transition: var(--trans);
    box-shadow: var(--shadow-xs);
}
.affiliate-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: rgba(192,96,128,0.2); }
.affiliate-img { aspect-ratio: 4/3; overflow: hidden; background: var(--bg-soft); }
.affiliate-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.affiliate-card:hover .affiliate-img img { transform: scale(1.05); }
.affiliate-img-placeholder { display: flex; align-items: center; justify-content: center; color: var(--primary-light); }
.affiliate-body { padding: 14px; display: flex; flex-direction: column; gap: 8px; }
.affiliate-name { font-family: var(--font-heading); font-weight: 800; font-size: 0.9rem; color: var(--text); }
.affiliate-cta { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; color: var(--primary); }

/* Disclaimer */
.week-disclaimer {
    display: flex; align-items: flex-start; gap: 14px;
    padding: 20px 24px; margin-bottom: 20px;
    background: rgba(255,214,224,0.25);
    border: 1.5px solid rgba(192,96,128,0.18);
    border-radius: var(--r-lg);
    font-size: 0.88rem; color: var(--text-muted); line-height: 1.65;
}
.week-disclaimer-icon { color: var(--primary); flex-shrink: 0; margin-top: 2px; }

/* Related posts */
.related-posts-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.related-post-card {
    display: flex; flex-direction: column;
    background: #fff; border: 1.5px solid var(--border-light);
    border-radius: var(--r-lg); overflow: hidden;
    text-decoration: none; transition: var(--trans);
    box-shadow: var(--shadow-xs);
}
.related-post-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.related-post-img { aspect-ratio: 16/9; overflow: hidden; background: var(--bg-soft); }
.related-post-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s var(--ease); }
.related-post-card:hover .related-post-img img { transform: scale(1.05); }
.related-post-img-placeholder { display: flex; align-items: center; justify-content: center; color: var(--primary-light); }
.related-post-body { padding: 16px; flex: 1; display: flex; flex-direction: column; gap: 6px; }
.related-post-body h4 { font-size: 0.92rem; font-weight: 800; color: var(--text); line-height: 1.4; }
.related-post-body p  { font-size: 0.82rem; color: var(--text-muted); flex: 1; }
.related-post-link { display: inline-flex; align-items: center; gap: 4px; font-family: var(--font-heading); font-weight: 700; font-size: 0.8rem; color: var(--primary); margin-top: auto; }

/* Infographic */
.week-infographic { width: 100%; border-radius: var(--r-lg); box-shadow: var(--shadow-sm); }

/* Sidebar */
.week-sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--nav-h) + 20px); }
.sidebar-widget {
    background: #fff; border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl); padding: 24px; box-shadow: var(--shadow-sm);
}
.sidebar-widget-title {
    display: flex; align-items: center; gap: 8px;
    font-family: var(--font-heading); font-weight: 800; font-size: 0.95rem;
    color: var(--text); margin-bottom: 16px;
    padding-bottom: 12px; border-bottom: 1.5px solid var(--border-light);
}
.sidebar-widget-title svg { color: var(--primary); flex-shrink: 0; }
.quick-weeks-grid { display: grid; grid-template-columns: repeat(8, 1fr); gap: 5px; }
.qw-btn {
    display: flex; align-items: center; justify-content: center;
    width: 100%; aspect-ratio: 1;
    border-radius: var(--r-sm); border: 1px solid var(--border-light);
    background: var(--bg-soft); color: var(--text-muted);
    font-family: var(--font-heading); font-weight: 700; font-size: 0.72rem;
    text-decoration: none; transition: var(--trans);
}
.qw-btn:hover { background: rgba(255,214,224,0.5); border-color: rgba(192,96,128,0.3); color: var(--primary-dark); }
.qw-btn.active { background: linear-gradient(135deg, var(--primary), var(--primary-dark)); color: #fff; border-color: transparent; box-shadow: 0 2px 8px rgba(192,96,128,0.3); }
.due-result {
    margin-top: 12px; padding: 14px; border-radius: var(--r-md);
    background: rgba(255,214,224,0.3); border: 1px solid rgba(192,96,128,0.2);
    font-size: 0.88rem; color: var(--text); text-align: center; line-height: 1.6;
}
.sidebar-newsletter { background: linear-gradient(135deg, var(--primary-dark), #6B1A3A); color: #fff; }
.sidebar-newsletter .sidebar-newsletter-icon {
    width: 52px; height: 52px; border-radius: var(--r-md);
    background: rgba(255,255,255,0.15); color: #fff;
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 14px;
}
.sidebar-newsletter h4 { color: #fff; font-size: 1rem; font-weight: 900; margin-bottom: 8px; }
.sidebar-newsletter p  { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-bottom: 14px; }
.sidebar-newsletter .form-control { background: rgba(255,255,255,0.12) !important; border-color: rgba(255,255,255,0.25) !important; color: #fff !important; }
.sidebar-newsletter .form-control::placeholder { color: rgba(255,255,255,0.55) !important; }
.sidebar-doctor-cta { background: rgba(255,214,224,0.25); border-color: rgba(192,96,128,0.2); }
.sidebar-doctor-cta .sidebar-doctor-icon {
    width: 52px; height: 52px; border-radius: var(--r-md);
    background: rgba(192,96,128,0.12); color: var(--primary);
    display: flex; align-items: center; justify-content: center; margin-bottom: 14px;
}
.sidebar-doctor-cta h4 { font-size: 1rem; font-weight: 900; margin-bottom: 8px; }
.sidebar-doctor-cta p  { color: var(--text-muted); font-size: 0.85rem; margin-bottom: 14px; }

/* Bottom Nav */
.week-nav-bottom {
    display: grid; grid-template-columns: 1fr auto 1fr;
    gap: 14px; align-items: center; margin-top: 40px;
}
.week-nav-card {
    display: flex; align-items: center; gap: 14px;
    padding: 20px 24px; background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl); text-decoration: none;
    transition: var(--trans); box-shadow: var(--shadow-sm);
}
.week-nav-card:hover { border-color: var(--primary); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.week-nav-card-prev { justify-self: start; }
.week-nav-card-next { justify-self: end; flex-direction: row-reverse; }
.week-nav-card-arrow {
    width: 40px; height: 40px; border-radius: 50%;
    background: rgba(192,96,128,0.1); color: var(--primary);
    display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.week-nav-card-text span  { display: block; font-size: 0.78rem; color: var(--text-muted); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }
.week-nav-card-text strong { display: block; font-family: var(--font-heading); font-weight: 900; color: var(--text); font-size: 1rem; margin-top: 2px; }
.week-nav-card-all {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 12px 20px; border-radius: var(--r-pill);
    border: 1.5px solid var(--border); background: #fff;
    color: var(--text-muted); font-family: var(--font-heading);
    font-weight: 700; font-size: 0.85rem; text-decoration: none;
    transition: var(--trans); white-space: nowrap;
}
.week-nav-card-all:hover { border-color: var(--primary); color: var(--primary); }

/* Responsive */
@media (max-width: 1199px) {
    .week-hero { grid-template-columns: 1fr 300px; padding: 36px; }
    .week-hero-img-wrap { width: 260px; height: 260px; }
    .week-layout { grid-template-columns: minmax(0,1fr) 280px; }
}
@media (max-width: 991px) {
    .week-hero { grid-template-columns: 1fr; }
    .week-hero-visual { display: none; }
    .week-layout { grid-template-columns: 1fr; }
    .week-sidebar { position: static; }
    .week-nav-bar { grid-template-columns: 1fr 1fr; }
    .week-nav-center { display: none; }
    .symptom-grid { grid-template-columns: 1fr; }
    .affiliate-grid { grid-template-columns: repeat(2, 1fr); }
    .related-posts-grid { grid-template-columns: 1fr; }
    .week-nav-bottom { grid-template-columns: 1fr 1fr; }
    .week-nav-card-all { display: none; }
}
@media (max-width: 575px) {
    .week-hero { padding: 24px; }
    .week-section { padding: 20px; }
    .week-nav-bar { grid-template-columns: 1fr 1fr; gap: 8px; padding: 10px; }
    .affiliate-grid { grid-template-columns: 1fr; }
    .week-nav-bottom { grid-template-columns: 1fr 1fr; gap: 10px; }
    .week-nav-card { padding: 14px 16px; }
    .quick-weeks-grid { grid-template-columns: repeat(8, 1fr); }
}

/* ── Week Scroll Buttons ──────────────────────────────────── */
.weeks-scroll-btn {
    width: 40px; height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--border);
    background: #fff;
    color: var(--text-muted);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; transition: var(--trans);
    box-shadow: var(--shadow-xs);
    flex-shrink: 0;
}
.weeks-scroll-btn:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: rgba(192,96,128,0.05);
    box-shadow: var(--shadow-sm);
}

/* Week chip with image */
.hp-week-chip-img {
    overflow: hidden;
    border-radius: var(--r-sm);
    background: var(--bg-soft);
}
.hp-week-chip-img img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: var(--r-sm);
    transition: transform 0.3s var(--ease);
}
.hp-week-chip:hover .hp-week-chip-img img { transform: scale(1.08); }

/* ── Pregnancy Week Index — Premium Thumbnails ────────────── */
.wc-img {
    position: relative;
}
.wc-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(139,34,82,0.35) 0%, transparent 60%);
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s var(--ease);
}
.week-card:hover .wc-img::after { opacity: 1; }

.wc-placeholder {
    display: flex; align-items: center; justify-content: center;
    background: linear-gradient(135deg, rgba(255,214,224,0.5), rgba(255,248,250,0.8));
    color: var(--primary);
    font-size: 2rem;
}

/* Trimester section headers — premium */
.trimester-section { margin-top: 48px; }
.trimester-title {
    display: inline-flex; align-items: center; gap: 10px;
    font-weight: 900; font-size: 1.3rem;
    margin-bottom: 20px;
    padding: 10px 20px;
    border-radius: var(--r-pill);
    background: rgba(192,96,128,0.07);
    border: 1.5px solid rgba(192,96,128,0.15);
}

/* hp-trimester-icon SVG fix */
.hp-trimester-icon {
    width: 48px; height: 48px;
    border-radius: var(--r-md);
    background: rgba(192,96,128,0.08);
    display: flex; align-items: center; justify-content: center;
    margin-bottom: 12px;
    flex-shrink: 0;
}

/* Premium week placeholder thumbnail overlay number */
.wc-placeholder {
    flex-direction: column;
    gap: 4px;
    position: relative;
}
.wc-week-num-overlay {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 0.75rem;
    color: var(--primary-dark);
    opacity: 0.7;
    letter-spacing: 0.02em;
}

/* ══════════════════════════════════════════════════════════
   BLOG SINGLE — missing component styles
   ══════════════════════════════════════════════════════════ */

/* Post body (article content) */
.post-body {
    font-size: 1.02rem;
    line-height: 1.85;
    color: var(--text);
}
.post-body h2 { margin-top: 2.2rem; margin-bottom: 0.75rem; font-size: 1.5rem; }
.post-body h3 { margin-top: 1.8rem; margin-bottom: 0.6rem; font-size: 1.2rem; }
.post-body h4 { margin-top: 1.4rem; margin-bottom: 0.5rem; }
.post-body p  { margin-bottom: 1.1rem; }
.post-body ul, .post-body ol { padding-left: 1.6rem; margin-bottom: 1.1rem; }
.post-body li { margin-bottom: 0.4rem; }
.post-body img {
    border-radius: var(--r-lg);
    margin: 1.5rem 0;
    box-shadow: var(--shadow-sm);
    max-width: 100%;
}
.post-body blockquote {
    border-left: 4px solid var(--primary);
    padding: 14px 20px;
    margin: 1.5rem 0;
    background: rgba(255,214,224,0.2);
    border-radius: 0 var(--r-md) var(--r-md) 0;
    font-style: italic;
    color: var(--text-muted);
}
.post-body a { color: var(--primary); text-decoration: underline; }
.post-body a:hover { color: var(--primary-dark); }
.post-body strong { font-weight: 700; }
.post-body table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; font-size: 0.92rem; }
.post-body th { background: var(--primary); color: #fff; padding: 10px 14px; text-align: left; }
.post-body td { padding: 10px 14px; border-bottom: 1px solid var(--border-light); }
.post-body tr:nth-child(even) td { background: var(--bg-soft); }

/* TOC */
.toc-box {
    background: var(--bg-soft);
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-lg);
    padding: 20px 24px;
    margin: 24px 0;
}
.toc-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--text);
}
.toc-list { padding-left: 1.2rem; margin: 0; }
.toc-list li { margin-bottom: 6px; }
.toc-list a { color: var(--primary); font-size: 0.9rem; text-decoration: none; }
.toc-list a:hover { color: var(--primary-dark); text-decoration: underline; }
.toc-level-3 { padding-left: 1rem; font-size: 0.85rem; }

/* Author box */
.author-box {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--bg-soft);
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 24px;
    margin: 32px 0;
}
.author-avatar {
    width: 64px; height: 64px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    display: flex; align-items: center; justify-content: center;
    color: var(--primary-dark); font-size: 1.6rem; flex-shrink: 0;
}
.author-name { font-family: var(--font-heading); font-weight: 900; font-size: 1rem; }
.author-role { color: var(--primary); font-size: 0.85rem; font-weight: 600; margin-top: 2px; }
.author-bio  { color: var(--text-muted); font-size: 0.88rem; margin-top: 8px; line-height: 1.65; }

/* Post tags */
.post-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin: 20px 0;
    font-size: 0.88rem;
    color: var(--text-muted);
}
.tag-pill {
    padding: 4px 12px;
    border-radius: var(--r-pill);
    background: var(--bg-soft);
    border: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.82rem;
    text-decoration: none;
    transition: var(--trans);
}
.tag-pill:hover { background: var(--primary-light); color: var(--primary-dark); border-color: var(--primary-light); }

/* Comments */
.comments-section { margin-top: 40px; padding-top: 32px; border-top: 2px solid var(--border-light); }
.comment-form-wrap {
    background: var(--bg-soft);
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 24px;
    margin-bottom: 32px;
}
.comment-form-wrap h3 { font-size: 1.1rem; font-weight: 800; margin-bottom: 16px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-bottom: 14px; }
.reply-indicator {
    display: flex; align-items: center; gap: 10px;
    padding: 8px 14px; border-radius: var(--r-md);
    background: rgba(255,214,224,0.4); border: 1px solid rgba(192,96,128,0.2);
    font-size: 0.88rem; color: var(--text-muted); margin-bottom: 12px;
}
.reply-indicator button { background: none; border: none; color: var(--primary); cursor: pointer; font-weight: 600; }
.comments-list { display: flex; flex-direction: column; gap: 16px; }
.comment {
    display: flex; gap: 14px;
    padding: 16px; background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-lg);
}
.comment.reply { margin-left: 32px; background: var(--bg-soft); }
.comment-avatar { width: 44px; height: 44px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.comment-avatar img { width: 100%; height: 100%; object-fit: cover; }
.comment-avatar-initial {
    width: 44px; height: 44px; border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-light), var(--accent));
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-heading); font-weight: 900;
    color: var(--primary-dark); font-size: 1rem; flex-shrink: 0;
}
.comment-avatar-initial.small { width: 36px; height: 36px; font-size: 0.85rem; }
.comment-meta { display: flex; gap: 10px; align-items: center; margin-bottom: 6px; flex-wrap: wrap; }
.comment-meta strong { font-family: var(--font-heading); font-weight: 800; font-size: 0.92rem; }
.comment-meta span { font-size: 0.78rem; color: var(--text-muted); }
.comment-body p { font-size: 0.92rem; color: var(--text); margin-bottom: 8px; }
.reply-btn {
    background: none; border: none; color: var(--primary);
    font-size: 0.82rem; font-weight: 600; cursor: pointer;
    display: inline-flex; align-items: center; gap: 5px;
    padding: 0; transition: var(--trans-fast);
}
.reply-btn:hover { color: var(--primary-dark); }
.comment-replies { margin-top: 12px; display: flex; flex-direction: column; gap: 10px; }
.no-comments { color: var(--text-muted); font-style: italic; padding: 20px 0; }

/* Sidebar widgets */
.post-sidebar .sidebar-widget {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 22px;
    box-shadow: var(--shadow-sm);
    margin-bottom: 20px;
}
.post-sidebar .widget-title {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.95rem;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1.5px solid var(--border-light);
    display: flex; align-items: center; gap: 8px;
}
.post-sidebar .widget-title i { color: var(--primary); }

/* Due date widget */
.due-date-calc label { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); display: block; margin-bottom: 6px; }
.due-result {
    margin-top: 12px; padding: 14px;
    background: rgba(255,214,224,0.3);
    border: 1px solid rgba(192,96,128,0.2);
    border-radius: var(--r-md);
    font-size: 0.85rem; text-align: center;
}
.due-date-result .due-date-label { font-size: 0.78rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.05em; }
.due-date-result .due-date-value { font-family: var(--font-heading); font-weight: 900; font-size: 1rem; color: var(--primary-dark); margin: 4px 0; }
.due-date-result .due-date-sub { font-size: 0.82rem; color: var(--text-muted); }

/* Related list in sidebar */
.related-list { display: flex; flex-direction: column; gap: 12px; }
.related-item {
    display: flex; gap: 10px; align-items: flex-start;
    text-decoration: none; transition: var(--trans);
}
.related-item:hover { transform: translateX(3px); }
.related-item img { width: 64px; height: 52px; border-radius: var(--r-sm); object-fit: cover; flex-shrink: 0; }
.related-img-placeholder {
    width: 64px; height: 52px; border-radius: var(--r-sm);
    background: var(--bg-soft); display: flex; align-items: center;
    justify-content: center; color: var(--primary-light); flex-shrink: 0;
}
.related-title { display: block; font-family: var(--font-heading); font-weight: 700; font-size: 0.85rem; color: var(--text); line-height: 1.4; }
.related-date  { display: block; font-size: 0.75rem; color: var(--text-muted); margin-top: 3px; }

/* Newsletter sidebar widget */
.post-sidebar .newsletter-widget { background: linear-gradient(135deg, var(--primary-dark), #6B1A3A); }
.post-sidebar .newsletter-widget .widget-title { color: #fff; border-color: rgba(255,255,255,0.15); }
.post-sidebar .newsletter-widget .widget-title i { color: rgba(255,255,255,0.8); }
.post-sidebar .newsletter-widget p { color: rgba(255,255,255,0.75); font-size: 0.85rem; margin-bottom: 12px; }
.newsletter-mini-form input {
    width: 100%; padding: 10px 14px; border-radius: var(--r-md);
    border: 1.5px solid rgba(255,255,255,0.25);
    background: rgba(255,255,255,0.12); color: #fff;
    font-size: 0.88rem; margin-bottom: 8px; outline: none;
}
.newsletter-mini-form input::placeholder { color: rgba(255,255,255,0.55); }
.newsletter-mini-form input:focus { border-color: rgba(255,255,255,0.5); background: rgba(255,255,255,0.18); }

/* Trimester links sidebar */
.trimester-links { display: flex; flex-direction: column; gap: 8px; }
.tri-link {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 16px; border-radius: var(--r-md);
    text-decoration: none; transition: var(--trans);
    border: 1.5px solid var(--border-light);
}
.tri-link:hover { transform: translateX(4px); box-shadow: var(--shadow-xs); }
.tri-link span { font-family: var(--font-heading); font-weight: 800; font-size: 0.9rem; color: var(--text); }
.tri-link small { font-size: 0.75rem; color: var(--text-muted); }
.tri-link.t1 { background: rgba(255,214,224,0.3); border-color: rgba(192,96,128,0.2); }
.tri-link.t2 { background: rgba(139,34,82,0.06); border-color: rgba(139,34,82,0.15); }
.tri-link.t3 { background: rgba(107,76,107,0.06); border-color: rgba(107,76,107,0.15); }

/* Share buttons */
.share-bar { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; margin-top: 16px; padding-top: 16px; border-top: 1px solid var(--border-light); }
.share-bar span { font-size: 0.85rem; font-weight: 600; color: var(--text-muted); }
.share-btn {
    width: 38px; height: 38px; border-radius: 50%;
    display: inline-flex; align-items: center; justify-content: center;
    border: 1.5px solid var(--border); background: #fff;
    color: var(--text-muted); font-size: 0.9rem;
    transition: var(--trans); cursor: pointer; text-decoration: none;
}
.share-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow-sm); }
.share-btn.facebook:hover { background: #1877F2; border-color: #1877F2; color: #fff; }
.share-btn.twitter:hover  { background: #000; border-color: #000; color: #fff; }
.share-btn.whatsapp:hover { background: #25D366; border-color: #25D366; color: #fff; }
.share-btn.copy:hover     { background: var(--primary); border-color: var(--primary); color: #fff; }

/* Related bottom section */
.related-bottom { margin-top: 48px; padding-top: 32px; border-top: 2px solid var(--border-light); }
.related-bottom .section-title { font-size: 1.3rem; font-weight: 900; margin-bottom: 24px; }
.posts-grid.three-col { grid-template-columns: repeat(3, 1fr); }
@media (max-width: 767px) { .posts-grid.three-col { grid-template-columns: 1fr; } .form-row { grid-template-columns: 1fr; } }
@media (max-width: 991px) { .posts-grid.three-col { grid-template-columns: repeat(2, 1fr); } }

/* ══════════════════════════════════════════════════════════
   HOMEPAGE — GUIDE CARDS
   ══════════════════════════════════════════════════════════ */

.hp-guide-card {
    display: flex;
    flex-direction: column;
    gap: 16px;
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 28px 22px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    text-decoration: none;
    height: 100%;
}
.hp-guide-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: rgba(192,96,128,0.25);
}
.hp-guide-icon {
    width: 60px;
    height: 60px;
    border-radius: var(--r-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.hp-guide-body { flex: 1; display: flex; flex-direction: column; gap: 8px; }
.hp-guide-body h4 {
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 1.05rem;
    color: var(--text);
    margin: 0;
}
.hp-guide-body p {
    color: var(--text-muted);
    font-size: 0.88rem;
    line-height: 1.65;
    flex: 1;
    margin: 0;
}
.hp-guide-link {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--primary);
    margin-top: auto;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--trans-fast);
}
.hp-guide-card:hover .hp-guide-link { color: var(--primary-dark); }

/* ── Category Cards v2 — Enhanced Vector Icons ────────────── */
.hp-cat-card-v2 {
    background: #fff;
    border: 1.5px solid var(--border-light);
    border-radius: var(--r-xl);
    padding: 24px 18px 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--trans);
    display: flex;
    flex-direction: column;
    gap: 10px;
    height: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}
.hp-cat-card-v2::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, var(--cat-bg, rgba(192,96,128,0.08)) 0%, transparent 60%);
    opacity: 0;
    transition: opacity 0.25s ease;
    pointer-events: none;
}
.hp-cat-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 28px rgba(192,96,128,0.18);
    border-color: var(--cat-color, rgba(192,96,128,0.4));
}
.hp-cat-card-v2:hover::before { opacity: 1; }
.hp-cat-card-icon-v2 {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--cat-bg, rgba(192,96,128,0.12));
    color: var(--cat-color, #C06080);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    flex-shrink: 0;
}
.hp-cat-card-v2:hover .hp-cat-card-icon-v2 {
    transform: scale(1.1) rotate(-4deg);
    box-shadow: 0 4px 14px color-mix(in srgb, var(--cat-color, #C06080) 30%, transparent);
}

/* ══════════════════════════════════════════════════════════
   SECTION LABEL BARS — Visible section identifiers
   ══════════════════════════════════════════════════════════ */

.section-label-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 0 0;
    margin-bottom: 0;
}

.section-label-bar .section-label-icon {
    font-size: 1.1rem;
    line-height: 1;
}

.section-label-bar .section-label-text {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--primary);
    border-left: 3px solid var(--primary);
    padding-left: 10px;
}

/* ══════════════════════════════════════════════════════════
   COMPREHENSIVE MOBILE RESPONSIVE FIXES
   ══════════════════════════════════════════════════════════ */

/* ── Base mobile container ─────────────────────────────── */
@media (max-width: 767px) {

    /* Container side padding */
    .container {
        padding-left: 16px !important;
        padding-right: 16px !important;
    }

    /* ── HERO ── */
    .hp-hero .carousel-item {
        height: 420px;
        min-height: 380px;
    }
    .hp-hero-content {
        padding: 40px 0 32px;
    }
    .hp-hero-title {
        font-size: clamp(1.5rem, 6vw, 2rem) !important;
        line-height: 1.2 !important;
    }
    .hp-hero-sub {
        font-size: 0.9rem;
    }
    .hp-hero-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    .hp-hero-actions .btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
    .hp-hero-badge {
        font-size: 0.72rem;
        padding: 5px 12px;
    }

    /* ── STATS BAR ── */
    .hp-stats-bar {
        margin-top: -10px;
    }
    .hp-stats-row {
        flex-wrap: wrap;
    }
    .hp-stat-item {
        flex: 0 0 50%;
        max-width: 50%;
        padding: 16px 12px;
        border-right: none !important;
        border-bottom: 1px solid var(--border-light) !important;
    }
    .hp-stat-item:nth-child(odd) {
        border-right: 1px solid var(--border-light) !important;
    }
    .hp-stat-number { font-size: 1.6rem; }
    .hp-stat-label  { font-size: 0.75rem; }

    /* ── SECTIONS ── */
    .hp-section { padding: 40px 0; }
    .hp-section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 24px;
    }
    .hp-section-title {
        font-size: clamp(1.3rem, 5vw, 1.7rem) !important;
    }
    .hp-section-desc {
        font-size: 0.9rem;
    }

    /* ── WEEK TRACKER ── */
    .hp-week-form .d-flex {
        flex-direction: column;
    }
    .hp-week-select {
        width: 100% !important;
    }
    .hp-week-form .btn {
        width: 100%;
        justify-content: center;
    }
    .hp-trimester-row {
        grid-template-columns: 1fr !important;
    }
    .hp-trimester-card {
        padding: 14px;
    }

    /* ── FEATURED ARTICLES ── */
    .hp-article-lead .hp-article-img-wrap img {
        max-height: 220px;
        object-fit: cover;
        width: 100%;
    }
    .hp-article-mini {
        flex-direction: row;
        gap: 12px;
    }
    .hp-article-mini-img {
        width: 90px;
        min-width: 90px;
        height: 70px;
    }
    .hp-article-mini-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    /* ── CATEGORY CARDS ── */
    .hp-cat-card-v2 {
        padding: 16px 12px 14px;
    }
    .hp-cat-card-icon-v2 {
        width: 44px;
        height: 44px;
    }
    .hp-cat-card-name {
        font-size: 0.85rem;
    }
    .hp-cat-card-count {
        font-size: 0.75rem;
    }

    /* ── WEEK CHIPS SCROLL ── */
    .hp-weeks-scroll {
        gap: 10px;
        padding-bottom: 12px;
    }
    .hp-week-chip {
        min-width: 140px;
        padding: 10px;
    }

    /* ── GUIDE CARDS ── */
    .hp-guide-card {
        padding: 20px 16px;
    }

    /* ── PRODUCT / EBOOK CARDS ── */
    .hp-product-card,
    .hp-ebook-card {
        height: 100%;
    }

    /* ── DOCTOR CARDS ── */
    .hp-doctor-card {
        flex-direction: row;
        align-items: flex-start;
        gap: 12px;
        padding: 14px;
    }
    .hp-doctor-photo {
        width: 56px;
        height: 56px;
        min-width: 56px;
    }
    .hp-doctor-info { flex: 1; min-width: 0; }
    .hp-doctor-name { font-size: 0.9rem; }
    .hp-doctor-spec { font-size: 0.78rem; }

    /* ── TESTIMONIALS ── */
    .hp-testimonial-card {
        padding: 20px 16px;
    }

    /* ── CONTACT FORM ── */
    .contact-form-card,
    .contact-info-sidebar {
        padding: 20px 16px !important;
    }

    /* ── ABOUT SECTION ── */
    .about-impact-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    .about-impact-num { font-size: 1.3rem; }
    .about-impact-label { font-size: 0.78rem; }
    .about-value-card { padding: 14px; }

    /* ── AUTH cards ── */
    .auth-card {
        padding: 24px 18px;
        margin: 16px;
    }

    /* ── Page hero ── */
    .page-hero { padding: 36px 0 24px; }
    .page-hero h1 { font-size: clamp(1.5rem, 6vw, 2rem); }

    /* ── Footer ── */
    .footer { padding: 40px 0 0; }
    .footer-bottom { padding: 16px 0; }
    .footer-bottom p { font-size: 0.78rem; text-align: center; }
    .footer-social { gap: 10px; }
    .footer-social a { width: 36px; height: 36px; font-size: 0.9rem; }

    /* ── Navbar mobile ── */
    .navbar .navbar-collapse {
        background: #fff;
        border-radius: 0 0 16px 16px;
        padding: 12px 16px;
        box-shadow: 0 8px 24px rgba(0,0,0,0.12);
        border: 1px solid var(--border-light);
        border-top: none;
        max-height: 75vh;
        overflow-y: auto;
    }
    .navbar .navbar-nav {
        gap: 2px;
    }
    .navbar .nav-link {
        padding: 10px 14px !important;
        border-radius: 10px;
        font-size: 0.9rem;
    }
    .navbar .nav-link:hover,
    .navbar .nav-link.active {
        background: var(--bg-soft);
    }
    .navbar .btn {
        margin-top: 8px;
        width: 100%;
        justify-content: center;
    }

    /* ── Blog/Posts grid ── */
    .posts-grid {
        grid-template-columns: 1fr !important;
    }
    .featured-hero {
        grid-template-columns: 1fr !important;
    }
    .hero-img-wrap { min-height: 200px; }
    .hero-content { padding: 20px; }
    .hero-content h2 { font-size: 1.2rem; }

    /* ── Shop / Products ── */
    .products-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }
    .shop-toolbar { padding: 14px; }
    .shop-sort-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    /* ── eBooks ── */
    .ebooks-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 12px;
    }

    /* ── Single post ── */
    .single-post-page .post-layout {
        grid-template-columns: 1fr !important;
    }
    .single-post-page .post-content {
        font-size: 0.96rem;
    }

    /* ── Pregnancy week page ── */
    .week-hero {
        grid-template-columns: 1fr !important;
        padding: 20px !important;
    }
    .week-hero-visual { display: none !important; }
    .week-layout { grid-template-columns: 1fr !important; }
    .week-sidebar { position: static !important; }
    .week-nav-bar {
        grid-template-columns: 1fr 1fr !important;
    }
    .week-nav-center { display: none !important; }
    .week-section { padding: 18px !important; }
    .symptom-grid { grid-template-columns: 1fr !important; }
    .affiliate-grid { grid-template-columns: 1fr !important; }
    .related-posts-grid { grid-template-columns: 1fr !important; }
    .week-nav-bottom {
        grid-template-columns: 1fr 1fr !important;
        gap: 10px;
    }
    .week-nav-card-all { display: none !important; }
    .week-nav-card { padding: 12px 14px !important; }
    .weeks-grid {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px;
    }
    .week-hero-metrics { flex-direction: column; gap: 8px; }
    .metric-item { min-width: unset; width: 100%; }
    .week-tabs { gap: 4px; padding: 6px; }
    .week-tab { padding: 7px 12px; font-size: 0.78rem; }

    /* ── Overflow prevention ── */
    .row { margin-left: 0 !important; margin-right: 0 !important; }
    [class*="col-"] { padding-left: 8px; padding-right: 8px; }
    table { font-size: 0.82rem; }
    .table-responsive { overflow-x: auto; -webkit-overflow-scrolling: touch; }

    /* ── Membership page ── */
    .membership-hero { padding: 40px 0; }
    .pricing-card-featured { transform: none !important; }
    .pricing-card-header { padding: 24px 20px 18px; }
    .pricing-card-body { padding: 20px; }
    .pricing-plan-price { font-size: 1.8rem; }

    /* ── Community / Courses ── */
    .hp-course-card .hp-course-body { padding: 16px; }

    /* ── Spacing helpers ── */
    .mb-5 { margin-bottom: 2rem !important; }
    .py-5 { padding-top: 2.5rem !important; padding-bottom: 2.5rem !important; }
    .section-label-bar { padding: 6px 0 0; }
}

/* ── Very small screens (< 400px) ─────────────────────── */
@media (max-width: 400px) {
    .container { padding-left: 12px !important; padding-right: 12px !important; }
    .hp-hero .carousel-item { height: 360px; }
    .hp-hero-title { font-size: 1.4rem !important; }
    .hp-stat-item { flex: 0 0 100%; max-width: 100%; border-right: none !important; }
    .products-grid { grid-template-columns: 1fr !important; }
    .ebooks-grid { grid-template-columns: 1fr !important; }
    .about-impact-grid { grid-template-columns: 1fr !important; }
    .weeks-grid { grid-template-columns: repeat(2, 1fr) !important; }
    [class*="col-"] { padding-left: 6px; padding-right: 6px; }
}

/* ── Tablet (768px – 991px) ────────────────────────────── */
@media (min-width: 768px) and (max-width: 991px) {
    .hp-hero .carousel-item { height: 500px; }
    .hp-hero-title { font-size: 2rem !important; }
    .hp-section { padding: 56px 0; }
    .hp-section-header { flex-direction: row; align-items: center; }
    .products-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .ebooks-grid { grid-template-columns: repeat(2, 1fr) !important; }
    .weeks-grid { grid-template-columns: repeat(3, 1fr) !important; }
}
