/* === BK Community Landing (isolated) — v2 layout === */
.bk-comm{
    --bk-gap: 28px;
    --bk-radius: 20px;
    --bk-accent: #f28b1e;
    --bk-dark: #0f1114;
    --bk-muted: #6b7280;
    padding: 24px 0 56px;
}
.bk-comm *{ box-sizing:border-box }

/* Hero */
.bk-comm__hero{
    max-width: 1100px;
    margin: 0 auto 36px;
    text-align: center;
    padding: 0 16px;
}
.bk-comm__hero h1{
    margin: 0 0 14px;
    font-weight: 800;
    line-height: 1.1;
    font-size: clamp(34px, 5.2vw, 60px);
}
.bk-comm__hero p{
    margin: 0;
    color: var(--bk-muted);
    font-size: clamp(18px, 2.2vw, 22px);
}

/* Vorteile — центрируем список */
.bk-comm__benefits{
    max-width: 300px;
    margin: 26px auto 42px;
    padding: 0;
    list-style: none;
    color: var(--bk-dark);
    line-height: 1.55;
    font-size: 18px;
}
.bk-comm__benefits li{
    display: inline-block;
    margin: 6px 16px;
    position: relative;
    background: none !important;
}
.bk-comm__benefits li::before{
    content: "•";
    color: var(--bk-accent);
    margin-right: 6px;
}

/* Grid — 2 в ряд на десктопе, 1 на мобиле */
.bk-comm__grid{
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    gap: var(--bk-gap);
    padding: 0 16px;
    grid-template-columns: 1fr;
}
@media (min-width: 820px){
    .bk-comm__grid{ grid-template-columns: repeat(2, minmax(380px, 1fr)); }
}

/* карточки с анимацией + hover-тень */
.bk-comm__card{
    background:#fff;
    border:1px solid #eee;
    border-radius:var(--bk-radius);
    padding:28px;
    box-shadow:0 10px 26px rgba(0,0,0,.06);
    min-height:220px;
    display:flex;
    flex-direction:column;
    opacity:0;
    transform:translateY(16px);
    transition:
            opacity .6s ease,
            transform .6s ease,
            box-shadow .3s ease,
            transform .3s ease;
    position:relative;
    overflow:hidden;
}
.bk-comm__card.in{ opacity:1; transform:none; }

/* hover — мягкая тень и лёгкий подъём */
.bk-comm__card:hover{
    box-shadow:0 18px 40px rgba(0,0,0,.12);
    transform:translateY(-4px);
}

/* оранжевая плашка */
.bk-comm__tag{
    display: inline-block;
    background: #fff3e7;
    color: #b85b00;
    border: 1px solid #ffe0bf;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 14px;
    order: 1;
}

/* картинка — под плашкой, на всю ширину */
.bk-comm__img{
    order: 2;
    width: 100%;
    aspect-ratio: 16 / 9;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    margin: 12px 0 14px;
    box-shadow: 0 6px 16px rgba(0,0,0,.08);
}

.bk-comm__title{
    order: 3;
    margin: 6px 0 10px;
    font-size: 28px;
    line-height: 1.25;
    color: var(--bk-dark);
}
.bk-comm__text{
    order: 4;
    margin: 0;
    color: var(--bk-muted);
    font-size: 18px;
}

/* CTA — одна большая нижняя кнопка */
.bk-comm__cta{
    display: flex;
    justify-content: center;
    margin: 44px 0 6px;
    padding: 0 16px;
}
.bk-comm__cta-btn{
    display: inline-block;
    background: var(--bk-accent);
    color: #fff;
    text-decoration: none;
    border-radius: 16px;
    padding: 18px 30px;
    font-weight: 800;
    font-size: 20px;
    box-shadow: 0 10px 24px rgba(242,139,30,.35);
}
.bk-comm__cta-btn:hover{ opacity: .95 }
.bk-comm__cta-btn--outline{
    background:#fff;color:var(--bk-dark);border:1px solid #ddd;box-shadow:none
}

/* === кликабельная карточка === */
.bk-comm__card {
    position: relative;
    overflow: hidden;
}
.bk-comm__link {
    position: absolute;
    inset: 0;
    z-index: 2;
    text-indent: -9999px;
    overflow: hidden;
}
.bk-comm__card:hover {
    cursor: pointer;
}
.bk-comm__card:hover,
.bk-comm__card:focus-within {
    box-shadow: 0 18px 40px rgba(0,0,0,.12);
    transform: translateY(-4px);
}
