/* ── Font override para coherencia con index ── */
        body { font-family: 'Inter', system-ui, sans-serif; }

        /* ── Barra progreso lectura ── */
        .reading-progress {
            position: fixed; top: 0; left: 0;
            width: 100%; height: 3px;
            background: transparent; z-index: 2000;
        }
        .reading-progress__bar {
            height: 3px;
            background: var(--accent-color);
            width: 0%; transition: width 0.1s linear;
        }

        /* ── Header nav ── */
        .site-header { box-shadow: none; }
        .header-container { height: 72px; }
        .logo-area {
            font-family: 'Space Grotesk', system-ui, sans-serif;
            font-weight: 700; font-size: 20px;
            color: var(--primary-color);
            display: flex; align-items: center; gap: 10px;
        }
        .logo-icon {
            width: 36px; height: 36px; border-radius: 8px;
            background: linear-gradient(135deg, var(--primary-color), #1d6fa4);
            display: flex; align-items: center; justify-content: center;
            color: #fff; font-size: 16px; flex-shrink: 0;
        }
        .nav-menu { gap: 24px; }
        .nav-menu a {
            font-size: 14px; font-weight: 500;
            color: var(--text-dark); transition: color 0.2s;
        }
        .nav-menu a:hover, .nav-menu .active > a { color: var(--accent-color); }

        /* Hamburger móvil */
        .nav-toggle {
            display: none; background: none; border: none;
            cursor: pointer; padding: 4px;
            flex-direction: column; gap: 5px;
        }
        .nav-toggle span {
            display: block; width: 22px; height: 2px;
            background: var(--primary-color); border-radius: 2px;
            transition: all 0.25s ease;
        }
        @media (max-width: 768px) {
            .nav-toggle { display: flex; }
            .main-nav {
                display: none; position: absolute; top: 72px;
                left: 0; right: 0; background: #fff;
                border-bottom: 1px solid var(--border-color);
                padding: 16px 20px; z-index: 900;
                box-shadow: 0 8px 24px rgba(0,0,0,0.06);
            }
            .main-nav.open { display: block; }
            .nav-menu { flex-direction: column; gap: 14px; }
        }

        /* ── Breadcrumbs ── */
        .breadcrumbs { font-size: 13px; }

        /* ── Post Hero ── */
        .post-hero {
            background: linear-gradient(160deg, #0d2c54 0%, #122d4e 60%, #1a3a60 100%);
            color: #fff; padding: 64px 20px 56px;
            text-align: center; border-bottom: 4px solid var(--accent-color);
        }
        .post-hero__category {
            display: inline-block;
            background: rgba(189,79,42,0.85); color: #fff;
            font-size: 11px; font-weight: 700; letter-spacing: 2px;
            text-transform: uppercase; padding: 4px 14px;
            border-radius: 30px; margin-bottom: 18px;
        }
        .post-hero h1 {
            font-family: 'Space Grotesk', system-ui, sans-serif;
            font-size: clamp(22px, 4vw, 38px);
            font-weight: 700; line-height: 1.2;
            max-width: 820px; margin: 0 auto 20px;
            color: #fff; letter-spacing: -0.3px;
        }
        .post-meta {
            display: flex; justify-content: center;
            align-items: center; gap: 12px; flex-wrap: wrap;
            font-size: 13px; color: rgba(255,255,255,0.65);
        }
        .post-meta span { display: flex; align-items: center; gap: 5px; }
        .post-meta__sep { opacity: 0.3; }

        /* ── Layout principal (2 columnas → 1 en móvil) ── */
        .post-layout {
            max-width: 1200px; margin: 48px auto;
            padding: 0 20px;
            display: grid;
            grid-template-columns: 1fr 340px;
            gap: 48px;
            align-items: start;
        }
        @media (max-width: 1024px) {
            .post-layout { grid-template-columns: 1fr 280px; gap: 32px; }
        }
        @media (max-width: 768px) {
            .post-layout { grid-template-columns: 1fr; }
            /* Sidebar goes below article on mobile */
            .post-sidebar { order: 2; }
            .post-main   { order: 1; }
        }

        /* ── Artículo ── */
        .post-featured-img {
            width: 100%; height: auto; border-radius: 8px;
            margin-bottom: 28px;
            box-shadow: 0 4px 24px rgba(13,44,84,0.10);
        }
        .post-content p {
            font-size: 16px; color: #374151;
            margin-bottom: 22px; line-height: 1.8;
            text-align: justify;
        }
        .post-content p:first-child::first-letter {
            float: left; font-size: 3.6em; line-height: 0.75;
            font-family: 'Space Grotesk', system-ui, sans-serif;
            font-weight: 700; color: var(--primary-color);
            margin: 6px 10px 0 0;
        }
        .post-content strong { color: var(--primary-color); font-weight: 600; }
        .post-content h2 {
            font-family: 'Space Grotesk', system-ui, sans-serif;
            font-size: 22px; font-weight: 700;
            color: var(--primary-color); margin: 36px 0 14px;
            padding-bottom: 8px; border-bottom: 2px solid var(--border-color);
        }
        .post-content ul {
            list-style: none; margin-bottom: 22px; padding-left: 0;
        }
        .post-content ul li {
            padding: 7px 0 7px 22px; font-size: 15px; color: #374151;
            border-bottom: 1px solid #f1f5f9; position: relative;
        }
        .post-content ul li::before {
            content: ''; position: absolute; left: 0; top: 50%;
            transform: translateY(-50%);
            width: 8px; height: 8px; border-radius: 50%;
            background: var(--accent-color);
        }

        /* ── Compartir en RRSS ── */
        .share-section { margin: 40px 0 0; }
        .share-section__label {
            font-size: 11px; font-weight: 700; letter-spacing: 1.5px;
            text-transform: uppercase; color: var(--text-light);
            margin-bottom: 12px;
        }
        .share-grid {
            display: grid;
            grid-template-columns: repeat(5, 1fr);
            border-radius: 6px; overflow: hidden;
            border: 1px solid var(--border-color);
        }
        .share-btn {
            display: flex; flex-direction: column;
            align-items: center; justify-content: center;
            gap: 4px; padding: 14px 8px;
            text-decoration: none; color: var(--text-dark);
            font-size: 11px; font-weight: 600;
            border-right: 1px solid var(--border-color);
            transition: all 0.2s ease; background: #fff;
        }
        .share-btn:last-child { border-right: none; }
        .share-btn svg { width: 18px; height: 18px; }
        .share-btn.fb:hover  { background: #1877f2; color: #fff; }
        .share-btn.tw:hover  { background: #000; color: #fff; }
        .share-btn.wa:hover  { background: #25d366; color: #fff; }
        .share-btn.li:hover  { background: #0077b5; color: #fff; }
        .share-btn.em:hover  { background: var(--accent-color); color: #fff; }
        @media (max-width: 480px) {
            .share-grid { grid-template-columns: repeat(3, 1fr); }
            .share-btn:nth-child(3) { border-right: 1px solid var(--border-color); }
            .share-btn:nth-child(3n) { border-right: none; }
            .share-btn:nth-child(4),
            .share-btn:nth-child(5) { border-top: 1px solid var(--border-color); }
        }

        /* ── Contador comentarios ── */
        .comments-counter {
            display: flex; align-items: center; gap: 12px;
            padding: 24px 0; border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
            margin: 36px 0;
        }
        .comments-badge {
            width: 46px; height: 46px; border-radius: 50%;
            background: var(--primary-color); color: #fff;
            display: flex; align-items: center; justify-content: center;
            font-size: 18px; font-weight: 700; flex-shrink: 0;
        }
        .comments-counter__text { font-size: 14px; color: var(--text-light); }
        .comments-counter__text strong { color: var(--text-dark); }

        /* ── Lista comentarios ── */
        .comment-item {
            display: flex; gap: 16px;
            padding: 20px 0; border-bottom: 1px dashed var(--border-color);
        }
        .comment-avatar {
            width: 46px; height: 46px; border-radius: 50%;
            background: linear-gradient(135deg, var(--primary-color), #1d6fa4);
            color: #fff; font-weight: 700; font-size: 13px;
            display: flex; align-items: center; justify-content: center;
            flex-shrink: 0;
        }
        .comment-body h4 { font-size: 14px; font-weight: 600; color: var(--primary-color); margin-bottom: 2px; }
        .comment-body .cdate { font-size: 11px; color: var(--text-light); margin-bottom: 8px; }
        .comment-body p { font-size: 14px; color: #555; line-height: 1.6; }

        /* ── Formulario comentario ── */
        .comment-form-block {
            margin-top: 40px; padding-top: 32px;
            border-top: 2px solid var(--border-color);
        }
        .comment-form-block h3 {
            font-family: 'Space Grotesk', system-ui, sans-serif;
            font-size: 20px; font-weight: 700;
            color: var(--primary-color); margin-bottom: 4px;
        }
        .comment-form-block .form-subtitle {
            font-size: 13px; color: var(--text-light); margin-bottom: 16px;
        }
        .comment-form textarea {
            width: 100%; min-height: 130px;
            padding: 14px 16px; border: 1px solid #cbd5e1;
            border-radius: 6px; resize: vertical; margin-bottom: 16px;
            font-family: 'Inter', system-ui, sans-serif;
            font-size: 14px; color: var(--text-dark);
            background: var(--bg-light); transition: border-color 0.2s, box-shadow 0.2s;
        }
        .comment-form textarea:focus {
            outline: none; border-color: var(--accent-color);
            background: #fff; box-shadow: 0 0 0 3px rgba(189,79,42,0.10);
        }

        /* Captcha visual */
        .captcha-wrapper {
            display: flex; align-items: center; gap: 14px;
            margin-bottom: 20px; flex-wrap: wrap;
        }
        .captcha-box {
            background: #e2e8f0;
            background-image: repeating-linear-gradient(
                45deg, transparent, transparent 4px,
                rgba(0,0,0,0.04) 4px, rgba(0,0,0,0.04) 5px
            );
            padding: 12px 22px; font-family: 'Courier New', monospace;
            font-size: 18px; font-weight: 700; font-style: italic;
            letter-spacing: 6px; user-select: none;
            color: var(--primary-color); border: 1px solid #cbd5e1;
            border-radius: 6px; position: relative;
            text-shadow: 1px 1px 0 rgba(255,255,255,0.6);
        }
        .captcha-box__refresh {
            position: absolute; top: 4px; right: 6px;
            font-size: 11px; cursor: pointer; opacity: 0.5;
            font-style: normal; letter-spacing: 0;
            transition: opacity 0.2s;
        }
        .captcha-box__refresh:hover { opacity: 1; }
        .captcha-label {
            font-size: 13px; color: var(--text-light);
            margin-bottom: 6px; display: block;
        }
        .captcha-field-group { display: flex; flex-direction: column; flex: 1; min-width: 160px; }
        .captcha-input {
            padding: 10px 14px; border: 1px solid #cbd5e1;
            border-radius: 6px; font-size: 14px;
            font-family: 'Inter', system-ui, sans-serif;
            background: var(--bg-light); color: var(--text-dark);
        }
        .captcha-input:focus { outline: none; border-color: var(--accent-color); }
        .captcha-note {
            font-size: 12px; color: var(--text-light);
            margin-top: 4px; display: flex; align-items: center; gap: 4px;
        }

        .btn-comment-submit {
            background: var(--accent-color); color: #fff;
            border: none; padding: 13px 30px;
            border-radius: 6px; font-size: 14px; font-weight: 700;
            text-transform: uppercase; letter-spacing: 0.5px;
            cursor: pointer; transition: background 0.2s, transform 0.1s;
        }
        .btn-comment-submit:hover { background: #a03e1e; }
        .btn-comment-submit:active { transform: scale(0.99); }

        /* ── Sidebar ── */
        .post-sidebar { display: flex; flex-direction: column; gap: 28px; }

        .sidebar-widget {
            background: var(--bg-white);
            border: 1px solid var(--border-color);
            border-radius: 8px; padding: 22px;
        }
        .sidebar-widget-title {
            font-size: 12px; font-weight: 700;
            color: var(--primary-color); text-transform: uppercase;
            letter-spacing: 1.5px; padding-bottom: 10px;
            margin-bottom: 18px;
            border-bottom: 2px solid var(--accent-color);
            display: inline-block;
        }
        .sidebar-post-item {
            display: flex; gap: 12px;
            padding: 10px 0; border-bottom: 1px solid #f1f5f9;
        }
        .sidebar-post-item:last-child { border-bottom: none; padding-bottom: 0; }
        .sidebar-post-thumb {
            width: 60px; height: 60px;
            background: var(--bg-light); border: 1px solid var(--border-color);
            border-radius: 6px; flex-shrink: 0; overflow: hidden;
        }
        .sidebar-post-thumb img { width: 100%; height: 100%; object-fit: cover; }
        .sidebar-post-info h4 {
            font-size: 13px; line-height: 1.4;
            margin-bottom: 4px; color: var(--primary-color);
        }
        .sidebar-post-info h4 a { color: inherit; transition: color 0.2s; }
        .sidebar-post-info h4 a:hover { color: var(--accent-color); }
        .sidebar-post-info .sdate { font-size: 11px; color: var(--text-light); }

        /* Search widget */
        .search-widget {
            display: flex; border-radius: 6px; overflow: hidden;
            border: 1px solid #cbd5e1;
        }
        .search-widget input {
            flex: 1; padding: 10px 14px;
            border: none; font-size: 14px;
            font-family: 'Inter', system-ui, sans-serif;
            color: var(--text-dark); background: var(--bg-light);
        }
        .search-widget input:focus { outline: none; }
        .search-widget button {
            background: var(--accent-color); color: #fff;
            border: none; padding: 0 16px;
            cursor: pointer; font-size: 15px; transition: background 0.2s;
        }
        .search-widget button:hover { background: #a03e1e; }

        /* Tags widget */
        .tags-cloud { display: flex; flex-wrap: wrap; gap: 8px; }
        .tag-item {
            font-size: 12px; padding: 4px 12px;
            border: 1px solid var(--border-color);
            border-radius: 30px; color: var(--text-light);
            transition: all 0.2s;
        }
        .tag-item:hover {
            background: var(--primary-color); color: #fff;
            border-color: var(--primary-color);
        }

        