/* ====================================================================
   BLOG CSS — Area Capilar Theme
   Solo estilos especificos del blog (listado + single + sidebar + Q&A).
   Variables, reset, botones base, header y footer estan en styles.css.
   ==================================================================== */


/* ====================================================================
   1. BLOG HERO (cabecera del listado de blog)
   ==================================================================== */
.blog-hero {
    padding: 140px 0 60px;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}
.blog-hero::before {
    content: '';
    position: absolute;
    top: -60%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(13,148,136,0.06) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.blog-hero::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13,148,136,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}

/* Video hero variant */
.blog-hero--video::before,
.blog-hero--video::after { display: none; }
.blog-hero__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}
.blog-hero__overlay {
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.82);
    z-index: 1;
}

.blog-hero__breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}
.blog-hero__breadcrumbs a { color: var(--text-muted); }
.blog-hero__breadcrumbs a:hover { color: var(--accent); }
.blog-hero__breadcrumbs svg { width: 14px; height: 14px; opacity: 0.4; }
.blog-hero__title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    margin-bottom: 12px;
    position: relative;
    z-index: 2;
}
.blog-hero__subtitle {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 560px;
    line-height: 1.7;
    position: relative;
    z-index: 2;
}
.blog-hero__trust {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 18px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    background: rgba(13,148,136,0.06);
    border: 1px solid rgba(13,148,136,0.15);
    padding: 7px 18px 7px 14px;
    border-radius: 50px;
    position: relative;
    z-index: 2;
}
.blog-hero__trust svg { width: 16px; height: 16px; flex-shrink: 0; }


/* ====================================================================
   2. CATEGORY FILTERS
   ==================================================================== */
.blog-filters {
    padding: 0 0 48px;
    background: var(--bg-secondary);
    position: relative;
    z-index: 2;
}
.blog-filters__inner {
    display: flex;
    align-items: center;
    gap: 8px;
    overflow-x: auto;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    position: relative;
    z-index: 2;
}
.blog-filters__inner::-webkit-scrollbar { display: none; }
.filter-tab {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 22px;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    background: #fff;
    border: 1px solid rgba(0,0,0,0.12);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
    cursor: pointer;
    transition: var(--transition);
    white-space: nowrap;
    flex-shrink: 0;
}
.filter-tab:hover {
    border-color: var(--accent);
    color: var(--accent);
    box-shadow: 0 2px 12px rgba(13,148,136,0.15);
}
.filter-tab.active {
    background: var(--accent);
    color: #fff;
    border-color: var(--accent);
    box-shadow: 0 4px 16px rgba(13,148,136,0.3);
}
.filter-tab__count {
    font-size: 11px;
    font-weight: 700;
    background: rgba(0,0,0,0.08);
    padding: 2px 7px;
    border-radius: 50px;
}
.filter-tab.active .filter-tab__count {
    background: rgba(255,255,255,0.25);
}


/* ====================================================================
   3. ARTICLE CARDS (grid + card + featured)
   ==================================================================== */

/* --- Grid --- */
.blog-grid-section { padding: 48px 0 80px; }
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}

/* --- Card base --- */
.article-card {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--border);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
}
.article-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.08);
    border-color: rgba(13,148,136,0.2);
}

/* Image */
.article-card__image {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
    background: var(--bg-secondary);
}
.article-card__image::after {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(26,26,46,0.45) 100%);
    pointer-events: none;
    transition: opacity 0.4s ease;
}
.article-card:hover .article-card__image::after { opacity: 0.7; }
.article-card__image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25,0.46,0.45,0.94);
}
.article-card:hover .article-card__image img { transform: scale(1.05); }

/* Category badge */
.article-card__category {
    position: absolute;
    top: 14px;
    left: 14px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 50px;
    background: var(--white);
    color: var(--accent);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Body */
.article-card__body {
    padding: 22px 22px 24px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.article-card__meta {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 10px;
}
.article-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.article-card__meta-item svg { width: 14px; height: 14px; opacity: 0.5; }
.article-card__meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border-hover);
}
.article-card__verified {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    font-size: 11px;
    font-weight: 600;
    color: #16A34A;
}
.article-card__verified svg { width: 12px; height: 12px; flex-shrink: 0; }
.article-card__title {
    font-size: 1.1rem;
    font-weight: 700;
    line-height: 1.35;
    color: var(--text-primary);
    margin-bottom: 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: color 0.2s ease;
}
.article-card:hover .article-card__title { color: var(--accent); }
.article-card__excerpt {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
}
.article-card__footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 14px;
    border-top: 1px solid var(--border);
}
.article-card__cat {
    display: inline-block;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(13,148,136,0.08);
    padding: 4px 12px;
    border-radius: 50px;
}
.article-card__read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}
.article-card__read-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.2s ease;
}
.article-card:hover .article-card__read-more svg { transform: translateX(3px); }

/* --- Featured card --- */
.article-card--featured {
    grid-column: 1 / -1;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    border: none;
    background: linear-gradient(135deg, #1A1A2E 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    overflow: hidden;
}
.article-card--featured .article-card__image {
    aspect-ratio: auto;
    min-height: 340px;
}
.article-card--featured .article-card__body {
    padding: 36px 36px 36px 12px;
    justify-content: center;
}
.article-card--featured .article-card__category {
    position: static;
    display: inline-block;
    align-self: flex-start;
    margin-bottom: 16px;
    background: rgba(13,148,136,0.15);
    color: var(--accent);
    border: 1px solid rgba(13,148,136,0.3);
}
.article-card--featured .article-card__meta { color: rgba(255,255,255,0.45); }
.article-card--featured .article-card__meta-dot { background: rgba(255,255,255,0.2); }
.article-card--featured .article-card__title {
    font-size: 1.5rem;
    color: var(--white);
    -webkit-line-clamp: 3;
    margin-bottom: 14px;
}
.article-card--featured:hover .article-card__title { color: var(--accent); }
.article-card--featured .article-card__excerpt {
    color: rgba(255,255,255,0.6);
    -webkit-line-clamp: 3;
    font-size: 0.95rem;
}
.article-card--featured .article-card__footer {
    border-top-color: rgba(255,255,255,0.1);
}
.article-card--featured .article-card__cat {
    background: rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.8);
}
.article-card--featured .article-card__read-more { color: var(--accent); }


/* ====================================================================
   4. PAGINATION (WordPress native classes)
   ==================================================================== */
.pagination .nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 48px 0 0;
}
.pagination .nav-links a.page-numbers,
.pagination .nav-links span.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 44px;
    height: 44px;
    padding: 0 12px;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: var(--white);
    color: var(--text-secondary);
    font-family: var(--font);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.pagination .nav-links a.page-numbers:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(13,148,136,0.06);
}
.pagination .nav-links span.page-numbers.current {
    background: var(--accent);
    color: var(--white);
    border-color: var(--accent);
    box-shadow: 0 4px 12px rgba(13,148,136,0.25);
}
.pagination .nav-links a.prev,
.pagination .nav-links a.next {
    min-width: 44px;
    padding: 0;
    border: 1px solid var(--border);
    background: var(--white);
}
.pagination .nav-links a.prev:hover,
.pagination .nav-links a.next:hover {
    border-color: var(--accent);
    background: rgba(13,148,136,0.06);
}
.pagination .nav-links a.prev svg,
.pagination .nav-links a.next svg {
    width: 18px;
    height: 18px;
    stroke: var(--text-secondary);
    transition: var(--transition);
}
.pagination .nav-links a.prev:hover svg,
.pagination .nav-links a.next:hover svg {
    stroke: var(--accent);
}
.pagination .nav-links span.page-numbers.dots {
    border: none;
    background: none;
    min-width: auto;
    padding: 0 2px;
    color: var(--text-muted);
    font-size: 14px;
    letter-spacing: 2px;
}


/* ====================================================================
   5. BLOG CTA SECTION (CTA de consulta que reemplaza al newsletter)
   ==================================================================== */
.blog-cta {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.blog-cta__card {
    background: linear-gradient(135deg, #1A1A2E 0%, #0f172a 100%);
    border-radius: var(--radius-lg);
    padding: 56px 48px;
    text-align: center;
    position: relative;
    overflow: hidden;
}
.blog-cta__card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(13,148,136,0.15) 0%, transparent 70%);
    border-radius: 50%;
}
.blog-cta__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(13,148,136,0.15);
    border: 1px solid rgba(13,148,136,0.3);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.blog-cta__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--white);
    margin-bottom: 12px;
    position: relative;
    z-index: 1;
}
.blog-cta__text {
    font-size: 1rem;
    color: rgba(255,255,255,0.6);
    max-width: 480px;
    margin: 0 auto 28px;
    line-height: 1.7;
    position: relative;
    z-index: 1;
}
.blog-cta__actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    position: relative;
    z-index: 1;
}
.blog-cta__actions .btn {
    font-size: 16px;
    padding: 16px 40px;
}
.blog-cta__trust {
    font-size: 13px;
    color: rgba(255,255,255,0.5);
    display: flex;
    align-items: center;
    gap: 6px;
}
.blog-cta__trust span { color: #FBBF24; letter-spacing: 1px; }
.blog-cta__trust strong { color: var(--accent); }

/* CTA Section (dark - single post) */
.cta-section {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1A2E 0%, #0f172a 50%, #1e293b 100%);
}
.cta-section__content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}
.cta-section__tag {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(13,148,136,0.15);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.cta-section__title {
    font-size: clamp(1.6rem, 3vw, 2.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
    margin-bottom: 16px;
}
.cta-section__text {
    color: rgba(255,255,255,0.7);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 32px;
}
.cta-section__buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}


/* ====================================================================
   6. SINGLE POST HERO (hero C con form - dark overlay)
   ==================================================================== */

/* Hero variant for single post (blog-livitum-cta style) */
.single-hero {
    position: relative;
    min-height: 58vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: linear-gradient(135deg, #1A1A2E 0%, #0f172a 50%, #1e293b 100%);
    padding: 120px 0 60px;
}
.single-hero__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(15,23,42,0.55) 0%,
        rgba(15,23,42,0.75) 60%,
        rgba(15,23,42,0.9) 100%
    );
}
.single-hero__content {
    position: relative;
    z-index: 2;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

/* Breadcrumbs (single post, dark bg) */
.single-hero .breadcrumbs {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    gap: 0;
    justify-content: center;
    margin-bottom: 20px;
}
.single-hero .breadcrumbs a {
    color: rgba(255,255,255,0.5);
    transition: color 0.2s ease;
}
.single-hero .breadcrumbs a:hover { color: var(--accent); }
.single-hero .breadcrumbs span { margin: 0 8px; }

/* Category tag */
.single-hero__category {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(13,148,136,0.15);
    padding: 6px 18px;
    border-radius: 50px;
    margin-bottom: 20px;
}
.single-hero__title {
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    letter-spacing: -0.02em;
    margin-bottom: 20px;
}

/* Review badge */
.single-hero__review-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.7);
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 8px 16px;
    border-radius: 50px;
    backdrop-filter: blur(4px);
}
.single-hero__review-badge svg { color: var(--accent); flex-shrink: 0; }
.single-hero__review-badge strong { color: var(--accent); font-weight: 600; }

/* Meta */
.single-hero__meta {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 12px;
    font-size: 0.8rem;
    color: rgba(255,255,255,0.45);
    flex-wrap: wrap;
}
.single-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.single-hero__meta-item svg { opacity: 0.5; flex-shrink: 0; }
.single-hero__meta-item--updated { color: var(--accent); opacity: 0.8; }
.single-hero__meta-item--updated svg { opacity: 0.8; color: var(--accent); }

/* Hero CTA */
.single-hero__cta { margin-top: 24px; }
.single-hero__cta .btn-primary {
    padding: 14px 36px;
    border-radius: 50px;
    font-size: 15px;
}
.single-hero__cta .btn-primary:hover {
    box-shadow: 0 0 30px rgba(13,148,136,0.4);
}

/* Hero C (with form) — light overlay variant */
.hero-c {
    position: relative;
    overflow: hidden;
    padding: 120px 0 60px;
    min-height: 520px;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #f0fdfa 0%, #e8f5f0 40%, #f8fafc 100%);
}
.hero-c__bg { position: absolute; inset: 0; overflow: hidden; }
.hero-c__bg img { width: 100%; height: 100%; object-fit: cover; }
.hero-c__video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-c__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg,
        rgba(20,20,40,0.45) 0%,
        rgba(20,20,40,0.15) 12%,
        rgba(255,255,255,0.55) 30%,
        rgba(255,255,255,0.7) 50%,
        rgba(255,255,255,0.9) 100%
    );
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}
.hero-c__content { position: relative; z-index: 2; width: 100%; }
.hero-c__grid {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: center;
}

/* Left: text */
.hero-c .breadcrumbs {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 20px;
    flex-wrap: wrap;
}
.hero-c .breadcrumbs a { color: var(--text-muted); }
.hero-c .breadcrumbs a:hover { color: var(--accent); }
.hero-c .breadcrumbs svg { width: 14px; height: 14px; opacity: 0.4; flex-shrink: 0; }
.cat-badge {
    display: inline-block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 5px 14px;
    border-radius: 50px;
    margin-bottom: 16px;
    background: var(--white);
    color: var(--accent);
    border: 1px solid var(--border);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.hero-c__title {
    font-size: clamp(1.6rem, 3.5vw, 2.4rem);
    font-weight: 800;
    color: var(--text-primary);
    letter-spacing: -0.03em;
    line-height: 1.15;
    max-width: 600px;
    margin-bottom: 4px;
}
.hero-meta {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 14px;
}
.hero-meta-item {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    color: var(--text-muted);
}
.hero-meta-item svg { width: 15px; height: 15px; opacity: 0.5; flex-shrink: 0; }
.hero-meta-dot {
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background: var(--border);
}

/* Review badge (hero C light) */
.review-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    font-weight: 600;
    padding: 5px 14px;
    border-radius: 50px;
    background: var(--white);
    color: #16A34A;
    border: 1px solid rgba(22,163,74,0.15);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}
.review-badge svg { width: 14px; height: 14px; color: #16A34A; flex-shrink: 0; }

/* Link a Q&A desde el hero */
.hero-qa-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 16px;
    font-size: 13px;
    font-weight: 500;
    color: var(--accent);
    padding: 7px 16px 7px 12px;
    background: rgba(13,148,136,0.06);
    border: 1px solid rgba(13,148,136,0.15);
    border-radius: 50px;
    transition: all 0.2s ease;
}
.hero-qa-link svg { width: 15px; height: 15px; flex-shrink: 0; }
.hero-qa-link__count {
    font-size: 11px;
    font-weight: 600;
    color: var(--white);
    background: var(--accent);
    padding: 2px 9px;
    border-radius: 50px;
    margin-left: 2px;
}
.hero-qa-link:hover {
    background: rgba(13,148,136,0.1);
    border-color: rgba(13,148,136,0.3);
    transform: translateX(2px);
}

/* Mobile CTA (hidden on desktop) */
.hero-mobile-cta { display: none; margin-top: 24px; }


/* ====================================================================
   7. E-E-A-T BLOCK (hero)
   ==================================================================== */
.eeat {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 20px;
    padding: 16px 20px;
    background: rgba(255,255,255,0.75);
    border: 1px solid rgba(0,0,0,0.06);
    border-radius: 12px;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}
.eeat__review {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.eeat__review svg { width: 18px; height: 18px; color: var(--accent); flex-shrink: 0; }
.eeat__dates {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    font-size: 12px;
    color: var(--text-muted);
}
.eeat__date { display: inline-flex; align-items: center; gap: 5px; }
.eeat__date svg { width: 13px; height: 13px; opacity: 0.5; flex-shrink: 0; }
.eeat__date--updated { color: var(--accent); font-weight: 500; }
.eeat__date--updated svg { opacity: 0.8; color: var(--accent); }


/* ====================================================================
   8. HERO FORM (mini form en el hero)
   ==================================================================== */
.hero-form {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 8px 40px rgba(0,0,0,0.1), 0 0 0 1px rgba(0,0,0,0.04);
    position: relative;
}
.hero-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #38bdf8);
    z-index: 1;
}
.hero-form__header {
    padding: 20px 24px 14px;
    text-align: center;
    background: linear-gradient(180deg, rgba(13,148,136,0.04) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}
.hero-form__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(13,148,136,0.08);
    border: 1px solid rgba(13,148,136,0.15);
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}
.hero-form__title {
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.hero-form__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}
.hero-form__stars { color: #FBBF24; letter-spacing: 1px; }

/* Form body */
.hero-form__body {
    padding: 18px 24px 22px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.hf-field input,
.hf-field select {
    width: 100%;
    padding: 12px 14px;
    background: #F9FAFB;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.hf-field input::placeholder { color: var(--text-muted); }
.hf-field input:focus,
.hf-field select:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.hf-field select {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}

/* Contact preference pills */
.hf-pref-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
    display: block;
}
.hf-pref-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}
.hf-pref-option {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 10px 12px;
    background: #F9FAFB;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 13px;
    font-weight: 500;
    color: var(--text-secondary);
}
.hf-pref-option:hover { border-color: var(--accent); }
.hf-pref-option input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.hf-pref-option:has(input:checked) {
    border-color: var(--accent);
    background: rgba(13,148,136,0.06);
    color: var(--text-primary);
}

/* Sexo (inline compacto) */
.hf-sexo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 2px;
}
.hf-sexo__label {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}
.hf-sexo__opt {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    color: var(--text-secondary);
    cursor: pointer;
}
.hf-sexo__opt input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--accent);
    cursor: pointer;
}

/* Horario condicional */
.hf-horario select {
    width: 100%;
    padding: 10px 12px;
    border: 1.5px solid var(--border);
    border-radius: 10px;
    font-size: 13px;
    color: var(--text-secondary);
    background: #F9FAFB;
    margin-bottom: 8px;
}

/* Privacy */
.hf-privacy {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 2px;
}
.hf-privacy input[type="checkbox"] {
    width: 15px;
    height: 15px;
    margin-top: 1px;
    accent-color: var(--accent);
    flex-shrink: 0;
    cursor: pointer;
}
.hf-privacy label {
    font-size: 11px;
    color: var(--text-muted);
    line-height: 1.4;
    cursor: pointer;
}
.hf-privacy a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 2px;
}

/* Submit */
.hf-submit {
    width: 100%;
    padding: 14px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.hf-submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13,148,136,0.25);
}
.hf-note {
    text-align: center;
    font-size: 11px;
    color: var(--text-muted);
    margin-top: -2px;
}


/* ====================================================================
   9. SIDEBAR (TOC, ficha E-E-A-T medico, form contacto, recientes)
   ==================================================================== */

/* Layout */
.blog-layout { padding: 64px 0; }
.blog-layout__grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 48px;
}
.blog-layout__main { min-width: 0; }
.blog-layout__sidebar {
    min-width: 0;
    align-self: start;
    position: sticky;
    top: 100px;
}
.blog-layout__sticky {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Content preview layout (hero-c variant) */
.content-preview { background: var(--white); padding: 48px 0 80px; }
.content-preview__inner {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 48px;
    align-items: start;
}
.sidebar-preview { position: sticky; top: 90px; }

/* --- Sidebar Widget base --- */
.sidebar-widget {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 24px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}

/* --- TOC --- */
.sidebar-toc {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    margin-bottom: 16px;
}
.sidebar-toc__title {
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-toc__title svg { width: 16px; height: 16px; color: var(--accent); }
.sidebar-toc__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sidebar-toc a,
.sidebar-toc__link {
    display: block;
    padding: 7px 0;
    font-size: 13px;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: all 0.2s ease;
}
.sidebar-toc a:hover,
.sidebar-toc__link:hover {
    color: var(--accent);
    padding-left: 6px;
}
.sidebar-toc a:last-child,
.sidebar-toc__link:last-child { border-bottom: none; }
.sidebar-toc a.active,
.sidebar-toc__link.active {
    color: var(--accent);
    font-weight: 600;
    padding-left: 6px;
}

/* --- Ficha E-E-A-T Medica --- */
.sidebar-eeat {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
}
.sidebar-eeat__header {
    padding: 16px 20px 14px;
    background: linear-gradient(135deg, rgba(13,148,136,0.06) 0%, rgba(13,148,136,0.02) 100%);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.2px;
    color: var(--accent);
}
.sidebar-eeat__header svg { width: 15px; height: 15px; flex-shrink: 0; }
.sidebar-eeat__doctor {
    padding: 20px;
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.sidebar-eeat__photo {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--bg-secondary);
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.sidebar-eeat__info { flex: 1; min-width: 0; }
.sidebar-eeat__name {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.3;
    margin-bottom: 2px;
}
.sidebar-eeat__title {
    font-size: 12px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 4px;
}
.sidebar-eeat__colegiado {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    color: var(--text-muted);
    background: var(--bg-secondary);
    border-radius: 50px;
    padding: 2px 10px;
}
.sidebar-eeat__colegiado svg { width: 11px; height: 11px; color: var(--accent); }
.sidebar-eeat__bio {
    padding: 0 20px;
    font-size: 12px;
    line-height: 1.5;
    color: var(--text-muted);
    margin-bottom: 16px;
    max-width: 280px;
}
.sidebar-eeat__footer {
    padding: 0 20px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.sidebar-eeat__link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    font-weight: 600;
    color: var(--accent);
}
.sidebar-eeat__link svg { width: 14px; height: 14px; transition: transform 0.2s ease; }
.sidebar-eeat__link:hover svg { transform: translateX(3px); }
.sidebar-eeat__verified {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 11px;
    font-weight: 600;
    color: #16A34A;
}
.sidebar-eeat__verified svg { width: 13px; height: 13px; }

/* --- Sidebar Author --- */
.sidebar-author { text-align: center; }
.sidebar-author__avatar {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: rgba(13,148,136,0.08);
    border: 2px solid var(--accent);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent);
    font-size: 1.5rem;
    font-weight: 700;
    overflow: hidden;
}
.sidebar-author__name {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.sidebar-author__role {
    font-size: 0.8rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
    margin-bottom: 10px;
}
.sidebar-author__bio {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* --- Sidebar Form (contacto) --- */
.sidebar-form {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.07), 0 0 0 1px rgba(0,0,0,0.04);
    position: relative;
    margin-bottom: 16px;
}
.sidebar-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #38bdf8);
    z-index: 1;
}
.sidebar-form__header {
    padding: 20px 22px 14px;
    text-align: center;
    background: linear-gradient(180deg, rgba(13,148,136,0.04) 0%, transparent 100%);
    border-bottom: 1px solid var(--border);
}
.sidebar-form__badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(13,148,136,0.08);
    border: 1px solid rgba(13,148,136,0.15);
    padding: 3px 12px;
    border-radius: 50px;
    margin-bottom: 8px;
}
.sidebar-form__title {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.sidebar-form__trust {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-size: 12px;
    color: var(--text-muted);
}
.sidebar-form__stars { color: #FBBF24; letter-spacing: 1px; }
.sidebar-form__body,
.sidebar-form__form {
    padding: 18px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.sidebar-form__field input[type="text"],
.sidebar-form__field input[type="tel"],
.sidebar-form__field input[type="email"],
.sidebar-form__field select,
.sidebar-form__field textarea {
    width: 100%;
    padding: 10px 14px;
    background: #F9FAFB;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text-primary);
    font-size: 0.9rem;
    font-family: inherit;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
    box-sizing: border-box;
}
.sidebar-form__field input:focus,
.sidebar-form__field select:focus,
.sidebar-form__field textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.15);
}
.sidebar-form__field input::placeholder,
.sidebar-form__field textarea::placeholder { color: var(--text-muted); }
.sidebar-form__field textarea { resize: vertical; min-height: 60px; }
.sidebar-form__field-label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 6px;
}
.sidebar-form__field select {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2394a3b8' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 32px;
}
.sidebar-form__radios { display: flex; gap: 8px; }
.sidebar-form__radio {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 8px 10px;
    background: #F9FAFB;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    cursor: pointer;
    transition: border-color 0.2s ease, background 0.2s ease;
    font-size: 0.82rem;
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: 0;
}
.sidebar-form__radio:hover { border-color: var(--accent); }
.sidebar-form__radio input[type="radio"] {
    width: auto;
    margin: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.sidebar-form__radio:has(input:checked) {
    border-color: var(--accent);
    background: rgba(13,148,136,0.06);
}
.sidebar-form__privacy { margin-top: -2px; }
.sidebar-form__checkbox {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.76rem;
    line-height: 1.4;
    color: var(--text-muted);
    cursor: pointer;
}
.sidebar-form__checkbox input[type="checkbox"] {
    width: auto;
    margin-top: 2px;
    flex-shrink: 0;
    accent-color: var(--accent);
    cursor: pointer;
}
.sidebar-form__checkbox a { color: var(--accent); text-decoration: underline; }
.sidebar-form__submit {
    width: 100%;
    padding: 14px;
    font-size: 0.95rem;
    font-weight: 700;
    border: none;
    cursor: pointer;
    border-radius: 50px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.sidebar-form__submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 28px rgba(13,148,136,0.25);
}
.sidebar-form__note {
    text-align: center;
    font-size: 0.73rem;
    color: var(--text-muted);
    margin: -2px 0 0;
}

/* --- Sidebar Promo Widget --- */
.sidebar-promo-widget {
    background: linear-gradient(135deg, var(--accent) 0%, var(--accent-hover) 100%);
    border: none;
    color: var(--white);
    text-align: center;
    padding: 28px 24px;
}
.sidebar-promo-badge {
    display: inline-block;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    background: rgba(255,255,255,0.2);
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.sidebar-promo-widget h4 {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
}
.sidebar-promo-widget p {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.8);
    line-height: 1.5;
    margin-bottom: 16px;
}
.sidebar-promo-widget .btn-primary {
    background: var(--white);
    color: var(--accent);
    border-color: var(--white);
}
.sidebar-promo-widget .btn-primary:hover {
    background: #F0FDFA;
    box-shadow: 0 4px 16px rgba(0,0,0,0.15);
}

/* --- Sidebar Categories --- */
.sidebar-categories__title {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 14px;
}
.sidebar-categories__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}
.sidebar-categories__item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    font-size: 0.85rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}
.sidebar-categories__item:hover { color: var(--accent); }
.sidebar-categories__count {
    font-size: 0.75rem;
    background: var(--bg-secondary);
    padding: 2px 10px;
    border-radius: 50px;
    color: var(--text-muted);
}

/* --- Articulos recientes --- */
.sidebar-recent {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
}
.sidebar-recent__title {
    padding: 16px 20px 14px;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
    border-bottom: 1px solid var(--border);
    display: flex;
    align-items: center;
    gap: 8px;
}
.sidebar-recent__title svg { width: 16px; height: 16px; color: var(--accent); }
.sidebar-recent__list { padding: 6px 0; }
.sidebar-recent__item {
    display: flex;
    gap: 12px;
    align-items: center;
    padding: 12px 20px;
    border-bottom: 1px solid rgba(0,0,0,0.04);
    transition: background 0.2s ease;
}
.sidebar-recent__item:last-child { border-bottom: none; }
.sidebar-recent__item:hover { background: var(--bg-secondary); }
.sidebar-recent__thumb {
    width: 56px;
    height: 56px;
    border-radius: 10px;
    object-fit: cover;
    flex-shrink: 0;
}
.sidebar-recent__info { flex: 1; min-width: 0; }
.sidebar-recent__item-title {
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.35;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.sidebar-recent__item:hover .sidebar-recent__item-title { color: var(--accent); }
.sidebar-recent__meta,
.sidebar-recent__date {
    font-size: 11px;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
}
.sidebar-recent__meta svg { width: 12px; height: 12px; opacity: 0.5; }


/* ====================================================================
   10. CONTENT STYLES (Gutenberg: h2, h3, p, ul, ol, blockquote, table, FAQ, bibliography)
   ==================================================================== */

/* Reading Progress Bar */
.reading-progress {
    position: fixed;
    top: 0;
    left: 0;
    height: 3px;
    background: var(--accent);
    z-index: 1002;
    width: 0%;
    transition: width 0.1s linear;
}

/* Article content area */
.article-content { padding: 0; }
.article-content h2 {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
    margin-top: 48px;
    margin-bottom: 24px;
    line-height: 1.3;
    color: var(--text-primary);
    scroll-margin-top: 100px;
}
.article-content h3 {
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 16px;
    margin-top: 32px;
    color: var(--text-primary);
}
.article-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
    font-size: 17px;
}
.article-content strong { color: var(--text-primary); font-weight: 600; }
.article-content a {
    color: var(--accent);
    text-decoration: underline;
    text-underline-offset: 3px;
}
.article-content a:hover { color: var(--accent-hover); }

/* Content preview (from hero-c) */
.content-preview h2 {
    font-size: clamp(1.4rem, 3vw, 1.8rem);
    font-weight: 700;
    margin-bottom: 16px;
}
.content-preview p {
    font-size: 17px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 16px;
}
.content-preview ul li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 1.7;
}
.content-preview ul li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    width: 18px;
    height: 18px;
    background: var(--accent-light);
    border-radius: 50%;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%230D9488' stroke-width='3'%3E%3Cpath d='M20 6L9 17l-5-5'/%3E%3C/svg%3E");
    background-size: 12px;
    background-position: center;
    background-repeat: no-repeat;
}

/* Lists */
.article-content ul,
.article-content ol {
    padding-left: 0;
    list-style: none;
    margin-bottom: 20px;
}
.article-content ul li {
    position: relative;
    padding-left: 24px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
}
.article-content ul li::before {
    content: "\2713";
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: 700;
}
.article-content ol { counter-reset: ol-counter; }
.article-content ol li {
    position: relative;
    padding-left: 32px;
    margin-bottom: 12px;
    color: var(--text-secondary);
    font-size: 17px;
    line-height: 1.7;
    counter-increment: ol-counter;
}
.article-content ol li::before {
    content: counter(ol-counter) ".";
    position: absolute;
    left: 0;
    font-weight: 700;
    color: var(--accent);
    font-size: 0.95rem;
}

/* Blockquote */
.article-content blockquote {
    border-left: 3px solid var(--accent);
    padding-left: 20px;
    margin: 24px 0;
    font-style: italic;
    color: var(--text-secondary);
}

/* Tables */
.article-content .wp-block-table {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
}
.article-content table {
    width: 100%;
    min-width: 500px;
    border-collapse: collapse;
    font-size: 0.93rem;
    border-radius: var(--radius);
    border: 1px solid var(--border);
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin: 24px 0;
}
.article-content th,
.article-content td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border);
    text-align: left;
    line-height: 1.5;
    vertical-align: top;
}
.article-content th {
    background: #F0FDFA;
    color: var(--text-primary);
    font-weight: 700;
    font-size: 0.88rem;
}
.article-content td { color: var(--text-secondary); }
.article-content td:first-child {
    font-weight: 700;
    color: var(--text-primary);
    font-size: 0.88rem;
}
.article-content tbody tr:last-child td { border-bottom: none; }
.article-content tbody tr:hover { background: rgba(13,148,136,0.03); }

/* Separator */
.article-content .wp-block-separator {
    border: none;
    height: 1px;
    background: var(--border);
    margin: 20px 0;
}

/* FAQ / Details */
.article-content details {
    background: #F9FAFB;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    margin-bottom: 8px;
    overflow: hidden;
}
.article-content details summary {
    padding: 18px 24px;
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    list-style: none;
}
.article-content details summary::-webkit-details-marker { display: none; }
.article-content details summary::after {
    content: "+";
    font-size: 1.2rem;
    color: var(--text-muted);
    transition: transform 0.2s ease;
    flex-shrink: 0;
}
.article-content details[open] summary::after { content: "\2212"; }
.article-content details[open] summary { border-bottom: 1px solid var(--border); }
.article-content details > p,
.article-content details > .wp-block-paragraph {
    padding: 18px 24px;
    font-size: 0.9rem;
}

/* Bibliografia */
.article-content details.bibliografia-section {
    background: rgba(0,0,0,0.02);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 20px 24px;
    margin-top: 40px;
}
.article-content details.bibliografia-section summary {
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 0;
    margin-bottom: 12px;
    cursor: default;
    pointer-events: none;
    border: none;
}
.article-content details.bibliografia-section summary::after { display: none; }
.article-content details.bibliografia-section[open] summary { border-bottom: none; }
.article-content details.bibliografia-section > p {
    padding: 0;
    font-size: 0.72rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-bottom: 4px;
}

/* Tags & Share */
.article-tags-share {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
    margin: 40px 0;
}
.article-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}
.article-tags__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 4px;
}
.article-tag {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 500;
    color: var(--text-secondary);
    background: var(--bg-secondary);
    padding: 5px 14px;
    border-radius: 50px;
    transition: color 0.2s ease, background 0.2s ease;
}
.article-tag:hover {
    color: var(--accent);
    background: rgba(13,148,136,0.08);
}
.article-share {
    display: flex;
    gap: 8px;
    align-items: center;
}
.article-share__label {
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-right: 4px;
}
.article-share__link {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
}
.article-share__link svg { width: 16px; height: 16px; }
.article-share__link:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: rgba(13,148,136,0.04);
}

/* Related Posts */
.related-posts {
    padding: 80px 0;
    background: var(--bg-secondary);
}
.related-posts__header {
    text-align: center;
    margin-bottom: 48px;
}
.related-posts__tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 12px;
    position: relative;
    padding-left: 44px;
}
.related-posts__tag::before {
    content: '';
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 30px;
    height: 2px;
    background: var(--accent);
}
.related-posts__title {
    font-size: clamp(1.3rem, 2.5vw, 1.6rem);
    font-weight: 700;
    color: var(--text-primary);
}
.related-posts__grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}
.related-post-card {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 14px;
    overflow: hidden;
    text-decoration: none;
    transition: transform 0.25s, border-color 0.25s, box-shadow 0.25s;
    box-shadow: 0 2px 12px rgba(0,0,0,0.04);
}
.related-post-card:hover {
    transform: translateY(-4px);
    border-color: rgba(13,148,136,0.25);
    box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}
.related-post-card__image {
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.8rem;
}
.related-post-card__content { padding: 20px; }
.related-post-card__cat {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent);
    margin-bottom: 8px;
}
.related-post-card__title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    margin: 0 0 10px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.related-post-card__date {
    font-size: 0.75rem;
    color: var(--text-muted);
}


/* ====================================================================
   11. INLINE CTAs (lateral, highlight, final)
   ==================================================================== */
.inline-cta {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(13,148,136,0.06);
    border-left: 3px solid var(--accent);
    border-radius: 0 var(--radius) var(--radius) 0;
    padding: 24px 28px;
    margin: 32px 0;
}
.inline-cta__icon { flex-shrink: 0; color: var(--accent); }
.inline-cta__icon svg { width: 32px; height: 32px; }
.inline-cta__text { flex: 1; }
.inline-cta__text strong {
    display: block;
    color: var(--text-primary);
    font-size: 16px;
    margin-bottom: 4px;
}
.inline-cta__text span {
    color: var(--text-secondary);
    font-size: 14px;
}
.inline-cta .btn { flex-shrink: 0; }

/* Highlight variant */
.inline-cta--highlight {
    flex-direction: column;
    text-align: center;
    align-items: center;
    background: var(--bg-primary);
    border-left: none;
    border-top: 3px solid var(--accent);
    border-radius: var(--radius);
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
    padding: 32px;
}
.inline-cta__badge {
    display: inline-block;
    background: rgba(13,148,136,0.12);
    color: var(--accent);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 4px 14px;
    border-radius: 50px;
    margin-bottom: 12px;
}
.inline-cta__title {
    font-size: 22px;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.inline-cta__desc {
    color: var(--text-secondary);
    font-size: 15px;
    margin-bottom: 20px;
    max-width: 500px;
}
.inline-cta__buttons {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Final CTA variant */
.inline-cta--final {
    flex-direction: column;
    text-align: center;
    align-items: center;
    background: var(--accent);
    border-left: none;
    border-radius: var(--radius);
    padding: 48px 32px;
}
.inline-cta--final h3 {
    color: var(--white);
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 12px;
}
.inline-cta--final p {
    color: rgba(255,255,255,0.8);
    margin-bottom: 24px;
    font-size: 15px;
}
.inline-cta--final .btn-primary {
    background: var(--white);
    color: var(--accent);
    border-color: var(--white);
}
.inline-cta--final .btn-primary:hover {
    background: #F0FDFA;
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0,0,0,0.15);
}
.inline-cta--final .inline-cta__note {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin-top: 12px;
    display: block;
}


/* ====================================================================
   12. PREGUNTA AL DOCTOR (Q&A section)
   ==================================================================== */
.qa-section {
    background: var(--bg-secondary);
    padding: 64px 0 72px;
    border-top: 1px solid var(--border);
}
.qa-header { text-align: center; margin-bottom: 40px; }
.qa-header__badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: var(--accent);
    background: rgba(13,148,136,0.08);
    border: 1px solid rgba(13,148,136,0.15);
    padding: 5px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}
.qa-header__badge svg { width: 14px; height: 14px; }
.qa-header__title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 8px;
}
.qa-header__desc {
    font-size: 15px;
    color: var(--text-secondary);
    max-width: 560px;
    margin: 0 auto 20px;
    line-height: 1.6;
}
.qa-header__pills {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}
.qa-header__pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 12px;
    font-weight: 500;
    color: var(--text-muted);
    background: var(--white);
    border: 1px solid var(--border);
    padding: 5px 14px;
    border-radius: 50px;
}
.qa-header__pill svg { width: 13px; height: 13px; color: var(--accent); }

/* Q&A Layout */
.qa-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 32px;
    align-items: start;
}

/* Lista de Q&A */
.qa-list { display: flex; flex-direction: column; gap: 10px; }
.qa-item {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.qa-item--answered { border-left: 3px solid var(--accent); }
.qa-item:hover { box-shadow: 0 2px 12px rgba(0,0,0,0.04); }

/* Toggle */
.qa-item__toggle {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    padding: 16px 18px;
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font);
    text-align: left;
}
.qa-item__icon {
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13,148,136,0.08);
    color: var(--accent);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 800;
    flex-shrink: 0;
}
.qa-item__preview {
    flex: 1;
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.qa-item__badge {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--accent);
    background: rgba(13,148,136,0.08);
    padding: 3px 10px;
    border-radius: 50px;
    flex-shrink: 0;
}
.qa-item__chevron {
    width: 18px;
    height: 18px;
    color: var(--text-muted);
    flex-shrink: 0;
    transition: transform 0.3s ease;
}
.qa-item--open .qa-item__chevron { transform: rotate(180deg); }

/* Body colapsable */
.qa-item__body {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}
.qa-item--open .qa-item__body { max-height: 600px; }
.qa-item__question {
    padding: 0 18px 16px;
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
    border-bottom: 1px solid rgba(0,0,0,0.04);
}
.qa-item__question-meta {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 8px;
}
.qa-item__question-meta svg { width: 13px; height: 13px; opacity: 0.5; }

/* Respuesta del doctor */
.qa-item__answer {
    margin: 14px 18px 18px;
    padding: 16px 18px;
    background: rgba(13,148,136,0.03);
    border-left: 3px solid var(--accent);
    border-radius: 0 10px 10px 0;
}
.qa-item__answer-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}
.qa-item__answer-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(13,148,136,0.2);
}
.qa-item__answer-name {
    font-size: 13px;
    font-weight: 700;
    color: var(--accent);
}
.qa-item__answer-check {
    width: 14px;
    height: 14px;
    color: #16A34A;
    flex-shrink: 0;
}
.qa-item__answer-text {
    font-size: 14px;
    line-height: 1.7;
    color: var(--text-secondary);
}

/* Estado vacio */
.qa-empty {
    text-align: center;
    padding: 40px 24px;
    background: var(--white);
    border: 1px dashed var(--border);
    border-radius: 12px;
}
.qa-empty__icon { font-size: 40px; margin-bottom: 12px; opacity: 0.4; }
.qa-empty__text { font-size: 14px; color: var(--text-muted); }

/* Formulario Q&A */
.qa-form {
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    position: sticky;
    top: 90px;
    box-shadow: 0 4px 24px rgba(0,0,0,0.06);
}
.qa-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--accent), #38bdf8);
    z-index: 1;
}
.qa-form__header {
    padding: 20px 22px 16px;
    border-bottom: 1px solid var(--border);
    position: relative;
}
.qa-form__title {
    font-size: 1rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}
.qa-form__subtitle {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.4;
}
.qa-form__body {
    padding: 18px 22px 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.qa-form__field input,
.qa-form__field textarea {
    width: 100%;
    padding: 11px 14px;
    background: #F9FAFB;
    border: 1px solid var(--border);
    border-radius: 10px;
    font-family: var(--font);
    font-size: 14px;
    color: var(--text-primary);
    outline: none;
    resize: vertical;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.qa-form__field input::placeholder,
.qa-form__field textarea::placeholder { color: var(--text-muted); }
.qa-form__field input:focus,
.qa-form__field textarea:focus {
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(13,148,136,0.1);
}
.qa-form__field textarea { min-height: 100px; }

/* Check contacto privado */
.qa-form__private-check {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(13,148,136,0.04);
    border: 1px solid rgba(13,148,136,0.12);
    border-radius: 10px;
    cursor: pointer;
}
.qa-form__private-check input {
    width: 15px;
    height: 15px;
    accent-color: var(--accent);
    cursor: pointer;
    flex-shrink: 0;
}
.qa-form__private-check span {
    font-size: 12px;
    font-weight: 500;
    color: var(--text-primary);
    line-height: 1.3;
}

/* Campos privados (ocultos por defecto) */
.qa-form__private-fields {
    display: none;
    flex-direction: column;
    gap: 8px;
    padding: 12px 14px;
    background: rgba(13,148,136,0.03);
    border: 1px solid rgba(13,148,136,0.08);
    border-radius: 10px;
}
.qa-form__private-fields.visible { display: flex; }

.qa-form__submit {
    width: 100%;
    padding: 13px;
    background: var(--accent);
    color: var(--white);
    border: none;
    border-radius: 50px;
    font-family: var(--font);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.qa-form__submit:hover {
    background: var(--accent-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(13,148,136,0.25);
}
.qa-form__note {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    font-size: 11px;
    color: var(--text-muted);
    text-align: center;
}
.qa-form__note svg { width: 12px; height: 12px; opacity: 0.5; }


/* ====================================================================
   13. FLOATING CTA BAR
   ==================================================================== */
.floating-cta-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 999;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -4px 20px rgba(0,0,0,0.08);
    padding: 12px 0;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
.floating-cta-bar.visible { transform: translateY(0); }
.floating-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.floating-cta-inner > span {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-primary);
}
.floating-cta-buttons { display: flex; gap: 10px; }

/* Back to top — estilos base en styles.css */


/* ====================================================================
   14. RESPONSIVE (992px, 768px, 600px)
   ==================================================================== */

/* --- 1024px --- */
@media (max-width: 1024px) {
    .blog-layout__grid {
        grid-template-columns: 1fr 340px;
        gap: 32px;
    }
    .hero-c__grid {
        grid-template-columns: 1fr 320px;
        gap: 32px;
    }
}

/* --- 992px --- */
@media (max-width: 992px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    .article-card--featured { grid-template-columns: 1fr; }
    .article-card--featured .article-card__image { min-height: 220px; }
    .article-card--featured .article-card__body { padding: 28px 24px; }
    .article-card--featured .article-card__title { font-size: 1.3rem; }

    .blog-layout__grid { grid-template-columns: 1fr; }
    .blog-layout__sidebar { position: static; }

    .hero-c__grid { grid-template-columns: 1fr; }
    .hero-form { display: none; }
    .hero-mobile-cta { display: block; }

    .content-preview__inner { grid-template-columns: 1fr; }
    .sidebar-preview { position: static; }

    .qa-layout { grid-template-columns: 1fr; }
    .qa-form { position: static; }

    .related-posts__grid { grid-template-columns: repeat(2, 1fr); }
}

/* --- 768px --- */
@media (max-width: 768px) {
    .blog-hero { padding: 110px 0 40px; }
    .blog-hero__title { font-size: 1.8rem; }

    .single-hero { min-height: auto; padding: 100px 0 48px; }
    .single-hero__title { font-size: 1.8rem; }
    .single-hero__review-badge { font-size: 0.7rem; padding: 5px 12px; }
    .single-hero__meta { font-size: 0.68rem; gap: 8px; margin-top: 6px; }

    .hero-c {
        padding: 80px 0 0;
        min-height: 50svh;
        display: flex;
        flex-direction: column;
        justify-content: flex-end;
    }
    .hero-c__overlay {
        background: linear-gradient(180deg,
            rgba(20,20,40,0.45) 0%,
            rgba(20,20,40,0.1) 10%,
            rgba(255,255,255,0.3) 25%,
            rgba(255,255,255,0.7) 50%,
            rgba(255,255,255,0.93) 75%,
            #FFFFFF 100%
        );
        backdrop-filter: blur(1px);
        -webkit-backdrop-filter: blur(1px);
    }
    .hero-c__content { padding: 0 0 24px; }
    .hero-c__title { font-size: clamp(2rem, 7.5vw, 2.6rem); letter-spacing: -0.03em; }
    .hero-c .breadcrumbs { font-size: 12px; margin-bottom: 12px; }
    .cat-badge { font-size: 10px; padding: 4px 12px; margin-bottom: 12px; }
    .hero-meta { gap: 8px; margin-top: 10px; }
    .hero-meta-item { font-size: 12px; }

    .eeat { padding: 10px 14px; gap: 4px; background: rgba(255,255,255,0.85); border-radius: 10px; }
    .eeat__review { font-size: 11px; gap: 5px; }
    .eeat__review svg { width: 14px; height: 14px; }
    .eeat__dates { gap: 2px; font-size: 10px; flex-direction: column; }

    .hero-mobile-cta .btn {
        width: 100%;
        justify-content: center;
        padding: 16px 32px;
        font-size: 16px;
        font-weight: 700;
        box-shadow: 0 4px 20px rgba(13,148,136,0.3);
    }

    .blog-grid { grid-template-columns: 1fr; gap: 20px; }
    .article-card--featured .article-card__image { min-height: 200px; }
    .article-card--featured .article-card__body { padding: 24px 20px; }
    .article-card--featured .article-card__title { font-size: 1.2rem; }

    .blog-layout { padding: 40px 0; }

    .blog-cta__card { padding: 40px 24px; }
    .blog-cta__actions .btn { width: 100%; font-size: 15px; padding: 15px 32px; }

    .article-tags-share { flex-direction: column; gap: 16px; align-items: flex-start; }

    .article-content table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    .article-content th,
    .article-content td {
        padding: 12px 14px;
        font-size: 0.82rem;
    }

    .inline-cta {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    .inline-cta .btn { width: 100%; }
    .inline-cta__text { text-align: center; }

    .floating-cta-inner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    .floating-cta-buttons { width: 100%; }
    .floating-cta-buttons .btn { flex: 1; }
}

/* --- 600px / 480px --- */
@media (max-width: 600px) {
    .related-posts__grid { grid-template-columns: 1fr; gap: 16px; }

    .cta-section__buttons { flex-direction: column; align-items: center; }

    .inline-cta--highlight { padding: 24px 20px; }
    .inline-cta--final { padding: 36px 20px; }
    .inline-cta__buttons { flex-direction: column; width: 100%; }
    .inline-cta__buttons .btn { width: 100%; }

    .floating-cta-inner > span { font-size: 0.82rem; }

    .qa-header__pills { gap: 6px; }
    .qa-header__pill { font-size: 11px; padding: 4px 10px; }
}


/* ====================================================================
   15. ANIMATIONS
   ==================================================================== */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Blog listing animations */
.blog-hero__breadcrumbs,
.blog-hero__title,
.blog-hero__subtitle {
    animation: fadeInUp 0.6s ease both;
}
.blog-hero__title { animation-delay: 0.1s; }
.blog-hero__subtitle { animation-delay: 0.2s; }

.article-card {
    animation: fadeInUp 0.5s ease both;
}
.article-card:nth-child(1) { animation-delay: 0.1s; }
.article-card:nth-child(2) { animation-delay: 0.15s; }
.article-card:nth-child(3) { animation-delay: 0.2s; }
.article-card:nth-child(4) { animation-delay: 0.25s; }
.article-card:nth-child(5) { animation-delay: 0.3s; }
.article-card:nth-child(6) { animation-delay: 0.35s; }
.article-card:nth-child(7) { animation-delay: 0.4s; }
