        /* ============================================================ */
        /* BLOG SINGLE                                                  */
        /* ============================================================ */
        .blog-single {
            padding: 60px 0 80px;
            background: var(--blanco);
        }

        .blog-single .post-header {
            text-align: center;
            max-width: 820px;
            margin: 0 auto 30px;
        }

        .blog-single .post-header .post-meta {
            display: flex;
            justify-content: center;
            gap: 20px;
            font-size: 16px;
            font-weight: 300;
            color: var(--gris-texto);
            margin-bottom: 12px;
        }

        .blog-single .post-header .post-meta span i {
            margin-right: 4px;
        }

        .blog-single .post-header h1 {
            font-size: 44px;
            font-weight: 700;
            color: var(--negro);
            line-height: 1.2;
            margin-bottom: 10px;
        }

        .blog-single .post-header .post-categories {
            display: flex;
            justify-content: center;
            gap: 10px;
            flex-wrap: wrap;
            margin-top: 10px;
        }

        .blog-single .post-header .post-categories a {
            display: inline-block;
            padding: 4px 16px;
            background: var(--rojo);
            color: var(--blanco);
            font-size: 14px;
            font-weight: 500;
            letter-spacing: 0.5px;
            transition: background 0.2s;
        }

        .blog-single .post-header .post-categories a:hover {
            background: var(--rojo-oscuro);
        }

        .blog-single .featured-image {
            max-width: 1000px;
            margin: 0 auto 40px;
            overflow: hidden;
        }

        .blog-single .featured-image img {
            width: 100%;
            height: auto;
            display: block;
            border: 1px solid #f0f0f0;
        }

        .blog-single .post-content {
            max-width: 820px;
            margin: 0 auto;
            font-size: 18px;
            font-weight: 300;
            color: #333;
        }

        .blog-single .post-content p {
            margin-bottom: 24px;
        }

        .blog-single .post-content h2 {
            font-size: 28px;
            font-weight: 600;
            color: var(--negro);
            margin: 30px 0 16px;
        }

        .blog-single .post-content h3 {
            font-size: 24px;
            font-weight: 500;
            color: var(--negro);
            margin: 24px 0 12px;
        }

        .blog-single .post-content ul,
        .blog-single .post-content ol {
            margin: 0 0 24px 24px;
        }

        .blog-single .post-content li {
            margin-bottom: 8px;
        }

        .blog-single .post-content blockquote {
            border-left: 4px solid var(--rojo);
            padding: 16px 24px;
            margin: 24px 0;
            background: var(--gris-claro);
            font-style: italic;
            font-size: 20px;
            color: #444;
        }

        /* ===== SHARE ===== */
        .share-section {
            max-width: 820px;
            margin: 40px auto 0;
            padding-top: 30px;
            border-top: 1px solid #e0e0e0;
            display: flex;
            flex-wrap: wrap;
            align-items: center;
            justify-content: space-between;
            gap: 16px;
        }

        .share-section .share-label {
            font-size: 18px;
            font-weight: 500;
            color: var(--negro);
        }

        .share-section .share-links {
            display: flex;
            gap: 12px;
        }

        .share-section .share-links a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 44px;
            height: 44px;
            background: var(--gris-claro);
            color: var(--negro);
            font-size: 20px;
            transition: background 0.3s, color 0.3s;
            border: 1px solid #e0e0e0;
        }

        .share-section .share-links a:hover {
            background: var(--rojo);
            color: var(--blanco);
            border-color: var(--rojo);
        }

        /* ===== NAVEGACIÓN ENTRE ARTÍCULOS (prev / next) ===== */
        .post-navigation {
           
            margin: 30px auto 0;
            display: flex;
            justify-content: space-between;
            gap: 20px;
            padding-top: 30px;
            border-top: 1px solid #e0e0e0;
        }

        .post-navigation .nav-link {
            display: flex;
            flex-direction: column;
            max-width: 45%;
            transition: color 0.2s;
        }

        .post-navigation .nav-link .nav-label {
            font-size: 14px;
            font-weight: 300;
            color: var(--gris-texto);
            margin-bottom: 4px;
        }

        .post-navigation .nav-link .nav-label i {
            margin-right: 4px;
        }

        .post-navigation .nav-link .nav-title {
            font-size: 18px;
            font-weight: 500;
            color: var(--negro);
            transition: color 0.2s;
            line-height: 1.3;
        }

        .post-navigation .nav-link:hover .nav-title {
            color: var(--rojo);
        }

        .post-navigation .nav-link.next {
            text-align: right;
            align-items: flex-end;
        }

        .post-navigation .nav-link.prev {
            text-align: left;
            align-items: flex-start;
        }

        .post-navigation .nav-link.disabled {
            opacity: 0.4;
            pointer-events: none;
        }

        /* ===== RELATED POSTS ===== */
        .related-posts {
            max-width: 1000px;
            margin: 50px auto 0;
            padding-top: 40px;
            border-top: 1px solid #e0e0e0;
        }

        .related-posts h3 {
            font-size: 28px;
            font-weight: 600;
            text-align: center;
            margin-bottom: 30px;
            color: var(--negro);
        }

        .related-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
            gap: 30px;
        }

        .related-item {
            background: var(--blanco);
            border: 1px solid #f0f0f0;
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            flex-direction: column;
        }

        .related-item:hover {
            transform: translateY(-4px);
            box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
        }

        .related-item .thumb {
            height: 160px;
            overflow: hidden;
            background: #f0f0f0;
        }

        .related-item .thumb img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s;
        }

        .related-item:hover .thumb img {
            transform: scale(1.04);
        }

        .related-item .info {
            padding: 18px 20px 22px;
            flex-grow: 1;
            display: flex;
            flex-direction: column;
        }

        .related-item .info .title {
            font-size: 18px;
            font-weight: 600;
            color: var(--negro);
            margin-bottom: 8px;
            transition: color 0.2s;
        }

        .related-item .info .title a:hover {
            color: var(--rojo);
        }

        .related-item .info .excerpt {
            font-size: 15px;
            font-weight: 300;
            color: #555;
            flex-grow: 1;
        }

        .related-item .info .read-more {
            display: inline-block;
            margin-top: 12px;
            font-size: 14px;
            font-weight: 500;
            color: var(--rojo);
            border-bottom: 2px solid var(--rojo);
            padding-bottom: 2px;
            align-self: flex-start;
            transition: color 0.2s, border-color 0.2s;
        }

        .related-item .info .read-more:hover {
            color: var(--rojo-oscuro);
            border-color: var(--rojo-oscuro);
        }


        /* ============================================================ */
        /* RESPONSIVE                                                    */
        /* ============================================================ */

        @media (max-width: 1024px) {
            .megamenu {
                left: 0;
                transform: none;
                width: 100%;
                max-width: 400px;
                border-radius: 0 0 8px 8px;
                grid-template-columns: 1fr;
            }
            .nav-menu {
                gap: 0;
            }
            .nav-menu>li>a {
                padding: 8px 12px;
                font-size: 14px;
            }
            .page-banner h1 {
                font-size: 42px;
            }
            .blog-single .post-header h1 {
                font-size: 36px;
            }
            .related-grid {
                grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
            }
        }

        @media (max-width: 768px) {
            .top-header .container {
                flex-direction: column;
                gap: 4px;
                align-items: center;
                text-align: center;
            }
            .top-header .contacto span {
                margin-right: 10px;
                font-size: 13px;
            }

            .menu-toggle {
                display: flex;
            }

            .nav-menu {
                display: none;
                width: 100%;
                flex-direction: column;
                align-items: stretch;
                background: var(--blanco);
                padding: 10px 0;
                border-top: 1px solid #eee;
            }
            .nav-menu.open {
                display: flex;
            }
            .nav-menu>li>a {
                padding: 12px 16px;
                border-bottom: none;
            }
            .nav-menu>li>a:hover {
                border-bottom: none;
                background: #f5f5f5;
            }

            .megamenu,
            .sub-menu {
                display: none !important;
                position: static;
                width: 100%;
                background: #f5f5f5;
                border-radius: 0;
                box-shadow: none;
                padding: 6px 0;
                grid-template-columns: 1fr !important;
            }
            .nav-menu>li:hover .megamenu,
            .nav-menu>li:hover .sub-menu {
                display: none !important;
            }
            .nav-menu>li.open .megamenu,
            .nav-menu>li.open .sub-menu {
                display: grid !important;
            }
            .megamenu {
                width: 100% !important;
                max-width: 100% !important;
                background: #f5f5f5;
                padding: 6px 0;
            }
            .megamenu .col {
                background: #f5f5f5 !important;
                padding: 10px 20px;
                border-bottom: 1px solid #e0e0e0;
            }
            .megamenu .col a {
                color: #181b20;
                font-size: 14px;
            }
            .megamenu .col:hover {
                background: #eaeaea !important;
            }
            .sub-menu {
                background: #f5f5f5;
                padding: 6px 0;
            }
            .sub-menu li a {
                padding: 10px 20px;
                color: var(--negro);
                justify-content: center;
            }
            .sub-menu li a:hover {
                background: #e0e0e0;
            }

            .page-banner h1 {
                font-size: 36px;
            }
            .page-banner p {
                font-size: 18px;
            }

            .blog-single .post-header h1 {
                font-size: 30px;
            }
            .blog-single .post-content {
                font-size: 17px;
            }
            .blog-single .post-content h2 {
                font-size: 24px;
            }
            .blog-single .post-content h3 {
                font-size: 20px;
            }

            .share-section {
                flex-direction: column;
                align-items: center;
                text-align: center;
            }

            .post-navigation {
                flex-direction: column;
                align-items: stretch;
                gap: 16px;
            }
            .post-navigation .nav-link {
                max-width: 100%;
                text-align: left !important;
                align-items: flex-start !important;
            }
            .post-navigation .nav-link.next {
                text-align: left !important;
                align-items: flex-start !important;
            }

            .related-grid {
                grid-template-columns: 1fr;
            }
            .footer .grid {
                grid-template-columns: 1fr;
                gap: 24px;
            }
            .footer-bottom {
                flex-direction: column;
                align-items: center;
                gap: 8px;
            }
        }

        @media (max-width: 480px) {
            .page-banner h1 {
                font-size: 28px;
            }
            .page-banner p {
                font-size: 16px;
            }
            .blog-single .post-header h1 {
                font-size: 26px;
            }
            .blog-single .post-header .post-meta {
                flex-wrap: wrap;
                gap: 8px 16px;
                font-size: 14px;
            }
            .blog-single .post-content {
                font-size: 16px;
            }
            .blog-single .post-content h2 {
                font-size: 22px;
            }
            .blog-single .post-content blockquote {
                font-size: 17px;
                padding: 12px 16px;
            }
            .post-navigation .nav-link .nav-title {
                font-size: 16px;
            }
            .megamenu .col {
                padding: 8px 16px;
            }
        }

        /* ===== UTILIDADES ===== */
        .fade-in {
            opacity: 0;
            transform: translateY(30px);
            animation: fadeUp 0.7s ease forwards;
        }
        @keyframes fadeUp {
            to {
                opacity: 1;
                transform: translateY(0);
            }
        }
        .delay-1 {
            animation-delay: 0.1s;
        }
        .delay-2 {
            animation-delay: 0.2s;
        }
        .delay-3 {
            animation-delay: 0.3s;
        }
        .delay-4 {
            animation-delay: 0.4s;
        }
		
		
        /* 1. 容器最大宽度设为 1000px，增加左右内边距 */
        .blog-single .container {
     
            padding-left: 60px !important;
            padding-right: 60px !important;
        }

        /* 2. 文章内容区域占满容器宽度，去掉多余内边距 */
        .blog-single .post-content {
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 !important;
        }

        /* 3. 内容内的图片、段落等元素自适应宽度 */
        .blog-single .post-content p,
        .blog-single .post-content img,
        .blog-single .post-content figure,
        .blog-single .post-content .wp-block-image,
        .blog-single .post-content .wp-block-paragraph,
        .blog-single .post-content > * {
            max-width: 100% !important;
            width: 100% !important;
        }

/* 电脑端（宽度 ≥ 769px） */
@media (min-width: 769px) {
    .blog-single .post-content img {
        width: 35% !important;
        display: block !important;    /* 让图片变成块级元素 */
        margin: 0 auto !important;    /* 水平居中 */
    }
}

/* 手机端（宽度 ≤ 768px） */
@media (max-width: 768px) {
    .blog-single .post-content img {
        width: 100% !important;
        display: block !important;    /* 让图片变成块级元素 */
        margin: 0 auto !important;    /* 水平居中 */
    }
}

        /* 4. 相关文章区域占满容器宽度 */
        .blog-single .related-posts {
            width: 100% !important;
            max-width: 100% !important;
            padding: 0 !important;
        }

        /* 5. 相关文章网格：三列等宽，间距 25px（1000px 下更紧凑） */
        .blog-single .related-grid {
            display: grid !important;
            grid-template-columns: repeat(3, 1fr) !important;
            gap: 25px !important;
            width: 100% !important;
        }

        /* 6. 相关文章卡片内部图片和文字自适应 */
        .blog-single .related-item {
            width: 100% !important;
            max-width: 100% !important;
        }

        .blog-single .related-item .thumb img {
            width: 100% !important;
            height: auto !important;
            object-fit: cover !important;
        }

        /* 7. 移动端适配：小屏幕下改为单列 */
        @media (max-width: 768px) {
            .blog-single .related-grid {
                grid-template-columns: 1fr !important;
            }
            .blog-single .container {
                padding-left: 15px !important;
                padding-right: 15px !important;
            }
        }
		
