.blog-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    row-gap: 55px;
    column-gap: 17px;
}

.blog-list__item {
    border-radius: 4px;
    overflow: hidden;
    background: #FFF;
    box-shadow: 0px 10px 13px -3px #D5E5F9;
    display: flex;
    flex-direction: column;
    border: 1px solid transparent;
    transition: 0.3s;
}

.blog-list__item-content {
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 15px;
}

.blog-list__item-picture {
    width: 100%;
    height: 180px;
}

.blog-list__item-picture > img {
    width: 100%;
    height: 100%;
    object-fit: cover;

}

.blog-list__item-content-title {
    font-size: 16px;
    font-style: normal;
    font-weight: 400;
    line-height: 130%;
    color: black;
    height: 42px;
    -webkit-line-clamp: 2;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    transition: 0.3s;
}

.blog-list__item-content-preview-text {
    color: #828282;
    font-family: Arial;
    font-size: 13px;
    font-style: normal;
    font-weight: 400;
    line-height: 131%;
    height: 70px;
    -webkit-line-clamp: 4;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

@media (hover: hover) {
    .blog-list__item:hover .blog-list__item-content-title {
        color: #ef2034;
    }

    .blog-list__item:hover {
        border-color: #ef2034;
        text-decoration: none !important;

    }
}

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

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

@media (max-width: 576px) {
    .blog-list {
        grid-template-columns: repeat(1, 1fr);
        row-gap: 30px;
    }
}


.blog-detail > * {
    margin-bottom: 20px !important;
}

.blog-detail h2 {
    font-size: 22px;
}

.blog-detail h3 {
    font-size: 20px;
}

.blog-detail p {
    line-height: 1.6;
    font-size: 18px;
}

.blog-detail ol {
    list-style: auto;
    font-size: 18px;
    padding-left: 30px;
}

.blog-detail ul {
    font-size: 18px;
}

.blog-detail__picture {
    width: 100%;
    height: 600px;
    object-fit: cover;
}

@media (max-width: 768px) {
    .blog-detail__picture {
        height: 400px;
    }

    .blog-detail ol {
        list-style: auto;
        font-size: 18px;
        padding-left: 15px;
    }
}

@media (max-width: 576px) {
    .blog-detail__picture {
        height: 250px;
        margin-left: -15px;
        width: calc(100% + 30px);
    }
}

.blog-detail__back-button {
    font-size: 18px;
    color: #2d1406;
    font-weight: 700;
    display: flex;
    align-items: center;
    width: fit-content;
    transition: 0.3s;
    gap: 5px
}

.blog-detail__back-button::before {
    content: "←";
    font-size: 20px;
    line-height: 1;
    margin-top: -6px;
    color: #2d1406;
    transition: 0.3s;
}

@media (hover: hover) {
    .blog-detail__back-button:hover {
        color: #ef2034;
    }

    .blog-detail__back-button:hover::before {
        color: #ef2034;
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fade-in-post {
    animation: fadeIn 0.3s ease-in-out;
}

.blog-padding-top {
    padding-top: 90px;
}
