/* ═══ BLOG INDEX HERO ═══ */
.blog-index-hero {
    position: relative;
    z-index: 1;
    padding: 72px 0 48px;
    text-align: center;
}

.blog-eyebrow {
    display: inline-block;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--pink-500);
    margin-bottom: 16px;
}

.blog-index-hero h1 {
    font-size: clamp(36px, 6vw, 64px);
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
    color: var(--gray-900);
}

.blog-index-sub {
    font-size: clamp(16px, 2vw, 20px);
    color: var(--muted);
    line-height: 1.6;
    max-width: 48ch;
    margin-inline: auto;
}

/* ═══ FEATURED ARTICLE ═══ */
.blog-featured {
    padding-bottom: 56px;
}

.featured-card {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 0;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 12px 40px rgba(236, 72, 153, 0.06);
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: transform 280ms ease, box-shadow 280ms ease;
}

.featured-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 56px rgba(236, 72, 153, 0.12);
    color: inherit;
}

.featured-visual {
    background: linear-gradient(145deg, var(--rose-100), rgba(236, 72, 153, 0.08));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 40px;
    position: relative;
}

.featured-icon-wrap {
    width: 88px;
    height: 88px;
    border-radius: 24px;
    background: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--pink-500);
    box-shadow: 0 8px 24px rgba(236, 72, 153, 0.12);
}

.featured-label {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--pink-600);
    background: var(--white);
    padding: 4px 12px;
    border-radius: var(--r-full);
}

.featured-body {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 12px;
}

.featured-body h2 {
    font-size: clamp(24px, 3vw, 36px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    color: var(--gray-900);
}

.featured-excerpt {
    font-size: 16px;
    line-height: 1.7;
    color: var(--muted);
    max-width: 50ch;
}

.featured-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--border);
    margin-top: 8px;
}

.featured-author {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 700;
    color: var(--gray-900);
}

.avatar-sm {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-200), var(--pink-500));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 9px;
    font-weight: 800;
}

.featured-meta {
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    white-space: nowrap;
}

/* ═══ SECTION DIVIDER ═══ */
.section-divider {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--muted);
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border);
    margin-bottom: 20px;
}

/* ═══ BLOG GRID (listing page) ═══ */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 16px;
    padding-bottom: 56px;
}

.blog-card {
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.04);
    overflow: hidden;
    transition: transform 260ms, box-shadow 260ms;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
}

.blog-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(236, 72, 153, 0.1);
    color: inherit;
}

.blog-card-soon {
    opacity: 0.65;
    cursor: default;
}

.blog-card-soon:hover {
    transform: none;
    box-shadow: 0 4px 16px rgba(236, 72, 153, 0.04);
}

.blog-card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.blog-card-tag {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pink-500);
}

.blog-card-body h3 {
    font-size: 18px;
    font-weight: 800;
    line-height: 1.3;
}

.blog-card-body p {
    color: var(--muted);
    font-size: 14px;
    line-height: 1.6;
    flex: 1;
}

.blog-card-meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--muted);
    font-weight: 600;
    padding-top: 8px;
    border-top: 1px solid var(--border);
}

/* ═══ NEWSLETTER CTA ═══ */
.blog-newsletter {
    text-align: center;
    padding: 56px 32px;
    border-radius: var(--r-xl);
    border: 1px solid var(--border);
    background: var(--white);
    margin-bottom: 72px;
}

.blog-newsletter h2 {
    font-size: clamp(24px, 3.5vw, 36px);
    margin-bottom: 12px;
}

.blog-newsletter p {
    color: var(--muted);
    font-size: 16px;
    line-height: 1.7;
    max-width: 48ch;
    margin: 0 auto 28px;
}

/* ═══ ARTICLE LAYOUT ═══ */
.article-header {
    position: relative;
    z-index: 1;
    padding: 48px 0 24px;
    text-align: center;
}

.article-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--muted);
    margin-bottom: 20px;
}

.article-breadcrumb a {
    color: var(--pink-500);
}

.article-tag {
    display: inline-block;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--white);
    background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
    padding: 5px 14px;
    border-radius: var(--r-full);
    margin-bottom: 16px;
}

.article-header h1 {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 800;
    line-height: 1.1;
    max-width: 22ch;
    margin-inline: auto;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.article-header .lead {
    font-size: clamp(18px, 2vw, 22px);
    line-height: 1.6;
    color: var(--muted);
    max-width: 48ch;
    margin-inline: auto;
    margin-bottom: 32px;
}

.article-meta {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    gap: 16px;
    font-size: 13px;
    color: var(--muted);
    font-weight: 600;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    max-width: fit-content;
    margin-inline: auto;
}

.article-author {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--gray-900);
}

.avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--rose-200), var(--pink-500));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 800;
}

.author-title {
    color: var(--muted);
    font-weight: 500;
    font-size: 12px;
}

.meta-sep {
    color: var(--rose-200);
    margin: 0 4px;
}

.article-meta svg {
    vertical-align: -2px;
    margin-right: 4px;
}

/* ═══ ARTICLE BODY ═══ */
.article-body {
    position: relative;
    z-index: 1;
    max-width: 680px;
    /* narrowed slightly for optimal line length */
    margin: 0 auto;
    padding: 0 24px 72px;
}

.article-body h2 {
    font-size: clamp(26px, 3.5vw, 36px);
    font-weight: 800;
    margin-top: 56px;
    margin-bottom: 24px;
    color: var(--gray-900);
}

.article-body h3 {
    font-size: 22px;
    font-weight: 700;
    margin-top: 40px;
    margin-bottom: 16px;
}

.article-body p {
    font-size: 19px;
    /* larger, more editorial reading size */
    line-height: 1.7;
    color: #374151;
    /* slightly softer than full black */
    margin-bottom: 24px;
}

.article-body p:first-of-type {
    font-size: 21px;
    color: var(--gray-900);
    line-height: 1.6;
}

.article-body strong {
    font-weight: 700;
    color: var(--gray-900);
}

.article-body em {
    font-style: italic;
    color: var(--gray-900);
}

.article-body blockquote {
    border-left: 3px solid var(--pink-500);
    background: transparent;
    padding: 12px 0 12px 28px;
    margin: 40px 0;
    font-size: 26px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--pink-700);
    font-style: italic;
    letter-spacing: -0.02em;
    border-radius: 0;
    box-shadow: none;
}

.article-body ul,
.article-body ol {
    padding-left: 24px;
    margin-bottom: 20px;
}

.article-body li {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 8px;
    color: var(--gray-900);
}

.article-body li::marker {
    color: var(--pink-500);
}

/* ═══ QUESTION CARDS (personalized) ═══ */
.q-card {
    padding: 20px 24px;
    border-radius: var(--r-lg);
    border: 1px solid var(--border);
    background: var(--white);
    box-shadow: 0 6px 20px rgba(236, 72, 153, 0.06);
    margin-bottom: 12px;
    transition: transform 200ms, box-shadow 200ms;
    cursor: default;
}

.q-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(236, 72, 153, 0.1);
}

.q-card-num {
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--pink-500);
    margin-bottom: 6px;
}

.q-card p {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--gray-900);
    margin-bottom: 0;
}

.q-section-grid {
    display: grid;
    gap: 12px;
    margin-bottom: 28px;
}

/* ═══ PERSONALIZATION BAR ═══ */
.personalize-bar {
    position: sticky;
    top: 60px;
    z-index: 50;
    backdrop-filter: blur(16px) saturate(1.6);
    -webkit-backdrop-filter: blur(16px) saturate(1.6);
    background: rgba(255, 241, 242, 0.85);
    border-bottom: 1px solid var(--border);
    padding: 12px 0;
}

.personalize-inner {
    max-width: 720px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.personalize-label {
    font-size: 12px;
    font-weight: 700;
    color: var(--muted);
    white-space: nowrap;
}

.personalize-chips {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.p-chip {
    font-size: 12px;
    font-weight: 700;
    padding: 6px 14px;
    border-radius: var(--r-full);
    border: 1.5px solid var(--rose-200);
    background: var(--white);
    color: var(--gray-900);
    cursor: pointer;
    transition: all 160ms;
    font-family: var(--font);
}

.p-chip:hover {
    border-color: var(--pink-500);
}

.q-count {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted);
    margin-left: auto;
    white-space: nowrap;
    transform: translateY(-1px);
}

.p-chip.is-active {
    border-color: transparent;
    background: linear-gradient(135deg, var(--pink-500), var(--pink-600));
    color: var(--white);
    box-shadow: 0 4px 12px rgba(236, 72, 153, 0.25);
}

/* ═══ CTA BANNER ═══ */
.article-cta {
    text-align: center;
    padding: 48px 32px;
    border-radius: var(--r-xl);
    background: linear-gradient(135deg, var(--pink-500), var(--pink-700));
    color: var(--white);
    margin-top: 48px;
}

.article-cta h2 {
    color: var(--white);
    margin-bottom: 8px;
    font-size: clamp(24px, 3vw, 36px);
}

.article-cta p {
    color: rgba(255, 255, 255, 0.85);
    max-width: 44ch;
    margin: 0 auto 24px;
}

.btn-white {
    background: var(--white);
    color: var(--pink-600);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
}

.btn-white:hover {
    color: var(--pink-700);
    transform: translateY(-2px);
    box-shadow: 0 14px 32px rgba(0, 0, 0, 0.2);
}

/* ═══ READING PROGRESS ═══ */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 3px;
    background: linear-gradient(90deg, var(--pink-500), var(--pink-600));
    z-index: 200;
    transition: width 80ms linear;
}

/* ═══ RESPONSIVE ═══ */
@media (max-width: 768px) {
    .featured-card {
        grid-template-columns: 1fr;
    }

    .featured-visual {
        padding: 32px;
        flex-direction: row;
        justify-content: center;
    }

    .featured-icon-wrap {
        width: 64px;
        height: 64px;
        border-radius: 18px;
    }

    .featured-icon-wrap svg {
        width: 32px;
        height: 32px;
    }

    .featured-body {
        padding: 24px;
    }

    .featured-footer {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .blog-grid {
        grid-template-columns: 1fr;
    }

    .blog-newsletter {
        padding: 36px 20px;
    }

    .personalize-inner {
        flex-direction: column;
        align-items: flex-start;
    }

    .article-header h1 {
        max-width: none;
    }

    .article-cta {
        padding: 36px 20px;
    }
}