.main-content .blog .section:first-child {
    margin-top: 0;
}

.blog .section .img-container {
    border-radius: 100%;
    aspect-ratio: 4/4;
    border: 4px solid transparent;
}

.blog .section:nth-child(even) .img-container {
    border-color: #f9f9f9;
}

.blog .section:nth-child(odd) .img-container {
    border-color: #ffffff;
}

.blog .section .img-container::before {
    z-index: 5;
    opacity: 0;
    visibility: visible;
    background-color: #40b4d7;
}

.blog .section .img-container.loaded::before {
    opacity: 0.05;
}

.blog .section .col-img {
    width: 35%;
    
}

.blog .section .col-text .h4 {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 12px;
    color: #424244;
    font-weight: 800;
    font-size: 32px;
}

.blog .section .col-text {
    width: 65%;
    padding-left: 48px;
    padding-right: 48px;
}

.blog .section .col-text span {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 140%;
    color: #40b4d7;
    font-weight: 800;
    text-transform: uppercase;
}

.blog .section .col-text .text p {
    width: 100%;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 36px;
    line-height: 140%;
    font-size: 18px;
}

.blog .section .col-img:first-child {
    display: none;
}

.blog .section:nth-child(even) .col-img:first-child {
    display: block;
}

.blog .section:nth-child(odd) .col-img:last-child {
    display: block;
}

.blog .section .col-img:last-child {
    display: none;
}

.blog .section:nth-child(even) .button {
    background-color: #40b4d7;
}

.blog .section:nth-child(odd) .button {
    background-color: #40b4d7;
}

.blog .col-text {
    opacity: 0;
    transform: scale(0.9);
    transition: all 0.5s ease-in-out;
}

.blog .col-img {
    opacity: 0;
    transition: all 0.5s ease-in-out;
    transform: scale(1.1);
}


.blog .section.anim .col-text {
    transition-delay: 0.3s;
    opacity: 1;
    transform: scale(1);
}

.blog .section.anim .col-img {
    transition-delay: 0;
    opacity: 1;
    transform: scale(1);
}

.blog .section .img-container {
    border-width: 4px;
}

/* mobial */
@media screen and (max-width: 890px) {
 
    .blog .section {
        padding-top: 36px;
        padding-bottom: 36px;
    }

    .blog .section .row, .blog .section .row .col {
        padding-top: 0;
        padding-bottom: 0;
    }

    .blog .section .col-text {
        padding-left: 18px;
        padding-right: 18px;
    }

    .blog .section .col-text .h4 {
        font-size: 22px;
    }

    .blog .section .col-text .text p {
        font-size: 16px;
        margin-bottom: 24px;
    }

    .blog .section .img-container {
        border-width: 8px;
    }

    .blog .section .col-text .button {
        margin-bottom: 0;
    }



}

@media screen and (max-width: 540px) {
    .blog .section .col-text, .blog .section .col-img {
        width: 100%;
    }

    .blog .section .col-img {
        max-width: 70%;
        margin-bottom: 24px;
    }

    .blog .section:nth-child(2n+1) .col-img:last-child {
        display: none;
    }

    .blog .section .col-img:first-child {
        display: block;
    }

}