/* =====================================================
   ARTÍCULO BLOG
===================================================== */

.article-page {
    background: #FCFCF9;
    color: #5E6763;
}


/* =====================================================
   HERO
===================================================== */

.article-hero {
    position: relative;

    padding: 80px 0 60px;

    overflow: hidden;

    background:
        linear-gradient(
            90deg,
            #ffffff 0%,
            #ffffff 55%,
            #F6FBF8 100%
        );
}

.article-hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -120px;
    top: -100px;

    border-radius: 50%;

    background: rgba(88,189,183,.08);
}

.article-hero-content {
    position: relative;
    z-index: 2;

    max-width: 850px;

    margin: auto;

    text-align: center;
}

.article-category {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    padding: 9px 18px;

    margin-bottom: 22px;

    border-radius: 50px;

    background: #EEF7F1;

    color: #2E8068;

    font-size: 13px;
    font-weight: 600;
}

.article-category i {
    color: #58BDB7;
}

.article-hero h1 {
    margin: 0;

    color: #23463D;

    font-size: 54px;

    line-height: 1.1;

    font-weight: 700;
}

.article-hero h1 span {
    color: #58BDB7;
}

.article-intro {
    max-width: 650px;

    margin: 25px auto 0;

    color: #66736F;

    font-size: 17px;

    line-height: 1.7;
}

.article-meta {
    display: flex;

    justify-content: center;

    gap: 25px;

    margin-top: 25px;

    color: #71807B;

    font-size: 14px;
}

.article-meta span {
    display: flex;

    align-items: center;

    gap: 7px;
}

.article-meta i {
    color: #58BDB7;
}


/* =====================================================
   IMAGEN
===================================================== */

.article-cover {
    padding-bottom: 70px;
}

.article-cover-image {
    max-width: 1050px;

    margin: auto;

    overflow: hidden;

    border-radius: 35px;

    box-shadow:
        0 20px 50px rgba(0,0,0,.10);
}

.article-cover-image img {
    width: 100%;

    display: block;

    max-height: 520px;

    object-fit: cover;
}


/* =====================================================
   CONTENIDO
===================================================== */

.article-content-section {
    padding: 30px 0 100px;
}

.article-layout {
    display: grid;

    grid-template-columns: minmax(0, 1fr) 320px;

    gap: 70px;

    max-width: 1100px;

    margin: auto;
}


/* =====================================================
   TEXTO
===================================================== */

.article-content {
    color: #596762;

    font-size: 16px;

    line-height: 1.85;
}

.article-content h2 {
    margin: 45px 0 18px;

    color: #23463D;

    font-size: 28px;

    line-height: 1.3;
}

.article-content p {
    margin-bottom: 20px;
}

.article-lead {
    color: #465852;

    font-size: 19px;

    line-height: 1.8;
}


/* =====================================================
   DESTACADO
===================================================== */

.article-highlight {
    display: flex;

    align-items: center;

    gap: 20px;

    margin: 35px 0;

    padding: 25px 30px;

    border-radius: 25px;

    background: #EEF7F4;

    border-left: 4px solid #58BDB7;
}

.article-highlight i {
    flex-shrink: 0;

    width: 45px;
    height: 45px;

    border-radius: 50%;

    display: flex;

    align-items: center;
    justify-content: center;

    background: #58BDB7;

    color: white;
}

.article-highlight p {
    margin: 0;

    color: #38554D;

    font-size: 15px;
}


/* =====================================================
   LISTA
===================================================== */

.article-list {
    padding: 0;

    margin: 25px 0;

    list-style: none;
}

.article-list li {
    display: flex;

    align-items: flex-start;

    gap: 12px;

    margin-bottom: 14px;
}

.article-list i {
    color: #58BDB7;

    margin-top: 6px;
}


/* =====================================================
   COMPARTIR
===================================================== */

.article-share {
    display: flex;

    align-items: center;

    gap: 12px;

    margin-top: 55px;

    padding-top: 25px;

    border-top: 1px solid #E2EBE7;
}

.article-share span {
    margin-right: 8px;

    color: #23463D;

    font-weight: 600;
}

.article-share a {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #EEF7F4;

    color: #2E8068;

    text-decoration: none;

    transition: .25s;
}

.article-share a:hover {
    background: #58BDB7;

    color: white;
}


/* =====================================================
   SIDEBAR
===================================================== */

.article-sidebar {
    display: flex;

    flex-direction: column;

    gap: 25px;
}

.sidebar-card {
    padding: 28px;

    border-radius: 25px;

    background: white;

    box-shadow:
        0 12px 35px rgba(0,0,0,.06);
}

.sidebar-icon {
    width: 50px;
    height: 50px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 50%;

    background: #EEF7F4;

    color: #58BDB7;

    margin-bottom: 15px;
}

.sidebar-card h3 {
    margin: 0 0 12px;

    color: #23463D;

    font-size: 19px;
}

.sidebar-card p {
    margin: 0 0 18px;

    color: #66736F;

    font-size: 14px;

    line-height: 1.7;
}

.sidebar-card > a:not(.sidebar-button) {
    color: #2E8068;

    text-decoration: none;

    font-size: 14px;

    font-weight: 600;
}


/* BOTÓN */

.sidebar-button {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 12px 18px;

    border-radius: 50px;

    background: #2E8068;

    color: white !important;

    text-decoration: none;

    transition: .25s;
}

.sidebar-button:hover {
    background: #1F6756;
}


/* ARTÍCULOS RELACIONADOS */

.related-post {
    display: flex !important;

    align-items: center;
    justify-content: space-between;

    gap: 10px;

    padding: 14px 0;

    border-bottom: 1px solid #E7EEEB;
}

.related-post:last-child {
    border-bottom: none;
}

.related-post span {
    color: #53635E;
    font-weight: 500;
}

.related-post i {
    color: #58BDB7;
}


/* =====================================================
   CTA
===================================================== */

.article-cta {
    padding: 80px 0;

    background:
        linear-gradient(
            135deg,
            #23463D,
            #2E8068
        );
}

.article-cta-content {
    max-width: 700px;

    margin: auto;

    text-align: center;

    color: white;
}

.article-cta-content > i {
    font-size: 35px;

    margin-bottom: 15px;

    color: #B8E5DE;
}

.article-cta h2 {
    margin: 0;

    font-size: 32px;
}

.article-cta p {
    margin: 15px 0 28px;

    color: #E5F3F0;
}

.article-cta a {
    display: inline-flex;

    align-items: center;

    gap: 10px;

    padding: 14px 25px;

    border-radius: 50px;

    background: white;

    color: #2E8068;

    text-decoration: none;

    font-weight: 600;

    transition: .25s;
}

.article-cta a:hover {
    transform: translateY(-2px);
}


/* =====================================================
   TABLET
===================================================== */

@media (max-width: 991px) {

    .article-layout {
        grid-template-columns: 1fr;

        gap: 50px;
    }

    .article-sidebar {
        display: grid;

        grid-template-columns: repeat(2, 1fr);
    }

}


/* =====================================================
   CELULAR
===================================================== */

@media (max-width: 576px) {

    .article-hero {
        padding: 55px 0 40px;
    }

    .article-hero h1 {
        font-size: 36px;
    }

    .article-intro {
        font-size: 15px;
    }

    .article-meta {
        flex-direction: column;

        align-items: center;

        gap: 8px;
    }

    .article-cover {
        padding-bottom: 40px;
    }

    .article-cover-image {
        border-radius: 20px;
    }

    .article-content-section {
        padding-bottom: 60px;
    }

    .article-content {
        font-size: 15px;
    }

    .article-content h2 {
        font-size: 24px;
    }

    .article-lead {
        font-size: 17px;
    }

    .article-highlight {
        padding: 20px;

        gap: 14px;
    }

    .article-sidebar {
        display: flex;
    }

    .article-cta {
        padding: 60px 20px;
    }

    .article-cta h2 {
        font-size: 26px;
    }

}
