.pharmacyOverview {
    padding: 110px 0 135px;
    background: #fff;
}

.pharmacyOverviewHead {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 65px;
}

.pharmacyOverviewHead h2,
.pharmacyHelp h2 {
    margin: 0;
    font-size: clamp(44px, 5vw, 76px);
    font-weight: 500;
    line-height: 1;
    letter-spacing: -.055em;
}

.pharmacyOverviewHead > div > p {
    max-width: 620px;
    margin: 24px 0 0;
    color: #56665f;
    font-size: 17px;
}

.pharmacyGrid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

.pharmacyCard {
    min-height: 650px;
    background: #edf3ef;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s;
}

.pharmacyCard:hover {
    transform: translateY(-6px);
    box-shadow: 0 25px 55px rgba(0, 60, 44, .12);
}

.pharmacyCardTop {
    display: flex;
    justify-content: space-between;
    padding: 22px 24px 0;
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: .14em;
}

.pharmacyMarker {
    height: 210px;
    display: grid;
    place-items: center;
    position: relative;
}

.pharmacyMarker::before,
.pharmacyMarker::after {
    content: "";
    position: absolute;
    width: 175px;
    height: 175px;
    border: 1px solid rgba(0, 86, 64, .18);
    border-radius: 50%;
}

.pharmacyMarker::after {
    width: 100px;
    height: 100px;
}

.pharmacyMarker i {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    border-radius: 50% 50% 50% 0;
    background: var(--bright);
    transform: rotate(-45deg);
    box-shadow: 0 0 0 12px rgba(0, 180, 81, .1);
}

.pharmacyMarker i::after {
    content: "";
    position: absolute;
    width: 7px;
    height: 7px;
    left: 6px;
    top: 6px;
    background: #fff;
    border-radius: 50%;
}

.pharmacyCardBody {
    padding: 0 28px 30px;
    margin-top: auto;
}

.pharmacyCardBody h2 {
    margin-bottom: 18px;
    font-size: clamp(28px, 2.6vw, 40px);
    font-weight: 500;
    line-height: 1.08;
    letter-spacing: -.045em;
}

.pharmacyCardBody > p {
    min-height: 76px;
    color: #53645c;
}

.pharmacyCard dl {
    margin: 28px 0;
    border-top: 1px solid rgba(0, 86, 64, .15);
}

.pharmacyCard dl div {
    display: grid;
    grid-template-columns: 85px 1fr;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 86, 64, .15);
    font-size: 11px;
}

.pharmacyCard dt {
    color: #6a7a73;
}

.pharmacyCard dd {
    margin: 0;
}

.pharmacyCard dd a {
    text-underline-offset: 4px;
}

.pharmacyQuickActions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin: -10px 0 10px;
}

.pharmacyQuickActions a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border: 1px solid rgba(0, 86, 64, .22);
    border-radius: 100px;
    color: var(--green);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    transition: background .25s, color .25s;
}

.pharmacyQuickActions a:hover {
    background: #fff;
}

.pharmacyLink {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 18px;
    border-radius: 100px;
    background: var(--green);
    color: #fff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
}

.pharmacyLink span {
    display: grid;
    place-items: center;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--bright);
    color: var(--ink);
}

.pharmacyHelp {
    padding: 95px 0;
    background: var(--green);
    color: #fff;
}

.pharmacyHelpInner {
    display: grid;
    grid-template-columns: 1.5fr auto;
    gap: 70px;
    align-items: end;
}

.pharmacyHelp .index {
    margin-bottom: 18px;
    color: #8bb9a7;
}

.pharmacyHelp h2 {
    max-width: 800px;
}

.pharmacyHelp .primaryLink {
    background: #fff;
    color: var(--green);
    white-space: nowrap;
}

.branchMap {
    min-height: 560px;
    background: #dce8e2;
    overflow: hidden;
}

.branchMap iframe {
    display: block;
    width: 100%;
    height: 560px;
    border: 0;
    filter: saturate(.75) contrast(.96);
}

.branchActions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    align-items: center;
    margin-top: 34px;
}

.branchActions .primaryLink {
    margin: 0;
}

.branchMapLink {
    display: inline-flex;
    gap: 18px;
    align-items: center;
    padding: 15px 20px;
    border: 1px solid rgba(0, 86, 64, .3);
    border-radius: 100px;
    color: var(--green);
    text-decoration: none;
    font-weight: 600;
}

@media (max-width: 1000px) {
    .pharmacyGrid {
        grid-template-columns: 1fr;
    }

    .pharmacyCard {
        min-height: auto;
        display: grid;
        grid-template-columns: 230px 1fr;
    }

    .pharmacyCardTop {
        position: absolute;
        left: 0;
        right: 0;
    }

    .pharmacyMarker {
        height: 100%;
        min-height: 430px;
    }

    .pharmacyCardBody {
        padding: 70px 35px 35px;
    }

    .pharmacyCardBody > p {
        min-height: 0;
    }

    .pharmacyHelpInner {
        grid-template-columns: 1fr;
        align-items: start;
    }

    .branchMap,
    .branchMap iframe {
        min-height: 460px;
        height: 460px;
    }
}

@media (max-width: 720px) {
    .pharmacyOverview {
        padding: 75px 0 95px;
    }

    .pharmacyOverviewHead {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-bottom: 42px;
    }

    .pharmacyGrid {
        gap: 12px;
    }

    .pharmacyCard {
        display: flex;
        min-height: 580px;
    }

    .pharmacyMarker {
        height: 190px;
        min-height: 190px;
    }

    .pharmacyCardBody {
        padding: 0 22px 24px;
    }

    .pharmacyCardBody h2 {
        font-size: 31px;
    }

    .pharmacyHelp {
        padding: 70px 0;
    }

    .pharmacyHelpInner {
        gap: 35px;
    }

    .pharmacyHelp .primaryLink {
        white-space: normal;
    }

    .branchMap,
    .branchMap iframe {
        min-height: 370px;
        height: 370px;
    }

    .branchActions {
        align-items: stretch;
        flex-direction: column;
    }

    .branchActions a {
        justify-content: space-between;
    }
}
