/* ── Boxes Content - 5 (Kafelki - Porównaj) ──────────────────────────────── */

.bc5-block {
    padding: 96px 0;
    background: var(--wp--preset--color--white, #fff);
    overflow: hidden;
}

.bc5-block .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 64px;
}

/* ── Intro (centered) ─────────────────────────────────────────────────────── */

.bc5-intro {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    max-width: 640px;
    text-align: center;
}

.bc5-label-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.bc5-label-bar {
    width: 24px;
    height: 4px;
    flex-shrink: 0;
    background: var(--wp--preset--color--pink-500, #DF006E);
}

.bc5-label {
    margin: 0;
    font-size: 14px;
    font-weight: 400;
    line-height: 20px;
    color: var(--wp--preset--color--pink-500, #DF006E);
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.bc5-title {
    margin: 0;
    font-size: 32px;
    font-weight: 400;
    line-height: 1.25;
    color: var(--wp--preset--color--black, #1A1A25);
}

.bc5-desc,
.bc5-desc p {
    margin: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: var(--wp--preset--color--dark, #2E2E39);
}

.bc5-desc p + p {
    margin-top: 16px;
}

/* ── Grid ─────────────────────────────────────────────────────────────────── */

.bc5-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    width: 100%;
}

.bc5-card {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
    max-width: 480px;
    padding: 32px;
    background: var(--wp--preset--color--white);
    border: 1px solid var(--wp--preset--color--purple-100);
    border-top: 4px solid transparent;
    border-radius: 16px;
    box-shadow: 2px 2px 8px rgba(26, 26, 37, 0.1);
}

.bc5-card--pink {
    border-top-color: var(--wp--preset--color--pink-500, #DF006E);
}

.bc5-card--purple {
    border-top-color: var(--wp--preset--color--purple-500, #430B8E);
}

.bc5-card--yellow {
    border-top-color: var(--wp--preset--color--yellow, #FFE500);
}

.bc5-card-head {
    display: flex;
    align-items: center;
    gap: 16px;
}

.bc5-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
}

.bc5-card-icon svg {
    width: 20px;
    height: 20px;
}

.bc5-card--pink .bc5-card-icon {
    background: #FFEAF4;
    color: var(--wp--preset--color--pink-500, #DF006E);
}

.bc5-card--purple .bc5-card-icon {
    background: #FAF8FF;
    color: var(--wp--preset--color--purple-500, #430B8E);
}

.bc5-card--yellow .bc5-card-icon {
    background: rgba(255, 229, 0, 0.1);
    color: #b39b00;
}

.bc5-card-title {
    margin: 0;
    flex: 1 0 0;
    font-size: 20px;
    font-weight: 700;
    line-height: 24px;
    color: var(--wp--preset--color--black, #1A1A25);
}

.bc5-card-logo {
    display: block;
    height: 32px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
}

.bc5-card-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.bc5-card-list-item {
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.bc5-card-check {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.bc5-card-check svg {
    width: 16px;
    height: 16px;
}

.bc5-card--pink .bc5-card-check {
    color: var(--wp--preset--color--pink-500, #DF006E);
}

.bc5-card--purple .bc5-card-check {
    color: var(--wp--preset--color--purple-500, #430B8E);
}

.bc5-card--yellow .bc5-card-check {
    color: #b39b00;
}

.bc5-card-list-item span:last-child {
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: var(--wp--preset--color--dark, #2E2E39);
}

/* ── Responsive ───────────────────────────────────────────────────────────── */

@media (max-width: 991px) {
    .bc5-block {
        padding: 64px 0;
    }

    .bc5-block .container {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .bc5-block {
        padding: 40px 0;
    }
}

@media (max-width: 600px) {
    .bc5-intro {
        max-width: 100%;
    }

    .bc5-grid {
        flex-direction: column;
        align-items: stretch;
    }

    .bc5-card {
        max-width: 100%;
    }
}

/* ── Dark mode ────────────────────────────────────────────────────────────── */

html[data-theme="dark"] .bc5-block {
    background: var(--wp--preset--color--black, #1A1A25);
}

html[data-theme="dark"] .bc5-title {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .bc5-desc,
html[data-theme="dark"] .bc5-desc p {
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .bc5-card {
    background: var(--wp--preset--color--dark, #2E2E39);
    border-color: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .bc5-card-title {
    color: var(--wp--preset--color--white);
}

html[data-theme="dark"] .bc5-card-list-item span:last-child {
    color: rgba(255, 255, 255, 0.7);
}

html[data-theme="dark"] .bc5-card--pink .bc5-card-icon {
    background: rgba(223, 0, 110, 0.16);
}

html[data-theme="dark"] .bc5-card--purple .bc5-card-icon {
    background: rgba(126, 51, 226, 0.16);
    color: #b98bff;
}

html[data-theme="dark"] .bc5-card--purple .bc5-card-check {
    color: #b98bff;
}

html[data-theme="dark"] .bc5-card--yellow .bc5-card-icon,
html[data-theme="dark"] .bc5-card--yellow .bc5-card-check {
    color: var(--wp--preset--color--yellow, #FFE500);
}
