.banner_module--wiki {
    position: relative;
    width: 100%;
    overflow: visible;
}

.banner_module--wiki .banner_layout {
    display: flex;
    width: 100%;
    height: 250px;
    gap: 10px;
}

/* WIKI: левая колонка */
.banner_module--wiki .csa-home-wiki {
    position: relative;
    z-index: 30;
    flex: 0 0 clamp(330px, 25.5%, 350px);
    min-width: 0;
    height: 250px;
    box-sizing: border-box;
    padding: 13px 14px;
    border: 0;
    border-radius: var(--br-16, 16px);
    background: var(--card);
    box-shadow: none;
}

.banner_module--wiki .csa-home-wiki__brand {
    display: flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    color: var(--text-default);
    text-decoration: none;
}

.banner_module--wiki .csa-home-wiki__brand:hover {
    color: var(--text-default);
}

.banner_module--wiki .csa-home-wiki__brand-icon {
    display: inline-flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 1px solid var(--span-middle);
    border-radius: 11px;
    background: linear-gradient(145deg, var(--span-10), rgba(0, 0, 0, .12));
    box-shadow: 0 8px 18px rgba(0, 0, 0, .15);
}

.banner_module--wiki .csa-home-wiki__brand-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: var(--span);
    stroke-width: 1.65;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.banner_module--wiki .csa-home-wiki__brand-copy {
    display: block;
    min-width: 0;
}

.banner_module--wiki .csa-home-wiki__brand-copy > strong {
    display: block;
    overflow: hidden;
    margin: 0 0 1px;
    color: var(--text-default);
    font-size: 18px;
    font-weight: 900;
    line-height: 1.05;
    letter-spacing: -.02em;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner_module--wiki .csa-home-wiki__brand-copy > strong b {
    color: var(--span);
    font: inherit;
}

.banner_module--wiki .csa-home-wiki__title {
    display: block;
    color: var(--text-default);
    font-size: 12px;
    font-weight: 800;
    line-height: 1.25;
}

.banner_module--wiki .csa-home-wiki__brand-copy small {
    display: block;
    overflow: hidden;
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 9px;
    line-height: 1.2;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* Поиск */
.banner_module--wiki .csa-home-wiki-search {
    position: relative;
    z-index: 80;
    margin: 11px 0 0;
}

.banner_module--wiki .csa-home-wiki-search__field {
    position: relative;
    display: flex;
    align-items: center;
    height: 42px;
    overflow: hidden;
    border: 1px solid var(--transparent-10-w);
    border-radius: 11px;
    background: rgba(0, 0, 0, .16);
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .018);
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}

.banner_module--wiki .csa-home-wiki-search:focus-within .csa-home-wiki-search__field {
    border-color: var(--span-half);
    background: var(--input-form);
    box-shadow: 0 0 0 3px var(--span-10);
}

.banner_module--wiki .csa-home-wiki-search__icon {
    position: absolute;
    left: 12px;
    width: 16px;
    height: 16px;
    pointer-events: none;
    fill: var(--text-secondary);
}

.banner_module--wiki .csa-home-wiki-search input {
    width: 100%;
    height: 100%;
    min-width: 0;
    padding: 0 45px 0 38px;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--text-default);
    font-family: inherit;
    font-size: 11px;
}

.banner_module--wiki .csa-home-wiki-search input::-webkit-search-cancel-button {
    margin-right: 2px;
}

.banner_module--wiki .csa-home-wiki-search input::placeholder {
    color: var(--text-secondary);
    opacity: .9;
}

.banner_module--wiki .csa-home-wiki-search__button {
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    padding: 0;
    border: 1px solid var(--span-middle);
    border-radius: 8px;
    background: var(--span-10);
    color: var(--span);
    cursor: pointer;
    transition: .18s ease;
}

.banner_module--wiki .csa-home-wiki-search__button:hover {
    border-color: var(--span-half);
    background: var(--button);
    color: var(--text-default);
}

.banner_module--wiki .csa-home-wiki-search__button svg {
    width: 13px;
    height: 13px;
    fill: currentColor;
}

/* Выпадающие подсказки */
.banner_module--wiki .csa-home-wiki-suggest {
    position: absolute;
    top: calc(100% + 7px);
    left: 0;
    right: 0;
    z-index: 500;
    display: none;
    max-height: 275px;
    overflow: auto;
    padding: 6px;
    border: 1px solid var(--span-middle);
    border-radius: 11px;
    background: var(--card);
    box-shadow: 0 22px 46px rgba(0, 0, 0, .5);
    overscroll-behavior: contain;
}

.banner_module--wiki .csa-home-wiki-suggest.is-open {
    display: block;
}

.banner_module--wiki .csa-home-wiki-suggest__item,
.banner_module--wiki .csa-home-wiki-suggest__all,
.banner_module--wiki .csa-home-wiki-suggest__state {
    display: block;
    padding: 8px 9px;
    border-radius: 8px;
}

.banner_module--wiki .csa-home-wiki-suggest__item,
.banner_module--wiki .csa-home-wiki-suggest__all {
    color: var(--text-default);
    text-decoration: none;
}

.banner_module--wiki .csa-home-wiki-suggest__item:hover,
.banner_module--wiki .csa-home-wiki-suggest__item.is-active,
.banner_module--wiki .csa-home-wiki-suggest__all:hover {
    background: var(--input-form);
    color: var(--text-default);
}

.banner_module--wiki .csa-home-wiki-suggest__badge {
    float: right;
    margin-left: 8px;
    color: var(--span);
    font-size: 9px;
    font-weight: 800;
    text-transform: uppercase;
}

.banner_module--wiki .csa-home-wiki-suggest__item strong,
.banner_module--wiki .csa-home-wiki-suggest__item small {
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.banner_module--wiki .csa-home-wiki-suggest__item strong {
    font-size: 11px;
    line-height: 1.35;
}

.banner_module--wiki .csa-home-wiki-suggest__item small {
    margin-top: 2px;
    color: var(--text-secondary);
    font-size: 10px;
    line-height: 1.3;
}

.banner_module--wiki .csa-home-wiki-suggest__all {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    margin-top: 4px;
    border-top: 1px solid var(--transparent-10-w);
    color: var(--span);
    font-size: 10px;
    font-weight: 800;
}

.banner_module--wiki .csa-home-wiki-suggest__state {
    color: var(--text-secondary);
    font-size: 10px;
    line-height: 1.35;
}

/* Быстрые разделы: 3 x 2 */
.banner_module--wiki .csa-home-wiki__quick {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 7px;
    margin-top: 10px;
}

.banner_module--wiki .csa-home-wiki__quick a {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 8px;
    min-width: 0;
    height: 48px;
    box-sizing: border-box;
    padding: 0 10px;
    border: 1px solid var(--transparent-10-w);
    border-radius: 9px;
    background: var(--input-form);
    color: var(--text-default);
    font-size: 10.4px;
    font-weight: 750;
    line-height: 1.12;
    text-decoration: none;
    transition: border-color .18s ease, background .18s ease, transform .18s ease;
}

.banner_module--wiki .csa-home-wiki__quick a:hover {
    border-color: var(--span-middle);
    background: var(--button);
    transform: translateY(-1px);
}

.banner_module--wiki .csa-home-wiki__quick a svg {
    flex: 0 0 17px;
    width: 17px;
    height: 17px;
    fill: var(--span);
}

.banner_module--wiki .csa-home-wiki__quick a span {
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Баннер справа */
.banner_module--wiki .banner_link {
    position: relative;
    display: block;
    flex: 1 1 auto;
    min-width: 0;
    height: 250px;
    overflow: hidden;
    border-radius: 12px;
    color: inherit;
    text-decoration: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .15);
}

.banner_module--wiki .banner_image {
    position: relative;
    width: 100%;
    height: 250px;
    overflow: hidden;
    background: #1b0e01;
}

.banner_module--wiki .banner_img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: transform .45s ease;
}

.banner_module--wiki .banner_link:hover .banner_img {
    transform: scale(1.025);
}

.banner_module--wiki .banner_overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    text-align: center;
}

.banner_module--wiki .banner_content {
    max-width: 600px;
    padding: 0 20px;
}

.banner_module--wiki .banner_title,
.banner_module--wiki .banner_text {
    margin: 0;
}

.banner_module--wiki .banner_btn {
    position: absolute;
    right: 16px;
    bottom: 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0 22px;
    border: 1px solid rgba(255, 255, 255, .38);
    border-radius: 50px;
    background: rgba(35, 22, 10, .45);
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
    color: #fff;
    font-size: 12px;
    font-weight: 700;
    transition: .2s ease;
}

.banner_module--wiki .banner_link:hover .banner_btn {
    border-color: rgba(255, 255, 255, .58);
    background: rgba(255, 255, 255, .18);
    transform: translateY(-1px);
}

@media (max-width: 980px) {
    .banner_module--wiki .csa-home-wiki {
        flex-basis: 320px;
        padding-left: 12px;
        padding-right: 12px;
    }

    .banner_module--wiki .csa-home-wiki__brand-icon {
        flex-basis: 44px;
        width: 44px;
        height: 44px;
    }

    .banner_module--wiki .csa-home-wiki__brand-copy > strong {
        font-size: 16px;
    }

    .banner_module--wiki .csa-home-wiki__quick a {
        height: 45px;
        padding: 0 8px;
        font-size: 9.5px;
    }

    .banner_module--wiki .csa-home-wiki__quick a svg {
        flex-basis: 16px;
        width: 16px;
        height: 16px;
    }
}

/* Телефон: общая высота всё равно 250 px, Wiki сверху, баннер снизу. */
@media (max-width: 620px) {
    .banner_module--wiki .banner_layout {
        display: grid;
        grid-template-rows: 148px 96px;
        gap: 6px;
        height: 250px;
    }

    .banner_module--wiki .csa-home-wiki {
        width: 100%;
        height: 148px;
        padding: 8px 9px;
    }

    .banner_module--wiki .csa-home-wiki__brand {
        gap: 8px;
        height: 31px;
    }

    .banner_module--wiki .csa-home-wiki__brand-icon {
        flex-basis: 31px;
        width: 31px;
        height: 31px;
        border-radius: 8px;
    }

    .banner_module--wiki .csa-home-wiki__brand-icon svg {
        width: 19px;
        height: 19px;
    }

    .banner_module--wiki .csa-home-wiki__brand-copy > strong {
        margin: 0;
        font-size: 13px;
    }

    .banner_module--wiki .csa-home-wiki__title {
        font-size: 9px;
        line-height: 1.05;
    }

    .banner_module--wiki .csa-home-wiki__brand-copy small {
        display: none;
    }

    .banner_module--wiki .csa-home-wiki-search {
        margin-top: 6px;
    }

    .banner_module--wiki .csa-home-wiki-search__field {
        height: 32px;
        border-radius: 8px;
    }

    .banner_module--wiki .csa-home-wiki-search__icon {
        left: 10px;
        width: 14px;
        height: 14px;
    }

    .banner_module--wiki .csa-home-wiki-search input {
        padding-left: 31px;
        padding-right: 37px;
        font-size: 10px;
    }

    .banner_module--wiki .csa-home-wiki-search__button {
        top: 3px;
        right: 3px;
        width: 26px;
        height: 26px;
        border-radius: 7px;
    }

    .banner_module--wiki .csa-home-wiki__quick {
        gap: 4px;
        margin-top: 6px;
    }

    .banner_module--wiki .csa-home-wiki__quick a {
        height: 27px;
        padding: 0 6px;
        border-radius: 7px;
        font-size: 8px;
    }

    .banner_module--wiki .csa-home-wiki__quick a svg {
        flex-basis: 12px;
        width: 12px;
        height: 12px;
    }

    .banner_module--wiki .csa-home-wiki-suggest {
        max-height: 215px;
    }

    .banner_module--wiki .banner_link,
    .banner_module--wiki .banner_image {
        width: 100%;
        height: 96px;
        border-radius: 10px;
    }

    .banner_module--wiki .banner_img {
        object-fit: fill;
    }

    .banner_module--wiki .banner_btn {
        right: 9px;
        bottom: 9px;
        min-height: 27px;
        padding: 0 11px;
        font-size: 8px;
        border-width: 1px;
    }
}

@media (max-width: 390px) {
    .banner_module--wiki .csa-home-wiki__quick a {
        gap: 4px;
        padding: 0 5px;
        font-size: 7.4px;
    }

    .banner_module--wiki .csa-home-wiki__quick a svg {
        display: none;
    }
}
