.DoctorOfficesCustomerConnectSectionContainer {
    padding-bottom: 90px;
    background-color: #ECFAFF;
    overflow-x: clip;
    max-width: 100%;
    box-sizing: border-box;
}

.DoctorOfficesCustomerConnectSection {
    text-align: center;
    position: relative;
    max-width: 1320px;
    margin: 120px auto 0;
    background-color: #ECFAFF;
    border-radius: 10px;
    overflow: visible;
    top: 50px;
    padding: 0 40px 60px;
}

.DoctorOfficesCustomerConnectSection h1 {
    font-family: 'Nunito', sans-serif;
    font-size: 2.5rem;
    color: #1C48B2;
    font-weight: 700;
    margin-bottom: 24px;
    line-height: 1.3;
    position: relative;
    margin-right: 20px;
}

.DoctorOffices-hero-subheading {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #202328;
    font-weight: 500;
    max-width: 900px;
    margin: 0 auto 28px;
    padding: 0 20px;
}

.DoctorOffices-hero-actions {
    margin-bottom: 60px;
}

.DoctorOffices-hero-actions .btn-secondary {
    min-width: 200px;
}

.DoctorOfficesConnectCardsGrid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 100%;
}

.DoctorOfficesConnectCard {
    background: #fff;
    border-radius: 10px;
    transition: transform 0.3s ease;
    position: relative;
    aspect-ratio: 1/1;
    width: 100%;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
}

.DoctorOfficesConnectCard img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    background: #ECFAFF;
}

.DoctorOfficesConnectCardOdd {
    margin-top: -30px;
}

.DoctorOfficesProductsCircleBg {
    width: 130px;
    height: 130px;
    background-image: url('/assets/Solutions/pharmacy/background image.svg');
    background-size: 100% 100%;
    background-position: center center;
    background-repeat: no-repeat;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.DoctorOfficesProductsCircleBg img {
    width: 25%;
    height: 25%;
    object-fit: contain;
    display: block;
    margin: auto;
    transition: transform 0.3s;
}

.DoctorOfficesProductsCircleLink {
    position: absolute;
    top: 0;
    right: 0;
    width: 140px;
    height: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    z-index: 2;
    margin-top: 60px;
    margin-right: 40px;
}

.DoctorOfficesProductsCircleLink:hover .DoctorOfficesProductsCircleBg img {
    transform: rotate(45deg);
}

.DoctorOffices-form-info-box {
    padding: 70px 20px;
    background-color: #ECFAFF;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.DoctorOffices-form-info-content {
    max-width: 1320px;
    margin: 0 auto;
}

.DoctorOffices-form-info-title {
    font-family: 'Nunito', sans-serif;
    font-style: normal;
    font-weight: 700;
    font-size: 26px;
    line-height: 44px;
    color: #1C48B2;
    margin-bottom: 20px;
}

.DoctorOffices-form-info-description {
    font-family: 'Nunito Sans', sans-serif;
    font-style: normal;
    font-weight: 500;
    font-size: 18px;
    line-height: 25px;
    color: #202328;
    margin: 0 auto;
}

.DoctorOffices-form-info-description + .DoctorOffices-form-info-description {
    margin-top: 18px;
}

.DoctorOffices-horizontal-divider {
    position: relative;
    width: 100%;
    border-top: 1.5px solid rgba(57, 57, 57, 0.1);
}

/* Features section – scoped responsive tweaks */
.closer-look-section.doctor-offices-closer-look-section {
    overflow-x: clip;
    max-width: 100%;
    border-bottom: none !important;
}

.doctor-offices-closer-look-section .closer-look-heading,
.doctor-offices-closer-look-section .closer-look-subtitle {
    word-break: break-word;
    overflow-wrap: anywhere;
}

.doctor-offices-closer-look-section .closer-look-visual {
    border-radius: 12px;
}

.doctor-offices-closer-look-section .doctor-offices-feature-controls {
    display: none;
}

.doctor-offices-closer-look-section .closer-look-panel {
    background: #ffffff;
}

.doctor-offices-closer-look-section .closer-look-chip-active {
    background: linear-gradient(to right, #1C48B2, #8873d7) !important;
}

.doctor-offices-closer-look-section .closer-look-chip-active:hover {
    background: linear-gradient(to right, #1C48B2, #8873d7) !important;
}

.doctor-offices-closer-look-section .closer-look-chip-active::before {
    opacity: 0;
}

/* Desktop only — keep tablet/mobile on default closer-look responsive styles */
@media (min-width: 1201px) {
    .doctor-offices-closer-look-section .closer-look-visual {
        height: 410px;
        min-height: 410px;
        max-height: 410px;
        aspect-ratio: auto;
    }

    .doctor-offices-closer-look-section .closer-look-panel {
        grid-template-columns: minmax(0, 460px) minmax(0, 1fr);
        min-height: 560px;
    }

    .doctor-offices-closer-look-section .closer-look-sidebar {
        max-width: 460px;
    }

    .doctor-offices-closer-look-section .closer-look-chip-active {
        padding: 20px 22px 22px 18px;
        min-height: 140px;
    }
}

/* Desktop + tablet: standard closer-look panel (sidebar + image) */
@media (min-width: 768px) {
    .doctor-offices-closer-look-section .doctor-offices-feature-controls {
        display: none;
    }

    .doctor-offices-closer-look-section .inline-media-component {
        position: absolute;
        inset: 0;
    }
}

/* Apple-style responsive carousel: mobile only */
@media (max-width: 767px) {
    .doctor-offices-closer-look-section .closer-look-header {
        margin-bottom: 24px;
        text-align: center;
    }

    .doctor-offices-closer-look-section .closer-look-heading,
    .doctor-offices-closer-look-section .closer-look-subtitle {
        text-align: center;
    }

    .doctor-offices-closer-look-section .closer-look-panel {
        display: block;
        padding: 0;
        background: transparent;
        border: none;
        border-radius: 0;
        box-shadow: none;
        min-height: auto;
        overflow: visible;
    }

    .doctor-offices-closer-look-section .closer-look-sidebar {
        display: none;
    }

    .doctor-offices-closer-look-section .closer-look-visual.inline-media-component-container {
        position: relative;
        display: block;
        width: 100%;
        min-height: 500px;
        padding: 20px 20px 22px;
        border-radius: 24px;
        overflow: visible;
        background: #ffffff !important;
        box-sizing: border-box;
        order: unset;
        aspect-ratio: auto;
        max-height: none;
        height: auto;
    }

    .doctor-offices-closer-look-section .inline-media-component {
        position: absolute;
        top: 16px;
        left: 20px;
        right: 20px;
        bottom: 140px;
        display: flex;
        align-items: center;
        justify-content: center;
        margin: 0;
        min-height: 0;
        background: transparent;
        overflow: visible;
    }

    .doctor-offices-closer-look-section .doctor-offices-feature-controls {
        display: flex;
        position: absolute;
        left: 12px;
        right: 12px;
        bottom: 20px;
        align-items: center;
        gap: 10px;
        z-index: 2;
    }

    .doctor-offices-closer-look-section .doctor-offices-feature-detail {
        display: block;
        flex: 1;
        min-width: 0;
        position: static;
        width: auto;
        max-width: none;
        margin: 0;
        padding: 16px 20px;
        background: linear-gradient(to right, #1C48B2, #8873d7) !important;
        border-radius: 18px;
        text-align: center;
        box-sizing: border-box;
    }

    .doctor-offices-closer-look-section .closer-look-image {
        position: absolute;
        top: 50%;
        left: 50%;
        width: auto;
        height: auto;
        max-width: 100%;
        max-height: 100%;
        min-height: 0;
        inset: auto;
        padding: 0;
        opacity: 0;
        transition: opacity 0.35s ease;
        object-fit: contain;
        object-position: center;
        background: transparent !important;
        pointer-events: none;
    }

    .doctor-offices-closer-look-section .closer-look-image-active {
        opacity: 1;
        z-index: 1;
    }

    .doctor-offices-feature-detail-text {
        margin: 0;
        font-family: 'Nunito Sans', sans-serif;
        font-size: 15px;
        line-height: 1.55;
        color: #ffffff;
    }

    .doctor-offices-feature-detail-title {
        font-family: 'Nunito', sans-serif;
        font-weight: 700;
        color: #ffffff;
    }

    .doctor-offices-feature-detail-desc {
        font-weight: 400;
        color: rgba(255, 255, 255, 0.92);
    }

    .doctor-offices-closer-look-section .doctor-offices-feature-nav {
        display: flex;
        align-items: center;
        justify-content: center;
        position: static;
        flex-shrink: 0;
        width: 36px;
        height: 36px;
        padding: 0;
        border: none;
        border-radius: 50%;
        background: #ebebef;
        color: #1d1d1f;
        box-shadow: none;
        cursor: pointer;
        z-index: 3;
        transition: background 0.2s ease, transform 0.2s ease;
    }

    .doctor-offices-closer-look-section .doctor-offices-feature-nav:hover {
        background: #e2e2e7;
    }

    .doctor-offices-closer-look-section .doctor-offices-feature-nav:active {
        transform: scale(0.96);
    }
}

@media (max-width: 480px) {
    .doctor-offices-closer-look-section .closer-look-visual.inline-media-component-container {
        min-height: 500px;
        padding: 12px 12px 16px;
        border-radius: 18px;
    }

    .doctor-offices-closer-look-section .inline-media-component {
        left: 12px;
        right: 12px;
        bottom: 150px;
    }

    .doctor-offices-closer-look-section .doctor-offices-feature-controls {
        left: 4px;
        right: 4px;
        bottom: 14px;
        gap: 6px;
    }

    .doctor-offices-closer-look-section .doctor-offices-feature-detail {
        padding: 12px 14px;
        border-radius: 14px;
    }

    .doctor-offices-closer-look-section .doctor-offices-feature-detail-text {
        font-size: 13px;
        line-height: 1.5;
    }

    .doctor-offices-closer-look-section .doctor-offices-feature-nav {
        width: 32px;
        height: 32px;
    }
}

@media (max-width: 1400px) {
    .DoctorOfficesCustomerConnectSection {
        max-width: 1320px;
        padding: 0 35px 50px;
    }

    .DoctorOfficesCustomerConnectSection h1 {
        font-size: 2.3rem;
        margin-bottom: 20px;
    }

    .DoctorOfficesConnectCardsGrid {
        gap: 28px;
    }

    .DoctorOfficesProductsCircleLink {
        width: 110px;
        height: 110px;
        margin-top: 20px;
    }
}

@media (max-width: 1199px) {
    .DoctorOfficesCustomerConnectSection {
        max-width: 960px;
        padding: 0 30px 45px;
        margin-top: 90px;
    }

    .DoctorOfficesCustomerConnectSection h1 {
        font-size: 2.1rem;
        margin-right: 0;
    }

    .DoctorOfficesConnectCardsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
        padding: 0 15px;
    }

    .DoctorOfficesConnectCardOdd {
        margin-top: -25px;
    }

    .doctor-offices-closer-look-section .closer-look-heading {
        font-size: 28px;
        line-height: 1.2;
    }
}

@media (max-width: 991px) {
    .DoctorOfficesCustomerConnectSection {
        max-width: 720px;
        padding: 0 25px 40px;
        margin-top: 140px;
        top: 0;
    }

    .DoctorOfficesCustomerConnectSection h1 {
        font-size: 32px;
        margin-right: 0;
    }

    .DoctorOffices-hero-subheading {
        font-size: 18px;
        max-width: 100%;
        padding: 0 10px;
    }

    .DoctorOffices-hero-actions {
        margin-bottom: 40px;
    }

    .DoctorOffices-hero-actions .btn-secondary {
        min-width: 180px;
        font-size: 15px;
    }

    .DoctorOfficesConnectCardsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        padding: 0 10px;
    }

    .DoctorOfficesProductsCircleLink {
        width: 90px;
        height: 90px;
        margin-top: 40px;
        margin-right: 20px;
    }

    .DoctorOfficesConnectCardOdd {
        margin-top: -20px;
    }

    .DoctorOffices-form-info-box {
        padding: 70px 20px;
    }

    .DoctorOffices-form-info-title {
        font-size: 22px;
        line-height: 34px;
    }

    .DoctorOffices-form-info-description {
        font-size: 17px;
        line-height: 26px;
    }

    .doctor-offices-closer-look-section .closer-look-heading {
        font-size: 26px;
    }

    .doctor-offices-closer-look-section .closer-look-subtitle {
        font-size: 16px;
    }
}

@media (max-width: 767px) {
    .DoctorOfficesCustomerConnectSectionContainer {
        padding-bottom: 60px;
    }

    .DoctorOfficesCustomerConnectSection {
        margin-top: 40px;
        padding: 0 20px 35px;
    }

    .DoctorOfficesCustomerConnectSection h1 {
        font-size: 1.65rem;
        margin-bottom: 18px;
        line-height: 1.35;
    }

    .DoctorOffices-hero-subheading {
        font-size: 15px;
        line-height: 1.55;
        margin-bottom: 24px;
    }

    .DoctorOffices-hero-actions {
        margin-bottom: 36px;
    }

    .DoctorOfficesConnectCardsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
        padding: 0 8px;
    }

    .DoctorOfficesConnectCardOdd {
        margin-top: -12px;
    }

    .DoctorOfficesConnectCard img {
        object-fit: contain;
        border-radius: 10px;
    }

    .DoctorOffices-form-info-box {
        padding: 44px 18px;
    }

    .DoctorOffices-form-info-title {
        font-size: 21px;
        line-height: 32px;
    }

    .doctor-offices-closer-look-section .closer-look-chip-label {
        font-size: 14px;
        line-height: 1.35;
    }
}

@media (max-width: 575px) {
    .DoctorOfficesCustomerConnectSectionContainer {
        padding-bottom: 40px;
    }

    .DoctorOfficesCustomerConnectSection {
        padding: 0 15px 25px;
        margin-top: 150px;
    }

    .DoctorOfficesCustomerConnectSection h1 {
        font-size: 1.45rem;
        margin-bottom: 14px;
    }

    .DoctorOffices-hero-subheading {
        font-size: 14px;
        padding: 0 4px;
        margin-bottom: 20px;
    }

    .DoctorOffices-hero-actions {
        margin-bottom: 28px;
    }

    .DoctorOffices-hero-actions .btn-secondary {
        min-width: 160px;
        width: 100%;
        max-width: 280px;
        font-size: 16px;
        padding: 12px 20px;
    }

    .DoctorOfficesProductsCircleLink {
        position: relative;
        margin: 0 auto 24px;
        width: 80px;
        height: 80px;
        top: auto;
        right: auto;
    }

    .DoctorOfficesProductsCircleBg {
        width: 80px;
        height: 80px;
    }

    .DoctorOfficesConnectCardsGrid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
        padding: 0 4px;
    }

    .DoctorOfficesConnectCardOdd {
        margin-top: -8px;
    }

    .DoctorOfficesConnectCard {
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.07);
    }

    .DoctorOfficesConnectCard img {
        object-fit: contain;
        border-radius: 10px;
    }

    .DoctorOffices-form-info-box {
        padding: 36px 14px;
    }

    .DoctorOffices-form-info-title {
        font-size: 19px;
        line-height: 28px;
        margin-bottom: 14px;
    }

    .DoctorOffices-form-info-description {
        font-size: 15px;
        line-height: 23px;
    }

    .doctor-offices-closer-look-section .closer-look-heading {
        font-size: 24px;
    }

    .doctor-offices-closer-look-section .closer-look-subtitle {
        font-size: 15px;
    }
}

@media (max-width: 430px) {
    .DoctorOfficesCustomerConnectSection h1 {
        font-size: 32px;
    }

    .DoctorOffices-hero-subheading {
        font-size: 16px;
    }

    .DoctorOfficesConnectCardsGrid {
        gap: 8px;
        padding: 0 2px;
    }

    .DoctorOfficesConnectCardOdd {
        margin-top: 0;
    }

    .DoctorOffices-form-info-title {
        font-size: 20px;
        line-height: 26px;
    }

    .DoctorOffices-form-info-description {
        font-size: 15px;
        line-height: 22px;
    }

    .doctor-offices-closer-look-section .closer-look-heading {
        font-size: 20px;
    }
}

/* Scroll card stack section */
.doctorOfficesScrollCards {
    width: 100%;
    position: relative;
    z-index: 1;
    margin-top: -10px !important;
    justify-content: center;
    align-items: center;
    display: flex;
    flex-direction: column;
    background: #ECFAFF;
    padding-bottom: 80px;
}

.doctoroffices-cards-main {
    width: 80vw;
    margin: 0 auto;
    position: relative;
}

#doctoroffices-cards-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: repeat(4, auto);
    gap: 4vw;
    padding-bottom: calc(var(--numcards) * var(--card-top-offset));
    margin-bottom: 4vw;
    position: relative;
    background: #ECFAFF;
    width: 100%;
    max-width: 1320px;
    --numcards: 4;
    --card-top-offset: 1em;
}

#doctoroffices-card-1 { --index: 1; }
#doctoroffices-card-2 { --index: 2; }
#doctoroffices-card-3 { --index: 3; }
#doctoroffices-card-4 { --index: 4; }

.doctoroffices-card {
    position: sticky;
    top: 300px;
    padding-top: calc(var(--index) * var(--card-top-offset));
    z-index: 1;
}

.doctoroffices-card-content {
    background: #ECFAFF;
    color: #131212;
    border-radius: 13px;
    overflow: hidden;
    display: grid;
    grid-template-areas: "text img";
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    padding: 2em;
    height: 100%;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1), scale 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    z-index: 0;
    transform-origin: center center;
}

.doctoroffices-card-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 13px;
    padding: 2px;
    background: linear-gradient(270deg, #25B6FF 0%, #1C48B2 100%);
    -webkit-mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    mask:
        linear-gradient(#fff 0 0) content-box,
        linear-gradient(#fff 0 0);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    z-index: -1;
}

.doctoroffices-card-content > div {
    grid-area: text;
    width: 90%;
    max-width: 600px;
    place-self: center;
    text-align: left;
    display: grid;
    gap: 1em;
    place-items: start;
    padding-right: 2em;
}

.doctoroffices-card-content > figure {
    grid-area: img;
    overflow: hidden;
    border-radius: 13px;
    height: 90%;
    width: 90%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
}

.doctoroffices-card-content > figure > img {
    width: 90%;
    height: 90%;
    object-fit: contain;
    max-height: 400px;
}

.doctoroffices-card-content h2 {
    color: #1C48B2;
    font-weight: 600;
    font-size: 22px;
    font-family: 'Nunito', sans-serif;
    margin: 0;
}

.doctoroffices-card-content p {
    color: #202328;
    font-weight: 500;
    line-height: 1.5;
    font-size: 16px;
    margin: 0;
}

.doctoroffices-tabs-container {
    position: sticky;
    top: 150px;
    padding: 15px 0;
    z-index: 10;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin: 0 auto 50px;
    width: 100%;
    max-width: 1320px;
    align-self: center;
    transition: position 0.3s ease;
}

.doctoroffices-tabs-container.detached {
    position: relative;
    top: auto;
}

.doctoroffices-tab-item {
    background-color: white;
    border: none;
    border-radius: 30px;
    padding: 12px 25px;
    font-family: 'Nunito', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgba(75, 80, 123, 0.8);
    cursor: pointer;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.doctoroffices-tab-item:hover {
    background-color: rgba(75, 80, 123, 0.05);
}

.doctoroffices-tab-item.active {
    background: linear-gradient(to right, #1C48B2, #8873d7);
    color: white;
    font-weight: 600;
}

/* Scroll card stack + Pharmacy-card-runway (page-specific) */
html:has(.doctorOfficesScrollCards.scroll-card-stack) {
    scroll-behavior: smooth;
}

.doctorOfficesScrollCards .Pharmacy-card-segment {
    list-style: none;
    position: relative;
}

.doctorOfficesScrollCards .Pharmacy-card-runway {
    display: none;
}

@media (min-width: 1101px) {
    html:has(.doctorOfficesScrollCards),
    html:has(.doctorOfficesScrollCards) body {
        overflow-x: visible !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack {
        --stack-strip-gap: 5px;
        --card-top-offset: 5px;
        --card-stack-overlap: calc(var(--card-stack-height, 400px) - 5px);
        align-items: stretch !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack ul[id$="-cards-list"] {
        display: flex !important;
        flex-direction: column !important;
        gap: 0 !important;
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
        padding-bottom: 0 !important;
        margin-bottom: 0 !important;
        --card-top-offset: 5px !important;
        --stack-strip-gap: 5px !important;
        --card-stack-overlap: calc(var(--card-stack-height, 400px) - 5px) !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack [class*="-cards-main"],
    .doctorOfficesScrollCards.scroll-card-stack ul[id$="-cards-list"],
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card-segment {
        overflow: visible !important;
        background: transparent !important;
    }

    .doctorOfficesScrollCards .Pharmacy-card-segment {
        display: contents;
    }

    .doctorOfficesScrollCards .Pharmacy-card-runway {
        display: block;
        height: calc(70svh - var(--pharmacy-card-sticky-top, 300px) - 48px);
        min-height: 420px;
        margin-bottom: calc(-1 * var(--card-stack-overlap));
    }

    .doctorOfficesScrollCards .Pharmacy-card-segment:last-child .Pharmacy-card-runway {
        margin-bottom: 0;
    }

    .doctorOfficesScrollCards.scroll-card-stack ul[id$="-cards-list"] > .Pharmacy-card:last-of-type::after {
        content: '';
        display: block;
        height: 35vh;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card,
    .doctorOfficesScrollCards.scroll-card-stack [class*="-card"].Pharmacy-card,
    .doctorOfficesScrollCards.scroll-card-stack [class$="-card"] {
        position: sticky !important;
        top: var(--pharmacy-card-sticky-top) !important;
        padding-top: calc((var(--index, 1) - 1) * 7px) !important;
        width: 100% !important;
        max-width: none !important;
        margin: 0 !important;
        display: flex !important;
        justify-content: center !important;
        align-items: flex-start !important;
        transition: z-index 0.3s ease;
    }

    .doctorOfficesScrollCards.scroll-card-stack [id*="-card-"] [class*="-card-content"],
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card-content {
        background: #ECFAFF !important;
        color: #131212;
        border-radius: var(--card-stack-radius, 13px);
        overflow: hidden;
        display: grid !important;
        grid-template-areas: "text img" !important;
        grid-template-columns: 1.2fr 0.8fr !important;
        align-items: center;
        padding: 2em;
        margin: 0 auto !important;
        height: var(--card-stack-height, 400px);
        max-width: min(1000px, calc(860px + (var(--index, 1) - 1) * 18px)) !important;
        width: min(100%, calc(var(--card-width-min, 88%) + (var(--index, 1) - 1) * var(--card-width-step, 2%))) !important;
        transform: none !important;
        scale: none !important;
        box-shadow: none;
        position: relative;
        z-index: 0;
        flex-shrink: 0;
        transition:
            width 0.65s cubic-bezier(0.22, 1, 0.36, 1),
            max-width 0.65s cubic-bezier(0.22, 1, 0.36, 1),
            height 0.65s cubic-bezier(0.22, 1, 0.36, 1),
            transform 0.65s cubic-bezier(0.22, 1, 0.36, 1),
            box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1),
            border-radius 0.45s ease,
            padding 0.65s cubic-bezier(0.22, 1, 0.36, 1);
    }

    .doctorOfficesScrollCards.scroll-card-stack [id*="-card-"] [class*="-card-content"]::before,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card-content::before {
        content: '' !important;
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        border-radius: inherit;
        padding: 2px;
        background: linear-gradient(270deg, #8873d7 0%, #1c48b2 100%) !important;
        -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
        -webkit-mask-composite: destination-out;
        mask-composite: exclude;
        z-index: -1;
        pointer-events: none;
    }

    .doctorOfficesScrollCards.scroll-card-stack [id*="-card-"] [class*="-card-content"]:hover,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card-content:hover {
        transform: none !important;
        scale: none !important;
        box-shadow: none !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-incoming [class*="-card-content"]:hover,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-incoming .Pharmacy-card-content:hover {
        transform: translateY(calc((1 - var(--enter-progress, 0)) * 72px)) !important;
        box-shadow: 0 14px 40px rgba(28, 72, 178, 0.1) !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-active {
        z-index: 200;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-incoming {
        z-index: 300;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-far-below {
        visibility: hidden;
        pointer-events: none;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-past {
        pointer-events: none;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-past .Pharmacy-card-content,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-past [class*="-card-content"] {
        height: 5px !important;
        min-height: 5px !important;
        max-height: 5px !important;
        overflow: hidden !important;
        padding: 0 !important;
        box-shadow: none !important;
        border-radius: var(--card-strip-radius, 6px) var(--card-strip-radius, 6px) 0 0 !important;
        background: #ECFAFF !important;
        clip-path: inset(0 round var(--card-strip-radius, 6px) var(--card-strip-radius, 6px) 0 0);
        contain: paint;
        transform: translateY(0) !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-past .Pharmacy-card-content::before,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-past [class*="-card-content"]::before {
        border-radius: var(--card-strip-radius, 6px) var(--card-strip-radius, 6px) 0 0 !important;
        bottom: 0;
        padding: 2px 2px 0;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-past .Pharmacy-card-content > div,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-past .Pharmacy-card-content > figure,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-past [class*="-card-content"] > div,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-past [class*="-card-content"] > figure {
        display: none !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-active .Pharmacy-card-content,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-active [class*="-card-content"] {
        border-radius: var(--card-stack-radius, 13px) !important;
        background: #ECFAFF !important;
        box-shadow: 0 10px 36px rgba(28, 72, 178, 0.08);
        transform: translateY(0) !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-active .Pharmacy-card-content::before,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-active [class*="-card-content"]::before {
        border-radius: var(--card-stack-radius, 13px) !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-incoming .Pharmacy-card-content,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-incoming [class*="-card-content"] {
        transform: translateY(calc((1 - var(--enter-progress, 0)) * 72px)) !important;
        border-radius: var(--card-stack-radius, 13px) !important;
        background: #ECFAFF !important;
        box-shadow: 0 14px 40px rgba(28, 72, 178, 0.1);
        transition:
            transform 0.12s linear,
            box-shadow 0.65s cubic-bezier(0.22, 1, 0.36, 1),
            width 0.65s cubic-bezier(0.22, 1, 0.36, 1),
            max-width 0.65s cubic-bezier(0.22, 1, 0.36, 1) !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-incoming .Pharmacy-card-content::before,
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card.is-incoming [class*="-card-content"]::before {
        border-radius: var(--card-stack-radius, 13px) !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack [class*="-tabs-container"].detached {
        position: sticky !important;
        top: var(--pharmacy-sticky-offset) !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack nav[id*="sticky-tabs"],
    .doctorOfficesScrollCards.scroll-card-stack [class*="-tabs-container"].Pharmacy-tabs-container {
        position: sticky !important;
        top: var(--pharmacy-sticky-offset) !important;
        background-color: #ecfaff !important;
        z-index: 600 !important;
        align-self: center !important;
        justify-content: center !important;
        width: 100% !important;
        max-width: 1320px !important;
        margin-left: auto !important;
        margin-right: auto !important;
    }
}

@media (max-width: 1100px) {
    .doctorOfficesScrollCards.scroll-card-stack ul[id$="-cards-list"] {
        background: #ecfaff;
    }

    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card,
    .doctorOfficesScrollCards.scroll-card-stack [class*="-card"].Pharmacy-card {
        position: static !important;
        padding-top: 0 !important;
    }

    .doctorOfficesScrollCards.scroll-card-stack [class*="-card-content"],
    .doctorOfficesScrollCards.scroll-card-stack .Pharmacy-card-content {
        transform: none !important;
        scale: none !important;
        height: auto !important;
        width: 100% !important;
        max-width: 100% !important;
        background: #ECFAFF !important;
    }
}

@media (max-width: 1100px) {
    .doctorOfficesScrollCards {
        margin-top: 60px;
    }

    #doctoroffices-cards-list {
        gap: 20px;
        padding-bottom: 0;
    }

    .doctoroffices-card {
        position: static;
        padding-top: 0;
        height: auto;
    }

    .doctoroffices-card-content {
        grid-template-areas:
            "img"
            "text";
        grid-template-columns: 1fr;
        gap: 2em;
        height: auto;
    }

    .doctoroffices-card-content > div {
        width: 100%;
        padding: 0 1rem;
    }

    .doctoroffices-card-content > figure {
        height: auto;
        max-height: 300px;
        margin: 0;
        order: -1;
        width: 100%;
    }

    .doctoroffices-card-content > figure > img {
        width: 75%;
        height: auto;
        max-height: 300px;
        object-fit: contain;
    }

    .doctoroffices-tabs-container {
        display: none;
    }

    #doctoroffices-card-1,
    #doctoroffices-card-2,
    #doctoroffices-card-3,
    #doctoroffices-card-4 {
        width: 100% !important;
        max-width: 90vw;
        margin: 0 auto;
    }

    #doctoroffices-card-1 .doctoroffices-card-content,
    #doctoroffices-card-2 .doctoroffices-card-content,
    #doctoroffices-card-3 .doctoroffices-card-content,
    #doctoroffices-card-4 .doctoroffices-card-content {
        transform: scale(1) !important;
    }
}

@media (max-width: 767px) {
    .doctoroffices-cards-main {
        width: 92vw;
    }

    .doctoroffices-card-content h2 {
        font-size: 22px;
    }

    .doctoroffices-card-content p {
        font-size: 16px;
    }
}

/* FAQ Section */
.doctor-offices-faq-section {
    padding: 75px 0;
    background: #ECFAFF;
}

.doctor-offices-faq-title {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 30px;
    line-height: 1;
    color: #1C48B2;
    text-align: center;
    margin-bottom: 50px;
}

.doctor-offices-faq-container {
    max-width: 1320px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.doctor-offices-faq-item {
    background: #f8f9fa;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.doctor-offices-faq-item.active {
    background: #ffffff;
    box-shadow: 0 0 24px rgba(0, 0, 0, 0.15);
}

.doctor-offices-faq-item.active .doctor-offices-faq-question {
    background: #ffffff;
}

.doctor-offices-faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    cursor: pointer;
    background: #ffffff;
}

.doctor-offices-faq-question h3 {
    font-family: 'Nunito', sans-serif;
    font-weight: 700;
    font-size: 22px;
    line-height: normal;
    color: #1C48B2;
    margin: 0;
    flex: 1;
    padding-right: 20px;
}

.doctor-offices-faq-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(to right, #1C48B2, #8873d7) !important;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.doctor-offices-faq-toggle:hover {
    transform: scale(1.05);
}

.doctor-offices-faq-toggle img {
    width: 16px;
    height: 17px;
}

.doctor-offices-faq-answer {
    display: none;
    overflow: hidden;
    padding: 0 24px;
    background: #ffffff;
}

.doctor-offices-faq-item.active .doctor-offices-faq-answer {
    display: block;
    padding: 0 24px 24px;
}

.doctor-offices-faq-answer p {
    font-family: 'Nunito Sans', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #202328;
    margin: 0;
}

.doctor-offices-faq-item.faq-hidden {
    display: none;
}

.doctor-offices-faq-section .home-faq-read-more-container {
    text-align: center;
    margin-top: 32px;
    padding: 20px 0;
}

@media (max-width: 767px) {
    .doctor-offices-faq-section {
        padding: 48px 0;
    }

    .doctor-offices-faq-title {
        font-size: 24px;
        margin-bottom: 32px;
        padding: 0 16px;
    }

    .doctor-offices-faq-question {
        padding: 16px 18px;
    }

    .doctor-offices-faq-question h3 {
        font-size: 17px;
        padding-right: 12px;
    }

    .doctor-offices-faq-toggle {
        width: 36px;
        height: 36px;
    }

    .doctor-offices-faq-item.active .doctor-offices-faq-answer {
        padding: 0 18px 18px;
    }

    .doctor-offices-faq-answer p {
        font-size: 15px;
    }
}

.closer-look-section.doctor-offices-closer-look-section .home-container {
    max-width: 1340px;
    margin: 20px auto 80px;
}

.doctor-offices-faq-section .home-container,
#doctor-offices-testimonials .xplore-testimonials-container {
    max-width: 1320px;
}
