/* ============================================================
   DayByDay.in - Main Stylesheet
   Design: Modern, warm, trustworthy. Pink + Blue + White.
   ============================================================ */

/* ============================================================
   DESIGN TOKENS
   ============================================================ */
:root {
    --pink:        #f472b6;
    --pink-dark:   #db2777;
    --pink-light:  #fce7f3;
    --pink-soft:   #fdf2f8;
    --blue:        #60a5fa;
    --blue-dark:   #2563eb;
    --blue-light:  #dbeafe;
    --blue-soft:   #eff6ff;
    --mint:        #a7f3d0;
    --mint-soft:   #f0fdf4;
    --peach:       #fed7aa;
    --peach-soft:  #fff7ed;
    --white:       #ffffff;
    --gray-50:     #f9fafb;
    --gray-100:    #f3f4f6;
    --gray-200:    #e5e7eb;
    --gray-400:    #9ca3af;
    --gray-600:    #4b5563;
    --gray-800:    #1f2937;
    --gray-900:    #111827;

    --font-display: 'Playfair Display', Georgia, serif;
    --font-body:    'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

    --radius-sm:  8px;
    --radius-md:  16px;
    --radius-lg:  24px;
    --radius-xl:  32px;

    --shadow-sm:  0 1px 3px rgba(0,0,0,.06), 0 1px 2px rgba(0,0,0,.04);
    --shadow-md:  0 4px 16px rgba(0,0,0,.08);
    --shadow-lg:  0 8px 32px rgba(0,0,0,.10);
    --shadow-pink: 0 8px 24px rgba(244,114,182,.25);

    --transition: all .2s ease;
}

/* ============================================================
   RESET / BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--gray-800);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-display);
    font-weight: 700;
    line-height: 1.3;
    color: var(--gray-900);
}

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

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

/* ============================================================
   TYPOGRAPHY UTILITIES
   ============================================================ */
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fw-800 { font-weight: 800; }
.fw-900 { font-weight: 900; }
.font-display { font-family: var(--font-display); }
.text-pink { color: var(--pink-dark) !important; }
.text-blue { color: var(--blue-dark) !important; }

/* ============================================================
   COLOR UTILITIES
   ============================================================ */
.bg-pink-soft  { background: var(--pink-soft); }
.bg-pink-light { background: var(--pink-light); }
.bg-blue-soft  { background: var(--blue-soft); }
.bg-blue-light { background: var(--blue-light); }
.bg-mint-soft  { background: var(--mint-soft); }
.bg-peach-soft { background: var(--peach-soft); }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-pink {
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    border: none;
    color: white;
    font-weight: 700;
    border-radius: 50px;
    padding: .5rem 1.5rem;
    transition: var(--transition);
    box-shadow: var(--shadow-pink);
}
.btn-pink:hover {
    background: linear-gradient(135deg, var(--pink-dark), #be185d);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 12px 28px rgba(244,114,182,.35);
}

.btn-outline-pink {
    border: 2px solid var(--pink);
    color: var(--pink-dark);
    font-weight: 700;
    border-radius: 50px;
    padding: .4rem 1.4rem;
    background: transparent;
    transition: var(--transition);
}
.btn-outline-pink:hover {
    background: var(--pink);
    color: white;
    border-color: var(--pink);
}

.btn-blue {
    background: linear-gradient(135deg, var(--blue), var(--blue-dark));
    border: none;
    color: white;
    font-weight: 700;
    border-radius: 50px;
    padding: .5rem 1.5rem;
    transition: var(--transition);
}
.btn-blue:hover { color: white; transform: translateY(-2px); }

.btn-lg { padding: .75rem 2rem; font-size: 1.05rem; }
.btn-xl { padding: 1rem 2.5rem; font-size: 1.1rem; }

/* ============================================================
   LOGO
   ============================================================ */
.logo-text {
    font-family: 'Baloo 2', var(--font-display);
    font-size: 1.8rem;
    font-weight: 700;
    letter-spacing: -0.3px;
    color: var(--pink-dark);
}
.logo-in { font-size: 1.2rem; color: var(--pink-dark); }

.footer-logo { font-size: 2rem; }

/* ============================================================
   ANNOUNCEMENT BAR
   ============================================================ */
.announcement-bar {
    background: linear-gradient(135deg, var(--pink), var(--blue-dark));
    color: white;
    font-size: .85rem;
}
.announcement-bar a { color: white; text-decoration: underline; }

/* ============================================================
   NAVBAR
   ============================================================ */
.navbar { padding: .75rem 0; }
.navbar-brand { font-size: 1.5rem; }
.nav-link { font-size: 1.02rem; padding: .5rem 1rem !important; color: var(--gray-700) !important; }
.nav-link:hover { color: var(--pink-dark) !important; }
.nav-link.active { color: var(--pink-dark) !important; }

.search-form .form-control {
    border-radius: 50px 0 0 50px;
    border-color: var(--gray-200);
    font-size: .95rem;
    width: 240px;
    padding: .55rem 1rem;
}
.search-form .btn { border-radius: 0 50px 50px 0; padding: .55rem 1.1rem; }
@media (max-width: 575.98px) {
  .search-form .form-control { width: 110px !important; }
}

/* Mega Menu */
.mega-menu {
    min-width: 420px;
    max-width: 480px;
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius-md);
}
.mega-menu .dropdown-item {
    font-size: .85rem;
    padding: .35rem .5rem;
    border-radius: var(--radius-sm);
    white-space: normal;
    line-height: 1.3;
}
.mega-menu .dropdown-item:hover { background: var(--pink-soft); color: var(--pink-dark); }
.mega-menu .row { flex-wrap: nowrap; }
.mega-menu .row > [class^="col-"] {
    min-width: 0;
}

/* Avatar */
.avatar-circle-sm {
    width: 28px; height: 28px;
    background: linear-gradient(135deg, var(--pink), var(--blue));
    color: white; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .75rem;
}

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section {
    background: linear-gradient(135deg, #f472b6 0%, #2563eb 100%);
    padding: 5rem 0 4rem;
    position: relative;
    overflow: hidden;
}
.hero-section::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Ccircle cx='30' cy='30' r='4'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E") repeat;
    pointer-events: none;
}
.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    line-height: 1.2;
    color: #fff;
}
.hero-title .accent { color: #fce7f3; }
.hero-subtitle { font-size: 1.15rem; color: rgba(255,255,255,.9); }
.hero-stats { display: flex; gap: 2rem; flex-wrap: wrap; }
.hero-stat strong { display: block; font-size: 1.5rem; font-weight: 800; color: #fff; }
.hero-stat span { font-size: .85rem; color: rgba(255,255,255,.8); }

/* ============================================================
   CARDS
   ============================================================ */
.card {
    border: none;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    overflow: hidden;
}
.card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-4px);
}

/* Article Card */
.article-card .card-img-top {
    height: 200px;
    object-fit: cover;
}
.article-card .card-img-placeholder {
    height: 200px;
    background: linear-gradient(135deg, var(--pink-light), var(--blue-light));
    display: flex; align-items: center; justify-content: center;
    font-size: 3rem;
}

/* Week Card */

/* Calculator Card */

/* Category Badge */
.category-badge {
    display: inline-block;
    background: var(--pink-light);
    color: var(--pink-dark);
    border-radius: 50px;
    padding: .2rem .75rem;
    font-size: .75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

/* ============================================================
   DUE DATE WIDGET (Hero)
   ============================================================ */
.due-date-widget {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    max-width: 420px;
}
.due-date-widget h4 { font-size: 1.15rem; }

/* ============================================================
   PREGNANCY PROGRESS
   ============================================================ */

/* ============================================================
   SECTION HEADINGS
   ============================================================ */
.section-eyebrow {
    font-size: .8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--pink-dark);
    margin-bottom: .5rem;
}
.section-title {
    font-size: clamp(1.5rem, 3vw, 2.25rem);
    font-weight: 800;
    margin-bottom: .75rem;
}
.section-desc { color: var(--gray-600); max-width: 600px; }

.section-header--center { text-align: center; }
.section-header--center .section-title { margin-left: auto; margin-right: auto; }

/* ============================================================
   CONTENT SECTIONS
   ============================================================ */
section { padding: 4rem 0; }
section.compact { padding: 2.5rem 0; }
section.bg-light { background: var(--gray-50) !important; }

/* ============================================================
   ARTICLE CONTENT
   ============================================================ */
.article-content {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--gray-700);
}
.article-content h2 { font-size: 1.6rem; margin-top: 2.5rem; color: var(--gray-900); }
.article-content h3 { font-size: 1.25rem; margin-top: 2rem; color: var(--gray-900); }
.article-content ul, .article-content ol { padding-left: 1.5rem; }
.article-content li { margin-bottom: .5rem; }
.article-content blockquote {
    border-left: 4px solid var(--pink);
    background: var(--pink-soft);
    padding: 1.25rem 1.5rem;
    border-radius: 0 var(--radius-md) var(--radius-md) 0;
    font-style: italic;
    margin: 2rem 0;
}
.article-content img { border-radius: var(--radius-md); box-shadow: var(--shadow-md); }
.article-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    font-size: .9rem;
}
.article-content th {
    background: var(--pink-soft);
    color: var(--pink-dark);
    padding: .75rem 1rem;
    text-align: left;
    font-weight: 700;
}
.article-content td { padding: .75rem 1rem; border-bottom: 1px solid var(--gray-100); }

/* ============================================================
   WEEK GUIDE PAGE
   ============================================================ */
.week-hero {
    background: linear-gradient(135deg, var(--pink-soft), var(--blue-soft));
    padding: 3rem 0;
}
.week-badge {
    background: linear-gradient(135deg, var(--pink), var(--pink-dark));
    color: white;
    width: 80px; height: 80px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    flex-shrink: 0;
}
.size-comparison-card {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2rem;
    text-align: center;
    box-shadow: var(--shadow-md);
}
.size-icon { font-size: 5rem; line-height: 1; margin-bottom: 1rem; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.stat-label { font-size: .85rem; color: var(--gray-500); }

/* ============================================================
   CALCULATORS
   ============================================================ */
.calculator-widget {
    background: white;
    border-radius: var(--radius-xl);
    padding: 2.5rem;
    box-shadow: var(--shadow-lg);
}
.calc-result {
    background: linear-gradient(135deg, var(--pink-soft), var(--blue-soft));
    border-radius: var(--radius-lg);
    padding: 2rem;
    text-align: center;
}
.result-highlight {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--pink-dark);
    font-family: var(--font-display);
}

/* ============================================================
   BABY NAMES
   ============================================================ */
.name-letter {
    font-family: var(--font-display);
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--pink-dark);
}

/* ============================================================
   NEWSLETTER
   ============================================================ */
/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    border-top: 4px solid var(--pink);
}
.testimonial-text { font-style: italic; color: var(--gray-600); font-size: 1.05rem; }
.stars { color: #fbbf24; letter-spacing: 2px; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--gray-900); color: var(--gray-300); }
.footer-top { border-bottom: 1px solid rgba(255,255,255,.08); }
.footer-heading {
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--gray-400);
    margin-bottom: 1rem;
    font-family: var(--font-body);
}
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: .4rem; }
.footer-links a { color: var(--gray-400); font-size: .875rem; transition: var(--transition); }
.footer-links a:hover { color: var(--pink); padding-left: 4px; }
.footer-bottom { background: rgba(0,0,0,.2); }
.site-footer .text-muted { color: var(--gray-500) !important; }

.social-link {
    width: 36px; height: 36px;
    background: rgba(255,255,255,.1);
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    color: var(--gray-300);
    font-size: .9rem;
    transition: var(--transition);
}
.social-link:hover { background: var(--pink); color: white; }

/* ============================================================
   BREADCRUMBS
   ============================================================ */
.breadcrumb-nav { background: var(--gray-50); }
.breadcrumb-item a { color: var(--pink-dark); }
.breadcrumb-item.active { color: var(--gray-600); }
.breadcrumb-item + .breadcrumb-item::before { color: var(--gray-400); }

/* ============================================================
   BADGES / LABELS
   ============================================================ */
.badge-trimester-1 { background: var(--pink-light); color: var(--pink-dark); }
.badge-trimester-2 { background: var(--blue-light); color: var(--blue-dark); }
.badge-trimester-3 { background: var(--mint); color: #065f46; }

/* ============================================================
   FORMS
   ============================================================ */
.form-control, .form-select {
    border: 2px solid var(--gray-200);
    border-radius: var(--radius-md);
    padding: .6rem 1rem;
    font-family: var(--font-body);
    font-size: .95rem;
    color: var(--gray-800);
    transition: var(--transition);
}
.form-control:focus, .form-select:focus {
    border-color: var(--pink);
    box-shadow: 0 0 0 .2rem rgba(244,114,182,.15);
    outline: none;
}
.form-label { font-weight: 600; font-size: .9rem; color: var(--gray-700); }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.back-to-top {
    position: fixed;
    bottom: 2rem; right: 2rem;
    width: 44px; height: 44px;
    background: var(--pink);
    color: white;
    border: none;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-md);
    opacity: 0;
    transform: translateY(10px);
    transition: all .3s ease;
    z-index: 999;
    cursor: pointer;
}
.back-to-top.visible { opacity: 1; transform: translateY(0); }
.back-to-top:hover { background: var(--pink-dark); transform: translateY(-3px); }

/* ============================================================
   ANIMATIONS
   ============================================================ */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}
@keyframes pulse-pink {
    0%, 100% { box-shadow: 0 0 0 0 rgba(244,114,182,.4); }
    50% { box-shadow: 0 0 0 10px rgba(244,114,182,0); }
}

.fade-in-up { animation: fadeInUp .6s ease both; }

/* Stagger children */
.stagger > *:nth-child(1) { animation-delay: .1s; }
.stagger > *:nth-child(2) { animation-delay: .2s; }
.stagger > *:nth-child(3) { animation-delay: .3s; }
.stagger > *:nth-child(4) { animation-delay: .4s; }
.stagger > *:nth-child(5) { animation-delay: .5s; }
.stagger > *:nth-child(6) { animation-delay: .6s; }

/* Lazy load images */
img.lazy { opacity: 0; transition: opacity .4s; }
img.lazy.loaded { opacity: 1; }

/* ============================================================
   VACCINATION TRACKER
   ============================================================ */
.vaccine-status-completed { border-left: 4px solid #10b981; }
.vaccine-status-upcoming { border-left: 4px solid var(--blue); }
.vaccine-status-overdue { border-left: 4px solid #ef4444; }
.vaccine-dot {
    width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0;
}
.vaccine-dot.completed { background: #10b981; }
.vaccine-dot.upcoming { background: var(--blue); }
.vaccine-dot.overdue { background: #ef4444; }

/* ============================================================
   GROWTH CHART
   ============================================================ */
.growth-chart-container { position: relative; height: 300px; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991.98px) {
    .hero-section { padding: 3rem 0 2.5rem; }
    .due-date-widget { max-width: 100%; }
    .mega-menu { min-width: 100%; max-width: 100%; }
    .mega-menu .row { flex-wrap: wrap; }
    .mega-menu .row > [class^="col-"] { flex: 0 0 100%; max-width: 100%; margin-bottom: 1rem; }
    .mega-menu .row > [class^="col-"]:last-child { margin-bottom: 0; }
    section { padding: 3rem 0; }
}

@media (max-width: 767.98px) {
    .hero-title { font-size: 1.85rem; }
    .hero-stats { gap: 1rem; }
    .week-card .week-num { font-size: 1.35rem; }
    .section-title { font-size: 1.5rem; }
    .calculator-widget { padding: 1.5rem; }
    .newsletter-input { max-width: 100%; width: 100%; }
    .newsletter-form { flex-direction: column; align-items: center; }
}

@media (max-width: 575.98px) {
    .navbar { padding: .5rem 0; }
    .announcement-bar { display: none !important; }
    section { padding: 2.5rem 0; }
}

/* ============================================================
   PRINT
   ============================================================ */
@media print {
    .navbar, .announcement-bar, .newsletter-section, .site-footer, .back-to-top { display: none !important; }
    body { font-size: 12pt; }
    .article-content { font-size: 11pt; }
}

/* ============================================================
   ACCESSIBILITY
   ============================================================ */
:focus-visible {
    outline: 3px solid var(--pink);
    outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; }
    html { scroll-behavior: auto; }
}

/* ================================================================
   ADDITIONAL COMPONENT STYLES
   ================================================================ */

/* Stats bar */
.stats-bar { background: var(--white); border-top: 1px solid var(--gray-100); border-bottom: 1px solid var(--gray-100); }
.stat-item { display: flex; flex-direction: column; }
.stat-num  { font-size: 1.8rem; font-weight: 800; color: var(--pink); font-family: var(--font-display); }
.stat-label{ font-size: .8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .05em; }

/* Trimester tabs */
.trimester-tabs { display: flex; gap: .5rem; flex-wrap: wrap; justify-content: center; }
.trim-btn { background: var(--gray-100); border: none; border-radius: 10px; padding: .5rem 1.25rem; cursor: pointer; display: flex; flex-direction: column; align-items: center; transition: .2s; font-weight: 600; }
.trim-btn small { font-weight: 400; color: var(--gray-500); font-size: .75rem; }
.trim-btn.active { background: var(--pink); color: #fff; }
.trim-btn.active small { color: rgba(255,255,255,.75); }

/* Week grid */
.week-grid {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: .25rem .25rem .5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.week-grid::-webkit-scrollbar { display: none; height: 0; }

.week-grid--full { display: grid; grid-template-columns: repeat(auto-fill, minmax(110px,1fr)); overflow: visible; }

.week-card {
    background: #fff;
    border-radius: var(--radius-md, 14px);
    padding: 1.75rem 1rem;
    text-align: center;
    text-decoration: none;
    color: var(--gray-800);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.week-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.12); color: var(--pink); }

/* Bigger, fixed-width, snap-scrolling cards inside the carousel row */
.week-grid .week-card {
    flex: 0 0 auto;
    width: 150px;
    scroll-snap-align: start;
}

.week-card__icon { font-size: 2.75rem; margin-bottom: .6rem; line-height: 1; }
.week-card__fruit{ font-size: 1.5rem; margin: .3rem 0; line-height: 1; }
.week-card__num  { font-size: .9rem; font-weight: 700; color: var(--pink); text-transform: uppercase; letter-spacing: .03em; }
.week-card__label{ font-size: .85rem; color: var(--gray-600); margin-top: .25rem; line-height: 1.3; }
.week-card--lg .week-card__num { font-size: .8rem; }

/* Carousel wrapper + nav arrows */
.week-carousel { position: relative; }
.week-carousel__arrow {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    width: 40px; height: 40px;
    border-radius: 50%;
    border: none;
    background: #fff;
    color: var(--pink-dark);
    box-shadow: 0 2px 10px rgba(0,0,0,.15);
    display: flex; align-items: center; justify-content: center;
    cursor: pointer;
    z-index: 5;
    transition: background .15s;
}
.week-carousel__arrow:hover { background: var(--pink-soft, #fde2ee); }
.week-carousel__arrow--prev { left: -8px; }
.week-carousel__arrow--next { right: -8px; }
@media (max-width: 575.98px) {
    .week-carousel__arrow { display: none; }
}

/* Calculator cards */
.calc-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 14px; padding: 1.25rem 1rem; text-decoration: none; color: var(--gray-800); transition: .2s; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.calc-card:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,.1); color: var(--pink); }
.calc-card--lg { padding: 1.75rem 1.25rem; }
.calc-card__icon { font-size: 2rem; margin-bottom: .5rem; }
.calc-card__icon--lg { font-size: 2.5rem; }
.calc-card__name { font-weight: 700; margin-bottom: .25rem; }
.calc-card__desc { font-size: .85rem; color: var(--gray-500); }

/* Baby stage cards */
.baby-age-slider {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: .25rem .25rem .5rem;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
}
.baby-age-slider::-webkit-scrollbar { display: none; height: 0; }
.baby-stage-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex: 0 0 auto;
    width: 150px;
    scroll-snap-align: start;
    padding: 1.75rem 1rem;
    background: #fff;
    border-radius: var(--radius-md, 14px);
    text-decoration: none;
    color: var(--gray-800);
    transition: transform .2s, box-shadow .2s;
    box-shadow: 0 1px 4px rgba(0,0,0,.06);
}
.baby-stage-card:hover { transform: translateY(-4px); box-shadow: 0 10px 28px rgba(0,0,0,.12); color: var(--blue); }
.baby-stage-icon { font-size: 2.75rem; margin-bottom: .6rem; }
.baby-stage-label { font-size: .9rem; font-weight: 700; }

/* Baby month cards */
.baby-month-card { display: flex; flex-direction: column; align-items: center; text-align: center; background: #fff; border-radius: 14px; padding: 1.25rem; text-decoration: none; color: var(--gray-800); transition: .2s; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.baby-month-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); color: var(--pink); }
.baby-month-card__icon { font-size: 2rem; margin-bottom: .5rem; }
.baby-month-card__label { font-weight: 700; }
.baby-month-card__sub { font-size: .8rem; color: var(--gray-500); }

/* Article card */
.article-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: .2s; }
.article-card:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.1); }
.article-card--featured { }
.article-card__img { width: 100%; height: 200px; object-fit: cover; }
.article-card__img--placeholder { width: 100%; height: 200px; background: linear-gradient(135deg, var(--pink-light), var(--blue-light)); }
.article-card__body { padding: 1.25rem; }
.article-card__cat { font-size: .72rem; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--pink); }
.article-card__title { font-family: var(--font-display); font-size: 1.05rem; font-weight: 700; margin: .35rem 0 .5rem; }
.article-card__title a { color: var(--gray-800); text-decoration: none; }
.article-card__title a:hover { color: var(--pink); }
.article-card__excerpt { font-size: .875rem; color: var(--gray-500); line-height: 1.5; }
.article-card__meta { display: flex; gap: 1rem; font-size: .78rem; color: var(--gray-400); margin-top: .75rem; }

/* Info cards (week guide) */
.info-card { background: #fff; border-radius: 14px; padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.info-card__header { display: flex; align-items: center; gap: .75rem; margin-bottom: 1rem; }
.info-card__icon { font-size: 1.5rem; }
.info-card__title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; margin: 0; }

/* Fruit size card */
.fruit-size-card { background: rgba(255,255,255,.8); border-radius: 16px; padding: 1.5rem; backdrop-filter: blur(10px); text-align: center; }
.fruit-size-card__label { font-size: .8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .06em; }
.fruit-size-card__fruit { font-size: 3rem; margin: .5rem 0; }
.fruit-size-card__stat { font-size: .9rem; font-weight: 600; color: var(--pink); }

/* Sidebar */
.sidebar-card { background: #fff; border-radius: 14px; padding: 1.25rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.sidebar-card__title { font-weight: 700; font-size: 1rem; margin-bottom: .75rem; border-bottom: 2px solid var(--pink-light); padding-bottom: .5rem; }
.sidebar-cta { background: linear-gradient(135deg, var(--pink-light), #fce7f3); border-radius: 14px; padding: 1.25rem; text-align: center; }
.sidebar-cta__icon { font-size: 2rem; margin-bottom: .5rem; }
.sidebar-cta h6 { font-weight: 700; margin-bottom: .25rem; }
.sidebar-cta p { font-size: .85rem; color: var(--gray-600); margin-bottom: .75rem; }
.related-link { display: flex; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--gray-100); text-decoration: none; color: var(--gray-700); font-size: .875rem; transition: .15s; }
.related-link:last-child { border-bottom: none; }
.related-link:hover { color: var(--pink); }
.related-link.active { color: var(--pink); font-weight: 600; }
.related-article-link { display: flex; gap: .75rem; align-items: center; padding: .5rem 0; border-bottom: 1px solid var(--gray-100); text-decoration: none; color: var(--gray-800); }
.related-article-link:last-child { border-bottom: none; }
.related-article-link__img { width: 56px; height: 56px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }

/* Quick stats list */
.quick-stats { list-style: none; padding: 0; margin: 0; }
.quick-stats li { display: flex; justify-content: space-between; padding: .4rem 0; border-bottom: 1px solid var(--gray-100); font-size: .875rem; }
.quick-stats li:last-child { border-bottom: none; }
.quick-stats li span { color: var(--gray-500); }

/* Calculator widget */
.calculator-widget { background: #fff; border-radius: 16px; padding: 2rem; box-shadow: 0 2px 12px rgba(0,0,0,.08); }
.calc-tabs { display: flex; background: var(--gray-100); border-radius: 10px; padding: 4px; gap: 4px; }
.calc-tab { flex: 1; border: none; background: transparent; border-radius: 8px; padding: .5rem; font-size: .875rem; cursor: pointer; transition: .15s; }
.calc-tab.active { background: #fff; font-weight: 600; color: var(--pink); box-shadow: 0 1px 4px rgba(0,0,0,.1); }
.calc-result { background: linear-gradient(135deg, #fdf2f8, #eff6ff); border-radius: 14px; padding: 1.5rem; text-align: center; }
.calc-result__header { font-size: .8rem; text-transform: uppercase; letter-spacing: .08em; color: var(--gray-500); margin-bottom: .5rem; }
.calc-result__main { font-size: 1.75rem; font-weight: 800; color: var(--pink); font-family: var(--font-display); }
.calc-result__sub { color: var(--gray-600); font-size: .9rem; margin-top: .25rem; }
.calc-result__detail { font-size: .875rem; color: var(--gray-700); margin-top: .35rem; }
.animate-fadein { animation: fadeInUp .5s ease; }

/* Names */
.names-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px,1fr)); gap: 1rem; }
.name-card { background: #fff; border-radius: 12px; padding: 1rem; text-decoration: none; color: var(--gray-800); transition: .2s; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.name-card:hover { transform: translateY(-3px); box-shadow: 0 6px 20px rgba(0,0,0,.1); }
.name-card__name { font-size: 1.1rem; font-weight: 700; color: var(--pink); }
.name-card__hindi { font-size: 1rem; color: var(--gray-600); }
.name-card__meaning { font-size: .8rem; color: var(--gray-500); margin: .35rem 0; }
.name-card__meta { display: flex; align-items: center; gap: .5rem; }
.name-badge { font-size: .65rem; padding: .2rem .5rem; border-radius: 99px; font-weight: 700; text-transform: uppercase; }
.name-badge--boy { background: #dbeafe; color: #1d4ed8; }
.name-badge--girl { background: #fce7f3; color: #9d174d; }
.name-badge--unisex { background: #f3e8ff; color: #7c3aed; }
.alphabet-filter { display: flex; flex-wrap: wrap; gap: .25rem; }
.alpha-btn { display: inline-flex; align-items: center; justify-content: center; width: 30px; height: 30px; background: #fff; border-radius: 6px; text-decoration: none; color: var(--gray-700); font-size: .8rem; font-weight: 600; box-shadow: 0 1px 3px rgba(0,0,0,.08); transition: .15s; }
.alpha-btn:hover, .alpha-btn.active { background: var(--pink); color: #fff; }

/* Auth */
.auth-section { min-height: calc(100vh - 200px); display: flex; align-items: center; background: linear-gradient(135deg, #fdf2f8 0%, #eff6ff 100%); }
.auth-card { border-radius: 16px !important; }

/* Dashboard */
.dashboard-wrap { display: flex; min-height: 100vh; }
.dashboard-sidebar { width: 260px; min-height: 100vh; background: #fff; border-right: 1px solid var(--gray-100); position: sticky; top: 0; height: 100vh; overflow-y: auto; flex-shrink: 0; }
.dashboard-main { flex: 1; min-width: 0; background: #f8fafc; }
.dash-sidebar__header { padding: 1.25rem; border-bottom: 1px solid var(--gray-100); display: flex; align-items: center; gap: .75rem; }
.dash-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.dash-nav { list-style: none; padding: .5rem 0; margin: 0; }
.dash-nav__link { display: flex; align-items: center; gap: .75rem; padding: .6rem 1.25rem; color: var(--gray-600); text-decoration: none; transition: .15s; font-size: .9rem; border-left: 3px solid transparent; }
.dash-nav__link:hover { color: var(--pink); background: var(--pink-light); }
.dash-nav__link.active { color: var(--pink); background: var(--pink-light); border-left-color: var(--pink); font-weight: 600; }
.dash-nav__link--logout { color: var(--gray-400); }
.dash-nav__link--logout:hover { color: #dc2626; background: #fee2e2; }
.dash-nav__icon { width: 18px; text-align: center; }
.dash-topbar { background: #fff; border-bottom: 1px solid var(--gray-100); padding: .75rem 1rem; display: flex; align-items: center; justify-content: space-between; }
.dash-page-title { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: 1.5rem; }
.dash-section { background: #fff; border-radius: 14px; padding: 1.25rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.dash-section__header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 1rem; }
.stat-card { background: #fff; border-radius: 14px; padding: 1.25rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); text-align: center; }
.stat-card--pink  { border-top: 3px solid var(--pink); }
.stat-card--blue  { border-top: 3px solid var(--blue); }
.stat-card--mint  { border-top: 3px solid #10b981; }
.stat-card--peach { border-top: 3px solid #f59e0b; }
.stat-card__icon  { font-size: 1.75rem; margin-bottom: .5rem; }
.stat-card__value { font-size: 1.5rem; font-weight: 800; font-family: var(--font-display); }
.stat-card__label { font-size: .8rem; color: var(--gray-500); text-transform: uppercase; letter-spacing: .04em; }
.stat-card__sub   { font-size: .8rem; color: var(--gray-400); margin-top: .25rem; }
.stat-card__link  { font-size: .8rem; color: var(--pink); text-decoration: none; display: block; margin-top: .5rem; }
.quick-action-btn { display: flex; align-items: center; gap: .75rem; padding: .75rem 1rem; background: #fff; border-radius: 10px; text-decoration: none; color: var(--gray-700); box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: .15s; font-size: .875rem; font-weight: 500; }
.quick-action-btn:hover { color: var(--pink); transform: translateY(-2px); }
.quick-action-btn__icon { font-size: 1.25rem; }

/* Pregnancy progress bar */
.pregnancy-progress { padding: .5rem 0; background: #fff; border-bottom: 1px solid var(--gray-100); }
.pregnancy-progress-bar .progress-track { height: 8px; background: var(--gray-200); border-radius: 4px; overflow: hidden; }
.pregnancy-progress-bar .progress-fill { height: 100%; background: linear-gradient(90deg, var(--pink), #f9a8d4); border-radius: 4px; transition: width .6s ease; }

/* Vaccination */
.vacc-status { padding: .2rem .6rem; border-radius: 99px; font-size: .75rem; font-weight: 600; }
.vacc-status--given    { background: #dcfce7; color: #16a34a; }
.vacc-status--upcoming { background: #dbeafe; color: #1d4ed8; }
.vacc-status--overdue  { background: #fee2e2; color: #dc2626; }
.vacc-list { display: flex; flex-direction: column; gap: .75rem; }
.vacc-item { padding: .75rem; background: var(--gray-50); border-radius: 10px; }
.vacc-name { font-weight: 600; }

/* Notifications */
.notif-list { display: flex; flex-direction: column; gap: .75rem; }
.notif-item { display: flex; gap: 1rem; padding: 1rem; background: #fff; border-radius: 12px; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.notif-item--unread { border-left: 3px solid var(--pink); background: #fdf9ff; }
.notif-icon { font-size: 1.5rem; flex-shrink: 0; }
.notif-title { font-weight: 600; }
.notif-message { font-size: .875rem; color: var(--gray-600); }

/* Comments */
.comment-item { display: flex; gap: 1rem; margin-bottom: 1.25rem; }
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pink-light); color: var(--pink); display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.comment-header { display: flex; align-items: center; margin-bottom: .25rem; }
.comment-text { font-size: .9rem; color: var(--gray-700); }

/* Profile */
.profile-avatar-lg { width: 80px; height: 80px; border-radius: 50%; background: linear-gradient(135deg, var(--pink), #9333ea); color: #fff; display: flex; align-items: center; justify-content: center; font-size: 2rem; font-weight: 700; margin: 0 auto; }

/* Week nav */
.week-nav { background: #fff; border-bottom: 1px solid var(--gray-100); }
.week-nav-btn { display: flex; flex-direction: column; align-items: flex-start; padding: .75rem 1.25rem; background: #fff; border-radius: 12px; text-decoration: none; color: var(--gray-700); box-shadow: 0 1px 4px rgba(0,0,0,.06); transition: .15s; }
.week-nav-btn:hover { color: var(--pink); }
.week-nav-btn--next { align-items: flex-end; }
.week-nav-btn span { font-size: 1rem; font-weight: 700; }

/* Article */
.article-hero { position: relative; }
.article-hero--has-image .article-hero__content { position: relative; z-index: 2; }
.article-hero__img-wrap { position: absolute; inset: 0; }
.article-hero__img { width: 100%; height: 100%; object-fit: cover; }
.article-hero__overlay { position: absolute; inset: 0; background: linear-gradient(to right, rgba(0,0,0,.7) 0%, rgba(0,0,0,.3) 100%); }
.article-title { font-family: var(--font-display); font-size: 2rem; font-weight: 800; line-height: 1.2; }
.article-meta { display: flex; gap: 1rem; font-size: .875rem; margin-top: .5rem; }
.article-content { line-height: 1.8; font-size: 1rem; }
.article-content h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin: 2rem 0 .75rem; color: var(--pink-dark); }
.article-content h3 { font-family: var(--font-display); font-size: 1.15rem; font-weight: 700; margin: 1.5rem 0 .5rem; }
.article-content ul, .article-content ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.article-content li { margin-bottom: .35rem; }

/* .prose — used for Quill-authored week-guide fields (baby development,
   symptoms, nutrition tips, etc). Mirrors .article-content's typography. */
.prose { line-height: 1.8; font-size: 1rem; color: var(--gray-700); }
.prose p { margin-bottom: 1rem; }
.prose h2 { font-family: var(--font-display); font-size: 1.3rem; font-weight: 700; margin: 1.5rem 0 .6rem; color: var(--pink-dark); }
.prose h3 { font-family: var(--font-display); font-size: 1.1rem; font-weight: 700; margin: 1.25rem 0 .5rem; }
.prose ul, .prose ol { padding-left: 1.5rem; margin-bottom: 1rem; }
.prose li { margin-bottom: .35rem; }
.prose a { color: var(--pink); text-decoration: underline; }
.prose img { max-width: 100%; height: auto; border-radius: var(--radius-md, 14px); margin: .75rem 0; box-shadow: 0 1px 4px rgba(0,0,0,.08); }
.prose strong { color: var(--gray-900); }
.prose > *:last-child { margin-bottom: 0; }

.medical-disclaimer { border-radius: 10px; }
.article-tags { display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; }
.tag-pill { background: var(--gray-100); color: var(--gray-600); padding: .25rem .75rem; border-radius: 99px; font-size: .8rem; text-decoration: none; transition: .15s; }
.tag-pill:hover { background: var(--pink-light); color: var(--pink); }

/* Category pills */
.category-pills { display: flex; gap: .5rem; flex-wrap: wrap; }
.cat-pill { background: var(--gray-100); color: var(--gray-700); padding: .4rem 1rem; border-radius: 99px; text-decoration: none; font-size: .875rem; font-weight: 500; transition: .15s; }
.cat-pill:hover, .cat-pill.active { background: var(--pink); color: #fff; }
.sidebar-cat-link { display: flex; justify-content: space-between; align-items: center; padding: .4rem 0; border-bottom: 1px solid var(--gray-100); text-decoration: none; color: var(--gray-700); font-size: .875rem; }
.sidebar-cat-link:last-child { border-bottom: none; }
.sidebar-cat-link:hover { color: var(--pink); }

/* Testimonials */
.testimonial-card { background: #fff; border-radius: 14px; padding: 1.5rem; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.testimonial-text { font-style: italic; color: var(--gray-700); margin-bottom: 1rem; }
.testimonial-author { display: flex; align-items: center; gap: .75rem; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--pink); color: #fff; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }

/* Contact */
.contact-info-list { display: flex; flex-direction: column; gap: 1rem; }
.contact-info-item { display: flex; align-items: center; gap: 1rem; }
.contact-info-icon { font-size: 1.75rem; width: 48px; text-align: center; flex-shrink: 0; }
.social-links-large { display: flex; gap: .75rem; flex-wrap: wrap; }
.social-link-btn { display: inline-flex; align-items: center; gap: .5rem; padding: .5rem 1.25rem; border-radius: 99px; font-size: .875rem; font-weight: 600; text-decoration: none; transition: .15s; color: #fff; }
.social-link-btn--instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.social-link-btn--facebook  { background: #1877f2; }
.social-link-btn--youtube   { background: #ff0000; }

/* About */
.about-stats-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1.25rem; }
.about-stat-card { background: #fff; border-radius: 14px; padding: 1.5rem; text-align: center; box-shadow: 0 1px 4px rgba(0,0,0,.06); }
.about-stat-icon { font-size: 2rem; margin-bottom: .5rem; }
.about-stat-num  { font-size: 2rem; font-weight: 800; color: var(--pink); font-family: var(--font-display); }
.about-stat-label{ color: var(--gray-500); font-size: .875rem; }
.feature-list { list-style: none; padding: 0; }
.feature-list li { padding: .35rem 0; }

/* Legal */
.legal-prose h2 { font-size: 1.15rem; font-weight: 700; margin-top: 2rem; color: var(--pink-dark); }

/* Checklist */
.checklist { list-style: none; padding: 0; }
.checklist li { padding: .4rem 0; font-size: .9rem; }

/* Milestone grid */
.milestone-grid { display: flex; flex-direction: column; gap: .5rem; }
.milestone-item { display: flex; align-items: flex-start; gap: .5rem; font-size: .9rem; padding: .35rem 0; }

/* Symptom list */
.symptom-list { list-style: none; padding: 0; }
.symptom-item  { padding: .4rem 0; font-size: .9rem; }

/* Empty state */
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--gray-500); }
.empty-state p { font-size: 1rem; }

/* Trimester header */
.trimester-header { margin-bottom: 1rem; }
.trimester-header h2 { font-family: var(--font-display); font-size: 1.4rem; font-weight: 700; margin-bottom: .15rem; }

/* bg helpers */
.bg-light-pink { background-color: #fdf2f8; }
.bg-light-blue { background-color: #eff6ff; }
.text-blue { color: var(--blue); }
.btn-outline-blue {
    border: 2px solid var(--blue);
    color: var(--blue);
    font-weight: 700;
    border-radius: 50px;
    padding: .4rem 1.4rem;
    background: transparent;
    transition: var(--transition);
}
.btn-outline-blue:hover { background: var(--blue); color: #fff; border-color: var(--blue); }
.btn-outline-green { border-color: #10b981; color: #10b981; }
.btn-outline-green:hover { background: #10b981; color: #fff; }
.text-green { color: #10b981; }

/* Dashboard sidebar open (mobile) */
@media (max-width: 767px) {
  .dashboard-sidebar { position: fixed; top: 0; left: 0; height: 100vh; z-index: 200; transform: translateX(-100%); transition: transform .3s; box-shadow: 4px 0 24px rgba(0,0,0,.15); }
  .dashboard-sidebar.open { transform: translateX(0); }
  .dashboard-main { margin-left: 0; }
}

/* ================================================================
   EXPLORE ARTICLES (homepage category-tabbed featured + grid layout)
   ================================================================ */
.explore-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 1.75rem;
}
.explore-header__title {
  font-family: var(--font-display);
  font-size: clamp(1.5rem, 3vw, 2.1rem);
  font-weight: 800;
  margin: 0;
  white-space: nowrap;
}
.explore-tabs {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
}
.explore-tab {
  border: none;
  background: #fff;
  color: var(--gray-700);
  font-weight: 600;
  font-size: .875rem;
  padding: .55rem 1.25rem;
  border-radius: 99px;
  cursor: pointer;
  transition: .15s;
  box-shadow: 0 1px 3px rgba(0,0,0,.06);
}
.explore-tab:hover { background: var(--pink-light); color: var(--pink-dark); }
.explore-tab.active { background: var(--pink); color: #fff; box-shadow: 0 4px 12px rgba(219,39,119,.3); }

.explore-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  align-items: stretch;
}
.explore-grid--single { grid-template-columns: 1fr; }
.explore-grid--single .explore-featured { min-height: 380px; }

/* Featured card (left) */
.explore-featured {
  position: relative;
  display: block;
  border-radius: var(--radius-lg, 18px);
  overflow: hidden;
  text-decoration: none;
  min-height: 460px;
  background: var(--gray-200);
}
.explore-featured__img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .4s ease;
}
.explore-featured__img--placeholder {
  background: linear-gradient(135deg, var(--pink-light), var(--blue-light));
}
.explore-featured:hover .explore-featured__img { transform: scale(1.04); }
.explore-featured__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.45) 45%, rgba(0,0,0,0) 75%);
}
.explore-featured__content {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 1.75rem;
  color: #fff;
}
.explore-featured__title {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 800;
  line-height: 1.25;
  margin: .5rem 0 .75rem;
}

/* Right-side row list */
.explore-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.explore-row {
  display: flex;
  gap: 1rem;
  text-decoration: none;
  color: inherit;
  background: #fff;
  border-radius: var(--radius-md, 14px);
  padding: .75rem;
  transition: .2s;
  box-shadow: 0 1px 4px rgba(0,0,0,.05);
}
.explore-row:hover { box-shadow: 0 8px 20px rgba(0,0,0,.1); transform: translateY(-2px); }
.explore-row__img {
  width: 92px;
  height: 92px;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: var(--radius-sm, 10px);
}
.explore-row__img--placeholder {
  background: linear-gradient(135deg, var(--pink-light), var(--blue-light));
}
.explore-row__body {
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-width: 0;
}
.explore-row__title {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gray-900);
  margin: .25rem 0;
  line-height: 1.3;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.explore-row:hover .explore-row__title { color: var(--pink-dark); }

/* Shared meta line (author · time, category · read time) */
.explore-card__meta {
  display: flex;
  align-items: center;
  gap: .4rem;
  font-size: .78rem;
  color: var(--gray-500);
}
.explore-featured .explore-card__meta { color: rgba(255,255,255,.85); }
.explore-card__dot { opacity: .6; }
.explore-card__cat {
  color: var(--pink);
  font-weight: 700;
}
.explore-featured .explore-card__cat { color: #f9a8d4; }

/* Responsive */
@media (max-width: 991.98px) {
  .explore-grid { grid-template-columns: 1fr; }
  .explore-featured { min-height: 320px; }
}
@media (max-width: 575.98px) {
  .explore-header { flex-direction: column; align-items: flex-start; }
  .explore-row__img { width: 76px; height: 76px; }
  .explore-row__title { font-size: .9rem; }
}
