/* ==========================================================================
   Medical Features Block Styles (Standalone Plugin)
   ========================================================================== */

.mfb-block-wrapper {
    width: 100%;
    margin: 0 auto;
    font-family: 'Inter', sans-serif;
}

/* Header Section */
.mfb-header-section {
    text-align: center;
    margin-bottom: 40px;
}

.mfb-header-tagline {
    font-family: 'Inter', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #0b5a6c;
    margin-bottom: 12px;
}

.mfb-header-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 46px;
    font-weight: 700;
    color: #0a2f35;
    line-height: 1.2;
    margin: 0 0 40px 0;
}

/* Outer Grid Box */
.mfb-features-grid-container {
    background-color: #ffffff;
    border: 1px solid #eef2f5;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    padding: 40px 20px;
    overflow: hidden;
}

.mfb-features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: 100%;
}

/* Individual Feature Card */
.mfb-feature-card {
    padding: 20px 30px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
    transition: all 0.3s ease;
    border-right: 1px solid #eef2f5;
}

.mfb-feature-card:last-child {
    border-right: none;
}

.mfb-feature-card:hover {
    transform: translateY(-4px);
}

/* Icon Wrapper */
.mfb-icon-wrapper {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #00a8cc;
    margin-bottom: 24px;
    font-size: 44px;
    line-height: 1;
    transition: transform 0.3s ease;
}

.mfb-feature-card:hover .mfb-icon-wrapper {
    transform: scale(1.08);
}

.mfb-icon-wrapper svg {
    width: 44px;
    height: 44px;
    stroke: #00a8cc;
    fill: none;
}

/* Feature Titles & Descriptions */
.mfb-card-title {
    font-family: 'Outfit', 'Inter', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #0d3a43;
    margin: 0 0 10px 0;
    line-height: 1.3;
}

.mfb-card-description {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    color: #667085;
    line-height: 1.55;
    margin: 0;
}

/* Responsive Breakpoints */

/* Tablet (2x2 grid) */
@media (max-width: 991px) {
    .mfb-header-title {
        font-size: 36px;
    }

    .mfb-features-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px 0;
    }

    .mfb-feature-card {
        padding: 20px;
    }

    .mfb-feature-card:nth-child(2n) {
        border-right: none;
    }

    .mfb-feature-card:nth-child(1),
    .mfb-feature-card:nth-child(2) {
        border-bottom: 1px solid #eef2f5;
        padding-bottom: 30px;
    }
}

/* Mobile (1 column) */
@media (max-width: 575px) {
    .mfb-header-title {
        font-size: 28px;
    }

    .mfb-features-grid-container {
        padding: 30px 15px;
        border-radius: 16px;
    }

    .mfb-features-grid {
        grid-template-columns: 1fr;
        gap: 25px 0;
    }

    .mfb-feature-card {
        border-right: none !important;
        border-bottom: 1px solid #eef2f5;
        padding: 20px 10px 25px 10px;
    }

    .mfb-feature-card:last-child {
        border-bottom: none;
    }
}
