:root {
    --blog-orange: #f57a1f;
    --blog-orange-dark: #e06400;
    --blog-blue: #022d7a;
    --blog-blue-soft: #2f61b7;
    --blog-bg: #efefef;
    --blog-text: #1f1f1f;
    --blog-white: #ffffff;
    --blog-border: #d6d6d6;
    --blog-shadow: 0 10px 28px rgba(15, 35, 74, 0.16);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    width: 100%;
    overflow-x: hidden;
}

body {
    margin: 0;
    font-family: "Poppins", sans-serif;
    background: #ffffff !important;
    color: var(--blog-text);
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
}

.blog-hero {
    margin-top: 0;
}

/* Base azul fija para navbar glass/transparente en el blog */
body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 84px;
    background: linear-gradient(180deg, #1a3669 0%, #102a56 100%);
    z-index: 9990;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.2s ease;
}

body.blog-scrolled::before {
    opacity: 0;
}

.menu-linntae {
    position: relative;
    z-index: 10000;
}

.blog-hero-list {
    background: linear-gradient(180deg, #ff852b 0%, #ff9a5e 100%);
    border-bottom-left-radius: 220px 72px;
    border-bottom-right-radius: 220px 72px;
    padding: 6.2rem 1rem 2.5rem;
    box-shadow: inset 0 -6px 14px rgb(147 29 2 / 61%);
}

.blog-hero-inner {
    width: min(1024px, 100%);
    margin: 0 auto;
    text-align: center;
}

.blog-hero-topline {
    margin: 0;
    font-size: clamp(1.8rem, 2.8vw, 2.4rem);
    line-height: 1.15;
    color: #fff;
    font-weight: 800;
    text-shadow: 0 3px 0 rgba(8, 39, 96, 0.33);
}

.blog-hero-title {
    margin: 0.25rem 0 1.25rem;
   /*font-size: clamp(1.5rem, 2.4vw, 2.1rem);*/
    line-height: 1.15;
    color: #1a3669;
    /*font-weight: 800;*/
    /*text-shadow: 0 3px 0 rgba(255, 255, 255, 0.35);*/
}

.blog-search-wrap {
    margin: 0 auto;
    width: min(540px, 95%);
    background: var(--blog-white);
    border: 1px solid #c6c6c6;
    border-radius: 999px;
    display: flex;
    align-items: center;
    gap: 0.65rem;
    padding: 0.55rem 1rem;
}

.blog-search-wrap i {
    color: var(--blog-orange-dark);
}

.blog-search-wrap input {
    width: 100%;
    border: 0;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
}

.blog-shell {
    width: min(1240px, 96%);
    max-width: 100%;
    margin: 1.4rem auto 3rem;
    display: grid;
    grid-template-columns: 310px 1fr;
    gap: 1.1rem;
    background: #ffffff;
    border-radius: 18px;
    padding: 0.25rem;
}

.blog-sidebar {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.blog-side-card {
    background: var(--blog-white);
    border-radius: 16px;
    box-shadow: -6px 8px 8px 0px rgb(15 35 74 / 19%);
    border: 1px solid #e2e2e2;
    overflow: hidden;
}

.blog-side-card h2 {
    margin: 0;
    background: linear-gradient(180deg, var(--blog-orange-dark) 0%, var(--blog-orange) 100%);
    color: #fff;
    font-size: 1.28rem;
    font-weight: 700;
    padding: 0.9rem 1rem;
}

.blog-link-list {
    margin: 0;
    padding: 0.5rem 0.9rem 0.85rem;
    list-style: none;
}

.blog-link-list li {
    border-bottom: 1px solid #d9d9d9;
}

.blog-link-list li:last-child {
    border-bottom: 0;
}

.blog-link-list a {
    display: flex;
    align-items: center;
    gap: 0.55rem;
    color: #20427a;
    text-decoration: none;
    font-size: 0.92rem;
    font-weight: 700;
    padding: 0.6rem 0;
    line-height: 1.3;
}

.blog-link-list a:hover {
    color: var(--blog-orange-dark);
}

.blog-link-list img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.blog-follow-card {
    padding: 0.7rem 0.85rem 0.95rem;
}

.blog-follow-card h3 {
    margin: 0 0 0.55rem;
    color: #15386f;
    font-size: 2rem;
    font-weight: 800;
}

.blog-social-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}

.blog-social-row a {
    width: 37px;
    height: 37px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    text-decoration: none;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-social-row a:nth-child(1) { background: #1877f2; }
.blog-social-row a:nth-child(2) { background: #111111; }
.blog-social-row a:nth-child(3) { background: radial-gradient(circle at 35% 100%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.blog-social-row a:nth-child(4) { background: #111111; }
.blog-social-row a:nth-child(5) { background: #e42d2d; }

.blog-social-row a:hover{
    transform: scale(1.25);
}

.blog-feed {
    min-width: 0;
}

.blog-cards {
    display: grid;
    gap: 1.35rem;
}

.blog-card {
    background: linear-gradient(135deg, #2652ab 0%, #1a3f8f 100%);
    border-radius: 16px;
    color: #fff;
    display: grid;
    grid-template-columns: 238px 1fr;
    gap: 0.9rem;
    padding: 0.7rem;
    border: 1px solid #1f3f83;
    box-shadow: -5px 6px 5px 1px rgb(14 42 94 / 27%);
    margin-bottom: 1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.blog-card:hover {
    transform: scale(1.03);
    box-shadow: 0 20px 40px rgba(14, 42, 94, 0.35);
}

.blog-card-thumb {
    margin: 0;
    border-radius: 12px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
}

.blog-card-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 16 / 10;
}

.blog-card-content {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.blog-card-meta-top {
    display: flex;
    justify-content: flex-end;
    gap: 0.7rem;
    font-size: 0.77rem;
    opacity: 0.92;
    margin-bottom: 0.3rem;
}

.blog-card h2 {
    margin: 0 0 0.4rem;
    font-size: clamp(1rem, 2vw, 1.95rem);
    line-height: 1.2;
    font-weight: 800;
}

.blog-card p {
    margin: 0;
    font-size: 0.92rem;
    opacity: 0.95;
}

.blog-card-actions {
    margin-top: auto;
    padding-top: 0.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.75rem;
}

.blog-share-links {
    display: inline-flex;
    gap: 0.5rem;
}

.blog-share-links a {
    color: #f2f6ff;
    text-decoration: none;
    font-size: 0.95rem;
}



.blog-read-more {
    border: 0;
    text-decoration: none;
    background: linear-gradient(180deg, #26cf62 0%, #1ca74f 100%);
    color: #fff;
    border-radius: 999px;
    font-weight: 700;
    font-size: 0.86rem;
    padding: 0.42rem 0.95rem;
}
.blog-read-more:hover {
    background: linear-gradient(180deg, #f16200 0%, #ffa66c 100%);
}

.blog-empty {
    text-align: center;
    color: #6b6b6b;
    font-weight: 600;
    background: #fff;
    border-radius: 12px;
    padding: 1rem;
}

.blog-back-top {
    position: fixed;
    right: 20px;
    bottom: 20px;
    border: 0;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: linear-gradient(180deg, #ffa34f 0%, #ef7d1e 100%);
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: 0 8px 20px rgba(172, 95, 24, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s ease;
    z-index: 999;
}

.blog-back-top.show {
    opacity: 1;
    pointer-events: auto;
}

.blog-hero-entry {
    background: linear-gradient(90deg, var(--blog-orange) 0%, var(--blog-orange) 67%, var(--blog-blue) 20%, var(--blog-blue) 100%);
    padding: 6rem 1rem 1.35rem;
}

.blog-hero-entry-grid {
    width: min(1240px, 96%);
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 370px;
    gap: 1.2rem;
    align-items: center;
}

.blog-entry-headline h1 {
    margin: 0 0 1rem;
    font-size: clamp(1.8rem, 2.9vw, 3.2rem);
    line-height: 1.18;
    color: #fff;
    font-weight: 800;
    max-width: 780px;
}

.blog-btn-entries {
    display: inline-flex;
    gap: 0.45rem;
    align-items: center;
    text-decoration: none;
    color: #fff;
    background: linear-gradient(180deg, #2f60b7 0%, #1e4b9a 100%);
    border-radius: 999px;
    padding: 0.62rem 1.15rem;
    font-weight: 700;
    font-size: 0.95rem;
    box-shadow: 0 6px 18px rgba(11, 50, 114, 0.35);
}
.blog-btn-entries:hover {
    background: linear-gradient(180deg, #f16200 0%, #ffa66c 100%);

}

.blog-entry-meta {
    margin-top: 0.85rem;
    display: flex;
    gap: 1.2rem;
    flex-wrap: wrap;
    color: #fff;
    font-weight: 600;
}

.blog-entry-hero-image {
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid rgba(255, 255, 255, 0.18);
    box-shadow: var(--blog-shadow);
}

.blog-entry-hero-image img {
    display: block;
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.blog-entry-shell {
    grid-template-columns: 1fr 310px;
    align-items: start;
}

.blog-entry-content {
    background: #f6f6f6;
    border-radius: 16px;
    padding: 1.2rem 1.2rem 1.5rem;
    border: 1px solid #dddddd;
    box-shadow: var(--blog-shadow);
}

.blog-rich-content {
    color: #222;
    font-size: 1.02rem;
    line-height: 1.75;
}

.blog-rich-content h2,
.blog-rich-content h3 {
    color: var(--blog-orange-dark);
    line-height: 1.3;
}

.blog-rich-content p {
    margin: 0.75rem 0;
}

.blog-rich-content img {
    display: block;
    width: min(100%, 720px);
    margin: 0.8rem auto;
    border-radius: 14px;
    /*border: 1px solid #cccccc;*/
    height: auto;
    image-rendering: auto;
}

.blog-rich-content figure {
    margin: 1rem 0 1.2rem;
}

.blog-rich-content figure img {
    /*box-shadow: 0 8px 20px rgba(16, 44, 95, 0.14);*/
}

.blog-rich-content figcaption,
.placeholder-caption {
    margin-top: 0.45rem;
    text-align: center;
    font-size: 0.88rem;
    line-height: 1.4;
    color: #586074;
    font-weight: 500;
}

/* Contenedor estético para Video Vertical (Shorts/Celular) */
.video-container-vertical {
    width: 100%;
    max-width: 320px;
    margin: 30px auto;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    aspect-ratio: 9/16;
    background: #000;
}
.video-container-vertical iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Banner para descarga de lonas */
.promo-banner {
    background: #f0f7ff;
    border-left: 5px solid #195ed7;
    padding: 20px;
    margin: 30px 0;
    border-radius: 0 12px 12px 0;
}

.blog-image-placeholder {
    margin: 1.1rem 0;
    /*border: 2px dashed #888;
    background: #dfdfdf;*/
    border-radius: 14px;
    padding: 1.7rem 1rem;
    text-align: center;
}

.placeholder-label {
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.placeholder-caption {
    margin: 0.45rem 0 0;
}

.blog-adsense-slot {
    margin: 1.1rem 0;
    text-align: center;
    border: 0;
    border-radius: 0;
    background: transparent;
    padding: 0;
}

.blog-adsense-slot .adsbygoogle {
    max-width: 100% !important;
    width: 100% !important;
    margin: 0 auto !important;
}

.blog-adsense-slot h3 {
    margin: 0 0 0.25rem;
    color: #c17a09;
    font-size: 2.3rem;
}

.blog-adsense-slot p {
    margin: 0;
    color: #795b22;
}

.blog-entry-cta {
    margin-top: 1.4rem;
}

.blog-entry-cta p {
    margin: 0 0 0.9rem;
    font-size: 1.05rem;
    font-weight: 600;
}

.blog-entry-cta-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.blog-cta-primary,
.blog-cta-secondary {
    text-decoration: none;
    border-radius: 999px;
    color: #fff;
    padding: 0.7rem 1.2rem;
    font-weight: 700;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}


.blog-cta-primary {
    background: linear-gradient(180deg, #2f62ba 0%, #1f4e9e 100%);
}
.blog-cta-primary:hover{
    background: linear-gradient(180deg, #2dc86c 0%, #1ea352 100%);
    transform: scale(1.05);
}

.blog-cta-secondary {
    background: linear-gradient(180deg, #2dc86c 0%, #1ea352 100%);
}
.blog-cta-secondary:hover {
    background: linear-gradient(180deg, #2f62ba 0%, #1f4e9e 100%);
    transform: scale(1.05);
}

.blog-sticky-sidebar {
    position: sticky;
    top: 108px;
}

@media (max-width: 1160px) {
    .blog-shell {
        grid-template-columns: 1fr;
    }

    .blog-sidebar {
        order: 2;
    }

    .blog-feed,
    .blog-entry-content {
        order: 1;
    }

    .blog-entry-shell {
        grid-template-columns: 1fr;
    }

    .blog-sticky-sidebar {
        position: static;
    }
}

@media (max-width: 820px) {
    .blog-hero-entry-grid,
    .blog-shell,
    .blog-entry-content {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
        box-sizing: border-box;
    }

    .blog-shell {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }

    .blog-entry-content {
        padding: 1rem;
    }

    .blog-card {
        grid-template-columns: 1fr;
    }

    .blog-card-thumb img {
        aspect-ratio: auto;
        object-fit: contain;
        width: 100%;
        height: auto;
        max-height: 320px;
        background: #17366d;
    }

    .blog-card-thumb {
        display: flex;
        align-items: center;
        justify-content: center;
        min-height: 210px;
        background: #17366d;
    }

    .blog-hero-entry {
        background: linear-gradient(180deg, #ff8326 0%, #f57a1f 100%);
    }

    body::before {
        height: 76px;
    }

    .blog-hero-entry-grid {
        grid-template-columns: 1fr;
    }

    .blog-entry-hero-image img {
        aspect-ratio: auto;
        object-fit: contain;
        width: 100%;
        height: auto;
        max-height: 340px;
        background: #102a56;
    }

    .blog-entry-hero-image {
        background: #102a56;
    }

    .placeholder-label {
        font-size: 1.45rem;
    }

    .activation-grid,
    .solution-grid,
    .conclusion-grid {
        grid-template-columns: 1fr !important;
    }

    .blog-rich-content [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
    }

    .blog-rich-content,
    .blog-rich-content p,
    .blog-rich-content li,
    .blog-rich-content h1,
    .blog-rich-content h2,
    .blog-rich-content h3,
    .blog-rich-content h4 {
        overflow-wrap: anywhere;
        word-break: break-word;
    }
}

@media (max-width: 390px) {
    .blog-hero-entry,
    .blog-hero-list {
        padding-left: 0.65rem;
        padding-right: 0.65rem;
    }

    .blog-hero-entry-grid,
    .blog-shell {
        width: 100%;
        max-width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .blog-shell {
        padding-left: 0.35rem;
        padding-right: 0.35rem;
    }

    .blog-entry-content {
        padding: 0.85rem;
    }

    .activation-grid,
    .solution-grid,
    .conclusion-grid {
        gap: 12px;
    }

    .activation-card {
        padding: 14px;
    }

    .blog-back-top {
        right: 12px;
        bottom: 12px;
    }
}
/* Estilos para las Cards de Activación */
.activation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin: 30px 0;
}
.activation-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 6px rgba(0,0,0,0.05);
    transition: transform 0.3s ease;
    border: 1px solid #e9ecef;
}
.activation-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 15px rgba(0,0,0,0.1);
}
.activation-card i {
    font-size: 2.5rem;
    color: #1a3669;
    margin-bottom: 15px;
    display: block;
}
.activation-card h4 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.1rem;
}
.activation-card p {
    font-size: 0.9rem;
    color: #666;
    line-height: 1.4;
    margin: 0;
}
.activation-card a {
    color: #007bff;
    text-decoration: none;
    font-weight: 600;
}
.activation-card.step-check i { color: #28a745; }
.solution-grid {
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
}

.conclusion-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
    align-items: center;
    margin-top: 40px;
}

@media (max-width: 768px) {
    .conclusion-grid {
        grid-template-columns: 1fr;
    }
}
