@font-face {
    font-family: 'logo';
    src: url('/font/logo.eot');
    src: local('☺'), url('/font/logo.woff') format('woff'), url('/font/logo.ttf') format('truetype'), url('/font/logo.svg') format('svg');
    font-weight: normal;
    font-style: normal;
}

@media (max-width: 768px) {
    /* MOBILE FINAL CONSISTENT LAYER v6 */
    :root {
        --m6-bg: #eef3f8;
        --m6-surface: #ffffff;
        --m6-border: #ccd9e5;
        --m6-text: #27465f;
        --m6-muted: #6f879b;
        --m6-primary: #2d96d3;
        --m6-radius-card: 14px;
        --m6-radius-ctl: 10px;
    }

    body,
    body .x0-body-wrapper,
    body .x0-layout-header,
    body .x0-layout-body,
    body .x0-layout-menu {
        background: var(--m6-bg) !important;
        color: var(--m6-text) !important;
    }

    body .auth-plashka .limiter.container.clear {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 46px !important;
        padding: 0 12px !important;
    }

    body .auth-plashka .menu.floatl,
    body .auth-plashka .menu.floatr {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        margin: 0 !important;
        float: none !important;
    }

    body .auth-plashka .menu.floatl > li,
    body .auth-plashka .menu.floatr > li {
        height: auto !important;
        margin: 0 !important;
    }

    body .auth-plashka .menu.floatr > li:not(.mobile-menu-trigger) {
        display: none !important;
    }

    body .auth-plashka .menu > li > a,
    body .auth-plashka .menu > li > span,
    body .auth-plashka .city-selector-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        height: 46px !important;
        line-height: 1 !important;
        text-decoration: none !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body .auth-plashka .city-auto-badge,
    body .auth-plashka .city-selector-btn .icon-location,
    body .auth-plashka .menu.floatl > li > i {
        display: none !important;
    }

    body .x0-mobile-menu-toggle {
        width: 40px !important;
        height: 32px !important;
        top: 0 !important;
        border-radius: 8px !important;
    }

    body .grid-element-logo,
    body .x0-layout-header_adaptive .grid-element-logo {
        margin-top: 8px !important;
        margin-bottom: 10px !important;
        padding-top: 0 !important;
    }

    body .logo-svg {
        max-width: 286px !important;
        width: min(100%, 286px) !important;
    }

    body .logo-post {
        margin-top: 6px !important;
        margin-bottom: 12px !important;
        color: #415c71 !important;
    }

    body .x0-layout-header .search {
        background: var(--m6-surface) !important;
        border: 1px solid var(--m6-border) !important;
        border-radius: var(--m6-radius-card) !important;
        box-shadow: none !important;
        padding: 12px !important;
    }

    body .x0-layout-header .search form {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    body .x0-layout-header .search form > a.block_inline[target="_blank"] {
        display: none !important;
    }

    body .x0-layout-header .search-mobile-label {
        flex: 0 0 100% !important;
        width: 100% !important;
        margin-bottom: 2px !important;
    }

    body .x0-layout-header .search-q {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 40px !important;
        border-radius: var(--m6-radius-ctl) !important;
    }

    body .x0-layout-header .search-q input {
        height: 38px !important;
        font-size: 16px !important;
    }

    body .x0-layout-header .search-submit {
        flex: 0 0 88px !important;
        height: 40px !important;
        min-width: 88px !important;
        line-height: 40px !important;
        border-radius: var(--m6-radius-ctl) !important;
        background: var(--m6-primary) !important;
    }

    body .layout_showcase .slider1.block_gradient-yellow {
        background: var(--m6-surface) !important;
        border: 1px solid var(--m6-border) !important;
        border-radius: var(--m6-radius-card) !important;
        box-shadow: none !important;
        padding: 12px !important;
    }

    body .layout_showcase .slider1.block_gradient-yellow .page__block {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body .rating-mobile-title {
        margin-bottom: 10px !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul {
        gap: 6px !important;
        height: auto !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li {
        width: calc(50% - 3px) !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        height: 40px !important;
        min-height: 40px !important;
        font-size: 13px !important;
        border-radius: var(--m6-radius-ctl) !important;
    }

    body .layout-content_rating .rating__item-title {
        font-size: 14px !important;
        line-height: 1.32 !important;
    }

    body .layout-content_rating .rating__item-num {
        font-size: 14px !important;
    }

    body .layout-content_rating .rating__wrapper_second {
        margin-top: 8px !important;
        padding-top: 8px !important;
    }

    body .layout-content_rating .button.button_flat-shadowed,
    body .layout-content_rating .button.button_flat-shadowed > div {
        height: 40px !important;
        line-height: 40px !important;
        border-radius: var(--m6-radius-ctl) !important;
    }

    body .layout-content_news .page__block,
    body .x0-layout-body .layout-content_news .block_gray {
        background: var(--m6-surface) !important;
        border: 1px solid var(--m6-border) !important;
        border-radius: var(--m6-radius-card) !important;
        box-shadow: none !important;
    }

    body .x0-layout-body .page-caption.page-caption_h2 h2,
    body .x0-layout-body .page-caption_h2 h2 {
        margin-bottom: 8px !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini h3 {
        font-size: 17px !important;
        line-height: 1.24 !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini .x0-date {
        color: var(--m6-muted) !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special {
        font-size: 20px !important;
        line-height: 1.12 !important;
        font-weight: 600 !important;
    }

    body .x0-layout-menu .grid > li > ol > li > a {
        font-size: 14px !important;
        line-height: 1.35 !important;
        color: #436783 !important;
    }

    body #cityModal .city-modal {
        border-radius: var(--m6-radius-card) !important;
    }

    body #cityModal .city-modal-title {
        font-size: 20px !important;
        line-height: 1.15 !important;
    }

    body #cityModal .city-btn {
        height: 42px !important;
        line-height: 42px !important;
        border-radius: var(--m6-radius-ctl) !important;
    }
}

@media (max-width: 768px) {
    /* MOBILE DESIGN CONTRACT v7 */
    :root {
        --v7-bg: #edf3f8;
        --v7-surface: #ffffff;
        --v7-border: #cfdbe6;
        --v7-text: #28435a;
        --v7-subtext: #6f8799;
        --v7-primary: #2c97d6;
        --v7-primary-dark: #237fb5;
        --v7-radius-card: 14px;
        --v7-radius-ctl: 10px;
    }

    html,
    body {
        height: auto !important;
        min-height: 100% !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: var(--v7-bg) !important;
    }

    body {
        position: relative !important;
        font-family: "Helvetica Neue", Arial, sans-serif !important;
        color: var(--v7-text) !important;
    }

    body .x0-body-wrapper,
    body .x0-layout-header,
    body .x0-layout-body,
    body .x0-layout-menu {
        background: var(--v7-bg) !important;
        color: var(--v7-text) !important;
    }

    body .x0-body-wrapper {
        padding-top: 46px !important;
    }

    body .auth-plashka {
        height: 46px !important;
        min-height: 46px !important;
        background: #1f2832 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.12) !important;
    }

    body .auth-plashka .limiter.container.clear {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 46px !important;
        padding: 0 12px !important;
    }

    body .auth-plashka .menu.floatl,
    body .auth-plashka .menu.floatr {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        float: none !important;
        margin: 0 !important;
    }

    body .auth-plashka .menu.floatr > li:not(.mobile-menu-trigger),
    body .auth-plashka .city-auto-badge,
    body .auth-plashka .city-selector-btn .icon-location,
    body .auth-plashka .menu.floatl > li > i {
        display: none !important;
    }

    body .auth-plashka .menu > li,
    body .auth-plashka .menu > li > a,
    body .auth-plashka .menu > li > span,
    body .auth-plashka .city-selector-btn {
        height: 46px !important;
        line-height: 46px !important;
    }

    body .auth-plashka .menu > li > a,
    body .auth-plashka .menu > li > span,
    body .auth-plashka .city-selector-btn {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
        border: 0 !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #eef4fb !important;
    }

    body .x0-mobile-menu-toggle {
        width: 40px !important;
        height: 32px !important;
        top: 0 !important;
        border-radius: 8px !important;
        border: 0 !important;
        background: var(--v7-primary) !important;
        box-shadow: none !important;
    }

    body .grid-element-logo,
    body .x0-layout-header_adaptive .grid-element-logo {
        padding-top: 0 !important;
        margin: 8px 0 12px 0 !important;
    }

    body .logo-svg {
        width: min(100%, 286px) !important;
        max-width: 286px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    body .logo-post {
        margin-top: 6px !important;
        margin-bottom: 14px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
        color: #3f5c72 !important;
    }

    body .x0-layout-header .search {
        background: var(--v7-surface) !important;
        border: 1px solid var(--v7-border) !important;
        border-radius: var(--v7-radius-card) !important;
        box-shadow: none !important;
        padding: 12px !important;
        overflow: visible !important;
    }

    body .x0-layout-header .search form {
        display: flex !important;
        flex-wrap: wrap !important;
        align-items: center !important;
        gap: 8px !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body .x0-layout-header .search form > a.block_inline[target="_blank"] {
        display: none !important;
    }

    body .x0-layout-header .search-mobile-label {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin-bottom: 2px !important;
        font-size: 34px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
        color: var(--v7-text) !important;
    }

    body .x0-layout-header .search-q {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 42px !important;
        border: 1px solid #bed0df !important;
        border-radius: var(--v7-radius-ctl) !important;
        background: #fff !important;
    }

    body .x0-layout-header .search-q input {
        height: 40px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #33526a !important;
    }

    body .x0-layout-header .search-q input::placeholder {
        color: #86a0b5 !important;
        font-weight: 500 !important;
    }

    body .x0-layout-header .search-submit {
        flex: 0 0 88px !important;
        min-width: 88px !important;
        height: 42px !important;
        line-height: 42px !important;
        border: 0 !important;
        border-radius: var(--v7-radius-ctl) !important;
        background: var(--v7-primary) !important;
        color: #fff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        box-shadow: none !important;
    }

    body .x0-layout-header .search-submit:active {
        background: var(--v7-primary-dark) !important;
    }

    body .layout_showcase .slider1.block_gradient-yellow,
    body .layout-content_news .page__block,
    body .x0-layout-body .layout-content_news .block_gray,
    body .x0-layout-menu .grid > li {
        background: var(--v7-surface) !important;
        border: 1px solid var(--v7-border) !important;
        border-radius: var(--v7-radius-card) !important;
        box-shadow: none !important;
    }

    body .layout_showcase .slider1.block_gradient-yellow {
        padding: 12px !important;
    }

    body .layout_showcase .slider1.block_gradient-yellow .page__block {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .rating-mobile-title {
        margin: 0 0 10px 0 !important;
        font-size: 40px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
        color: #20384c !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul {
        display: flex !important;
        gap: 6px !important;
        height: auto !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li {
        position: static !important;
        left: auto !important;
        width: calc(50% - 3px) !important;
        margin: 0 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        height: 42px !important;
        min-height: 42px !important;
        border-radius: var(--v7-radius-ctl) !important;
        border: 1px solid #bed0df !important;
        background: #f6fafe !important;
        color: #466a87 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li.active > a,
    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a.active {
        background: var(--v7-primary) !important;
        border-color: var(--v7-primary) !important;
        color: #fff !important;
    }

    body .layout-content_rating .rating__wrapper_second {
        border-top: 1px solid #dbe6ef !important;
        margin-top: 8px !important;
        padding-top: 8px !important;
    }

    body .layout-content_rating .rating__item-title {
        font-size: 14px !important;
        line-height: 1.35 !important;
        color: #3a5a74 !important;
    }

    body .layout-content_rating .rating__item-num {
        font-size: 14px !important;
        color: #67839a !important;
    }

    body .layout-content_rating .button.button_flat-shadowed,
    body .layout-content_rating .button.button_flat-shadowed > div {
        height: 42px !important;
        line-height: 42px !important;
        border: 0 !important;
        border-radius: var(--v7-radius-ctl) !important;
        background: var(--v7-primary) !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    body .layout-content_rating .button.button_flat-shadowed > div > span {
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    body .x0-layout-body .page-caption.page-caption_h2 h2,
    body .x0-layout-body .page-caption_h2 h2 {
        margin: 0 0 10px 0 !important;
        font-size: 40px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
        color: #233d53 !important;
    }

    body .pub-list.pub-list_mini > li {
        width: 100% !important;
        float: none !important;
        padding-right: 0 !important;
        margin-bottom: 12px !important;
    }

    body .pub-list.pub-list_mini > li > .clear {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    body .pub-list.pub-list_mini .pub-list__image {
        width: 64px !important;
        min-width: 64px !important;
        height: 64px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        display: block !important;
    }

    body .pub-list.pub-list_mini img.x0-image,
    body .pub-list.pub-list_mini .pub-list__image img {
        width: 64px !important;
        height: 64px !important;
        object-fit: cover !important;
    }

    body .pub-list.pub-list_mini .pub-list__body {
        margin-left: 0 !important;
        flex: 1 1 auto !important;
        min-width: 0 !important;
    }

    body .pub-list.pub-list_mini h3 {
        margin: 0 0 4px 0 !important;
        font-size: 17px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        color: #2b4a63 !important;
    }

    body .pub-list.pub-list_mini .x0-date {
        margin: 0 0 6px 0 !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        color: var(--v7-subtext) !important;
    }

    body .pub-list.pub-list_mini .x0-date + *,
    body .pub-list.pub-list_mini p,
    body .pub-list.pub-list_mini .x0-text-sm {
        font-size: 14px !important;
        line-height: 1.28 !important;
        color: #405f77 !important;
    }

    body #cityModal .city-modal {
        border: 1px solid var(--v7-border) !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 26px rgba(22, 41, 58, 0.24) !important;
    }

    body #cityModal .city-modal-title {
        font-size: 40px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
        color: #29445a !important;
    }

    body #cityModal .city-btn {
        height: 42px !important;
        line-height: 42px !important;
        border-radius: var(--v7-radius-ctl) !important;
        font-size: 15px !important;
        font-weight: 600 !important;
    }

    body #cityModal .city-btn-primary {
        background: var(--v7-primary) !important;
        border-color: var(--v7-primary) !important;
        color: #fff !important;
    }

    body #cityModal .city-btn-secondary,
    body #cityModal .city-btn-geo {
        background: #f4f8fc !important;
        border: 1px solid #c9d7e3 !important;
        color: #4a6780 !important;
    }

    body #cityModal .city-popular-label {
        font-size: 13px !important;
        color: #7a92a6 !important;
    }

    body #cityModal .city-links {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px 10px !important;
    }

    body #cityModal .city-links .city-quick {
        line-height: 1.25 !important;
    }

    body .x0-layout-menu {
        background: var(--v7-bg) !important;
        padding: 10px !important;
    }

    body .x0-layout-menu .grid > li {
        padding: 10px !important;
        margin-bottom: 10px !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special > i {
        display: none !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special > span {
        padding-left: 0 !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special {
        display: block !important;
        margin-bottom: 8px !important;
        font-size: 30px !important;
        line-height: 1.12 !important;
        font-weight: 700 !important;
        color: #2e5270 !important;
    }

    body .x0-layout-menu .grid > li > ol {
        padding-left: 0 !important;
        margin-top: 0 !important;
    }

    body .x0-layout-menu .grid > li > ol > li {
        margin-bottom: 0 !important;
    }

    body .x0-layout-menu .grid > li > ol > li > a {
        display: block !important;
        padding: 6px 0 !important;
        font-size: 15px !important;
        line-height: 1.32 !important;
        color: #4a6f8d !important;
    }
}

.logo,
.logo:hover {
    font-family: logo;
    font-size: 74px;
    display: block;
    width: 360px;
    height: 30px;
    line-height: 30px;
    padding: 10px 10px 10px 14px;
    text-align: left;
    vertical-align: middle;
    text-decoration: none;
    color: #ffffff;
    border-radius: 10px;
    /* Permalink - use to edit and share this gradient: http://colorzilla.com/gradient-editor/#0072bc+1,7db9e8+100 */
    background: rgb(0,114,188); /* Old browsers */
    background: -moz-linear-gradient(top,  rgba(0,114,188,1) 1%, rgba(125,185,232,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(1%,rgba(0,114,188,1)), color-stop(100%,rgba(125,185,232,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top,  rgba(0,114,188,1) 1%,rgba(125,185,232,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top,  rgba(0,114,188,1) 1%,rgba(125,185,232,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top,  rgba(0,114,188,1) 1%,rgba(125,185,232,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom,  rgba(0,114,188,1) 1%,rgba(125,185,232,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0072bc', endColorstr='#7db9e8',GradientType=0 ); /* IE6-9 */
}

.logo-link {
    display: inline-block;
    text-decoration: none;
}

.logo-svg {
    display: block;
    width: 360px;
    height: 50px;
    max-width: 100%;
    vertical-align: top;
}

.rating-mobile-title {
    display: none;
}

.rating-tab-label_full {
    display: inline;
}

.rating-tab-label_short {
    display: none;
}

.animate-spin_low-speed {
    display: inline-block;
    transform-origin: 50% 50%;
    animation: logo-spin-low 12s linear infinite;
}

@keyframes logo-spin-low {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.logo-container {
    display: table-cell;
    vertical-align: top;
    padding-right: 10px;
}

.logo-0 {
    vertical-align: top;
    color: #a5d9ff;
}

.logo-c {
    color: #57a5d6;
    margin-left: 15px;
}

.logo-o {
    color: #ffffff;
}

.logo-u {
    color: #fff12d;
}

.logo-a {
    color: #34424c;
}

.logo-post {
    display: block;
    padding-top: 10px;
}
.x0-layout-header_adaptive .logo-post {
    display: table-cell;
    padding-top: 5px;
    vertical-align: middle;
}
    .logo-post > div {
        display: inline;
    }
    .x0-layout-header_adaptive .logo-post > div {
        display: block;
    }

    .logo-post img {
        vertical-align: baseline;
    }

.grid-element-logo {
    width: 36.5%;
}
.x0-layout-header_adaptive .grid-element-logo {
    width: 50%;
}

.grid-element-top {
    position: static;
    width: 29.5%;
}
.x0-layout-header_adaptive .grid-element-top {
    position: absolute;
    left: -120px;
    width: auto;
    bottom: 0px;
    height: 30px;
}
    .grid-element-top .page-header__quote {
        height: auto;
    }
    .x0-layout-header_adaptive .grid-element-top .page-header__quote {
        height: 30px;
    }

    .grid-element-top .page-header__quote-text {
        height: 110px;
        display: table-cell;
        vertical-align: middle;
        padding-left: 0px;
        padding-right: 110px;
        line-height: normal;
    }
    .x0-layout-header_adaptive .grid-element-top .page-header__quote-text {
        display: block;
        padding-left: 118px;
        padding-right: 5px;
        line-height: 30px;
        height: 30px;
    }

        .grid-element-top .page-header__quote-text div {
            display: block;
        }
        .x0-layout-header_adaptive .grid-element-top .page-header__quote-text div {
            display: inline;
        }

    .grid-element-top .page-header__quote-img {
        text-align: left;
        right: 0px;
        left: auto;
        margin-right: -10px;
        width: 110px;
        height: 110px;
        -moz-transform: scaleX(-1);
        -o-transform: scaleX(-1);
        -webkit-transform: scaleX(-1);
        transform: scaleX(-1);
        filter: FlipH;
        -ms-filter: "FlipH";
    }
    .x0-layout-header_adaptive .grid-element-top .page-header__quote-img {
        right: auto;
        left: 0px;
        bottom: 0px;
        text-align: right;
        -moz-transform: scaleX(1);
        -o-transform: scaleX(1);
        -webkit-transform: scaleX(1);
        transform: scaleX(1);
        filter: none;
        -ms-filter: none;
    }

        .grid-element-top .page-header__quote-img a {
            position: static;
        }
        .x0-layout-header_adaptive .grid-element-top .page-header__quote-img a {
            position: absolute;
            right: 0px;
        }

.grid-element-search {
    float: right;
}

@media (max-width: 1500px) {
    .logo,
    .logo:hover {
        font-size: 66px;
        width: 320px;
    }

    .x0-layout-header_adaptive .logo-post {
        display: block;
        padding-top: 10px;
    }
        .x0-layout-header_adaptive .logo-post > div {
            display: inline;
        }

        .x0-layout-header_adaptive .grid-element-logo {
            width: 36.5%;
        }
        .x0-layout-header_adaptive .grid-element-top {
            position: static;
            width: 29.5%;
        }
        .x0-layout-header_adaptive .grid-element-top .page-header__quote {
            height: auto;
        }
        .x0-layout-header_adaptive .grid-element-top .page-header__quote-text {
            height: 110px;
            display: table-cell;
            vertical-align: middle;
            padding-left: 0px;
            padding-right: 110px;
            line-height: normal;
        }
            .x0-layout-header_adaptive .grid-element-top .page-header__quote-text div {
                display: block;
            }
        .x0-layout-header_adaptive .grid-element-top .page-header__quote-img {
            text-align: left;
            right: 0px;
            left: auto;
            -moz-transform: scaleX(-1);
            -o-transform: scaleX(-1);
            -webkit-transform: scaleX(-1);
            transform: scaleX(-1);
            filter: FlipH;
            -ms-filter: "FlipH";
        }
            .x0-layout-header_adaptive .grid-element-top .page-header__quote-img a {
                position: static;
            }
}



/** Шрифт с иконками темы (на самом деле у каждого сайта свои) **/
.x0-layout-menu i:before {
    color: #fff;
    border-radius: 5px;
    font-size: 27px;
}
.x0-layout-menu .icon-user-md:before {
    background-color: #0f9086;
}
.x0-layout-menu .icon-address-1:before {
    background-color: #ea306c;
}
.x0-layout-menu .icon-vseo:before {
    font-size: 25px;
    background-color: #f26522;
}
.x0-layout-menu .icon-feather:before {
    background-color: #718f22;
}
.x0-layout-menu .icon-wechat:before {
    font-size: 22px;
    background-color: #a45cda;
}
.x0-layout-menu .icon-diamond:before {
    font-size: 22px;
    background-color: #03a2cd;
}

.x0-mobile-menu-toggle {
    display: none;
}

/* Mobile layer: affects only phones, desktop/tablet layout remains unchanged */
@media (max-width: 768px) {
    :root {
        --mobile-bg: #f3f6fa;
        --mobile-card-bg: #ffffff;
        --mobile-card-border: #d8e3ed;
        --mobile-text: #1f3446;
        --mobile-accent: #248fce;
    }

    html, body {
        overflow-x: hidden;
        background: var(--mobile-bg);
    }

    .x0-body-wrapper {
        padding-top: 43px !important;
        background-position: center top;
    }

    .auth-plashka {
        height: 42px !important;
        min-height: 42px !important;
        background: #2c3137 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .auth-plashka .menu > li > a,
    .auth-plashka .menu > li > span {
        line-height: 42px !important;
        font-size: 16px !important;
    }

    .auth-plashka .menu.floatl > li {
        margin-right: 10px !important;
        display: flex !important;
        align-items: center !important;
        height: 42px !important;
    }

    .auth-plashka .menu.floatl > li > a,
    .auth-plashka .menu.floatl > li > span {
        display: inline-flex !important;
        align-items: center !important;
        height: 18px !important;
        line-height: 18px !important;
        padding-top: 0 !important;
        padding-bottom: 0 !important;
    }

    .auth-plashka .menu.userwelcome > li {
        margin-left: 8px !important;
    }

    .auth-plashka .city-auto-badge,
    .auth-plashka .auth-forgotpassword,
    .auth-plashka .auth-registration,
    .auth-plashka .icon-login,
    .auth-plashka .icon-location {
        display: none !important;
    }

    .auth-plashka .city-selector-name,
    .auth-plashka .login {
        font-weight: 600;
        color: #f2f5f8 !important;
        border-bottom-color: rgba(255, 255, 255, 0.45) !important;
    }

    .x0-bg-holder {
        display: none;
    }

    .x0-layout-body,
    .x0-layout-menu,
    .x0-layout-footer {
        min-width: 0 !important;
    }

    .auth-plashka .limiter,
    .x0-layout-header,
    .x0-layout-body > .grid,
    .x0-layout-body > .layout,
    .x0-layout-menu > .limiter,
    .x0-layout-footer > .limiter {
        min-width: 0 !important;
        max-width: none;
        padding-left: 10px;
        padding-right: 10px;
    }

    .x0-layout-header,
    .x0-layout-header_adaptive {
        height: auto;
        padding-top: 0;
        padding-bottom: 4px;
    }

    .grid-element-logo,
    .grid-element-search,
    .x0-layout-header_adaptive .grid-element-logo,
    .x0-layout-header_adaptive .grid-element-search {
        float: none !important;
        width: auto !important;
        position: static !important;
        left: auto !important;
        bottom: auto !important;
        height: auto !important;
        margin-bottom: 8px;
        padding-top: 0 !important;
    }

    .grid-element-top,
    .x0-layout-header_adaptive .grid-element-top {
        display: none !important;
    }

    .grid-element-logo,
    .x0-layout-header_adaptive .grid-element-logo {
        margin-bottom: 8px;
    }

    .logo,
    .logo:hover {
        display: inline-block;
    }

    .logo-link {
        display: block;
        text-align: center;
    }

    .logo-text {
        display: none !important;
    }

    .logo-svg {
        display: block;
        width: min(100%, 290px);
        max-width: 290px;
        height: auto;
        margin: 0 auto;
    }

    .logo-container,
    .x0-layout-header_adaptive .logo-post {
        display: block;
        padding-right: 0;
    }

    .logo-post {
        padding-top: 2px;
        color: #4a5f73;
        font-size: 15px;
        line-height: 1.2;
        margin-bottom: 8px;
        text-transform: uppercase;
        letter-spacing: 0.01em;
    }

    .logo-post > div {
        display: block !important;
        margin-bottom: 4px;
    }

    .logo-post > div:last-child {
        display: none !important;
    }

    .logo-post .x0-layout-list,
    .logo-post .submenu {
        display: none !important;
    }

    .x0-layout-header .search {
        height: auto;
        border: 0 !important;
        border-radius: 0;
        background: transparent !important;
        box-shadow: none !important;
        overflow: visible;
        margin-bottom: 8px;
    }

    .x0-layout-header .search:before {
        display: none;
    }

    .x0-layout-header .search form {
        padding: 0;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        align-items: center;
        flex-direction: row;
    }

    .x0-layout-header .search-mobile-label {
        display: block;
        width: 100%;
        order: 0;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 700;
        color: #2f4f67;
        text-transform: none;
        letter-spacing: 0;
        margin-bottom: 4px;
    }

    .x0-layout-header .search-q {
        margin-right: 0;
        flex: 1 1 auto;
        order: 1;
        min-width: 0;
        height: 38px;
        border-radius: 8px;
        border-color: #b9d2e6;
        padding: 0 12px;
        box-sizing: border-box;
    }

    .x0-layout-header .search-q input {
        height: 38px;
        font-size: 14px;
        color: #21394c;
        font-weight: 600;
    }

    .x0-layout-header .search-q input::placeholder {
        color: #7f99ac;
    }

    .x0-layout-header .search-submit {
        float: none;
        width: auto;
        min-width: 86px;
        margin-top: 0;
        order: 2;
        height: 40px;
        border-radius: 8px;
        font-size: 13px;
        font-weight: 700;
        text-transform: uppercase;
        padding: 0 14px;
        background: #208fce !important;
        background-image: none !important;
        border: 0 !important;
        outline: 0 !important;
        text-shadow: none !important;
        box-shadow: none !important;
        -webkit-appearance: none;
        appearance: none;
        border-bottom: 1px solid #208fce !important;
    }

    .x0-layout-header .search form > a {
        display: none !important;
    }

    .x0-layout-menu {
        position: fixed;
        left: 0;
        right: 0;
        top: 42px;
        z-index: 1099;
        opacity: 1;
        background: #f3f8fc;
        border-top: 1px solid #d0d0d0;
        border-bottom: 1px solid #d0d0d0;
        padding: 8px 10px;
        display: none;
    }

    .x0-layout-menu .limiter {
        display: block;
        max-height: calc(100vh - 48px);
        overflow-y: auto;
        min-width: 0 !important;
        max-width: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .x0-layout-menu.x0-layout-menu_open {
        display: block;
    }

    .x0-layout-menu ul {
        padding: 0;
        display: block;
        white-space: normal;
        overflow: visible;
    }

    .x0-layout-menu ul li {
        height: auto;
        min-width: 0;
        width: auto;
        margin-bottom: 10px;
    }

    .x0-layout-menu a {
        display: block;
        margin-bottom: 0;
    }

    .x0-layout-menu ol a {
        font-size: 14px;
        line-height: 19px;
    }

    .x0-layout-menu ol {
        display: block;
        padding-left: 10px;
        margin-top: 6px;
    }

    .x0-layout-menu__more {
        display: none;
    }

    .x0-layout-body {
        margin-top: 0;
    }

    .x0-layout-body > .layout {
        height: auto !important;
        min-height: 0 !important;
        margin-bottom: 14px !important;
    }

    .layout_showcase {
        margin-top: 0 !important;
    }

    /* Убираем рекламные баннерные блоки в мобильной версии */
    .x0-layout-body .layout-content_adverts,
    .x0-layout-body .layout-content_banner,
    .x0-layout-body .block_slider,
    .x0-layout-body .x0-layout-banner {
        display: none !important;
    }

    [class^=col], [class*=" col-"] {
        float: none !important;
        width: auto !important;
    }

    [class^=prefix], [class*=" prefix-"],
    [class^=postfix], [class*=" postfix-"] {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .layout > .left-side,
    .layout > [class^=col],
    .layout > [class*=" col-"] {
        margin-left: 0 !important;
    }

    .page__column-main,
    .page__column-side,
    .page__sideleft,
    .page__sideright,
    .page__wrapper {
        float: none !important;
        width: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .page__column-main > div {
        margin: 0 !important;
    }

    .block_gradient-yellow > .floatr {
        float: none !important;
        width: auto !important;
        margin: 0 0 8px 0 !important;
    }

    .block_gradient-yellow > div[style*="margin-right"] {
        margin-right: 0 !important;
    }

    .x0-layout-banner {
        min-width: 0 !important;
        height: auto !important;
    }

    .x0-layout-banner img,
    .x0-layout-banner object {
        max-width: 100%;
        height: auto;
        margin: 0;
    }

    .x0-layout-spacer,
    .page__spacer {
        height: 0 !important;
        margin-top: 0;
        border-top: 0;
    }

    .x0-layout-footer {
        margin-top: 20px;
        padding: 20px 0;
    }

    .x0-layout-footer ul {
        height: auto;
    }

    .x0-layout-footer-social {
        float: none;
        text-align: left;
        margin: 0 0 10px 0;
    }

    .x0-layout-footer-counters {
        height: auto;
        margin: 10px 0;
    }

    .x0-layout-footerb {
        display: block;
        min-height: 0;
        max-height: none;
    }

    .x0-layout-footerb > div {
        display: block;
        border: 0 !important;
        padding: 8px 10px !important;
    }

    .x0-layout-footer ul > li:nth-child(n+5) {
        display: none !important;
    }

    .x0-layout-footer {
        padding: 14px 0 !important;
    }

    .x0-layout-footer li,
    .x0-layout-footer a {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    .x0-layout-menu i,
    .x0-layout-menu i:before {
        display: none !important;
        width: 0 !important;
        height: 0 !important;
        font-size: 0 !important;
        line-height: 0 !important;
    }

    .rating-mobile-title {
        display: block;
        font-size: 22px;
        font-weight: 700;
        line-height: 1.1;
        color: #1f3343;
        margin: 0 0 12px 0;
        padding: 0 2px;
        letter-spacing: 0.01em;
    }

    .layout-content_rating .simpleSlider.stripe-caption {
        display: block !important;
        background: transparent;
        margin-bottom: 10px;
    }

    .layout-content_rating .simpleSlider.stripe-caption > ul {
        display: flex;
        gap: 8px;
        padding: 0;
        margin: 0;
        height: auto !important;
    }

    .layout-content_rating .simpleSlider.stripe-caption > ul > li {
        flex: 1 1 50%;
        margin: 0;
        position: static !important;
        left: auto !important;
        display: block !important;
        width: auto !important;
    }

    .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        display: block;
        text-align: center;
        padding: 9px 8px;
        border-radius: 10px;
        border: 1px solid #b8cfdf;
        background: #ffffff;
        color: #2f4f67;
        font-size: 13px;
        line-height: 1.2;
        font-weight: 700;
        text-decoration: none;
        background-image: none !important;
        text-shadow: none !important;
        box-shadow: none !important;
    }

    .layout-content_rating .simpleSlider.stripe-caption > ul > li > a.active,
    .layout-content_rating .simpleSlider.stripe-caption > ul > li.active > a {
        border-color: #167fbd;
        background: #1f8dcc !important;
        background-image: none !important;
        color: #ffffff;
        border-bottom-color: #1f8dcc !important;
    }

    .layout-content_rating .simpleSlider.stripe-caption .slide__control {
        display: none !important;
    }

    .layout-content_rating .simpleSlider.stripe-caption:before,
    .layout-content_rating .simpleSlider.stripe-caption:after {
        display: none !important;
        content: none !important;
    }

    .rating-tab-label_full {
        display: none;
    }

    .rating-tab-label_short {
        display: inline;
    }

    .layout-content_showcase {
        display: none !important;
    }

    .layout_showcase .layout-content_rating {
        width: auto !important;
        margin: 0 !important;
        padding-left: 0 !important;
        height: auto !important;
    }

    .layout_showcase {
        height: auto !important;
    }

    .layout-content_rating .simpleSlider.block_stripe-caption {
        padding-top: 8px;
        margin-top: 0;
        height: auto !important;
    }

    .layout-content_rating .simpleSlider.block_stripe-caption > ul {
        height: auto !important;
        width: 100% !important;
        position: static !important;
        overflow: visible !important;
    }

    .layout-content_rating .simpleSlider.block_stripe-caption > ul > li {
        position: static !important;
        left: auto !important;
        display: none !important;
        width: 100% !important;
    }

    .layout-content_rating .simpleSlider.block_stripe-caption > ul > li.active-mobile {
        display: block !important;
    }

    .x0-layout-body .simpleSlider {
        overflow: hidden !important;
    }

    .x0-layout-body .simpleSlider > ul {
        overflow: hidden !important;
    }

    .layout_showcase .slider1.block_gradient-yellow {
        background: var(--mobile-card-bg) !important;
        border: 1px solid var(--mobile-card-border);
        border-radius: 14px;
        box-shadow: 0 3px 9px rgba(32, 72, 101, 0.08);
        padding: 12px;
        box-sizing: border-box;
        background-image: none !important;
    }

    .layout-content_rating .rating__item-title {
        color: var(--mobile-text);
        font-size: 15px;
        line-height: 1.3;
    }

    .layout-content_rating .rating__item-num {
        color: #5f7c95;
        font-size: 14px;
        min-width: 22px;
    }

    .layout-content_rating .pt20 {
        padding-top: 12px !important;
        border: 0 !important;
        background: transparent !important;
    }

    .layout-content_rating .pt20:before,
    .layout-content_rating .pt20:after {
        display: none !important;
        content: none !important;
    }

    .layout-content_rating .rating__wrapper_third {
        display: none !important;
    }

    .layout-content_rating .rating__wrapper_second .rating__item:nth-child(n+6) {
        display: none !important;
    }

    .layout-content_rating .button.button_flat-shadowed {
        margin-left: 0 !important;
        width: 100%;
        text-align: center;
        border: 0 !important;
        box-shadow: none !important;
        background: #208fce !important;
        padding: 0 !important;
        height: 40px !important;
        line-height: 40px !important;
        min-height: 0 !important;
        overflow: hidden !important;
        border-radius: 6px !important;
        border-bottom: 1px solid #208fce !important;
    }

    .layout-content_rating .button.button_flat-shadowed > div {
        display: block;
        border-radius: 6px;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        height: 40px;
        line-height: 40px;
        padding: 0 !important;
        overflow: visible !important;
        outline: 0 !important;
        text-shadow: none !important;
        -webkit-appearance: none;
        appearance: none;
    }

    .layout-content_rating .button.button_flat-shadowed > div > span {
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 700;
        text-transform: uppercase;
        letter-spacing: 0.01em;
        text-decoration: none !important;
        text-shadow: none !important;
        border: 0 !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    .layout-content_rating .button.button_flat-shadowed.button_flat-shadowed-alt-1 > div {
        border: 0 !important;
    }

    .layout-content_rating .button.button_flat-shadowed,
    .layout-content_rating .button.button_flat-shadowed:hover,
    .layout-content_rating .button.button_flat-shadowed:focus {
        text-decoration: none !important;
    }

    .layout-content_rating .button.button_flat-shadowed:before,
    .layout-content_rating .button.button_flat-shadowed:after {
        display: none !important;
        content: none !important;
        background: none !important;
    }

    .layout-content_rating .button.button_flat-shadowed > div:before,
    .layout-content_rating .button.button_flat-shadowed > div:after {
        display: none !important;
        content: none !important;
    }

    .layout-content_rating .button.button_flat-shadowed > span:before,
    .layout-content_rating .button.button_flat-shadowed > span:after,
    .layout-content_rating .button.button_flat-shadowed > div > span:before,
    .layout-content_rating .button.button_flat-shadowed > div > span:after,
    .x0-layout-header .search-submit:before,
    .x0-layout-header .search-submit:after {
        display: none !important;
        content: none !important;
    }

    .layout-content_rating .rating {
        padding-bottom: 8px;
    }

    jdiv,
    jdiv.wrap__zegW6,
    jdiv.__jivoMobileButton,
    #jivo-iframe-container,
    #jvlabelWrap,
    #jvlabelWrap *,
    #jcont,
    #jcont *,
    iframe[src*="jivo"],
    iframe[id*="jivo"],
    [class*="jivo"],
    [id*="jivo"] {
        display: none !important;
        visibility: hidden !important;
        opacity: 0 !important;
        pointer-events: none !important;
    }

    .x0-layout-body .x0-table-cell.pb15.pt20,
    .x0-layout-body .page__block,
    .x0-layout-body .pub-list.pub-list_mini,
    .x0-layout-body .pub-list.pub-list_mini > li,
    .x0-layout-body .pub-list.pub-list_mini .x0-expandable,
    .x0-layout-body .pub-list.pub-list_mini .x0-expandable_anchor,
    .x0-layout-body .pub-list__body,
    .x0-layout-body .list-info-panel,
    .x0-layout-body .list-info__comments {
        float: none !important;
        width: auto !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .x0-layout-body .pub-list.pub-list_mini .clear,
    .x0-layout-body .pub-list.pub-list_mini h3 {
        width: auto !important;
        max-width: 100% !important;
    }

    .x0-layout-body .pub-list.pub-list_mini .comment__count,
    .x0-layout-body .pub-list.pub-list_mini .comment__count-inline,
    .x0-layout-body .pub-list.pub-list_mini .icon-comment {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .x0-layout-body .x0-arrow-button {
        display: none !important;
    }

    .x0-layout-body .gallery-tape-wrapper .x0-arrow-button,
    .x0-layout-body .sliderG3 .x0-arrow-button,
    .x0-layout-body .gallery-tape .x0-arrow-button {
        display: none !important;
    }

    .x0-layout-body .x0-tabs {
        display: block !important;
        width: auto !important;
        border: 0 !important;
    }

    .x0-layout-body .hidden,
    .x0-layout-body .x0-tabs.hidden {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        margin: 0 !important;
        padding: 0 !important;
        overflow: hidden !important;
    }

    .x0-layout-body .slider2,
    .x0-layout-body .slider3,
    .x0-layout-body .sliderG3,
    .x0-layout-body .page__block {
        margin-left: 0 !important;
        margin-right: 0 !important;
        max-width: 100% !important;
        width: auto !important;
        box-sizing: border-box !important;
    }

    .x0-layout-body .slider2 .simpleSlider.common-slider > ul,
    .x0-layout-body .slider2 .simpleSlider.common-slider > ul.reset.mb10.clear {
        position: static !important;
        width: auto !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .x0-layout-body .slider2 .simpleSlider.common-slider > ul > li,
    .x0-layout-body .slider2 .simpleSlider.common-slider > ul.reset.mb10.clear > li {
        position: static !important;
        left: auto !important;
        top: auto !important;
        width: auto !important;
        margin: 0 0 12px 0 !important;
        display: block !important;
        box-sizing: border-box !important;
    }

    .x0-layout-body .slider2 .simpleSlider.common-slider > ul > li:last-child {
        margin-bottom: 0 !important;
    }

    .x0-layout-body .slider2 .x0-image-block,
    .x0-layout-body .slider2 .x0-image-block.block,
    .x0-layout-body .slider2 .clear,
    .x0-layout-body .slider2 .mt10.mb10 {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .x0-layout-body .slider2 img.x0-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .x0-layout-body .slider2 .button.button_flat-shadowed {
        margin-left: 0 !important;
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .x0-layout-body .gallery-tape-wrapper {
        overflow: hidden !important;
        padding: 12px !important;
    }

    .x0-layout-body .gallery-tape {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch;
    }

    .x0-layout-body .gallery-tape-scroller {
        width: auto !important;
        min-width: 0 !important;
        max-width: 100% !important;
        display: block !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .x0-layout-body .gallery-tape-scroller > li,
    .x0-layout-body .gallery-tape__item {
        float: none !important;
        position: static !important;
        left: auto !important;
        width: auto !important;
        max-width: 100% !important;
        margin: 0 0 16px 0 !important;
        display: block !important;
    }

    .x0-layout-body .gallery-tape-scroller > li:last-child {
        margin-bottom: 0 !important;
    }

    .x0-layout-body .gallery-tape .x0-image,
    .x0-layout-body .gallery-tape .x0-image img,
    .x0-layout-body .gallery-tape .x0-image a {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
    }

    .x0-layout-body .sliderG3,
    .x0-layout-body .sliderG3 .sliderG3-wrapper,
    .x0-layout-body .sliderG3 .sliderG3-block,
    .x0-layout-body .sliderG3 .sliderG3-image-wrapper,
    .x0-layout-body .sliderG3 .sliderG3-mini-title {
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
        left: auto !important;
        right: auto !important;
    }

    .x0-layout-body .publications_discount,
    .x0-layout-body .publications_discount__item,
    .x0-layout-body .publications_discount .pubbody_discount,
    .x0-layout-body .publications_discount .pubimg_discount {
        float: none !important;
        width: auto !important;
        max-width: 100% !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
        padding-left: 0 !important;
        box-sizing: border-box !important;
    }

    .x0-layout-body .block_bordered-dashed {
        display: block !important;
        padding: 12px !important;
        border-color: #d9e3ec !important;
        border-style: solid !important;
    }

    .x0-layout-body .block_bordered-dashed > div,
    .x0-layout-body .block_bordered-dashed .x0-table-cell {
        display: block !important;
        width: auto !important;
        max-width: 100% !important;
        height: auto !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .x0-layout-body .block_bordered-dashed > div[style*="width: 160px"],
    .x0-layout-body .block_bordered-dashed > div[style*="background-color: #ebebeb"] {
        display: none !important;
    }

    .x0-layout-body .x0-tabs-menu,
    .x0-layout-body .x0-tabs-menu > li,
    .x0-layout-body .x0-tabs-menu-item {
        display: none !important;
    }

    .x0-layout-body .x0-tabs-panel,
    .x0-layout-body .x0-tabs .x0-tabs-element,
    .x0-layout-body .x0-tabs .x0-tabs-content {
        width: auto !important;
        float: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    .x0-layout-body .x0-tabs-panel {
        border: 0 !important;
        border-top: 0 !important;
    }

    .x0-layout-body .x0-tabs-panel > li {
        display: none !important;
    }

    .x0-layout-body .x0-tabs-panel > li.current,
    .x0-layout-body .x0-tabs-panel > li.x0-tab.current {
        display: block !important;
        border: 1px solid #d9e3ec !important;
        border-top: 0 !important;
        border-right: 1px solid #d9e3ec !important;
        box-shadow: none !important;
        background: #fff !important;
    }

    .x0-layout-body .x0-tabs .x0-tabs-element {
        border: 0 !important;
    }

    .x0-layout-body .x0-tabs .x0-tabs-element,
    .x0-layout-body .x0-tabs .x0-tabs-element > div {
        border-color: #d9e3ec !important;
    }

    .x0-layout-body .x0-tabs .pub-list__image,
    .x0-layout-body .x0-tabs .pub-list__body {
        float: none !important;
        width: 100% !important;
        max-width: 100% !important;
        display: block !important;
    }

    .x0-layout-body .x0-tabs .pub-list__image {
        margin-bottom: 8px;
    }

    .x0-layout-body .x0-tabs .pub-list__image img.x0-image,
    .x0-layout-body .x0-tabs .pub-list__image .x0-image {
        width: 100% !important;
        height: auto !important;
        max-width: 100% !important;
        display: block;
    }

    .x0-layout-body .x0-tabs .x0-tabs-element .pub-list,
    .x0-layout-body .x0-tabs .x0-tabs-element .pub-list > li,
    .x0-layout-body .x0-tabs .x0-tabs-element .pub-list__body {
        width: auto !important;
        max-width: 100% !important;
        float: none !important;
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    .x0-layout-body .x0-tabs .rating__item-num {
        display: none !important;
    }

    .x0-layout-body .rating__item-num {
        display: none !important;
    }

    .x0-layout-body .x0-tabs .list-info-panel,
    .x0-layout-body .x0-tabs .list-info__comments {
        display: none !important;
    }

    .x0-layout-body .list-info-panel,
    .x0-layout-body .list-info__comments,
    .x0-layout-body .comment__count,
    .x0-layout-body .comment__count-inline {
        display: none !important;
    }

    .x0-layout-body > .layout > div[style*="background-color: #f3f8fc"][style*="height: 150px"] {
        display: none !important;
    }

    .x0-layout-body .sliderG3,
    .x0-layout-body .sliderG3 * {
        border-color: #d9e3ec !important;
    }

    .x0-layout-body .sliderG3 .sliderG3-image-wrapper,
    .x0-layout-body .sliderG3 .sliderG3-image-wrapper a,
    .x0-layout-body .sliderG3 .sliderG3-block {
        border-bottom: 0 !important;
        box-shadow: none !important;
    }

    .x0-layout-body .page__block {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        border-radius: 0 !important;
        padding: 0 !important;
        margin-bottom: 14px !important;
        overflow: hidden !important;
    }

    .x0-layout-body .page__block:empty {
        display: none !important;
    }

    .x0-layout-body .page__block:has(> .hidden:only-child) {
        display: none !important;
    }

    .x0-layout-body .page__block > .block_gray,
    .x0-layout-body .page__block > .block_bordered-dashed,
    .x0-layout-body .page__block > .sliderG3,
    .x0-layout-body .page__block > .gallery-tape-wrapper {
        background: #ffffff !important;
        border: 1px solid #d6e3ee !important;
        border-radius: 12px !important;
        box-shadow: 0 4px 14px rgba(26, 66, 97, 0.06) !important;
        box-sizing: border-box !important;
    }

    .x0-layout-body .page__block > .block_bordered-dashed {
        border-style: solid !important;
    }

    .x0-layout-body .simpleSlider.stripe-caption {
        background: transparent !important;
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        border: 0 !important;
    }

    .x0-layout-body .simpleSlider.stripe-caption > ul > li {
        margin: 0 !important;
        min-height: 0 !important;
    }

    .x0-layout-body .simpleSlider.stripe-caption > ul > li > a {
        display: block !important;
        padding: 0 !important;
        color: #31506a !important;
        text-decoration: none !important;
        font-size: 15px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
    }

    .x0-layout-body .simpleSlider.common-slider.stripe-caption > ul > li > a {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        min-height: 0 !important;
    }

    .x0-layout-body .simpleSlider.common-slider.stripe-caption > ul > li > a:empty {
        display: none !important;
    }

    .x0-layout-body .page-caption.page-caption_h2 h2,
    .x0-layout-body .page-caption_h2 h2 {
        font-size: 34px !important;
        line-height: 1.08 !important;
        letter-spacing: 0.01em !important;
        margin: 0 !important;
    }

    .x0-layout-body h2,
    .x0-layout-body h3 {
        color: #2b4b64 !important;
        line-height: 1.24 !important;
        margin-top: 0 !important;
        margin-bottom: 8px !important;
    }

    .x0-layout-body .x0-subtitle,
    .x0-layout-body .pub-list__text,
    .x0-layout-body .pub-list__description,
    .x0-layout-body .forums-posts-last__body,
    .x0-layout-body .rating__item-title {
        color: #3b5a72 !important;
        line-height: 1.34 !important;
    }

    .x0-layout-body .pub-list > li,
    .x0-layout-body .publications > li,
    .x0-layout-body .forums-posts-last li {
        margin-bottom: 10px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #e2ecf4 !important;
    }

    .x0-layout-body .pub-list > li:last-child,
    .x0-layout-body .publications > li:last-child,
    .x0-layout-body .forums-posts-last li:last-child {
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
        border-bottom: 0 !important;
    }

    .x0-layout-body .sliderG3 .x0-subtitle,
    .x0-layout-body .sliderG3 .sliderG3-mini-title {
        color: #cbd9e6 !important;
    }

    .x0-layout-body .sliderG3 .x0-subtitle {
        font-size: 28px !important;
        line-height: 1.05 !important;
        letter-spacing: 0.01em !important;
    }

    .x0-layout-body .sliderG3 .x0-image img,
    .x0-layout-body .sliderG3 .sliderG3-image-wrapper img {
        border-radius: 6px !important;
    }

    .x0-layout-body .forums-posts-last .x0-subtitle,
    .x0-layout-body .forums-posts-last h3 {
        font-size: 17px !important;
        line-height: 1.3 !important;
    }

    .x0-layout-body .forums_consult .pub-list__body,
    .x0-layout-body .forums_consult .pub-list__text,
    .x0-layout-body .forums_consult .x0-subtitle {
        font-size: 15px !important;
        line-height: 1.42 !important;
    }

    .x0-layout-body .forums_consult > ul > li > ul > li:nth-child(n+3) {
        display: none !important;
    }

    .x0-layout-body .forums_consult > ul > li > ul > li .forums-posts-last__body {
        padding-left: 16px !important;
        font-size: 14px !important;
        line-height: 1.4 !important;
    }

    .x0-layout-body .forums_consult > ul > li:nth-child(n+2) {
        display: none !important;
    }

    .x0-layout-body .blogs-titles.block_bordered-dashed > ul > li:nth-child(n+3) {
        display: none !important;
    }

    .x0-layout-body .forums-posts-last:not(.forums_consult) > ul > li:nth-child(n+7) {
        display: none !important;
    }

    .x0-layout-body .forums-posts-last:not(.forums_consult) > ul > li {
        font-size: 16px !important;
        line-height: 1.32 !important;
    }

    .x0-layout-body .pub-list h2,
    .x0-layout-body .pub-list h3,
    .x0-layout-body .publications h2,
    .x0-layout-body .publications h3 {
        font-size: 18px !important;
        line-height: 1.12 !important;
        letter-spacing: 0 !important;
    }

    .x0-layout-body .news-titles .pub-list h3,
    .x0-layout-body .news-titles h3,
    .x0-layout-body .articles-titles h3 {
        margin-bottom: 6px !important;
    }

    .x0-layout-body .news-titles .x0-date,
    .x0-layout-body .articles-titles .x0-date {
        margin-bottom: 8px !important;
        font-size: 13px !important;
    }

    .x0-layout-body .pub-list .x0-subtitle,
    .x0-layout-body .publications .x0-subtitle,
    .x0-layout-body .pub-list__body,
    .x0-layout-body .pub-list__text {
        font-size: 15px !important;
        line-height: 1.2 !important;
    }

    .x0-layout-body .pub-list__bottom-image,
    .x0-layout-body .pub-list__bottom-image img,
    .x0-layout-body .pub-list img.x0-image {
        border-radius: 6px !important;
    }

    .x0-layout-body .publications_discount .x0-subtitle,
    .x0-layout-body .publications_discount .discount__description {
        margin-bottom: 6px !important;
    }

    .x0-layout-body .publications_discount .x0-subtitle span[style*=\"line-through\"],
    .x0-layout-body .publications_discount .discount__description span[style*=\"line-through\"] {
        color: #98aabd !important;
    }

    /* Убираем самые шумные legacy-блоки, которые ломают мобильную композицию */
    .x0-layout-body .gallery-tape-wrapper,
    .x0-layout-body .publications_discount,
    .x0-layout-body .sliderG3,
    .x0-layout-body .plus-button-container,
    .x0-layout-body .pub-list.pub-list_org-news {
        display: none !important;
    }

    .x0-layout-body .col-4.pl20:not(.layout-content_rating):not(:has(.layout-content_rating)) {
        display: none !important;
        height: 0 !important;
        min-height: 0 !important;
        overflow: hidden !important;
    }

    .x0-layout-body .page__block:has(> .gallery-tape-wrapper:only-child),
    .x0-layout-body .page__block:has(> .publications_discount:only-child),
    .x0-layout-body .page__block:has(> .sliderG3:only-child),
    .x0-layout-body .page__block:has(> .plus-button-container:only-child),
    .x0-layout-body .page__block:has(> div > .pub-list.pub-list_org-news:only-child) {
        display: none !important;
    }

    .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        min-height: 44px !important;
        height: 44px !important;
        padding: 0 8px !important;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        border: 1px solid #b8cfdf !important;
        border-radius: 6px !important;
        line-height: 1.2 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    .layout-content_rating .simpleSlider.stripe-caption > ul > li.active > a,
    .layout-content_rating .simpleSlider.stripe-caption > ul > li > a.active {
        border-color: #167fbd !important;
        background: #1f8dcc !important;
        color: #fff !important;
    }

    .x0-layout-body .button.button_flat-shadowed {
        display: block !important;
        width: 100% !important;
        margin: 10px 0 0 !important;
        background: none !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        height: auto !important;
        min-height: 0 !important;
        overflow: visible !important;
    }

    .x0-layout-body .button.button_flat-shadowed > div {
        height: 38px !important;
        line-height: 38px !important;
        border-radius: 9px !important;
        border: 1px solid #c9d9e7 !important;
        background: #f6fbff !important;
        box-shadow: none !important;
    }

    .x0-layout-body .button.button_flat-shadowed > div > span {
        color: #2f4f67 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    .x0-layout-body .layout-content_rating .button.button_flat-shadowed > div {
        height: 40px !important;
        line-height: 40px !important;
        border: 0 !important;
        border-radius: 6px !important;
        background: transparent !important;
        box-shadow: none !important;
    }

    .x0-layout-body .layout-content_rating .button.button_flat-shadowed {
        background: #208fce !important;
        border-radius: 10px !important;
        height: 40px !important;
        line-height: 40px !important;
    }

    .x0-layout-body .layout-content_rating .button.button_flat-shadowed > div > span {
        color: #ffffff !important;
        font-size: 15px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
    }

    .x0-layout-body .publications_discount {
        margin: 0 !important;
        padding: 0 !important;
    }

    .x0-layout-body .publications_discount__item {
        display: flex !important;
        align-items: flex-start !important;
        gap: 12px !important;
        padding: 10px 0 !important;
        border-bottom: 1px dashed #d4e1ec !important;
    }

    .x0-layout-body .publications_discount__item:last-child {
        border-bottom: 0 !important;
    }

    .x0-layout-body .publications_discount .pubimg_discount {
        flex: 0 0 72px !important;
        width: 72px !important;
        max-width: 72px !important;
    }

    .x0-layout-body .publications_discount .pubbody_discount {
        flex: 1 1 auto !important;
        width: auto !important;
        min-width: 0 !important;
    }

    .x0-layout-body .publications_discount .discount__title,
    .x0-layout-body .publications_discount h3 {
        font-size: 22px !important;
        line-height: 1 !important;
    }

    .x0-layout-body .publications_discount .discount__description,
    .x0-layout-body .publications_discount .x0-subtitle {
        font-size: 14px !important;
        line-height: 1.3 !important;
    }

    .x0-layout-body .pub-list__media,
    .x0-layout-body .pub-list__media img,
    .x0-layout-body .pub-list__media .x0-image {
        width: 100% !important;
        max-width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }

    /* Final mobile polish layer: keep only coherent style system */
    .auth-plashka {
        background: #2a3138 !important;
        border-bottom-color: rgba(255, 255, 255, 0.12) !important;
    }

    .auth-plashka .menu > li > a,
    .auth-plashka .menu > li > span {
        font-size: 15px !important;
        font-weight: 700 !important;
        letter-spacing: 0 !important;
    }

    .x0-mobile-menu-toggle {
        width: 40px !important;
        height: 34px !important;
        border-radius: 8px !important;
        background: #2d93cf !important;
        box-shadow: none !important;
    }

    .grid-element-logo,
    .x0-layout-header_adaptive .grid-element-logo {
        margin-bottom: 6px !important;
    }

    .logo-post {
        margin-bottom: 10px !important;
        font-size: 14px !important;
        line-height: 1.15 !important;
        color: #3f5b73 !important;
    }

    .x0-layout-header .search form {
        gap: 6px !important;
    }

    .x0-layout-header .search-mobile-label {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #2a4b65 !important;
        margin-bottom: 6px !important;
    }

    .x0-layout-header .search-q {
        height: 42px !important;
        border-radius: 10px !important;
        border: 1px solid #b8ccdd !important;
    }

    .x0-layout-header .search-q input {
        height: 40px !important;
        font-size: 15px !important;
    }

    .x0-layout-header .search-submit {
        height: 42px !important;
        min-width: 88px !important;
        border-radius: 10px !important;
        font-size: 12px !important;
        letter-spacing: 0.02em !important;
        border-bottom: 0 !important;
    }

    .layout_showcase .slider1.block_gradient-yellow {
        min-height: 0 !important;
        padding: 12px 12px 10px !important;
        border-radius: 12px !important;
        border-color: #ccdceb !important;
        box-shadow: 0 2px 8px rgba(33, 66, 92, 0.08) !important;
    }

    .rating-mobile-title {
        margin: 0 0 10px 0 !important;
        padding: 0 !important;
        font-size: 30px !important;
        line-height: 1.05 !important;
        letter-spacing: 0 !important;
    }

    .layout-content_rating .simpleSlider.stripe-caption {
        margin-bottom: 8px !important;
    }

    .layout-content_rating .simpleSlider.stripe-caption > ul {
        gap: 6px !important;
    }

    .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        height: 40px !important;
        min-height: 40px !important;
        border-radius: 10px !important;
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    .layout-content_rating .simpleSlider.block_stripe-caption > ul > li {
        height: auto !important;
        min-height: 0 !important;
    }

    .layout-content_rating .rating {
        padding-bottom: 0 !important;
    }

    .layout-content_rating .rating__wrapper_second {
        border-top: 1px solid #d7e4ee !important;
        margin-top: 8px !important;
        padding-top: 8px !important;
    }

    .layout-content_rating .rating__item-title {
        font-size: 14px !important;
        line-height: 1.24 !important;
    }

    .layout-content_rating .rating__item-num {
        font-size: 13px !important;
    }

    .layout-content_rating .pt20 {
        padding-top: 8px !important;
    }

    .layout-content_rating .button.button_flat-shadowed {
        margin-top: 0 !important;
        height: 40px !important;
        border-radius: 10px !important;
        border: 0 !important;
        background: #208fce !important;
    }

    .layout-content_rating .button.button_flat-shadowed > div,
    .x0-layout-body .layout-content_rating .button.button_flat-shadowed > div {
        height: 40px !important;
        line-height: 40px !important;
        border-radius: 10px !important;
    }

    .layout-content_rating .button.button_flat-shadowed > div > span,
    .x0-layout-body .layout-content_rating .button.button_flat-shadowed > div > span {
        font-size: 14px !important;
        letter-spacing: 0.01em !important;
    }

    .x0-layout-body .page-caption.page-caption_h2 h2,
    .x0-layout-body .page-caption_h2 h2 {
        font-size: 30px !important;
        line-height: 1.05 !important;
        letter-spacing: 0 !important;
    }

    .x0-layout-body .news-titles .pub-list h3,
    .x0-layout-body .news-titles h3 {
        font-size: 24px !important;
        line-height: 1.16 !important;
        margin-bottom: 4px !important;
    }

    .x0-layout-body .news-titles .x0-date {
        font-size: 11px !important;
        margin-bottom: 6px !important;
        color: #8399ad !important;
    }

    .x0-layout-body .news-titles .pub-list > li {
        margin-bottom: 8px !important;
        padding-bottom: 8px !important;
    }

    .x0-layout-menu {
        background: #eef4fa !important;
        border-top: 0 !important;
        border-bottom: 1px solid #d4e2ee !important;
        padding: 10px !important;
    }

    .x0-layout-menu .page__block {
        margin: 0 !important;
        padding: 0 !important;
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    .x0-layout-menu .grid {
        display: block !important;
    }

    .x0-layout-menu .grid > li {
        background: #ffffff !important;
        border: 1px solid #d3e2ee !important;
        border-radius: 12px !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
    }

    .x0-layout-menu .grid > li > a.link-caption-special {
        display: block !important;
        text-align: left !important;
        font-size: 36px !important;
        line-height: 1 !important;
        color: #2f5f88 !important;
        margin-bottom: 6px !important;
        font-weight: 400 !important;
    }

    .x0-layout-menu .grid > li > a.link-caption-special > span {
        padding-left: 0 !important;
    }

    .x0-layout-menu .grid > li > ol {
        padding-left: 0 !important;
        margin-top: 4px !important;
    }

    .x0-layout-menu .grid > li > ol > li {
        margin-bottom: 2px !important;
    }

    .x0-layout-menu .grid > li > ol > li > a {
        font-size: 14px !important;
        line-height: 1.3 !important;
        color: #48749a !important;
        padding: 4px 0 !important;
    }

    /* MOBILE HARD RESET v2: high-specificity layer to override legacy collisions */
    html, body,
    body .x0-body-wrapper {
        background: #f2f6fa !important;
        font-family: "DINCondensedC", Arial, sans-serif !important;
    }

    body .auth-plashka {
        height: 44px !important;
        min-height: 44px !important;
        background: #242d36 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.16) !important;
    }

    body .auth-plashka .menu > li > a,
    body .auth-plashka .menu > li > span {
        line-height: 44px !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #eef4fa !important;
        border-bottom: 0 !important;
        text-decoration: none !important;
    }

    body .x0-mobile-menu-toggle {
        width: 42px !important;
        height: 34px !important;
        border-radius: 8px !important;
        border: 0 !important;
        background: #278ecb !important;
        box-shadow: none !important;
        top: 5px !important;
    }

    body .grid-element-logo,
    body .x0-layout-header_adaptive .grid-element-logo {
        margin-bottom: 6px !important;
    }

    body .logo-svg {
        width: min(100%, 312px) !important;
        max-width: 312px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    body .logo-post {
        font-size: 13px !important;
        line-height: 1.15 !important;
        letter-spacing: 0.02em !important;
        color: #4e6173 !important;
        margin-bottom: 12px !important;
    }

    body .x0-layout-header .search form {
        display: flex !important;
        gap: 8px !important;
        align-items: center !important;
    }

    body .x0-layout-header .search-mobile-label {
        width: 100% !important;
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #2c4d67 !important;
        margin-bottom: 4px !important;
    }

    body .x0-layout-header .search-q {
        height: 42px !important;
        border-radius: 10px !important;
        border: 1px solid #bfd1e0 !important;
        background: #ffffff !important;
    }

    body .x0-layout-header .search-q input {
        height: 40px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #2a4358 !important;
    }

    body .x0-layout-header .search-submit {
        height: 42px !important;
        min-width: 90px !important;
        border-radius: 10px !important;
        border: 0 !important;
        background: #218fce !important;
        color: #ffffff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        letter-spacing: 0.02em !important;
        text-transform: uppercase !important;
        box-shadow: none !important;
    }

    body .layout_showcase .slider1.block_gradient-yellow {
        background: #ffffff !important;
        border: 1px solid #cfdce8 !important;
        border-radius: 12px !important;
        box-shadow: 0 2px 8px rgba(26, 62, 90, 0.08) !important;
        padding: 12px !important;
    }

    body .rating-mobile-title {
        font-size: 44px !important;
        line-height: 1 !important;
        margin: 0 0 8px 0 !important;
        color: #1f3346 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul {
        gap: 6px !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        height: 40px !important;
        min-height: 40px !important;
        border-radius: 10px !important;
        border: 1px solid #bfd0df !important;
        background: #f9fcff !important;
        color: #355873 !important;
        font-size: 12px !important;
        font-weight: 700 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li:first-child > a {
        background: #218fce !important;
        border-color: #218fce !important;
        color: #ffffff !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li.active > a,
    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a.active {
        background: #218fce !important;
        border-color: #218fce !important;
        color: #ffffff !important;
    }

    body .layout-content_rating .rating__wrapper_second {
        border-top: 1px solid #dce7f0 !important;
        margin-top: 8px !important;
        padding-top: 8px !important;
    }

    body .layout-content_rating .rating__item-title {
        font-size: 14px !important;
        line-height: 1.26 !important;
        color: #3c5f79 !important;
    }

    body .layout-content_rating .button.button_flat-shadowed {
        height: 40px !important;
        line-height: 40px !important;
        border-radius: 10px !important;
        border: 0 !important;
        background: #218fce !important;
        background-color: rgb(33, 143, 206) !important;
        background-image: none !important;
        box-shadow: none !important;
        overflow: hidden !important;
    }

    body .layout-content_rating .button.button_flat-shadowed > div,
    body .x0-layout-body .layout-content_rating .button.button_flat-shadowed > div {
        height: 40px !important;
        line-height: 40px !important;
        border: 0 !important;
        background: transparent !important;
        border-radius: 10px !important;
    }

    body .x0-layout-body .layout-content_rating .button.button_flat-shadowed {
        background-color: rgb(33, 143, 206) !important;
        background-image: none !important;
    }

    body .layout-content_rating .button.button_flat-shadowed > div > span,
    body .x0-layout-body .layout-content_rating .button.button_flat-shadowed > div > span {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }

    body .x0-layout-body .page-caption.page-caption_h2 h2,
    body .x0-layout-body .page-caption_h2 h2 {
        font-size: 44px !important;
        line-height: 1 !important;
        color: #2c4a63 !important;
        margin: 0 !important;
    }

    body .x0-layout-body .news-titles .pub-list h3,
    body .x0-layout-body .news-titles h3 {
        font-size: 24px !important;
        line-height: 1.16 !important;
        color: #2f4f68 !important;
        margin-bottom: 4px !important;
    }

    body .x0-layout-body .news-titles .pub-list img.x0-image,
    body .x0-layout-body .news-titles .pub-list .x0-image img,
    body .x0-layout-body .news-titles .pub-list .x0-image {
        width: 72px !important;
        min-width: 72px !important;
        height: 72px !important;
        object-fit: cover !important;
        border-radius: 8px !important;
    }

    body .x0-layout-body .news-titles .x0-date {
        font-size: 12px !important;
        line-height: 1.2 !important;
        color: #7f96aa !important;
        margin-bottom: 6px !important;
    }

    body .x0-layout-menu {
        background: #edf4fa !important;
        padding: 10px !important;
        border-bottom: 1px solid #d6e3ee !important;
    }

    body .x0-layout-menu .grid > li {
        background: #ffffff !important;
        border: 1px solid #d2dfeb !important;
        border-radius: 12px !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special {
        font-size: 54px !important;
        line-height: 1 !important;
        margin-bottom: 6px !important;
        color: #2e5f87 !important;
    }

    body .x0-layout-menu .grid > li > ol > li > a {
        font-size: 14px !important;
        line-height: 1.28 !important;
        color: #547a9d !important;
        padding: 5px 0 !important;
    }

    /* MOBILE VISUAL REVAMP v3 */
    body,
    body .x0-body-wrapper,
    body .x0-layout-header,
    body .x0-layout-body {
        font-family: "Helvetica Neue", Arial, sans-serif !important;
        background: #f4f7fb !important;
    }

    body .auth-plashka {
        height: 46px !important;
        min-height: 46px !important;
        background: #1f2730 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    }

    body .auth-plashka .menu > li > a,
    body .auth-plashka .menu > li > span {
        line-height: 46px !important;
        font-size: 15px !important;
        font-weight: 600 !important;
        color: #edf4fb !important;
        opacity: 0.95 !important;
    }

    body .x0-mobile-menu-toggle {
        width: 40px !important;
        height: 32px !important;
        top: 7px !important;
        border-radius: 8px !important;
        background: #2b8ec9 !important;
    }

    body .x0-body-wrapper {
        padding-top: 46px !important;
    }

    body .grid-element-logo {
        margin-bottom: 8px !important;
    }

    body .logo-svg {
        width: min(100%, 300px) !important;
        max-width: 300px !important;
    }

    body .logo-post {
        font-size: 14px !important;
        font-weight: 500 !important;
        letter-spacing: 0.01em !important;
        color: #405b72 !important;
        margin-bottom: 14px !important;
    }

    body .x0-layout-header .search {
        border: 1px solid #d4e1ec !important;
        border-radius: 12px !important;
        padding: 10px !important;
        background: #ffffff !important;
        box-shadow: 0 2px 8px rgba(18, 48, 72, 0.07) !important;
    }

    body .x0-layout-header .search form {
        padding: 0 !important;
        gap: 8px !important;
    }

    body .x0-layout-header .search-mobile-label {
        font-size: 16px !important;
        font-weight: 700 !important;
        color: #244a66 !important;
        margin-bottom: 4px !important;
    }

    body .x0-layout-header .search-q {
        height: 44px !important;
        border-radius: 10px !important;
        border-color: #bfd2e1 !important;
    }

    body .x0-layout-header .search-q input {
        height: 42px !important;
        font-size: 25px !important;
        color: #304c63 !important;
    }

    body .x0-layout-header .search-submit {
        height: 44px !important;
        min-width: 96px !important;
        border-radius: 10px !important;
        font-size: 20px !important;
        font-weight: 700 !important;
        letter-spacing: 0.02em !important;
        background: #218fce !important;
    }

    body .layout_showcase .slider1.block_gradient-yellow {
        border-radius: 14px !important;
        border: 1px solid #cddbe8 !important;
        box-shadow: 0 3px 10px rgba(17, 46, 70, 0.08) !important;
        padding: 14px !important;
    }

    body .rating-mobile-title {
        font-size: 28px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
        margin-bottom: 10px !important;
        color: #1f3448 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        height: 42px !important;
        min-height: 42px !important;
        border-radius: 10px !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    body .layout-content_rating .rating__item-title {
        font-size: 22px !important;
        line-height: 1.3 !important;
        color: #395a74 !important;
    }

    body .layout-content_rating .rating__item-num {
        font-size: 18px !important;
        color: #65839b !important;
    }

    body .layout-content_rating .button.button_flat-shadowed {
        height: 42px !important;
        line-height: 42px !important;
        border-radius: 10px !important;
    }

    body .layout-content_rating .button.button_flat-shadowed > div,
    body .x0-layout-body .layout-content_rating .button.button_flat-shadowed > div {
        height: 42px !important;
        line-height: 42px !important;
        border-radius: 10px !important;
    }

    body .layout-content_rating .button.button_flat-shadowed > div > span,
    body .x0-layout-body .layout-content_rating .button.button_flat-shadowed > div > span {
        font-size: 14px !important;
    }

    body .x0-layout-body .page-caption.page-caption_h2 h2,
    body .x0-layout-body .page-caption_h2 h2 {
        font-size: 46px !important;
        line-height: 1 !important;
        color: #2d4b64 !important;
        margin-bottom: 6px !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini h3 {
        font-size: 17px !important;
        line-height: 1.22 !important;
        color: #2f5069 !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini .x0-date {
        font-size: 12px !important;
        color: #7f95a8 !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini img.x0-image,
    body .x0-layout-body .pub-list.pub-list_mini .x0-image img,
    body .x0-layout-body .pub-list.pub-list_mini .x0-image {
        width: 64px !important;
        height: 64px !important;
        min-width: 64px !important;
        border-radius: 8px !important;
        object-fit: cover !important;
    }

    body .x0-layout-menu {
        background: #eef5fb !important;
        padding: 10px !important;
    }

    body .x0-layout-menu .grid > li {
        border-radius: 12px !important;
        border: 1px solid #d5e3ef !important;
        box-shadow: 0 1px 4px rgba(19, 48, 72, 0.05) !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special {
        font-size: 24px !important;
        line-height: 1.1 !important;
        font-weight: 500 !important;
        color: #2f5f85 !important;
    }

    body .x0-layout-menu .grid > li > ol > li > a {
        font-size: 13px !important;
        line-height: 1.34 !important;
        color: #4f7597 !important;
        padding: 5px 0 !important;
    }

    /* MOBILE FINAL CONSISTENT LAYER v5 */
    :root {
        --m-bg: #f4f7fb;
        --m-surface: #ffffff;
        --m-border: #d4e0ea;
        --m-text: #26445c;
        --m-subtext: #6e879b;
        --m-primary: #228fcd;
        --m-radius-card: 12px;
        --m-radius-ctl: 10px;
    }

    html, body,
    body .x0-body-wrapper,
    body .x0-layout-header,
    body .x0-layout-body,
    body .x0-layout-menu {
        background: var(--m-bg) !important;
        font-family: "Helvetica Neue", Arial, sans-serif !important;
        color: var(--m-text) !important;
    }

    body .x0-body-wrapper {
        padding-top: 46px !important;
    }

    body .auth-plashka {
        height: 46px !important;
        min-height: 46px !important;
        background: #1f2730 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.14) !important;
    }

    body .auth-plashka .menu.floatl > li {
        height: 46px !important;
    }

    body .auth-plashka .menu > li > a,
    body .auth-plashka .menu > li > span {
        line-height: 46px !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #edf4fb !important;
        text-decoration: none !important;
        border: 0 !important;
    }

    body .x0-mobile-menu-toggle {
        width: 40px !important;
        height: 32px !important;
        top: 7px !important;
        border-radius: 8px !important;
        border: 0 !important;
        background: #2b8ec9 !important;
        box-shadow: none !important;
    }

    body .grid-element-logo,
    body .x0-layout-header_adaptive .grid-element-logo {
        margin-bottom: 8px !important;
    }

    body .logo-svg {
        width: min(100%, 300px) !important;
        max-width: 300px !important;
        margin: 0 auto !important;
        display: block !important;
    }

    body .logo-post {
        font-size: 13px !important;
        font-weight: 500 !important;
        line-height: 1.15 !important;
        letter-spacing: 0.01em !important;
        color: #4a6276 !important;
        margin-bottom: 14px !important;
    }

    body .x0-layout-header .search {
        border: 1px solid var(--m-border) !important;
        border-radius: var(--m-radius-card) !important;
        background: var(--m-surface) !important;
        box-shadow: 0 2px 8px rgba(18, 48, 72, 0.07) !important;
        padding: 10px !important;
    }

    body .x0-layout-header .search form {
        padding: 0 !important;
        gap: 8px !important;
        align-items: center !important;
        flex-wrap: wrap !important;
    }

    body .x0-layout-header .search-mobile-label {
        width: 100% !important;
        flex: 0 0 100% !important;
        font-size: 16px !important;
        font-weight: 700 !important;
        color: var(--m-text) !important;
        margin-bottom: 4px !important;
    }

    body .x0-layout-header .search-q {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 42px !important;
        border-radius: var(--m-radius-ctl) !important;
        border: 1px solid #bfd2e1 !important;
        background: #ffffff !important;
    }

    body .x0-layout-header .search-q input {
        height: 40px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #304c63 !important;
    }

    body .x0-layout-header .search-submit,
    body .layout-content_rating .button.button_flat-shadowed,
    body .x0-layout-body .layout-content_rating .button.button_flat-shadowed {
        height: 42px !important;
        min-width: 88px !important;
        border-radius: var(--m-radius-ctl) !important;
        border: 0 !important;
        background: var(--m-primary) !important;
        background-image: none !important;
        box-shadow: none !important;
    }

    body .x0-layout-header .search-submit {
        flex: 0 0 88px !important;
    }

    body .x0-layout-header .search-submit {
        font-size: 13px !important;
        font-weight: 700 !important;
        letter-spacing: 0.02em !important;
        color: #ffffff !important;
        text-transform: uppercase !important;
    }

    body .layout_showcase .slider1.block_gradient-yellow {
        background: var(--m-surface) !important;
        border: 1px solid #cfdce8 !important;
        border-radius: var(--m-radius-card) !important;
        box-shadow: 0 2px 7px rgba(17, 46, 70, 0.07) !important;
        padding: 12px !important;
    }

    body .rating-mobile-title {
        font-size: 18px !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
        margin: 0 0 8px 0 !important;
        color: #20374c !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul {
        gap: 6px !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        height: 42px !important;
        min-height: 42px !important;
        border-radius: var(--m-radius-ctl) !important;
        border: 1px solid #bfd0df !important;
        background: #f8fbfe !important;
        color: #385975 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li.active > a,
    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a.active {
        background: var(--m-primary) !important;
        border-color: var(--m-primary) !important;
        color: #ffffff !important;
    }

    body .layout-content_rating .rating__wrapper_second {
        border-top: 1px solid #dce7f0 !important;
        margin-top: 8px !important;
        padding-top: 8px !important;
    }

    body .layout-content_rating .rating__item-title {
        font-size: 14px !important;
        line-height: 1.3 !important;
        color: #395a74 !important;
    }

    body .layout-content_rating .rating__item-num {
        font-size: 14px !important;
        color: #67869d !important;
    }

    body .layout-content_rating .button.button_flat-shadowed {
        line-height: 42px !important;
        overflow: hidden !important;
    }

    body .layout-content_rating .button.button_flat-shadowed > div,
    body .x0-layout-body .layout-content_rating .button.button_flat-shadowed > div {
        height: 42px !important;
        line-height: 42px !important;
        border: 0 !important;
        border-radius: var(--m-radius-ctl) !important;
        background: transparent !important;
    }

    body .layout-content_rating .button.button_flat-shadowed > div > span,
    body .x0-layout-body .layout-content_rating .button.button_flat-shadowed > div > span {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #ffffff !important;
        text-decoration: none !important;
    }

    body .x0-layout-body .page-caption.page-caption_h2 h2,
    body .x0-layout-body .page-caption_h2 h2 {
        font-size: 18px !important;
        line-height: 1.15 !important;
        color: #2d4b64 !important;
        margin: 0 0 8px 0 !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini h3 {
        font-size: 18px !important;
        line-height: 1.22 !important;
        color: #2f5069 !important;
        margin-bottom: 4px !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini .x0-date {
        font-size: 12px !important;
        color: var(--m-subtext) !important;
        margin-bottom: 6px !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini img.x0-image,
    body .x0-layout-body .pub-list.pub-list_mini .x0-image img,
    body .x0-layout-body .pub-list.pub-list_mini .x0-image {
        width: 68px !important;
        height: 68px !important;
        min-width: 68px !important;
        border-radius: 8px !important;
        object-fit: cover !important;
    }

    body .x0-layout-menu {
        background: #eef5fb !important;
        padding: 10px !important;
    }

    body .x0-layout-menu .grid > li {
        background: #ffffff !important;
        border: 1px solid #d5e3ef !important;
        border-radius: 12px !important;
        box-shadow: 0 1px 4px rgba(19, 48, 72, 0.05) !important;
        padding: 10px !important;
        margin-bottom: 10px !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special {
        font-size: 24px !important;
        line-height: 1.1 !important;
        font-weight: 500 !important;
        color: #2f5f85 !important;
        margin-bottom: 6px !important;
    }

    body .x0-layout-menu .grid > li > ol {
        padding-left: 0 !important;
        margin-top: 4px !important;
    }

    body .x0-layout-menu .grid > li > ol > li > a {
        font-size: 13px !important;
        line-height: 1.34 !important;
        color: #4f7597 !important;
        padding: 5px 0 !important;
    }

    body #cityModal .city-modal {
        border-radius: 12px !important;
        border: 1px solid var(--m-border) !important;
        box-shadow: 0 8px 20px rgba(12, 30, 45, 0.22) !important;
    }

    body #cityModal .city-modal-title {
        font-size: 28px !important;
        line-height: 1.1 !important;
        color: #253f55 !important;
        font-weight: 700 !important;
    }

    body #cityModal .city-btn {
        border-radius: var(--m-radius-ctl) !important;
        font-size: 16px !important;
        line-height: 40px !important;
        height: 40px !important;
    }

    body #cityModal .city-btn-primary {
        background: var(--m-primary) !important;
        border-color: var(--m-primary) !important;
        color: #fff !important;
    }

    body #cityModal .city-btn-secondary,
    body #cityModal .city-btn-geo {
        background: #f3f7fb !important;
        border: 1px solid #cedbe7 !important;
        color: #45657d !important;
    }
}

@media (max-width: 768px) {
    /* MOBILE FINAL CONSISTENT LAYER v6 (ENDCAP) */
    body .auth-plashka .limiter.container.clear {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 46px !important;
        padding: 0 12px !important;
    }

    body .auth-plashka .menu.floatl,
    body .auth-plashka .menu.floatr {
        display: flex !important;
        align-items: center !important;
        gap: 14px !important;
        margin: 0 !important;
        float: none !important;
    }

    body .auth-plashka .menu.floatr > li:not(.mobile-menu-trigger),
    body .auth-plashka .city-auto-badge,
    body .auth-plashka .city-selector-btn .icon-location,
    body .auth-plashka .menu.floatl > li > i,
    body .x0-layout-header .search form > a.block_inline[target="_blank"] {
        display: none !important;
    }

    body .auth-plashka .menu > li > a,
    body .auth-plashka .menu > li > span,
    body .auth-plashka .city-selector-btn {
        display: inline-flex !important;
        align-items: center !important;
        gap: 4px !important;
        height: 46px !important;
        line-height: 1 !important;
        text-decoration: none !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body .grid-element-logo,
    body .x0-layout-header_adaptive .grid-element-logo {
        margin-top: 8px !important;
        margin-bottom: 10px !important;
        padding-top: 0 !important;
    }

    body .logo-svg {
        max-width: 286px !important;
        width: min(100%, 286px) !important;
    }

    body .x0-layout-header .search,
    body .layout_showcase .slider1.block_gradient-yellow,
    body .layout-content_news .page__block,
    body .x0-layout-body .layout-content_news .block_gray {
        box-shadow: none !important;
        border-radius: 14px !important;
    }

    body .x0-layout-header .search form {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        padding: 0 !important;
    }

    body .x0-layout-header .search-mobile-label {
        flex: 0 0 100% !important;
        width: 100% !important;
    }

    body .x0-layout-header .search-q {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 40px !important;
    }

    body .x0-layout-header .search-submit {
        flex: 0 0 88px !important;
        height: 40px !important;
        min-width: 88px !important;
        line-height: 40px !important;
    }

    body .layout_showcase .slider1.block_gradient-yellow .page__block {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li {
        width: calc(50% - 3px) !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a,
    body .layout-content_rating .button.button_flat-shadowed,
    body .layout-content_rating .button.button_flat-shadowed > div,
    body #cityModal .city-btn {
        height: 40px !important;
        min-height: 40px !important;
        line-height: 40px !important;
        border-radius: 10px !important;
    }

    body #cityModal .city-modal-title {
        font-size: 20px !important;
        line-height: 1.15 !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special {
        font-size: 20px !important;
        line-height: 1.12 !important;
        font-weight: 600 !important;
    }

    body .x0-layout-menu .grid > li > ol > li > a {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }
}

@media (max-width: 768px) {
    /* MOBILE FINAL CONTRACT v8 (ENDCAP) */
    :root {
        --m8-bg: #eef3f8;
        --m8-surface: #ffffff;
        --m8-border: #d1dbe5;
        --m8-text: #27445b;
        --m8-muted: #70869a;
        --m8-primary: #2d96d4;
        --m8-primary-dark: #227fb3;
        --m8-radius-card: 12px;
        --m8-radius-ctl: 10px;
    }

    html,
    body {
        min-height: 100% !important;
        height: auto !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: var(--m8-bg) !important;
        color: var(--m8-text) !important;
        font-family: "Helvetica Neue", Arial, sans-serif !important;
    }

    body .x0-body-wrapper,
    body .x0-layout-header,
    body .x0-layout-body,
    body .x0-layout-menu {
        background: var(--m8-bg) !important;
        color: var(--m8-text) !important;
    }

    body .x0-body-wrapper { padding-top: 46px !important; }

    body .auth-plashka {
        height: 46px !important;
        min-height: 46px !important;
        background: #1f2933 !important;
        border-bottom: 1px solid rgba(255, 255, 255, 0.13) !important;
    }

    body .auth-plashka .limiter.container.clear {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 46px !important;
        padding: 0 12px !important;
    }

    body .auth-plashka .menu.floatl,
    body .auth-plashka .menu.floatr {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 0 !important;
        float: none !important;
    }

    body .auth-plashka .menu.floatr > li:not(.mobile-menu-trigger),
    body .auth-plashka .city-auto-badge,
    body .auth-plashka .city-selector-btn .icon-location,
    body .auth-plashka .menu.floatl > li > i {
        display: none !important;
    }

    body .auth-plashka .menu > li,
    body .auth-plashka .menu > li > a,
    body .auth-plashka .city-selector-btn {
        height: 46px !important;
        line-height: 46px !important;
    }

    body .auth-plashka .menu > li > a,
    body .auth-plashka .city-selector-btn {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
        color: #edf3fa !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body .x0-mobile-menu-toggle {
        width: 40px !important;
        height: 32px !important;
        top: 0 !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: var(--m8-primary) !important;
        box-shadow: none !important;
    }

    body .grid-element-logo,
    body .x0-layout-header_adaptive .grid-element-logo {
        margin-top: 8px !important;
        margin-bottom: 12px !important;
        padding-top: 0 !important;
    }

    body .logo-svg {
        width: min(100%, 286px) !important;
        max-width: 286px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    body .logo-post {
        margin-top: 6px !important;
        margin-bottom: 12px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        font-weight: 500 !important;
        color: #425d73 !important;
    }

    body .x0-layout-header .search,
    body .layout_showcase .slider1.block_gradient-yellow,
    body .layout-content_news .page__block,
    body .x0-layout-body .layout-content_news .block_gray,
    body .x0-layout-menu .grid > li,
    body .x0-layout-body .page__block {
        background: var(--m8-surface) !important;
        border: 1px solid var(--m8-border) !important;
        border-radius: var(--m8-radius-card) !important;
        box-shadow: none !important;
    }

    body .x0-layout-header .search {
        padding: 12px !important;
        overflow: visible !important;
    }

    body .x0-layout-header .search form {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        align-items: center !important;
        padding: 0 !important;
        overflow: visible !important;
    }

    body .x0-layout-header .search form > a.block_inline[target="_blank"] { display: none !important; }

    body .x0-layout-header .search-mobile-label {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 0 3px 0 !important;
        font-size: 18px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
        color: var(--m8-text) !important;
    }

    body .x0-layout-header .search-q {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 42px !important;
        border: 1px solid #bed0df !important;
        border-radius: var(--m8-radius-ctl) !important;
        background: #fff !important;
    }

    body .x0-layout-header .search-q input {
        height: 40px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #314f67 !important;
    }

    body .x0-layout-header .search-q input::placeholder {
        color: #89a2b6 !important;
        font-weight: 500 !important;
    }

    body .x0-layout-header .search-submit {
        flex: 0 0 88px !important;
        min-width: 88px !important;
        height: 42px !important;
        line-height: 42px !important;
        border: 0 !important;
        border-radius: var(--m8-radius-ctl) !important;
        background: var(--m8-primary) !important;
        color: #fff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
        box-shadow: none !important;
    }

    body .x0-layout-header .search-submit:active { background: var(--m8-primary-dark) !important; }

    body .layout_showcase .slider1.block_gradient-yellow { padding: 12px !important; }

    body .layout_showcase .slider1.block_gradient-yellow .page__block {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    body .rating-mobile-title {
        margin: 0 0 10px 0 !important;
        font-size: 18px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
        color: #21384c !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul {
        display: flex !important;
        gap: 6px !important;
        height: auto !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li {
        position: static !important;
        left: auto !important;
        width: calc(50% - 3px) !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        height: 42px !important;
        min-height: 42px !important;
        border: 1px solid #c0d1df !important;
        border-radius: var(--m8-radius-ctl) !important;
        background: #f7fbff !important;
        color: #466a86 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li.active > a,
    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a.active {
        background: var(--m8-primary) !important;
        border-color: var(--m8-primary) !important;
        color: #fff !important;
    }

    body .layout-content_rating .rating__wrapper_second {
        border-top: 1px solid #dce6ef !important;
        margin-top: 8px !important;
        padding-top: 8px !important;
    }

    body .layout-content_rating .rating__item-title {
        font-size: 14px !important;
        line-height: 1.35 !important;
        color: #3b5b74 !important;
    }

    body .layout-content_rating .rating__item-num {
        font-size: 14px !important;
        color: #68839a !important;
    }

    body .layout-content_rating .button.button_flat-shadowed,
    body .layout-content_rating .button.button_flat-shadowed > div {
        height: 42px !important;
        line-height: 42px !important;
        border: 0 !important;
        border-radius: var(--m8-radius-ctl) !important;
        background: var(--m8-primary) !important;
        box-shadow: none !important;
    }

    body .layout-content_rating .button.button_flat-shadowed > div > span {
        color: #fff !important;
        font-size: 14px !important;
        font-weight: 700 !important;
    }

    body .x0-layout-body .page-caption.page-caption_h2 h2,
    body .x0-layout-body .page-caption_h2 h2 {
        margin: 0 0 10px 0 !important;
        font-size: 18px !important;
        line-height: 1.1 !important;
        font-weight: 700 !important;
        color: #243d52 !important;
    }

    body .pub-list.pub-list_mini > li {
        width: 100% !important;
        float: none !important;
        padding-right: 0 !important;
        margin-bottom: 10px !important;
    }

    body .pub-list.pub-list_mini > li > .clear {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    body .pub-list.pub-list_mini .pub-list__image {
        width: 64px !important;
        min-width: 64px !important;
        height: 64px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        display: block !important;
    }

    body .pub-list.pub-list_mini img.x0-image,
    body .pub-list.pub-list_mini .pub-list__image img {
        width: 64px !important;
        height: 64px !important;
        object-fit: cover !important;
    }

    body .pub-list.pub-list_mini .pub-list__body {
        margin-left: 0 !important;
        min-width: 0 !important;
        flex: 1 1 auto !important;
    }

    body .pub-list.pub-list_mini h3 {
        margin: 0 0 4px 0 !important;
        font-size: 17px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        color: #2d4d64 !important;
    }

    body .pub-list.pub-list_mini .x0-date {
        margin: 0 0 6px 0 !important;
        font-size: 12px !important;
        color: var(--m8-muted) !important;
    }

    body .pub-list.pub-list_mini p,
    body .pub-list.pub-list_mini .x0-text-sm,
    body .pub-list.pub-list_mini .pub-list__body > div {
        font-size: 14px !important;
        line-height: 1.3 !important;
        color: #43627a !important;
    }

    body .x0-layout-body img,
    body .x0-layout-body .x0-image img {
        border-radius: 8px !important;
    }

    body #cityModal .city-modal {
        border: 1px solid var(--m8-border) !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 24px rgba(18, 38, 56, 0.24) !important;
    }

    body #cityModal .city-modal-title {
        font-size: 18px !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
        color: #2a465c !important;
    }

    body #cityModal .city-btn {
        height: 42px !important;
        line-height: 42px !important;
        border-radius: var(--m8-radius-ctl) !important;
        font-size: 15px !important;
        font-weight: 600 !important;
    }

    body #cityModal .city-btn-primary {
        background: var(--m8-primary) !important;
        border-color: var(--m8-primary) !important;
        color: #fff !important;
    }

    body #cityModal .city-btn-secondary,
    body #cityModal .city-btn-geo {
        background: #f4f8fc !important;
        border: 1px solid #cad8e4 !important;
        color: #4d6981 !important;
    }

    body #cityModal .city-search-input {
        height: 42px !important;
        line-height: 42px !important;
        border-radius: 8px !important;
        border: 1px solid #bfd2e1 !important;
    }

    body #cityModal .city-popular-label {
        font-size: 13px !important;
        color: #7d95a7 !important;
        margin-bottom: 6px !important;
    }

    body #cityModal .city-links {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px 10px !important;
    }

    body .x0-layout-menu {
        background: var(--m8-bg) !important;
        padding: 10px !important;
    }

    body .x0-layout-menu .grid > li {
        margin-bottom: 10px !important;
        padding: 10px !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special > i { display: none !important; }

    body .x0-layout-menu .grid > li > a.link-caption-special > span { padding-left: 0 !important; }

    body .x0-layout-menu .grid > li > a.link-caption-special {
        display: block !important;
        margin-bottom: 8px !important;
        font-size: 20px !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
        color: #2e5270 !important;
    }

    body .x0-layout-menu .grid > li > ol {
        padding-left: 0 !important;
        margin-top: 0 !important;
    }

    body .x0-layout-menu .grid > li > ol > li > a {
        display: block !important;
        padding: 6px 0 !important;
        font-size: 15px !important;
        line-height: 1.32 !important;
        color: #4a6f8d !important;
    }

    body .layout-content_rating,
    body .layout-content_news,
    body .layout-content_articles,
    body .layout-content_forum {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 768px) {
    /* MOBILE FINAL CONTRACT v9 (STRUCTURAL CLEANUP) */
    :root {
        --m9-bg: #edf3f8;
        --m9-surface: #ffffff;
        --m9-border: #d0dbe6;
        --m9-text: #28455d;
        --m9-muted: #6f8799;
        --m9-primary: #2e96d4;
        --m9-radius-card: 12px;
        --m9-radius-ctl: 10px;
    }

    html,
    body {
        background: var(--m9-bg) !important;
        color: var(--m9-text) !important;
        font-family: "Helvetica Neue", Arial, sans-serif !important;
    }

    body,
    body a,
    body p,
    body span,
    body li,
    body h1,
    body h2,
    body h3,
    body h4,
    body h5,
    body input,
    body button,
    body textarea {
        font-family: "Helvetica Neue", Arial, sans-serif !important;
    }

    /* Normalize all bordered content blocks to one card contract */
    body .x0-layout-body .page__block,
    body .x0-layout-body .block_bordered,
    body .x0-layout-body .block_bordered-dashed,
    body .x0-layout-body .forums-posts-last,
    body .x0-layout-body .blogs-titles,
    body .x0-layout-body .publications,
    body .x0-layout-body .gallery-tape-wrapper,
    body .x0-layout-menu .page__block,
    body .x0-layout-footer .page__block {
        background: var(--m9-surface) !important;
        border: 1px solid var(--m9-border) !important;
        border-radius: var(--m9-radius-card) !important;
        box-shadow: none !important;
    }

    body .x0-layout-body .page__block,
    body .x0-layout-body .block_bordered,
    body .x0-layout-body .block_bordered-dashed,
    body .x0-layout-body .forums-posts-last,
    body .x0-layout-body .blogs-titles,
    body .x0-layout-body .publications {
        padding: 12px !important;
    }

    body .x0-layout-body .gallery-tape-wrapper {
        padding: 12px !important;
    }

    body .x0-layout-body .page-caption.page-caption_h2 h2,
    body .x0-layout-body .page-caption_h2 h2,
    body .x0-layout-body .x0-tabs-title h2 {
        font-size: 18px !important;
        line-height: 1.15 !important;
        margin: 0 0 10px 0 !important;
        font-weight: 700 !important;
        color: #26445c !important;
    }

    body .x0-layout-body .x0-tabs-caption > li > a,
    body .x0-layout-body .x0-tabs-caption > li {
        font-size: 13px !important;
        line-height: 1.2 !important;
    }

    body .x0-layout-body .pub-list > li,
    body .x0-layout-body .pub-list.pub-list_mini > li {
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #dfe8f0 !important;
    }

    body .x0-layout-body .pub-list > li:last-child,
    body .x0-layout-body .pub-list.pub-list_mini > li:last-child {
        border-bottom: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    body .x0-layout-body .pub-list__image,
    body .x0-layout-body .pub-list__image img,
    body .x0-layout-body img.x0-image,
    body .x0-layout-body .x0-image img {
        border-radius: 8px !important;
    }

    body .x0-layout-body .pub-list__image {
        margin-right: 10px !important;
    }

    body .x0-layout-body .pub-list__body {
        margin-left: 0 !important;
        min-width: 0 !important;
    }

    body .x0-layout-body .pub-list h3,
    body .x0-layout-body .pub-list__body h3 {
        margin: 0 0 4px 0 !important;
        font-size: 17px !important;
        line-height: 1.2 !important;
        color: #2c4c65 !important;
        font-weight: 700 !important;
    }

    body .x0-layout-body .x0-date,
    body .x0-layout-body .x0-date-sm {
        font-size: 12px !important;
        line-height: 1.2 !important;
        color: var(--m9-muted) !important;
        margin: 0 0 6px 0 !important;
    }

    body .x0-layout-body .pub-list p,
    body .x0-layout-body .pub-list .x0-text-sm,
    body .x0-layout-body .pub-list__body > div {
        font-size: 14px !important;
        line-height: 1.32 !important;
        color: #41617a !important;
    }

    /* Rating cleanup */
    body .layout_showcase .slider1.block_gradient-yellow {
        padding: 12px !important;
        border: 1px solid var(--m9-border) !important;
        border-radius: var(--m9-radius-card) !important;
    }

    body .layout_showcase .slider1.block_gradient-yellow .page__block {
        border: 0 !important;
        padding: 0 !important;
    }

    body .rating-mobile-title {
        font-size: 18px !important;
        margin: 0 0 10px 0 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul {
        display: flex !important;
        gap: 6px !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li {
        position: static !important;
        width: calc(50% - 3px) !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        border-radius: var(--m9-radius-ctl) !important;
        height: 42px !important;
        min-height: 42px !important;
        font-size: 13px !important;
        border: 1px solid #bfd1df !important;
        background: #f6fafe !important;
        color: #456a87 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li.active > a,
    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a.active {
        background: var(--m9-primary) !important;
        border-color: var(--m9-primary) !important;
        color: #fff !important;
    }

    body .layout-content_rating .rating__item-title {
        line-height: 1.36 !important;
    }

    body .layout-content_rating .button.button_flat-shadowed,
    body .layout-content_rating .button.button_flat-shadowed > div {
        border-radius: var(--m9-radius-ctl) !important;
        height: 42px !important;
        line-height: 42px !important;
        background: var(--m9-primary) !important;
    }

    /* Menu cleanup */
    body .x0-layout-menu {
        background: var(--m9-bg) !important;
        padding: 10px !important;
    }

    body .x0-layout-menu .grid > li {
        padding: 10px !important;
        margin-bottom: 10px !important;
        border: 1px solid var(--m9-border) !important;
        border-radius: var(--m9-radius-card) !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special > i { display: none !important; }
    body .x0-layout-menu .grid > li > a.link-caption-special > span { padding-left: 0 !important; }

    body .x0-layout-menu .grid > li > a.link-caption-special {
        font-size: 20px !important;
        line-height: 1.14 !important;
        font-weight: 700 !important;
        color: #2f5271 !important;
        margin-bottom: 8px !important;
    }

    body .x0-layout-menu .grid > li > ol {
        padding-left: 0 !important;
        margin-top: 0 !important;
    }

    body .x0-layout-menu .grid > li > ol > li > a {
        padding: 6px 0 !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
        color: #4a6f8d !important;
    }

    /* Modal cleanup */
    body #cityModal .city-modal {
        border: 1px solid var(--m9-border) !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 24px rgba(20, 39, 56, 0.24) !important;
    }

    body #cityModal .city-modal-title {
        font-size: 18px !important;
        color: #2a465c !important;
    }

    body #cityModal .city-btn {
        height: 42px !important;
        line-height: 42px !important;
        border-radius: var(--m9-radius-ctl) !important;
        font-size: 15px !important;
    }

    body #cityModal .city-btn-primary {
        background: var(--m9-primary) !important;
        border-color: var(--m9-primary) !important;
    }

    body #cityModal .city-btn-secondary,
    body #cityModal .city-btn-geo {
        background: #f4f8fc !important;
        border: 1px solid #cad8e4 !important;
        color: #4d6981 !important;
    }

    body #cityModal .city-search-input {
        height: 42px !important;
        border-radius: 8px !important;
        border: 1px solid #bfd2e1 !important;
    }

    body #cityModal .city-links {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px 10px !important;
    }

    /* Footer cleanup */
    body .x0-layout-footer {
        background: #565656 !important;
    }

    body .x0-layout-footer .page__block,
    body .x0-layout-footer .grid > li {
        background: transparent !important;
        border-color: rgba(255,255,255,0.15) !important;
        box-shadow: none !important;
    }

    body .x0-layout-footer .link-caption-special,
    body .x0-layout-footer .grid > li > ol > li > a {
        color: #e5e9ee !important;
    }

    /* Vertical rhythm */
    body .x0-layout-body > .page__block,
    body .x0-layout-body .layout-content_rating,
    body .x0-layout-body .layout-content_news,
    body .x0-layout-body .x0-tabs,
    body .x0-layout-body .forums-posts-last,
    body .x0-layout-body .blogs-titles,
    body .x0-layout-body .publications {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 768px) {
    /* MOBILE FINAL CONTRACT v10 (ANTI-MESS PASS) */
    :root {
        --m10-bg: #ecf2f7;
        --m10-surface: #ffffff;
        --m10-border: #cedae5;
        --m10-text: #29475f;
        --m10-muted: #6f8799;
        --m10-primary: #2f97d5;
        --m10-primary-2: #257fb3;
        --m10-card-radius: 12px;
        --m10-ctl-radius: 10px;
    }

    html,
    body {
        min-height: 100% !important;
        height: auto !important;
        overflow-x: hidden !important;
        overflow-y: auto !important;
        background: var(--m10-bg) !important;
        color: var(--m10-text) !important;
        font-family: "Helvetica Neue", Arial, sans-serif !important;
    }

    body .x0-layout-body *,
    body .x0-layout-menu *,
    body .x0-layout-footer * {
        box-sizing: border-box !important;
    }

    body,
    body a,
    body p,
    body li,
    body span,
    body h1,
    body h2,
    body h3,
    body h4,
    body h5,
    body button,
    body input,
    body textarea {
        font-family: "Helvetica Neue", Arial, sans-serif !important;
    }

    body .x0-body-wrapper,
    body .x0-layout-header,
    body .x0-layout-body,
    body .x0-layout-menu {
        background: var(--m10-bg) !important;
    }

    body .x0-body-wrapper { padding-top: 46px !important; }

    body .auth-plashka {
        height: 46px !important;
        min-height: 46px !important;
        background: #202a34 !important;
        border-bottom: 1px solid rgba(255,255,255,0.13) !important;
    }

    body .auth-plashka .limiter.container.clear {
        display: flex !important;
        align-items: center !important;
        justify-content: space-between !important;
        height: 46px !important;
        padding: 0 12px !important;
    }

    body .auth-plashka .menu.floatl,
    body .auth-plashka .menu.floatr {
        display: flex !important;
        align-items: center !important;
        gap: 12px !important;
        margin: 0 !important;
        float: none !important;
    }

    body .auth-plashka .menu.floatr > li:not(.mobile-menu-trigger),
    body .auth-plashka .city-auto-badge,
    body .auth-plashka .city-selector-btn .icon-location,
    body .auth-plashka .menu.floatl > li > i {
        display: none !important;
    }

    body .auth-plashka .menu > li,
    body .auth-plashka .menu > li > a,
    body .auth-plashka .city-selector-btn {
        height: 46px !important;
        line-height: 46px !important;
    }

    body .auth-plashka .menu > li > a,
    body .auth-plashka .city-selector-btn {
        display: inline-flex !important;
        align-items: center !important;
        text-decoration: none !important;
        font-size: 14px !important;
        font-weight: 600 !important;
        color: #edf3fa !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    body .x0-mobile-menu-toggle {
        width: 40px !important;
        height: 32px !important;
        top: 0 !important;
        border: 0 !important;
        border-radius: 8px !important;
        background: var(--m10-primary) !important;
        box-shadow: none !important;
    }

    body .grid-element-logo,
    body .x0-layout-header_adaptive .grid-element-logo {
        margin-top: 8px !important;
        margin-bottom: 12px !important;
        padding-top: 0 !important;
    }

    body .logo-svg {
        width: min(100%, 286px) !important;
        max-width: 286px !important;
        display: block !important;
        margin: 0 auto !important;
    }

    body .logo-post {
        margin-top: 6px !important;
        margin-bottom: 12px !important;
        font-size: 13px !important;
        line-height: 1.2 !important;
        color: #425d73 !important;
    }

    /* Cards */
    body .x0-layout-body .page__block,
    body .x0-layout-body .block_bordered,
    body .x0-layout-body .block_bordered-dashed,
    body .x0-layout-body .forums-posts-last,
    body .x0-layout-body .blogs-titles,
    body .x0-layout-body .publications,
    body .x0-layout-body .gallery-tape-wrapper,
    body .layout_showcase .slider1.block_gradient-yellow,
    body .x0-layout-menu .grid > li,
    body .x0-layout-footer .grid > li {
        background: var(--m10-surface) !important;
        border: 1px solid var(--m10-border) !important;
        border-radius: var(--m10-card-radius) !important;
        box-shadow: none !important;
    }

    body .x0-layout-body .page__block,
    body .x0-layout-body .block_bordered,
    body .x0-layout-body .block_bordered-dashed,
    body .x0-layout-body .forums-posts-last,
    body .x0-layout-body .blogs-titles,
    body .x0-layout-body .publications,
    body .x0-layout-body .gallery-tape-wrapper,
    body .layout_showcase .slider1.block_gradient-yellow {
        padding: 12px !important;
    }

    body .x0-layout-body .page-caption.page-caption_h2 h2,
    body .x0-layout-body .page-caption_h2 h2,
    body .x0-layout-body .x0-tabs-title h2,
    body .rating-mobile-title {
        margin: 0 0 10px 0 !important;
        font-size: 18px !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
        color: #27445b !important;
    }

    /* Search */
    body .x0-layout-header .search {
        background: var(--m10-surface) !important;
        border: 1px solid var(--m10-border) !important;
        border-radius: var(--m10-card-radius) !important;
        box-shadow: none !important;
        padding: 12px !important;
    }

    body .x0-layout-header .search form {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 8px !important;
        align-items: center !important;
        padding: 0 !important;
    }

    body .x0-layout-header .search form > a.block_inline[target="_blank"] { display: none !important; }

    body .x0-layout-header .search-mobile-label {
        width: 100% !important;
        flex: 0 0 100% !important;
        margin: 0 0 3px 0 !important;
        font-size: 18px !important;
        font-weight: 700 !important;
    }

    body .x0-layout-header .search-q {
        flex: 1 1 0 !important;
        min-width: 0 !important;
        height: 42px !important;
        border: 1px solid #bfd1df !important;
        border-radius: var(--m10-ctl-radius) !important;
        background: #fff !important;
    }

    body .x0-layout-header .search-q input {
        height: 40px !important;
        font-size: 16px !important;
        font-weight: 600 !important;
        color: #33526a !important;
    }

    body .x0-layout-header .search-q input::placeholder {
        color: #8aa3b6 !important;
        font-weight: 500 !important;
    }

    body .x0-layout-header .search-submit {
        flex: 0 0 88px !important;
        min-width: 88px !important;
        height: 42px !important;
        line-height: 42px !important;
        border: 0 !important;
        border-radius: var(--m10-ctl-radius) !important;
        background: var(--m10-primary) !important;
        color: #fff !important;
        font-size: 13px !important;
        font-weight: 700 !important;
        text-transform: uppercase !important;
    }

    body .x0-layout-header .search-submit:active { background: var(--m10-primary-2) !important; }

    /* Rating */
    body .layout_showcase .slider1.block_gradient-yellow .page__block {
        border: 0 !important;
        background: transparent !important;
        box-shadow: none !important;
        padding: 0 !important;
        margin: 0 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul {
        display: flex !important;
        gap: 6px !important;
        height: auto !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li {
        position: static !important;
        left: auto !important;
        width: calc(50% - 3px) !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        height: 42px !important;
        min-height: 42px !important;
        border: 1px solid #bfd1df !important;
        border-radius: var(--m10-ctl-radius) !important;
        background: #f6fafe !important;
        color: #456a87 !important;
        font-size: 13px !important;
        font-weight: 700 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li.active > a,
    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a.active {
        background: var(--m10-primary) !important;
        border-color: var(--m10-primary) !important;
        color: #fff !important;
    }

    body .layout-content_rating .rating__wrapper_second {
        border-top: 1px solid #dce6ef !important;
        margin-top: 8px !important;
        padding-top: 8px !important;
    }

    body .layout-content_rating .rating__item-title {
        font-size: 14px !important;
        line-height: 1.35 !important;
    }

    body .layout-content_rating .rating__item-num {
        font-size: 14px !important;
        color: #6a849a !important;
    }

    body .layout-content_rating .button.button_flat-shadowed,
    body .layout-content_rating .button.button_flat-shadowed > div {
        height: 42px !important;
        line-height: 42px !important;
        border: 0 !important;
        border-radius: var(--m10-ctl-radius) !important;
        background: var(--m10-primary) !important;
    }

    body .layout-content_rating .button.button_flat-shadowed > div > span {
        font-size: 14px !important;
        font-weight: 700 !important;
        color: #fff !important;
    }

    /* News + content anti-sticking */
    body .x0-layout-body .pub-list,
    body .x0-layout-body .pub-list.pub-list_mini {
        margin: 0 !important;
    }

    body .x0-layout-body .pub-list > li,
    body .x0-layout-body .pub-list.pub-list_mini > li {
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #dfe8f0 !important;
    }

    body .x0-layout-body .pub-list > li:last-child,
    body .x0-layout-body .pub-list.pub-list_mini > li:last-child {
        border-bottom: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    body .x0-layout-body .pub-list > li > .clear,
    body .x0-layout-body .pub-list.pub-list_mini > li > .clear {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    body .x0-layout-body .pub-list__image {
        width: 64px !important;
        min-width: 64px !important;
        height: 64px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
        margin: 0 !important;
    }

    body .x0-layout-body .pub-list__image img,
    body .x0-layout-body img.x0-image,
    body .x0-layout-body .x0-image img {
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        border-radius: 8px !important;
        display: block !important;
    }

    body .x0-layout-body .pub-list__body {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    body .x0-layout-body .pub-list h3,
    body .x0-layout-body .pub-list__body h3 {
        margin: 0 0 4px 0 !important;
        font-size: 17px !important;
        line-height: 1.2 !important;
        font-weight: 700 !important;
        color: #2d4d65 !important;
    }

    body .x0-layout-body .x0-date,
    body .x0-layout-body .x0-date-sm {
        margin: 0 0 6px 0 !important;
        font-size: 12px !important;
        line-height: 1.2 !important;
        color: var(--m10-muted) !important;
    }

    body .x0-layout-body .pub-list p,
    body .x0-layout-body .pub-list .x0-text-sm,
    body .x0-layout-body .pub-list__body > div {
        margin: 0 !important;
        font-size: 14px !important;
        line-height: 1.32 !important;
        color: #426179 !important;
    }

    body .x0-layout-body .x0-tabs .pub-list__image,
    body .x0-layout-body .x0-tabs .x0-image {
        width: 100% !important;
        height: auto !important;
        min-width: 0 !important;
        margin-bottom: 8px !important;
    }

    body .x0-layout-body .x0-tabs .pub-list__image img,
    body .x0-layout-body .x0-tabs .x0-image img {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
    }

    /* Modal */
    body #cityModal .city-modal {
        border: 1px solid var(--m10-border) !important;
        border-radius: 14px !important;
        box-shadow: 0 10px 24px rgba(20,39,56,0.24) !important;
    }

    body #cityModal .city-modal-title {
        font-size: 18px !important;
        line-height: 1.15 !important;
        font-weight: 700 !important;
        color: #2a465d !important;
    }

    body #cityModal .city-btn {
        height: 42px !important;
        line-height: 42px !important;
        border-radius: var(--m10-ctl-radius) !important;
        font-size: 15px !important;
        font-weight: 600 !important;
    }

    body #cityModal .city-btn-primary {
        background: var(--m10-primary) !important;
        border-color: var(--m10-primary) !important;
        color: #fff !important;
    }

    body #cityModal .city-btn-secondary,
    body #cityModal .city-btn-geo {
        background: #f4f8fc !important;
        border: 1px solid #cad8e4 !important;
        color: #4c6981 !important;
    }

    body #cityModal .city-search-input {
        height: 42px !important;
        border-radius: 8px !important;
        border: 1px solid #bfd2e1 !important;
    }

    body #cityModal .city-popular-label {
        font-size: 13px !important;
        color: #7d95a7 !important;
        margin-bottom: 6px !important;
    }

    body #cityModal .city-links {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px 10px !important;
    }

    /* Menu */
    body .x0-layout-menu {
        background: var(--m10-bg) !important;
        padding: 10px !important;
    }

    body .x0-layout-menu .grid > li {
        padding: 10px !important;
        margin-bottom: 10px !important;
        border-radius: var(--m10-card-radius) !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special > i { display: none !important; }
    body .x0-layout-menu .grid > li > a.link-caption-special > span { padding-left: 0 !important; }

    body .x0-layout-menu .grid > li > a.link-caption-special {
        display: block !important;
        margin-bottom: 8px !important;
        font-size: 20px !important;
        line-height: 1.14 !important;
        font-weight: 700 !important;
        color: #2f5271 !important;
    }

    body .x0-layout-menu .grid > li > ol {
        margin-top: 0 !important;
        padding-left: 0 !important;
    }

    body .x0-layout-menu .grid > li > ol > li > a {
        display: block !important;
        padding: 6px 0 !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
        color: #4a6f8d !important;
    }

    /* Footer */
    body .x0-layout-footer { background: #595959 !important; }

    body .x0-layout-footer .grid > li {
        border: 1px solid rgba(255,255,255,0.14) !important;
        background: transparent !important;
        border-radius: 12px !important;
    }

    body .x0-layout-footer .link-caption-special,
    body .x0-layout-footer .grid > li > ol > li > a {
        color: #e5e9ee !important;
    }

    /* Global rhythm */
    body .x0-layout-body .page__block,
    body .x0-layout-body .layout-content_rating,
    body .x0-layout-body .x0-tabs,
    body .x0-layout-body .forums-posts-last,
    body .x0-layout-body .blogs-titles,
    body .x0-layout-body .publications {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
    }
}

@media (max-width: 768px) {
    /* MOBILE FINAL CONTRACT v10b (pub-list regression fix) */

    /* apply compact media layout only for mini news list */
    body .x0-layout-body .pub-list.pub-list_mini > li > .clear {
        display: flex !important;
        align-items: flex-start !important;
        gap: 10px !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini .pub-list__image {
        width: 64px !important;
        min-width: 64px !important;
        height: 64px !important;
        margin: 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini .pub-list__image img,
    body .x0-layout-body .pub-list.pub-list_mini img.x0-image {
        width: 64px !important;
        height: 64px !important;
        object-fit: cover !important;
        display: block !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini .pub-list__body {
        flex: 1 1 auto !important;
        min-width: 0 !important;
        margin: 0 !important;
    }

    /* restore default stacked behavior for non-mini lists (articles, stories, galleries, etc.) */
    body .x0-layout-body .pub-list:not(.pub-list_mini) > li > .clear {
        display: block !important;
    }

    body .x0-layout-body .pub-list:not(.pub-list_mini) .pub-list__image,
    body .x0-layout-body .pub-list:not(.pub-list_mini) .x0-image {
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 0 8px 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    body .x0-layout-body .pub-list:not(.pub-list_mini) .pub-list__image img,
    body .x0-layout-body .pub-list:not(.pub-list_mini) .x0-image img,
    body .x0-layout-body .pub-list:not(.pub-list_mini) img.x0-image {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
    }

    body .x0-layout-body .pub-list:not(.pub-list_mini) .pub-list__body {
        margin: 0 !important;
        min-width: 0 !important;
    }
}

@media (max-width: 768px) {
    /* MOBILE FINAL CONTRACT v10c (text flow stabilization) */

    /* Remove comment/meta side panel that breaks text width on mobile cards */
    body .x0-layout-body .list-info-panel,
    body .x0-layout-body .list-info__comments,
    body .x0-layout-body .comment__count {
        display: none !important;
    }

    /* Flatten legacy clear/overflow wrappers inside card body */
    body .x0-layout-body .pub-list__body,
    body .x0-layout-body .pub-list__body.clear {
        display: block !important;
        overflow: visible !important;
        clear: both !important;
    }

    body .x0-layout-body .pub-list__body > div[style*="overflow: hidden"] {
        overflow: visible !important;
    }

    body .x0-layout-body .pub-list__body .x0-date,
    body .x0-layout-body .pub-list__body .x0-date-sm {
        margin-top: 0 !important;
    }

    /* Keep article cards vertically stacked and readable */
    body .x0-layout-body .x0-tabs .pub-list > li,
    body .x0-layout-body .x0-tabs .pub-list > li.clear,
    body .x0-layout-body .x0-tabs .x0-tabs-element {
        display: block !important;
    }

    body .x0-layout-body .x0-tabs .pub-list__image,
    body .x0-layout-body .x0-tabs .x0-image {
        float: none !important;
        width: 100% !important;
        height: auto !important;
        margin: 0 0 8px 0 !important;
    }

    body .x0-layout-body .x0-tabs .pub-list__body {
        margin: 0 !important;
        width: 100% !important;
    }

    /* Avoid accidental side-by-side text fragments */
    body .x0-layout-body .x0-tabs .pub-list__body > div {
        width: 100% !important;
        float: none !important;
    }
}

@media (max-width: 768px) {
    /* MOBILE FINAL CONTRACT v11 (remove double frames + unify buttons + spacing) */

    /* kill nested frame-in-frame effect */
    body .x0-layout-body .page__block .page__block,
    body .x0-layout-body .block_bordered .page__block,
    body .x0-layout-body .block_bordered-dashed .page__block,
    body .layout_showcase .slider1.block_gradient-yellow .page__block,
    body .x0-layout-menu .page__block .grid > li,
    body .x0-layout-footer .page__block .grid > li {
        background: transparent !important;
        border: 0 !important;
        box-shadow: none !important;
    }

    /* one spacing rhythm */
    body .x0-layout-body .page__block,
    body .x0-layout-body .block_bordered,
    body .x0-layout-body .block_bordered-dashed,
    body .x0-layout-body .forums-posts-last,
    body .x0-layout-body .blogs-titles,
    body .x0-layout-body .publications,
    body .x0-layout-body .x0-tabs,
    body .x0-layout-menu .grid > li,
    body .x0-layout-footer .grid > li {
        margin-top: 12px !important;
        margin-bottom: 12px !important;
        padding: 12px !important;
    }

    /* unify all action buttons and remove stripe artifacts */
    body .x0-layout-header .search-submit,
    body .layout-content_rating .button,
    body .layout-content_rating .button.button_flat-shadowed,
    body .layout-content_rating .button.button_flat-shadowed > div,
    body .layout-content_rating .button.button_flat-shadowed > div > span,
    body #cityModal .city-btn,
    body .x0-layout-body .button,
    body .x0-layout-body button {
        border-radius: 10px !important;
        box-shadow: none !important;
        background-image: none !important;
        text-shadow: none !important;
    }

    body .layout-content_rating .button.button_flat-shadowed,
    body .layout-content_rating .button.button_flat-shadowed > div,
    body .x0-layout-header .search-submit,
    body #cityModal .city-btn-primary {
        background: #2e96d4 !important;
        border: 0 !important;
        color: #fff !important;
        height: 42px !important;
        line-height: 42px !important;
    }

    body #cityModal .city-btn-secondary,
    body #cityModal .city-btn-geo {
        background: #f3f8fc !important;
        border: 1px solid #cad8e4 !important;
        color: #4c6981 !important;
        height: 42px !important;
        line-height: 42px !important;
    }

    body .layout-content_rating .button:before,
    body .layout-content_rating .button:after,
    body .layout-content_rating .button > div:before,
    body .layout-content_rating .button > div:after,
    body .x0-layout-header .search-submit:before,
    body .x0-layout-header .search-submit:after,
    body #cityModal .city-btn:before,
    body #cityModal .city-btn:after {
        content: none !important;
        display: none !important;
        background: transparent !important;
        border: 0 !important;
    }

    /* keep text flow clean around media */
    body .x0-layout-body .pub-list__body > div {
        float: none !important;
        width: 100% !important;
        margin: 0 !important;
        clear: both !important;
    }

    body .x0-layout-body .pub-list h3,
    body .x0-layout-body .pub-list__body h3 {
        margin-bottom: 4px !important;
    }
}

@media (max-width: 768px) {
    /* MOBILE FINAL CONTRACT v12 (single vertical axis + no button stripes) */
    :root { --m12-gutter: 12px; }

    /* One vertical axis for all text blocks */
    body .x0-layout-body .page__block,
    body .x0-layout-body .block_bordered,
    body .x0-layout-body .block_bordered-dashed,
    body .x0-layout-body .forums-posts-last,
    body .x0-layout-body .blogs-titles,
    body .x0-layout-body .publications,
    body .x0-layout-body .gallery-tape-wrapper,
    body .x0-layout-body .x0-tabs {
        padding-left: var(--m12-gutter) !important;
        padding-right: var(--m12-gutter) !important;
    }

    body .x0-layout-body .page-caption,
    body .x0-layout-body .page-caption_h2,
    body .x0-layout-body h2,
    body .x0-layout-body h3,
    body .x0-layout-body p,
    body .x0-layout-body .x0-date,
    body .x0-layout-body .x0-date-sm,
    body .x0-layout-body .pub-list,
    body .x0-layout-body .pub-list__body,
    body .x0-layout-body .pub-list__body > div {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    /* Neutralize legacy inline offsets that break alignment */
    body .x0-layout-body [style*="padding-right: 20px"],
    body .x0-layout-body [style*="padding-right:20px"],
    body .x0-layout-body [style*="padding-right: 0"],
    body .x0-layout-body [style*="margin-left: 70px"],
    body .x0-layout-body [style*="margin-left:70px"],
    body .x0-layout-body [style*="margin-top: -5px"],
    body .x0-layout-body [style*="margin-top:-5px"] {
        padding-right: 0 !important;
        margin-left: 0 !important;
        margin-top: 0 !important;
    }

    /* Keep cards text flow strictly vertical */
    body .x0-layout-body .pub-list > li,
    body .x0-layout-body .pub-list > li.clear,
    body .x0-layout-body .x0-tabs .pub-list > li,
    body .x0-layout-body .x0-tabs .x0-tabs-element {
        display: block !important;
    }

    body .x0-layout-body .pub-list__body,
    body .x0-layout-body .pub-list__body.clear,
    body .x0-layout-body .pub-list__body > div {
        float: none !important;
        width: 100% !important;
        clear: both !important;
        overflow: visible !important;
    }

    /* Buttons: one style, no stripes, no pseudo artifacts */
    body .x0-layout-body .button,
    body .x0-layout-body a.button,
    body .x0-layout-body button,
    body .x0-layout-body input[type="submit"],
    body .x0-layout-header .search-submit,
    body #cityModal .city-btn,
    body .layout-content_rating .button,
    body .layout-content_rating .button > div,
    body .layout-content_rating .button > div > span {
        box-shadow: none !important;
        background-image: none !important;
        text-shadow: none !important;
        border-image: none !important;
        border-radius: 10px !important;
    }

    body .x0-layout-body .button:before,
    body .x0-layout-body .button:after,
    body .x0-layout-body button:before,
    body .x0-layout-body button:after,
    body .layout-content_rating .button:before,
    body .layout-content_rating .button:after,
    body .layout-content_rating .button > div:before,
    body .layout-content_rating .button > div:after,
    body .x0-layout-header .search-submit:before,
    body .x0-layout-header .search-submit:after,
    body #cityModal .city-btn:before,
    body #cityModal .city-btn:after {
        content: none !important;
        display: none !important;
    }

    body .x0-layout-body .button,
    body .layout-content_rating .button,
    body .layout-content_rating .button > div,
    body .x0-layout-header .search-submit,
    body #cityModal .city-btn-primary {
        height: 42px !important;
        line-height: 42px !important;
        border: 0 !important;
        background: #2e96d4 !important;
        color: #fff !important;
    }

    body #cityModal .city-btn-secondary,
    body #cityModal .city-btn-geo {
        border: 1px solid #cad8e4 !important;
        background: #f3f8fc !important;
        color: #4c6981 !important;
    }
}

@media (max-width: 768px) {
    /* MOBILE FINAL CONTRACT v13 (single axis, no nested frames, unified buttons) */
    :root {
        --m13-bg: #edf3f8;
        --m13-surface: #ffffff;
        --m13-border: #d0dbe5;
        --m13-text: #28445c;
        --m13-muted: #708799;
        --m13-primary: #2f97d5;
        --m13-radius: 12px;
        --m13-ctl-radius: 10px;
        --m13-axis: 14px;
    }

    html,
    body {
        background: var(--m13-bg) !important;
        color: var(--m13-text) !important;
        font-family: "Helvetica Neue", Arial, sans-serif !important;
    }

    /* One content axis */
    body .x0-layout-body .page__block,
    body .x0-layout-body .block_bordered,
    body .x0-layout-body .block_bordered-dashed,
    body .x0-layout-body .forums-posts-last,
    body .x0-layout-body .blogs-titles,
    body .x0-layout-body .publications,
    body .x0-layout-body .gallery-tape-wrapper,
    body .x0-layout-body .x0-tabs,
    body .layout_showcase .slider1.block_gradient-yellow,
    body .x0-layout-menu,
    body .x0-layout-footer {
        padding-left: var(--m13-axis) !important;
        padding-right: var(--m13-axis) !important;
    }

    body .x0-layout-body .page__block,
    body .x0-layout-body .block_bordered,
    body .x0-layout-body .block_bordered-dashed,
    body .x0-layout-body .forums-posts-last,
    body .x0-layout-body .blogs-titles,
    body .x0-layout-body .publications,
    body .x0-layout-body .gallery-tape-wrapper,
    body .x0-layout-body .x0-tabs,
    body .layout_showcase .slider1.block_gradient-yellow {
        background: var(--m13-surface) !important;
        border: 1px solid var(--m13-border) !important;
        border-radius: var(--m13-radius) !important;
        box-shadow: none !important;
        margin-top: 12px !important;
        margin-bottom: 12px !important;
        padding-top: 12px !important;
        padding-bottom: 12px !important;
    }

    /* No frame-in-frame */
    body .x0-layout-body .page__block .page__block,
    body .x0-layout-body .block_bordered .page__block,
    body .x0-layout-body .block_bordered-dashed .page__block,
    body .layout_showcase .slider1.block_gradient-yellow .page__block,
    body .x0-layout-menu .page__block,
    body .x0-layout-footer .page__block,
    body .x0-layout-menu .grid > li,
    body .x0-layout-footer .grid > li {
        background: transparent !important;
        border: 0 !important;
        border-radius: 0 !important;
        box-shadow: none !important;
        margin: 0 !important;
        padding: 0 !important;
    }

    /* Force same left text line */
    body .x0-layout-body .page-caption,
    body .x0-layout-body .page-caption_h2,
    body .x0-layout-body h2,
    body .x0-layout-body h3,
    body .x0-layout-body p,
    body .x0-layout-body .x0-date,
    body .x0-layout-body .x0-date-sm,
    body .x0-layout-body .pub-list,
    body .x0-layout-body .pub-list__body,
    body .x0-layout-body .pub-list__body > div {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }

    body .x0-layout-body [style*="margin-left: 70px"],
    body .x0-layout-body [style*="margin-left:70px"],
    body .x0-layout-body [style*="padding-right: 20px"],
    body .x0-layout-body [style*="padding-right:20px"],
    body .x0-layout-body [style*="margin-top: -5px"],
    body .x0-layout-body [style*="margin-top:-5px"] {
        margin-left: 0 !important;
        padding-right: 0 !important;
        margin-top: 0 !important;
    }

    /* News mini list: image + text */
    body .x0-layout-body .pub-list.pub-list_mini > li > .clear {
        display: flex !important;
        gap: 10px !important;
        align-items: flex-start !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini .pub-list__image {
        width: 64px !important;
        min-width: 64px !important;
        height: 64px !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    body .x0-layout-body .pub-list.pub-list_mini .pub-list__image img,
    body .x0-layout-body .pub-list.pub-list_mini img.x0-image {
        width: 64px !important;
        height: 64px !important;
        object-fit: cover !important;
    }

    /* Articles and other lists: strict vertical flow */
    body .x0-layout-body .pub-list:not(.pub-list_mini) > li,
    body .x0-layout-body .x0-tabs .pub-list > li,
    body .x0-layout-body .x0-tabs .x0-tabs-element {
        display: block !important;
        margin-bottom: 12px !important;
        padding-bottom: 10px !important;
        border-bottom: 1px solid #dfe8f0 !important;
    }

    body .x0-layout-body .pub-list:not(.pub-list_mini) > li:last-child,
    body .x0-layout-body .x0-tabs .pub-list > li:last-child {
        border-bottom: 0 !important;
        margin-bottom: 0 !important;
        padding-bottom: 0 !important;
    }

    body .x0-layout-body .pub-list:not(.pub-list_mini) > li > .clear,
    body .x0-layout-body .x0-tabs .pub-list > li > .clear {
        display: block !important;
    }

    body .x0-layout-body .pub-list:not(.pub-list_mini) .pub-list__image,
    body .x0-layout-body .x0-tabs .pub-list__image,
    body .x0-layout-body .x0-tabs .x0-image {
        float: none !important;
        width: 100% !important;
        min-width: 0 !important;
        height: auto !important;
        margin: 0 0 8px 0 !important;
        border-radius: 8px !important;
        overflow: hidden !important;
    }

    body .x0-layout-body .pub-list:not(.pub-list_mini) .pub-list__image img,
    body .x0-layout-body .x0-tabs .pub-list__image img,
    body .x0-layout-body .x0-tabs .x0-image img,
    body .x0-layout-body .pub-list:not(.pub-list_mini) img.x0-image {
        width: 100% !important;
        height: auto !important;
        object-fit: cover !important;
        display: block !important;
    }

    body .x0-layout-body .pub-list__body,
    body .x0-layout-body .pub-list__body.clear,
    body .x0-layout-body .pub-list__body > div {
        display: block !important;
        width: 100% !important;
        float: none !important;
        clear: both !important;
        overflow: visible !important;
    }

    body .x0-layout-body .list-info-panel,
    body .x0-layout-body .list-info__comments,
    body .x0-layout-body .comment__count {
        display: none !important;
    }

    body .x0-layout-body h3 {
        font-size: 17px !important;
        line-height: 1.2 !important;
        margin: 0 0 4px 0 !important;
        color: #2d4d65 !important;
        font-weight: 700 !important;
    }

    body .x0-layout-body .x0-date,
    body .x0-layout-body .x0-date-sm {
        font-size: 12px !important;
        color: var(--m13-muted) !important;
        margin: 0 0 6px 0 !important;
    }

    body .x0-layout-body p,
    body .x0-layout-body .x0-text-sm,
    body .x0-layout-body .pub-list__body > div {
        font-size: 14px !important;
        line-height: 1.32 !important;
        color: #43627a !important;
    }

    /* Buttons: one family, no stripes */
    body .x0-layout-header .search-submit,
    body .layout-content_rating .button,
    body .layout-content_rating .button > div,
    body #cityModal .city-btn,
    body .x0-layout-body .button,
    body .x0-layout-body button {
        border-radius: var(--m13-ctl-radius) !important;
        box-shadow: none !important;
        background-image: none !important;
        text-shadow: none !important;
    }

    body .x0-layout-header .search-submit:before,
    body .x0-layout-header .search-submit:after,
    body .layout-content_rating .button:before,
    body .layout-content_rating .button:after,
    body .layout-content_rating .button > div:before,
    body .layout-content_rating .button > div:after,
    body #cityModal .city-btn:before,
    body #cityModal .city-btn:after {
        content: none !important;
        display: none !important;
    }

    body .x0-layout-header .search-submit,
    body .layout-content_rating .button,
    body .layout-content_rating .button > div,
    body #cityModal .city-btn-primary {
        height: 42px !important;
        line-height: 42px !important;
        border: 0 !important;
        background: var(--m13-primary) !important;
        color: #fff !important;
    }

    body #cityModal .city-btn-secondary,
    body #cityModal .city-btn-geo {
        height: 42px !important;
        line-height: 42px !important;
        background: #f3f8fc !important;
        border: 1px solid #cad8e4 !important;
        color: #4c6981 !important;
    }

    /* Rating cleanup */
    body .layout_showcase .slider1.block_gradient-yellow {
        background: var(--m13-surface) !important;
        border: 1px solid var(--m13-border) !important;
        border-radius: var(--m13-radius) !important;
        padding: 12px !important;
    }

    body .rating-mobile-title { font-size: 18px !important; margin: 0 0 10px 0 !important; }

    body .layout-content_rating .simpleSlider.stripe-caption > ul {
        display: flex !important;
        gap: 6px !important;
        height: auto !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li {
        position: static !important;
        width: calc(50% - 3px) !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a {
        height: 42px !important;
        border-radius: var(--m13-ctl-radius) !important;
        border: 1px solid #bfd1df !important;
        background: #f6fafe !important;
        color: #456a87 !important;
    }

    body .layout-content_rating .simpleSlider.stripe-caption > ul > li.active > a,
    body .layout-content_rating .simpleSlider.stripe-caption > ul > li > a.active {
        background: var(--m13-primary) !important;
        border-color: var(--m13-primary) !important;
        color: #fff !important;
    }

    /* Menu / Footer simplify to avoid nested frames */
    body .x0-layout-menu {
        background: var(--m13-bg) !important;
        padding-top: 10px !important;
        padding-bottom: 10px !important;
    }

    body .x0-layout-menu .grid > li {
        margin-bottom: 14px !important;
    }

    body .x0-layout-menu .grid > li > a.link-caption-special > i { display: none !important; }
    body .x0-layout-menu .grid > li > a.link-caption-special > span { padding-left: 0 !important; }

    body .x0-layout-menu .grid > li > a.link-caption-special {
        font-size: 20px !important;
        line-height: 1.14 !important;
        margin-bottom: 8px !important;
        color: #2f5271 !important;
    }

    body .x0-layout-menu .grid > li > ol { padding-left: 0 !important; margin: 0 !important; }
    body .x0-layout-menu .grid > li > ol > li > a {
        padding: 6px 0 !important;
        font-size: 15px !important;
        line-height: 1.3 !important;
        color: #4a6f8d !important;
    }

    body .x0-layout-footer { background: #595959 !important; }
    body .x0-layout-footer .link-caption-special,
    body .x0-layout-footer .grid > li > ol > li > a { color: #e5e9ee !important; }
}
