.news-container {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    padding-bottom: 40px;
    font-family: 'MuseoSansCyrl-500';
    font-size: 14px;
    line-height: 20px;
    color: #222222;
}

.news-rows {
    float: left;
    clear: both;
    width: 100%;
}

.news-container .row:after {
    content: "";
    display: block;
    clear: both;
}

.news-container .row-title {
    margin: 0 0 30px;
    overflow: hidden;
}

.news-container .row-title h2 {
    font-size: 20px;
    line-height: 24px;
    color: #575656;
}

.news-images .images {
    position: relative;
}

.news-images .images li.active {
    z-index: 2;
}

.news-images .navigate {
    position: absolute;
    left: 0;
    bottom: 6px;
    width: 100%;
    overflow: hidden;
    z-index: 8;
}

.news-images .navigate ul {
    width: 100%;
    overflow: hidden;
    text-align: center;
}

.news-images .navigate ul li {
    display: inline-block;
    vertical-align: top;
    margin: 0 3px;
}

.news-images .navigate ul li a {
    float: left;
    text-indent: -9999px;
    overflow: hidden;
    width: 94px;
    height: 5px;
    background-position: -356px -787px;
}

.news-images .navigate ul li a:hover,
.news-images .navigate ul li.active a {
    background-position: -256px -787px;
}

.news-container .box {
    border: 1px solid #f5f5f5;
    display: inline-block;
    vertical-align: top;
    width: 50%;
    margin-bottom: 20px;
}

.news-container .box:after {
    content: "";
    display: block;
    clear: both;
}

.news-container .box > .text {
    overflow: hidden;
    color: #575656;
    font-size: 15px;
    line-height: 20px;
}

.news-container .box > .text h1 {
    font-size: 25px;
    line-height: 30px;
    margin: 0 0 20px;
}

.news-container .box.details > .text p {
    margin: 0 0 20px 0;
}

.news-container .box.details > .text img[align=left] {
    margin: 15px 20px 15px 0;
}

.news-container .box.details > .text img[align=right] {
    margin: 15px 0 15px 20px;
}

.news-container .box.details > .text ul {
    padding-left: 20px;
    list-style-type: disc;
    margin-bottom: 20px;
}

.news-container .box.details > .text ul li {
    margin-bottom: 10px;
}

.news-container .box > .text h2 {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 20px;
    border-bottom: 2px solid #e6e9ed;
    padding-bottom: 10px;
    line-height: 30px;
}

.news-container .box > .text h2 a {
    color: #575656;
}

.news-container .box > .text p {
    margin: 0 0 12px;
    font-weight: 300;
}

.news-container .box .link-more {
    font-size: 14px;
    border-bottom: 1px dotted #ea543f;
}

.news-container .box .link-more:hover {
    text-decoration: none;
    border: 0;
}

.news-container .box .image .title {
    background: url(../../images/bg-img-shadow.png);
    padding: 16px;
    overflow: hidden;
    color: #fff;
    position: absolute;
    left: 20px;
    bottom: 20px;
    max-width: 175px;
}

.news-container .box .top {
    margin: 20px;
}

.news-container .box .image .title h2 {
    font-size: 18px;
    line-height: 19px;
}

.news-container .box .image .title a {
    color: #fff;
}

.news-container .box .image .img-tools {
    position: absolute;
    left: 11px;
    top: 20px;
    z-index: 3;
}

.news-container .box .img-tools:after,
.news-container .box .img-tools li:after {
    content: "";
    display: block;
    clear: both;
}

.news-container .box .img-tools > li:first-child {
    margin: 0;
}

.news-container .box .img-tools > li {
    color: #fff;
    font-size: 12px;
    line-height: 16px;
    float: left;
    margin: 0 0 0 13px;
    width: 37px;
    height: 37px;
    text-align: center;
    background-position: -254px -336px;
}

.news-container .white .box .img-tools > li {
    background-position: -254px -562px;
    width: 35px;
    height: 35px;
    color: #bfbebe;
}

.news-container .box .img-tools > li.views span {
    background-position: -428px -252px;
    width: 14px;
    height: 10px;
    display: block;
    margin: 0 auto;
}

.news-container .box .img-tools > li a {
    color: #fff;
}

.news-container .white .box .img-tools > li a {
    color: #bfbebe;
}

.news-container .box .img-tools > li a:hover {
    text-decoration: none;
}

.news-container .box .date strong {
    font-size: 14px;
    font-weight: 500;
    display: block;
}

.news-container .white .box .views a .icon {
    background-position: -484px -347px;
    width: 14px;
    height: 10px;
}

.news-container .box .share-ico {
    display: inline-block;
    vertical-align: top;
    width: 15px;
    height: 18px;
    font-size: 0;
    line-height: 0;
    background-position: -316px -371px;
}

.news-container .white .box .share-ico {
    background-position: -527px -341px;
    width: 15px;
    height: 18px;
}

.news-container .box .share {
    position: relative;
}

.b-share-icon {
    width: 31px !important;
    height: 31px !important;
}

.b-share-icon_vkontakte {
    background-position: -253px -56px !important;
}

.b-share-icon_vkontakte:hover {
    background-position: -253px -124px !important;
}

.b-share-icon_facebook {
    background-position: -289px -56px !important;
}

.b-share-icon_facebook:hover {
    background-position: -289px -124px !important;
}

.b-share-icon_twitter {
    background-position: -324px -56px !important;
}

.b-share-icon_twitter:hover {
    background-position: -324px -124px !important;
}

.yashare-auto-init {
    margin-left: -6px;
}

.news-container .b-share-icon {
    width: 30px !important;
    height: 29px !important;
}

.news-container .b-share-icon_vkontakte,
.news-container .b-share-icon_vkontakte:hover {
    background-position: -254px -638px !important;
}

.news-container .b-share-icon_facebook,
.news-container .b-share-icon_facebook:hover {
    background-position: -287px -638px !important;
}

.news-container .b-share-icon_twitter,
.news-container .b-share-icon_twitter:hover {
    background-position: -320px -638px !important;
}

.news-container .yashare-auto-init {
    margin-left: -6px;
    width: auto;
    display: inline-block;
    margin-top: 0;
}

.news-container .b-share__handle {
    float: none;
    display: inline-block;
    vertical-align: top;
    height: 31px;
}

.share-box {
    display: none;
    position: absolute;
    left: 55px;
    top: -6px;
    background: url(../../images/bg-left-corner.png) no-repeat 0 50%;
    padding: 0 0 0 9px;
    z-index: 22;
}

.share-form {
    background: #fff;
    border: 1px solid #d3d5d5;
    border-width: 1px 1px 1px 0;
    padding: 2px 15px 0 20px;
    overflow: hidden;
    width: 170px;
}

.share-form .text-shadow {
    position: absolute;
    left: 125px;
    top: 13px;
    width: 72px;
    height: 21px;
    text-indent: -9999px;
    overflow: hidden;
}

.share-form .text {
    float: left;
    width: 150px;
    background: none;
    border: 0;
    line-height: 19px;
    margin: 0 20px 0 0;
    padding: 7px 3px;
}

.share-form .soc {
    float: left;
}

.share-form .soc li:first-child {
    margin: 0;
}

.share-form .soc li {
    float: left;
    margin: 0 0 0 3px;
}

.share-form .soc li a {
    float: left;
    width: 29px;
    height: 29px;
    overflow: hidden;
    text-indent: -9999px;
}

.share-form .soc .vkontakte {
    background-position: -254px -638px;
}

.share-form .soc .facebook {
    background-position: -287px -638px;
}

.share-form .soc .twitter {
    background-position: -321px -638px;
}

.share-form .soc .google {
    background-position: -354px -638px;
}

.share-box .btn-close {
    margin: 12px 0 0;
    float: right;
    width: 17px;
    height: 17px;
    overflow: hidden;
    text-indent: -9999px;
    background-position: -552px -64px;
}

.news-container .box .img-tools .frame {
    width: 37px;
    height: 37px;
    display: table-cell;
    vertical-align: middle;
    font-size: 11px;
}

.news-container .row .box {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 0;
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ECECEC;
    border-radius: 4px;
    box-sizing: border-box;
}

.news-container .row .box:last-child {
    margin-right: 0;
}

.news-container .row {
    display: flex;
    flex-direction: column;
}

.news-container .row.row-detailed {
    flex-wrap: wrap;
    flex-direction: row;
}

.news-container .row.row-detailed .row-title {
    width: 100%;
}

.news-container .row.row-detailed .box {
    display: block;
    width: 100%;
}

.news-container .row.row-detailed .box .top {
    margin: 0;
    margin-bottom: 10px;
}

.news-container .row.row-detailed .box .img-tools > li a {
    margin: 0;
    font-size: 11px;
}

.news-container .row.row-detailed .box .img-tools > li a.share-ico {
    font-size: 0;
}

.news-container .row.row-detailed .box .img-tools > li a strong {
    font-size: 11px;
}

.news-container .row-title h2 {
    font-size: 17px;
    line-height: 22px;
    color: #222222;
}

.news-container .box > .text {
    font-family: 'MuseoSansCyrl-500';
    font-size: 17px;
    line-height: 1.57;
    color: #222222;
}

.news-container .box > .text h2 a {
    font-family: 'MuseoSansCyrl-700';
    font-size: 17px;
    line-height: 22px;
    color: #222222;
}

.news-container .box > .text h2 a:hover {
    opacity: 0.5;
}

.news-container .box > .text h2 a:active {
    opacity: 0.3;
}

.news-container .box .link-more {
    display: inline-block;
    margin-top: 16px;
    font-family: MuseoSansCyrl-700;
    font-size: 14px;
    line-height: 18px;
    color: #4392F1;
    text-decoration: none;
    border: none;
}

.news-container .box .link-more:hover {
    opacity: 0.7;
}

.news-container .box .link-more:active {
    opacity: 0.5;
}

.share-box {
    top: 0;
}

.share-form, .share-form fieldset {
    display: flex;
    width: auto;
    min-width: 140px;
    align-items: center;
    padding: 5px;
    box-sizing: border-box;
}

.share-box .btn-close {
    margin: 0;
    float: none;
}

.news-container .row.row-detailed .box .img-tools > li a.btn-close {
    margin-left: auto;
    margin-bottom: 5px;
}

.news-container .yashare-auto-init {
    flex: 1;
}

.share-box .ya-share2__container_size_m .ya-share2__item {
    margin: 0;
    margin-right: 10px;
}

.news-container .box.details {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    border: 0;
    margin: 0 auto 50px;
    width: 100%;
}

.news-container .box.details .text {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-left: 0;
    margin-right: 0;
    line-height: 23px;
}

.news-container .box.details .text p {
    width: 100%;
}

.news-container .box.details .text p img {
    display: block;
    margin: 0 auto;
}

.news-container a {
    display: inline-block;
    font-family: MuseoSansCyrl-700;
    font-size: 14px;
    line-height: 18px;
    color: #4392F1;
    text-decoration: none;
    border: none;
}

.news-container a:hover {
    opacity: 0.7;
}

.news-container a:active {
    opacity: 0.5;
}

.news-container .box .img-tools .views .frame a {
    margin-top: 5px;
    font-size: 14px;
}

.news-rows .box.details .news-images {
    position: relative;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 15px;
}

.news-rows .box.details .news-images img {
    max-width: 768px;
    max-height: 600px;
    width: auto;
}

.news-rows .box .image {
    position: relative;
    margin-bottom: 15px;
}

.news-container .row.row-detailed .blog-slider .box {
    min-height: 535px;
}

.news-container .row.row-detailed .blog-slider .box .top {
    min-height: 229px;
}

.news-container .row.row-detailed .blog-slider .box .img-tools {
    position: absolute;
    top: 25px;
    left: 25px;
}

.news-container .row.row-detailed .blog-slider .box .images .item a {
    width: 100%;
}

.blog-page__text {
    max-width: 710px;
    margin: 0 auto;
}

.blog-page__text p, .blog-page__text a {
    font-size: 17px;
    line-height: 1.57;
}

/* ---------- Заголовки внутри блога ---------- */
.news-container h2 {
    font-weight: bold !important;
    font-size: 24px !important;
    margin-bottom: 20px !important;
    border-bottom: 2px solid #e6e9ed !important;
    padding-bottom: 10px !important;
    line-height: 30px !important;
}

.news-container h3 {
    font-weight: bold !important;
    font-size: 20px !important;
    margin-top: 30px !important;
    margin-bottom: 15px !important;
    line-height: 30px !important;
}

/* ---------- Стили для кастомных блоков (из статьи) ---------- */
.news-container .toc-title {
    font-size: 16pt;
    font-weight: bold;
    display: block;
    margin-bottom: 10px;
}

.news-container .evangelists-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
}

.news-container .evangelist-card {
    flex: 0 1 auto;
    text-align: center;
    background: linear-gradient(145deg, #fcfcfc 0%, #f9f9f9 100%);
    padding: 20px 20px 15px;
    border-radius: 24px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    border: 1px solid #f0f2f5;
    transition: all 0.3s ease;
}

.news-container .evangelist-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(184,107,44,0.1);
    border-color: #e8d9cd;
}

.news-container .evangelist-card img {
    border-radius: 16px;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    margin-bottom: 12px;
    max-width: 100%;
    height: auto;
}

.news-container .evangelist-card .icon-title {
    font-size: 18px;
    font-weight: bold;
}

.news-container .evangelist-card .icon-title a {
    color: #b86b2c;
}

.news-container .icon-card {
    display: flex;
    align-items: center;
    gap: 30px;
    margin: 30px 0;
    padding: 25px;
    background: linear-gradient(145deg, #fcfcfc 0%, #f9f9f9 100%);
    border-radius: 24px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03), 0 2px 5px rgba(0,0,0,0.02);
    transition: all 0.3s ease;
}

.news-container .icon-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 20px 35px rgba(184,107,44,0.08), 0 5px 12px rgba(0,0,0,0.03);
    border-color: #e8d9cd;
}

.news-container .icon-card-image {
    flex-shrink: 0;
    width: 200px;
    height: 200px;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 18px rgba(0,0,0,0.1);
    border: 3px solid white;
    background: white;
}

.news-container .icon-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-container .icon-card-content {
    flex: 1;
}

.news-container .icon-card-title {
    margin: 0 0 8px 0;
    font-size: 20px;
    font-weight: bold;
}

.news-container .icon-card-title a {
    color: #b86b2c;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.news-container .icon-card-title a:hover {
    border-bottom-color: #b86b2c;
}

.news-container .icon-card-text {
    margin: 0;
    font-size: 17px;
    line-height: 1.6;
    color: #333;
}

/* Сетка для нескольких icon-card */
.news-container .icon-card-wrapper {
    margin-bottom: 60px;
}

@media (min-width: 769px) {
    .news-container .icon-card-wrapper {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 30px;
    }

    .news-container .icon-card-wrapper .icon-card {
        margin: 0;
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 25px;
    }

    .news-container .icon-card-wrapper .icon-card-image {
        width: 100%;
        max-width: 160px;
        aspect-ratio: 1 / 1;
    }

    .news-container .icon-card-wrapper .icon-card-content {
        width: 100%;
    }
}

@media (min-width: 769px) and (max-width: 1100px) {
    .news-container .icon-card-wrapper {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Общие стили для изображений и списков */
.news-container .image-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin: 30px 0;
    padding: 20px 0;
}

.news-container .image-item {
    flex: 0 1 auto;
    text-align: center;
    background-color: #fafafa;
    padding: 15px 20px 10px 20px;
    border-radius: 20px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    transition: transform 0.2s ease;
}

.news-container .image-item:hover {
    transform: scale(1.02);
}

.news-container .image-item img {
    display: block;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.news-container .banner-center {
    text-align: center;
    margin: 30px auto;
    width: auto;
    max-width: 100%;
    background: linear-gradient(145deg, #fcfcfc 0%, #f9f9f9 100%);
    padding: 15px 15px 12px;
    border-radius: 20px;
    border: 1px solid #f0f2f5;
    box-shadow: 0 10px 25px rgba(0,0,0,0.03);
    transition: all 0.3s ease;
}

.news-container .banner-center:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 30px rgba(184,107,44,0.1);
    border-color: #e8d9cd;
}

.news-container .banner-center img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 6px 14px rgba(0,0,0,0.08);
    margin-bottom: 10px;
    display: inline-block;
}

.news-container .banner-center a {
    display: block;
    font-size: 18px;
    font-weight: bold;
    color: #b86b2c;
    text-decoration: none;
    margin-top: 5px;
    padding: 5px 10px;
}

.news-container .banner-center a:hover {
    background-color: rgba(184,107,44,0.05);
    border-radius: 30px;
    text-decoration: none;
}

.news-container .styled-list {
    list-style-type: disc;
    padding-left: 20px;
    margin: 15px 0;
}

.news-container .styled-list li {
    margin-bottom: 8px;
    list-style-type: disc;
    font-size: 17px;
    line-height: 1.5;
}

.news-container .numbered-list {
    list-style-type: decimal;
    padding-left: 20px;
    margin: 15px 0;
}

.news-container .numbered-list li {
    margin-bottom: 8px;
    list-style-type: decimal;
    font-size: 17px;
    line-height: 1.5;
}

.news-container p {
    font-size: 17px;
    line-height: 1.57;
}

.news-container b, 
.news-container strong {
    font-weight: bold;
    color: #000;
}

.news-container hr {
    border: none;
    border-top: 2px dashed #d4d8dd;
    margin: 40px 0;
}

.news-container h2::before, 
.news-container h3::before {
    content: "";
    display: block;
    height: 80px;
    margin-top: -80px;
    visibility: hidden;
    pointer-events: none;
}

.news-container a {
    color: #b86b2c;
    text-decoration: none;
}

.news-container a:hover {
    text-decoration: underline;
}

.news-container i,
.news-container em {
    font-style: italic !important;
}

/* ---------- Адаптивность ---------- */
@media (max-width: 1000px) {
    .news-container .box {
        float: none;
        width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 768px) {
    .news-container .box .image,
    .news-container .box.right,
    .news-container .box.left {
        float: none;
        max-width: 100%;
        box-sizing: border-box;
    }

    .news-container .box .image > a {
        display: block;
    }

    .news-container .box .image img {
        margin: 0 auto;
        display: block;
    }

    .news-details .box.details .image img {
        margin: 0;
    }

    .news-container .banner-center img,
    .news-container .image-item img,
    .news-container .evangelist-card img {
        width: auto;
        max-width: 100%;
        height: auto;
        aspect-ratio: auto;
        object-fit: contain;
        display: inline-block;
    }
    
    .news-container .banner-center {
        width: 100%;
        max-width: 100%;
        padding: 12px;
        margin: 20px auto;
        overflow: hidden;
        line-height: 0;
    }
    
    .news-container .banner-center a {
        display: inline-block;
        max-width: 100%;
    }
    
    .news-container .banner-center br {
        display: none;
    }

    /* На мобилках icon-card становятся вертикальными */
    .news-container .icon-card {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
        padding: 20px;
    }
    
    .news-container .icon-card-image {
        width: 160px;
        height: 160px;
        flex-shrink: 0;
    }
    
    .news-container .icon-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        aspect-ratio: 1 / 1;
    }

    .news-container .evangelist-card {
        width: 100%;
        max-width: 280px;
        margin-left: auto;
        margin-right: auto;
        padding: 15px;
    }
    
    .news-container .evangelist-card img {
        max-width: 100%;
        height: auto;
        object-fit: contain;
    }
}

@media (max-width: 500px) {
    .news-container .box.left .image img, 
    .news-container .box.right .image img {
        width: 100%;
    }

    .share-box {
        border-left: 1px solid #c6c6c6;
        padding-left: 0;
        top: 50px;
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (min-width: 768px) {
    .news-container .row {
        flex-direction: row;
    }

    .news-container .row .box {
        margin-right: 20px;
        margin-bottom: 20px;
    }
}

@media (min-width: 1024px) {
    .news-container .row .box {
        flex-direction: row;
        align-items: flex-start;
        justify-content: center;
    }

    .news-container.news-details .news-rows {
        flex-direction: column;
    }

    .news-container.news-details .row.row-detailed {
        margin: 0 auto;
    }

    .news-rows .box .image {
        margin-bottom: 0;
        margin-right: 20px;
    }

    .news-rows .box.details .news-images {
        margin-left: auto;
        margin-right: auto;
        margin-bottom: 20px;
    }
}