/*
 * "Poorboy's World" intro block — front page only.
 * Scoped entirely under .dm-pb (and the section that contains it via
 * :has()) so nothing here touches other homepage-constructor sections
 * or the rest of the theme's CSS.
 */

.section-html:has(.dm-pb) {
    background: #ffffff;
}

.section-html:has(.dm-pb) .section-block__header {
    padding: 32px clamp(16px, 4vw, 48px) 0;
}

.section-html:has(.dm-pb) .section-block__title {
    color: #14171c;
    font-size: clamp(19px, 2.2vw, 26px);
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0.01em;
    margin: 0;
}

.dm-pb {
    padding: clamp(24px, 4vw, 40px) clamp(16px, 4vw, 48px) clamp(32px, 5vw, 48px);
}

.dm-pb__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 28px 32px;
}

.dm-pb__card {
    padding-top: 18px;
    border-top: 3px solid #3960ff;
}

.dm-pb__icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(57, 96, 255, 0.1);
    color: #3960ff;
    margin-bottom: 14px;
}

.dm-pb__icon svg {
    width: 20px;
    height: 20px;
}

.dm-pb__title {
    color: #14171c;
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    line-height: 1.35;
    margin: 0 0 8px;
}

.dm-pb__text {
    color: #5b6470;
    font-size: 13.5px;
    line-height: 1.55;
    margin: 0;
}

@media (max-width: 991px) {
    .dm-pb__grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .dm-pb__grid {
        grid-template-columns: 1fr;
        gap: 22px;
    }
}
