/* ── BLOG AFIRMA RADIO ─────────────────────────────────────────────── */
.blog-hero {
    padding: 9rem 4rem 3.5rem;
    max-width: 1240px;
    margin: 0 auto;
    text-align: center;
}

.blog-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 5vw, 4rem);
    font-weight: 900;
    line-height: 1.08;
    margin-bottom: 1rem;
}

.blog-hero h1 span {
    background: linear-gradient(90deg, var(--accent-cyan), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.blog-hero-sub {
    color: var(--text-muted);
    max-width: 680px;
    margin: 0 auto 2.2rem;
    font-size: 1.05rem;
}

/* Filtros y Buscador */
.blog-controls {
    max-width: 1240px;
    margin: 0 auto 3rem;
    padding: 0 4rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.6rem;
}

.blog-filter-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-muted);
    padding: 0.55rem 1.15rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.88rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.blog-filter-btn:hover,
.blog-filter-btn.active {
    background: rgba(0, 229, 255, 0.14);
    border-color: var(--accent-cyan);
    color: var(--text-main);
}

.blog-search-wrap {
    position: relative;
    min-width: 260px;
    flex: 0 1 320px;
}

.blog-search-input {
    width: 100%;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-main);
    padding: 0.65rem 1rem 0.65rem 2.5rem;
    border-radius: 999px;
    font-family: var(--font-body);
    font-size: 0.9rem;
    outline: none;
    transition: border-color 0.25s ease;
}

.blog-search-input:focus {
    border-color: var(--accent-cyan);
}

.blog-search-icon {
    position: absolute;
    left: 0.95rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

/* Contenedor principal */
.blog-main {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 4rem 5rem;
}

/* Artículo Destacado */
.blog-featured {
    display: grid;
    grid-template-columns: 1.15fr 1fr;
    gap: 2.2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 3.5rem;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-featured:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 229, 255, 0.4);
}

.blog-featured-img {
    width: 100%;
    height: 100%;
    min-height: 320px;
    max-height: 420px;
    object-fit: cover;
    display: block;
}

.blog-featured-body {
    padding: 2.2rem 2.2rem 2.2rem 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.blog-badge-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.blog-cat-pill {
    display: inline-block;
    padding: 0.3rem 0.85rem;
    border-radius: 999px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    background: rgba(0, 229, 255, 0.14);
    color: var(--accent-cyan);
    border: 1px solid rgba(0, 229, 255, 0.3);
}

.blog-meta-text {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.blog-featured-body h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 2.5vw, 2.15rem);
    line-height: 1.2;
    margin-bottom: 1rem;
}

.blog-featured-body p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 0.98rem;
}

.blog-read-more {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
}

/* Grid de artículos */
.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.8rem;
}

.blog-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 229, 255, 0.4);
}

.blog-card-img-wrap {
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: #0d0d12;
}

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

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

.blog-video-tag {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(5, 5, 7, 0.82);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #fff;
    padding: 0.25rem 0.65rem;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 600;
}

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

.blog-card-body h3 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    line-height: 1.3;
    margin-bottom: 0.65rem;
}

.blog-card-excerpt {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.55;
    margin-bottom: 1.2rem;
    flex: 1;
}

.blog-card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 0.9rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.82rem;
    color: var(--text-muted);
}

.blog-empty {
    text-align: center;
    padding: 4rem 1rem;
    color: var(--text-muted);
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* ── ARTÍCULO INDIVIDUAL ───────────────────────────────────────────── */
.article-shell {
    max-width: 880px;
    margin: 0 auto;
    padding: 8.5rem 2rem 5rem;
}

.article-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.article-breadcrumb a:hover {
    color: var(--accent-cyan);
}

.article-header h1 {
    font-family: var(--font-display);
    font-size: clamp(1.9rem, 4vw, 3rem);
    font-weight: 900;
    line-height: 1.15;
    margin-bottom: 1rem;
}

.article-lead {
    font-size: 1.12rem;
    color: var(--text-muted);
    line-height: 1.65;
    margin-bottom: 1.5rem;
}

.article-meta-bar {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;
    border-top: 1px solid var(--glass-border);
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    font-size: 0.88rem;
    color: var(--text-muted);
}

.article-cover {
    width: 100%;
    max-height: 480px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    margin-bottom: 2rem;
    display: block;
}

/* Barra de compartir */
.share-box {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 18px;
    padding: 1.2rem 1.4rem;
    margin: 2rem 0;
}

.share-box-title {
    font-family: var(--font-display);
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-cyan);
    margin-bottom: 0.85rem;
    display: block;
}

.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    border: 1px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.04);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 0.84rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.25s ease;
}

.share-btn:hover {
    border-color: var(--accent-cyan);
    background: rgba(0, 229, 255, 0.12);
}

.share-btn--wa {
    background: rgba(37, 211, 102, 0.14);
    border-color: rgba(37, 211, 102, 0.4);
    color: #7dffaa;
}

.share-btn--wa:hover {
    background: rgba(37, 211, 102, 0.25);
    border-color: #25D366;
}

.share-btn--story {
    background: rgba(112, 0, 255, 0.18);
    border-color: rgba(112, 0, 255, 0.5);
}

.share-feedback {
    margin-top: 0.65rem;
    font-size: 0.82rem;
    color: var(--accent-cyan);
    min-height: 1.2em;
}

/* Contenido del artículo */
.article-content {
    font-size: 1.05rem;
    line-height: 1.82;
    color: #e4e4e7;
}

.article-content h2 {
    font-family: var(--font-display);
    font-size: 1.5rem;
    margin: 2.2rem 0 0.9rem;
    color: var(--text-main);
}

.article-content h3 {
    font-family: var(--font-display);
    font-size: 1.2rem;
    margin: 1.6rem 0 0.7rem;
    color: var(--accent-cyan);
}

.article-content p {
    margin-bottom: 1.25rem;
}

.article-content ul {
    margin: 1rem 0 1.4rem 1.4rem;
}

.article-content li {
    margin-bottom: 0.55rem;
}

.article-content a {
    color: var(--accent-cyan);
    text-decoration: underline !important;
}

.article-content img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    margin: 1.5rem 0;
    border: 1px solid var(--glass-border);
    display: block;
}

.article-content blockquote {
    border-left: 3px solid var(--accent-cyan);
    padding: 0.85rem 1.25rem;
    margin: 1.5rem 0;
    background: rgba(0, 229, 255, 0.06);
    border-radius: 0 12px 12px 0;
    color: #f4f4f5;
    font-style: italic;
}

/* Video embebido */
.article-video-wrap {
    margin: 2.2rem 0;
    border-radius: 18px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    background: #0a0a0f;
}

.article-video-16x9 {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.article-video-16x9 iframe,
.article-video-16x9 video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.article-video-vertical {
    display: flex;
    justify-content: center;
    padding: 1.2rem;
}

.article-video-vertical iframe {
    width: 100%;
    max-width: 380px;
    height: 580px;
    border: 0;
    border-radius: 12px;
}

.article-video-link-card {
    padding: 1.4rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Galería extra */
.article-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1rem;
    margin: 2rem 0;
}

.article-gallery img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border-radius: 14px;
    border: 1px solid var(--glass-border);
}

/* Tarjeta Locutor/Programa relacionado */
.article-related-speaker {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1.2rem;
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.08), rgba(112, 0, 255, 0.08));
    border: 1px solid rgba(0, 229, 255, 0.25);
    border-radius: 20px;
    padding: 1.6rem;
    margin: 2.5rem 0;
}

.article-related-speaker h4 {
    font-family: var(--font-display);
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}

.article-related-speaker p {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.article-related-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.btn-blog-outline {
    padding: 0.6rem 1.2rem;
    border-radius: 999px;
    border: 1px solid var(--accent-cyan);
    color: var(--accent-cyan);
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-blog-outline:hover {
    background: var(--accent-cyan);
    color: #050507;
}

/* Responsive */
@media (max-width: 1024px) {
    .blog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .blog-featured {
        grid-template-columns: 1fr;
    }
    .blog-featured-body {
        padding: 1.6rem;
    }
}

@media (max-width: 768px) {
    .blog-hero,
    .blog-controls,
    .blog-main {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    .blog-hero {
        padding-top: 7.5rem;
    }
    .blog-grid {
        grid-template-columns: 1fr;
    }
    .article-shell {
        padding: 7rem 1.25rem 4rem;
    }
}
