@charset "utf-8";

body {
    margin: 0;
    color: #333;
}

body p,
li,
a,
button {
    font-family: "Source Sans 3", sans-serif;
}

body h1,
h2,
h3 {
    font-family: "Inter", sans-serif;
}

body button {
    font-family: "Source Sans 3", sans-serif;
}

body button:hover {
    background-color: #2f2f2f;
    color: #FFF;
    transition: .5s;
}

/* ==========================================
   DigitalNexora — Premium Corporate Style
========================================== */
main {
    width: 80%;
    margin-left: 10%;
    padding-top: 0px;
    padding-bottom: 70px;
}

/* ======================================================
   ESTILOS - ARTÍCULO DE BLOG (RECURSOS ESTRATÉGICOS)
   ====================================================== */

/* --- Barra de Progreso --- */
.progress-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: transparent;
    z-index: 9999;
}

.progress-bar {
    height: 4px;
    background-color: #FF6C2C;
    /* Naranja Nexora */
    width: 0%;
    transition: width 0.1s ease;
}

/* --- Contenedor Principal --- */
.blog-post-sec {
    width: 100%;
    background-color: #ffffff;
    padding-bottom: 80px;
    height: auto;
    font-family: "Source Sans 3", sans-serif;
}

/* --- Encabezado --- */
.post-header {
    background-color: #f4f6f9;
    padding: 80px 0 50px 0;
}

.post-wrapper {
    width: 90%;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.breadcrumb {
    font-size: 13px;
    color: #555555;
    margin-bottom: 20px;
    font-weight: 600;
}

.breadcrumb a {
    color: #123C5A;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb a:hover {
    color: #056839;
}

.tag-categoria {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffffff;
    background-color: #123C5A;
    padding: 6px 15px;
    border-radius: 4px;
    margin-bottom: 25px;
}

.post-title {
    font-family: "Inter", sans-serif;
    font-size: 42px;
    color: #0c1b33;
    font-weight: 900;
    margin: 0 0 25px 0;
    line-height: 1.2;
    letter-spacing: -1px;
}

.post-meta {
    font-size: 14px;
    color: #888888;
    margin-bottom: 40px;
}

.post-meta strong {
    color: #123C5A;
}

/* --- Estructura del Cuerpo (Grid) --- */
.post-body-wrapper {
    width: 90%;
    max-width: 1100px;
    margin: 80px auto 0 auto;
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 60px;
    align-items: start;
}

/* --- Sidebar (Índice) --- */
.post-sidebar {
    position: sticky;
    top: 100px;
    background-color: #ffffff;
    border-right: 1px solid #eaeaea;
    padding-right: 20px;
}

.table-of-contents h3 {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
    margin-bottom: 20px;
}

.table-of-contents ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.table-of-contents ul li {
    margin-bottom: 12px;
}

.table-of-contents ul li a {
    color: #555555;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
    display: block;
    line-height: 1.4;
}

.table-of-contents ul li a:hover {
    color: #FF6C2C;
}

/* --- Contenido Textual --- */
.post-content section {
    margin-bottom: 40px;
}

.post-content h2 {
    font-family: "Inter", sans-serif;
    font-size: 28px;
    color: #0c1b33;
    font-weight: 800;
    margin: 0 0 20px 0;
}

.post-content p {
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 20px;
}

.lead-paragraph {
    font-size: 22px !important;
    color: #123C5A !important;
    font-weight: 500;
    line-height: 1.6 !important;
}

.post-list {
    margin: 0 0 30px 20px;
    padding: 0;
}

.post-list li {
    font-size: 18px;
    color: #4a4a4a;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* --- Cita Destacada (Blockquote) --- */
.post-quote {
    margin: 40px 0;
    padding: 30px;
    background-color: #f8f9fa;
    border-left: 5px solid #FF6C2C;
    font-family: "Inter", sans-serif;
    font-size: 22px;
    font-style: italic;
    color: #123C5A;
    line-height: 1.5;
    border-radius: 0 8px 8px 0;
}

/* --- CTA Interno --- */
.post-inline-cta {
    background-color: #123C5A;
    padding: 40px;
    border-radius: 8px;
    text-align: center;
    margin: 50px 0;
    box-shadow: 0 10px 30px rgba(18, 60, 90, 0.15);
}

.post-inline-cta h3 {
    font-family: "Inter", sans-serif;
    color: #ffffff;
    font-size: 24px;
    margin: 0 0 15px 0;
}

.post-inline-cta p {
    color: #d1d5db;
    font-size: 16px;
    margin-bottom: 25px;
}

.btn-post-cta {
    display: inline-block;
    background-color: #FF6C2C;
    color: #ffffff;
    text-decoration: none;
    padding: 14px 30px;
    font-size: 15px;
    font-weight: 700;
    border-radius: 4px;
    text-transform: uppercase;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.btn-post-cta:hover {
    background-color: #056839;
    transform: translateY(-2px);
}

/* ======================================================
   DISEÑO RESPONSIVO
   ====================================================== */
@media only screen and (max-width: 992px) {
    .post-body-wrapper {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .post-sidebar {
        position: static;
        border-right: none;
        border-bottom: 1px solid #eaeaea;
        padding-right: 0;
        padding-bottom: 20px;
    }
}

@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .post-header {
        padding: 60px 0 0 0;
    }

    .post-title {
        font-size: 38px;
    }

    .post-meta {
        font-size: 16px;
    }

    .post-body-wrapper {
        margin-top: 50px;
    }

    .post-content h2 {
        font-size: 32px;
    }

    .post-content p,
    .post-list li {
        font-size: 22px;
        line-height: 1.6;
    }

    .lead-paragraph {
        font-size: 26px !important;
    }

    .post-quote {
        font-size: 26px;
        padding: 25px;
    }

    .post-inline-cta {
        padding: 30px 20px;
    }

    .post-inline-cta h3 {
        font-size: 30px;
    }

    .post-inline-cta p {
        font-size: 22px;
    }

    .btn-post-cta {
        font-size: 20px;
        padding: 20px 30px;
    }
}

/**/
/* ======================================================
   ESTILOS - BLOQUE DE COMPARTIR B2B (CENTRADO)
   ====================================================== */

.post-share-sec {
    margin-top: 50px;
    padding-bottom: 30px;
    padding-top: 30px;
    border-top: 1px solid #eaeaea;
    display: flex;
    flex-direction: column;
    align-items: center;
    /* Centrado del contenedor principal */
    text-align: center;
}

.share-title {
    font-family: "Inter", sans-serif;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #888888;
    margin-bottom: 15px;
    font-weight: 700;
}

.share-buttons-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
    /* Centrado de los botones dentro de su fila */
}

.btn-share {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: #f8f9fa;
    border: 1px solid #eaeaea;
    color: #123C5A;
    padding: 10px 18px;
    border-radius: 4px;
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-share:hover {
    background-color: #ffffff;
    border-color: #056839;
    color: #056839;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(5, 104, 57, 0.08);
}

.copy-link-btn {
    border-color: #123C5A;
    color: #123C5A;
}

/* --- Notificación flotante (Toast) --- */
.toast-mensaje {
    visibility: hidden;
    min-width: 250px;
    background-color: #0c1b33;
    color: #ffffff;
    text-align: center;
    border-radius: 4px;
    padding: 12px;
    position: fixed;
    z-index: 1000;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-family: "Source Sans 3", sans-serif;
    font-size: 14px;
    opacity: 0;
    transition: opacity 0.3s, bottom 0.3s;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.toast-mensaje.mostrar {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* ======================================================
   DISEÑO RESPONSIVO (MÓVIL)
   ====================================================== */
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
    .post-share-sec {
        margin-top: 60px;
        padding-top: 40px;
    }

    .share-title {
        font-size: 20px;
        margin-bottom: 25px;
    }

    .share-buttons-grid {
        width: 100%;
        flex-direction: column;
        gap: 15px;
    }

    .btn-share {
        width: 100%;
        justify-content: center;
        padding: 15px;
        font-size: 20px;
    }

    .btn-share svg {
        width: 24px;
        height: 24px;
    }

    .toast-mensaje {
        font-size: 18px;
        min-width: 80%;
        padding: 15px;
    }
}

/**/
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {

    /* Hero */

    .hero h1 {
        font-size: 2.0rem;
        margin-bottom: 20px;
    }



}