.cm-blog-section {
    width: 100%;
    padding: 50px 0 80px;
    background: #f7faff;
    font-family: "DM Sans", sans-serif;
    overflow: hidden;
}


.cm-blog-container {
    width: 100%;
    box-sizing: border-box;
    max-width: 1458px;
    margin: 0 auto;
    padding: 0 24px;
}



/* HEADER*/

.cm-blog-header {
    text-align: center;
    max-width: 850px;
    margin: 0 auto 38px;
}


.cm-blog-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    padding: 8px 15px;

    background: #e9f3ff;
    color: #147fe5;

    border-radius: 999px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: .3px;
}


.cm-blog-eyebrow i {
    font-size: 13px;
}


.cm-blog-header h2 {
    margin: 18px 0 15px;

    font-size: clamp(38px, 5vw, 52px);
    line-height: 1.08;

    letter-spacing: -2px;

    color: #0d1b36;
    font-weight: 750;
}


.cm-blog-header h2 span {
    color: #1677ed;
}


.cm-blog-header p {
    max-width: 650px;
    margin: 0 auto;

    font-size: 17px;
    line-height: 1.65;

    color: #61718d;
}



/*  FEATURED ARTICLE */

.cm-featured-blog {
    display: grid;

    grid-template-columns: 1.02fr 1fr;

    min-height: 315px;

    overflow: hidden;

    background: #ffffff;

    border: 1px solid #e3ebf5;

    border-radius: 22px;

    box-shadow:
        0 12px 40px rgba(20, 67, 120, .07);

    transition:
        transform .3s ease,
        box-shadow .3s ease;
}


.cm-featured-blog:hover {
    transform: translateY(-3px);

    box-shadow:
        0 18px 50px rgba(20, 67, 120, .11);
}



/* IMAGE */

.cm-featured-image {
    position: relative;

    min-height: 315px;

    overflow: hidden;

    background: #eaf4ff;
}


.cm-featured-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition:
        transform .6s cubic-bezier(.2,.8,.2,1);
}


.cm-featured-blog:hover
.cm-featured-image img {
    transform: scale(1.035);
}


.cm-image-floating-card {
    position: absolute;

    left: 22px;
    bottom: 20px;

    display: flex;
    align-items: center;
    gap: 8px;

    padding: 9px 13px;

    background: rgba(255,255,255,.94);

    border: 1px solid rgba(255,255,255,.7);

    border-radius: 10px;

    color: #183153;

    font-size: 12px;
    font-weight: 700;

    box-shadow:
        0 8px 20px rgba(0,0,0,.1);

    backdrop-filter: blur(8px);
}


.cm-image-floating-card i {
    color: #1677ed;
}



/* FEATURE CONTENT */

.cm-featured-content {
    display: flex;
    flex-direction: column;

    justify-content: center;

    padding: 42px 45px;
}


.cm-featured-label {
    margin-bottom: 12px;

    color: #1677ed;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .5px;
}


.cm-featured-content h3 {
    margin: 0;

    max-width: 540px;

    color: #0c1b37;

    font-size: 28px;
    line-height: 1.17;

    letter-spacing: -.8px;

    font-weight: 750;
}


.cm-featured-content p {
    max-width: 540px;

    margin: 14px 0 17px;

    color: #61718d;

    font-size: 14px;
    line-height: 1.65;
}



/* FEATURE META */

.cm-blog-meta {
    display: flex;
    align-items: center;

    flex-wrap: wrap;

    gap: 17px;

    color: #6b7a94;

    font-size: 11px;
}


.cm-blog-meta span {
    display: inline-flex;
    align-items: center;
    gap: 6px;
}


.cm-blog-meta i {
    color: #526987;
}



/* FEATURE BUTTON */

.cm-read-featured {
    display: inline-flex;
    align-items: center;

    gap: 12px;

    width: fit-content;

    margin-top: 23px;

    color: #1677ed;

    font-size: 13px;
    font-weight: 800;

    text-decoration: none;

    transition: gap .25s ease;
}


.cm-read-featured:hover {
    gap: 17px;
}


.cm-read-featured i {
    font-size: 14px;
}



/*  LATEST HEADER*/

.cm-latest-header {
    display: flex;
    align-items: center;
    justify-content: space-between;

    margin: 36px 0 14px;
}


.cm-latest-header h3 {
    margin: 0;

    color: var(--brand-ink);

    font-size: 20px;
    font-weight: 750;

    letter-spacing: -.3px;
}


.cm-latest-header a {
    display: flex;
    align-items: center;
    gap: 10px;

    color: #1677ed;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
}


.cm-latest-header a i {
    transition: transform .2s ease;
}


.cm-latest-header a:hover i {
    transform: translateX(4px);
}



/* ARTICLE LIST*/

.cm-article-list {
    background: #ffffff;

    border: 1px solid #e2eaf4;

    border-radius: 16px;

    overflow: hidden;

    box-shadow:
        0 7px 25px rgba(20, 67, 120, .04);
}


.cm-article-row {
    display: grid;

    grid-template-columns:
        230px
        minmax(0, 1fr)
        90px
        80px
        32px;

    align-items: center;

    gap: 25px;

    min-height: 90px;

    padding: 9px 20px 9px 16px;

    border-bottom: 1px solid #edf1f6;

    transition:
        background .25s ease,
        padding .25s ease;
}


.cm-article-row:last-child {
    border-bottom: none;
}


.cm-article-row:hover {
    background: #f8fbff;
    padding-left: 20px;
}



/* ARTICLE IMAGE */

.cm-article-image {
    width: 230px;
    height: 70px;

    overflow: hidden;

    border-radius: 8px;

    background: var(--brand-soft);
}


.cm-article-image img {
    width: 100%;
    height: 100%;

    display: block;

    object-fit: cover;

    transition: transform .45s ease;
}


.cm-article-row:hover
.cm-article-image img {
    transform: scale(1.06);
}



/* ARTICLE INFORMATION */

.cm-article-info {
    min-width: 0;
}


.cm-article-info h4 {
    margin: 0 0 6px;

    color: #12213c;

    font-size: 14px;
    line-height: 1.3;

    font-weight: 700;
}


.cm-article-date {
    display: flex;
    align-items: center;
    gap: 8px;

    color: #8490a5;

    font-size: 10px;
}


.cm-article-date span {
    color: #bbc3d0;
}



/*  TAGS */

.cm-article-tag {
    justify-self: center;

    padding: 7px 12px;

    border-radius: 999px;

    font-size: 10px;
    font-weight: 700;
}


.cm-article-tag.hosting {
    background: #eaf4ff;
    color: #1677ed;
}


.cm-article-tag.cloud {
    background: #f0ecff;
    color: #7655e8;
}


.cm-article-tag.business {
    background: #e6f8f1;
    color: #19a76d;
}


.cm-article-tag.security {
    background: #fff2e9;
    color: #e97836;
}



/* READ TIME */

.cm-read-time {
    color: #71809a;

    font-size: 10px;

    text-align: center;

    white-space: nowrap;
}



/* ARROW */

.cm-article-arrow {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 28px;
    height: 28px;

    color: #1677ed;

    text-decoration: none;

    border-radius: 50%;

    transition:
        background .2s ease,
        transform .2s ease;
}


.cm-article-arrow:hover {
    background: #eaf4ff;

    transform: translateX(3px);
}



/*  FILTER ANIMATION */



.cm-article-row.show {
    animation: articleIn .35s ease both;
}


@keyframes articleIn {

    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }

}



/*  RESPONSIVE */

@media (max-width: 1000px) {

    .cm-blog-container {
        max-width: 900px;
    }


    .cm-article-row {
        grid-template-columns:
            180px
            minmax(0, 1fr)
            75px
            70px
            28px;

        gap: 15px;
    }


    .cm-article-image {
        width: 180px;
    }


    .cm-featured-content {
        padding: 30px;
    }


    .cm-featured-content h3 {
        font-size: 24px;
    }

}



/* TABLET */

@media (max-width: 760px) {

    .cm-blog-section {
        padding: 80px 0;
    }


    .cm-blog-header h2 {
        letter-spacing: -1.3px;
    }



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


    .cm-featured-image {
        min-height: 240px;
    }


    .cm-featured-content {
        padding: 30px 25px;
    }


    .cm-article-row {
        grid-template-columns: 130px 1fr 30px;

        gap: 15px;
    }


    .cm-article-image {
        width: 130px;
        height: 65px;
    }


    .cm-article-tag,
    .cm-read-time {
        display: none;
    }

}



/* MOBILE */

@media (max-width: 520px) {

    .cm-blog-section {
        padding: 65px 0;
    }


    .cm-blog-container {
        padding: 0 16px;
    }


    .cm-blog-header h2 {
        font-size: 34px;
    }


    .cm-blog-header p {
        font-size: 14px;
    }


    .cm-featured-image {
        min-height: 190px;
    }


    .cm-featured-content {
        padding: 24px 20px;
    }


    .cm-featured-content h3 {
        font-size: 22px;
    }


    .cm-blog-meta {
        gap: 10px;
    }


    .cm-blog-meta span:last-child {
        display: none;
    }


    .cm-latest-header {
        margin-top: 30px;
    }


    .cm-latest-header a {
        font-size: 10px;
    }


    .cm-article-row {
        grid-template-columns: 95px minmax(0, 1fr) 25px;

        padding: 10px;

        gap: 12px;
    }


    .cm-article-row:hover {
        padding-left: 13px;
    }


    .cm-article-image {
        width: 95px;
        height: 62px;

        border-radius: 7px;
    }


    .cm-article-info h4 {
        font-size: 12px;

        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;

        overflow: hidden;
    }


    .cm-article-date {
        font-size: 9px;
    }


    .cm-article-arrow {
        width: 25px;
        height: 25px;
    }

}

