/* ── Boxes Content - 4 (Kafelki - treść) ─────────────────────────────────── */

.bc4-block {
    padding: 96px 0;
}

.bc4-card {
    display: flex;
    align-items: stretch;
    gap: 40px;
    padding: 40px 48px;
    background: var(--wp--preset--color--white);
    border: 1px solid #F3F4F6;
    border-radius: 16px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.12);
}

/* ── Left column ──────────────────────────────────────────────────────────── */

.bc4-left {
    flex: 1 1 0;
    min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.bc4-intro {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 640px;
}

.bc4-label-row {
    display: flex;
    align-items: center;
    gap: 16px;
}

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

.bc4-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;
}

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

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

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

/* ── Feature rows ─────────────────────────────────────────────────────────── */

.bc4-features {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.bc4-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 25px;
    background: linear-gradient(168.8deg, var(--wp--preset--color--white) 0%, var(--wp--preset--color--neutral-100) 100%);
    border: 1px solid #F3F4F6;
    border-radius: 4px;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
}

.bc4-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--wp--preset--color--purple-500, #430B8E);
}

.bc4-feature-icon svg {
    width: 24px;
    height: 24px;
}

.bc4-feature-body {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.bc4-feature-title {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--wp--preset--color--black, #1A1A25);
}

.bc4-feature-desc {
    margin: 0;
    font-size: 14px;
    font-weight: 300;
    line-height: 20px;
    color: var(--wp--preset--color--neutral-300);
}

/* ── Divider ──────────────────────────────────────────────────────────────── */

.bc4-divider {
    width: 1px;
    align-self: stretch;
    background: #E4E4EA;
    flex-shrink: 0;
}

/* ── Highlight box ────────────────────────────────────────────────────────── */

.bc4-highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    width: 420px;
    flex-shrink: 0;
    padding: 48px;
    background: var(--wp--preset--color--yellow, #FFE500);
    border-radius: 4px;
    box-shadow: 0 3px 3px rgba(0, 0, 0, 0.12);
}

.bc4-highlight-head {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    width: 100%;
}

.bc4-highlight-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 4px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--wp--preset--color--purple-500, #430B8E);
}

.bc4-highlight-icon svg {
    width: 28px;
    height: 28px;
}

.bc4-highlight-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
    min-width: 0;
}

.bc4-highlight-title {
    margin: 0;
    font-size: 20px;
    font-weight: 400;
    line-height: 28px;
    color: var(--wp--preset--color--black, #1A1A25);
}

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

/* ── Highlight actions ────────────────────────────────────────────────────── */

.bc4-highlight-actions {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 8px;
    width: 100%;
}

.bc4-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    padding: 24px;
    border-radius: 4px;
    text-align: center;
}

.bc4-action-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 4px;
    background: rgba(139, 92, 246, 0.1);
    color: var(--wp--preset--color--purple-500, #430B8E);
}

.bc4-action-icon svg {
    width: 20px;
    height: 20px;
}

.bc4-action-label {
    margin: 0;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    color: var(--wp--preset--color--black, #1A1A25);
}

.bc4-or {
    display: flex;
    align-items: center;
    gap: 23px;
    width: 100%;
}

.bc4-or span {
    flex: 1;
    height: 1px;
    background: rgba(26, 26, 37, 0.25);
}

.bc4-or p {
    margin: 0;
    flex-shrink: 0;
    font-size: 16px;
    font-weight: 300;
    line-height: 24px;
    color: var(--wp--preset--color--black, #1A1A25);
}

.bc4-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    width: 100%;
    padding: 11px 32px;
    border: 1px solid var(--wp--preset--color--dark, #2E2E39);
    background: transparent;
    color: var(--wp--preset--color--dark, #2E2E39);
    font-size: 14px;
    font-weight: 700;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
    cursor: pointer;
    transition: background-color 0.15s, color 0.15s;
}

.bc4-btn:hover {
    background: var(--wp--preset--color--dark, #2E2E39);
    color: var(--wp--preset--color--white);
}

.bc4-btn-icon {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.bc4-btn-icon svg {
    width: 16px;
    height: 16px;
}

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

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

    .bc4-highlight {
        width: 340px;
    }
}

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

    .bc4-card {
        flex-direction: column;
        align-items: stretch;
        gap: 40px;
        padding: 0;
        background: none;
        border: none;
        border-radius: 0;
        box-shadow: none;
    }

    .bc4-feature {
        flex-direction: column;
    }

    .bc4-divider {
        display: none;
    }

    .bc4-highlight {
        width: 100%;
        padding: 24px;
        gap: 24px;
        border: 1px solid #F3F4F6;
    }

    .bc4-highlight-head {
        flex-direction: column;
        align-items: center;
        gap: 24px;
        text-align: center;
    }

    .bc4-highlight-text {
        align-items: center;
        text-align: center;
    }

    .bc4-highlight-actions {
        gap: 24px;
    }

    .bc4-action {
        padding: 0;
    }
}

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

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

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

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

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

html[data-theme="dark"] .bc4-feature {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    box-shadow: none;
}

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

html[data-theme="dark"] .bc4-feature-desc {
    color: rgba(255, 255, 255, 0.6);
}

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

html[data-theme="dark"] .bc4-divider {
    background: rgba(255, 255, 255, 0.12);
}

html[data-theme="dark"] .bc4-highlight {
    border-color: rgba(0, 0, 0, 0.1);
}
