
.blog-section {
    width: 100%;
    display: flex;
    justify-content: center;
    background: #1F2724;
    padding-top: 139px;
    padding-bottom: 163px;
}

@media (max-width: 1050px) {
    .blog-section {
        padding-top: 56px;
        padding-bottom : 69px;
    }
}



.slider-mobile {
    display: none;
    

     .blog-section-item {
        max-width: 100%;

        a {
            text-decoration: none;
            width: 100%;
        }

        img {
            max-width: 100%;
            max-height: 140px;
            width: 100%;
            height: 100%;
            object-fit: cover;
        }
     }
}

@media (max-width: 1050px) {
    .slider-mobile {
        display: flex;
    }
}

.blog-slider-controls-mobile {
    display: none;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 32px;

    .blog-slider-control-button {
        background-color: #16FF4A;
        border: none;
        height: 40px;
        width: 40px;
        border-radius: 100%;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition:  0.3s ease;
    }

    .blog-slider-control-button:hover, .blog-slider-control-button:disabled {
        background: #11912d;
    }
}

@media (max-width: 1050px) {

    .blog-slider-controls-mobile {
        display: flex;
    }

    .slider-mobile {

        display: flex;
        width: 100%;
    }
}

.blog-section-container {
    max-width: 1217px;
    width: 100%;

    @media (max-width: 1220px) {
        padding-left:25px;
        padding-right: 25px;
    }

    .blog-section-title {
        font-size: 36px;
        font-weight: 700;
        line-height: 44px;
        color: #fff;
        max-width: 655px;
        margin-bottom: 81px;

        mark {
            background: linear-gradient(180deg, #16FF4A 0%, #16FF4A 100%);
            background-clip: text;
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
        }
    }

    @media (max-width: 1050px) {
        .blog-section-title {
            margin-bottom: 32px;
            font-size: 24px;
            line-height: 32px;
            max-width: 100%;
            text-align: center;
        }
    }
}

    .blog-section-list {
        display: flex;
        flex-direction: row;
        gap: 16px;
        list-style-type: none;
        justify-content: space-between;

        @media (max-width: 1050px) {
            display: none;
        }  
    }


 .blog-section-item {
            display: flex;
            flex-direction: column;
            align-items: flex-start;
            justify-content: flex-start;
            
            a {
            text-decoration: none;
        width: 100%;

        }

        .blog-section-item a img, .blog-section-item-image {
            width: 100%;
            height: 100%;
            max-width: 339px;
            max-height: 140px;
            object-fit: cover;
            border-radius: 16px;
        }

        .blog-section-item-title {
            font-size: 18px;
            font-weight: 600;
            color: #fff;
            margin-top: 12px;
            text-decoration: none;
            max-width: 339px;
        }

        .blog-section-item-date {
            font-size: 14px;
            font-weight: 400;
            color: #fff;
        }
    }

.blog-hero {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 150px;
    padding-bottom: 160px;
}

@media (max-width: 1050px) {
    .blog-hero {
        padding-top: 100px;
        padding-bottom: 69px;
    }

    .blog-section-item .blog-section-item-title {
        max-width: 100%;
    }
}

.blog-hero-container {
    max-width: 1217px;
    width: 100%;

    .hero-header {
        display: flex;
        flex-direction: row;
        align-items: flex-end;
        justify-content: space-between;
        padding-bottom: 61px;
        border-bottom: 1px solid #FFFFFF1A;
    }

    .hero-title {
        font-size: 36px;
        font-weight: 700;
        line-height: 44px;
        color: #16FF4A;
        max-width: 655px;
    }

    .hero-text {
        font-size: 18px;
        font-weight: 400;
        color: #fff;
        margin-top: 24px;
        max-width: 655px;
    }
}

@media (max-width: 1220px) {
    .blog-hero-container {
        padding-left: 25px;
        padding-right: 25px;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 750px) {
   .blog-hero-container .hero-header {
        flex-direction: column;
        align-items: center;
        justify-content: center;

        .hero-title {
            text-align: center;
        }

        .hero-text {
            text-align: center;
        }
    }
}

.newsletter-container {
    .newsletter-title {
        font-size: 12px;
        font-weight: 400;
        line-height: 15px;
        color: #fff;
        text-transform: uppercase;
        margin-bottom: 13px;
    }

    form {
        display: flex;
        flex-direction: row;
        background: #F1F1F11A;
        background-color: #F1F1F11A;
        border-radius: 8px;
        overflow: hidden;
        border: 1px solid transparent;
        max-width: 387px;
        width: 387px;
    }

    form:hover {
        border: 1px solid #16FF4A;
    }

    input {
        width: 100%;
        height: 56px;
        padding: 16px;
        border: 1px solid transparent;
        font-size: 16px;
        font-weight: 700;
        line-height: 24px;
        background: #F1F1F11A;
        color: #fff;
    }

    input::placeholder {
        font-weight: 500;
    }

    input:focus {
        outline: none;
    }

    button {
        height: 56px;
        outline: none;
        border: none;
        width: 40px;
        background: #F1F1F11A;
        cursor: pointer;
    }
}

@media (max-width: 750px) {
    .newsletter-container {
        align-items: center;
        justify-content: center;
        margin-top: 32px;
        max-width: 100%;
        width: 100%;

        .newsletter-title {
            text-align: center;
        }

        form {
            max-width: 100%;
            width: 100%;
        }
    }   
}


.pinned-post {
    width: 100%;
    display: flex;
    margin-top: 78px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 50px;

    @media (max-width: 750px) {
        flex-direction: column-reverse;
        gap: 32px;
    }

    .info {
        display: flex;
        flex-direction: column;
        gap: 16px;
        max-width: 332px;

            @media (max-width: 750px) {
            max-width: 100%;    
            width: 100%;
        }

        .info-date {
            font-size: 14px;
            font-weight: 400;
            color: #fff;
        }

        a {
            text-decoration: none;
        }

        .info-title {
            font-size: 32px;
            line-height: 41px;
            font-weight: 600;
            color: #fff;
        }

        .pinned-post-button {
            outline: none;
            border: none;
            border-radius: 12px;
            font-size: 16px;
            font-weight: 600;
            line-height: 24px;
            background: #16FF4A;
            transition: all 0.3s ease;
            cursor: pointer;
            color: #010101;
            max-width: fit-content;
            text-decoration: none;
            padding: 12px 32px 12px 32px;
        }

        .pinned-post-button:hover {
            background: #1a8c32;
            color: #fff;
            -webkit-transform: scale(1.1);
            transform: scale(1.1);
        }
    }

    .image-container {
        max-width: 695px;
        max-height: 389px;
        width: 100%;
        height: 100%;
        position: relative;
    }

    .image-container .post-image {
        width: 100%;
        height: 100%;
        object-fit: cover;
        border-radius: 16px;
    }

    .image-container-illustration {
        width: 354px;
        height: 60px;
        position: absolute;
        right: -69px;
        bottom: 69px;
    }
}


.blog-content-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-bottom: 111px;
}



.blog-content-list-container {
    max-width: 1217px;
    width: 100%;

    .blog-content-list-title {
        font-size: 36px;
        font-weight: 700;
        line-height: 44px;
        color: #fff;
    }
}

@media (max-width: 1220px) {
    .blog-content-list-container {
        padding-left: 25px;
        padding-right: 25px;
        max-width: 100%;
        width: 100%;
    }
}

@media (max-width: 950px) {
    .blog-content-list-container .blog-content-list-title {
        font-size: 24px;
        line-height: 32px;
        text-align: center;
    }
}

.content-list {
    margin-top: 67px;
    display: flex;
    flex-wrap: wrap;
    row-gap: 102px;
}

@media (max-width: 1220px) {
    .content-list {
       
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;

        .blog-section-item {

            a {
                width: 100%;
            }

            img {
                width: 100%;
                height: 100%;
                object-fit: cover;
            }
        }
    }
}

@media (max-width: 950px) {
    .content-list {
        grid-template-columns: repeat(1, 1fr);
    }

   .content-list .blog-section-item  img {
        max-width: 100%;
        width: 100%;
    }
}

.pagination {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    list-style-type: none;
    margin-top: 111px;
    gap: 16px;

    .pagination-item {
        cursor: pointer;
        width: 50px;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 40px;
        border-radius: 8px ;
        transition: all 0.3s ease;
        background: #F1F1F11A;

        

        a {
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            line-height: 24px;
            color: #757385;
        }
    }

    .active, .pagination-item:hover {
        background: #16FF4A;

         a {
            text-decoration: none;
            font-size: 16px;
            font-weight: 500;
            line-height: 24px;
            color: #171E1B;

        }
    }
}

.blog-section-item-content-category-and-date {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 24px;
    max-width: fit-content;

    .dot {
        width: 4px;
        height: 4px;
        background: #fff;
        border-radius: 100%;
    }
}

.blog-section-item-content-category-and-date .blog-section-item-category {
    font-size: 12px;
    text-transform: uppercase;
    font-weight: 400;
    color: #fff;
    background: #39403D;
    font-family: 'Inter';
    padding: 4px 8px;
    height: 24px;
    border-radius: 4px;
    opacity: 0px;
}