@font-face {
    font-family: 'Open Sans';
    font-weight: 600;
    src: url('../font/OpenSans-SemiBold.ttf');
}
@font-face {
    font-family: 'Open Sans';
    font-weight: 400;
    src: url('../font/OpenSans-Regular.ttf');
}
@font-face {
    font-family: 'Open Sans';
    font-weight: 700;
    src: url('../font/OpenSans-Bold.ttf');
}

/* Статьи: содержание (TOC) */
.article-toc {
    border: 1px solid #e0e6f2;
    background: #f7f9fd;
    border-radius: 14px;
    padding: 14px;
    margin: 14px 0 20px;
}

.article-toc__title {
    font-weight: 700;
    color: #313b40;
    margin-bottom: 10px;
    font-size: 16px;
    line-height: 22px;
}

.article-toc__list {
    margin: 0;
    padding: 0;
    list-style: none;
    counter-reset: toc;
}

.article-toc__item {
    margin: 0;
}

.article-toc__item a {
    position: relative;
    display: block;
    padding: 9px 10px 9px 38px;
    border-radius: 12px;
    color: #313b40;
    text-decoration: none;
    line-height: 18px;
}

.article-toc__item a:hover {
    background: #ffffff;
    text-decoration: none;
}

.article-toc__item--lvl2 a::before {
    counter-increment: toc;
    content: counter(toc) ".";
    position: absolute;
    left: 12px;
    top: 9px;
    width: 20px;
    text-align: right;
    color: #06a8f2;
    font-weight: 600;
    opacity: 0.9;
}

.article-toc__item--lvl3 a,
.article-toc__item--lvl4 a {
    padding-left: 50px;
}

.article-toc__item--lvl3 a::before,
.article-toc__item--lvl4 a::before {
    content: "•";
    position: absolute;
    left: 22px;
    top: 8px;
    color: #06a8f2;
    font-weight: 700;
}

.article-toc__item--lvl4 a {
    padding-left: 62px;
    font-size: 13px;
}

.article-toc__item--lvl4 a::before {
    left: 34px;
    opacity: 0.7;
}

@media screen and (max-width: 540px) {
    .article-toc__item a {
        padding-left: 34px;
    }

    .article-toc__item--lvl3 a {
        padding-left: 46px;
    }

    .article-toc__item--lvl4 a {
        padding-left: 56px;
    }
}

/* Мини-карточки офферов: ссылка на все предложения категории */
.offer-mini-more {
    margin-top: 10px;
    text-align: center;
}

.offer-mini-more a {
    color: #06a8f2;
    text-decoration: none;
    font-size: 13px;
    line-height: 18px;
}

.offer-mini-more a:hover {
    text-decoration: underline;
}

/* Популярные города (редизайн) */
.offer-category-v2--type-zaimy .category-cities,
.offer-category-v2--type-kredity .category-cities,
.offer-category-v2--type-karty .category-cities,
.offer-category-v2--type-debet .category-cities,
.offer-category-v2--type-ipoteka .category-cities,
.offer-category-v2--type-vklady .category-cities,
.offer-category-v2--type-rko .category-cities {
    padding: 18px;
}

/* Подборки и популярные разделы — единый блок */
.offer-category-v2--type-zaimy .category-block__item--full,
.offer-category-v2--type-kredity .category-block__item--full,
.offer-category-v2--type-karty .category-block__item--full,
.offer-category-v2--type-debet .category-block__item--full,
.offer-category-v2--type-ipoteka .category-block__item--full,
.offer-category-v2--type-vklady .category-block__item--full,
.offer-category-v2--type-rko .category-block__item--full {
    grid-column: 1 / -1;
}

.offer-category-v2--type-zaimy .category-block__full-intro,
.offer-category-v2--type-kredity .category-block__full-intro,
.offer-category-v2--type-karty .category-block__full-intro,
.offer-category-v2--type-debet .category-block__full-intro,
.offer-category-v2--type-ipoteka .category-block__full-intro,
.offer-category-v2--type-vklady .category-block__full-intro,
.offer-category-v2--type-rko .category-block__full-intro {
    margin-bottom: 14px;
}

.offer-category-v2--type-zaimy .category-block__sections,
.offer-category-v2--type-kredity .category-block__sections,
.offer-category-v2--type-karty .category-block__sections,
.offer-category-v2--type-debet .category-block__sections,
.offer-category-v2--type-ipoteka .category-block__sections,
.offer-category-v2--type-vklady .category-block__sections,
.offer-category-v2--type-rko .category-block__sections {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.offer-category-v2--type-zaimy .category-block__section,
.offer-category-v2--type-kredity .category-block__section,
.offer-category-v2--type-karty .category-block__section,
.offer-category-v2--type-debet .category-block__section,
.offer-category-v2--type-ipoteka .category-block__section,
.offer-category-v2--type-vklady .category-block__section,
.offer-category-v2--type-rko .category-block__section {
    display: flex;
    flex-direction: column;
    padding: 14px;
    border-radius: 14px;
    border: 1px solid #e0e6f2;
    background: #f7f9fd;
}

.offer-category-v2--type-zaimy .category-block__section > ul,
.offer-category-v2--type-kredity .category-block__section > ul,
.offer-category-v2--type-karty .category-block__section > ul,
.offer-category-v2--type-debet .category-block__section > ul,
.offer-category-v2--type-ipoteka .category-block__section > ul,
.offer-category-v2--type-vklady .category-block__section > ul,
.offer-category-v2--type-rko .category-block__section > ul {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.offer-category-v2--type-zaimy .category-block__section > ul .toggle-btn,
.offer-category-v2--type-kredity .category-block__section > ul .toggle-btn,
.offer-category-v2--type-karty .category-block__section > ul .toggle-btn,
.offer-category-v2--type-debet .category-block__section > ul .toggle-btn,
.offer-category-v2--type-ipoteka .category-block__section > ul .toggle-btn,
.offer-category-v2--type-vklady .category-block__section > ul .toggle-btn,
.offer-category-v2--type-rko .category-block__section > ul .toggle-btn {
    margin-top: auto;
}

/* =============================
   Калькуляторы (СПС СНГ)
   ============================= */

.calc-tool {
    margin-top: 20px;
}

.calc-tool,
.calc-tool * {
    box-sizing: border-box;
}

/* Prevent flex min-content overflow from widening the whole .content area on calculators */
.calc-tool-page .content,
.calc-tool-page .content-left,
.calc-tool-page #article,
.calc-tool-page #dle-content,
.calc-tool-page .full-store.calc-tool {
    min-width: 0;
}

#article .full-store.calc-tool {
    max-width: none;
    margin: 0;
    overflow-x: hidden;
}

.calc-tool__intro {
    margin: 12px 0 18px;
    color: #313b40;
    opacity: 0.9;
    line-height: 20px;
}

.calc-tool__grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 14px;
    margin-bottom: 14px;
    min-width: 0;
}

.calc-tool__card {
    border: 1px solid #e0e6f2;
    background: #ffffff;
    border-radius: 18px;
    padding: 14px;
    box-shadow: 0px 10px 28px rgba(17, 24, 39, 0.06);
    min-width: 0;
}

.calc-tool__card-title {
    font-weight: 700;
    color: #313b40;
    margin-bottom: 10px;
}

.calc-tool__field {
    display: block;
    margin-bottom: 10px;
}

.calc-tool__label {
    display: block;
    font-size: 13px;
    line-height: 18px;
    color: #313b40;
    opacity: 0.85;
    margin-bottom: 6px;
}

.calc-tool__input {
    width: 100%;
    height: 44px;
    border-radius: 12px;
    border: 1px solid #e0e6f2;
    padding: 0 12px;
    outline: none;
    background: #ffffff;
    color: #313b40;
}

.calc-tool__input:focus {
    border-color: #06a8f2;
    box-shadow: 0 0 0 4px rgba(6, 168, 242, 0.12);
    background: #ffffff;
}

.calc-tool__hint {
    margin-top: 6px;
    font-size: 12px;
    line-height: 16px;
    color: #313b40;
    opacity: 0.7;
}

.calc-tool__kpis {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.calc-tool__kpi {
    border: 1px solid #e0e6f2;
    background: #f7f9fd;
    border-radius: 12px;
    padding: 12px;
}

.calc-tool__kpi-label {
    font-size: 12px;
    line-height: 16px;
    color: #313b40;
    opacity: 0.8;
    margin-bottom: 6px;
}

.calc-tool__kpi-value {
    font-size: 20px;
    line-height: 26px;
    font-weight: 700;
    color: #313b40;
}

.calc-tool__table-wrap {
    overflow: auto;
    border-radius: 12px;
    border: 1px solid #e0e6f2;
    max-width: 100%;
    width: 100%;
    -webkit-overflow-scrolling: touch;
}

/* Fix potential horizontal overflow from long words/titles inside v2 offer cards when embedded into tools */
.offer-category-v2--tools .category-list,
.offer-category-v2--tools .category-list-item {
    min-width: 0;
}

.offer-category-v2--tools .category-list-item .card-offer-mini-title a {
    overflow-wrap: anywhere;
    word-break: break-word;
}

.calc-tool__table {
    width: 100%;
    border-collapse: collapse;
    background: #ffffff;
    min-width: 520px;
}

.calc-tool__table th,
.calc-tool__table td {
    padding: 10px 12px;
    border-bottom: 1px solid #e0e6f2;
    text-align: left;
    font-size: 13px;
    line-height: 18px;
    color: #313b40;
}

.calc-tool__table th {
    background: #f7f9fd;
    font-weight: 700;
}

.calc-tool__offers {
    margin-top: 18px;
}

.offer-category-v2--tools .calc-tool__offers-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 12px;
}

.offer-category-v2--tools .calc-tool__offers-head .osnovatitle {
    flex: 1 1 auto;
    min-width: 0;
}

.offer-category-v2--tools .calc-tool__all-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 12px;
    border-radius: 12px;
    border: 1px solid #e0e6f2;
    background: #f7f9fd;
    font-size: 13px;
    line-height: 16px;
    font-weight: 500;
    color: #06a8f2;
    text-decoration: none;
    white-space: nowrap;
}

.offer-category-v2--tools .calc-tool__all-link:hover {
    background: #ffffff;
    border-color: rgba(6, 168, 242, 0.35);
}

@media screen and (max-width: 980px) {
    .calc-tool__grid {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 699px) {
    .calc-tool-page .wrapper,
    .calc-tool-page .content,
    .calc-tool-page .content-left,
    .calc-tool-page #article {
        overflow-x: hidden;
    }

    .offer-category-v2--tools .calc-tool__offers-head {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }

    .offer-category-v2--tools .calc-tool__offers-head .osnovatitle {
        margin-bottom: 6px;
    }

    .offer-category-v2--tools .category-list-item .card-offer-mini-name {
        white-space: nowrap;
        gap: 8px;
        font-size: 14px;
    }

    .offer-category-v2--tools .category-list-item .card-offer-mini-name span {
        flex: 1 1 auto;
        min-width: 0;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .calc-tool {
        margin-top: 10px;
    }

    .calc-tool__intro {
        margin: 10px 0 14px;
        font-size: 14px;
        line-height: 20px;
    }

    .calc-tool__grid {
        gap: 12px;
        margin-bottom: 12px;
    }

    .calc-tool__card {
        border-radius: 16px;
        padding: 12px;
    }

    .calc-tool__card-title {
        margin-bottom: 8px;
        font-size: 16px;
        line-height: 20px;
    }

    .calc-tool__input {
        height: 42px;
        border-radius: 12px;
    }

    .calc-tool__kpi-value {
        font-size: 18px;
        line-height: 24px;
    }

    .calc-tool__table {
        min-width: 480px;
    }

    .calc-tool__table th,
    .calc-tool__table td {
        padding: 8px 10px;
        font-size: 12px;
        line-height: 16px;
    }
}

@media only screen and (max-width: 1023px) {
    .offer-category-v2--type-zaimy .category-block__sections,
    .offer-category-v2--type-kredity .category-block__sections,
    .offer-category-v2--type-karty .category-block__sections,
    .offer-category-v2--type-debet .category-block__sections,
    .offer-category-v2--type-ipoteka .category-block__sections,
    .offer-category-v2--type-vklady .category-block__sections,
    .offer-category-v2--type-rko .category-block__sections {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 749px) {
    .offer-category-v2--type-zaimy .category-block__sections,
    .offer-category-v2--type-kredity .category-block__sections,
    .offer-category-v2--type-karty .category-block__sections,
    .offer-category-v2--type-debet .category-block__sections,
    .offer-category-v2--type-ipoteka .category-block__sections,
    .offer-category-v2--type-vklady .category-block__sections,
    .offer-category-v2--type-rko .category-block__sections {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 499px) {
    .offer-category-v2--type-zaimy .category-block__sections,
    .offer-category-v2--type-kredity .category-block__sections,
    .offer-category-v2--type-karty .category-block__sections,
    .offer-category-v2--type-debet .category-block__sections,
    .offer-category-v2--type-ipoteka .category-block__sections,
    .offer-category-v2--type-vklady .category-block__sections,
    .offer-category-v2--type-rko .category-block__sections {
        grid-template-columns: 1fr;
    }
}

.offer-category-v2--type-zaimy .category-cities__head,
.offer-category-v2--type-kredity .category-cities__head,
.offer-category-v2--type-karty .category-cities__head,
.offer-category-v2--type-debet .category-cities__head,
.offer-category-v2--type-ipoteka .category-cities__head,
.offer-category-v2--type-vklady .category-cities__head,
.offer-category-v2--type-rko .category-cities__head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
}

.offer-category-v2--type-zaimy .category-cities__title,
.offer-category-v2--type-kredity .category-cities__title,
.offer-category-v2--type-karty .category-cities__title,
.offer-category-v2--type-debet .category-cities__title,
.offer-category-v2--type-ipoteka .category-cities__title,
.offer-category-v2--type-vklady .category-cities__title,
.offer-category-v2--type-rko .category-cities__title {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 6px;
}

.offer-category-v2--type-zaimy .category-block__intro-title,
.offer-category-v2--type-kredity .category-block__intro-title,
.offer-category-v2--type-karty .category-block__intro-title,
.offer-category-v2--type-debet .category-block__intro-title,
.offer-category-v2--type-ipoteka .category-block__intro-title,
.offer-category-v2--type-vklady .category-block__intro-title,
.offer-category-v2--type-rko .category-block__intro-title {
    font-size: 18px;
    margin: 0 0 6px;
}

.offer-category-v2--type-zaimy .category-cities__grid,
.offer-category-v2--type-kredity .category-cities__grid,
.offer-category-v2--type-karty .category-cities__grid,
.offer-category-v2--type-debet .category-cities__grid,
.offer-category-v2--type-ipoteka .category-cities__grid,
.offer-category-v2--type-vklady .category-cities__grid,
.offer-category-v2--type-rko .category-cities__grid {
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 10px;
}

.offer-category-v2--type-zaimy .category-cities__grid.js-collapsible-list .toggle-btn,
.offer-category-v2--type-kredity .category-cities__grid.js-collapsible-list .toggle-btn,
.offer-category-v2--type-karty .category-cities__grid.js-collapsible-list .toggle-btn,
.offer-category-v2--type-debet .category-cities__grid.js-collapsible-list .toggle-btn,
.offer-category-v2--type-ipoteka .category-cities__grid.js-collapsible-list .toggle-btn,
.offer-category-v2--type-vklady .category-cities__grid.js-collapsible-list .toggle-btn,
.offer-category-v2--type-rko .category-cities__grid.js-collapsible-list .toggle-btn {
    grid-column: 1 / -1;
    justify-self: center;
    width: 100%;
}

.offer-category-v2--type-zaimy .category-cities__link,
.offer-category-v2--type-kredity .category-cities__link,
.offer-category-v2--type-karty .category-cities__link,
.offer-category-v2--type-debet .category-cities__link,
.offer-category-v2--type-ipoteka .category-cities__link,
.offer-category-v2--type-vklady .category-cities__link,
.offer-category-v2--type-rko .category-cities__link {
    justify-content: flex-start;
    padding: 10px 12px;
    min-height: 40px;
    border-radius: 14px;
    background: #fff;
}

.offer-category-v2--type-zaimy .category-cities__link.is-hidden,
.offer-category-v2--type-kredity .category-cities__link.is-hidden,
.offer-category-v2--type-karty .category-cities__link.is-hidden,
.offer-category-v2--type-debet .category-cities__link.is-hidden,
.offer-category-v2--type-ipoteka .category-cities__link.is-hidden,
.offer-category-v2--type-vklady .category-cities__link.is-hidden,
.offer-category-v2--type-rko .category-cities__link.is-hidden {
    display: none;
}

.offer-category-v2--type-zaimy .category-cities__more,
.offer-category-v2--type-kredity .category-cities__more,
.offer-category-v2--type-karty .category-cities__more,
.offer-category-v2--type-debet .category-cities__more,
.offer-category-v2--type-ipoteka .category-cities__more,
.offer-category-v2--type-vklady .category-cities__more,
.offer-category-v2--type-rko .category-cities__more {
    margin-top: 14px;
    width: 100%;
    min-height: 42px;
    border-radius: 14px;
    border: 1px solid #e0e6f2;
    background: #f7f9fd;
    color: #06a8f2;
    font-weight: 400;
    cursor: pointer;
}

/* Оффер (/mfo/{mfoSlug}/{offerSlug}) — убрать лишний зазор под хлебными крошками */
.offer-show-v2 {
    margin-top: 0;
}
.offer-show-v2 .offer-card__title {
    font-weight: 600;
}
.offer-show-v2 .offer-card__body h2,
.offer-show-v2 .offer-card__body h3,
.offer-show-v2 .offer-card__body h4,
.offer-show-v2 .offer-card__body h5,
.offer-show-v2 .offer-card__body strong,
.offer-show-v2 .offer-card__body b {
    font-weight: 600;
}
.mfo-show-v2 .mfo-card__body h2,
.mfo-show-v2 .mfo-card__body h3,
.mfo-show-v2 .mfo-card__body h4,
.mfo-show-v2 .mfo-card__body h5,
.mfo-show-v2 .mfo-card__body strong,
.mfo-show-v2 .mfo-card__body b {
    font-weight: 600;
}
.bank-show-v2 .bank-card__body h2,
.bank-show-v2 .bank-card__body h3,
.bank-show-v2 .bank-card__body h4,
.bank-show-v2 .bank-card__body h5,
.bank-show-v2 .bank-card__body strong,
.bank-show-v2 .bank-card__body b {
    font-weight: 600;
}
.offer-show-v2 .offer-details__value {
    font-weight: 600;
}

.offer-show-v2 .offer-hero__main {
    grid-template-columns: 92px minmax(0, 1fr);
}

.offer-show-v2 .offer-hero__logo {
    width: 92px;
    min-width: 92px;
    height: 72px;
    min-height: 72px;
    padding: 4px 6px;
    border-radius: 18px;
    box-sizing: border-box;
}

.offer-show-v2 .offer-hero__logo img {
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    object-fit: contain;
}

.offer-show-v2 .offer-hero__title {
    font-weight: 600;
}

/* Хлебные крошки: спокойный, ненавязчивый вид на всех устройствах */
.time-menu .speedbar .over {
    color: #adb4bf;
}

.time-menu .speedbar .over a {
    color: inherit;
    text-decoration: none;
}

.time-menu .speedbar .over a:hover {
    color: inherit;
    text-decoration: underline;
}

/* Хлебные крошки: показывать на телефоне (в styles.css они скрыты) */
@media screen and (max-width: 699px) {
    .time-menu-wrap {
        display: block !important;
        max-width: 1260px;
        margin: 0 auto;
        padding: 0 5px;
    }

    .time-menu {
        padding: 6px 0;
    }

    .time-menu .tit-naz,
    .time-menu .tit-naz a {
        font-size: 12px;
        line-height: 18px;
    }

    .time-menu .speedbar .over {
        display: block;
        width: 100%;
        max-width: none;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        white-space: nowrap;
        text-overflow: clip;
    }
}

.offer-category-v2--type-zaimy .category-cities__more:hover,
.offer-category-v2--type-kredity .category-cities__more:hover,
.offer-category-v2--type-karty .category-cities__more:hover,
.offer-category-v2--type-debet .category-cities__more:hover,
.offer-category-v2--type-ipoteka .category-cities__more:hover,
.offer-category-v2--type-vklady .category-cities__more:hover,
.offer-category-v2--type-rko .category-cities__more:hover {
    background: #fbfcff;
}

@media only screen and (max-width: 999px) {
    .offer-category-v2--type-zaimy .category-cities__grid,
    .offer-category-v2--type-kredity .category-cities__grid,
    .offer-category-v2--type-karty .category-cities__grid,
    .offer-category-v2--type-debet .category-cities__grid,
    .offer-category-v2--type-ipoteka .category-cities__grid,
    .offer-category-v2--type-vklady .category-cities__grid,
    .offer-category-v2--type-rko .category-cities__grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media only screen and (max-width: 749px) {
    .offer-category-v2--type-zaimy .category-cities__grid,
    .offer-category-v2--type-kredity .category-cities__grid,
    .offer-category-v2--type-karty .category-cities__grid,
    .offer-category-v2--type-debet .category-cities__grid,
    .offer-category-v2--type-ipoteka .category-cities__grid,
    .offer-category-v2--type-vklady .category-cities__grid,
    .offer-category-v2--type-rko .category-cities__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* Offer/Banks/MFO: отзывы (v2 scope) — мобильная адаптация шапки отзыва */
@media only screen and (max-width: 520px) {
    .bank-show-v2--reviews-index .opinions-list li,
    .mfo-show-v2--reviews-index .opinions-list li {
        padding: 14px;
    }

    .bank-show-v2--reviews-index .otziv-line,
    .mfo-show-v2--reviews-index .otziv-line {
        flex-wrap: wrap;
        align-items: flex-start;
        row-gap: 6px;
    }

    .bank-show-v2--reviews-index .otziv-name,
    .mfo-show-v2--reviews-index .otziv-name {
        flex: 1 1 auto;
        min-width: 0;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .bank-show-v2--reviews-index .otziv-date,
    .mfo-show-v2--reviews-index .otziv-date {
        flex: 0 0 100%;
        margin-left: 0;
        font-size: 12px;
        color: #8593ab;
    }

    .bank-show-v2--reviews-index .otziv-title,
    .mfo-show-v2--reviews-index .otziv-title {
        font-size: 16px;
        line-height: 1.25;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    .bank-show-v2--reviews-index .comment,
    .mfo-show-v2--reviews-index .comment {
        overflow-wrap: anywhere;
        word-break: break-word;
        line-height: 1.45;
    }
}

/* --- Article Page Redesign (scoped to #article) --- */
#article.content-left {
    padding: 0;
    background: transparent;
    border-radius: 0;
}

#article .full-store {
    float: none;
    width: 100%;
    max-width: 980px;
    margin: 0 auto;
    padding: 26px 28px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e0e6f2;
    border-radius: 18px;
    box-shadow: 0 10px 26px rgba(18, 38, 90, 0.06);
}

#article .full-up {
    float: none;
    width: 100%;
    padding-bottom: 16px;
    margin-bottom: 18px;
    border-bottom: 1px solid #e0e6f2;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 14px;
}

#article .full-title {
    flex: 0 0 100%;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 34px;
    line-height: 1.2;
    color: #1d1f22;
}

#article .info-link {
    float: none;
    padding-top: 0;
    padding-right: 0;
    color: #6c7a90;
    font-size: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    line-height: 1.3;
}

#article .info-link a {
    float: none;
    color: #6c7a90;
    text-decoration: none;
}

#article .info-link a:hover {
    color: #06a8f2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#article .clr {
    display: none;
}

#article .article-hero {
    margin: 18px 0 10px;
    border-radius: 16px;
    overflow: hidden;
    background: #f7f9fd;
    border: 1px solid #e0e6f2;
}

#article .article-hero__img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
}

#article .soc-icon {
    float: none;
    width: 100%;
    height: auto;
    padding: 14px 0 0;
}

#article .ya-share2,
#article .ya-share2__container {
    width: 100% !important;
    max-width: 100% !important;
    display: block;
}

#article .ya-share2__list_direction_horizontal {
    width: 100%;
}

#article .ya-share2__list {
    display: grid !important;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

#article .ya-share2__list .ya-share2__item {
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    border-radius: 12px !important;
}

#article .ya-share2__link,
#article .ya-share2__badge {
    border-radius: 12px !important;
    height: 44px !important;
    min-height: 44px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 0 !important;
}

#article .ya-share2__icon {
    margin: 0 !important;
    float: none !important;
    position: static !important;
    background-position: center center !important;
}

@media (max-width: 520px) {
    #article .ya-share2__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

/* --- Sidebar: "Разделы" redesign (keep sticky ad unaffected) --- */
.content-right .sidebar-sections {
    float: none;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e0e6f2;
    border-radius: 16px;
    padding: 14px 14px 12px;
    box-shadow: 0 10px 26px rgba(18, 38, 90, 0.06);
}

.content-right .sidebar-sections__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-bottom: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid #e0e6f2;
}

.content-right .sidebar-sections__title.right-menu-title {
    float: none;
    width: auto;
    padding: 0;
    border-bottom: 0;
    font-size: 18px;
    line-height: 1.2;
}

.content-right .sidebar-sections__list.right-menu-link {
    float: none;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

.content-right .sidebar-sections__link {
    float: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    box-sizing: border-box;
    padding: 10px 12px;
    border: 1px solid #e0e6f2;
    border-radius: 12px;
    background: #f7f9fd;
    color: #1d1f22;
    text-decoration: none;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease;
}

.content-right .sidebar-sections__link:hover {
    background: #fff;
    border-color: rgba(6, 168, 242, 0.45);
    transform: translateY(-1px);
}

.content-right .sidebar-sections__dot {
    flex: 0 0 10px;
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: rgba(6, 168, 242, 0.18);
    border: 1px solid rgba(6, 168, 242, 0.35);
}

.content-right .sidebar-sections__text {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 400;
    line-height: 1.25;
}

.content-right .sidebar-sections__chev {
    flex: 0 0 auto;
    color: #6c7a90;
}

.content-right .sidebar-sections__link:hover .sidebar-sections__chev {
    color: #06a8f2;
}

#article .full-text {
    float: none;
    width: 100%;
    height: auto;
    font-family: 'Open Sans', sans-serif;
    font-size: 17px;
    line-height: 1.75;
    color: #1d1f22;
    overflow-wrap: anywhere;
}

#article .full-text p {
    margin: 0 0 14px;
}

#article .full-text a {
    color: #06a8f2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#article .full-text a:hover {
    color: #06a8f2;
    text-decoration-thickness: 2px;
}

/* Embedded offer/ad blocks inside article content (prevent global link styling from turning buttons blue) */
#article .full-text .card-payment {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
    border-radius: 16px;
    border: 1px solid #e0e6f2;
    box-shadow: 0 10px 26px rgba(18, 38, 90, 0.06);
}

#article .full-text .ads-text {
    background: rgba(247, 249, 253, 0.92);
    border: 1px solid #e0e6f2;
    border-radius: 999px;
    padding: 3px 8px;
}

#article .full-text .card-payment-content-title {
    color: #1d1f22;
    text-decoration: none;
}

#article .full-text .card-payment-content-title:hover {
    color: #06a8f2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

#article .full-text .card-payment-actions,
#article .full-text .offer-mini-online {
    text-align: right;
}

/* Article offer actions: keep button higher and separate from the "look all" link */
#article .full-text .card-payment-actions {
    align-self: flex-start;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    gap: 10px;
}

#article .full-text a.crd-card {
    margin: 0;
}

#article .full-text .card-payment-actions-look {
    margin: 0;
}

#article .full-text a.crd-card {
    display: inline-block;
    border-radius: 12px;
    background: #10d54c;
    color: #fff;
    text-decoration: none;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    line-height: 44px;
    padding: 0 18px;
    border: 1px solid rgba(16, 213, 76, 0.45);
    transition: background-color 0.2s ease, border-color 0.2s ease, opacity 0.2s ease;
}

#article .full-text a.crd-card:hover {
    opacity: 0.9;
    text-decoration: none;
}

#article .full-text h2,
#article .full-text h3 {
    margin: 26px 0 12px;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    color: #1d1f22;
    line-height: 1.25;
    text-rendering: optimizeLegibility;
}

#article .full-text h2 {
    font-size: 24px;
}

#article .full-text h3 {
    font-size: 20px;
}

#article .full-text h4,
#article .full-text h5 {
    margin: 22px 0 10px;
    padding: 0;
    font-weight: 600;
    font-size: 18px;
    line-height: 1.3;
}

#article .full-text ul,
#article .full-text ol {
    margin: 16px 0;
}

#article .full-text ul {
    list-style: none;
    padding-left: 0;
}

#article .full-text ol {
    list-style: none;
    padding-left: 0;
    counter-reset: article-list;
}

#article .full-text ul li,
#article .full-text ol li {
    margin: 0 0 12px;
    margin-left: 0;
    line-height: 1.65;
    position: relative;
    min-width: 0;
}

/* WYSIWYG часто заворачивает текст в <p> внутри <li>.
   Убираем отступы у <p>, чтобы маркеры/цифры выравнивались по первой строке. */
#article .full-text ul > li > p,
#article .full-text ol > li > p {
    margin: 0;
}

/* Pretty UL bullets (checkmark) */
#article .full-text ul > li {
    padding-left: 20px;
}

#article .full-text ul > li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0.8em;
    width: 14px;
    height: 14px;
    transform: translateY(-50%);
    border-radius: 4px;
    background: rgba(6, 168, 242, 0.18);
    border: 1px solid rgba(6, 168, 242, 0.45);
    margin: 0;
    line-height: 1;
    box-sizing: border-box;
}

#article .full-text ul > li::after {
    content: '';
    position: absolute;
    left: 4px;
    top: 0.8em;
    width: 6px;
    height: 3px;
    transform: translateY(-50%) rotate(-45deg);
    border-left: 2px solid #06a8f2;
    border-bottom: 2px solid #06a8f2;
    margin: 0;
    line-height: 1;
}

/* Pretty OL counters (pill) */
#article .full-text ol > li {
    padding-left: 28px;
}

#article .full-text ol > li::before {
    counter-increment: article-list;
    content: counter(article-list);
    position: absolute;
    left: 0;
    top: 7px;
    width: 20px;
    height: 20px;
    transform: none;
    border-radius: 999px;
    background: rgba(6, 168, 242, 0.12);
    border: 1px solid rgba(6, 168, 242, 0.35);
    color: #06a8f2;
    font-family: 'Open Sans', sans-serif;
    font-size: 11px;
    font-weight: 700;
    margin: 0;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
}

/* Nested lists */
#article .full-text ul ul,
#article .full-text ul ol,
#article .full-text ol ul,
#article .full-text ol ol {
    margin: 10px 0 0;
    padding-left: 18px;
}

#article .full-text ul ul > li::before {
    background: rgba(16, 213, 76, 0.10);
    border-color: rgba(16, 213, 76, 0.30);
}

#article .full-text ul ul > li::after {
    border-left-color: #10d54c;
    border-bottom-color: #10d54c;
}

#article .full-text table {
    width: 100%;
    margin: 16px 0;
    border-collapse: collapse;
}

#article .full-text td,
#article .full-text th {
    padding: 10px 12px;
    border: 1px solid #e0e6f2;
    vertical-align: top;
}

#article .full-text blockquote {
    margin: 18px 0;
    padding: 14px 16px;
    border-left: 4px solid #06a8f2;
    background: #f7f9fd;
    border-radius: 12px;
}

#article .full-bottom {
    float: none;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
    justify-content: space-between;
    margin: 22px 0 0;
    padding: 14px 16px;
    background: #f7f9fd;
    border: 1px solid #e0e6f2;
    border-radius: 14px;
    color: #6c7a90;
    box-sizing: border-box;
    max-width: 100%;
    overflow-wrap: anywhere;
}

#article .full-bottom .name,
#article .full-bottom .date {
    float: none;
    font-style: normal;
    min-width: 0;
}

#article .full-bottom .date {
    white-space: nowrap;
}

#article .full-banner-wrap {
    border-radius: 16px;
    padding: 14px 18px;
    box-shadow: 0 10px 26px rgba(18, 38, 90, 0.06);
}

#article .full-banner-left .name {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
}

#article .full-banner-right .link a {
    border-radius: 12px;
    padding: 10px 18px;
    font-weight: 600;
}

#article .full-comment {
    float: none;
    width: 100%;
    margin: 26px 0 0;
}

#article .full-comment-tit {
    float: none;
    width: 100%;
    border-bottom: 0;
    padding-bottom: 12px;
    margin-bottom: 14px;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1d1f22;
}

#article .related-short-tit {
    float: none;
    width: 100%;
    border-top: 0;
    margin-top: 48px !important;
    padding-top: 26px !important;
    clear: both;
    display: block;
    font-family: 'Open Sans', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #1d1f22;
}

/* Related articles: make layout clear and contained */
#article .related-short-tit + div {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
    margin-top: 18px;
    align-items: stretch;
}

#article .related-short {
    float: none;
    width: auto;
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    height: 100%;
}

#article .related-short-wrap {
    border: 1px solid #e0e6f2;
    border-radius: 16px;
    overflow: hidden;
    background: #fff;
    box-shadow: 0 10px 26px rgba(18, 38, 90, 0.06);
    height: 100%;
    display: flex;
    flex-direction: column;
}

#article .related-short-img {
    height: 160px;
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

#article .related-short-img-inner {
    position: static;
    width: 100%;
    height: 100%;
    left: auto;
    top: auto;
}

#article .related-short-img img {
    position: static;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    margin: 0;
}

#article .related-short-news {
    float: none;
    width: 100%;
    padding: 12px 14px 14px;
    box-sizing: border-box;
    flex: 1 1 auto;
    display: flex;
}

#article .related-short-news-tit {
    float: none;
    width: 100%;
    height: auto;
    padding: 0;
    margin: 0;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    line-height: 1.35;
    display: -webkit-box;
    line-clamp: 2;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: auto;
}

#article .related-short-news-tit a {
    color: #1d1f22;
    text-decoration: none;
}

#article .related-short-news-tit a:hover {
    color: #06a8f2;
    text-decoration: underline;
    text-underline-offset: 3px;
}

@media (max-width: 980px) {
    #article .full-store {
        padding: 20px 18px;
        border-radius: 16px;
    }

    #article .full-title {
        font-size: 28px;
    }
}

@media (max-width: 640px) {
    #article .ya-share2__list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #article .full-title {
        font-size: 24px;
    }

    #article .full-text {
        font-size: 16px;
    }

    #article .full-text table {
        display: block;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    #article .related-short-tit + div {
        grid-template-columns: 1fr;
    }

    #article .related-short-img {
        height: 180px;
    }
}

/* --- Offer category filters: slider as progress bar (PC + mobile) --- */
.offer-category-v2 .category-list-container {
    transition: opacity 0.15s ease;
}

/* Fallback scoping: if the page markup doesn't include .offer-category-v2 on the wrapper
   (or the filter is rendered elsewhere), keep the slider overlay confined to the filter blocks.
   Without a positioned ancestor, `.slider1 { position:absolute; inset:0; }` may anchor to `.offer-poisk`
   and unintentionally cover the H1/description area, breaking text selection. */
.offer-poisk .filter .filter-block,
.offer-poisk .filter .filter-block-card {
    position: relative;
}

.offer-poisk .filter .slider1.ui-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    box-sizing: border-box;
}

.offer-category-v2 .category-list-container.is-filtering {
    opacity: 0.65;
}

/* --- Offer category (all types): make offers list a standalone block --- */
.offer-category-v2 .category-list-container {
    clear: both;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e0e6f2;
    border-radius: 18px;
    box-shadow: 0px 10px 28px rgba(17, 24, 39, 0.06);
    padding: 18px;
    margin-bottom: 18px;
    overflow-x: hidden;
}

.offer-category-v2 .category-list-container .osnovatitle {
    margin-top: 0;
}

/* --- Offer category (all types): multi CTA + quick links + shown count --- */
.offer-category-v2 .zaimy-multi {
    clear: both;
    width: 100%;
    box-sizing: border-box;
    background: #f7f9fd;
    border: 1px solid #e0e6f2;
    border-radius: 18px;
    padding: 12px 12px 10px;
    margin: 0 0 12px;
    overflow: hidden;
}

.offer-category-v2 .zaimy-multi__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 100%;
    min-width: 0;
}

.offer-category-v2 .zaimy-multi__icon {
    flex: 0 0 auto;
    align-self: flex-start;
    width: 40px;
    height: 40px;
    margin-top: 2px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e0e6f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-category-v2 .zaimy-multi__icon svg {
    display: block;
    max-width: 100%;
}

.offer-category-v2 .zaimy-multi__text {
    min-width: 0;
}

.offer-category-v2 .zaimy-multi__title {
    font-size: 14px;
    line-height: 1.35;
    color: #1d1f22;
    font-weight: 400;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.offer-category-v2 .zaimy-multi__links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.offer-category-v2 .zaimy-multi__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid #e0e6f2;
    border-radius: 14px;
    color: #1d1f22;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
    flex: 0 0 auto;
}

.offer-category-v2 .zaimy-multi__link:hover {
    border-color: #06a8f2;
    background: #fbfcff;
}

.offer-category-v2 .zaimy-multi__meta {
    margin-top: 6px;
    color: #8593ab;
    font-size: 13px;
    line-height: 1.2;
}

.offer-category-v2 .zaimy-multi__meta-num {
    color: #1d1f22;
    font-weight: 600;
}

@media (max-width: 980px) {
    .offer-category-v2 .zaimy-multi__links {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        max-width: 100%;
        scrollbar-width: none;
    }

    .offer-category-v2 .zaimy-multi__links::-webkit-scrollbar {
        display: none;
    }
}

@media (max-width: 749px) {
    .offer-category-v2 {
        max-width: 100%;
        overflow-x: hidden;
    }

    .offer-category-v2 .category-page-wrapper,
    .offer-category-v2 .category-page-wrapper__left,
    .offer-category-v2 .man_of_fl,
    .offer-category-v2 .man_of_fl_left {
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }
}

/* --- Offer category (zaimy): make offers list a standalone block + add stats strip --- */
.offer-category-v2--type-zaimy .category-list-container {
    clear: both;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e0e6f2;
    border-radius: 18px;
    box-shadow: 0px 10px 28px rgba(17, 24, 39, 0.06);
    padding: 18px;
    margin-bottom: 18px;
    overflow-x: hidden;
}

.offer-category-v2--type-zaimy .category-list-container .osnovatitle {
    margin-top: 0;
}


/* --- Offer category (zaimy): multi-apply note + quick links + shown count --- */
.offer-category-v2--type-zaimy .zaimy-multi {
    clear: both;
    width: 100%;
    box-sizing: border-box;
    background: #f7f9fd;
    border: 1px solid #e0e6f2;
    border-radius: 18px;
    padding: 12px 12px 10px;
    margin: 0 0 12px;
    overflow: hidden;
}

.offer-category-v2--type-zaimy .zaimy-multi__head {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    max-width: 100%;
    min-width: 0;
}

.offer-category-v2--type-zaimy .zaimy-multi__icon {
    flex: 0 0 auto;
    align-self: flex-start;
    width: 40px;
    height: 40px;
    margin-top: 2px;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e0e6f2;
    display: flex;
    align-items: center;
    justify-content: center;
}

.offer-category-v2--type-zaimy .zaimy-multi__icon svg {
    display: block;
    max-width: 100%;
}

.offer-category-v2--type-zaimy .zaimy-multi__text {
    min-width: 0;
}

.offer-category-v2--type-zaimy .zaimy-multi__title {
    font-size: 14px;
    line-height: 1.35;
    color: #1d1f22;
    font-weight: 400;
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}

@media (max-width: 749px) {
    .offer-category-v2--type-zaimy {
        max-width: 100%;
        overflow-x: hidden;
    }

    .offer-category-v2--type-zaimy .category-page-wrapper,
    .offer-category-v2--type-zaimy .category-page-wrapper__left,
    .offer-category-v2--type-zaimy .man_of_fl,
    .offer-category-v2--type-zaimy .man_of_fl_left {
        max-width: 100%;
        min-width: 0;
        overflow-x: hidden;
    }
}

.offer-category-v2--type-zaimy .zaimy-multi__links {
    margin-top: 8px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.offer-category-v2--type-zaimy .zaimy-multi__link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 9px 12px;
    background: #fff;
    border: 1px solid #e0e6f2;
    border-radius: 14px;
    color: #1d1f22;
    text-decoration: none;
    font-weight: 500;
    font-size: 13px;
    line-height: 1.1;
    white-space: nowrap;
    flex: 0 0 auto;
}

.offer-category-v2--type-zaimy .zaimy-multi__link:hover {
    border-color: #06a8f2;
    background: #fbfcff;
}

.offer-category-v2--type-zaimy .zaimy-multi__meta {
    margin-top: 6px;
    color: #8593ab;
    font-size: 13px;
    line-height: 1.2;
}

.offer-category-v2--type-zaimy .zaimy-multi__meta-num {
    color: #1d1f22;
    font-weight: 600;
}

@media (max-width: 980px) {
    .offer-category-v2--type-zaimy .zaimy-multi__links {
        flex-wrap: nowrap;
        overflow-x: auto;
        overflow-y: hidden;
        -webkit-overflow-scrolling: touch;
        padding-bottom: 8px;
        max-width: 100%;
        scrollbar-width: none;
    }

    .offer-category-v2--type-zaimy .zaimy-multi__links::-webkit-scrollbar {
        display: none;
    }
}

/* --- Offer category (zaimy): TOP table block --- */
.offer-category-v2 .top-offers-table {
    clear: both;
    width: 100%;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e0e6f2;
    border-radius: 18px;
    box-shadow: 0px 10px 28px rgba(17, 24, 39, 0.06);
    padding: 18px 18px 10px;
    margin: 0 0 12px;
}

.offer-category-v2 .top-offers-table__title {
    margin: 0 0 12px;
    padding: 0;
    font-size: 24px;
    line-height: 1.2;
    color: #1d1f22;
    font-weight: 600;
}

.offer-category-v2 .top-offers-table__wrap {
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    border-radius: 14px;
    border: 1px solid #e0e6f2;
}

.offer-category-v2 .top-offers-table__table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    min-width: 760px;
    background: #fff;
}

.offer-category-v2 .top-offers-table__table thead th {
    text-align: left;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #8593ab;
    padding: 14px 16px;
    background: #fbfcff;
    border-bottom: 1px solid #e0e6f2;
    white-space: nowrap;
}

.offer-category-v2 .top-offers-table__table tbody td {
    padding: 14px 16px;
    border-bottom: 1px solid #e0e6f2;
    vertical-align: middle;
}

.offer-category-v2 .top-offers-table__table tbody tr:last-child td {
    padding-bottom: 10px;
}

.offer-category-v2 .top-offers-table__table tbody tr:last-child td {
    border-bottom: 0;
}

.offer-category-v2 .top-offers-table__table tbody tr:hover td {
    background: #fbfcff;
}

.offer-category-v2 .top-offers-table__th {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.offer-category-v2 .top-offers-table__th-icon {
    width: 18px;
    height: 18px;
    color: #06a8f2;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.offer-category-v2 .top-offers-table__mfo {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    text-decoration: none;
    color: inherit;
}

.offer-category-v2 .top-offers-table__mfo:hover .top-offers-table__mfo-name {
    color: #06a8f2;
}

.offer-category-v2 .top-offers-table__logo {
    flex: 0 0 auto;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: #f7f9fd;
    border: 1px solid #e0e6f2;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.offer-category-v2 .top-offers-table__logo img {
    max-width: 34px;
    max-height: 24px;
    width: auto;
    height: auto;
    object-fit: contain;
    display: block;
}

.offer-category-v2 .top-offers-table__mfo-text {
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 3px;
}

.offer-category-v2 .top-offers-table__mfo-name {
    font-size: 14px;
    line-height: 1.25;
    font-weight: 600;
    color: #1d1f22;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.offer-category-v2 .top-offers-table__mfo-sub {
    font-size: 13px;
    line-height: 1.25;
    color: #8593ab;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.offer-category-v2 .top-offers-table__val {
    font-size: 14px;
    line-height: 1.25;
    color: #1d1f22;
    font-weight: 500;
    white-space: nowrap;
}

.offer-category-v2 .top-offers-table__col-sum {
    text-align: right;
}

.offer-category-v2 .top-offers-table__table thead th.top-offers-table__col-sum {
    text-align: right;
}

@media (max-width: 799px) {
    .offer-category-v2 .top-offers-table__title {
        font-size: 20px;
    }
}

/* Fill the entire filter block (Сумма/Срок) like a progress bar */
.offer-category-v2 .filter .filter-block,
.offer-category-v2 .filter .filter-block-card {
    --fill-pct: 0%;
    --slider-bar-offset: 7px;
    --slider-bar-height: 4px;
    --thumb-size: 12px;
    position: relative;
    border-radius: 14px;
    border: 1px solid rgba(224, 230, 242, 0.9);
    touch-action: pan-y;
    cursor: grab;
    user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
    -webkit-user-drag: none;
    background: #ffffff;
    transition: border-color 0.12s ease, background 0.12s ease;
}

/* Override legacy paddings/gaps from styles.css (там есть padding-left/right !important) */
.offer-category-v2--type-zaimy .filter .filter-block,
.offer-category-v2--type-zaimy .filter .filter-block-card,
.offer-category-v2--type-kredity .filter .filter-block,
.offer-category-v2--type-kredity .filter .filter-block-card,
.offer-category-v2--type-karty .filter .filter-block,
.offer-category-v2--type-karty .filter .filter-block-card,
.offer-category-v2--type-debet .filter .filter-block,
.offer-category-v2--type-debet .filter .filter-block-card,
.offer-category-v2--type-ipoteka .filter .filter-block,
.offer-category-v2--type-ipoteka .filter .filter-block-card,
.offer-category-v2--type-vklady .filter .filter-block,
.offer-category-v2--type-vklady .filter .filter-block-card,
.offer-category-v2--type-rko .filter .filter-block,
.offer-category-v2--type-rko .filter .filter-block-card {
    padding: 7px 10px 12px !important;
    padding-left: 10px !important;
    padding-right: 10px !important;
    gap: 4px 8px;
}

.offer-category-v2 .filter .filter-block:hover,
.offer-category-v2 .filter .filter-block-card:hover {
    border-color: rgba(6, 168, 242, 0.35);
    background: rgba(6, 168, 242, 0.02);
}

/* Compact typography/spacing inside the filter blocks */
.offer-category-v2 .filter .filter-banner {
    margin-top: 0;
    font-size: 11px;
    line-height: 1.15;
    font-weight: 400;
    text-transform: none !important;
    letter-spacing: normal !important;
}

.offer-category-v2 .filter .filter-left-nomer,
.offer-category-v2 .filter .filter-right-nomer {
    margin: 0;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 400;
}

.offer-category-v2 .filter .filter-right-nomer {
    margin-left: 6px;
}

/* Make the current value a small branded badge ("плашка") */
.offer-category-v2 .filter .filter-right-nomer.right-nomer-value {
    font-weight: 400;
    font-size: 12px;
    line-height: 1.1;
    padding: 2px 7px;
    border-radius: 999px;
    border: 1px solid rgba(6, 168, 242, 0.22);
    background: rgba(6, 168, 242, 0.08);
    color: #1d1f22;
}

/* Keep units subtle (руб./дней) */
.offer-category-v2 .filter .filter-right-nomer:not(.right-nomer-value) {
    font-weight: 400;
}

/* Mini progress bar at the bottom (brand colors), driven by --fill-pct */
.offer-category-v2 .filter .filter-block::before,
.offer-category-v2 .filter .filter-block-card::before {
    content: '';
    position: absolute;
    left: 10px;
    right: 10px;
    bottom: var(--slider-bar-offset);
    height: var(--slider-bar-height);
    border-radius: 999px;
    background: linear-gradient(
        90deg,
        rgba(6, 168, 242, 0.95) 0%,
        rgba(16, 213, 76, 0.90) var(--fill-pct),
        rgba(224, 230, 242, 0.90) var(--fill-pct)
    );
    pointer-events: none;
    z-index: 0;
}

/* Visible draggable thumb (affordance) driven by --fill-pct */
.offer-category-v2 .filter .filter-block::after,
.offer-category-v2 .filter .filter-block-card::after {
    content: '';
    position: absolute;
    left: clamp(8px, var(--fill-pct), calc(100% - 8px));
    top: calc(100% - var(--slider-bar-offset) - (var(--slider-bar-height) / 2));
    transform: translate(-50%, -50%);
    width: var(--thumb-size);
    height: var(--thumb-size);
    border-radius: 999px;
    background:
        radial-gradient(circle at 45% 50%, rgba(29, 31, 34, 0.35) 0 1px, transparent 1.5px),
        radial-gradient(circle at 55% 50%, rgba(29, 31, 34, 0.35) 0 1px, transparent 1.5px),
        #ffffff;
    border: 2px solid rgba(6, 168, 242, 0.75);
    box-shadow: 0 10px 22px rgba(18, 38, 90, 0.12);
    pointer-events: none;
    transition: transform 0.12s ease, border-color 0.12s ease;
    z-index: 1;
}

.offer-category-v2 .filter .filter-block:hover::after,
.offer-category-v2 .filter .filter-block-card:hover::after {
    transform: translate(-50%, -50%) scale(1.04);
    border-color: rgba(6, 168, 242, 0.95);
}

/* Subtle drag feedback (no bold fonts) */
html.is-slider-dragging .offer-category-v2 .filter .filter-right-nomer.right-nomer-value {
    border-color: rgba(6, 168, 242, 0.45);
    background: rgba(6, 168, 242, 0.12);
}

/* Ensure cursor stays consistent over inner labels/values (no random text/default cursor areas) */
.offer-category-v2 .filter .filter-block *,
.offer-category-v2 .filter .filter-block-card * {
    cursor: inherit;
}

/* While dragging the slider blocks, disable selection globally (prevents text highlighting when cursor leaves the block) */
html.is-slider-dragging,
body.is-slider-dragging,
html.is-slider-dragging *,
body.is-slider-dragging * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
}

html.is-slider-dragging,
body.is-slider-dragging {
    cursor: grabbing !important;
}

.offer-category-v2 .filter .filter-block:active,
.offer-category-v2 .filter .filter-block-card:active {
    cursor: grabbing;
}

/* Hide the slider UI (no “палка”), keep it as a value engine */
.offer-category-v2 .filter .slider1.ui-slider {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: 0;
    background: transparent;
    opacity: 0;
    pointer-events: auto;
    z-index: 2;
    cursor: grab;
    touch-action: pan-y;
    -webkit-tap-highlight-color: transparent;
    box-sizing: border-box;
}

/* Fully hide jQuery UI visuals; interaction is handled by our overlay drag code */
.offer-category-v2 .filter .slider1.ui-slider .ui-slider-range,
.offer-category-v2 .filter .slider1.ui-slider .ui-slider-handle {
    display: none !important;
}

.offer-category-v2 .filter .slider1.ui-slider:active {
    cursor: grabbing;
}

/* Keep text/content above the invisible slider */
.offer-category-v2 .filter .filter-block > *:not(.slider1),
.offer-category-v2 .filter .filter-block-card > *:not(.slider1) {
    position: relative;
    z-index: 1;
}

/* Ensure the header/description region stays selectable.
   If something else applies user-select:none higher up, this restores normal selection,
   while slider blocks remain protected by the rules above. */
.offer-category-v2 .offer-poisk,
.offer-category-v2 .offer-poisk * {
    user-select: text !important;
    -webkit-user-select: text !important;
    -ms-user-select: text !important;
}

/* Keep selectable text above any internal overlays. */
.offer-category-v2 .offer-poisk h1,
.offer-category-v2 .offer-poisk .filter .text {
    position: relative;
    z-index: 3;
}

/* Re-disable selection inside draggable slider blocks (including descendants). */
.offer-category-v2 .filter .filter-block *,
.offer-category-v2 .filter .filter-block-card * {
    user-select: none !important;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
}

/* Allow selecting/copying real text on category pages.
   These blocks are not part of the draggable slider surface, but could be affected
   by the global is-slider-dragging selection lock if it ever gets stuck. */
.offer-category-v2 .offer-poisk h1,
.offer-category-v2 .filter .text,
.offer-category-v2 .filter .text * {
    user-select: text !important;
    -webkit-user-select: text !important;
    -ms-user-select: text !important;
    cursor: text;
}

html.is-slider-dragging .offer-category-v2 .offer-poisk h1,
html.is-slider-dragging .offer-category-v2 .filter .text,
html.is-slider-dragging .offer-category-v2 .filter .text * {
    user-select: text !important;
    -webkit-user-select: text !important;
    -ms-user-select: text !important;
    cursor: text;
}

/* On touch devices there is no meaningful hover cursor; don't override desktop by viewport width */
@media (hover: none) and (pointer: coarse) {
    .offer-category-v2 .filter .filter-block,
    .offer-category-v2 .filter .filter-block-card {
        cursor: default;
    }
}

/* --- Main Block Container --- */
.main-block {
    padding: 42px 0 62px;
    background:
        radial-gradient(900px 320px at 15% 0%, rgba(6, 168, 242, 0.12) 0%, rgba(6, 168, 242, 0) 65%),
        radial-gradient(900px 320px at 85% 0%, rgba(16, 213, 76, 0.10) 0%, rgba(16, 213, 76, 0) 65%),
        linear-gradient(180deg, #f7f9fd 0%, #ffffff 85%);
}

.main-block .wrapper {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(224, 230, 242, 0.9);
    border-radius: 26px;
    padding: 28px 28px 22px;
    box-sizing: border-box;
    box-shadow: 0 18px 48px rgba(18, 38, 90, 0.08);
    position: relative;
    overflow: hidden;
}

.main-block .wrapper:before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(420px 240px at 12% 12%, rgba(6, 168, 242, 0.12) 0%, rgba(6, 168, 242, 0) 70%),
        radial-gradient(420px 240px at 88% 12%, rgba(16, 213, 76, 0.10) 0%, rgba(16, 213, 76, 0) 70%);
    pointer-events: none;
}

.main-block .wrapper > * {
    position: relative;
    z-index: 1;
}

.main-block-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 30px;
    font-weight: 600;
    text-align: center;
    margin: 0 0 22px;
    color: #1d1f22;
    line-height: 1.18;
    max-width: 980px;
    margin-left: auto;
    margin-right: auto;
}

.main-block-subtitle {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    color: #6c7a90;
    text-align: center;
    max-width: 820px;
    margin: -10px auto 16px;
    line-height: 1.5;
}

.main-block-points {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px 14px;
    max-width: 980px;
    margin: 0 auto 18px;
}

.main-block-point {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #1d1f22;
    background: #f7f9fd;
    border: 1px solid #e0e6f2;
    border-radius: 14px;
    padding: 10px 12px 10px 34px;
    position: relative;
    line-height: 1.35;
}

.main-block-point:before {
    content: '';
    position: absolute;
    left: 12px;
    top: 50%;
    width: 12px;
    height: 6px;
    border-left: 2px solid #10d54c;
    border-bottom: 2px solid #10d54c;
    transform: translateY(-60%) rotate(-45deg);
}

.main-block-title:after {
    content: '';
    display: block;
    width: 88px;
    height: 3px;
    background: linear-gradient(90deg, #06a8f2 0%, #10d54c 100%);
    border-radius: 3px;
    margin: 14px auto 0;
}

/* Accessibility/SEO: visually hide without display:none */
.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

/* --- Top Hero Cards (Credit & Microloan) --- */
.main-block-cards {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    margin: 0 0 18px;
}

.main-block-cards .main-card {
    border-radius: 22px;
    padding: 22px 22px 20px;
    position: relative;
    overflow: hidden;
    display: block;
    border: 1px solid #e0e6f2;
    border-top-width: 3px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 10px 26px rgba(18, 38, 90, 0.06);
    text-decoration: none;
    color: inherit;
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.main-block-cards .main-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(18, 38, 90, 0.08);
}

.main-block-cards .main-card:nth-child(1) {
    border-top-color: #06a8f2;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 62%);
}

.main-block-cards .main-card:nth-child(2) {
    border-top-color: #10d54c;
    background: linear-gradient(180deg, #f0fff4 0%, #ffffff 62%);
}

.main-block-cards .main-card:before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(247, 249, 253, 0.85);
    border: 0;
    opacity: 0.9;
}

.main-block-cards .main-card:after {
    content: '';
    position: absolute;
    left: -40px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    opacity: 0.7;
}

.main-block-cards .main-card-info {
    position: relative;
    z-index: 2;
    padding-right: clamp(200px, 22vw, 280px);
}

.main-block-cards .main-card-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #1d1f22;
    line-height: 1.25;
}

.main-block-cards .main-card-desc {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    color: #6c7a90;
    margin-bottom: 16px;
    line-height: 1.45;
}

.main-block-cards .main-card-bullets {
    margin: 0 0 14px;
    padding: 0;
    list-style: none;
}

.main-block-cards .main-card-bullets li {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #6c7a90;
    line-height: 1.35;
    padding-left: 18px;
    position: relative;
    margin: 0 0 6px;
}

.main-block-cards .main-card-bullets li:last-child {
    margin-bottom: 0;
}

.main-block-cards .main-card-bullets li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e6f2;
}

.main-block-cards .main-card:nth-child(1) .main-card-bullets li:before {
    background: rgba(6, 168, 242, 0.35);
}

.main-block-cards .main-card:nth-child(2) .main-card-bullets li:before {
    background: rgba(16, 213, 76, 0.35);
}

.main-block-cards .main-card-link {
    display: inline-block;
    padding: 0 16px;
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    line-height: 42px;
    border: 1px solid #e0e6f2;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-right: 34px;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.main-block-cards .main-card-link:after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 7px;
    height: 7px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.9;
}

.main-block-cards .main-card:nth-child(1) .main-card-link {
    color: #06a8f2;
    border-color: rgba(6, 168, 242, 0.45);
}

.main-block-cards .main-card:nth-child(2) .main-card-link {
    color: #10d54c;
    border-color: rgba(16, 213, 76, 0.45);
}

.main-block-cards .main-card:nth-child(1) .main-card-link:hover {
    background: #06a8f2;
    border-color: #06a8f2;
    color: #fff;
}

.main-block-cards .main-card:nth-child(1):hover .main-card-link,
.main-block-cards .main-card:nth-child(1):focus-visible .main-card-link {
    background: #06a8f2;
    border-color: #06a8f2;
    color: #fff;
}

.main-block-cards .main-card:nth-child(2) .main-card-link:hover {
    background: #10d54c;
    border-color: #10d54c;
    color: #fff;
}

.main-block-cards .main-card:nth-child(2):hover .main-card-link,
.main-block-cards .main-card:nth-child(2):focus-visible .main-card-link {
    background: #10d54c;
    border-color: #10d54c;
    color: #fff;
}

.main-block-cards .main-card-img {
    position: absolute;
    right: 14px;
    bottom: 10px;
    max-height: 260px;
    max-width: 280px;
    width: auto;
    opacity: 1;
    z-index: 1;
}

/* --- Mini Cards Grid (Bottom) --- */
.main-block-cards-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
    gap: 12px;
    margin-top: 6px;
}

.main-block-cards-mini .main-card {
    background: #fff;
    border: 1px solid #e0e6f2;
    border-top-width: 3px;
    border-top-color: #06a8f2;
    border-radius: 20px;
    padding: 12px 14px;
    position: relative;
    overflow: visible;
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 14px;
    min-height: 72px;
    box-sizing: border-box;
    text-decoration: none;
    box-shadow: 0 10px 26px rgba(18, 38, 90, 0.06);
    transition: border-color 0.2s ease, background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.main-block-cards-mini .main-card:nth-child(even) {
    border-top-color: #10d54c;
}

.main-block-cards-mini .main-card:after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #8593ab;
    border-bottom: 2px solid #8593ab;
    transform: translateY(-50%) rotate(-45deg);
    opacity: 0.9;
}

.main-block-cards-mini .main-card svg {
    width: 44px;
    height: 44px;
    padding: 10px;
    box-sizing: border-box;
    background: #f7f9fd;
    border-radius: 16px;
    flex-shrink: 0;
}

/* Icons: Accent by default, white on hover */
.main-block-cards-mini .main-card:nth-child(odd) svg {
    background: rgba(6, 168, 242, 0.12);
}

.main-block-cards-mini .main-card:nth-child(even) svg {
    background: rgba(16, 213, 76, 0.12);
}

.main-block-cards-mini .main-card:nth-child(odd) svg path {
    fill: #06a8f2;
}

.main-block-cards-mini .main-card:nth-child(even) svg path {
    fill: #10d54c;
}

.main-block-cards-mini .main-card:hover {
    background: #fbfcff;
    transform: translateY(-2px);
    box-shadow: 0 18px 48px rgba(18, 38, 90, 0.08);
}

.main-block-cards-mini .main-card:nth-child(odd):hover {
    border-color: rgba(6, 168, 242, 0.55);
}

.main-block-cards-mini .main-card:nth-child(even):hover {
    border-color: rgba(16, 213, 76, 0.55);
}

.main-block-cards-mini .main-card:nth-child(odd):hover:after {
    border-right-color: #06a8f2;
    border-bottom-color: #06a8f2;
}

.main-block-cards-mini .main-card:nth-child(even):hover:after {
    border-right-color: #10d54c;
    border-bottom-color: #10d54c;
}

.main-block-cards-mini .main-card:nth-child(odd):hover svg path {
    fill: #fff;
}

.main-block-cards-mini .main-card:nth-child(even):hover svg path {
    fill: #fff;
}

.main-block-cards-mini .main-card:nth-child(odd):hover svg {
    background: #06a8f2;
}

.main-block-cards-mini .main-card:nth-child(even):hover svg {
    background: #10d54c;
}

.main-block-cards-mini .main-card:focus-visible {
    outline: 2px solid rgba(6, 168, 242, 0.35);
    outline-offset: 2px;
}

.main-block-cards-mini .main-card-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-width: 0;
    padding-right: 22px;
}

.main-block-cards-mini .main-card-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 15px;
    font-weight: 400;
    color: #1d1f22;
    margin-bottom: 2px;
    line-height: 1.25;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.main-block-cards-mini .main-card-desc {
    display: none;
}

/* --- Responsive --- */
@media (max-width: 992px) {
    .main-block-cards {
        grid-template-columns: 1fr;
    }

    .main-block-cards-mini {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .main-block {
        padding: 22px 0 34px;
    }

    .main-block .wrapper {
        padding: 22px 18px 16px;
        border-radius: 22px;
    }

    .main-block-title {
        font-size: 28px;
    }

    .main-block-subtitle {
        font-size: 15px;
        margin-top: -8px;
    }

    .main-block-points {
        grid-template-columns: 1fr;
        max-width: 560px;
        margin-bottom: 16px;
    }

    .main-block-cards .main-card-info {
        padding-right: 200px;
    }

    .main-block-cards .main-card-img {
        max-height: 220px;
        max-width: 240px;
    }
}

@media (max-width: 576px) {
    .main-block-cards-mini {
        grid-template-columns: 1fr;
    }

    .main-block-cards-mini .main-card {
        align-items: center;
        min-height: 72px;
    }

    .main-block-cards .main-card {
        padding: 18px;
    }

    .main-block-cards .main-card-info {
        padding-right: 0;
    }

    .main-block-cards .main-card-img {
        position: static;
        display: block;
        max-width: min(260px, 85vw);
        max-height: 240px;
        width: auto;
        height: auto;
        object-fit: contain;
        margin: 12px auto 0;
    }
}

@media (max-width: 576px) and (min-resolution: 2dppx) {
    .main-block-cards .main-card-img {
        max-width: min(240px, 80vw);
        max-height: 220px;
    }
}

@media (max-width: 576px) and (min-resolution: 3dppx) {
    .main-block-cards .main-card-img {
        max-width: min(200px, 75vw);
        max-height: 200px;
    }
}

/* --- Fintech hero (mockup layout) --- */
.main-block--fintech {
    padding: 42px 0 62px;
    background:
        radial-gradient(900px 320px at 15% 0%, rgba(6, 168, 242, 0.12) 0%, rgba(6, 168, 242, 0) 65%),
        radial-gradient(900px 320px at 85% 0%, rgba(16, 213, 76, 0.10) 0%, rgba(16, 213, 76, 0) 65%),
        linear-gradient(180deg, #f7f9fd 0%, #ffffff 85%);
}

.main-block--fintech .wrapper {
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(224, 230, 242, 0.9);
    border-radius: 26px;
    padding: 20px;
    box-shadow: 0 18px 48px rgba(18, 38, 90, 0.08);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.main-block--fintech .wrapper:before {
    display: block;
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(420px 240px at 12% 12%, rgba(6, 168, 242, 0.12) 0%, rgba(6, 168, 242, 0) 70%),
        radial-gradient(420px 240px at 88% 12%, rgba(16, 213, 76, 0.10) 0%, rgba(16, 213, 76, 0) 70%);
    pointer-events: none;
}

.main-block--fintech .wrapper > * {
    position: relative;
    z-index: 1;
}

.main-block--fintech .main-block-cards {
    gap: 16px;
    margin-bottom: 0;
}

.main-block--fintech .main-block-cards .main-card {
    min-height: 192px;
    padding: 20px 20px 0;
    border: 1px solid #e8edf3;
    border-top-width: 3px;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 2px 14px rgba(15, 23, 42, 0.05);
    overflow: hidden;
    display: flex;
    align-items: stretch;
}

.main-block--fintech .main-block-cards .main-card:nth-child(1) {
    border-top-color: #06a8f2;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 62%);
}

.main-block--fintech .main-block-cards .main-card:nth-child(2) {
    border-top-color: #10d54c;
    background: linear-gradient(180deg, #f0fff4 0%, #ffffff 62%);
}

.main-block--fintech .main-block-cards .main-card:before,
.main-block--fintech .main-block-cards .main-card:after {
    display: block;
}

.main-block--fintech .main-block-cards .main-card:before {
    content: '';
    position: absolute;
    right: -80px;
    top: -80px;
    width: 240px;
    height: 240px;
    border-radius: 50%;
    background: rgba(247, 249, 253, 0.85);
    border: 0;
    opacity: 0.9;
    z-index: 0;
}

.main-block--fintech .main-block-cards .main-card:after {
    content: '';
    position: absolute;
    left: -40px;
    bottom: -80px;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    opacity: 0.7;
    z-index: 0;
}

.main-block--fintech .main-block-cards .main-card:nth-child(1):after {
    background: radial-gradient(circle, rgba(6, 168, 242, 0.08) 0%, rgba(6, 168, 242, 0) 70%);
}

.main-block--fintech .main-block-cards .main-card:nth-child(2):after {
    background: radial-gradient(circle, rgba(16, 213, 76, 0.08) 0%, rgba(16, 213, 76, 0) 70%);
}

.main-block--fintech .main-block-cards .main-card-info,
.main-block--fintech .main-block-cards .main-card-link {
    position: relative;
    z-index: 2;
}

.main-block--fintech .main-block-cards .main-card-info {
    display: flex;
    flex-direction: column;
    flex: 1 1 auto;
    min-height: 172px;
    padding-right: clamp(250px, 36vw, 340px);
    padding-bottom: 18px;
}

.main-block--fintech .main-block-cards .main-card-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 4px;
    line-height: 1.25;
    color: #1d1f22;
}

.main-block--fintech .main-block-cards .main-card:nth-child(1) .main-card-title {
    white-space: nowrap;
    font-size: 21px;
}

.main-block--fintech .main-block-cards .main-card-desc {
    font-size: 14px;
    margin-bottom: 10px;
}

.main-block--fintech .main-block-cards .main-card-bullets li {
    font-size: 13px;
    color: #5f6b7a;
    padding-left: 26px;
    margin-bottom: 5px;
}

.main-block--fintech .main-block-cards .main-card-bullets {
    margin-bottom: 0;
}

.main-block--fintech .main-block-cards .main-card-bullets li:before {
    content: '';
    position: absolute;
    left: 0;
    top: 1px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #0095eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.3 4.6-4.8' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
}

.main-block--fintech .main-block-cards .main-card:nth-child(1) .main-card-bullets li:before {
    background: #0095eb url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.3 4.6-4.8' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
}

.main-block--fintech .main-block-cards .main-card:nth-child(2) .main-card-bullets li:before {
    background: #00c83c url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M2.5 6.2l2.4 2.3 4.6-4.8' fill='none' stroke='%23ffffff' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat center / 10px 10px;
}

.main-block--fintech .main-block-cards .main-card-link {
    margin-top: auto;
    align-self: flex-start;
    padding: 0 24px;
    padding-right: 24px;
    line-height: 40px;
    border-radius: 999px;
    border: none;
    color: #fff !important;
    font-size: 15px;
    font-weight: 600;
    box-shadow: none;
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%);
}

.main-block--fintech .main-block-cards .main-card-link:after {
    display: none;
}

.main-block--fintech .main-block-cards .main-card:nth-child(1) .main-card-link {
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.main-block--fintech .main-block-cards .main-card:nth-child(2) .main-card-link {
    background: linear-gradient(135deg, #00d44a 0%, #00b838 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
}

.main-block--fintech .main-block-cards .main-card:nth-child(1):hover .main-card-link,
.main-block--fintech .main-block-cards .main-card:nth-child(1):focus-visible .main-card-link {
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    filter: brightness(1.05);
}

.main-block--fintech .main-block-cards .main-card:nth-child(2):hover .main-card-link,
.main-block--fintech .main-block-cards .main-card:nth-child(2):focus-visible .main-card-link {
    background: linear-gradient(135deg, #00d44a 0%, #00b838 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    filter: brightness(1.05);
}

.main-block--fintech .main-block-cards .main-card-img {
    position: absolute;
    right: clamp(52px, 5.5vw, 72px);
    bottom: 0;
    width: clamp(260px, 35vw, 340px);
    height: 100%;
    max-height: none;
    object-fit: contain;
    object-position: 100% 100%;
    transform: scale(1.1);
    transform-origin: 100% 100%;
    z-index: 1;
    pointer-events: none;
}

.main-block--fintech .main-block-cards .main-card:nth-child(1) .main-card-img {
    right: clamp(58px, 6vw, 80px);
    width: clamp(235px, 31vw, 305px);
    transform: scale(0.96);
    object-position: 96% 100%;
}

.main-block--fintech .main-block-cards .main-card:nth-child(2) .main-card-img,
.main-block--fintech .main-block-cards .main-card-img--mikro {
    right: clamp(52px, 5.5vw, 72px);
    width: clamp(260px, 35vw, 340px);
    transform: scale(1.06) translateY(4px);
}

.main-block--fintech .main-block-cards-mini {
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 14px;
    margin-top: 0;
}

.main-block--fintech .main-block-cards-mini .main-card {
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    position: relative;
    min-height: 0;
    padding: 11px 10px 9px;
    gap: 0;
    border: 1px solid #e3eaf2;
    border-top-width: 3px;
    border-radius: 14px;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
    overflow: hidden;
    transition:
        border-color 0.25s ease,
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.main-block--fintech .main-block-cards-mini .main-card:nth-child(odd) {
    border-top-color: #06a8f2;
    background: #f7fbff;
}

.main-block--fintech .main-block-cards-mini .main-card:nth-child(even) {
    border-top-color: #10d54c;
    background: #f6fff9;
}

.main-block--fintech .main-block-cards-mini .main-card:before,
.main-block--fintech .main-block-cards-mini .main-card:after {
    display: none;
}

.main-block--fintech .main-block-cards-mini .main-card-info {
    padding-right: 0;
    width: 100%;
    flex: 0 0 auto;
}

.main-block--fintech .main-block-cards-mini .main-card-title {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 0;
    line-height: 1.2;
    padding: 0 2px;
    color: #1d1f22;
}

.main-block--fintech .main-block-cards-mini .main-card-desc {
    display: block !important;
    margin-top: 3px;
    font-size: 11px;
    font-weight: 400;
    line-height: 1.25;
    color: #6b7789;
}

.main-block--fintech .main-block-cards-mini .main-card-icon {
    width: 112px;
    height: 112px;
    object-fit: contain;
    margin: 0 auto -10px;
    flex-shrink: 0;
    transform: scale(1.16);
    transform-origin: center bottom;
    transition: transform 0.25s ease;
}

.main-block--fintech .main-block-cards-mini .main-card-go {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    margin-top: 6px;
    font-family: 'Open Sans', sans-serif;
    font-size: 12px;
    font-weight: 600;
    line-height: 1;
    color: #06a8f2;
    transition: color 0.25s ease, gap 0.25s ease;
}

.main-block--fintech .main-block-cards-mini .main-card-go:after {
    content: '→';
    font-size: 14px;
    line-height: 1;
    transition: transform 0.25s ease;
}

.main-block--fintech .main-block-cards-mini .main-card:nth-child(even) .main-card-go {
    color: #10a842;
}

.main-block--fintech .main-block-cards-mini .main-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(15, 23, 42, 0.08);
}

.main-block--fintech .main-block-cards-mini .main-card:nth-child(odd):hover {
    border-color: #9fd4f3;
    border-top-color: #06a8f2;
}

.main-block--fintech .main-block-cards-mini .main-card:nth-child(even):hover {
    border-color: #9ee8b4;
    border-top-color: #10d54c;
}

.main-block--fintech .main-block-cards-mini .main-card:hover .main-card-icon {
    transform: scale(1.2);
}

.main-block--fintech .main-block-cards-mini .main-card:hover .main-card-go {
    gap: 8px;
}

.main-block--fintech .main-block-cards-mini .main-card:hover .main-card-go:after {
    transform: translateX(2px);
}

.main-block--fintech .main-block-cards-mini .main-card:focus-visible {
    outline: 2px solid #06a8f2;
    outline-offset: 2px;
}

.main-block--fintech .main-block-cards-mini .main-card:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.05);
}

@media (max-width: 1200px) {
    .main-block--fintech .main-block-cards-mini {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 992px) {
    .main-block--fintech .main-block-cards-mini {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 768px) {
    .main-block--fintech {
        padding: 16px 0 28px;
    }

    .main-block--fintech .wrapper {
        padding: 16px;
        border-radius: 20px;
    }

    .main-block--fintech .main-block-cards .main-card {
        flex-direction: column;
        align-items: flex-start;
        padding: 18px 16px 10px;
        min-height: 0;
    }

    .main-block--fintech .main-block-cards .main-card-info {
        padding-right: 0;
        width: 100%;
        min-height: 0;
    }

    .main-block--fintech .main-block-cards .main-card-img {
        position: static;
        display: block;
        width: min(100%, 290px);
        height: auto;
        max-height: none;
        margin: 10px 0 0;
        align-self: flex-start;
        transform: none;
        object-fit: contain;
        object-position: left bottom;
    }

    .main-block--fintech .main-block-cards .main-card:nth-child(1) .main-card-img {
        width: min(100%, 265px);
        margin-top: 8px;
    }

    .main-block--fintech .main-block-cards .main-card:nth-child(2) .main-card-img {
        width: min(100%, 280px);
        margin-top: 8px;
    }
}

@media (max-width: 576px) {
    .main-block--fintech .main-block-cards-mini {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .main-block--fintech .main-block-cards .main-card-img {
        width: min(100%, 275px);
    }

    .main-block--fintech .main-block-cards .main-card:nth-child(1) .main-card-img {
        width: min(100%, 255px);
    }

    .main-block--fintech .main-block-cards .main-card:nth-child(2) .main-card-img {
        width: min(100%, 268px);
    }
}

/* --- Home Exchange (CBR rates preview) --- */
.home-exchange {
    clear: both;
    padding: 28px 0 44px;
}

/* Override main-block gradient for this section: keep only the inner card */
.main-block.home-exchange {
    background: #fff;
}

/* Remove extra band between exchange block and next section */
.home-exchange + .main-white {
    margin-top: 0 !important;
}

.home-exchange .wrapper {
    padding-bottom: 26px;
}

.home-exchange__head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    margin: 0 0 16px;
    flex-wrap: wrap;
}

.home-exchange__meta {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    line-height: 1.2;
    color: #6c7a90;
    background: #f7f9fd;
    border: 1px solid #e0e6f2;
    border-radius: 999px;
    padding: 6px 10px;
}

.home-exchange__grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-exchange__card {
    border-radius: 18px;
    padding: 14px 14px 14px 14px;
    position: relative;
    overflow: hidden;
    border: 1px solid #e0e6f2;
    border-top-width: 3px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: 0 10px 26px rgba(18, 38, 90, 0.06);
    display: flex;
    align-items: center;
    gap: 12px;
}

.home-exchange__card.is-blue {
    border-top-color: #06a8f2;
    background: linear-gradient(180deg, #f0f7ff 0%, #ffffff 62%);
}

.home-exchange__card.is-green {
    border-top-color: #10d54c;
    background: linear-gradient(180deg, #f0fff4 0%, #ffffff 62%);
}

.home-exchange__icon {
    width: 44px;
    height: 44px;
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(224, 230, 242, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 auto;
}

.home-exchange__icon img {
    width: 28px;
    height: 28px;
    display: block;
}

.home-exchange__info {
    min-width: 0;
    flex: 1 1 auto;
}

.home-exchange__code {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #1d1f22;
    line-height: 1.2;
}

.home-exchange__name {
    font-family: 'Open Sans', sans-serif;
    font-size: 13px;
    color: #6c7a90;
    line-height: 1.25;
    margin-top: 2px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.home-exchange__value {
    font-family: 'Open Sans', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: #1d1f22;
    line-height: 1.2;
    flex: 0 0 auto;
    white-space: nowrap;
}

.home-exchange__card.is-blue .home-exchange__value {
    color: #06a8f2;
}

.home-exchange__card.is-green .home-exchange__value {
    color: #10d54c;
}

.home-exchange__empty {
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    color: #6c7a90;
    background: #f7f9fd;
    border: 1px solid #e0e6f2;
    border-radius: 16px;
    padding: 14px 16px;
}

.home-exchange__link {
    display: inline-block;
    margin-top: 16px;
    padding: 0 16px;
    border-radius: 12px;
    font-family: 'Open Sans', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-decoration: none;
    line-height: 44px;
    border: 1px solid #e0e6f2;
    background: rgba(255, 255, 255, 0.9);
    position: relative;
    padding-right: 34px;
    color: #1d1f22;
    transition: background-color 0.2s ease, border-color 0.2s ease, color 0.2s ease;
}

.home-exchange__link:after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 12px;
    height: 12px;
    margin-top: -6px;
    border-right: 2px solid #06a8f2;
    border-bottom: 2px solid #06a8f2;
    transform: rotate(-45deg);
}

.home-exchange__link:hover {
    background: #ffffff;
    border-color: rgba(6, 168, 242, 0.45);
}

@media (max-width: 992px) {
    .home-exchange__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 576px) {
    .home-exchange__grid {
        grid-template-columns: 1fr;
    }

    .home-exchange__name {
        white-space: normal;
        overflow: visible;
    }
}

/* Иконки шапки: поиск + профиль */
.header-nav .menu-lg {
    float: right;
    display: flex;
    align-items: center;
    height: 70px;
    padding-left: 6px;
    line-height: 1;
}

.header-nav .menu-lg + .menu-lg {
    margin-left: 6px;
}

.header-nav .menu-lg > span {
    display: inline-flex;
    align-items: center;
    line-height: 1;
}

.header-nav .menu-lg a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0 !important;
    margin: 0;
    line-height: 1 !important;
    float: none !important;
    border-radius: 50%;
    border: 1px solid #e6eef8;
    background: #fff;
    color: #0095eb;
    text-decoration: none;
    box-sizing: border-box;
    transition: color .2s ease, background-color .2s ease, border-color .2s ease, box-shadow .2s ease, transform .2s ease;
}

.header-nav .menu-lg a:hover {
    color: #0080d4;
    background: #e8f4ff;
    border-color: rgba(0, 149, 235, 0.35);
    box-shadow: 0 4px 14px rgba(0, 128, 212, 0.14);
    transform: translateY(-1px);
}

.header-nav .menu-lg a:focus-visible {
    outline: 2px solid #0095eb;
    outline-offset: 2px;
}

.header-nav #show-login a:hover {
    color: #00b838;
    background: #e8fbed;
    border-color: rgba(0, 200, 60, 0.35);
    box-shadow: 0 4px 14px rgba(0, 184, 56, 0.14);
}

.header-nav #show-login a:focus-visible {
    outline-color: #00c83c;
}

.header-nav .icon-menu {
    width: 20px;
    height: 20px;
    margin: 0 !important;
    float: none !important;
    stroke: currentColor;
    transition: stroke .2s ease;
}

@media screen and (max-width: 1023px) {
    .header-nav .header-wrap {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
    }

    .header-nav .logo {
        float: none !important;
        flex: 1 1 auto;
        min-width: 0;
    }

    .header-nav #mob-menu {
        flex: 0 0 100%;
        width: 100%;
    }

    .header-nav #show-login {
        order: 5;
        margin-left: auto;
    }

    .header-nav .menu-lg:not(#show-login) {
        order: 6;
        margin-left: 12px;
    }

    .header-nav #bg-bnt {
        order: 7;
        float: none !important;
        margin-left: 12px;
        top: auto;
        align-self: center;
        transform: translateY(3px);
    }

    .header-nav .menu-lg {
        display: flex;
        align-items: center;
        float: none !important;
        height: 60px;
        padding-left: 0;
    }

    .header-nav .menu-lg + .menu-lg {
        margin-left: 0;
    }

    .header-nav .menu-lg a {
        width: 34px;
        height: 34px;
        float: none !important;
        padding: 0 !important;
    }

    .header-nav .icon-menu {
        width: 18px;
        height: 18px;
        margin-top: 0 !important;
    }
}

/* Mega menu: общие переменные (desktop + mobile) */
.header-nav .main-menu {
    --mm-blue: #0095eb;
    --mm-blue-hover: #0080d4;
    --mm-green: #00c83c;
    --mm-green-hover: #00b838;
    --mm-arrow-blue: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 8h5M9 5.5L11.5 8 9 10.5' fill='none' stroke='%230095eb' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --mm-arrow-blue-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 8h5M9 5.5L11.5 8 9 10.5' fill='none' stroke='%230080d4' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --mm-arrow-green: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 8h5M9 5.5L11.5 8 9 10.5' fill='none' stroke='%2300c83c' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    --mm-arrow-green-hover: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath d='M5.5 8h5M9 5.5L11.5 8 9 10.5' fill='none' stroke='%2300b838' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}

/* Mobile menu — стиль как на desktop */
@media screen and (max-width: 1023px) {
    #mob-menu {
        background: #fff !important;
        left: 0;
        right: 0;
        width: 100%;
        margin-left: 0 !important;
        border-top: 1px solid #eef2f7;
        box-shadow: 0 16px 40px rgba(18, 38, 90, 0.1);
        max-height: calc(100dvh - 60px);
        overflow-y: auto;
        -webkit-overflow-scrolling: touch;
    }

    #mob-menu.open {
        margin-top: 0 !important;
    }

    #mob-menu .main-menu-container {
        float: none !important;
        width: 100%;
        display: block;
        text-align: left;
    }

    .header-nav .main-menu {
        float: none !important;
        width: 100%;
        padding: 6px 16px 20px;
        background: #fff;
        box-sizing: border-box;
    }

    .header-nav .main-menu .menu {
        float: none !important;
        width: 100%;
        font-size: 16px;
        display: block;
        padding: 0;
    }

    .header-nav .main-menu .menu > .menu-item {
        width: 100%;
        float: none !important;
        display: block !important;
        border-bottom: 1px solid #eef2f7;
    }

    .header-nav .main-menu .menu > .menu-item > a {
        display: block;
        float: none;
        width: 100%;
        box-sizing: border-box;
        font-size: 17px;
        font-weight: 400;
        line-height: 1.3;
        color: #1d1f22;
        padding: 14px 36px 14px 4px;
        position: relative;
        text-decoration: none;
    }

    .header-nav .main-menu .menu > .menu-item.menu-item-has-children > a::after {
        content: '';
        position: absolute;
        right: 6px;
        top: 50%;
        width: 8px;
        height: 8px;
        border-right: 2px solid #0095eb;
        border-bottom: 2px solid #0095eb;
        transform: translateY(-35%) rotate(-135deg);
        pointer-events: none;
    }

    .header-nav .main-menu .menu > .menu-item > .sub-menu-wrapper.mm-panel {
        display: block !important;
        position: static;
        opacity: 1;
        transform: none;
        padding: 0 0 12px;
        margin: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .header-nav .main-menu .sub-menu.mm-grid {
        display: flex;
        flex-direction: column;
        gap: 0;
        float: none;
        min-width: 0;
        max-height: none !important;
        overflow: visible !important;
        padding: 0 !important;
        margin: 0;
        border: none;
        white-space: normal;
    }

    .header-nav .main-menu .sub-menu.mm-grid > .mm-item {
        float: none;
        width: 100%;
        padding: 0;
        margin: 0;
        display: block;
    }

    .header-nav .main-menu a.mm-link {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 100%;
        float: none;
        white-space: normal;
        box-sizing: border-box;
        position: relative;
        padding: 13px 32px 13px 14px;
        border: none;
        border-bottom: 1px solid #eef2f7;
        border-radius: 0;
        text-decoration: none;
        color: #1d1f22;
        background: transparent;
        transition: padding-left .22s ease, border-color .22s ease;
    }

    .header-nav .main-menu .sub-menu.mm-grid > .mm-item:last-child > a.mm-link {
        border-bottom: none;
    }

    .header-nav .main-menu a.mm-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 2px;
        height: 0;
        border-radius: 2px;
        background: var(--mm-blue);
        transform: translateY(-50%);
        transition: height .22s ease;
        pointer-events: none;
    }

    .header-nav .main-menu .mm-item.mm-item--green > a.mm-link::before {
        background: var(--mm-green);
    }

    .header-nav .main-menu a.mm-link::after {
        content: '';
        position: absolute;
        right: 2px;
        top: 50%;
        width: 16px;
        height: 16px;
        transform: translateY(-50%);
        opacity: 0.35;
        background: var(--mm-arrow-blue) center / contain no-repeat;
        transition: opacity .22s ease, transform .22s ease;
        pointer-events: none;
    }

    .header-nav .main-menu .mm-item.mm-item--green > a.mm-link::after {
        background-image: var(--mm-arrow-green);
    }

    .header-nav .main-menu a.mm-link:active {
        padding-left: 18px;
        border-bottom-color: #dce4ef;
    }

    .header-nav .main-menu a.mm-link:active::before {
        height: 52%;
    }

    .header-nav .main-menu a.mm-link:active::after {
        opacity: 1;
        transform: translateY(-50%) translateX(3px);
    }

    .header-nav .main-menu .mm-item--blue > a.mm-link:active::after {
        background-image: var(--mm-arrow-blue-hover);
    }

    .header-nav .main-menu .mm-item--green > a.mm-link:active::after {
        background-image: var(--mm-arrow-green-hover);
    }

    .header-nav .main-menu .mm-title {
        display: block;
        font-size: 15px;
        line-height: 1.3;
        font-weight: 400;
        margin: 0 0 3px;
        color: #1d1f22;
        overflow-wrap: anywhere;
    }

    .header-nav .main-menu .mm-desc {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.4;
        font-weight: 400;
        color: #9aa3b2;
        margin: 0;
        white-space: normal;
        overflow-wrap: anywhere;
    }
}

/* Header + Mega menu: светлая плашка, ровная 4-колоночная сетка */
@media screen and (min-width: 1024px) {
    .header-nav .header-wrap {
        position: relative;
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .header-nav .header-wrap::after {
        content: "";
        display: block;
        clear: both;
    }

    .header-nav .logo {
        float: none !important;
        flex: 0 0 auto;
        order: 1;
    }

    .header-nav .logo a {
        line-height: 70px;
    }

    .header-nav #bg-bnt {
        display: none !important;
        order: 99;
    }

    .header-nav #mob-menu {
        flex: 1 1 auto;
        min-width: 0;
        order: 2;
        float: none !important;
        display: block !important;
        position: static !important;
        margin: 0 !important;
        background: transparent !important;
    }

    .header-nav .main-menu-container {
        float: none !important;
        width: 100%;
        display: block;
    }

    .header-nav .menu-lg {
        float: none !important;
        flex: 0 0 auto;
        height: 70px;
        padding-left: 0;
        order: 3;
    }

    .header-nav #show-login {
        order: 4;
    }

    .header-nav .menu-lg + .menu-lg {
        margin-left: 4px;
    }

    .header-nav .main-menu .menu-item.is-open > .sub-menu-wrapper {
        opacity: 1;
        transform: translateY(0);
    }

    /* Пункты шапки (desktop) */
    .header-nav .main-menu {
        line-height: normal;
        float: none !important;
        width: 100%;
    }

    .header-nav .main-menu .menu {
        display: flex;
        align-items: center;
        flex-wrap: nowrap;
        gap: 6px;
        width: 100%;
        float: none !important;
        vertical-align: middle;
    }

    .header-nav .main-menu .menu > .menu-item {
        padding: 0 3px;
        line-height: normal;
        display: inline-flex;
        align-items: center;
        flex: 0 1 auto;
        height: 70px;
        vertical-align: middle;
    }

    .header-nav .main-menu .menu > .menu-item > a {
        display: inline-flex;
        align-items: center;
        height: 38px;
        line-height: 1.2 !important;
        padding: 0 10px;
        font-size: 16px;
        font-weight: 400;
        letter-spacing: -0.015em;
        color: #1d1f22;
        border-radius: 999px;
        text-decoration: none;
        white-space: nowrap;
        transition: color .2s ease, background-color .2s ease, box-shadow .2s ease;
        position: relative;
        z-index: 1;
    }

    .header-nav .main-menu .menu > .menu-item > a:before {
        display: none !important;
    }

    .header-nav .main-menu .menu > .menu-item:hover > a,
    .header-nav .main-menu .menu > .menu-item.is-open > a {
        color: #0080d4;
        background: #e8f4ff;
    }

    .header-nav .main-menu .menu > .menu-item.is-open > a {
        box-shadow: inset 0 0 0 1px rgba(0, 149, 235, 0.22);
    }

    .header-nav .main-menu .menu > .menu-item.menu-item-has-children > a {
        padding-right: 22px;
    }

    .header-nav .main-menu .menu > .menu-item.menu-item-has-children > a:after {
        content: "";
        position: absolute;
        right: 9px;
        top: 50% !important;
        width: 5px;
        height: 5px;
        border-right: 2px solid #0095eb;
        border-bottom: 2px solid #0095eb;
        transform: translateY(-50%) rotate(45deg) !important;
        opacity: 0.55;
        transition: transform .2s ease, opacity .2s ease, border-color .2s ease;
        pointer-events: none;
        box-sizing: border-box;
    }

    .header-nav .main-menu .menu > .menu-item.menu-item-has-children:hover > a:after,
    .header-nav .main-menu .menu > .menu-item.menu-item-has-children.is-open > a:after {
        transform: translateY(-50%) rotate(-135deg) !important;
        border-color: #0080d4;
        opacity: 1;
    }

    .header-nav .main-menu .menu-item:hover > .sub-menu-wrapper.mm-panel,
    .header-nav .main-menu .menu-item.is-open > .sub-menu-wrapper.mm-panel {
        position: absolute;
        left: 0;
        right: 0;
        top: 100%;
        padding: 28px 32px 32px;
        box-sizing: border-box;
        background: #fff;
        border-radius: 18px;
        border: 1px solid #eef2f7;
        overflow: visible;
        box-shadow:
            0 24px 48px rgba(18, 38, 90, 0.08),
            0 8px 16px rgba(0, 128, 212, 0.04);
        z-index: 1002;
    }

    .header-nav .main-menu .sub-menu-wrapper.mm-panel:hover {
        opacity: 1;
        transform: translateY(0);
    }

    .header-nav .main-menu .menu-item:hover > .sub-menu-wrapper.mm-panel > .sub-menu.mm-grid,
    .header-nav .main-menu .menu-item.is-open > .sub-menu-wrapper.mm-panel > .sub-menu.mm-grid {
        position: static;
        display: grid;
        grid-template-columns: repeat(var(--mm-cols, 4), minmax(0, 1fr));
        grid-auto-flow: row;
        grid-auto-rows: auto;
        column-gap: 36px;
        row-gap: 0;
        align-items: stretch;
        overflow: visible !important;
        max-height: none;
        min-width: auto;
        max-width: none;
        margin: 0;
        padding: 0 !important;
        white-space: normal;
        columns: auto;
        column-fill: auto;
    }

    .header-nav .main-menu .sub-menu.mm-grid > .mm-item {
        float: none;
        width: auto;
        padding: 0;
        margin: 0;
        list-style: none;
        position: static;
        display: flex;
        min-height: 0;
        overflow: visible;
        break-inside: auto;
        -webkit-column-break-inside: auto;
        page-break-inside: auto;
    }

    .header-nav .main-menu .sub-menu.mm-grid .mm-item > a.mm-link,
    .header-nav .main-menu .sub-menu.mm-grid .mm-item > a.mm-link:visited {
        display: flex;
        flex-direction: column;
        justify-content: center;
        flex: 1 1 auto;
        width: 100%;
        box-sizing: border-box;
        position: relative;
        padding: 14px 28px 14px 14px;
        border: none;
        border-bottom: 1px solid #eef2f7;
        border-radius: 0;
        text-decoration: none;
        color: #1d1f22;
        background: transparent;
        box-shadow: none;
        transition: padding-left .22s ease, border-color .22s ease;
    }

    .header-nav .main-menu .sub-menu.mm-grid .mm-item > a.mm-link::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        width: 2px;
        height: 0;
        border-radius: 2px;
        background: var(--mm-blue);
        transform: translateY(-50%);
        transition: height .22s ease, background .22s ease;
        pointer-events: none;
    }

    .header-nav .main-menu .sub-menu.mm-grid .mm-item.mm-item--green > a.mm-link::before {
        background: var(--mm-green);
    }

    .header-nav .main-menu .sub-menu.mm-grid .mm-item > a.mm-link::after {
        content: '';
        position: absolute;
        right: 2px;
        top: 50%;
        width: 16px;
        height: 16px;
        transform: translateY(-50%);
        opacity: 0;
        background: var(--mm-arrow-blue) center / contain no-repeat;
        transition: opacity .22s ease, transform .22s ease;
        pointer-events: none;
    }

    .header-nav .main-menu .sub-menu.mm-grid .mm-item.mm-item--green > a.mm-link::after {
        background-image: var(--mm-arrow-green);
    }

    .header-nav .main-menu .sub-menu.mm-grid .mm-item > a.mm-link:hover {
        padding-left: 18px;
        background: transparent;
        border-bottom-color: #dce4ef;
        box-shadow: none;
        color: #1d1f22;
    }

    .header-nav .main-menu .sub-menu.mm-grid .mm-item > a.mm-link:hover::before {
        height: 52%;
    }

    .header-nav .main-menu .sub-menu.mm-grid .mm-item > a.mm-link:hover::after {
        opacity: 1;
        transform: translateY(-50%) translateX(3px);
    }

    .header-nav .main-menu .sub-menu.mm-grid .mm-item.mm-item--blue > a.mm-link:hover::after {
        background-image: var(--mm-arrow-blue-hover);
    }

    .header-nav .main-menu .sub-menu.mm-grid .mm-item.mm-item--green > a.mm-link:hover::after {
        background-image: var(--mm-arrow-green-hover);
    }

    .header-nav .main-menu .mm-title {
        display: block;
        font-size: 15px;
        line-height: 1.3;
        font-weight: 400;
        margin: 0 0 3px;
        padding-right: 4px;
        transition: color .22s ease;
        white-space: normal;
        overflow-wrap: anywhere;
    }

    .header-nav .main-menu .mm-item--blue .mm-link:hover .mm-title {
        color: var(--mm-blue-hover);
    }

    .header-nav .main-menu .mm-item--green .mm-link:hover .mm-title {
        color: var(--mm-green-hover);
    }

    .header-nav .main-menu .mm-desc {
        display: -webkit-box;
        -webkit-box-orient: vertical;
        -webkit-line-clamp: 2;
        overflow: hidden;
        font-size: 12px;
        line-height: 1.4;
        font-weight: 400;
        color: #9aa3b2;
        max-width: none;
        white-space: normal;
        overflow-wrap: anywhere;
        transition: color .22s ease;
    }

    .header-nav .main-menu .mm-link:hover .mm-desc {
        color: #7a8494;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1179px) {
    .header-nav .logo a img {
        height: 36px;
        padding: 17px 0;
    }

    .header-nav .main-menu .menu {
        gap: 4px;
    }

    .header-nav .main-menu .menu > .menu-item > a {
        font-size: 15px;
        padding: 0 8px;
        letter-spacing: -0.02em;
    }

    .header-nav .main-menu .menu > .menu-item.menu-item-has-children > a {
        padding-right: 20px;
    }

    .header-nav .main-menu .menu > .menu-item.menu-item-has-children > a:after {
        right: 8px;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1340px) {
    .header-nav .main-menu .menu-item:hover > .sub-menu-wrapper.mm-panel > .sub-menu.mm-grid,
    .header-nav .main-menu .menu-item.is-open > .sub-menu-wrapper.mm-panel > .sub-menu.mm-grid {
        grid-template-columns: repeat(min(var(--mm-cols, 4), 2), minmax(0, 1fr));
        grid-auto-flow: row;
    }
}

@media screen and (min-width: 1024px) and (max-width: 1140px) {
    .header-nav .main-menu .menu-item:hover > .sub-menu-wrapper.mm-panel > .sub-menu.mm-grid,
    .header-nav .main-menu .menu-item.is-open > .sub-menu-wrapper.mm-panel > .sub-menu.mm-grid {
        grid-template-columns: 1fr;
        grid-template-rows: none;
        grid-auto-flow: row;
        grid-auto-rows: minmax(0, auto);
    }
}

/* --- LK (Profile) full redesign: left sidebar layout --- */
.lk-page {
    padding-bottom: 50px;
}

.lk-page .lk-layout {
    display: grid;
    grid-template-columns: 360px 1fr;
    gap: 30px;
    align-items: start;
}

.lk-page .lk-aside {
    position: sticky;
    top: 20px;
}

.lk-page .lk-card {
    background: #fff;
    border: 1px solid #e0e6f2;
    border-radius: 16px;
    box-shadow: 0 10px 26px rgba(18, 38, 90, 0.06);
}

.lk-page .lk-aside-card {
    padding: 16px;
}

.lk-page .lk-user {
    display: flex;
    gap: 12px;
    align-items: center;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e6f2;
    margin-bottom: 14px;
}

.lk-page .lk-user__avatar {
    width: 44px;
    height: 44px;
    border-radius: 999px;
    background: rgba(6, 168, 242, 0.12);
    border: 1px solid rgba(6, 168, 242, 0.30);
    color: #06a8f2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    line-height: 1;
}

.lk-page .lk-user__name {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.2;
    color: #1d1f22;
    overflow-wrap: anywhere;
}

.lk-page .lk-user__email {
    font-size: 13px;
    font-weight: 400;
    color: #6c7a90;
    margin-top: 4px;
    overflow-wrap: anywhere;
}

.lk-page .lk-nav {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
}

.lk-page .lk-nav__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 13px 14px;
    border-radius: 12px;
    color: #1d1f22;
    text-decoration: none;
    position: relative;
    transition: background-color 0.18s ease, color 0.18s ease;
}

.lk-page .lk-nav__link:hover {
    background: #f7f9fd;
}

.lk-page .lk-nav__link.is-active {
    background: #f7f9fd;
}

.lk-page .lk-nav__link.is-active:before {
    content: '';
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 3px;
    border-radius: 999px;
    background: #06a8f2;
}

.lk-page .lk-nav__icon {
    flex: 0 0 auto;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: #fff;
    border: 1px solid #e0e6f2;
    color: #6c7a90;
}

/* Normalize icon-font spacing inside LK */
.lk-page .lk-nav__icon:before {
    margin-left: 0;
    margin-right: 0;
    width: 1em;
    line-height: 1;
    font-size: 18px;
}

.lk-page .lk-nav__link:hover .lk-nav__icon,
.lk-page .lk-nav__link.is-active .lk-nav__icon {
    color: #06a8f2;
    border-color: rgba(6, 168, 242, 0.45);
    background: rgba(6, 168, 242, 0.06);
}

.lk-page .lk-nav__text {
    flex: 1 1 auto;
    min-width: 0;
    font-weight: 500;
    line-height: 1.25;
}

.lk-page .lk-main-card {
    padding: 20px 24px;
}

.lk-page .lk-main-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid #e0e6f2;
    margin-bottom: 16px;
}

.lk-page .lk-main-title {
    margin: 0;
    padding: 0;
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
}

.lk-page .lk-head-actions {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 10px;
    flex-wrap: wrap;
}

.lk-page .lk-head-actions .bnts,
.lk-page .lk-head-actions .lk-btn-secondary {
    width: auto;
    white-space: nowrap;
}

@media (max-width: 600px) {
    .lk-page .lk-main-head {
        align-items: flex-start;
        flex-direction: column;
    }

    .lk-page .lk-head-actions {
        width: 100%;
        justify-content: flex-start;
    }
}

.lk-page .lk-main-action {
    font-weight: 600;
    text-decoration: none;
    color: #06a8f2;
}

.lk-page .lk-main-action:hover {
    text-decoration: underline;
    text-underline-offset: 3px;
}

.lk-page .lk-info {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px 20px;
}

.lk-page .lk-info__label {
    font-size: 13px;
    color: #6c7a90;
    margin-bottom: 4px;
}

.lk-page .lk-info__value {
    font-size: 15px;
    font-weight: 600;
    color: #1d1f22;
    overflow-wrap: anywhere;
}

.lk-page .lk-list {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
}

.lk-page .lk-item {
    padding: 12px;
    border: 1px solid #e0e6f2;
    border-radius: 12px;
    background: #f7f9fd;
    overflow: hidden;
}

.lk-page .lk-item__top {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
}

.lk-page .lk-item__title {
    font-weight: 700;
    overflow-wrap: anywhere;
}

.lk-page .lk-item__meta {
    font-size: 12px;
    color: #6c7a90;
    white-space: nowrap;
}

.lk-page .lk-item__sub {
    margin-top: 6px;
    color: #6c7a90;
}

.lk-page .lk-pill {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 999px;
    border: 1px solid #e0e6f2;
    background: #fff;
    font-size: 13px;
}

.lk-page .lk-empty {
    padding: 10px 0;
    color: #6c7a90;
}

.lk-page .lk-form {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.lk-page .lk-field label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #6c7a90;
    margin: 0 0 6px;
}

.lk-page .lk-input {
    width: 100%;
    box-sizing: border-box;
    border: 1px solid #e0e6f2;
    border-radius: 12px;
    background: #fff;
    padding: 12px 14px;
    font-size: 15px;
    line-height: 1.25;
    box-shadow: none;
    color: #1d1f22;
}

.lk-page textarea.lk-input {
    resize: vertical;
}

.lk-page .lk-input:focus {
    outline: none;
    border-color: rgba(6, 168, 242, 0.55);
    box-shadow: 0 0 0 3px rgba(6, 168, 242, 0.10);
}

.lk-page .lk-input[readonly] {
    background: #f7f9fd;
}

.lk-page .lk-actions {
    margin-top: 16px;
}

/* LK buttons (override global .bnts only inside LK) */
.lk-page .bnts {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 18px;
    border-radius: 12px;
    background: #06a8f2;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid rgba(6, 168, 242, 0.55);
    box-shadow: 0 8px 18px rgba(18, 38, 90, 0.10);
    transition: transform 0.15s ease, box-shadow 0.15s ease, opacity 0.15s ease;
}

.lk-page .bnts b {
    font-weight: inherit;
}

.lk-page .bnts:hover {
    opacity: 1;
    transform: translateY(-1px);
    box-shadow: 0 12px 24px rgba(18, 38, 90, 0.12);
}

.lk-page .bnts:active {
    transform: translateY(0);
    box-shadow: 0 10px 22px rgba(18, 38, 90, 0.10);
}

.lk-page .lk-btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 14px;
    border-radius: 12px;
    background: #fff;
    color: #1d1f22;
    font-size: 15px;
    font-weight: 500;
    border: 1px solid #e0e6f2;
    text-decoration: none;
    cursor: pointer;
    transition: background-color 0.15s ease, transform 0.15s ease, border-color 0.15s ease;
}

.lk-page .lk-btn-secondary:hover {
    background: #f7f9fd;
    border-color: rgba(6, 168, 242, 0.35);
    transform: translateY(-1px);
}

.lk-page .lk-btn-secondary:active {
    transform: translateY(0);
}

.lk-page .lk-review {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 220px);
    gap: 16px;
    align-items: start;
}

.lk-page .lk-review__main,
.lk-page .lk-review__actions {
    min-width: 0;
}

.lk-page .lk-review__text {
    margin-top: 10px;
    color: #1d1f22;
    line-height: 1.55;
    overflow-wrap: anywhere;
}

.lk-page .lk-review__meta {
    margin-top: 10px;
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.lk-page .lk-review__actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 10px;
    justify-items: stretch;
}

.lk-page .lk-review__actions .bnts,
.lk-page .lk-review__actions .lk-btn-secondary {
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.lk-page .lk-review__actions form {
    width: 100%;
}

.lk-page .lk-review__actions .bnts {
    box-shadow: none;
}

.lk-page .lk-review__actions .bnts:hover,
.lk-page .lk-review__actions .bnts:active,
.lk-page .lk-review__actions .lk-btn-secondary:hover,
.lk-page .lk-review__actions .lk-btn-secondary:active {
    transform: none;
    box-shadow: none;
}

@media (max-width: 1023px) {
    .lk-page .lk-review {
        grid-template-columns: 1fr;
    }

    .lk-page .lk-review__actions {
        grid-template-columns: 1fr 1fr;
    }

    .lk-page .lk-review__actions form {
        width: 100%;
    }
}

@media (max-width: 1023px) {
    .lk-page .lk-layout {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    .lk-page .lk-aside {
        position: static;
    }

    .lk-page .lk-info {
        grid-template-columns: 1fr;
    }
}

/* --- Home Services (main page) --- */
.home-services {
    width: 100%;
    float: left;
    background: #f7f9fd;
    padding: 40px 0 48px;
}

.home-services__head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px 18px;
    flex-wrap: wrap;
    margin: 0 0 22px;
}


.home-services__head-left {
    display: flex;
    align-items: flex-end;
}

.home-services__subtitle {
    margin: 0;
    max-width: 620px;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
    color: #6c7a90;
}

.home-services__grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
}

.home-services__card {
    --hs-accent: #06a8f2;
    display: flex;
    flex-direction: column;
    min-height: 270px;
    padding: 22px 22px 18px;
    border-radius: 20px;
    border: 1px solid rgba(224, 230, 242, 0.9);
    background: #fff;
    color: #1d1f22;
    box-sizing: border-box;
    text-decoration: none;
    position: relative;
    overflow: hidden;
    box-shadow: 0 1px 0 rgba(18, 38, 90, 0.04);
    transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease, background-color 180ms ease;
    text-align: left;
    align-items: flex-start;
}

.home-services__card--reviews {
    --hs-accent: #10d54c;
}

/* Home services: alternate CTA colors (blue/green/blue/green) */
.home-services__grid > .home-services__card:nth-child(2) {
    --hs-accent: #10d54c;
}

.home-services__grid > .home-services__card:nth-child(3) {
    --hs-accent: #06a8f2;
}


.home-services__card:hover,
.home-services__card:focus-visible {
    text-decoration: none;
    transform: translateY(-1px);
    border-color: rgba(6, 168, 242, 0.24);
    box-shadow: 0 1px 0 rgba(18, 38, 90, 0.04), 0 12px 26px rgba(18, 38, 90, 0.08);
}

.home-services__card--reviews:hover,
.home-services__card--reviews:focus-visible {
    border-color: rgba(16, 213, 76, 0.26);
}

/* Ensure hover border matches alternation even if card type differs */
.home-services__grid > .home-services__card:nth-child(2):hover,
.home-services__grid > .home-services__card:nth-child(2):focus-visible {
    border-color: rgba(16, 213, 76, 0.26);
}

.home-services__grid > .home-services__card:nth-child(3):hover,
.home-services__grid > .home-services__card:nth-child(3):focus-visible {
    border-color: rgba(6, 168, 242, 0.24);
}

.home-services__card-title {
    font-size: 18px;
    line-height: 1.25;
    font-weight: 500;
    letter-spacing: -0.01em;
    margin: 0 0 8px;
    width: 100%;
}

.home-services__card-text {
    font-size: 14px;
    line-height: 1.5;
    font-weight: 400;
    color: #6c7a90;
    margin: 0;
    width: 100%;
    max-width: 320px;
}

.home-services__center-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 38px;
    padding: 0 16px;
    margin: 14px auto 0;
    border-radius: 999px;
    border: 1px solid rgba(224, 230, 242, 0.9);
    background: #ffffff;
    color: var(--hs-accent);
    font-size: 13px;
    line-height: 18px;
    font-weight: 400;
    white-space: nowrap;
    align-self: center;
    user-select: none;
    pointer-events: none;
}

.home-services__card:hover .home-services__center-btn,
.home-services__card:focus-visible .home-services__center-btn {
    border-color: rgba(6, 168, 242, 0.35);
    background: rgba(6, 168, 242, 0.06);
}

.home-services__card--reviews:hover .home-services__center-btn,
.home-services__card--reviews:focus-visible .home-services__center-btn {
    border-color: rgba(16, 213, 76, 0.35);
    background: rgba(16, 213, 76, 0.06);
}

/* Ensure button hover matches alternation even if card has --reviews */
.home-services__grid > .home-services__card:nth-child(2):hover .home-services__center-btn,
.home-services__grid > .home-services__card:nth-child(2):focus-visible .home-services__center-btn {
    border-color: rgba(16, 213, 76, 0.35);
    background: rgba(16, 213, 76, 0.06);
}

.home-services__grid > .home-services__card:nth-child(3):hover .home-services__center-btn,
.home-services__grid > .home-services__card:nth-child(3):focus-visible .home-services__center-btn {
    border-color: rgba(6, 168, 242, 0.35);
    background: rgba(6, 168, 242, 0.06);
}

.home-services__art {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 0;
    padding-bottom: 0;
    margin-top: 8px;
    min-height: 172px;
}

.home-services__art-img {
    width: 230px;
    height: 160px;
    object-fit: contain;
    display: block;
    user-select: none;
    pointer-events: none;
    filter: saturate(1.18) contrast(1.08);
    transform-origin: center center;
}

.home-services__grid > .home-services__card:nth-child(1) .home-services__art-img { transform: scale(1.12); }
.home-services__grid > .home-services__card:nth-child(2) .home-services__art-img { transform: scale(1.12); }
.home-services__grid > .home-services__card:nth-child(3) .home-services__art-img { transform: scale(1.10); }
.home-services__grid > .home-services__card:nth-child(4) .home-services__art-img { transform: scale(1.00); }

@media (min-width: 760px) {
    .home-services__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .home-services {
        padding: 44px 0 52px;
    }
}

@media (min-width: 1200px) {
    .home-services__grid {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }

    .home-services__card {
        min-height: 280px;
        padding: 24px 24px 18px;
    }

}

/* --- Home: Partners split showcase (banks + MFO) --- */
.home-partners {
    padding: 32px 0 40px;
    background: linear-gradient(90deg, #fbfcfd 0%, #f4f6f9 52%, #eef1f5 100%);
}

.home-partners__head {
    margin-bottom: 24px;
}

.home-partners__subtitle {
    margin: 0;
    color: #6c7a90;
    font-size: 15px;
    line-height: 1.45;
}

.home-partners__showcase {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 28px;
    background: transparent;
}

.home-partners__showcase--single {
    grid-template-columns: 1fr;
}

.home-partners__lane {
    position: relative;
    display: flex;
    flex-direction: column;
    gap: 16px;
    min-height: 0;
    padding: 0;
    box-sizing: border-box;
}

.home-partners__lane--bank::before,
.home-partners__lane--mfo::before {
    display: none;
}

.home-partners__lane--mfo {
    border-left: 1px solid rgba(210, 218, 228, 0.75);
    padding-left: 28px;
}

.home-partners__showcase--single .home-partners__lane--mfo {
    border-left: 0;
    padding-left: 0;
}

.home-partners__lane-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px 16px;
    flex-wrap: wrap;
}

.home-partners__lane-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.home-partners__badge {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 22px;
    padding: 0 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.home-partners__badge--bank {
    color: #0078c8;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(6, 168, 242, 0.16);
}

.home-partners__badge--mfo {
    color: #009632;
    background: rgba(255, 255, 255, 0.72);
    border: 1px solid rgba(0, 184, 56, 0.16);
}

.home-partners__lane-desc {
    margin: 0;
    color: #64748b;
    font-size: 14px;
    line-height: 1.35;
    font-weight: 500;
}

.home-partners__lane-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    flex-shrink: 0;
    min-height: 34px;
    padding: 0 13px;
    border-radius: 999px;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    text-decoration: none;
    background: rgba(255, 255, 255, 0.78);
    transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.home-partners__lane-link::after {
    content: '→';
    transition: transform 0.2s ease;
}

.home-partners__lane-link:hover {
    transform: translateY(-1px);
    text-decoration: none;
    box-shadow: 0 6px 16px rgba(15, 23, 42, 0.06);
}

.home-partners__lane-link:hover::after {
    transform: translateX(2px);
}

.home-partners__lane-link--bank {
    color: #0078c8;
    border: 1px solid rgba(6, 168, 242, 0.18);
}

.home-partners__lane-link--bank:hover {
    color: #006eb8;
    border-color: rgba(6, 168, 242, 0.28);
    background: #fff;
}

.home-partners__lane-link--mfo {
    color: #009632;
    border: 1px solid rgba(0, 184, 56, 0.18);
}

.home-partners__lane-link--mfo:hover {
    color: #008f2e;
    border-color: rgba(0, 184, 56, 0.28);
    background: #fff;
}

.home-partners__orbit {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 10px;
    flex: 1 1 auto;
}

.home-partners__card {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    min-height: 118px;
    padding: 16px 10px 13px;
    box-sizing: border-box;
    border: 1px solid rgba(226, 232, 240, 0.95);
    border-radius: 14px;
    background: #fff;
    box-shadow: 0 2px 10px rgba(15, 23, 42, 0.03);
    color: #1d1f22;
    text-decoration: none;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-partners__card:hover {
    transform: translateY(-2px);
    text-decoration: none;
}

.home-partners__lane--bank .home-partners__card:hover {
    border-color: rgba(6, 168, 242, 0.28);
    box-shadow: 0 10px 24px rgba(6, 168, 242, 0.1);
}

.home-partners__lane--mfo .home-partners__card:hover {
    border-color: rgba(0, 184, 56, 0.28);
    box-shadow: 0 10px 24px rgba(0, 168, 50, 0.08);
}

.home-partners__card-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 1 1 auto;
    min-height: 52px;
    padding: 4px 6px;
}

.home-partners__card-logo img {
    display: block;
    width: auto;
    max-width: 92%;
    height: auto;
    max-height: 44px;
    object-fit: contain;
}

.home-partners__card-title {
    display: block;
    margin-top: 10px;
    padding-top: 10px;
    border-top: 1px solid #eef2f6;
    overflow: hidden;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 500;
    color: #475569;
    transition: color 0.2s ease;
}

.home-partners__lane--bank .home-partners__card:hover .home-partners__card-title {
    color: #0078c8;
}

.home-partners__lane--mfo .home-partners__card:hover .home-partners__card-title {
    color: #009632;
}

@media (max-width: 1099px) {
    .home-partners__orbit {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (max-width: 900px) {
    .home-partners__showcase {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .home-partners__lane--mfo {
        border-left: 0;
        padding-left: 0;
        border-top: 1px solid rgba(210, 218, 228, 0.75);
        padding-top: 24px;
    }
}

@media (max-width: 820px) {
    .home-partners__orbit {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .home-partners {
        padding: 24px 0 28px;
    }

    .home-partners .wrapper {
        padding-left: 12px;
        padding-right: 12px;
    }

    .home-partners__head {
        margin-bottom: 18px;
    }

    .home-partners__lane-top {
        flex-direction: row;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
    }

    .home-partners__lane-meta {
        flex: 1 1 auto;
    }

    .home-partners__lane-link {
        align-self: auto;
        flex-shrink: 0;
    }

    .home-partners__orbit {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 10px;
        overflow: visible;
        margin: 0;
        padding: 0;
    }

    .home-partners__card {
        flex: none;
        width: 100%;
        min-width: 0;
        min-height: 112px;
        padding: 14px 10px 12px;
        overflow: hidden;
    }

    .home-partners__card-logo {
        min-height: 50px;
        width: 100%;
        padding: 2px 4px;
        overflow: hidden;
    }

    .home-partners__card-logo img {
        max-width: 100%;
        max-height: 38px;
        margin: 0 auto;
    }

    .home-partners__card-title {
        font-size: 12px;
    }

    .home-partners__dots {
        display: none !important;
    }
}

@media (min-width: 701px) {
    .home-partners__dots {
        display: none !important;
    }
}

.home-partners__dots[hidden] {
    display: none !important;
}

/* --- Best offers (home): tab bar + carousel shell --- */
.main .wrapper > .bank-line-title-left {
    padding-left: 0;
    padding-right: 0;
}

.main .wrapper > .bank-line-title-left .home-products-v2__title {
    margin: 0;
    padding: 0;
}

.main .wrapper > .bank-line-title.bank-line-nav {
    padding-left: 0;
    padding-right: 0;
    padding-top: 4px;
}

.main .wrapper > .bank-line-title.bank-line-nav .bank-line-title-left {
    background: #f7f9fd;
    border: 1px solid #e0e6f2;
    border-radius: 16px;
    padding: 8px;
    gap: 6px;
    box-shadow: none;
}

.main .bank-line-nav-el {
    font-size: 13px;
    line-height: 32px;
    height: 32px;
    padding: 0 12px;
    border-color: #e4ebf4;
    color: #7892b4;
}

.main .bank-line-nav-el:not(.bank-line-nav-el_accent):hover {
    color: #1d1f22;
    border-color: rgba(0, 149, 235, 0.35);
    background: #fff;
}

.main .bank-line-nav-el_accent,
.main .bank-line-nav-el_accent:hover {
    color: #fff;
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%);
    border-color: transparent;
    box-shadow: 0 6px 16px rgba(0, 128, 212, 0.18);
}

.main .bank-line-nav-el_accent:hover {
    filter: brightness(1.04);
}

.wrapper.carousel3 {
    padding-top: 0;
}

.wrapper.carousel3 .wrap-carusel {
    padding: 16px;
    background: #fff;
    border-radius: 20px;
    border: 1px solid #e4ebf4;
    box-shadow: 0 10px 28px rgba(17, 24, 39, 0.06);
}

.wrapper.carousel3 .all-zaym {
    margin: 14px 0 8px;
}

.wrapper.carousel3 .all-zaym a span {
    border-radius: 999px;
    padding: 11px 22px;
    font-size: 14px;
    font-weight: 500;
    background: #fff;
    border-color: #e4ebf4;
    transition: color 0.2s ease, border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.wrapper.carousel3 .all-zaym a:hover span {
    background: #f7f9fd;
    border-color: rgba(0, 149, 235, 0.35);
    color: #0080d4;
    box-shadow: 0 6px 16px rgba(0, 128, 212, 0.08);
}

.carousel3 .owl-item {
    padding: 8px;
    box-sizing: border-box;
    float: none !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    align-self: stretch !important;
    height: auto !important;
}

.carousel3 .owl-wrapper {
    display: flex !important;
    align-items: stretch !important;
}

.carousel3 .card-offer-mini {
    flex: 1 1 auto;
    display: flex !important;
    flex-direction: column !important;
    height: 100%;
    min-height: 100%;
}

.carousel3 .card-offer-mini-wr,
.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers {
    flex: 1 1 auto;
    height: 100%;
    min-height: 100%;
    grid-template-rows: auto auto auto 1fr auto auto !important;
    align-content: start !important;
}

.carousel3 .nazvbankcard-mini {
    min-height: 34px;
}

.carousel3 .card-offer-mini-title {
    min-height: 30px;
}

.carousel3 .offer-mini-online {
    margin-top: auto !important;
    align-self: stretch;
}

.carousel3 .offer-mini-more {
    margin-top: 6px !important;
}

/* Best offers cards — same language as /zaimy category cards */
.carousel3 .card-offer-mini-wr,
.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    gap: 6px 10px !important;
    align-items: start !important;
    flex-direction: unset !important;
    justify-content: unset !important;
    width: 100%;
    padding: 14px !important;
    border: 1px solid #e4ebf4 !important;
    border-radius: 20px !important;
    background: #fff !important;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06) !important;
    overflow: hidden;
    position: relative;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.carousel3 .card-offer-mini-wr::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #00d44a 0%, #00b838 100%);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.carousel3 .card-offer-mini-wr:hover {
    border-color: rgba(0, 200, 60, 0.22) !important;
    background: #fff !important;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1) !important;
    transform: translateY(-3px);
}

.carousel3 .card-offer-mini-wr:hover::before {
    opacity: 1;
}

.carousel3 .card-offer-mini-wr > * {
    min-width: 0;
}

.carousel3 .card-offer-mini-wr .clr {
    display: none;
}

.carousel3 .card-offer-mini-img {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 68px !important;
    min-width: 68px;
    height: 56px !important;
    min-height: 56px;
    margin: 0;
    padding: 4px 6px;
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid #eef2f7;
    background: #f7f9fc;
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color 0.22s ease, background 0.22s ease;
}

.carousel3 .card-offer-mini-wr:hover .card-offer-mini-img {
    border-color: rgba(0, 200, 60, 0.18);
    background: linear-gradient(180deg, #f8fcf9 0%, #f1f8f3 100%);
}

.carousel3 .card-offer-mini-img img {
    float: none;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: auto;
    margin: 0;
    object-fit: contain;
    transition: transform 0.22s ease;
}

.carousel3 .card-offer-mini-wr:hover .card-offer-mini-img img {
    transform: scale(1.04);
}

.carousel3 .nazvbankcard-mini {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    float: none;
    text-align: left;
    padding: 0;
    color: #1d1f22;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
}

.carousel3 .nazvbankcard-mini a {
    display: block;
    color: inherit;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
}

.carousel3 .nazvbankcard-mini a:hover {
    color: #00b838;
}

.carousel3 .card-offer-mini-title {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    float: none;
    margin: 0 0 2px;
    padding: 0;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 500;
    color: #6283b8;
}

.carousel3 .card-offer-mini-title a {
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    display: block;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    -webkit-line-clamp: unset;
    -webkit-box-orient: unset;
    overflow: visible;
}

.carousel3 .card-offer-mini-title a:hover {
    color: #4b74c7;
    opacity: 1;
}

.carousel3 .card-offer-mini-name,
.carousel3 .offer-mini-online,
.carousel3 .offer-mini-more {
    grid-column: 1 / -1;
}

.carousel3 .card-offer-mini-name {
    width: auto;
    float: none;
    padding: 0;
    margin: 0;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 8px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 500;
    color: #1d1f22;
}

.carousel3 .card-offer-mini-name span {
    order: -1;
    flex: 1 1 auto;
    min-width: 0;
    font-size: 12px;
    line-height: 1.25;
    font-weight: 400;
    color: #9aa8bc;
}

.carousel3 .card-offer-mini-name.is-free-rate {
    color: #00b838;
    font-weight: 600;
}

.carousel3 .card-offer-mini-name + .card-offer-mini-name:not(.sm-card) {
    padding-top: 6px;
    margin-top: 2px;
    border-top: 1px solid #eef2f7;
}

.carousel3 .card-offer-mini-name.sm-card {
    margin-top: 6px;
    padding: 9px 10px;
    border: 1px solid rgba(0, 200, 60, 0.12);
    border-radius: 12px;
    background: linear-gradient(135deg, #f8fcf9 0%, #eef8f1 100%);
    font-size: 15px;
}

.carousel3 .card-offer-mini-name.sm-card .offer-summa {
    font-size: 16px;
    font-weight: 600;
}

.carousel3 .offer-mini-online {
    width: auto;
    margin-top: 8px;
    padding: 0;
    float: none;
    display: block;
    border-top: 0;
}

.carousel3 .offer-mini-online a,
.carousel3 .offer-mini-online a.crd-card {
    width: 100%;
    height: 42px;
    min-height: 42px;
    margin: 0;
    padding: 0 16px;
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px !important;
    border: none !important;
    background: linear-gradient(135deg, #00d44a 0%, #00b838 100%) !important;
    color: #fff !important;
    font-size: 14px;
    line-height: 1.1;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 184, 56, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.carousel3 .offer-mini-online a.crd-card::after {
    content: '→';
    font-size: 13px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.carousel3 .offer-mini-online a:hover,
.carousel3 .offer-mini-online a.crd-card:hover {
    background: linear-gradient(135deg, #00e255 0%, #00c83c 100%) !important;
    border-color: transparent !important;
    color: #fff !important;
    opacity: 1;
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 184, 56, 0.3);
}

.carousel3 .offer-mini-online a.crd-card:hover::after {
    transform: translateX(2px);
}

.carousel3 .offer-mini-more {
    margin-top: 6px;
    text-align: center;
}

.carousel3 .offer-mini-more a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    line-height: 1.3;
    color: #6283b8;
    text-decoration: none;
}

.carousel3 .offer-mini-more a:hover {
    color: #4b74c7;
}

@media (max-width: 699px) {
    .carousel3 .card-offer-mini-wr,
    .carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers {
        grid-template-columns: 56px minmax(0, 1fr) !important;
        gap: 4px 8px !important;
        padding: 12px !important;
        border-radius: 16px !important;
    }

    .carousel3 .card-offer-mini-img {
        width: 56px !important;
        min-width: 56px;
        height: 48px !important;
        min-height: 48px;
    }

    .carousel3 .nazvbankcard-mini {
        font-size: 13px;
    }

    .carousel3 .card-offer-mini-title {
        font-size: 11px;
    }

    .carousel3 .card-offer-mini-name {
        font-size: 13px;
    }

    .carousel3 .card-offer-mini-name.sm-card .offer-summa {
        font-size: 14px;
    }

    .carousel3 .offer-mini-online a,
    .carousel3 .offer-mini-online a.crd-card {
        height: 40px;
        min-height: 40px;
        font-size: 13px;
    }

    .carousel3 .card-offer-mini-wr:hover {
        transform: translateY(-2px);
    }
}

/* =============================
   Auth modal on public reviews
   ============================= */

#auth-modal.mymodal {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 99999;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
}

#auth-modal.mymodal .overlay22 {
    position: absolute;
    inset: 0;
}

#auth-modal.mymodal .content {
    margin: 0;
    min-height: 0;
    height: auto;
    max-height: calc(100vh - 32px);
    max-height: calc(100dvh - 32px);
    overflow: auto;
    position: relative;
    z-index: 1;
}

/* Card shell (aligned with v2 cards: border, radius, shadow) */
#auth-modal.mymodal .auth-modal__card {
    width: 640px;
    max-width: 100%;
    padding: 18px;
    border-radius: 18px;
    border: 1px solid #e0e6f2;
    box-shadow: 0px 10px 28px rgba(17, 24, 39, 0.06);
}

#auth-modal.mymodal .auth-modal__close {
    border: 1px solid #e0e6f2;
    border-radius: 14px;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
    font-size: 22px;
    color: #1d1f22;
    background: #fff;
    transition: opacity .15s ease, border-color .15s ease;
}

/* Disable legacy rotate animation on hover. */
#auth-modal.mymodal .auth-modal__close:hover {
    transform: none;
    opacity: 0.85;
    border-color: #06a8f2;
}

#auth-modal.mymodal .auth-modal__head {
    padding-right: 52px;
}

#auth-modal.mymodal .auth-modal__title {
    margin: 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.25;
    font-weight: 600;
    color: #1d1f22;
}

#auth-modal.mymodal .auth-modal__tabs {
    margin-top: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

#auth-modal.mymodal .auth-modal__tab {
    appearance: none;
    border: 1px solid #e0e6f2;
    background: #f7f9fd;
    color: #1d1f22;
    border-radius: 14px;
    padding: 10px 12px;
    font-size: 14px;
    line-height: 1;
    cursor: pointer;
}

#auth-modal.mymodal .auth-modal__tab:hover {
    border-color: #06a8f2;
    color: #06a8f2;
    background: #fff;
}

#auth-modal.mymodal .auth-modal__tab.is-active {
    border-color: #06a8f2;
    background: #06a8f2;
    color: #fff;
}

#auth-modal.mymodal .auth-modal__body {
    margin-top: 14px;
}

#auth-modal.mymodal .auth-modal__fields {
    display: grid;
    gap: 12px;
}

#auth-modal.mymodal .auth-modal__label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: #1d1f22;
}

#auth-modal.mymodal .auth-modal__input {
    border-radius: 14px;
    border: 1px solid #e0e6f2;
    background: #fff;
}

#auth-modal.mymodal .auth-modal__actions {
    margin-top: 14px;
}

#auth-modal.mymodal .auth-modal__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 10px 12px;
    border-radius: 14px;
    border: 1px solid #06a8f2;
    background: #06a8f2;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    line-height: 1;
    box-sizing: border-box;
    cursor: pointer;
}

#auth-modal.mymodal .auth-modal__btn:hover {
    background: #0599dc;
    border-color: #0599dc;
}

#auth-modal.mymodal .auth-modal__error-title {
    font-weight: 700;
    margin-bottom: 6px;
}

#auth-modal.mymodal .auth-modal__error-list {
    margin: 0;
    padding-left: 18px;
}

/* --- Bank/MFO page: offers section placeholders + no stretched last card --- */
.bank-offers .offer-category-v2 .category-list > .category-list-item,
.mfo-offers .offer-category-v2 .category-list > .category-list-item {
    grid-column: span 4 !important;
}

/* Сброс «сиротских» правил категорий (4n+…) — на страницах банка/МФО своя сетка */
.bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(2):nth-child(4n + 1),
.bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 2),
.bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(3):nth-child(4n + 1),
.bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(2):nth-child(4n + 2),
.bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 3),
.bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 1),
.mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(2):nth-child(4n + 1),
.mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 2),
.mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(3):nth-child(4n + 1),
.mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(2):nth-child(4n + 2),
.mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 3),
.mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 1) {
    grid-column: span 4 !important;
}

.bank-offers .offer-placeholder-item,
.mfo-offers .offer-placeholder-item {
    background: linear-gradient(180deg, #f7f9fd 0%, #ffffff 80%);
    border-style: dashed;
    border-color: rgba(6, 168, 242, 0.35) !important;
    gap: 8px;
}

.bank-offers .offer-placeholder-item:hover,
.mfo-offers .offer-placeholder-item:hover {
    border-color: rgba(6, 168, 242, 0.65) !important;
    background: linear-gradient(180deg, #f2f9ff 0%, #ffffff 82%);
}

.bank-offers .offer-placeholder-item__img,
.mfo-offers .offer-placeholder-item__img {
    background: #f1f8ff;
    border-color: rgba(6, 168, 242, 0.28);
    min-height: 86px;
    padding: 8px 10px;
}

.bank-offers .offer-placeholder-item__icon-svg,
.mfo-offers .offer-placeholder-item__icon-svg {
    width: 56px;
    height: 56px;
    display: block;
}

.bank-offers .offer-placeholder-item__badge,
.mfo-offers .offer-placeholder-item__badge {
    margin: 0;
    padding: 4px 9px;
    border-radius: 999px;
    border: 1px solid #d7e7fb;
    background: #f7fbff;
    color: #7892b4;
    font-size: 11px;
    line-height: 1;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .02em;
}

.bank-offers .offer-placeholder-item__desc,
.mfo-offers .offer-placeholder-item__desc {
    font-size: 13px;
    line-height: 1.45;
    color: #8593ab;
    margin: 0 0 2px;
    text-align: left;
    width: 100%;
}

.bank-offers .offer-placeholder-item .card-offer-mini-title,
.mfo-offers .offer-placeholder-item .card-offer-mini-title {
    margin: 0;
    padding: 0;
}

.bank-offers .offer-placeholder-item .card-offer-mini-title a,
.mfo-offers .offer-placeholder-item .card-offer-mini-title a {
    margin: 0;
    min-height: auto;
}

.bank-offers .offer-placeholder-item .offer-mini-online,
.mfo-offers .offer-placeholder-item .offer-mini-online {
    margin-top: auto;
}

@media (max-width: 1199px) {
    .bank-offers .offer-category-v2 .category-list > .category-list-item,
    .mfo-offers .offer-category-v2 .category-list > .category-list-item,
    .bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(2):nth-child(4n + 1),
    .bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 2),
    .bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(3):nth-child(4n + 1),
    .bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(2):nth-child(4n + 2),
    .bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 3),
    .bank-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 1),
    .mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(2):nth-child(4n + 1),
    .mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 2),
    .mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(3):nth-child(4n + 1),
    .mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:nth-last-child(2):nth-child(4n + 2),
    .mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 3),
    .mfo-offers .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:last-child:nth-child(4n + 1) {
        grid-column: 1 / -1 !important;
    }
}



/* ====================================================================
   HOME-REVIEWS — Свежие отзывы
   ==================================================================== */
.home-reviews {
    clear: both;
    padding: 24px 0 32px;
    background: #fff;
}

.home-reviews__head {
    margin-bottom: 20px;
}

.home-reviews__title {
    margin: 0 0 6px;
}

.home-reviews__subtitle {
    margin: 0;
    color: #6c7a90;
    font-size: 15px;
    line-height: 1.45;
}

.home-reviews__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    align-items: stretch;
}

.home-reviews__card {
    display: flex;
    flex-direction: column;
    float: none;
    width: 100%;
    height: 100%;
    min-height: 252px;
    padding: 18px 18px 16px;
    box-sizing: border-box;
    border: 1px solid #e4ebf4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    color: inherit;
    text-decoration: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.home-reviews__card:hover {
    border-color: rgba(6, 168, 242, 0.35);
    background: #fbfdff;
    box-shadow: 0 10px 28px rgba(6, 168, 242, 0.1);
    text-decoration: none;
}

.home-reviews__card-head {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    min-height: 56px;
    margin-bottom: 14px;
}

.home-reviews__org {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
    flex: 1 1 auto;
}

.home-reviews__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    padding: 8px;
    box-sizing: border-box;
    border-radius: 14px;
    background: #fff;
    border: 1px solid #e8eef5;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.04);
}

.home-reviews__logo img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.home-reviews__logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    border-radius: 10px;
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%);
    color: #fff;
    font-size: 18px;
    font-weight: 700;
    line-height: 1;
}

.home-reviews__org-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
    min-width: 0;
}

.home-reviews__type {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    min-height: 20px;
    padding: 0 8px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-reviews__type--bank {
    color: #0080d4;
    background: rgba(6, 168, 242, 0.1);
    border: 1px solid rgba(6, 168, 242, 0.16);
}

.home-reviews__type--mfo {
    color: #00a832;
    background: rgba(0, 200, 60, 0.1);
    border: 1px solid rgba(0, 200, 60, 0.16);
}

.home-reviews__org-name {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: #1d1f22;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.35;
}

.home-reviews__rating {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
    flex-shrink: 0;
}

.home-reviews__rating-value {
    color: #1d1f22;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}

.home-reviews__stars {
    display: inline-flex;
    gap: 1px;
    line-height: 1;
}

.home-reviews__star {
    color: #e3e9f2;
    font-size: 13px;
}

.home-reviews__star.is-filled {
    color: #f5a623;
}

.home-reviews__quote {
    position: relative;
    flex: 1 1 auto;
    min-height: calc(1.55em * 4);
    margin: 0 0 14px;
    padding: 0 0 0 14px;
    border: 0;
    color: #556274;
    font-size: 14px;
    font-style: normal;
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-reviews__quote::before {
    content: "“";
    position: absolute;
    top: -4px;
    left: 0;
    color: rgba(6, 168, 242, 0.35);
    font-size: 28px;
    font-weight: 700;
    line-height: 1;
}

.home-reviews__card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-shrink: 0;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #eef2f7;
}

.home-reviews__author {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-width: 0;
}

.home-reviews__avatar {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 28px;
    height: 28px;
    border-radius: 999px;
    background: linear-gradient(135deg, #eef4ff 0%, #f7f9fd 100%);
    border: 1px solid #e4ebf4;
    color: #0080d4;
    font-size: 12px;
    font-weight: 700;
    line-height: 1;
}

.home-reviews__author-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: #313b40;
    font-size: 13px;
    font-weight: 600;
}

.home-reviews__date {
    flex-shrink: 0;
    color: #8593ab;
    font-size: 12px;
    line-height: 1.2;
}

.home-reviews__more {
    display: inline-flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 12px;
    color: #0080d4;
    font-size: 13px;
    font-weight: 600;
    line-height: 1;
}

.home-reviews__more::after {
    content: "→";
    margin-left: 6px;
    transition: transform 0.2s ease;
}

.home-reviews__card:hover .home-reviews__more::after {
    transform: translateX(3px);
}

@media (max-width: 1099px) {
    .home-reviews__grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 700px) {
    .home-reviews {
        padding: 18px 0 24px;
    }

    .home-reviews__head {
        margin-bottom: 12px;
    }

    .home-reviews__grid {
        display: flex;
        flex-wrap: nowrap;
        align-items: stretch;
        gap: 10px;
        overflow-x: auto;
        overflow-y: hidden;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        padding: 0 0 4px;
        grid-template-columns: none;
    }

    .home-reviews__grid::-webkit-scrollbar {
        display: none;
    }

    .home-reviews__card {
        flex: 0 0 calc(100% - 36px);
        max-width: none;
        scroll-snap-align: center;
        scroll-snap-stop: always;
        min-height: 260px;
    }

    .home-reviews__dots {
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
        min-height: 24px;
        margin-top: 10px;
        padding: 0;
    }

    .home-reviews__dot {
        display: block;
        width: 7px;
        height: 7px;
        padding: 0;
        border: 0;
        border-radius: 999px;
        background: #d5deea;
        cursor: pointer;
        transition: width 0.2s ease, background 0.2s ease;
    }

    .home-reviews__dot.is-active {
        width: 18px;
        background: #06a8f2;
    }
}

@media (min-width: 701px) {
    .home-reviews__dots {
        display: none !important;
    }
}

.home-reviews__dots[hidden] {
    display: none !important;
}

@media (max-width: 540px) {
    .home-reviews__title,
    .home-section-title,
    .home-cities__title,
    .home-partners__title,
    .home-products-v2__title,
    .home-products-v2 .home-products-v2__title,
    .main .wrapper > .bank-line-title-left .home-products-v2__title,
    .main-white > .wrapper > .home-products-v2__title,
    .home-exchange .home-products-v2__title {
        font-size: 22px;
    }
}

/* Единый стиль заголовков секций на главной */
.home-section-title,
.home-reviews__title,
.home-cities__title,
.home-products-v2__title,
.home-partners__title,
.home-products-v2 .home-products-v2__title,
.main .wrapper > .bank-line-title-left .home-products-v2__title,
.main-white > .wrapper > .home-products-v2__title,
.home-exchange .home-products-v2__title {
    font-size: 26px;
    font-weight: 600;
    line-height: 1.2;
    letter-spacing: 0;
    color: #1d1f22;
    margin: 0 0 4px;
    padding: 0;
    position: static;
    text-align: left;
}

.home-cities__title::after,
.home-products-v2 .home-products-v2__title::after,
.main .wrapper > .bank-line-title-left .home-products-v2__title::after {
    display: none !important;
    content: none !important;
}

.main-white > .wrapper > .home-products-v2__title {
    margin-bottom: 22px;
}

.main-white .list_news {
    padding-top: 16px;
}

.main-white .list_news .listing {
    padding-top: 18px;
}

/* Все карточки статей одинаковые — без увеличенной первой */
.main-white .list_news .listing .main-short:nth-child(1) {
    grid-column: auto;
}

.main-white .list_news .listing .main-short:nth-child(1) .main-short-wrap {
    display: flex;
    flex-direction: column;
    gap: 10px;
    align-items: stretch;
    grid-template-columns: none;
}

.main-white .list_news .listing .main-short:nth-child(1) .main-short-img {
    width: 100%;
    height: 170px;
    max-height: none;
}

.main-white .list_news .listing .main-short:nth-child(1) .main-short-news {
    display: block;
    flex-direction: column;
    justify-content: flex-start;
}

@media (min-width: 1100px) {
    .main-white .list_news .listing .main-short:nth-child(1) .main-short-img {
        height: 170px;
    }
}

@media (max-width: 1099px) and (min-width: 701px) {
    .main-white .list_news .listing .main-short:nth-child(1) .main-short-img {
        height: 180px;
    }
}

@media (max-width: 700px) {
    .main-white .list_news .listing .main-short:nth-child(1) .main-short-wrap {
        flex-direction: row;
        gap: 12px;
        align-items: flex-start;
    }

    .main-white .list_news .listing .main-short:nth-child(1) .main-short-img {
        width: 34%;
        height: 22vw;
        max-height: 110px;
    }
}

/* ====================================================================
   HOME-CITIES — Города (premium card)
   ==================================================================== */
.home-cities {
    clear: both;
    padding: 24px 0 32px;
    background: transparent;
}

.home-cities__card {
    overflow: hidden;
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.home-cities__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px 20px;
    flex-wrap: wrap;
    padding: 22px 24px 16px;
}

.home-cities__head-left {
    flex: 1 1 280px;
    min-width: 0;
}

.home-cities__title {
    text-align: left;
}

.home-cities__title::after {
    display: none;
}

.home-cities__subtitle {
    margin: 10px 0 0;
    text-align: left;
    color: #7a8ba3;
    font-size: 14px;
    line-height: 1.45;
}

.home-cities__search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 0 1 260px;
    width: 100%;
    max-width: 260px;
    height: 38px;
    padding: 0 8px 0 14px;
    border: 1px solid #dce3ef;
    border-radius: 999px;
    background: #fff;
    box-sizing: border-box;
    box-shadow: inset 0 1px 2px rgba(15, 23, 42, 0.03);
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-cities__search-wrap:hover {
    border-color: #c8d2e3;
}

.home-cities__search-wrap:focus-within {
    border-color: #06a8f2;
    box-shadow: 0 0 0 3px rgba(6, 168, 242, 0.12);
}

/* Сброс engine.css для input внутри обёртки */
.home-cities__search-wrap .home-cities__search {
    display: block !important;
    flex: 1 1 auto;
    width: 100% !important;
    max-width: none !important;
    height: auto !important;
    min-height: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
    font: inherit;
    font-size: 13px;
    line-height: 1.2 !important;
    color: #1d1f22;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    outline: none !important;
    box-sizing: border-box !important;
    -webkit-box-sizing: border-box !important;
    -moz-box-sizing: border-box !important;
    vertical-align: middle;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none !important;
    transition: none;
}

.home-cities__search-wrap .home-cities__search::placeholder {
    color: #9aa8bc;
    opacity: 1;
}

.home-cities__search-wrap .home-cities__search:focus {
    border: none !important;
    outline: none !important;
    background: transparent !important;
    box-shadow: none !important;
}

.home-cities__search-icon {
    position: static;
    transform: none;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 24px;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: #f3f6fb;
    color: #7a8ba3;
    pointer-events: none;
    transition: background 0.2s ease, color 0.2s ease;
}

.home-cities__search-icon svg {
    display: block;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
}

.home-cities__search-wrap:focus-within .home-cities__search-icon {
    background: rgba(6, 168, 242, 0.1);
    color: #06a8f2;
}

.home-cities__tabs-bar {
    display: flex;
    gap: 6px;
    margin: 0 22px;
    padding: 6px;
    border-radius: 14px;
    background: #f3f6fb;
    border: 1px solid #e8eef5;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.home-cities__tabs-bar::-webkit-scrollbar {
    display: none;
}

.home-cities__tab {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    font: inherit;
    font-size: 13px;
    line-height: 1.2;
    font-weight: 600;
    color: #7892b4;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 10px;
    cursor: pointer;
    white-space: nowrap;
    outline: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-cities__tab:hover:not(.home-cities__tab--active) {
    color: #1d1f22;
    background: rgba(255, 255, 255, 0.72);
}

.home-cities__tab--active,
.home-cities__tab--active:hover,
.home-cities__tab--active:focus-visible {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%);
    box-shadow: 0 6px 16px rgba(0, 128, 212, 0.22);
}

.home-cities__body {
    padding: 14px 22px 22px;
}

.home-cities__search-results {
    display: none;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    background: #f8fafc;
}

.home-cities__search-results.is-active {
    display: grid;
}

.home-cities__grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0;
    padding: 12px;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    background: #f8fafc;
}

.home-cities__chip {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 52px;
    width: 100%;
    max-width: 100%;
    padding: 10px 12px;
    box-sizing: border-box;
    background: #fff;
    border: 1px solid #e4ebf4;
    border-radius: 12px;
    color: #2d3a4c;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.3;
    text-align: center;
    text-decoration: none !important;
    white-space: normal;
    overflow-wrap: anywhere;
    float: none !important;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04);
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.home-cities__chip-label {
    display: block;
    line-height: 1.3;
}

.home-cities__chip:hover {
    background: #fff;
    color: #0080d4;
    border-color: rgba(6, 168, 242, 0.4);
    text-decoration: none !important;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08);
}

.home-cities__chip:hover .home-cities__chip-icon {
    stroke: #0080d4;
    color: #0080d4;
}

.home-cities__chip-icon {
    flex-shrink: 0;
    color: #06a8f2;
    stroke: #06a8f2;
    transition: color 0.18s ease, stroke 0.18s ease;
}

.home-cities__no-results {
    text-align: center;
    color: #7a8ba3;
    font-size: 14px;
    line-height: 1.45;
    padding: 24px 12px 8px;
}

@media (max-width: 999px) {
    .home-cities__grid,
    .home-cities__search-results.is-active {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
    }
}

@media (max-width: 700px) {
    .home-cities {
        padding: 18px 0 24px;
    }

    .home-cities__header {
        flex-direction: column;
        align-items: stretch;
        gap: 14px;
        padding: 18px 16px 14px;
    }

    .home-cities__head-left {
        flex: 1 1 auto;
    }

    .home-cities__title,
    .home-products-v2 .home-products-v2__title {
        font-size: 22px;
    }

    .home-cities__search-wrap {
        flex: 1 1 auto;
        width: 100%;
        max-width: none;
    }

    .home-cities__tabs-bar {
        margin: 0 16px;
    }

    .home-cities__body {
        padding: 12px 16px 18px;
    }

    .home-cities__tab {
        min-height: 36px;
        padding: 0 12px;
        font-size: 12px;
    }

    .home-cities__grid,
    .home-cities__search-results.is-active {
        grid-template-columns: 1fr;
        padding: 10px;
    }

    .home-cities__chip {
        min-height: 48px;
        font-size: 13px;
    }
}

/* ====================================================================
   Убираем зазоры (полосы body-фона) между блоками на главной
   ==================================================================== */
.home-services + .main-white {
    margin-top: 0 !important;
    margin-bottom: 0 !important;
}
.main-white + .main {
    margin-top: 0;
}
.main + .home-reviews {
    margin-top: 0;
}
.home-reviews + .home-cities {
    margin-top: 0;
}
.home-cities + .home-products-v2 {
    margin-top: 0;
}

/* ===== About-hero block (Финансовый сайт) ===== */
.about-hero {
    background: #ebf0fc;
    padding: 48px 0 52px;
    float: left;
    width: 100%;
    overflow: hidden;
}
/* SEO-заголовок — скрыт визуально, виден поисковикам */
.about-hero__seo-title {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0,0,0,0);
    white-space: nowrap;
    border: 0;
}
.about-hero__inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    display: flex;
    align-items: stretch;
    gap: 48px;
}
.about-hero__media {
    flex: 0 0 360px;
    max-width: 360px;
    position: relative;
    display: flex;
    align-items: center;
}
.about-hero__media img {
    width: 100%;
    height: auto;
    display: block;
}
.about-hero__content {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    max-width: 560px;
}
.about-hero__text {
    margin: 0 0 12px;
    font-size: 15px;
    line-height: 1.65;
    color: #3d4a5c;
}
.about-hero__text--lead {
    font-size: 16px;
    line-height: 1.7;
}
.about-hero__text:last-child {
    margin-bottom: 0;
}
.about-hero__text a {
    color: #06a8f2;
    text-decoration: none;
}
.about-hero__text a:hover {
    text-decoration: underline;
}
.about-hero__text--muted {
    color: #8593ab;
    font-size: 14px;
}
.about-hero__list {
    margin: 0 0 12px;
    padding-left: 18px;
    list-style: disc;
}
.about-hero__list li {
    font-size: 15px;
    line-height: 1.6;
    color: #3d4a5c;
    margin-bottom: 2px;
}
.about-hero__list li::marker {
    color: #06a8f2;
}
.about-hero__list li a {
    color: #06a8f2;
    text-decoration: none;
}
.about-hero__list li a:hover {
    text-decoration: underline;
}

/* about-hero responsive */
@media (max-width: 960px) {
    .about-hero__inner {
        gap: 32px;
        align-items: center;
    }
    .about-hero__media {
        flex: 0 0 300px;
        max-width: 300px;
    }
}
@media (max-width: 740px) {
    .about-hero {
        padding: 40px 0 44px;
    }
    .about-hero__inner {
        flex-direction: column;
        gap: 28px;
        align-items: center;
    }
    .about-hero__content {
        max-width: none;
    }
    .about-hero__media {
        flex: none;
        max-width: 260px;
        margin: 0 auto;
    }
}
@media (max-width: 480px) {
    .about-hero__media {
        max-width: 220px;
    }
    .about-hero__text {
        font-size: 14px;
    }
}

/* ═══════════════════════════════════════════════════════
   SEO-блоки в нижней части страниц категорий
   ═══════════════════════════════════════════════════════ */

/* ─── Обёртка всех SEO-блоков ─── */
.seo-bottom-wrapper {
    margin-top: 28px;
    padding: 24px 20px 20px;
    background: #ffffff;
    border: 1px solid #e0e6f2;
    border-radius: 20px;
    font-family: 'Open Sans', sans-serif;
    color: #313b40;
}

/* ─── Общие переменные ─── */
.seo-howto,
.seo-advantages,
.seo-expert,
.seo-faq {
    margin-top: 24px;
    font-family: 'Open Sans', sans-serif;
    color: #313b40;
}

.seo-bottom-wrapper > :first-child {
    margin-top: 0;
}

/* ─── БЛОК: Как получить (HowTo) ─── */
.seo-howto__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 18px;
}

.seo-howto__steps {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
    counter-reset: howto;
}

.seo-howto__step {
    position: relative;
    background: #ffffff;
    border: 1px solid #e0e6f2;
    border-radius: 18px;
    padding: 20px 16px 18px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    transition: box-shadow 0.2s, border-color 0.2s;
}

.seo-howto__step:hover {
    border-color: rgba(6, 168, 242, 0.35);
    box-shadow: 0 8px 24px rgba(6, 168, 242, 0.08);
}

.seo-howto__step-num {
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: linear-gradient(135deg, #06a8f2 0%, #0690d1 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    flex-shrink: 0;
}

.seo-howto__step-num span {
    color: #ffffff;
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
}

.seo-howto__step-body {
    flex: 1;
}

.seo-howto__step-icon {
    color: #06a8f2;
    margin-bottom: 10px;
    line-height: 0;
}

.seo-howto__step-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    margin: 0 0 8px;
}

.seo-howto__step-desc {
    font-size: 13px;
    line-height: 19px;
    color: #5a6675;
    margin: 0;
}

/* ─── БЛОК: Преимущества ─── */
.seo-advantages__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 18px;
}

.seo-advantages__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.seo-advantages__card {
    background: linear-gradient(160deg, #f7f9fd 60%, #eef6ff 100%);
    border: 1px solid #e0e6f2;
    border-radius: 18px;
    padding: 20px 16px 18px;
    transition: box-shadow 0.2s, border-color 0.2s, transform 0.2s;
}

.seo-advantages__card:hover {
    border-color: rgba(6, 168, 242, 0.35);
    box-shadow: 0 8px 24px rgba(6, 168, 242, 0.08);
    transform: translateY(-2px);
}

.seo-advantages__icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    background: #ffffff;
    border: 1px solid #e0e6f2;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 14px;
    color: #06a8f2;
    line-height: 0;
}

.seo-advantages__card-title {
    font-size: 15px;
    font-weight: 600;
    line-height: 20px;
    margin: 0 0 8px;
}

.seo-advantages__card-desc {
    font-size: 13px;
    line-height: 19px;
    color: #5a6675;
    margin: 0;
}

/* ─── БЛОК: Экспертный совет ─── */
.seo-expert__inner {
    display: flex;
    gap: 18px;
    align-items: flex-start;
    background: linear-gradient(135deg, #f0f8ff 0%, #f7f9fd 100%);
    border: 1px solid #d0e4f5;
    border-radius: 18px;
    padding: 22px 20px;
    box-shadow: 0 4px 16px rgba(6, 168, 242, 0.06);
}

.seo-expert__icon {
    flex-shrink: 0;
    line-height: 0;
}

.seo-expert__body {
    flex: 1;
    min-width: 0;
}

.seo-expert__title {
    font-size: 17px;
    font-weight: 700;
    line-height: 24px;
    margin: 0 0 10px;
    color: #06a8f2;
}

.seo-expert__tip {
    font-size: 14px;
    line-height: 22px;
    margin: 0 0 14px;
}

.seo-expert__warn {
    font-size: 13px;
    line-height: 20px;
    background: #fff7ed;
    border: 1px solid #fde1c0;
    border-radius: 12px;
    padding: 12px 14px;
    color: #7c5a2e;
}

.seo-expert__warn-badge {
    display: inline-block;
    background: #f59e0b;
    color: #ffffff;
    font-size: 11px;
    font-weight: 700;
    line-height: 1;
    padding: 3px 8px;
    border-radius: 6px;
    margin-right: 8px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    vertical-align: middle;
}

/* ─── БЛОК: FAQ (аккордеон) ─── */
.seo-faq__title {
    font-size: 20px;
    font-weight: 700;
    line-height: 28px;
    margin: 0 0 16px;
}

.seo-faq__list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.seo-faq__item {
    border: 1px solid #e0e6f2;
    border-radius: 14px;
    background: #ffffff;
    overflow: hidden;
    transition: box-shadow 0.2s, border-color 0.2s;
    margin-bottom: 10px;
}

.seo-faq__item:last-child {
    margin-bottom: 0;
}

.seo-faq__item:hover {
    border-color: rgba(6, 168, 242, 0.3);
}

.seo-faq__item[open] {
    border-color: rgba(6, 168, 242, 0.35);
    box-shadow: 0 6px 20px rgba(6, 168, 242, 0.07);
}

.seo-faq__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 16px 18px;
    cursor: pointer;
    font-weight: 600;
    font-size: 15px;
    line-height: 22px;
    list-style: none;
    user-select: none;
    -webkit-user-select: none;
    transition: background 0.15s;
}

.seo-faq__question::-webkit-details-marker {
    display: none;
}

.seo-faq__question::marker {
    content: "";
}

.seo-faq__question:hover {
    background: #f7f9fd;
}

.seo-faq__q-text {
    flex: 1;
    min-width: 0;
}

.seo-faq__chevron {
    flex-shrink: 0;
    color: #06a8f2;
    line-height: 0;
    transition: transform 0.25s ease;
}

.seo-faq__item[open] .seo-faq__chevron {
    transform: rotate(180deg);
}

.seo-faq__answer {
    padding: 0 18px 18px;
    font-size: 14px;
    line-height: 22px;
    color: #5a6675;
    border-top: 1px solid #f0f2f7;
    padding-top: 14px;
    margin-top: -2px;
}

/* ─── Адаптив: планшет ─── */
@media only screen and (max-width: 1023px) {
    .seo-howto__steps {
        grid-template-columns: repeat(2, 1fr);
    }
    .seo-advantages__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ─── Адаптив: мобилки ─── */
@media only screen and (max-width: 599px) {
    .seo-bottom-wrapper {
        margin-top: 20px;
        padding: 16px 14px 14px;
        border-radius: 16px;
    }

    .seo-howto,
    .seo-advantages,
    .seo-expert,
    .seo-faq {
        margin-top: 18px;
    }

    .seo-howto__title,
    .seo-advantages__title,
    .seo-faq__title {
        font-size: 18px;
        line-height: 24px;
        margin-bottom: 14px;
    }

    .seo-howto__steps {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .seo-howto__step {
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
        padding: 16px 14px;
        border-radius: 14px;
    }

    .seo-howto__step-num {
        margin-bottom: 0;
        width: 28px;
        height: 28px;
        border-radius: 8px;
        flex-shrink: 0;
    }

    .seo-howto__step-num span {
        font-size: 13px;
    }

    .seo-howto__step-icon {
        display: none;
    }

    .seo-advantages__grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .seo-advantages__card {
        padding: 16px 14px;
        border-radius: 14px;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 14px;
    }

    .seo-advantages__icon {
        margin-bottom: 0;
        width: 42px;
        height: 42px;
        border-radius: 12px;
        flex-shrink: 0;
    }

    .seo-advantages__icon svg {
        width: 22px;
        height: 22px;
    }

    .seo-advantages__card-title {
        margin-bottom: 4px;
    }

    .seo-expert__inner {
        flex-direction: column;
        gap: 12px;
        padding: 18px 16px;
        border-radius: 14px;
    }

    .seo-faq__question {
        padding: 14px 14px;
        font-size: 14px;
        line-height: 20px;
    }

    .seo-faq__answer {
        padding: 0 14px 16px;
        font-size: 13px;
        line-height: 20px;
        padding-top: 12px;
    }

    .seo-faq__item {
        border-radius: 12px;
        margin-bottom: 8px;
    }
}

/* ─── Адаптив: маленькие экраны (до 400px) ─── */
@media only screen and (max-width: 399px) {
    .seo-howto__step-title,
    .seo-advantages__card-title {
        font-size: 14px;
    }

    .seo-howto__step-desc,
    .seo-advantages__card-desc {
        font-size: 12px;
        line-height: 18px;
    }

    .seo-expert__tip {
        font-size: 13px;
        line-height: 20px;
    }
}

/* ============================================================
   Sidebar Banners
   ============================================================ */

.sb-card {
    display: block;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 28px 24px 26px;
    text-decoration: none;
    color: #fff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 8px 28px rgba(18, 38, 90, 0.1);
}

.sb-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 14px 36px rgba(18, 38, 90, 0.16);
    text-decoration: none;
    color: #fff;
}

.sb-card--green {
    background: linear-gradient(135deg, #0bbe44 0%, #10d54c 40%, #0dd890 100%);
}

.sb-card--blue {
    background: linear-gradient(135deg, #0590d0 0%, #06a8f2 40%, #38bdf8 100%);
}

/* Декоративная SVG-иллюстрация справа */
.sb-card__decor {
    position: absolute;
    right: -5px;
    top: 40%;
    transform: translateY(-50%);
    width: 170px;
    height: 170px;
    opacity: 1;
    pointer-events: none;
}

.sb-card__decor svg {
    width: 100%;
    height: 100%;
}

.sb-card__badge {
    display: inline-block;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #fff;
    margin-bottom: 12px;
}

.sb-card__title {
    display: block;
    position: relative;
    z-index: 1;
    font-family: 'Ubuntu', Arial, sans-serif;
    font-size: 24px;
    line-height: 1.2;
    color: #fff;
    margin-bottom: 8px;
    max-width: 70%;
}

.sb-card__desc {
    display: block;
    position: relative;
    z-index: 1;
    font-size: 14px;
    line-height: 1.4;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 16px;
    max-width: 75%;
}

.sb-card__btn {
    display: inline-block;
    position: relative;
    z-index: 1;
    background: #fff;
    color: #10d54c;
    font-size: 14px;
    padding: 10px 22px;
    border-radius: 12px;
    transition: transform 0.15s;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.1);
}

.sb-card:hover .sb-card__btn {
    transform: translateX(4px);
}

.sb-card__btn--blue {
    color: #06a8f2;
}

/* Decorative background circles */
.sb-card::before,
.sb-card::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.07);
    pointer-events: none;
}

.sb-card::before {
    width: 200px;
    height: 200px;
    top: -60px;
    right: -50px;
}

.sb-card::after {
    width: 120px;
    height: 120px;
    bottom: -30px;
    right: 40px;
}

@media (max-width: 768px) {
    .sb-card {
        padding: 22px 20px 22px;
    }
    .sb-card__title {
        font-size: 20px;
    }
    .sb-card__decor {
        width: 110px;
        height: 110px;
    }
}

/* Мобильные баннеры перед «Лучшие предложения» */
.sb-cards-mobile {
    display: none;
}
@media (max-width: 999px) {
    .sb-cards-mobile {
        display: block;
        padding: 24px 0 0;
        margin-top: 20px;
    }
    .sb-cards-mobile .sb-card {
        max-width: 100%;
    }
}

/* Липкий сайдбар на десктопе — НЕ делаем весь content-right sticky,
   т.к. внутри него есть разделы + реклама, липкость только у рекламы (inline) */

/* Двухколоночный layout с сайдбаром для страниц МФО/банков/офферов */
.page-with-sidebar {
    display: flex;
    gap: 30px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}
.page-with-sidebar > .mfo-show-v2__main,
.page-with-sidebar > .bank-show-v2__main,
.page-with-sidebar > .offer-show-v2__main {
    flex: 1;
    min-width: 0;
    max-width: 100%;
}
.page-sidebar {
    display: none;
}
@media (min-width: 1000px) {
    .page-sidebar {
        display: block;
        flex-shrink: 0;
        width: 361px;
    }
    .page-sidebar__inner {
        position: sticky;
        top: 20px;
    }
}

.sidebar-popular {
    background: #fff;
    border: 1px solid #e0e6f2;
    border-radius: 16px;
    padding: 18px 16px 14px;
    box-shadow: 0 10px 26px rgba(18, 38, 90, 0.06);
}

.sidebar-popular__title {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 17px;
    font-weight: 700;
    color: #313b40;
    padding-bottom: 12px;
    margin-bottom: 8px;
    border-bottom: 1px solid #e0e6f2;
}

.sidebar-popular__link {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px;
    border-radius: 10px;
    color: #313b40;
    font-size: 14px;
    text-decoration: none;
    transition: background 0.2s, color 0.2s;
}

.sidebar-popular__link:hover {
    background: #f7f9fd;
    color: #06a8f2;
    text-decoration: none;
}

.sidebar-popular__dot {
    flex-shrink: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #10d54c;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.sidebar-popular__link:hover .sidebar-popular__dot {
    opacity: 1;
    background: #06a8f2;
}

.sidebar-popular__text {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.3;
}

.sidebar-popular__arrow {
    flex-shrink: 0;
    color: #ccc;
    transition: color 0.2s, transform 0.2s;
}

.sidebar-popular__link:hover .sidebar-popular__arrow {
    color: #06a8f2;
    transform: translateX(2px);
}

/* ====================================================================
   COMPACT OFFER CARDS — style close to reference cards from design brief
   ==================================================================== */

.card-offer-mini {
    padding: 0;
    margin-right: 0;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item,
.card-offer-mini-wr {
    position: relative;
    display: grid;
    grid-template-columns: 92px minmax(0, 1fr);
    gap: 6px 14px;
    align-items: start;
    background: #ffffff;
    border: 1px solid #e4ebf4;
    border-radius: 20px;
    box-shadow: 0 10px 26px rgba(15, 23, 42, 0.06);
    overflow: hidden;
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background-color 0.22s ease;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item {
    padding: 16px !important;
    gap: 6px 14px;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, #00d44a 0%, #00b838 100%);
    opacity: 0;
    transition: opacity 0.22s ease;
}

.card-offer-mini-wr {
    padding: 16px;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item > *,
.card-offer-mini-wr > * {
    min-width: 0;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:hover,
.card-offer-mini-wr:hover {
    border-color: rgba(0, 200, 60, 0.22);
    background: #ffffff;
    box-shadow: 0 16px 36px rgba(15, 23, 42, 0.1);
    transform: translateY(-3px);
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:hover::before {
    opacity: 1;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:hover .card-offer-mini-img {
    border-color: rgba(0, 200, 60, 0.18);
    background: linear-gradient(180deg, #f8fcf9 0%, #f1f8f3 100%);
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-img,
.card-offer-mini-wr .card-offer-mini-img {
    grid-column: 1;
    grid-row: 1 / span 2;
    width: 92px;
    min-width: 92px;
    height: 72px;
    min-height: 72px;
    margin: 0;
    padding: 4px 6px;
    float: none;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    border: 1px solid #eef2f7;
    background: #f7f9fc;
    box-sizing: border-box;
    overflow: hidden;
    transition: border-color 0.22s ease, background 0.22s ease;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-img img,
.card-offer-mini-wr .card-offer-mini-img img {
    float: none;
    width: 100%;
    max-width: 100%;
    max-height: 100%;
    height: 100%;
    margin: 0 auto;
    display: block;
    object-fit: contain;
    transition: transform 0.22s ease;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:hover .card-offer-mini-img img {
    transform: scale(1.04);
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .nazvbankcard-mini,
.card-offer-mini-wr .nazvbankcard-mini {
    grid-column: 2;
    grid-row: 1;
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
    min-width: 0;
    text-align: left;
    color: #1d1f22;
    font-size: 15px;
    line-height: 1.2;
    font-weight: 600;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .nazvbankcard-mini a,
.card-offer-mini-wr .nazvbankcard-mini a {
    display: block;
    color: inherit;
    text-decoration: none;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .nazvbankcard-mini a:hover,
.card-offer-mini-wr .nazvbankcard-mini a:hover {
    color: #00b838;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-title,
.card-offer-mini-wr .card-offer-mini-title {
    grid-column: 2;
    grid-row: 2;
    width: auto;
    height: auto;
    min-height: 0;
    min-width: 0;
    margin: 0 0 4px;
    padding: 0;
    float: none;
    font-size: 14px;
    line-height: 1.25;
    font-weight: 500;
    color: #6283b8;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-title a,
.card-offer-mini-wr .card-offer-mini-title a {
    display: block;
    float: none;
    width: auto;
    height: auto;
    margin: 0;
    font-size: inherit;
    line-height: inherit;
    font-weight: inherit;
    color: inherit;
    text-decoration: none;
    overflow: visible;
    white-space: normal;
    overflow-wrap: anywhere;
    word-break: normal;
    line-clamp: none;
    -webkit-box-orient: initial;
    -webkit-line-clamp: initial;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-title a:hover,
.card-offer-mini-wr .card-offer-mini-title a:hover {
    color: #4b74c7;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name,
.card-offer-mini-wr .card-offer-mini-name,
.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-placeholder-item__badge,
.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-placeholder-item__desc,
.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online,
.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .clr,
.card-offer-mini-wr .offer-mini-online,
.card-offer-mini-wr .offer-mini-more,
.card-offer-mini-wr .clr {
    grid-column: 1 / -1;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .clr,
.card-offer-mini-wr .clr {
    display: none;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name,
.card-offer-mini-wr .card-offer-mini-name {
    width: auto;
    margin: 0;
    padding: 0;
    float: none;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 10px;
    font-size: 15px;
    line-height: 1.3;
    font-weight: 500;
    color: #1d1f22;
    white-space: normal;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name span,
.card-offer-mini-wr .card-offer-mini-name span {
    order: -1;
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0 8px 0 0;
    color: #9aa8bc;
    font-size: 13px;
    line-height: 1.25;
    font-weight: 400;
    text-transform: none;
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name strong,
.card-offer-mini-wr .card-offer-mini-name strong,
.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-summa,
.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-srok,
.card-offer-mini-wr .offer-summa,
.card-offer-mini-wr .offer-srok {
    font-weight: 600;
    color: #1d1f22;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name.is-free-rate,
.card-offer-mini-wr .card-offer-mini-name.is-free-rate {
    color: #00b838;
    font-weight: 600;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name + .card-offer-mini-name:not(.sm-card),
.card-offer-mini-wr .card-offer-mini-name + .card-offer-mini-name:not(.sm-card) {
    padding-top: 7px;
    margin-top: 2px;
    border-top: 1px solid #eef2f7;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name.sm-card,
.card-offer-mini-wr .card-offer-mini-name.sm-card {
    margin-top: 8px;
    padding: 10px 12px;
    border: 1px solid rgba(0, 200, 60, 0.12);
    border-radius: 14px;
    background: linear-gradient(135deg, #f8fcf9 0%, #eef8f1 100%);
    font-size: 16px;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name.sm-card .offer-summa,
.card-offer-mini-wr .card-offer-mini-name.sm-card .offer-summa {
    font-size: 17px;
    letter-spacing: -0.01em;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-placeholder-item__badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    margin: 4px 0 0;
    padding: 4px 10px;
    border-radius: 999px;
    border: 1px solid #e4ebf4;
    background: #f7f9fc;
    color: #7892b4;
    font-size: 11px;
    line-height: 1.1;
    font-weight: 500;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-placeholder-item__desc {
    margin: 0;
    font-size: 13px;
    line-height: 1.4;
    color: #7f90aa;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online,
.card-offer-mini-wr .offer-mini-online {
    width: auto;
    margin-top: 10px;
    padding: 0;
    float: none;
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
    align-items: center;
    justify-content: stretch;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online::before,
.card-offer-mini-wr .offer-mini-online::before {
    display: none;
}

.offer-category-v2[class*="offer-category-v2--type-"] .offer-placeholder-item .offer-mini-online,
.offer-category-v2[class*="offer-category-v2--type-"] .offer-placeholder-item .offer-mini-online::before {
    grid-template-columns: 1fr;
}

.offer-category-v2[class*="offer-category-v2--type-"] .offer-placeholder-item .offer-mini-online::before {
    display: none;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online a,
.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online a.crd-card,
.card-offer-mini-wr .offer-mini-online a,
.card-offer-mini-wr .offer-mini-online a.crd-card {
    grid-column: 1;
    width: 100%;
    height: 44px;
    min-height: 44px;
    margin: 0;
    padding: 0 18px;
    float: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    border-radius: 999px;
    border: none !important;
    background: linear-gradient(135deg, #00d44a 0%, #00b838 100%) !important;
    color: #ffffff !important;
    font-size: 15px;
    line-height: 1.1;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 8px 20px rgba(0, 184, 56, 0.22);
    box-sizing: border-box;
    transition: transform 0.2s ease, box-shadow 0.2s ease, filter 0.2s ease;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online a.crd-card::after,
.card-offer-mini-wr .offer-mini-online a.crd-card::after {
    content: '→';
    font-size: 14px;
    line-height: 1;
    transition: transform 0.2s ease;
}

.offer-category-v2[class*="offer-category-v2--type-"] .offer-placeholder-item .offer-mini-online a,
.offer-category-v2[class*="offer-category-v2--type-"] .offer-placeholder-item .offer-mini-online a.crd-card {
    grid-column: 1;
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online a:hover,
.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online a.crd-card:hover,
.card-offer-mini-wr .offer-mini-online a:hover,
.card-offer-mini-wr .offer-mini-online a.crd-card:hover {
    background: linear-gradient(135deg, #00e255 0%, #00c83c 100%) !important;
    border-color: transparent !important;
    color: #ffffff !important;
    filter: brightness(1.03);
    transform: translateY(-1px);
    box-shadow: 0 10px 24px rgba(0, 184, 56, 0.3);
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online a.crd-card:hover::after,
.card-offer-mini-wr .offer-mini-online a.crd-card:hover::after {
    transform: translateX(2px);
}

.offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online a.crd-card:active,
.card-offer-mini-wr .offer-mini-online a.crd-card:active {
    transform: translateY(0);
    box-shadow: 0 6px 16px rgba(0, 184, 56, 0.2);
}

.card-offer-mini-wr .offer-mini-more {
    margin-top: 8px;
}

.card-offer-mini-wr .offer-mini-more a {
    display: inline-flex;
    align-items: center;
    color: #6283b8;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none;
}

.card-offer-mini-wr .offer-mini-more a:hover {
    color: #4b74c7;
}

.offer-category-v2--tools .category-list-item .card-offer-mini-name,
.offer-category-v2--tools .category-list-item .card-offer-mini-name span {
    white-space: normal;
    overflow: visible;
    text-overflow: clip;
}

@media (max-width: 699px) {
    .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item,
    .card-offer-mini-wr {
        grid-template-columns: 52px minmax(0, 1fr);
        gap: 4px 8px;
        border-radius: 16px;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item,
    .card-offer-mini-wr {
        padding: 12px !important;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-img,
    .card-offer-mini-wr .card-offer-mini-img {
        grid-row: 1;
        width: 52px;
        min-width: 52px;
        height: 44px;
        min-height: 44px;
        padding: 3px 4px;
        border-radius: 14px;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-img img,
    .card-offer-mini-wr .card-offer-mini-img img {
        max-height: 100%;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .nazvbankcard-mini,
    .card-offer-mini-wr .nazvbankcard-mini {
        font-size: 12px;
        line-height: 1.12;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-title,
    .card-offer-mini-wr .card-offer-mini-title,
    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-title a,
    .card-offer-mini-wr .card-offer-mini-title a {
        font-size: 10.5px;
        line-height: 1.18;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-title,
    .card-offer-mini-wr .card-offer-mini-title {
        grid-column: 1 / -1;
        grid-row: 2;
        margin: 2px 0;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name,
    .card-offer-mini-wr .card-offer-mini-name {
        font-size: 11px;
        line-height: 1.15;
        gap: 4px;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name span,
    .card-offer-mini-wr .card-offer-mini-name span {
        font-size: 10px;
        padding-right: 4px;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name.sm-card,
    .card-offer-mini-wr .card-offer-mini-name.sm-card {
        margin-top: 6px;
        margin-bottom: 6px;
        padding: 8px 10px;
        border-radius: 12px;
        font-size: 13px;
        flex-direction: column;
        align-items: flex-start;
        justify-content: flex-start;
        gap: 3px;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name.sm-card .offer-summa,
    .card-offer-mini-wr .card-offer-mini-name.sm-card .offer-summa {
        font-size: 14px;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name.sm-card span,
    .card-offer-mini-wr .card-offer-mini-name.sm-card span {
        order: -1;
        flex: 0 0 auto;
        width: 100%;
        padding-right: 0;
        display: none;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name.sm-card strong,
    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .card-offer-mini-name.sm-card .offer-summa,
    .card-offer-mini-wr .card-offer-mini-name.sm-card strong,
    .card-offer-mini-wr .card-offer-mini-name.sm-card .offer-summa {
        display: block;
        width: 100%;
        text-align: left;
        line-height: 1.08;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online,
    .card-offer-mini-wr .offer-mini-online {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online::before,
    .card-offer-mini-wr .offer-mini-online::before {
        display: none;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online a,
    .offer-category-v2[class*="offer-category-v2--type-"] .category-list-item .offer-mini-online a.crd-card,
    .card-offer-mini-wr .offer-mini-online a,
    .card-offer-mini-wr .offer-mini-online a.crd-card {
        height: 40px;
        min-height: 40px;
        padding: 0 16px;
        font-size: 14px;
        border-radius: 999px;
    }

    .offer-category-v2[class*="offer-category-v2--type-"] .category-list > .category-list-item:hover,
    .card-offer-mini-wr:hover {
        transform: translateY(-2px);
    }
}

.bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item,
.mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
    height: 100%;
}

.bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-img,
.mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-img {
    width: 100%;
    min-width: 0;
    height: 88px;
    min-height: 88px;
    padding: 12px 16px;
    border-radius: 18px;
}

.bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-img img,
.mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-img img {
    width: auto;
    height: auto;
    max-width: 100%;
    max-height: 100%;
}

.bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .nazvbankcard-mini,
.mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .nazvbankcard-mini {
    width: 100%;
    height: auto;
    min-height: 0;
}

.bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-title,
.mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-title {
    width: 100%;
    margin: -2px 0 2px;
}

.bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-name,
.mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-name {
    align-items: flex-start;
}

.bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-name.sm-card,
.mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-name.sm-card {
    font-size: 15px;
}

.bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .offer-mini-online,
.mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .offer-mini-online {
    margin-top: auto;
    padding-top: 8px;
}

@media (max-width: 699px) {
    .bank-offers .offer-category-v2.offer-category-v2--tools,
    .mfo-offers .offer-category-v2.offer-category-v2--tools {
        overflow: visible;
    }

    .bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item,
    .mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item {
        gap: 8px;
    }

    .bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-img,
    .mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-img {
        height: 72px;
        min-height: 72px;
        padding: 10px 12px;
        border-radius: 16px;
    }

    .bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .nazvbankcard-mini,
    .mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .nazvbankcard-mini {
        min-height: 0;
    }

    .bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-title,
    .mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .card-offer-mini-title {
        margin: 0;
    }

    .bank-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .offer-mini-online,
    .mfo-offers .offer-category-v2.offer-category-v2--tools .category-list > .category-list-item .offer-mini-online {
        padding-top: 4px;
    }
}

/* Carousel3: override global compact-card rules (they load later and break the header grid) */
.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers {
    display: grid !important;
    grid-template-columns: 68px minmax(0, 1fr) !important;
    grid-template-rows: auto auto auto 1fr auto auto !important;
    gap: 6px 10px !important;
    align-items: start !important;
    align-content: start !important;
    height: 100% !important;
    min-height: 100% !important;
}

.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers .card-offer-mini-img {
    grid-column: 1 !important;
    grid-row: 1 / span 2 !important;
    width: 68px !important;
    min-width: 68px !important;
    max-width: 68px !important;
    height: 56px !important;
    min-height: 56px !important;
    max-height: 56px !important;
    margin: 0 !important;
    float: none !important;
    justify-self: start;
}

.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers .card-offer-mini-img img {
    float: none !important;
    width: auto !important;
    max-width: 100% !important;
    height: auto !important;
    max-height: 100% !important;
}

.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers .nazvbankcard-mini {
    grid-column: 2 !important;
    grid-row: 1 !important;
    width: auto !important;
    max-width: 100% !important;
    float: none !important;
    min-height: 34px;
}

.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers .card-offer-mini-title {
    grid-column: 2 !important;
    grid-row: 2 !important;
    width: auto !important;
    max-width: 100% !important;
    float: none !important;
    min-height: 30px;
}

.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers .card-offer-mini-name,
.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers .offer-mini-online,
.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers .offer-mini-more {
    grid-column: 1 / -1 !important;
}

.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers .offer-mini-online {
    margin-top: auto !important;
}

.carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers .offer-mini-more {
    margin-top: 6px !important;
}

@media (max-width: 699px) {
    .carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers {
        grid-template-columns: 56px minmax(0, 1fr) !important;
        gap: 4px 8px !important;
    }

    .carousel3 .card-offer-mini-wr.card-offer-mini-wr--best-offers .card-offer-mini-img {
        width: 56px !important;
        min-width: 56px !important;
        max-width: 56px !important;
        height: 48px !important;
        min-height: 48px !important;
        max-height: 48px !important;
    }
}

/* --- Footer top shell (brand + nav columns only) --- */
#footer .footer-top--shell {
    position: relative;
    overflow: hidden;
    margin-bottom: 20px;
    padding: 28px 30px 26px;
    border: 1px solid #e4ebf4;
    border-radius: 24px;
    background:
        radial-gradient(circle at 0% 0%, rgba(0, 212, 74, 0.08) 0%, transparent 42%),
        radial-gradient(circle at 100% 100%, rgba(6, 168, 242, 0.1) 0%, transparent 46%),
        linear-gradient(135deg, #f8fbff 0%, #f4f8fd 52%, #f7fcf9 100%);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

#footer .footer-top--shell::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #00d44a 0%, #06a8f2 55%, #0080d4 100%);
}

#footer .footer-top--shell::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        linear-gradient(rgba(228, 235, 244, 0.35) 1px, transparent 1px),
        linear-gradient(90deg, rgba(228, 235, 244, 0.35) 1px, transparent 1px);
    background-size: 28px 28px;
    mask-image: linear-gradient(180deg, rgba(0, 0, 0, 0.18) 0%, transparent 72%);
    opacity: 0.45;
}

#footer .footer-top--shell > * {
    position: relative;
    z-index: 1;
}

#footer .footer-brand__head {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px 12px;
}

#footer .footer-brand__badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    padding: 0 12px;
    border-radius: 999px;
    border: 1px solid rgba(0, 200, 60, 0.18);
    background: rgba(255, 255, 255, 0.82);
    color: #00a832;
    font-size: 11px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 4px 14px rgba(0, 184, 56, 0.08);
}

#footer .footer-top--shell .footer-brand__text {
    margin-top: 14px;
    max-width: 440px;
    color: #5f7088;
    font-size: 14px;
    line-height: 1.65;
}

#footer .footer-top--shell .footer-brand__help {
    margin-top: 16px;
    gap: 10px;
}

#footer .footer-top--shell .footer-cta {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

#footer .footer-top--shell .footer-cta--primary,
#footer .footer-top--shell .footer-cta:not(.footer-cta--secondary) {
    border: none;
    background: linear-gradient(135deg, #00d44a 0%, #00b838 100%);
    color: #fff;
    box-shadow: 0 8px 22px rgba(0, 184, 56, 0.24);
}

#footer .footer-top--shell .footer-cta--primary:hover,
#footer .footer-top--shell .footer-cta:not(.footer-cta--secondary):hover {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #00e255 0%, #00c83c 100%);
    transform: translateY(-1px);
    box-shadow: 0 10px 26px rgba(0, 184, 56, 0.32);
}

#footer .footer-top--shell .footer-cta--secondary {
    border: 1px solid #dbe4ef;
    background: rgba(255, 255, 255, 0.88);
    color: #1f2a3a;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.04);
}

#footer .footer-top--shell .footer-cta--secondary:hover {
    border-color: rgba(0, 149, 235, 0.35);
    background: #fff;
    color: #0080d4;
    transform: translateY(-1px);
    box-shadow: 0 8px 20px rgba(0, 128, 212, 0.1);
}

#footer .footer-top--shell .footer-actions {
    margin-top: 16px;
}

#footer .footer-top--shell .menu-soc a {
    width: 38px;
    height: 38px;
    border-radius: 12px;
    border: 1px solid #dbe4ef;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
    transition: transform 0.2s ease, border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

#footer .footer-top--shell .menu-soc a:hover {
    transform: translateY(-2px);
    border-color: rgba(6, 168, 242, 0.45);
    background: #fff;
    box-shadow: 0 8px 18px rgba(0, 128, 212, 0.12);
}

#footer .footer-top--shell .footer-age {
    height: 32px;
    min-width: 54px;
    border-radius: 999px;
    border: 1px solid #dbe4ef;
    background: rgba(255, 255, 255, 0.92);
    color: #5b6b80;
    font-size: 13px;
    box-shadow: 0 4px 12px rgba(15, 23, 42, 0.04);
}

#footer .footer-top--shell .footer-cols {
    gap: 14px;
}

#footer .footer-top--shell .footer-col {
    padding: 16px 16px 14px;
    border: 1px solid rgba(228, 235, 244, 0.95);
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(6px);
    box-shadow: 0 8px 24px rgba(15, 23, 42, 0.04);
    transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

#footer .footer-top--shell .footer-col:hover {
    transform: translateY(-2px);
    border-color: rgba(0, 149, 235, 0.22);
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.08);
}

#footer .footer-top--shell .footer-col__title {
    position: relative;
    margin: 0 0 12px;
    padding-bottom: 10px;
    color: #1d1f22;
    font-size: 14px;
    font-weight: 700;
    letter-spacing: 0.01em;
}

#footer .footer-top--shell .footer-col__title::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 42px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, #06a8f2 0%, rgba(6, 168, 242, 0.15) 100%);
}

#footer .footer-top--shell .footer-col--products .footer-col__title::after {
    background: linear-gradient(90deg, #00d44a 0%, rgba(0, 212, 74, 0.15) 100%);
}

#footer .footer-top--shell .footer-links {
    gap: 4px;
}

#footer .footer-top--shell .footer-links a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 8px 10px;
    margin: 0 -10px;
    border-radius: 10px;
    color: #5f7088;
    font-size: 14px;
    line-height: 1.35;
    transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease;
}

#footer .footer-top--shell .footer-links a::after {
    content: '→';
    flex: 0 0 auto;
    opacity: 0;
    color: #06a8f2;
    font-size: 13px;
    transform: translateX(-4px);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

#footer .footer-top--shell .footer-links a:hover {
    color: #1d1f22;
    background: rgba(6, 168, 242, 0.08);
    transform: translateX(2px);
}

#footer .footer-top--shell .footer-links a:hover::after {
    opacity: 1;
    transform: translateX(0);
}

@media only screen and (min-width: 800px) {
    #footer .footer-top--shell {
        grid-template-columns: minmax(280px, 1.05fr) minmax(0, 1.95fr);
        gap: 22px;
        padding: 30px 32px 28px;
        border-bottom: none;
    }

    #footer .footer-top--shell .logo-footer img {
        max-width: 196px;
    }
}

@media only screen and (max-width: 799px) {
    #footer .footer-top--shell {
        padding: 22px 18px 20px;
        border-radius: 20px;
        margin-bottom: 16px;
        border-bottom: none;
    }

    #footer .footer-top--shell .footer-cols {
        grid-template-columns: 1fr;
        gap: 10px;
    }

    #footer .footer-top--shell .footer-col {
        padding: 14px 14px 12px;
        border-radius: 16px;
    }

    #footer .footer-top--shell .footer-links a {
        padding-top: 7px;
        padding-bottom: 7px;
    }
}

@media only screen and (min-width: 560px) and (max-width: 799px) {
    #footer .footer-top--shell .footer-cols {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    #footer .footer-top--shell .footer-col--docs {
        grid-column: 1 / -1;
    }
}

/* --- Home: «Часто ищут» — tab hub + dense grid --- */
.home-products-v2 {
    background: #fff;
    padding: 24px 0 40px;
    overflow: visible;
}

.home-products-v2 .home-products-v2__card--hub {
    overflow: visible;
    padding: 0;
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
}

.home-products-v2 .home-products-v2__hub-head {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    padding: 22px 24px 0;
}

.home-products-v2 .home-products-v2__title {
    margin: 0;
}

.home-products-v2 .home-products-v2__subtitle {
    margin: 0;
    flex: 1 1 240px;
    color: #7a8ba3;
    font-size: 14px;
    line-height: 1.45;
    text-align: right;
}

.home-products-v2 .home-products-v2__hub-bar {
    display: flex;
    gap: 6px;
    margin: 16px 22px 0;
    padding: 6px;
    border-radius: 14px;
    background: #f3f6fb;
    border: 1px solid #e8eef5;
}

.home-products-v2 .home-products-v2__tab {
    flex: 1 1 0;
    min-height: 40px;
    padding: 0 14px;
    border: 1px solid transparent;
    border-radius: 10px;
    background: transparent;
    color: #7892b4;
    font: inherit;
    font-size: 14px;
    line-height: 1.2;
    font-weight: 600;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.home-products-v2 .home-products-v2__tab:hover {
    color: #1d1f22;
    background: rgba(255, 255, 255, 0.72);
}

.home-products-v2 .home-products-v2__tab.is-active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%);
    box-shadow: 0 6px 16px rgba(0, 128, 212, 0.22);
}

.home-products-v2 .home-products-v2__tab[data-tab="zaimy"].is-active {
    background: linear-gradient(135deg, #00d44a 0%, #00b838 100%);
    box-shadow: 0 6px 16px rgba(0, 184, 56, 0.22);
}

.home-products-v2 .home-products-v2__tab[data-tab="karty"].is-active {
    background: linear-gradient(135deg, #6366f1 0%, #4f46e5 100%);
    box-shadow: 0 6px 16px rgba(79, 70, 229, 0.22);
}

.home-products-v2 .home-products-v2__hub-body {
    padding: 12px 22px 24px;
    overflow: visible;
}

.home-products-v2 .home-products-v2__panel {
    display: none;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    --popular-accent: #0080d4;
    --popular-accent-soft: rgba(6, 168, 242, 0.08);
}

.home-products-v2 .home-products-v2__panel[data-panel="zaimy"] {
    --popular-accent: #00b838;
    --popular-accent-soft: rgba(0, 184, 56, 0.08);
}

.home-products-v2 .home-products-v2__panel[data-panel="karty"] {
    --popular-accent: #4f46e5;
    --popular-accent-soft: rgba(79, 70, 229, 0.08);
}

.home-products-v2 .home-products-v2__panel.is-active {
    display: block;
    animation: homePopularFade 0.22s ease;
}

@keyframes homePopularFade {
    from {
        opacity: 0;
        transform: translateY(4px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.home-products-v2 .home-products-v2__panel-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px;
    padding: 0 2px;
}

.home-products-v2 .home-products-v2__panel-count {
    color: #9aa8bc;
    font-size: 12px;
    line-height: 1.3;
    font-weight: 500;
}

.home-products-v2 .home-products-v2__panel-all {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 12px;
    border-radius: 999px;
    border: 1px solid rgba(6, 168, 242, 0.2);
    background: rgba(6, 168, 242, 0.06);
    color: #0080d4;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 600;
    text-decoration: none;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.home-products-v2 .home-products-v2__panel[data-panel="zaimy"] .home-products-v2__panel-all {
    border-color: rgba(0, 200, 60, 0.22);
    background: rgba(0, 200, 60, 0.07);
    color: #00a832;
}

.home-products-v2 .home-products-v2__panel[data-panel="karty"] .home-products-v2__panel-all {
    border-color: rgba(99, 102, 241, 0.22);
    background: rgba(99, 102, 241, 0.07);
    color: #5b54e8;
}

.home-products-v2 .home-products-v2__panel-all::after {
    content: '→';
    transition: transform 0.2s ease;
}

.home-products-v2 .home-products-v2__panel-all:hover {
    transform: translateY(-1px);
    border-color: rgba(6, 168, 242, 0.4);
    background: rgba(6, 168, 242, 0.1);
    color: #006eb8;
}

.home-products-v2 .home-products-v2__panel[data-panel="zaimy"] .home-products-v2__panel-all:hover {
    border-color: rgba(0, 200, 60, 0.4);
    background: rgba(0, 200, 60, 0.12);
    color: #008f2e;
}

.home-products-v2 .home-products-v2__panel[data-panel="karty"] .home-products-v2__panel-all:hover {
    border-color: rgba(99, 102, 241, 0.4);
    background: rgba(99, 102, 241, 0.12);
    color: #4f46e5;
}

.home-products-v2 .home-products-v2__panel-all:hover::after {
    transform: translateX(2px);
}

/* Список ссылок — 3 колонки, ровная сетка плиток */
.home-products-v2 .home-products-v2__links.home-products-v2__links--flow {
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    grid-auto-rows: auto;
    align-items: stretch;
    gap: 12px;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    margin: 0 !important;
    padding: 12px !important;
    list-style: none !important;
    border: 1px solid #eef2f7;
    border-radius: 16px;
    background: #fff;
    overflow: hidden;
}

.home-products-v2 .home-products-v2__links--flow li {
    display: flex;
    margin: 0;
    padding: 0;
    min-width: 0;
    max-width: 100%;
    float: none !important;
    border: none;
    list-style: none;
}

.home-products-v2 .home-products-v2__links--flow li.hidden {
    display: none !important;
}

.home-products-v2 .home-products-v2__links--flow li.toggle-btn {
    display: none !important;
}

.home-products-v2 .home-products-v2__links-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 14px 0 0;
    margin: 0;
}

.home-products-v2 .home-products-v2__show-more {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    height: 44px;
    margin: 0;
    padding: 0 24px;
    border: 1px solid #dce3ef;
    border-radius: 999px;
    background: #fff;
    color: #4a5568;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    letter-spacing: 0;
    cursor: pointer;
    box-sizing: border-box;
    -webkit-appearance: none;
    appearance: none;
    box-shadow: none;
    vertical-align: middle;
    transition: color 0.2s ease, border-color 0.2s ease, background 0.2s ease;
}

.home-products-v2 .home-products-v2__show-more-label {
    display: block;
    line-height: 1;
}

.home-products-v2 .home-products-v2__show-more-icon {
    display: block;
    width: 7px;
    height: 7px;
    margin-top: -3px;
    border-right: 2px solid currentColor;
    border-bottom: 2px solid currentColor;
    transform: rotate(45deg);
    flex-shrink: 0;
    transition: transform 0.2s ease, margin-top 0.2s ease;
}

.home-products-v2 .home-products-v2__show-more[aria-expanded="true"] .home-products-v2__show-more-icon {
    margin-top: 2px;
    transform: rotate(-135deg);
}

.home-products-v2 .home-products-v2__show-more::after {
    display: none !important;
    content: none !important;
}

.home-products-v2 .home-products-v2__show-more:hover {
    background: #f7f9fd;
    color: var(--popular-accent);
    border-color: var(--popular-accent);
}

.home-products-v2 .home-products-v2__show-more:focus-visible {
    outline: 2px solid var(--popular-accent);
    outline-offset: 2px;
}

.home-products-v2 .home-products-v2__links--flow a {
    display: flex !important;
    align-items: center;
    justify-content: center !important;
    flex: 1 1 auto;
    gap: 0;
    min-height: 56px;
    height: auto;
    width: 100%;
    max-width: 100%;
    padding: 11px 10px;
    border: 1px solid #e4ebf4 !important;
    border-radius: 14px;
    background: #fff !important;
    color: #2d3a4c;
    font-size: 13px;
    line-height: 1.35;
    font-weight: 600;
    text-align: center;
    text-decoration: none !important;
    white-space: normal !important;
    overflow-wrap: anywhere;
    word-break: normal;
    text-overflow: clip !important;
    overflow: hidden;
    float: none !important;
    box-sizing: border-box;
    box-shadow: 0 1px 3px rgba(15, 23, 42, 0.04) !important;
    transition: color 0.18s ease, border-color 0.18s ease, background 0.18s ease, box-shadow 0.18s ease;
}

.home-products-v2 .home-products-v2__links--flow a::before {
    display: none !important;
}

.home-products-v2 .home-products-v2__links--flow a::after {
    display: none !important;
    content: none !important;
}

.home-products-v2 .home-products-v2__links--flow a:hover {
    color: var(--popular-accent);
    background: #fff !important;
    text-decoration: none !important;
    transform: none;
    box-shadow: 0 4px 14px rgba(15, 23, 42, 0.08) !important;
}

.home-products-v2 .home-products-v2__panel[data-panel="zaimy"] .home-products-v2__links--flow a:hover {
    border-color: rgba(0, 184, 56, 0.4) !important;
    background: rgba(0, 184, 56, 0.06) !important;
}

.home-products-v2 .home-products-v2__panel[data-panel="kredity"] .home-products-v2__links--flow a:hover {
    border-color: rgba(0, 128, 212, 0.4) !important;
    background: rgba(6, 168, 242, 0.06) !important;
}

.home-products-v2 .home-products-v2__panel[data-panel="karty"] .home-products-v2__links--flow a:hover {
    border-color: rgba(79, 70, 229, 0.4) !important;
    background: rgba(99, 102, 241, 0.06) !important;
}

@media only screen and (max-width: 999px) {
    .home-products-v2 .home-products-v2__links.home-products-v2__links--flow {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px;
        padding: 12px;
    }

    .home-products-v2 .home-products-v2__subtitle {
        flex-basis: 100%;
        text-align: left;
    }
}

@media only screen and (max-width: 749px) {
    .home-products-v2 {
        padding: 18px 0 24px;
    }

    .home-products-v2 .home-products-v2__hub-head,
    .home-products-v2 .home-products-v2__hub-body {
        padding-left: 16px;
        padding-right: 16px;
        padding-bottom: 24px;
    }

    .home-products-v2 .home-products-v2__hub-bar {
        margin-left: 16px;
        margin-right: 16px;
    }

    .home-products-v2 .home-products-v2__tab {
        min-height: 38px;
        padding: 0 10px;
        font-size: 13px;
    }

    .home-products-v2 .home-products-v2__links.home-products-v2__links--flow {
        grid-template-columns: 1fr;
        gap: 8px;
        padding: 10px;
    }

    .home-products-v2 .home-products-v2__links--flow a {
        min-height: 48px;
        font-size: 13px;
        padding: 11px 12px;
    }
}

/* ====================================================================
   BANK / MFO show pages — premium main content (sidebar untouched)
   ==================================================================== */
.bank-show-v2 .bank-hero,
.mfo-show-v2 .mfo-hero,
.offer-show-v2__main .offer-hero {
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.06);
    padding: 22px 24px 20px;
    margin-bottom: 18px;
}

.bank-show-v2 .bank-hero__main,
.mfo-show-v2 .mfo-hero__main,
.offer-show-v2__main .offer-hero__main {
    grid-template-columns: 96px minmax(0, 1fr);
    gap: 18px;
    align-items: start;
}

.bank-show-v2 .bank-hero__logo,
.mfo-show-v2 .mfo-hero__logo,
.offer-show-v2__main .offer-hero__logo {
    width: 96px;
    height: 96px;
    border-radius: 18px;
    border-color: #e8eef5;
    background: #fff;
    box-shadow: 0 4px 16px rgba(15, 23, 42, 0.05);
}

.bank-show-v2 .bank-hero__logo img,
.mfo-show-v2 .mfo-hero__logo img,
.offer-show-v2__main .offer-hero__logo img {
    max-width: 72px;
    max-height: 72px;
}

.bank-show-v2 .bank-hero__title,
.mfo-show-v2 .mfo-hero__title,
.offer-show-v2__main .offer-hero__title {
    font-size: 30px;
    line-height: 1.15;
    letter-spacing: -0.01em;
}

.bank-show-v2 .bank-hero__subtitle,
.mfo-show-v2 .mfo-hero__subtitle {
    margin-top: 6px;
    color: #6c7a90;
}

.bank-show-v2 .bank-hero__meta,
.mfo-show-v2 .mfo-hero__meta {
    margin-top: 14px;
    gap: 8px;
}

.bank-show-v2 .bank-hero__meta-item,
.mfo-show-v2 .mfo-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #e8eef5;
    background: #f7f9fd;
    color: #2d3a4c;
    font-size: 13px;
    line-height: 1.2;
}

.bank-show-v2 .bank-hero__meta-item strong,
.mfo-show-v2 .mfo-hero__meta-item strong {
    color: #8593ab;
    font-weight: 600;
}

.bank-show-v2 .bank-hero__actions,
.mfo-show-v2 .mfo-hero__actions {
    margin-top: 16px;
    gap: 8px;
}

.bank-show-v2 .bank-btn,
.mfo-show-v2 .mfo-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.bank-show-v2 .bank-btn {
    border-color: #0080d4;
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%);
    box-shadow: 0 6px 16px rgba(0, 128, 212, 0.22);
}

.bank-show-v2 .bank-btn:hover {
    background: linear-gradient(135deg, #0599dc 0%, #006eb8 100%);
    border-color: #006eb8;
}

.bank-show-v2 .bank-btn--ghost {
    background: #fff;
    border-color: #e4ebf4;
    color: #1d1f22;
    box-shadow: none;
}

.bank-show-v2 .bank-btn--ghost:hover {
    border-color: rgba(6, 168, 242, 0.35);
    color: #0080d4;
    background: #f7fbff;
}

.mfo-show-v2 .mfo-btn {
    border-color: #00a832;
    background: linear-gradient(135deg, #00c83c 0%, #00a832 100%);
    box-shadow: 0 6px 16px rgba(0, 168, 50, 0.2);
}

.mfo-show-v2 .mfo-btn:hover {
    background: linear-gradient(135deg, #00b838 0%, #008f2e 100%);
    border-color: #008f2e;
}

.mfo-show-v2 .mfo-btn--ghost {
    background: #fff;
    border-color: #e4ebf4;
    color: #00a832;
    box-shadow: none;
}

.mfo-show-v2 .mfo-btn--ghost:hover {
    border-color: rgba(0, 200, 60, 0.35);
    color: #008f2e;
    background: #f8fff9;
}

.bank-show-v2 .bank-tabs,
.mfo-show-v2 .mfo-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 18px;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid #e8eef5;
    background: #f3f6fb;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.bank-show-v2 .bank-tabs::-webkit-scrollbar,
.mfo-show-v2 .mfo-tabs::-webkit-scrollbar {
    display: none;
}

.bank-show-v2 .bank-tab,
.mfo-show-v2 .mfo-tab {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: #7892b4;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.bank-show-v2 .bank-tab:hover,
.mfo-show-v2 .mfo-tab:hover {
    color: #1d1f22;
    background: rgba(255, 255, 255, 0.72);
}

.bank-show-v2 .bank-tab--active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%);
    box-shadow: 0 6px 16px rgba(0, 128, 212, 0.2);
}

.mfo-show-v2 .mfo-tab--active {
    color: #fff;
    border-color: transparent;
    background: linear-gradient(135deg, #00c83c 0%, #00a832 100%);
    box-shadow: 0 6px 16px rgba(0, 168, 50, 0.18);
}

.bank-show-v2 .bank-content,
.mfo-show-v2 .mfo-content {
    gap: 18px;
}

.bank-show-v2 .bank-card,
.mfo-show-v2 .mfo-card {
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
    padding: 22px 24px 24px;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.bank-show-v2 .bank-card__title,
.mfo-show-v2 .mfo-card__title {
    font-size: 22px;
    line-height: 1.2;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
}

.bank-show-v2 .bank-card__body,
.mfo-show-v2 .mfo-card__body {
    margin-top: 16px;
    color: #1d1f22;
    font-size: 15px;
    line-height: 1.65;
    min-width: 0;
    max-width: 100%;
    overflow-x: clip;
}

.bank-show-v2 .bank-card__body h2,
.bank-show-v2 .bank-card__body h3,
.mfo-show-v2 .mfo-card__body h2,
.mfo-show-v2 .mfo-card__body h3 {
    margin: 22px 0 10px;
    color: #1d1f22;
    font-size: 18px;
    line-height: 1.3;
}

.bank-show-v2 .bank-card__body h2:first-child,
.bank-show-v2 .bank-card__body h3:first-child,
.mfo-show-v2 .mfo-card__body h2:first-child,
.mfo-show-v2 .mfo-card__body h3:first-child {
    margin-top: 0;
}

.bank-show-v2 .bank-card__body ul,
.mfo-show-v2 .mfo-card__body ul {
    margin: 0 0 14px;
    padding-left: 20px;
}

.bank-show-v2 .bank-card__body li,
.mfo-show-v2 .mfo-card__body li {
    margin-bottom: 6px;
}

.bank-show-v2 .bank-details,
.mfo-show-v2 .mfo-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.bank-show-v2 .bank-details__row,
.mfo-show-v2 .mfo-details__row {
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
    border-color: #e8eef5;
    border-radius: 16px;
    background: #f8fafc;
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
    box-sizing: border-box;
}

.bank-show-v2 .bank-details__label,
.mfo-show-v2 .mfo-details__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #8593ab;
}

.bank-show-v2 .bank-details__value,
.mfo-show-v2 .mfo-details__value {
    font-size: 15px;
    font-weight: 600;
    color: #1d1f22;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bank-show-v2 .bank-share,
.mfo-show-v2 .mfo-share {
    margin-top: 18px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
    width: 100%;
    max-width: 100%;
    min-width: 0;
    box-sizing: border-box;
}

.bank-show-v2 .bank-share .ya-share2,
.mfo-show-v2 .mfo-share .ya-share2,
.bank-show-v2 .bank-share .ya-share2__container,
.mfo-show-v2 .mfo-share .ya-share2__container,
#article .mfo-share .ya-share2,
#article .bank-share .ya-share2,
#article .mfo-share .ya-share2__container,
#article .bank-share .ya-share2__container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box;
}

.bank-show-v2 .bank-share .ya-share2__list,
.mfo-show-v2 .mfo-share .ya-share2__list,
#article .mfo-share .ya-share2__list,
#article .bank-share .ya-share2__list {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-sizing: border-box;
    justify-content: stretch !important;
    align-items: stretch !important;
}

.bank-show-v2 .bank-share .ya-share2__list .ya-share2__item,
.mfo-show-v2 .mfo-share .ya-share2__list .ya-share2__item,
#article .mfo-share .ya-share2__list .ya-share2__item,
#article .bank-share .ya-share2__list .ya-share2__item {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;
    height: auto !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: block !important;
    box-sizing: border-box;
}

.bank-show-v2 .bank-share .ya-share2__link,
.mfo-show-v2 .mfo-share .ya-share2__link,
.bank-show-v2 .bank-share .ya-share2__badge,
.mfo-show-v2 .mfo-share .ya-share2__badge,
#article .mfo-share .ya-share2__link,
#article .bank-share .ya-share2__link,
#article .mfo-share .ya-share2__badge,
#article .bank-share .ya-share2__badge {
    width: 100% !important;
    max-width: none !important;
    height: 44px !important;
    min-height: 44px !important;
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    border-radius: 12px !important;
    box-sizing: border-box;
}

.bank-show-v2 .bank-share .ya-share2__icon,
.mfo-show-v2 .mfo-share .ya-share2__icon,
#article .mfo-share .ya-share2__icon,
#article .bank-share .ya-share2__icon {
    margin: 0 !important;
    float: none !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    transform: none !important;
    background-position: center center !important;
}

.bank-show-v2 .bank-share .ya-share2__container_size_m .ya-share2__item:nth-child(1),
.mfo-show-v2 .mfo-share .ya-share2__container_size_m .ya-share2__item:nth-child(1),
.bank-show-v2 .bank-share .ya-share2__container_size_m .ya-share2__item:nth-last-child(1),
.mfo-show-v2 .mfo-share .ya-share2__container_size_m .ya-share2__item:nth-last-child(1) {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

@media (min-width: 600px) {
    .bank-show-v2 .bank-share .ya-share2__list,
    .mfo-show-v2 .mfo-share .ya-share2__list,
    #article .mfo-share .ya-share2__list,
    #article .bank-share .ya-share2__list {
        grid-template-columns: repeat(auto-fit, minmax(0, 1fr)) !important;
    }
}

/* Collapsible org description */
.org-desc {
    position: relative;
}

.org-desc__inner {
    overflow: hidden;
    transition: max-height 0.35s ease;
    color: #1d1f22;
}

.bank-show-v2 .bank-card__body .org-desc__inner p,
.bank-show-v2 .bank-card__body .org-desc__inner li,
.mfo-show-v2 .mfo-card__body .org-desc__inner p,
.mfo-show-v2 .mfo-card__body .org-desc__inner li,
.offer-show-v2 .offer-card__body .org-desc__inner p,
.offer-show-v2 .offer-card__body .org-desc__inner li {
    color: #1d1f22 !important;
}

.bank-show-v2 .bank-card__body .org-desc__inner h2,
.bank-show-v2 .bank-card__body .org-desc__inner h3,
.bank-show-v2 .bank-card__body .org-desc__inner h4,
.mfo-show-v2 .mfo-card__body .org-desc__inner h2,
.mfo-show-v2 .mfo-card__body .org-desc__inner h3,
.mfo-show-v2 .mfo-card__body .org-desc__inner h4,
.offer-show-v2 .offer-card__body .org-desc__inner h2,
.offer-show-v2 .offer-card__body .org-desc__inner h3,
.offer-show-v2 .offer-card__body .org-desc__inner h4 {
    color: #1d1f22 !important;
}

.bank-show-v2 .bank-card__body .org-desc__inner a,
.mfo-show-v2 .mfo-card__body .org-desc__inner a,
.offer-show-v2 .offer-card__body .org-desc__inner a {
    color: #0080d4 !important;
}

.mfo-show-v2 .mfo-card__body .org-desc__inner a:hover,
.offer-show-v2--mfo .offer-card__body .org-desc__inner a:hover {
    color: #00a832 !important;
}

.org-desc__inner > :last-child {
    margin-bottom: 0;
}

.org-desc__fade {
    position: relative;
    height: 72px;
    margin-top: -72px;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0) 0%, #fff 88%);
    pointer-events: none;
}

.org-desc.is-expanded .org-desc__fade {
    display: none !important;
}

.org-desc.is-short .org-desc__fade,
.org-desc.is-short .org-desc__toggle {
    display: none !important;
}

.org-desc__toggle[hidden] {
    display: none !important;
}

.org-desc__fade[hidden] {
    display: none !important;
}

.org-desc__toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-top: 14px;
    padding: 0 18px;
    border: 1px solid rgba(6, 168, 242, 0.22);
    border-radius: 999px;
    background: rgba(6, 168, 242, 0.06);
    color: #0080d4;
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 1;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.org-desc__toggle:hover {
    background: rgba(6, 168, 242, 0.1);
    border-color: rgba(6, 168, 242, 0.35);
}

.mfo-show-v2 .org-desc__toggle {
    border-color: rgba(0, 200, 60, 0.22);
    background: rgba(0, 200, 60, 0.07);
    color: #00a832;
}

.mfo-show-v2 .org-desc__toggle:hover {
    background: rgba(0, 200, 60, 0.12);
    border-color: rgba(0, 200, 60, 0.35);
}

@media (max-width: 999px) {
    .bank-show-v2 .bank-hero,
    .mfo-show-v2 .mfo-hero {
        padding: 18px 16px 16px;
        border-radius: 18px;
    }

    .bank-show-v2 .bank-hero__title,
    .mfo-show-v2 .mfo-hero__title {
        font-size: 24px;
    }

    .bank-show-v2 .bank-card,
    .mfo-show-v2 .mfo-card {
        padding: 18px 16px 20px;
        border-radius: 18px;
    }

    .bank-show-v2 .bank-card__title,
    .mfo-show-v2 .mfo-card__title {
        font-size: 20px;
    }

    .bank-show-v2 .bank-details,
    .mfo-show-v2 .mfo-details {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 749px) {
    .bank-show-v2 .bank-hero__main,
    .mfo-show-v2 .mfo-hero__main {
        grid-template-columns: 72px minmax(0, 1fr);
        gap: 12px;
    }

    .bank-show-v2 .bank-hero__logo,
    .mfo-show-v2 .mfo-hero__logo {
        width: 72px;
        height: 72px;
    }

    .bank-show-v2 .bank-hero__logo img,
    .mfo-show-v2 .mfo-hero__logo img,
    .offer-show-v2__main .offer-hero__logo img {
        max-width: 52px;
        max-height: 52px;
    }
}

/* Offer pages — same premium shell as bank/MFO */
.offer-show-v2__main .offer-hero__meta,
.offer-show-v2__main .offer-hero__meta-item {
    margin-top: 0;
}

.offer-show-v2__main .offer-hero__meta {
    margin-top: 14px;
    gap: 8px;
}

.offer-show-v2__main .offer-hero__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 7px 12px;
    border-radius: 999px;
    border: 1px solid #e8eef5;
    background: #f7f9fd;
    color: #2d3a4c;
    font-size: 13px;
    line-height: 1.2;
}

.offer-show-v2__main .offer-hero__meta-item strong {
    color: #8593ab;
    font-weight: 600;
}

.offer-show-v2__main .offer-hero__meta-item a {
    color: #0080d4;
    text-decoration: none;
    font-weight: 600;
}

.offer-show-v2__main .offer-hero__meta-item a:hover {
    text-decoration: underline;
}

.offer-show-v2__main .offer-hero__actions {
    margin-top: 16px;
    gap: 8px;
}

.offer-show-v2__main .offer-btn {
    min-height: 42px;
    padding: 0 18px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.offer-show-v2--bank .offer-show-v2__main .offer-btn {
    border-color: #0080d4;
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%);
    box-shadow: 0 6px 16px rgba(0, 128, 212, 0.22);
    color: #fff;
}

.offer-show-v2--bank .offer-show-v2__main .offer-btn:hover {
    background: linear-gradient(135deg, #0599dc 0%, #006eb8 100%);
    border-color: #006eb8;
    color: #fff;
}

.offer-show-v2--mfo .offer-show-v2__main .offer-btn {
    border-color: #00a832;
    background: linear-gradient(135deg, #00c83c 0%, #00a832 100%);
    box-shadow: 0 6px 16px rgba(0, 168, 50, 0.2);
    color: #fff;
}

.offer-show-v2--mfo .offer-show-v2__main .offer-btn:hover {
    background: linear-gradient(135deg, #00b838 0%, #008f2e 100%);
    border-color: #008f2e;
    color: #fff;
}

.offer-show-v2__main .offer-tabs {
    display: flex;
    flex-wrap: nowrap;
    gap: 6px;
    margin-top: 18px;
    padding: 6px;
    border-radius: 14px;
    border: 1px solid #e8eef5;
    background: #f3f6fb;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}

.offer-show-v2__main .offer-tabs::-webkit-scrollbar {
    display: none;
}

.offer-show-v2__main .offer-tab {
    flex: 0 0 auto;
    min-height: 38px;
    padding: 0 14px;
    border-radius: 10px;
    border: 1px solid transparent;
    background: transparent;
    color: #7892b4;
    font-size: 13px;
    font-weight: 600;
    white-space: nowrap;
}

.offer-show-v2__main .offer-tab:hover {
    color: #1d1f22;
    background: rgba(255, 255, 255, 0.72);
}

.offer-show-v2__main .offer-content {
    gap: 18px;
}

.offer-show-v2__main .offer-card {
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
    padding: 22px 24px 24px;
}

.offer-show-v2__main .offer-card__title {
    font-size: 22px;
    line-height: 1.2;
    padding-bottom: 14px;
    border-bottom: 1px solid #eef2f7;
}

.offer-show-v2__main .offer-card__body {
    margin-top: 16px;
    color: #1d1f22;
    font-size: 15px;
    line-height: 1.65;
}

.offer-show-v2__main .offer-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.offer-show-v2__main .offer-details__row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4px;
    padding: 14px 16px;
    border: 1px solid #e8eef5;
    border-radius: 16px;
    background: #f8fafc;
}

.offer-show-v2__main .offer-details__row:first-child {
    border-top: 1px solid #e8eef5;
    padding: 14px 16px;
}

.offer-show-v2__main .offer-details__label {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    color: #8593ab;
}

.offer-show-v2__main .offer-details__value {
    font-size: 15px;
    font-weight: 600;
    color: #1d1f22;
}

.offer-show-v2__main .offer-cta {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid #eef2f7;
}

.offer-show-v2--mfo .org-desc__toggle {
    border-color: rgba(0, 200, 60, 0.22);
    background: rgba(0, 200, 60, 0.07);
    color: #00a832;
}

.offer-show-v2--mfo .org-desc__toggle:hover {
    background: rgba(0, 200, 60, 0.12);
    border-color: rgba(0, 200, 60, 0.35);
}

.org-desc.is-expanded .org-desc__inner {
    max-height: none !important;
    overflow: visible;
}

.bank-show-v2 .bank-card__body > .bank-tabs,
.mfo-show-v2 .mfo-card__body > .mfo-tabs {
    flex-wrap: wrap;
    margin-top: 0;
}

/* Review cards — premium list */
.bank-show-v2--reviews-index .opinions-list,
.mfo-show-v2--reviews-index .opinions-list {
    display: grid;
    gap: 12px;
    list-style: none;
    margin: 16px 0 0;
    padding: 0;
    clear: both;
}

.bank-show-v2--reviews-index .opinions-list li,
.mfo-show-v2--reviews-index .opinions-list li {
    float: none;
    width: 100%;
    margin: 0;
    padding: 18px 20px;
    border: 1px solid #e4ebf4;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
    font-size: 15px;
    line-height: 1.55;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.bank-show-v2--reviews-index .opinions-list li:hover {
    border-color: rgba(6, 168, 242, 0.28);
    box-shadow: 0 8px 24px rgba(6, 168, 242, 0.08);
}

.mfo-show-v2--reviews-index .opinions-list li:hover {
    border-color: rgba(0, 200, 60, 0.28);
    box-shadow: 0 8px 24px rgba(0, 200, 60, 0.08);
}

.bank-show-v2--reviews-index .otziv-line,
.mfo-show-v2--reviews-index .otziv-line {
    float: none;
    width: 100%;
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 0 0 12px;
    padding: 0 0 12px;
    border-bottom: 1px solid #eef2f7;
    line-height: 1.2;
}

.bank-show-v2--reviews-index [class^="otziv-rating-"],
.mfo-show-v2--reviews-index [class^="otziv-rating-"] {
    float: none;
    flex-shrink: 0;
    margin: 0;
    width: 88px;
    height: 14px;
}

.bank-show-v2--reviews-index .otziv-name,
.mfo-show-v2--reviews-index .otziv-name {
    float: none;
    flex: 1 1 auto;
    min-width: 0;
    padding: 0;
    line-height: 1.3;
    font-size: 14px;
    font-weight: 600;
    color: #313b40;
}

.bank-show-v2--reviews-index .otziv-date,
.mfo-show-v2--reviews-index .otziv-date {
    float: none;
    flex-shrink: 0;
    margin-left: auto;
    padding: 0;
    line-height: 1.2;
    font-size: 12px;
    color: #8593ab;
}

.bank-show-v2--reviews-index .otziv-title,
.mfo-show-v2--reviews-index .otziv-title {
    float: none;
    width: 100%;
    padding: 0;
    margin: 0 0 8px;
    font-size: 17px;
    font-weight: 600;
    line-height: 1.35;
    color: #1d1f22;
}

.bank-show-v2--reviews-index .otziv-title a,
.mfo-show-v2--reviews-index .otziv-title a {
    color: inherit;
    text-decoration: none;
}

.bank-show-v2--reviews-index .otziv-title a:hover,
.mfo-show-v2--reviews-index .otziv-title a:hover {
    color: #0080d4;
}

.mfo-show-v2--reviews-index .otziv-title a:hover {
    color: #00a832;
}

.bank-show-v2--reviews-index .comment,
.mfo-show-v2--reviews-index .comment {
    float: none;
    width: 100%;
    color: #556274;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
    word-break: break-word;
}

.bank-show-v2--reviews-index .comment > div,
.mfo-show-v2--reviews-index .comment > div {
    margin-top: 0 !important;
}

.bank-show-v2--reviews-index .no-otz,
.mfo-show-v2--reviews-index .no-otz {
    padding: 24px 16px;
    border: 1px dashed #e4ebf4;
    border-radius: 16px;
    background: #f8fafc;
    color: #8593ab;
    text-align: center;
    font-size: 14px;
}

.bank-show-v2--reviews-index .bank-card__body > div[style],
.mfo-show-v2--reviews-index .mfo-card__body > div[style] {
    margin-bottom: 16px !important;
}

@media (max-width: 999px) {
    .offer-show-v2__main .offer-hero {
        padding: 18px 16px 16px;
        border-radius: 18px;
    }

    .offer-show-v2__main .offer-hero__title {
        font-size: 24px;
    }

    .offer-show-v2__main .offer-card {
        padding: 18px 16px 20px;
        border-radius: 18px;
    }

    .offer-show-v2__main .offer-card__title {
        font-size: 20px;
    }

    .offer-show-v2__main .offer-details {
        grid-template-columns: 1fr;
    }
}

/* ====================================================================
   Banks / MFO index pages — premium catalog
   ==================================================================== */
.banks-page-v2--premium {
    display: block;
    width: 100%;
    max-width: 100%;
    min-width: 0;
}

.banks-page-v2--premium .content-bank-left,
.banks-page-v2--premium .banks-page-v2__left {
    flex-basis: 100% !important;
    width: 100% !important;
    min-width: 0;
}

.banks-page-v2--premium .bank-hero--index,
.banks-page-v2--premium .mfo-hero--index {
    margin-bottom: 20px;
}

.banks-page-v2--premium .home-partners__badge {
    margin-bottom: 10px;
}

.banks-page-v2--premium .org-index-search {
    margin-top: 18px;
    padding-top: 18px;
    border-top: 1px solid #eef2f7;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 48px;
    gap: 10px;
    align-items: center;
}

.banks-page-v2--premium .org-index-search__input {
    min-width: 0;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #e4ebf4;
    border-radius: 14px;
    background: #f8fafc;
    color: #1d1f22;
    font: inherit;
    font-size: 15px;
    outline: none;
    box-sizing: border-box;
    transition: border-color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.banks-page-v2--premium.bank-show-v2 .org-index-search__input:focus {
    border-color: rgba(6, 168, 242, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(6, 168, 242, 0.1);
}

.banks-page-v2--premium.mfo-page-v2 .org-index-search__input:focus {
    border-color: rgba(0, 200, 60, 0.45);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(0, 200, 60, 0.1);
}

.banks-page-v2--premium .org-index-search__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    padding: 0;
    border: 0;
    border-radius: 14px;
    cursor: pointer;
    color: #fff;
    transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.banks-page-v2--premium .org-index-search__btn svg {
    width: 20px;
    height: 20px;
}

.banks-page-v2--premium.bank-show-v2 .org-index-search__btn {
    background: linear-gradient(135deg, #0aa3f5 0%, #0080d4 100%);
    box-shadow: 0 6px 16px rgba(0, 128, 212, 0.22);
}

.banks-page-v2--premium.bank-show-v2 .org-index-search__btn:hover {
    background: linear-gradient(135deg, #0599dc 0%, #006eb8 100%);
}

.banks-page-v2--premium.mfo-page-v2 .org-index-search__btn {
    background: linear-gradient(135deg, #00c83c 0%, #00a832 100%);
    box-shadow: 0 6px 16px rgba(0, 168, 50, 0.2);
}

.banks-page-v2--premium.mfo-page-v2 .org-index-search__btn:hover {
    background: linear-gradient(135deg, #00b838 0%, #008f2e 100%);
}

.banks-page-v2--premium .org-index-search__result {
    margin-top: 12px;
    color: #8593ab;
    font-size: 13px;
    line-height: 1.45;
}

.banks-page-v2--premium .org-index-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;
    width: 100%;
    min-width: 0;
}

.banks-page-v2--premium .org-index-card {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    align-items: start;
    padding: 18px 18px 16px;
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
    box-sizing: border-box;
    min-width: 0;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.banks-page-v2--premium.bank-show-v2 .org-index-card:hover {
    border-color: rgba(6, 168, 242, 0.28);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.banks-page-v2--premium.mfo-page-v2 .org-index-card:hover {
    border-color: rgba(0, 200, 60, 0.28);
    box-shadow: 0 14px 40px rgba(15, 23, 42, 0.08);
    transform: translateY(-1px);
}

.banks-page-v2--premium .org-index-card__logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 96px;
    padding: 10px 14px;
    border: 1px solid #e8eef5;
    border-radius: 18px;
    background: #f8fafc;
    overflow: hidden;
    text-decoration: none;
    box-sizing: border-box;
}

.banks-page-v2--premium .org-index-card__logo img {
    display: block;
    width: auto;
    height: auto;
    max-width: 88%;
    max-height: 72px;
    object-fit: contain;
}

.banks-page-v2--premium .org-index-card__body {
    min-width: 0;
}

.banks-page-v2--premium .org-index-card__title {
    margin: 0;
    font-size: 16px;
    line-height: 1.25;
    font-weight: 600;
}

.banks-page-v2--premium .org-index-card__title a {
    color: #1d1f22;
    text-decoration: none;
    transition: color 0.2s ease;
}

.banks-page-v2--premium.bank-show-v2 .org-index-card__title a:hover {
    color: #0080d4;
}

.banks-page-v2--premium.mfo-page-v2 .org-index-card__title a:hover {
    color: #00a832;
}

.banks-page-v2--premium .org-index-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.banks-page-v2--premium .org-index-card__meta-item {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 32px;
    padding: 0 12px;
    border: 1px solid #e8eef5;
    border-radius: 999px;
    background: #f7f9fd;
    color: #2d3a4c;
    font-size: 13px;
    line-height: 1.2;
}

.banks-page-v2--premium .org-index-card__meta-item strong {
    color: #8593ab;
    font-weight: 600;
}

.banks-page-v2--premium .org-index-card__actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-top: 14px;
}

.banks-page-v2--premium .org-index-card__actions .bank-btn,
.banks-page-v2--premium .org-index-card__actions .mfo-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 10px;
    text-decoration: none;
    white-space: nowrap;
    font-size: 13px;
}

.banks-page-v2--premium .org-index-empty {
    grid-column: 1 / -1;
    padding: 28px 24px;
    border: 1px solid #e4ebf4;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 32px rgba(15, 23, 42, 0.05);
    color: #8593ab;
    font-size: 15px;
    line-height: 1.5;
    text-align: center;
}

@media (max-width: 1099px) {
    .banks-page-v2--premium .org-index-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 749px) {
    .banks-page-v2--premium .org-index-grid {
        grid-template-columns: 1fr;
    }

    .banks-page-v2--premium .bank-hero--index,
    .banks-page-v2--premium .mfo-hero--index {
        padding: 18px 16px 16px;
        border-radius: 18px;
    }

    .banks-page-v2--premium .bank-hero__title,
    .banks-page-v2--premium .mfo-hero__title {
        font-size: 24px;
    }

    .banks-page-v2--premium .org-index-search {
        display: flex;
        flex-wrap: nowrap;
        gap: 10px;
    }

    .banks-page-v2--premium .org-index-search__input {
        flex: 1 1 auto;
    }

    .banks-page-v2--premium .org-index-search__btn {
        flex: 0 0 48px;
    }

    .banks-page-v2--premium .org-index-card {
        padding: 16px;
        border-radius: 18px;
    }

    .banks-page-v2--premium .org-index-card__logo {
        height: 88px;
        padding: 10px 12px;
        border-radius: 16px;
    }

    .banks-page-v2--premium .org-index-card__logo img {
        max-width: 86%;
        max-height: 64px;
    }

    .banks-page-v2--premium .org-index-card__title {
        font-size: 16px;
    }

    .banks-page-v2--premium .org-index-card__actions {
        grid-template-columns: 1fr;
    }

    .banks-page-v2--premium .org-index-card__actions .bank-btn,
    .banks-page-v2--premium .org-index-card__actions .mfo-btn {
        width: 100%;
        font-size: 14px;
    }
}
