/* LG CSS Library v0.5.6 */

/* Instagram Gradient Social Button */
/* Instagram Button */
#main .social-icons .instagram,
#header .social-icons .instagram,
.nav-vertical .header-social-icons .social-icons .instagram,
#footer .section .instagram {
    background-image: linear-gradient(161deg, #4e50dc 0%, #f60d7b 33%, #f7be34 100%);
    border-style: none;
}

/* Move white Instagram icon slightly down */
#main .social-icons .instagram i,
#header .social-icons .instagram i,
.nav-vertical .header-social-icons .social-icons .instagram i,
#footer .section .instagram i {
    position: relative;
    top: 0px;
}

/* Flatsome Checkmark Colour */
body ul li.bullet-checkmark::before,
body ul li.bullet-arrow::before,
body ul li.bullet-star::before {
    color: #e41d1f !important;
}

/* Flatsome Image Box Rounded Corners */
.rounded .box-image,
.rounded .box-image .image-cover,
.rounded .box-image img {
    border-radius: 45px;
    overflow: hidden;
}

.rounded .box .box-image,
.rounded .box .box-image img,
.rounded .box .image-cover,
.rounded .box .image-cover img {
    border-radius: 45px !important;
}

.rounded .box .box-image,
.rounded .box .image-cover {
    overflow: hidden !important;
}

@scope (.rounded) {
.box-image,
.box-image .image-cover,
.box-image img {
    border-radius: 45px;
    overflow: hidden;
}

.box .box-image,
.box .box-image img,
.box .image-cover,
.box .image-cover img {
    border-radius: 45px !important;
}

.box .box-image,
.box .image-cover {
    overflow: hidden !important;
}
}

/* Uppercase Menu */
.nav-uppercase > li > a {
    text-transform: uppercase !important;
}

/* Header Menu outline */
/* Header Bottom Menu - Top & Bottom Outline */
#wide-nav {
    border-top: 1px solid #11478a;
    border-bottom: 1px solid #11478a;
}

/* Rounded Slider */
.banner.round {
    border-radius: 20px;
    overflow: hidden;
}

.banner.round .banner-inner,
.banner.round .banner-bg,
.banner.round .banner-bg img {
    border-radius: 20px;
}


.round .slider-wrapper .flickity-viewport {
    border-radius: 20px;
    overflow: hidden;
}

@scope (.round) {
/* Rounded hero banner */
.banner.round {
    border-radius: 20px;
    overflow: hidden;
}

.banner.round .banner-inner,
.banner.round .banner-bg,
.banner.round .banner-bg img {
    border-radius: 20px;
}

/* Slider clipping */
.slider-wrapper .flickity-viewport {
    border-radius: 20px;
    overflow: hidden;
}
}

/* Footer rounding */
/* Footer main section */
#footer > .section {
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

/* Keep background image and overlay inside rounded corners */
#footer > .section .section-bg,
#footer > .section .section-bg img,
#footer > .section .section-bg-overlay {
    border-radius: 20px 20px 0 0;
}

/* Mobile */
@media (max-width: 549px) {
    #footer > .section {
        margin-left: 15px;
        margin-right: 15px;
    }
}

/* Flatsome bottom footer */
#footer .absolute-footer {
    margin-left: 15px;
    margin-right: 15px;
    width: auto;
}

/* Blog Category Improvements */
/* =========================================
   ARRIE NEL - MODERN BLOG SIDEBAR
   ========================================= */

#secondary.widget-area {
    padding: 0;
}

/* Widget cards */
#secondary .widget {
    background: #ffffff;
    border: 1px solid #e4e9f0;
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 5px rgba(15, 69, 137, 0.08);
}

/* Widget headings */
#secondary .widget-title {
    display: block;
    margin-bottom: 10px;
    color: #0f4589;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.3;
    letter-spacing: 0;
    text-transform: none;
}

/* Heading divider */
#secondary .is-divider {
    width: 38px;
    max-width: 38px;
    height: 3px;
    margin: 0 0 12px;
    background: #ee2323;
    border-radius: 10px;
}

/* Lists */
#secondary .widget ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* List items */
#secondary .widget ul li {
    position: relative;
    display: block;
    width: 100%;
    margin: 0;
    padding: 9px 5px 9px 18px;
    border-bottom: 1px solid #edf0f4;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
    transition: background-color 0.2s ease;
}

/* Remove final divider */
#secondary .widget ul li:last-child {
    border-bottom: 0;
}

/* Arrow */
#secondary .widget ul li::before {
    content: "";
    position: absolute;
    left: 3px;
    top: 50%;
    width: 5px;
    height: 5px;
    border-top: 1.5px solid #ee2323;
    border-right: 1.5px solid #ee2323;
    opacity: 0.85;
    transform: translateY(-50%) rotate(45deg);
}

/* Links */
#secondary .widget ul li a {
    color: #333333;
    font-weight: 500;
    line-height: 1.4;
    text-decoration: none;
    white-space: normal;
    transition: color 0.2s ease;
}

/* Hover */
#secondary .widget ul li:hover {
    background: #f5f8fc;
}

#secondary .widget ul li:hover a {
    color: #0f4589;
}

/* Mobile */
@media (max-width: 849px) {
    #secondary .widget {
        padding: 18px;
        margin-bottom: 15px;
        border-radius: 12px;
    }
}

/* Blog page header */
/* =========================================
   SINGLE BLOG POST CARD
   ========================================= */

/* Entire article card */
.single-post .article-inner {
    border-radius: 20px;
    overflow: hidden;
}

/* Blog post header */
.single-post .entry-header {
    background: #ebebeb;
    padding: 30px 25px;
    margin-bottom: 0;
}

/* Header inner spacing */
.single-post .entry-header-text {
    padding: 0;
}

/* Category */
.single-post .entry-category a {
    color: #0f4589;
}

/* Post title */
.single-post .entry-title {
    color: #0f4589;
}

/* Red divider */
.single-post .entry-header .is-divider {
    background-color: #ee2323;
}

/* Main article content */
.single-post .article-inner .entry-content {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 30px;
}

/* Top article image */
.single-post .entry-content > figure:first-child {
    margin-left: -30px;
    margin-right: -30px;
    margin-top: 0;
}

/* Prevent image spacing issues */
.single-post .entry-content > figure:first-child img {
    display: block;
    width: 100%;
}

/* Navigation remains inside rounded card */
.single-post .navigation-post {
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 20px;
}

/* Mobile */
@media (max-width: 549px) {

    .single-post .entry-header {
        padding: 25px 20px;
    }

    .single-post .article-inner .entry-content {
        padding-left: 20px;
        padding-right: 20px;
        padding-bottom: 25px;
    }

    .single-post .entry-content > figure:first-child {
        margin-left: -20px;
        margin-right: -20px;
    }

    .single-post .navigation-post {
        margin-left: 20px;
        margin-right: 20px;
    }
}

/* About Cards */
.card .an-family-values {
    width: 100%;
}


.card .an-family-intro {
    position: relative;
    background: #f3f5f8;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 45px;
    overflow: hidden;
}

.card .an-family-intro::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #ee2323;
}

.card .an-family-intro h2,
.card .an-values-heading h2 {
    margin: 5px 0 18px;
    color: #0f4589;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.card .an-family-intro p {
    margin: 0 0 14px;
    color: #404040;
    font-size: 16px;
    line-height: 1.7;
}

.card .an-family-intro p:last-child {
    margin-bottom: 0;
}


.card .an-eyebrow {
    display: inline-block;
    color: #ee2323;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}


.card .an-values-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.card .an-values-heading p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}


.card .an-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


.card .an-value-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e6eb;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 14px rgba(15, 69, 137, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.card .an-value-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #0f4589;
}

.card .an-value-card:hover {
    transform: translateY(-4px);
    border-color: #cfd8e4;
    box-shadow: 0 10px 24px rgba(15, 69, 137, 0.13);
}


.card .an-value-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #edf3f9;
    color: #0f4589;
    font-size: 14px;
    font-weight: 700;
}


.card .an-value-card h3 {
    margin: 0 0 14px;
    color: #0f4589;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}


.card .an-value-card p {
    margin: 0 0 12px;
    color: #555;
    font-size: 15px;
    line-height: 1.65;
}

.card .an-value-card p:last-child {
    margin-bottom: 0;
}


.card .an-value-card-wide {
    grid-column: 1 / -1;
}


.card .an-value-card-wide::after {
    background: #ee2323;
}


@media (max-width: 849px) {

    .card .an-family-intro {
        padding: 32px 28px;
    }

    .card .an-family-intro h2,
.card .an-values-heading h2 {
        font-size: 26px;
    }

    .card .an-value-card {
        padding: 25px;
    }
}


@media (max-width: 549px) {

    .card .an-family-intro {
        padding: 28px 22px 28px 26px;
        margin-bottom: 35px;
        border-radius: 16px;
    }

    .card .an-family-intro h2,
.card .an-values-heading h2 {
        font-size: 23px;
    }

    .card .an-family-intro p,
.card .an-values-heading p {
        font-size: 15px;
    }

    .card .an-values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .card .an-value-card,
.card .an-value-card-wide {
        grid-column: auto;
        border-radius: 16px;
        padding: 24px 22px;
    }

    .card .an-value-card h3 {
        font-size: 18px;
    }

    .card .an-value-number {
        width: 40px;
        height: 40px;
    }
}

@scope (.card) {
/* =========================================
   ARRIE NEL ABOUT - FAMILY & CORE VALUES
   ========================================= */

.an-family-values {
    width: 100%;
}

/* Intro card */
.an-family-intro {
    position: relative;
    background: #f3f5f8;
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 45px;
    overflow: hidden;
}

.an-family-intro::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 6px;
    background: #ee2323;
}

.an-family-intro h2,
.an-values-heading h2 {
    margin: 5px 0 18px;
    color: #0f4589;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.an-family-intro p {
    margin: 0 0 14px;
    color: #404040;
    font-size: 16px;
    line-height: 1.7;
}

.an-family-intro p:last-child {
    margin-bottom: 0;
}

/* Small heading above title */
.an-eyebrow {
    display: inline-block;
    color: #ee2323;
    font-size: 12px;
    line-height: 1;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Core values heading */
.an-values-heading {
    max-width: 760px;
    margin: 0 auto 28px;
    text-align: center;
}

.an-values-heading p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* Grid */
.an-values-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* Individual cards */
.an-value-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e2e6eb;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 4px 14px rgba(15, 69, 137, 0.08);
    overflow: hidden;
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.an-value-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #0f4589;
}

.an-value-card:hover {
    transform: translateY(-4px);
    border-color: #cfd8e4;
    box-shadow: 0 10px 24px rgba(15, 69, 137, 0.13);
}

/* Number */
.an-value-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-bottom: 18px;
    border-radius: 50%;
    background: #edf3f9;
    color: #0f4589;
    font-size: 14px;
    font-weight: 700;
}

/* Card headings */
.an-value-card h3 {
    margin: 0 0 14px;
    color: #0f4589;
    font-size: 20px;
    line-height: 1.25;
    font-weight: 700;
}

/* Card copy */
.an-value-card p {
    margin: 0 0 12px;
    color: #555;
    font-size: 15px;
    line-height: 1.65;
}

.an-value-card p:last-child {
    margin-bottom: 0;
}

/* Final card full width */
.an-value-card-wide {
    grid-column: 1 / -1;
}

/* Give final card red accent */
.an-value-card-wide::after {
    background: #ee2323;
}

/* Tablet */
@media (max-width: 849px) {

    .an-family-intro {
        padding: 32px 28px;
    }

    .an-family-intro h2,
    .an-values-heading h2 {
        font-size: 26px;
    }

    .an-value-card {
        padding: 25px;
    }
}

/* Mobile */
@media (max-width: 549px) {

    .an-family-intro {
        padding: 28px 22px 28px 26px;
        margin-bottom: 35px;
        border-radius: 16px;
    }

    .an-family-intro h2,
    .an-values-heading h2 {
        font-size: 23px;
    }

    .an-family-intro p,
    .an-values-heading p {
        font-size: 15px;
    }

    .an-values-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .an-value-card,
    .an-value-card-wide {
        grid-column: auto;
        border-radius: 16px;
        padding: 24px 22px;
    }

    .an-value-card h3 {
        font-size: 18px;
    }

    .an-value-number {
        width: 40px;
        height: 40px;
    }
}
}

/* Clinic Cards */
.clinic .an-clinic-page {
    width: 100%;
}


.clinic .an-clinic-intro {
    position: relative;
    padding: 40px;
    margin-bottom: 45px;
    background: #f3f5f8;
    border-radius: 20px;
    overflow: hidden;
}

.clinic .an-clinic-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #ee2323;
}

.clinic .an-clinic-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #ee2323;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.clinic .an-clinic-intro h2,
.clinic .an-clinic-section-heading h2 {
    margin: 0 0 18px;
    color: #0f4589;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.clinic .an-clinic-intro p {
    margin: 0 0 13px;
    color: #444;
    font-size: 16px;
    line-height: 1.7;
}

.clinic .an-clinic-intro p:last-of-type {
    margin-bottom: 20px;
}


.clinic .an-clinic-note {
    padding: 15px 18px;
    background: #fff;
    border: 1px solid #e1e6ec;
    border-radius: 12px;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.clinic .an-clinic-note strong {
    color: #0f4589;
}


.clinic .an-clinic-section-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.clinic .an-clinic-section-heading p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}


.clinic .an-clinic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}


.clinic .an-clinic-card {
    position: relative;
    padding: 28px;
    background: #fff;
    border: 1px solid #e2e6eb;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(15, 69, 137, 0.08);
    overflow: hidden;
}

.clinic .an-clinic-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #0f4589;
}


.clinic .an-clinic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 17px;
    background: #edf3f9;
    border-radius: 50%;
    color: #0f4589;
    font-size: 14px;
    font-weight: 700;
}


.clinic .an-clinic-card h3 {
    margin: 0 0 15px;
    color: #0f4589;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}


.clinic .an-clinic-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.clinic .an-clinic-card li {
    position: relative;
    margin: 0;
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid #edf0f4;
    color: #505050;
    font-size: 15px;
    line-height: 1.45;
}

.clinic .an-clinic-card li:last-child {
    border-bottom: 0;
}

.clinic .an-clinic-card li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 15px;
    width: 6px;
    height: 6px;
    background: #ee2323;
    border-radius: 50%;
}


.clinic .an-clinic-contact-card {
    background: #0f4589;
    border-color: #0f4589;
}

.clinic .an-clinic-contact-card::after {
    background: #ee2323;
}

.clinic .an-clinic-contact-card .an-clinic-kicker {
    color: #fff;
    opacity: .8;
}

.clinic .an-clinic-contact-card h3,
.clinic .an-clinic-contact-card p,
.clinic .an-clinic-contact-card a {
    color: #fff;
}

.clinic .an-clinic-contact-card p {
    margin: 0 0 16px;
    line-height: 1.7;
}

.clinic .an-clinic-contact-card a {
    text-decoration: none;
}


.clinic .an-clinic-footer-note {
    margin-top: 30px;
    padding: 32px 35px;
    background: #f3f5f8;
    border-radius: 20px;
    text-align: center;
}

.clinic .an-clinic-footer-note h3 {
    margin: 2px 0 8px;
    color: #0f4589;
    font-size: 23px;
    font-weight: 700;
}

.clinic .an-clinic-footer-note p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}


@media (max-width: 849px) {

    .clinic .an-clinic-intro {
        padding: 32px 28px;
    }

    .clinic .an-clinic-intro h2,
.clinic .an-clinic-section-heading h2 {
        font-size: 26px;
    }

    .clinic .an-clinic-card {
        padding: 24px;
    }
}


@media (max-width: 549px) {

    .clinic .an-clinic-intro {
        padding: 27px 22px 27px 26px;
        margin-bottom: 35px;
        border-radius: 16px;
    }

    .clinic .an-clinic-intro h2,
.clinic .an-clinic-section-heading h2 {
        font-size: 23px;
    }

    .clinic .an-clinic-intro p,
.clinic .an-clinic-section-heading p {
        font-size: 15px;
    }

    .clinic .an-clinic-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .clinic .an-clinic-card {
        padding: 23px 21px;
        border-radius: 16px;
    }

    .clinic .an-clinic-footer-note {
        margin-top: 20px;
        padding: 27px 22px;
        border-radius: 16px;
    }

    .clinic .an-clinic-footer-note h3 {
        font-size: 20px;
    }
}

@scope (.clinic) {
/* =========================================
   ARRIE NEL - FAMILY PHARMACY CLINICS
   ========================================= */

.an-clinic-page {
    width: 100%;
}

/* Intro */
.an-clinic-intro {
    position: relative;
    padding: 40px;
    margin-bottom: 45px;
    background: #f3f5f8;
    border-radius: 20px;
    overflow: hidden;
}

.an-clinic-intro::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    background: #ee2323;
}

.an-clinic-kicker {
    display: inline-block;
    margin-bottom: 7px;
    color: #ee2323;
    font-size: 12px;
    line-height: 1.2;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.an-clinic-intro h2,
.an-clinic-section-heading h2 {
    margin: 0 0 18px;
    color: #0f4589;
    font-size: 30px;
    line-height: 1.2;
    font-weight: 700;
}

.an-clinic-intro p {
    margin: 0 0 13px;
    color: #444;
    font-size: 16px;
    line-height: 1.7;
}

.an-clinic-intro p:last-of-type {
    margin-bottom: 20px;
}

/* Notice */
.an-clinic-note {
    padding: 15px 18px;
    background: #fff;
    border: 1px solid #e1e6ec;
    border-radius: 12px;
    color: #444;
    font-size: 14px;
    line-height: 1.6;
}

.an-clinic-note strong {
    color: #0f4589;
}

/* Section heading */
.an-clinic-section-heading {
    max-width: 760px;
    margin: 0 auto 30px;
    text-align: center;
}

.an-clinic-section-heading p {
    margin: 0;
    color: #555;
    font-size: 16px;
    line-height: 1.7;
}

/* Grid */
.an-clinic-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
}

/* Cards */
.an-clinic-card {
    position: relative;
    padding: 28px;
    background: #fff;
    border: 1px solid #e2e6eb;
    border-radius: 20px;
    box-shadow: 0 4px 14px rgba(15, 69, 137, 0.08);
    overflow: hidden;
}

.an-clinic-card::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 4px;
    background: #0f4589;
}

/* Icon / number */
.an-clinic-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    margin-bottom: 17px;
    background: #edf3f9;
    border-radius: 50%;
    color: #0f4589;
    font-size: 14px;
    font-weight: 700;
}

/* Card headings */
.an-clinic-card h3 {
    margin: 0 0 15px;
    color: #0f4589;
    font-size: 19px;
    line-height: 1.3;
    font-weight: 700;
}

/* Lists */
.an-clinic-card ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

.an-clinic-card li {
    position: relative;
    margin: 0;
    padding: 8px 0 8px 20px;
    border-bottom: 1px solid #edf0f4;
    color: #505050;
    font-size: 15px;
    line-height: 1.45;
}

.an-clinic-card li:last-child {
    border-bottom: 0;
}

.an-clinic-card li::before {
    content: "";
    position: absolute;
    left: 2px;
    top: 15px;
    width: 6px;
    height: 6px;
    background: #ee2323;
    border-radius: 50%;
}

/* Contact card */
.an-clinic-contact-card {
    background: #0f4589;
    border-color: #0f4589;
}

.an-clinic-contact-card::after {
    background: #ee2323;
}

.an-clinic-contact-card .an-clinic-kicker {
    color: #fff;
    opacity: .8;
}

.an-clinic-contact-card h3,
.an-clinic-contact-card p,
.an-clinic-contact-card a {
    color: #fff;
}

.an-clinic-contact-card p {
    margin: 0 0 16px;
    line-height: 1.7;
}

.an-clinic-contact-card a {
    text-decoration: none;
}

/* Bottom feature card */
.an-clinic-footer-note {
    margin-top: 30px;
    padding: 32px 35px;
    background: #f3f5f8;
    border-radius: 20px;
    text-align: center;
}

.an-clinic-footer-note h3 {
    margin: 2px 0 8px;
    color: #0f4589;
    font-size: 23px;
    font-weight: 700;
}

.an-clinic-footer-note p {
    margin: 0;
    color: #555;
    font-size: 15px;
    line-height: 1.6;
}

/* Tablet */
@media (max-width: 849px) {

    .an-clinic-intro {
        padding: 32px 28px;
    }

    .an-clinic-intro h2,
    .an-clinic-section-heading h2 {
        font-size: 26px;
    }

    .an-clinic-card {
        padding: 24px;
    }
}

/* Mobile */
@media (max-width: 549px) {

    .an-clinic-intro {
        padding: 27px 22px 27px 26px;
        margin-bottom: 35px;
        border-radius: 16px;
    }

    .an-clinic-intro h2,
    .an-clinic-section-heading h2 {
        font-size: 23px;
    }

    .an-clinic-intro p,
    .an-clinic-section-heading p {
        font-size: 15px;
    }

    .an-clinic-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .an-clinic-card {
        padding: 23px 21px;
        border-radius: 16px;
    }

    .an-clinic-footer-note {
        margin-top: 20px;
        padding: 27px 22px;
        border-radius: 16px;
    }

    .an-clinic-footer-note h3 {
        font-size: 20px;
    }
}
}

/* Rounded images */
.round img {
    border-radius: 24px;
}

@scope (.round) {
/* Round images */
img {
    border-radius: 24px;
}
}

/* banner headers round semi */
.banner.round2 {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.banner.round2 .banner-inner,
.banner.round2 .banner-bg,
.banner.round2 .banner-bg img {
    border-radius: 20px 20px 0 0;
}


.slider-wrapper.round2 .flickity-viewport {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

@scope (.round2) {
/* Rounded hero banner - top corners only */
.banner.round2 {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}

.banner.round2 .banner-inner,
.banner.round2 .banner-bg,
.banner.round2 .banner-bg img {
    border-radius: 20px 20px 0 0;
}

/* Slider clipping - top corners only */
.slider-wrapper.round2 .flickity-viewport {
    border-radius: 20px 20px 0 0;
    overflow: hidden;
}
}

/* Branches Block */
/* Branch information card */
.col-inner[style*="background-color:rgb(247, 247, 247)"] {
    border: 1px solid rgba(15, 69, 137, 0.30);
    border-radius: 24px;
    padding: 20px;
    background-color: #f7f7f7 !important;
}

/* Checkbox */
/* Family Pharmacy Clinic checkbox */
.lgbl-clinic {
    appearance: none;
    -webkit-appearance: none;
    width: 22px !important;
    height: 22px !important;
    min-width: 22px;
    margin: 0 8px 0 0 !important;

    background: #fff;
    border: 2px solid #0f4589;
    border-radius: 7px;

    cursor: pointer;
    position: relative;
    transition: all 0.2s ease;
}

/* Hover */
.lgbl-clinic:hover {
    border-color: #ee2323;
    box-shadow: 0 0 0 3px rgba(15, 69, 137, 0.12);
}

/* Checked */
.lgbl-clinic:checked {
    background: #0f4589;
    border-color: #0f4589;
}

/* White tick */
.lgbl-clinic:checked::after {
    content: "";
    position: absolute;
    left: 12px;
    top: 2px;
    width: 6px;
    height: 11px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

/* Keyboard focus */
.lgbl-clinic:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(15, 69, 137, 0.18);
}

/* Clinic Badge */
.lgbl-clinic-badge {
    background: #e5272b !important;
    background-color: #e5272b !important;
    color: #ffffff !important;
}

.lgbl-clinic-badge::before {
    content: "✚";
    color: #ffffff !important;
    margin-right: 6px;
    font-weight: 700;
}
