﻿#main .container {
    padding-bottom: 30px;
}

.container {
    width: 1144px;
    margin: 0px auto;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.breadcrumb {
    border-bottom: 1px solid #ebebeb;
    display: flex;
    flex-direction: row;
    gap: 20px;
    align-items: baseline;
}
    .breadcrumb .bre-main:first-child, .breadcrumb > a:first-child, .article-heading span, .article-heading > a {
        border-bottom: 1px solid #ed2227;
        font-size: 25px;
        padding-bottom: 7px;
        height: 100%;
        display: inline-block;
        z-index: 10;
        position: relative;
        margin-bottom: 0;
        margin-top: 0;
    }
.main-post {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 25px;
}
.post-left-container, .post-right-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.article-list-cat {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 21px;
    border-bottom: 1px solid #ebebeb;
    padding-bottom: 25px;
}

.article-list-top {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 21px;
}
.article-list-cat .article-item:first-of-type {
    display: flex !important;
    flex-direction: row-reverse;
    gap: 35px;
    background-color: #f9f9f9;
    padding-left: 20px;
    padding-right: 0;
}
.article-list-cat .article-item:first-child {
    grid-column: 1 / 4;
}

.article-list-top .article-item:first-of-type {
    display: grid;
    grid-template-columns: 540px 1fr;
    gap: 23px;
    background-color: #f9f9f9;
}
.article-list-cat .article-item:first-child .article-item-image {
    margin-bottom: 0px;
}

.article-list-cat .article-item:first-child .article-item-image {
    max-width: 540px;
}

.article-list-top .article-item:first-of-type .article-item-image {
    margin-bottom: 0px;
}

.article-item-image {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
}
    .article-item-image::before {
        content: '';
        display: block;
        padding-top: 56.25%;
    }
    .article-item-image img {
        width: 100%;
        min-height: 100%;
        position: absolute;
        top: 0;
    }

img {
    width: auto;
    max-width: 100%;
    object-fit: cover;
}
.article-list-top .article-item:first-of-type .article-item-content {
    padding-top: 20px;
}
.article-list-cat .article-item:first-child .article-item-title {
    font-size: 25px;
}
.article-item-title {
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
    margin-top: 0;
    font-size: 16px;
    font-family: 'Merriweather', serif;
}
.article-item-detail {
    margin-top: 11px;
    color: #666666;
    font-weight: 400;
    display: block;
}
.article-list-top .article-item:not(:first-child) {
    display: flex;
    flex-direction: column;
    gap: 15px;
}
    .article-list-top .article-item:not(:first-child) .article-item-detail {
        display: none;
    }
.article-listing {
    display: flex;
    flex-direction: column;
    gap: 25px;
}
    .article-listing .article-item:first-of-type {
        margin-top: 0;
        padding-top: 0;
        border: 0;
    }

    .article-listing .article-item {
        display: grid;
        grid-template-columns: 280px 1fr;
        gap: 25px;
        padding-top: 25px;
        border-top: 1px solid #ebebeb;
    }
    .article-listing .article-item-title {
        font-size: 18px;
    }
.__MB_ARTICLE_PAGING {
    display: flex;
    flex-direction: row;
    gap: 10px;
    align-items: center;
    justify-content: center;
}
    .__MB_ARTICLE_PAGING span:first-child {
        display: none;
    }

    .__MB_ARTICLE_PAGING a, .__MB_ARTICLE_PAGING span {
        display: flex;
        height: 40px;
        background: #d7d7d7;
        font-weight: 400;
        color: #fff;
        align-items: center;
        font-size: 13px;
        padding: 0 30px;
        border-radius: 30px;
    }
    .__MB_ARTICLE_PAGING .current {
        background: #55286d !important;
    }
.post-left-container, .post-right-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 25px;
}
.article-sidebar .article-heading {
    margin-bottom: 25px;
    margin-top:0;
}
    .article-sidebar .article-heading span, .article-sidebar .article-heading a {
        line-height: 1;
        padding-bottom: 13px;
    }
.article-list-siderbar {
    display: grid;
    grid-template-columns: 1fr;
    gap: 23px;
}
    .article-list-siderbar .article-item:first-of-type {
        padding-top: 0;
        border-top: 0;
    }

    .article-list-siderbar .article-item {
        padding-top: 23px;
        display: grid;
        grid-template-columns: 132px 1fr;
        gap: 24px;
        border-top: 1px solid #ebebeb;
    }
    .article-list-siderbar .article-item-image {
        margin-bottom: 0;
    }
.article-heading {
    position: relative;
    margin-bottom: 32px;
}
.article-heading::before {
    content: "";
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 1px;
    background-color: #ebebeb;
}
.article-item-content .article-item-title {
    font-size: 13px;
} 