.bsmd-specialty-section {
    padding: 54px 0 34px;
    background: #fbfaf7;
}

.bsmd-specialty-header {
    max-width: 620px;
    margin-bottom: 26px;
}

.bsmd-specialty-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 7px 14px;
    border-radius: 999px;
    background: rgba(19,168,162,.12);
    color: #137c78;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-bottom: 14px;
}

.bsmd-specialty-header h2 {
    font-family: "Barlow Condensed", sans-serif;
    font-size: clamp(34px, 4vw, 54px);
    line-height: .95;
    color: #1d2430;
    margin: 0 0 12px;
}

.bsmd-specialty-header p {
    font-size: 17px;
    line-height: 1.65;
    color: #5f6b76;
    margin: 0;
}

.bsmd-specialty-scroll {
    display: flex;
    gap: 18px;
    overflow-x: auto;
    padding: 8px 4px 18px;
    scroll-snap-type: x mandatory;
    scrollbar-width: thin;
}

.bsmd-specialty-card {
    flex: 0 0 200px;
    max-height: 52px;
    display: flex;
    gap: 16px;
    align-items: center;
    padding: 10px;
    border-radius: 19px;
    background:
        radial-gradient(circle at top right, rgba(19,168,162,.13), transparent 42%),
        #ffffff;
    border: 1px solid rgba(29,36,48,.08);
    text-decoration: none;
    color: inherit;
    scroll-snap-align: start;
    transition: all .22s ease;
}

.bsmd-specialty-card:hover,
.bsmd-specialty-card.active {
    transform: translateY(-4px);
    border-color: rgba(19,168,162,.28);
}

.bsmd-specialty-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(19,168,162,.13);
    color: #13a8a2;
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 30px;
    font-size: 14px;
}

.bsmd-specialty-card h3 {
    font-size: 1rem;
    line-height: 1;
    color: #1d2430;
    margin: 0;
}

.bsmd-specialty-card p {
    font-size: 14px;
    line-height: 1.45;
    color: #64717d;
    margin: 0 0 12px;
}

.bsmd-specialty-card span {
    display: inline-flex;
    color: #13958f;
    font-size: 0.6rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .04em;
}

@media (max-width: 767px) {
    .bsmd-specialty-section {
        padding: 1rem 0;
    }

    .bsmd-specialty-card {
        flex-basis: 235px;
        border-radius: 24px;
        padding: 20px;
    }

    .bsmd-specialty-card h3 {
        font-size: 12px;
    }
}