/**
 * Blog C-onlineWeb — catálogo cinematográfico + lectura corporativa.
 */

/* ─── Base ─── */
body.blog-page {
    padding-top: 6rem;
    background: var(--deep-space);
}

.blog-particles {
    opacity: 0.65;
}

.blog-article-page .blog-particles--dim {
    opacity: 0.08;
}

.blog-article-page #particles-js {
    pointer-events: none;
}

/* ─── Breadcrumbs ─── */
.blog-breadcrumbs {
    position: relative;
    z-index: 25;
    width: 100%;
    box-sizing: border-box;
}

.blog-breadcrumbs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.35rem 0.5rem;
    list-style: none;
    margin: 0 auto;
    padding: 0 var(--cw-shell-pad-x, clamp(1rem, 4vw, 4%));
    max-width: var(--cw-shell-wide, 1540px);
    width: 100%;
    box-sizing: border-box;
    font-size: 0.82rem;
}

.blog-breadcrumbs-list li {
    display: inline-flex;
    align-items: center;
    color: rgba(255, 255, 255, 0.5);
}

.blog-breadcrumbs-list li:not(:last-child)::after {
    content: '/';
    margin-left: 0.5rem;
    color: rgba(255, 255, 255, 0.2);
}

.blog-breadcrumbs-list a {
    color: var(--neon-blue);
    text-decoration: none;
}

.blog-breadcrumbs-list a:hover {
    color: var(--matrix-green);
}

/* ─── Hub hero ─── */
.blog-hero {
    position: relative;
    z-index: 2;
    padding: 3rem 3rem 2rem;
    text-align: center;
    overflow: visible;
}

.blog-hero-inner {
    max-width: 900px;
    margin: 0 auto;
    overflow: visible;
}

/* Misma tipografía que el resto del sitio (hero-title / hero-subtitle) */
body.blog-hub-page .blog-hero .hero-title {
    margin: 0 auto 1rem;
    font-size: clamp(2.35rem, 5vw, 4rem);
    line-height: 1.25;
    padding: 0.08em 0 0.12em;
    max-width: 900px;
    overflow: visible;
}

body.blog-hub-page .blog-hero .hero-subtitle {
    max-width: 780px;
    margin: 0 auto 1.5rem;
    font-size: 1.2rem;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.82);
}

.blog-hero-stats {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-top: 1.5rem;
    font-size: 0.88rem;
    color: rgba(255, 255, 255, 0.55);
}

.blog-hero-stats i {
    color: var(--neon-blue);
    margin-right: 0.4rem;
}

/* ─── Toolbar ─── */
.blog-toolbar {
    position: relative;
    z-index: 2;
    padding: 0 3rem 2rem;
}

.blog-toolbar-inner {
    max-width: 1240px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-search-form {
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
    max-width: 100%;
}

.blog-search {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1.25rem;
    border-radius: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    max-width: 560px;
    width: 100%;
}

.blog-search:focus-within {
    border-color: var(--neon-blue);
    box-shadow: 0 0 0 3px rgba(0, 243, 255, 0.1);
}

.blog-search i {
    color: rgba(255, 255, 255, 0.4);
}

.blog-search input {
    flex: 1;
    border: none;
    background: transparent;
    color: #f0f0f5;
    font-size: 0.95rem;
    outline: none;
}

.blog-search input::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.blog-search-hint {
    margin: 0;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.45);
    max-width: 560px;
}

.blog-search-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    align-self: flex-start;
    padding: 0.4rem 0.85rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(255, 255, 255, 0.04);
    transition: border-color 0.2s ease, color 0.2s ease;
}

.blog-search-clear:hover {
    color: #fff;
    border-color: var(--neon-blue);
}

.blog-search-status {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.78);
    padding: 0.35rem 0;
}

.blog-search-status strong {
    color: var(--neon-blue);
    font-weight: 700;
}

.blog-card-cover-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.04), rgba(0, 0, 0, 0.2));
    border-bottom: 2px solid var(--cat-accent, var(--neon-blue));
}

.blog-card-cover-placeholder i {
    font-size: 2.25rem;
    color: var(--cat-accent, var(--neon-blue));
    opacity: 0.85;
}

.blog-card-cover--mini {
    display: block;
}

.blog-filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-filter-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    font-weight: 600;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
    transition: all 0.22s ease;
}

.blog-filter-pill:hover,
.blog-filter-pill.is-active {
    color: #fff;
    background: rgba(0, 243, 255, 0.1);
    border-color: rgba(0, 243, 255, 0.45);
}

/* ─── Hologram covers ─── */
.blog-holo {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, #0a0a12 0%, #12121c 50%, #0d0d16 100%);
    isolation: isolate;
}

.blog-holo--card {
    aspect-ratio: 16 / 9;
}

.blog-holo--hero {
    min-height: 220px;
    height: 100%;
}

.blog-holo--mini {
    aspect-ratio: 16 / 7;
}

.blog-holo-grid {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
    background-size: 24px 24px;
    mask-image: radial-gradient(ellipse 80% 70% at 50% 50%, #000 20%, transparent 75%);
    opacity: 0.7;
}

.blog-holo-scan {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.06) 48%, transparent 52%);
    animation: blogHoloScan 6s ease-in-out infinite;
    pointer-events: none;
}

@keyframes blogHoloScan {
    0%, 100% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    50% { transform: translateY(100%); opacity: 0.6; }
    60% { opacity: 0; }
}

.blog-holo-core {
    position: absolute;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, var(--holo-accent, #00f3ff) 0%, transparent 70%);
    opacity: 0.25;
    filter: blur(20px);
    animation: blogHoloPulse 4s ease-in-out infinite;
}

.blog-holo--mini .blog-holo-core {
    width: 80px;
    height: 80px;
}

@keyframes blogHoloPulse {
    0%, 100% { transform: scale(1); opacity: 0.2; }
    50% { transform: scale(1.15); opacity: 0.35; }
}

.blog-holo-ring {
    position: absolute;
    border-radius: 50%;
    border: 1px solid var(--holo-accent, #00f3ff);
    opacity: 0.35;
}

.blog-holo-ring--1 {
    width: 140px;
    height: 140px;
    animation: blogHoloSpin 12s linear infinite;
}

.blog-holo-ring--2 {
    width: 100px;
    height: 100px;
    animation: blogHoloSpin 8s linear infinite reverse;
    opacity: 0.25;
}

.blog-holo--mini .blog-holo-ring--1 { width: 90px; height: 90px; }
.blog-holo--mini .blog-holo-ring--2 { width: 60px; height: 60px; }

@keyframes blogHoloSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.blog-holo-icon {
    position: relative;
    z-index: 2;
    font-size: 2.75rem;
    color: var(--holo-accent, #00f3ff);
    text-shadow: 0 0 30px var(--holo-accent, #00f3ff);
    opacity: 0.85;
    transition: transform 0.35s ease, opacity 0.35s ease;
}

.blog-holo--hero .blog-holo-icon {
    font-size: 3.5rem;
}

.blog-holo--mini .blog-holo-icon {
    font-size: 1.75rem;
}

.blog-card:hover .blog-holo-icon {
    transform: scale(1.08);
    opacity: 1;
}

.blog-holo-label {
    position: absolute;
    bottom: 12px;
    left: 14px;
    z-index: 3;
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.45);
}

/* Category accents */
.blog-holo--desarrollo-web { --holo-accent: #00f3ff; }
.blog-holo--seo { --holo-accent: #00ff9d; }
.blog-holo--ecommerce { --holo-accent: #ff9f43; }
.blog-holo--software { --holo-accent: #b967ff; }
.blog-holo--inteligencia-artificial { --holo-accent: #ff2a6d; }
.blog-holo--marketing-digital { --holo-accent: #ffd166; }
.blog-holo--default { --holo-accent: #00f3ff; }

/* ─── Cards grid ─── */
.blog-listing {
    position: relative;
    z-index: 2;
    padding: 0 3rem 3rem;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.75rem;
    max-width: 1240px;
    margin: 0 auto;
}

.blog-card {
    display: flex;
    flex-direction: column;
    background: rgba(14, 14, 22, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--border-radius-card);
    overflow: hidden;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
}

.blog-card:hover {
    transform: translateY(-6px);
    border-color: rgba(0, 243, 255, 0.35);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(0, 243, 255, 0.08);
}

.blog-card.is-hidden {
    display: none;
}

.blog-card-cover-link {
    display: block;
    text-decoration: none;
}

.blog-card-body {
    display: flex;
    flex-direction: column;
    flex: 1;
    gap: 0.65rem;
    padding: 1.35rem 1.4rem 1.5rem;
}

.blog-card-category {
    display: inline-block;
    width: fit-content;
    padding: 0.22rem 0.7rem;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--neon-blue);
    background: rgba(0, 243, 255, 0.1);
    border: 1px solid rgba(0, 243, 255, 0.22);
    text-decoration: none;
    transition: background 0.2s ease;
}

.blog-card-category:hover {
    background: rgba(0, 243, 255, 0.18);
}

.blog-card-title {
    margin: 0;
    font-family: 'Inter', sans-serif;
    font-size: 1.08rem;
    font-weight: 700;
    line-height: 1.38;
}

.blog-card-title a {
    color: #f4f4f8;
    text-decoration: none;
    transition: color 0.2s ease;
}

.blog-card-title a:hover {
    color: var(--neon-blue);
}

.blog-card-excerpt {
    margin: 0;
    flex: 1;
    font-size: 0.88rem;
    line-height: 1.58;
    color: rgba(255, 255, 255, 0.62);
}

.blog-card-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.78rem;
    color: rgba(255, 255, 255, 0.42);
}

.blog-card-meta i {
    margin-right: 0.3rem;
    color: var(--neon-blue);
}

.blog-card-cta {
    margin-top: 0.35rem;
    width: fit-content;
    font-size: 0.85rem;
}

.blog-card--compact .blog-card-body {
    padding: 1.1rem 1.2rem 1.25rem;
}

.blog-empty {
    text-align: center;
    color: rgba(255, 255, 255, 0.55);
    padding: 3rem;
}

.blog-pagination {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.85rem;
    margin-top: 2.5rem;
}

.blog-pagination-summary {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.blog-pagination-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.blog-page-link {
    min-width: 40px;
    height: 40px;
    padding: 0 0.65rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(255, 255, 255, 0.03);
}

.blog-page-link--prev,
.blog-page-link--next {
    min-width: auto;
    padding: 0 1rem;
}

.blog-page-link--disabled {
    opacity: 0.35;
    pointer-events: none;
}

.blog-page-ellipsis {
    min-width: 28px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.4);
}

.blog-page-link.is-active,
.blog-page-link:hover {
    border-color: var(--neon-blue);
    color: #fff;
    background: rgba(0, 243, 255, 0.12);
}

/* ─── Lead banner (hub) ─── */
.blog-lead-banner {
    position: relative;
    z-index: 2;
    padding: 0 3rem 4rem;
}

.blog-lead-banner-inner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 2rem 2.5rem;
    border-radius: var(--border-radius-card);
    background: linear-gradient(135deg, rgba(0, 243, 255, 0.08) 0%, rgba(185, 103, 255, 0.08) 100%);
    border: 1px solid rgba(0, 243, 255, 0.2);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
}

.blog-lead-banner-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}

.blog-lead-banner-text p {
    margin: 0;
    color: rgba(255, 255, 255, 0.72);
    font-size: 0.95rem;
    max-width: 520px;
}

.blog-lead-banner-actions {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    align-items: flex-start;
}

.blog-lead-banner-link {
    color: var(--neon-blue);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.blog-lead-banner-link:hover {
    color: var(--matrix-green);
}

/* ═══ ARTICLE READ MODE ═══ */

.blog-single-hero {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 0 auto;
    padding: 1.5rem 3rem 0;
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    align-items: stretch;
}

.blog-single-hero-visual {
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.08);
    min-height: 200px;
}

.blog-single-hero-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0.5rem 0;
    overflow: visible;
    min-width: 0;
}

.blog-article-title {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.65rem, 3.5vw, 2.35rem);
    font-weight: 800;
    line-height: 1.35;
    margin: 0.65rem 0 1rem;
    padding: 0.05em 0;
    color: #ffffff;
    letter-spacing: -0.02em;
    overflow: visible;
    word-break: normal;
    overflow-wrap: break-word;
}

.blog-article-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1.25rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
}

.blog-article-meta i {
    margin-right: 0.35rem;
    color: var(--neon-blue);
}

/* Read layout */
.blog-read-layout {
    position: relative;
    z-index: 2;
    max-width: 1240px;
    margin: 2rem auto 0;
    padding: 0 3rem 3rem;
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 2.5rem;
    align-items: start;
}

.blog-read-sidebar {
    position: sticky;
    top: 7rem;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.blog-toc {
    padding: 1.25rem;
    border-radius: 14px;
    background: rgba(12, 12, 18, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.blog-toc-title {
    font-family: 'Inter', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: rgba(255, 255, 255, 0.45);
    margin: 0 0 0.85rem;
}

.blog-toc-list {
    list-style: none;
    margin: 0;
    padding: 0;
    counter-reset: toc;
}

.blog-toc-list li {
    counter-increment: toc;
    margin-bottom: 0.5rem;
}

.blog-toc-list a {
    display: block;
    padding: 0.4rem 0.5rem 0.4rem 0;
    font-size: 0.84rem;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.65);
    text-decoration: none;
    border-left: 2px solid transparent;
    padding-left: 0.75rem;
    transition: all 0.2s ease;
}

.blog-toc-list a:hover,
.blog-toc-list a.is-active {
    color: var(--neon-blue);
    border-left-color: var(--neon-blue);
}

.blog-sidebar-cta {
    padding: 1.35rem;
    border-radius: 14px;
    background: linear-gradient(160deg, rgba(0, 243, 255, 0.1) 0%, rgba(185, 103, 255, 0.12) 100%);
    border: 1px solid rgba(0, 243, 255, 0.22);
    text-align: center;
}

.blog-sidebar-cta-icon {
    width: 44px;
    height: 44px;
    margin: 0 auto 0.75rem;
    border-radius: 50%;
    background: rgba(0, 243, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--neon-blue);
    font-size: 1.1rem;
}

.blog-sidebar-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.5rem;
}

.blog-sidebar-cta p {
    font-size: 0.82rem;
    line-height: 1.5;
    color: rgba(255, 255, 255, 0.65);
    margin: 0 0 1rem;
}

.blog-sidebar-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.85rem;
}

.blog-sidebar-wa {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    margin-top: 0.75rem;
    font-size: 0.82rem;
    font-weight: 600;
    color: #25d366;
    text-decoration: none;
}

.blog-sidebar-wa:hover {
    color: #2ee66a;
}

/* Reading panel */
.blog-read-panel {
    padding: 2.25rem 2.5rem;
    border-radius: 18px;
    background: rgba(10, 10, 16, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
}

.blog-article-lead {
    font-size: 1.2rem;
    line-height: 1.7;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.88);
    margin: 0 0 2rem;
    padding-bottom: 1.75rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

/* Prose */
.prose-blog h2 {
    font-family: 'Inter', sans-serif;
    font-size: 1.35rem;
    font-weight: 700;
    color: #ffffff;
    margin: 2.5rem 0 1rem;
    line-height: 1.35;
    padding-left: 1rem;
    border-left: 3px solid var(--neon-blue);
}

.prose-blog h2:first-child {
    margin-top: 0;
}

.prose-blog h3 {
    font-size: 1.08rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.92);
    margin: 1.75rem 0 0.65rem;
}

.prose-blog p {
    font-size: 1.0625rem;
    line-height: 1.82;
    color: rgba(255, 255, 255, 0.78);
    margin: 0 0 1.25rem;
}

.prose-blog ul,
.prose-blog ol {
    margin: 0 0 1.5rem 0;
    padding-left: 1.35rem;
    line-height: 1.75;
    color: rgba(255, 255, 255, 0.76);
}

.prose-blog li {
    margin-bottom: 0.55rem;
}

.prose-blog li::marker {
    color: var(--neon-blue);
}

.prose-blog strong {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
}

.prose-blog a {
    color: var(--neon-blue);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.prose-blog a:hover {
    color: var(--matrix-green);
}

.prose-blog table {
    width: 100%;
    border-collapse: collapse;
    margin: 0 0 1.5rem;
    font-size: 0.92rem;
}

.prose-blog th,
.prose-blog td {
    padding: 0.7rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    text-align: left;
}

.prose-blog th {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    font-weight: 600;
}

.prose-blog td {
    color: rgba(255, 255, 255, 0.75);
}

.prose-blog .blog-faq {
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.prose-blog .blog-faq h3 {
    margin: 0 0 0.35rem;
    font-size: 1.05rem;
    font-weight: 600;
    color: var(--neon-blue);
}

.prose-blog .blog-faq p {
    margin: 0;
    padding-left: 0;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.76);
}

/* Inline CTA */
.blog-inline-cta {
    margin: 2.5rem 0;
    padding: 1.75rem 2rem;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(0, 255, 157, 0.08) 0%, rgba(0, 243, 255, 0.06) 100%);
    border: 1px solid rgba(0, 255, 157, 0.25);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.blog-inline-cta h3 {
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 0.35rem;
}

.blog-inline-cta p {
    margin: 0;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.68);
    max-width: 420px;
}

/* Author box — E-E-A-T */
.blog-author-box {
    display: flex;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    margin-top: 2rem;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.07);
}

.blog-author-avatar {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    padding: 6px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.blog-author-avatar img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 4px;
}

.blog-author-info strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
    margin-bottom: 0.35rem;
}

.blog-author-info p {
    margin: 0;
    font-size: 0.85rem;
    line-height: 1.55;
    color: rgba(255, 255, 255, 0.58);
}

.blog-article-footer {
    margin-top: 2rem;
    padding-top: 1.75rem;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1.25rem;
}

.blog-share {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.88rem;
}

.blog-share a {
    width: 38px;
    height: 38px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.2s ease;
}

.blog-share a:hover {
    border-color: var(--neon-blue);
    color: var(--neon-blue);
}

.blog-back-link {
    color: rgba(255, 255, 255, 0.55);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
}

.blog-back-link:hover {
    color: var(--neon-blue);
}

.blog-back-link i {
    margin-right: 0.4rem;
}

/* Related */
.blog-related {
    position: relative;
    z-index: 2;
    padding: 2rem 3rem 4rem;
}

.blog-related-inner {
    max-width: 1240px;
    margin: 0 auto;
}

.blog-related .section-title {
    font-family: 'Inter', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 1.5rem;
    text-align: center;
}

.blog-grid--related {
    grid-template-columns: repeat(3, 1fr);
}

/* ─── Responsive ─── */
@media (max-width: 1100px) {
    .blog-read-layout {
        grid-template-columns: 1fr;
    }

    .blog-read-sidebar {
        position: static;
        flex-direction: row;
        flex-wrap: wrap;
    }

    .blog-toc,
    .blog-sidebar-cta {
        flex: 1;
        min-width: 240px;
    }

    .blog-single-hero {
        grid-template-columns: 1fr;
    }

    .blog-single-hero-visual {
        min-height: 160px;
        max-height: 180px;
    }
}

@media (max-width: 1024px) {
    .blog-grid,
    .blog-grid--related {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .blog-hero,
    .blog-toolbar,
    .blog-listing,
    .blog-lead-banner,
    .blog-single-hero,
    .blog-read-layout,
    .blog-related {
        padding-left: 1.15rem;
        padding-right: 1.15rem;
    }

    .blog-read-panel {
        padding: 1.5rem 1.25rem;
    }

    .blog-grid,
    .blog-grid--related {
        grid-template-columns: 1fr;
    }

    .blog-read-sidebar {
        flex-direction: column;
    }

    .blog-lead-banner-inner {
        padding: 1.5rem;
    }

    .blog-inline-cta {
        padding: 1.25rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .blog-holo-scan,
    .blog-holo-core,
    .blog-holo-ring {
        animation: none;
    }
}
