:root {
    --sfm-gold: #E6AE4F;
    --sfm-purple: #8D4BC4;
    --sfm-dark: #081019;
}

.sfm-feature-strip-section {
    position: relative;
    z-index: 5;
    padding-left: 24px;
    padding-right: 24px;
    margin-top: -54px;
    background: transparent;
}

.sfm-feature-strip {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    background: #fff;
    border: 1px solid rgba(8,16,25,.08);
    border-radius: 16px;
    box-shadow: 0 18px 55px rgba(8,16,25,.13);
    overflow: hidden;
}

.sfm-feature-grid { margin: 0 !important; gap: 0 !important; }
.sfm-feature-grid > .wp-block-column { margin: 0 !important; min-width: 0; }

.sfm-feature-card {
    height: 100%;
    min-height: 235px;
    padding: 34px 28px 30px;
    margin: 0;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    border-right: 1px solid #ece8e2;
    background: #fff;
    transition: transform .2s ease, background-color .2s ease, box-shadow .2s ease;
}

.sfm-feature-grid > .wp-block-column:last-child .sfm-feature-card { border-right: 0; }

.sfm-feature-icon {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    margin: 0 auto 18px;
    border-radius: 50%;
    background: #fff7e9;
    color: var(--sfm-purple);
}

.sfm-feature-icon svg {
    width: 27px;
    height: 27px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.sfm-feature-title {
    margin: 0 0 10px !important;
    font-size: 19px;
    line-height: 1.2;
    font-weight: 700;
    color: var(--sfm-dark);
}

.sfm-feature-title a { color: inherit; text-decoration: none; }

.sfm-feature-copy {
    max-width: 235px;
    margin: 0 auto 18px !important;
    font-size: 14px;
    line-height: 1.55;
    color: #66666b;
}

.sfm-feature-link {
    margin: auto 0 0 !important;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.sfm-feature-link a { color: var(--sfm-purple); text-decoration: none; }
.sfm-feature-card--accent { background: #fbf8fd; }
.sfm-feature-card--accent .sfm-feature-link a { color: #B47A18; }

@media (hover:hover) and (pointer:fine) {
    .sfm-feature-card:hover {
        position: relative;
        z-index: 2;
        background: #fffdf9;
        transform: translateY(-4px);
        box-shadow: 0 16px 34px rgba(8,16,25,.08);
    }
    .sfm-feature-title a:hover,
    .sfm-feature-link a:hover { color: #B47A18; }
}

@media (max-width: 900px) {
    .sfm-feature-strip-section { margin-top: -30px; }
    .sfm-feature-grid {
        display: grid !important;
        grid-template-columns: repeat(2,minmax(0,1fr));
    }
    .sfm-feature-grid > .wp-block-column { width: auto !important; flex-basis: auto !important; }
    .sfm-feature-card { border-right: 1px solid #ece8e2; border-bottom: 1px solid #ece8e2; }
    .sfm-feature-grid > .wp-block-column:nth-child(2n) .sfm-feature-card { border-right: 0; }
    .sfm-feature-grid > .wp-block-column:nth-last-child(-n+2) .sfm-feature-card { border-bottom: 0; }
}

@media (max-width: 600px) {
    .sfm-feature-strip-section { margin-top: 0; padding-left: 16px; padding-right: 16px; }
    .sfm-feature-strip { border-radius: 12px; }
    .sfm-feature-grid { display: block !important; }
    .sfm-feature-card {
        min-height: auto;
        padding: 28px 22px;
        border-right: 0 !important;
        border-bottom: 1px solid #ece8e2 !important;
    }
    .sfm-feature-grid > .wp-block-column:last-child .sfm-feature-card { border-bottom: 0 !important; }
}
