body {
    --tg-primary-color: #7abc2f;
}

.rc-post-date,
.rc-post-date i {
    color: #7abc2f;
}

.mebe-home {
    color: var(--mebe-text);
    background: #fff;
    font-family: "Be Vietnam Pro", sans-serif;
}

.mebe-home a {
    color: inherit;
}

.mebe-topbar {
    background: var(--mebe-blue);
}

.mebe-topbar a,
.mebe-topbar span {
    font-size: 0.92rem;
}

.mebe-navbar {
    background: linear-gradient(90deg, #ffffff 0 30%, var(--mebe-primary) 30% 100%);
    box-shadow: 0 12px 30px rgba(17, 34, 68, 0.08);
    overflow: hidden;
    position: relative;
}

.mebe-mobile-menu-area {
    background: #fff;
    box-shadow: 0 10px 24px rgba(17, 34, 68, 0.08);
    padding: 14px 0;
}

.mebe-mobile-menu-area .menu-wrap {
    width: 100%;
}

.mebe-mobile-menu-area .menu-nav {
    justify-content: space-between;
    width: 100%;
}

.mebe-mobile-menu-area .logo img {
    max-width: 180px;
    width: auto;
    height: 48px;
    object-fit: contain;
}

.mebe-mobile-menu-area .mobile-nav-toggler {
    flex: 0 0 auto;
    margin-top: 0;
    background: var(--mebe-primary);
}

.mebe-navbar .row {
    background: var(--mebe-primary);
}

.mebe-brand-panel {
    position: relative;
    z-index: 2;
    min-height: 80px;
    background: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 1rem 0 1.5rem;
    clip-path: polygon(0 0, 100% 0, 88% 100%, 0 100%);
}

.mebe-brand {
    margin: 0;
}

.mebe-brand img {
    height: 56px;
    width: auto;
}

.mebe-nav-panel {
    min-height: 80px;
    background: var(--mebe-primary);
    display: flex;
    align-items: center;
    margin-left: -4rem;
    padding-left: 3.5rem;
}

.mebe-navbar .navbar-collapse {
    width: 100%;
}

.mebe-navbar .navbar-nav {
    row-gap: 0.25rem;
}

.mebe-navbar .nav-link {
    color: #fff;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 0 0.8rem;
    white-space: nowrap;
}

.mebe-navbar .nav-link:hover,
.mebe-navbar .nav-link:focus,
.mebe-navbar .dropdown-item:hover {
    color: #eef9de;
}

.mebe-navbar .dropdown-menu {
    border: 0;
    border-radius: 1rem;
    padding: 0.75rem 0;
    box-shadow: 0 20px 40px rgba(20, 51, 93, 0.15);
}

.mebe-navbar .dropdown-item {
    color: var(--mebe-navy);
    font-weight: 600;
    padding: 0.6rem 1rem;
}

.mebe-search-btn {
    color: #fff;
    font-weight: 700;
}

.mebe-search-btn {
    border: 0;
    background: transparent;
    line-height: 1;
    padding: 0;
}

.mebe-appointment-btn {
    background: #fff;
    color: var(--mebe-primary) !important;
    border-radius: 999px;
    font-size: 0.8rem;
    text-transform: uppercase;
    padding: 0.6rem 1.1rem;
    white-space: nowrap;
}

.mebe-appointment-btn:hover {
    background: #f5f9ef;
    color: var(--mebe-primary-dark) !important;
}

.mebe-flag-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
}

.mebe-flag-link img {
    width: 28px;
    height: 20px;
    object-fit: cover;
}

.mebe-hero .carousel-item {
    height: min(62vh, 500px);
}

.mebe-hero .carousel-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center center;
}

.mebe-hero .carousel-item::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.18), rgba(0, 0, 0, 0.08));
}

.mebe-hero .carousel-caption {
    z-index: 2;
    right: auto;
    left: 50%;
    top: 50%;
    bottom: auto;
    transform: translate(-50%, -50%);
    width: min(1320px, calc(100% - 2rem));
    text-align: center;
}

.mebe-hero .carousel-caption h2 {
    font-size: clamp(2rem, 3.4vw, 3.65rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    text-transform: uppercase;
    margin-bottom: 1.15rem;
    text-shadow: 0 2px 18px rgba(0, 0, 0, 0.15);
}

.mebe-hero-btn {
    padding: 0.6rem 1.15rem;
    font-size: 0.8rem;
    border-radius: 999px;
    box-shadow: none;
}

.mebe-btn-outline,
.mebe-btn-primary {
    border-radius: 999px;
    padding: 0.9rem 1.8rem;
    font-weight: 700;
    border: 2px solid transparent;
}

.mebe-btn-outline {
    color: #fff;
    border-color: #fff;
}

.mebe-btn-outline:hover {
    background: #fff;
    color: var(--mebe-primary-dark);
}

.mebe-btn-primary {
    background: var(--mebe-primary);
    color: #fff;
}

.mebe-btn-primary:hover {
    background: var(--mebe-primary-dark);
    color: #fff;
}

.mebe-section {
    padding: 5rem 0;
}

.mebe-featured {
    padding-top: 0;
    margin-top: 0;
    z-index: 3;
}

.mebe-section-title {
    margin-bottom: 2.5rem;
}

.mebe-section-title span {
    display: block;
    color: var(--mebe-primary);
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 0.5rem;
}

.mebe-section-title h2 {
    color: var(--mebe-navy);
    font-size: clamp(1.9rem, 3vw, 3rem);
    font-weight: 800;
    line-height: 1.2;
    text-transform: uppercase;
    margin: 0;
}

.mebe-card,
.mebe-service,
.mebe-doctor,
.mebe-post,
.mebe-booking-card {
    background: #fff;
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
}

.mebe-card-image img,
.mebe-post img,
.mebe-doctor img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mebe-card-image {
    aspect-ratio: 1 / 0.72;
}

.mebe-card-body,
.mebe-post-body,
.mebe-doctor-body {
    padding: 1.5rem;
}

.mebe-card-body h3,
.mebe-card-body .card-title,
.mebe-service h3,
.mebe-post-body h3,
.mebe-doctor-body h4 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 0.9rem;
}

.mebe-card-body {
    background: var(--mebe-blue);
    text-align: center;
    padding: 1rem 1.15rem 1.25rem;
    min-height: 140px;
}

.mebe-featured-row {
    z-index: 3;
}

.mebe-card-body p {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.8rem;
    line-height: 1.9;
    margin-bottom: 1rem;
}

.mebe-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--mebe-primary);
    color: #fff !important;
    border: 1px solid #fff;
    border-radius: 0.75rem;
    padding: 0.45rem 1rem;
    font-size: 0.72rem;
    text-decoration: none;
    box-shadow: none;
}

.mebe-card-btn:hover {
    background: var(--mebe-primary-dark);
    color: #fff !important;
}

.mebe-service {
    padding: 0.5rem 0.75rem;
    height: 100%;
    display: flex;
    align-items: flex-start;
    gap: 0.9rem;
}

.mebe-service-icon {
    width: 3rem;
    height: 3rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--mebe-primary-dark);
    font-size: 2.1rem;
    flex: 0 0 auto;
}

.mebe-service h3 {
    color: var(--mebe-navy);
    font-size: 0.95rem;
    margin-bottom: 0.45rem;
}

.mebe-service p {
    color: #727c8d;
    font-size: 0.75rem;
    line-height: 1.9;
    margin: 0;
}

.mebe-counter {
    padding: 3rem 0;
    background: #79ca00;
}

.mebe-counter-item {
    color: #fff;
}

.mebe-counter-number {
    font-size: clamp(2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1;
    margin-bottom: 0.75rem;
}

.mebe-counter-item p {
    margin: 0;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 0.04em;
}

.mebe-doctor-section {
    padding-bottom: 3.5rem;
}

.mebe-doctor img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
}

.mebe-doctor-role {
    color: var(--mebe-primary-dark);
    font-weight: 700;
    font-size: 0.88rem;
    margin-bottom: 0.4rem;
}

.mebe-doctor {
    border-radius: 0;
}

.mebe-doctor-body {
    padding: 0.5rem 1rem;
}

.mebe-doctor-body h4 {
    color: var(--mebe-navy);
    font-size: 0.95rem;
    margin-bottom: 0.2rem;
}

.mebe-doctor-body p {
    color: #727c8d;
    font-size: 0.76rem;
    line-height: 1.8;
}

.mebe-readmore {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    color: var(--mebe-primary-dark);
    font-size: 0.75rem;
    font-weight: 700;
    text-decoration: none;
}

.mebe-outline-green {
    padding: 0.45rem 1rem;
    font-size: 0.72rem;
    border: 1px solid #fff;
}

.mebe-gallery {
    position: relative;
    background: linear-gradient(rgba(0, 35, 78, 0.72), rgba(0, 35, 78, 0.72)),
        url("/imgs/sites/mebe/bv-auco/DSCK_Khoa-nhi-so-sinh.webp");
    background-position: center;
    background-size: cover;
}

.mebe-gallery img {
    width: 100%;
    aspect-ratio: 1 / 0.72;
    object-fit: cover;
    border-radius: 0;
    box-shadow: none;
    display: block;
}

.mebe-gallery-grid {
    overflow: hidden;
}

.mebe-gallery-highlight {
    position: relative;
}

.mebe-gallery-overlay {
    position: absolute;
    inset: 0;
    background: rgba(121, 202, 0, 0.65);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.mebe-gallery-btn {
    background: transparent;
    border: 1px solid #fff;
    color: #fff;
    padding: 0.45rem 1rem;
    font-size: 0.72rem;
}

.mebe-gallery-btn:hover {
    background: #fff;
    color: var(--mebe-primary-dark);
}

.mebe-post img {
    aspect-ratio: 16 / 10;
    border: 1px solid #d7e8b6;
}

.mebe-post-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    color: var(--mebe-primary-dark);
    font-size: 0.72rem;
    font-weight: 500;
    margin-bottom: 0.9rem;
}

.mebe-post {
    box-shadow: none;
}

.mebe-post-body {
    padding: 0.85rem 0 0;
}

.mebe-post .post-title,
.mebe-post .post-info {
    display: block;
}

.mebe-post-body h3 {
    color: #222;
    font-size: 0.98rem;
    font-weight: 700;
    line-height: 1.55;
    margin-bottom: 0.85rem;
    text-transform: uppercase;
}

.mebe-post-body p {
    color: #727c8d;
    font-size: 0.8rem;
    line-height: 1.9;
    margin: 0;
}

.mebe-post-body a {
    color: inherit;
    text-decoration: none;
}

.mebe-post-category {
    color: #8ac53e;
    font-style: italic;
    text-decoration: none;
}

.mebe-post-date {
    color: #9a9a9a;
}

.mebe-post-date i {
    margin-right: 0.3rem;
}

.mebe-post .post-desc p {
    margin: 0;
}

.mebe-booking {
    background: #efefef;
}

.mebe-booking-wrap {
    background: #efefef;
}

.mebe-booking-visual {
    min-height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-top: 2rem;
}

.mebe-booking-visual img {
    width: 100%;
    max-width: 430px;
    object-fit: contain;
}

.mebe-booking-card {
    padding: 2.5rem 2rem;
    background: transparent;
    box-shadow: none;
}

.mebe-booking-card .form-control,
.mebe-booking-card .form-select {
    border-radius: 0;
    min-height: 2.4rem;
    border-color: #cfd3d8;
    font-size: 0.78rem;
}

.mebe-booking-card .form-label {
    font-size: 0.78rem;
    margin-bottom: 0.2rem;
}

.mebe-booking-card textarea.form-control {
    min-height: 7rem;
}

.mebe-footer {
    background: #0057b8;
    color: #dbe6f2;
    padding: 3rem 0 2rem;
}

.mebe-footer h3,
.mebe-footer h4 {
    color: #fff;
    font-weight: 800;
    margin-bottom: 1rem;
}

.mebe-footer a {
    color: #dbe6f2;
    text-decoration: none;
}

.mebe-footer li + li {
    margin-top: 0.6rem;
}

.mebe-footer ul li {
    font-size: 0.78rem;
}

.mebe-contact-list i {
    color: var(--mebe-primary);
    margin-right: 0.7rem;
}

.mebe-footer-contact-box {
    background: #fff;
    color: #4f5c71;
    min-height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    font-size: 0.75rem;
    padding: 0.45rem 0.85rem;
}

.mebe-footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    margin-top: 2rem;
    padding-top: 1.25rem;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    align-items: center;
}

.mebe-socials {
    display: flex;
    gap: 0.7rem;
}

.mebe-socials a {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--mebe-primary);
    color: #fff;
    text-decoration: none;
}

.mebe-float {
    width: 3rem;
    height: 3rem;
    border-radius: 0.35rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: #95d13c;
    color: #fff;
    text-decoration: none;
    font-size: 1.15rem;
    position: fixed;
    right: 1.25rem;
    z-index: 1025;
    box-shadow: 0 12px 24px rgba(15, 34, 63, 0.14);
    transition: transform 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
    cursor: pointer;
}

.mebe-float:hover {
    color: #fff;
    background: #7fbe28;
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 14px 24px rgba(15, 34, 63, 0.2);
}

.mebe-float,
.mebe-float i,
.mebe-float span {
    color: #fff !important;
}

.mebe-float i {
    line-height: 1;
}

.mebe-float-messenger {
    bottom: 8.4rem;
}

.mebe-float-phone {
    bottom: 5.1rem;
    background: #95d13c;
}

.mebe-float-top {
    bottom: 1.8rem;
}

@media (max-width: 1199.98px) {
    .mebe-brand-panel {
        clip-path: none;
        min-height: auto;
        justify-content: flex-start;
        padding: 1rem 1.25rem;
    }

    .mebe-nav-panel {
        min-height: auto;
        margin-left: 0;
        padding-left: 0;
        padding-right: 0;
    }

    .mebe-float {
        width: 2.75rem;
        height: 2.75rem;
        right: 1rem;
        font-size: 1rem;
    }

    .mebe-float-messenger {
        bottom: 8rem;
    }

    .mebe-float-phone {
        bottom: 4.95rem;
    }

    .mebe-float-top {
        bottom: 1.9rem;
    }

    .mebe-navbar .nav-link {
        padding: 0.75rem 0;
    }

    .mebe-nav-actions {
        justify-content: flex-start;
        flex-wrap: wrap;
    }

    .mebe-hero .carousel-caption {
        width: calc(100% - 2rem);
    }
}

@media (max-width: 767.98px) {
    .mebe-section,
    .mebe-counter,
    .mebe-footer {
        padding-top: 3rem;
        padding-bottom: 3rem;
    }

    .mebe-hero .carousel-item {
        height: 540px;
    }

    .mebe-hero .carousel-caption h2 {
        font-size: 2rem;
    }

    .mebe-card {
        top: 0;
    }

    .mebe-featured {
        padding-top: 2rem;
        margin-top: 0;
    }

    .mebe-service {
        flex-direction: column;
    }

    .mebe-booking-visual {
        min-height: auto;
    }

    .mebe-brand img {
        height: 50px;
    }

    .mebe-search-btn {
        font-size: 1.5rem;
    }
}
