.last-posts {
    margin-bottom: 100px;
}

.last-posts__container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
}

.lastest-post {
    width: 65%;
    background: #FFFFFF;
    border-radius: 20px;
    height: fit-content;
}

.last-posts__list-container {
    width: 35%;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
}

.last-posts__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 24px;
}

.last-posts__list {
    display: flex;
    flex-direction: column;
    gap: 20px;
    overflow-y: auto;
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.last-posts__list::-webkit-scrollbar {
    display: none;
}

.last-posts__element {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 8px;
}

.last-posts__element-link {
    display: block;
}

.last-posts__element-tags {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
}

.last-posts__element-tag {
    padding: 8px;
    font-weight: 500;
    font-size: 12px;
    border-radius: 30px;
}

.last-posts__element-title {
    font-weight: 600;
    font-size: 20px;
    line-height: 120%;
    margin-bottom: 12px;
}

.last-posts__element-details {
    display: flex;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: #A2A2AA;
}

@media (max-width: 768px) {

    .last-posts__element {
        background: #FFFFFF;
        border-radius: 16px;
        padding: 8px;
        box-sizing: border-box;
        width: 100%;
    }

    .last-posts {
        margin-bottom: 40px;
    }

    .last-posts__container {
        display: flex;
        flex-direction: column;
        justify-content: space-between;
        align-items: center;
        gap: 16px;
    }

    .lastest-post {
        width: 100%;
        height: auto;
    }
    
    .last-posts__list-container {
        width: 100%;
    }

    .last-posts__list {
        width: 100%;
        gap: 8px;
        overflow-y: visible;
    }
}