.vknews .vknews-intro { margin-bottom: 25px; }
.vknews-grid { display: flex; flex-wrap: wrap; margin: 0 -12px; }
.vknews-card {
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    width: calc(33.333% - 24px);
    min-width: 0;
    margin: 0 12px 28px;
    padding: 16px 0 0;
    border-top: 1px solid #ccc;
    color: #322c27;
}
.vknews-card-title { font-size: 20px; line-height: 1.35; margin: 0 0 10px; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
#news-next { display: inline-block; padding: 12px 20px; margin: 15px 0 30px; border: 1px solid #d87920; color: #322c27; }
.vknews-image { display: block; position: relative; margin-bottom: 15px; }
.vknews-media { position: relative; display: flex; height: 220px; overflow: hidden; background: #e8e8e8; justify-content: center; }
.vknews-media--lead { height: 400px; }
.content .vknews-media img { display: block; width:auto; height: 100%; margin: 0; padding: 0; position: absolute; }
.content .vknews-media-main { position: relative; z-index: 1; object-fit: cover; object-position: center center; }
.content .vknews-media-blur { display: none; }
.vknews-media.is-portrait .vknews-media-blur {
    position: absolute; top: -20px; left: -20px; display: block;
    width: calc(100% + 40px); height: calc(100% + 40px);
    object-fit: cover; filter: blur(18px); opacity: .65;
}
.vknews-media.is-portrait .vknews-media-main { object-fit: contain; }
.vknews-video {
    position: absolute;
    bottom: 8px;
    left: 8px;
    padding: 4px 9px;
    background: #322c27;
    color: #fff;
    font-size: 14px;
}
.vknews-date { display: block; margin-bottom: 10px; font-size: 14px; color: #666; }
.content .vknews-text {
    margin: 0 0 16px;
    font-size: 16px;
    line-height: 24px;
    white-space: pre-line;
    overflow-wrap: break-word;
    word-wrap: break-word;
}
.vknews .vknews-more {
    align-self: flex-start;
    margin-top: auto;
    padding-bottom: 4px;
    border-bottom: 2px solid #ffb244;
    color: #322c27;
    font-size: 14px;
    text-decoration: none;
}
.vknews .vknews-more:hover { border-color: #eb4d29; }
.vknews a:focus { outline: none; }
.vknews a:focus-visible { outline: 2px solid #322c27; outline-offset: 3px; }
.content .vknews-message { padding: 20px; background: #f7f7f7; border-left: 4px solid #ffb244; }
.vknews-sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0, 0, 0, 0); }
.slabo .vknews-date, .slabo .vknews .vknews-more { font-size: 18px; line-height: 26px; }
.slabo .content .vknews-text { font-size: 20px; line-height: 30px; }
@media screen and (max-width: 1100px) {
    .vknews-card { width: calc(50% - 24px); }
}
@media screen and (max-width: 600px) {
    .vknews-grid { display: block; margin: 0; }
    .vknews-card { width: 100%; margin: 0 0 28px; }
    .vknews-media--card { height: 60vw; max-height: 320px; }
}
@supports (aspect-ratio: 16 / 10) {
    @media screen and (max-width: 600px) {
        .vknews-media--card { height: auto; max-height: none; aspect-ratio: 16 / 10; }
    }
}
.vknews-home-block { display: grid; grid-template-columns: minmax(0, 3fr) minmax(0, 2fr); gap: 20px; margin-bottom: 30px; }
.vknews-home-block .onws { display: block; width: auto; min-width: 0; margin: 0; }
.vknews-home-block .nwsmr { display: block; position: relative; width: auto; min-width: 0; min-height: 0; height: auto; }
.vknews-home-scroll { position: absolute; top: 0; right: 0; bottom: 0; left: 0; overflow-y: auto; }
.vknews-home-block .ntshadow { display: none; }
@media screen and (max-width: 650px) {
    .vknews-home-block { display: block; }
    .vknews-home-block .nwsmr { margin-top: 18px; }
    .vknews-home-scroll { position: static; max-height: 350px; }
    .vknews-media--lead { height: 62vw; max-height: 400px; }
}

.vknews .vknews-card-text { color: inherit; text-decoration: none; }
.vknews .vknews-card-text:hover, .vknews .vknews-card-text:active,
.vknews .vknews-card-text:focus, .vknews .vknews-image:hover,
.vknews .vknews-image:active, .vknews .vknews-image:focus { text-decoration: none; }
.vknews-detail h1 { overflow-wrap: break-word; word-wrap: break-word; }
.vknews-detail-title { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; max-height: 2.7em; overflow: hidden; line-height: 1.35; }
.vknews-full-text { white-space: pre-line; overflow-wrap: break-word; word-wrap: break-word; font-size: 16px; line-height: 1.6; margin-bottom: 20px; }
.vknews-part { margin-bottom: 25px; }
.vknews-repost { padding: 12px 0 12px 18px; border-left: 3px solid #ffb244; }
.vknews .vknews-source { font-size: 14px; color: #666; margin-bottom: 15px; }
.vknews-gallery { margin: 0 0 14px; background: #f1f1f1; }
.vknews-gallery.slick-slider { margin-bottom: 14px; padding: 20px 0; }
.vknews-gallery .slick-list, .vknews-gallery .slick-track { height: 420px; }
.vknews-gallery .slick-prev, .vknews-gallery .slick-next { z-index: 2; width: 36px; height: 44px; }
.vknews-gallery .slick-prev { left: 8px; }
.vknews-gallery .slick-next { right: 8px; }
.vknews-gallery .slick-prev:before, .vknews-gallery .slick-next:before { color: #909090;font-size: 70px; }
.vknews-photo, .vknews-gallery.slick-slider .vknews-photo {
    display: flex !important; flex-direction: column; align-items: center; justify-content: center;
    box-sizing: border-box; width: 100%; height: 420px; padding: 8px;
}
.vknews-gallery .slick-prev, .vknews-gallery .slick-next {
	margin-top: -40px;
}
.content .vknews-photo img { display: block; max-width: 100%; max-height: 100%; width: auto; height: auto; padding: 0; margin: 0; object-fit: contain; }
.vknews-photo-caption { flex: 0 0 auto; max-width: 100%; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.vknews-thumb-nav { display: grid; grid-template-columns: 36px minmax(0, 1fr) 36px; gap: 6px; align-items: center; margin-bottom: 20px; }
.vknews-thumb-arrow { height: 58px; border: 0; background: #eee; color: #322c27; font-size: 27px; cursor: pointer; }
.vknews-thumb-arrow:disabled { opacity: .35; cursor: default; }
.vknews-thumbnails { display: flex; gap: 6px; min-width: 0; overflow-x: auto; scrollbar-width: thin; scroll-behavior: smooth; }
.vknews-thumbnails button { flex: 0 0 72px; width: 72px; height: 54px; padding: 0; border: 2px solid #ddd; cursor: pointer; background: #fff; }
.vknews-thumbnails button.is-active, .vknews-thumbnails button:focus-visible { border-color: #d87920; }
.vknews-thumbnails img { width: 100%; height: 100%; object-fit: cover; padding: 0;}
.vknews-player { position: relative; height: 0; padding-bottom: 56.25%; background: #171717; }
.vknews-player iframe { position: absolute; left: 0; top: 0; width: 100%; height: 100%; border: 0; }
.vknews-video-block { margin: 20px 0; }
.vknews .vknews-video-source, .vknews .vknews-photo-pending { font-size: 14px; line-height: 22px; margin: 10px 6px; }
.vknews-footer-links a { display: inline-block; margin: 10px 20px 0 0; }
.slabo .vknews-full-text { font-size: 20px; line-height: 1.6; }
@media screen and (max-width: 600px) {
    .vknews-photo, .vknews-gallery.slick-slider .vknews-photo { height: 270px; }
    .vknews-gallery .slick-list, .vknews-gallery .slick-track { height: 270px; }
    .vknews-thumbnails button { flex-basis: 62px; width: 62px; height: 48px; }
    .vknews-repost { padding-left: 10px; }
}
