/* Scoped: art feed banner «Ищет дом» — вкладка canals (как sprint/energy: cover + оверлей) */

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .index__post_feed-banner--ishchet-dom,
html body .tabs__content[data-target="canals"] .index__post_feed-banner--ishchet-dom {
    grid-column: 1 / -1;
    width: 100%;
    max-width: 100%;
}

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .index__post_feed-banner--ishchet-dom > .card.sk-ishchet-dom-feed-banner,
html body .tabs__content[data-target="canals"] .index__post_feed-banner--ishchet-dom > .card.sk-ishchet-dom-feed-banner {
    position: relative !important;
    display: flex !important;
    flex-direction: column !important;
    justify-content: flex-end !important;
    width: 100% !important;
    height: 100% !important;
    min-height: 100% !important;
    overflow: hidden !important;
    border-radius: 16px;
    background-image: var(--banner-bg) !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-color: #f6e8dc !important;
}

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__art,
html body .tabs__content[data-target="canals"] .sk-ishchet-dom-feed-banner__art {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block !important;
    width: 100% !important;
    height: 100% !important;
    max-height: none !important;
    object-fit: cover !important;
    object-position: center 30% !important;
    pointer-events: none;
}

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__shade,
html body .tabs__content[data-target="canals"] .sk-ishchet-dom-feed-banner__shade {
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(
        180deg,
        rgba(20, 16, 14, 0) 0%,
        rgba(20, 16, 14, 0.08) 42%,
        rgba(20, 16, 14, 0.72) 100%
    );
    pointer-events: none;
}

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__panel,
html body .tabs__content[data-target="canals"] .sk-ishchet-dom-feed-banner__panel {
    position: relative;
    z-index: 2;
    margin-top: auto;
    padding: 12px 12px 14px;
    color: #fff;
    text-align: left;
}

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__kicker {
    margin: 0 0 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: rgba(255, 236, 210, 0.95);
}

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__title {
    margin: 0 0 4px;
    font-size: 17px;
    line-height: 1.2;
    font-weight: 800;
    color: #fff;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.35);
}

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__text {
    margin: 0 0 10px;
    font-size: 12px;
    line-height: 1.35;
    color: rgba(255, 255, 255, 0.92);
}

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__cta {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
}

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__cta .btn {
    width: 100%;
    min-height: 40px;
    justify-content: center;
    text-align: center;
    white-space: normal;
    font-size: 13px;
    padding: 8px 10px;
    box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__btn-ghost {
    background: rgba(255, 255, 255, 0.14) !important;
    border: 1px solid rgba(255, 255, 255, 0.55) !important;
    color: #fff !important;
    backdrop-filter: blur(6px);
}

@media (min-width: 701px) {
    html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__cta {
        grid-template-columns: 1fr 1fr;
    }

    html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .sk-ishchet-dom-feed-banner__title {
        font-size: 18px;
    }
}

@media (min-width: 768px) and (max-width: 1023.98px) {
    html body .cotinder-index-feed[data-cotinder-feed-tab="canals"] .index__post_feed-banner--ishchet-dom > .card.sk-ishchet-dom-feed-banner > .sk-ishchet-dom-feed-banner__art {
        object-fit: cover !important;
    }
}