/* fizichna.html — компонент, винесено з інлайн-стилів */

.bz-problems {
    position: relative;
    overflow: hidden;
    background:
            radial-gradient(circle at 0% 50%, rgba(143,0,17,.28), transparent 36rem),
            linear-gradient(180deg, rgba(255,255,255,.018), transparent);
}

.bz-problems:after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(227,6,24,.55), transparent);
}

.bz-problem-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    border: 1px solid rgba(227,6,24,.26);
    background: rgba(0,0,0,.35);
}

.bz-problem-card {
    position: relative;
    min-height: 228px;
    padding: 28px 26px 24px;
    border-right: 1px solid rgba(227,6,24,.22);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    isolation: isolate;
}

.bz-problem-card:last-child { border-right: 0; }

.bz-problem-card:before {
    content: "";
    position: absolute;
    width: 190px;
    height: 190px;
    right: -70px;
    top: -80px;
    border-radius: 50%;
    background: rgba(227,6,24,.11);
    transform: scale(.5);
    opacity: 0;
    transition: .35s ease;
    z-index: -1;
}

.bz-problem-card:hover:before { opacity: 1; transform: scale(1); }
.bz-problem-card:hover { background: rgba(227,6,24,.035); }

.bz-problem-card__top {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    align-items: flex-start;
}

.bz-problem-num {
    font-size: 74px;
    line-height: .8;
    letter-spacing: -.06em;
    color: var(--bz-red);
    font-weight: 500;
}

.bz-problem-mark {
    width: 58px;
    height: 58px;
    border: 1px dashed rgba(227,6,24,.8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bz-red);
    font-size: 24px;
    transform: rotate(12deg);
}

.bz-problem-title {
    color: #fff;
    font-size: 18px;
    letter-spacing: .045em;
    text-transform: uppercase;
    line-height: 1.25;
    margin-bottom: 10px;
}

.bz-problem-title span { color: var(--bz-red); }

.bz-problem-text {
    color: rgba(255,255,255,.58);
    font-size: 13px;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 991px) {
    .bz-problem-grid { grid-template-columns: repeat(2, minmax(0,1fr)); }
    .bz-problem-card:nth-child(2) { border-right: 0; }
    .bz-problem-card:nth-child(-n+2) { border-bottom: 1px solid rgba(227,6,24,.22); }
}
