/* ==========================================================================
   BLOCK: BHT VERSUS HERO (Clear Hierarchy & Dark Mode Ready)
   ========================================================================== */
.bht-vs-hero {
    margin: 3rem auto 5rem;
    width: 100%;
    max-width: var(--content-width-wide, 1100px);
    padding: 0 1.25rem;
    box-sizing: border-box;
}

.bht-vs-hero__inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* СЕТКА КАРТОЧЕК */
.bht-vs-hero__grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    position: relative;
}

/* Значок VS */
.bht-vs-hero__vs-badge {
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 48px;
    height: 48px;
    background: var(--text-main);
    color: var(--bg-surface);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 900;
    z-index: 10;
    border: 4px solid var(--bg-surface); /* Имитация выреза в фоне */
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

/* ОБЩИЙ СТИЛЬ КАРТОЧЕК */
.bht-vs-hero__card {
    border-radius: var(--r-xl, 20px);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    box-sizing: border-box;
}

/* Картинки (под прозрачные PNG) */
.bht-vs-hero__img-wrap {
    height: 180px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}
.bht-vs-hero__img-wrap img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
    filter: drop-shadow(0 15px 30px rgba(0,0,0,0.08));
}

.bht-vs-hero__title {
    font-size: clamp(1.5rem, 2.5vw, 2rem);
    font-weight: 900;
    color: var(--text-main);
    margin: 0 0 1rem;
    line-height: 1.2;
}

/* БЕЙДЖИ */
.bht-vs-hero__badge {
    position: absolute;
    top: -12px;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    padding: 6px 16px;
    border-radius: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

/* ПРИЧИНЫ (Буллиты) */
.bht-vs-hero__reason {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 0.875rem;
    line-height: 1.5;
    text-align: left;
    margin-bottom: 2rem;
    padding: 12px 16px;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
}
.bht-vs-hero__reason svg { width: 18px; height: 18px; flex-shrink: 0; margin-top: 2px; }
.bht-vs-hero__reason strong { font-weight: 800; }

/* === АКЦЕНТ: ПОБЕДИТЕЛЬ === */
.bht-vs-hero__card.is-winner {
    background: var(--bg-surface);
    border: 2px solid var(--primary); /* Явная обводка Победителя */
    box-shadow: 0 10px 40px rgba(var(--primary-rgb, 0, 102, 255), 0.08);
}
.bht-vs-hero__badge--win {
    background: var(--primary);
    color: var(--bg-surface);
}
.bht-vs-hero__reason--win {
    background: rgba(var(--primary-rgb, 0, 102, 255), 0.05);
    color: var(--text-main);
}
.bht-vs-hero__reason--win svg { color: var(--primary); stroke-width: 3px; }

/* Кнопка Победителя (Фикс изоляции) */
.bht-vs-hero__cta { width: 100%; margin-top: auto; }
.bht-vs-hero__cta .wp-block-buttons { margin: 0 !important; justify-content: center !important; }

/* === АКЦЕНТ: ПРОИГРАВШИЙ === */
.bht-vs-hero__card.is-loser {
    background: var(--bg-surface-alt); /* Приглушенный фон */
    border: 1px solid var(--border-strong);
}
.bht-vs-hero__badge--lose {
    background: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border-strong);
}
.bht-vs-hero__reason--lose {
    background: var(--bg-surface);
    color: var(--text-muted);
    border: 1px solid var(--border);
}
.bht-vs-hero__reason--lose svg { color: var(--text-hint); stroke-width: 2.5px; }

.bht-vs-hero__link {
    margin-top: auto;
    font-size: 0.9375rem;
    font-weight: 700;
    color: var(--text-muted);
    text-decoration: underline;
    text-underline-offset: 4px;
    transition: color 0.2s ease;
    padding: 10px 0;
}
.bht-vs-hero__link:hover { color: var(--text-main); }

/* ФИНАЛЬНЫЙ ВЕРДИКТ */
.bht-vs-hero__verdict {
    background: var(--bg-surface);
    border: 1px solid var(--border);
    border-radius: var(--r-md, 12px);
    padding: 1.5rem 2rem;
    text-align: center;
}
.bht-vs-hero__verdict-title {
    display: block;
    font-size: 0.8125rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-hint);
    margin-bottom: 0.5rem;
}
.bht-vs-hero__verdict p {
    font-size: 1.0625rem;
    color: var(--text-main);
    line-height: 1.6;
    margin: 0;
    font-weight: 500;
}

/* === АДАПТИВНОСТЬ === */
@media (max-width: 850px) {
    .bht-vs-hero__grid { grid-template-columns: 1fr; gap: 40px; }
    
    /* Победитель всегда сверху */
    .bht-vs-hero__card.is-winner { order: 1; }
    .bht-vs-hero__card.is-loser { order: 2; }
    
    /* Значок VS перемещаем между блоками */
    .bht-vs-hero__vs-badge {
        top: 50%; /* На мобилке он будет ровно между двумя карточками */
        margin-top: -10px; /* Сдвиг из-за gap */
    }
    
    .bht-vs-hero__card { padding: 2rem 1.5rem; }
    .bht-vs-hero__verdict { padding: 1.5rem; text-align: left; }
}