/*
Theme Name: MHXStudio-XN
Description: This is a child theme for Flatsome Theme
Author: UX Themes
Template: flatsome
Version: 3.10
*/

/*************** ADD CUSTOM CSS HERE.   ***************/




/* UTM Neo Sans Intel - Regular */
@font-face {
  font-family: "UTMNeoSansIntel";
  src: url("fonts/UTMNeoSansIntel.eot");
  src: url("fonts/UTMNeoSansIntel.eot?#iefix") format("embedded-opentype"),
       url("fonts/UTMNeoSansIntel.woff") format("woff"),
       url("fonts/UTMNeoSansIntel.ttf") format("truetype"),
       url("fonts/UTMNeoSansIntel.svg#UTMNeoSansIntel") format("svg");
  font-weight: 400;
  font-style: normal;
  font-display: swap;

  /* Bù khoảng trống phía trên của font */
  ascent-override: 88%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* UTM Neo Sans Intel - Bold */
@font-face {
  font-family: "UTMNeoSansIntel";
  src: url("fonts/UTMNeoSansIntelBold.eot");
  src: url("fonts/UTMNeoSansIntelBold.eot?#iefix") format("embedded-opentype"),
       url("fonts/UTMNeoSansIntelBold.woff") format("woff"),
       url("fonts/UTMNeoSansIntelBold.ttf") format("truetype"),
       url("fonts/UTMNeoSansIntelBold.svg#UTMNeoSansIntelBold") format("svg");
  font-weight: 700;
  font-style: normal;
  font-display: swap;

  /* Giữ metrics giống font Regular */
  ascent-override: 88%;
  descent-override: 22%;
  line-gap-override: 0%;
}

/* UTM Cafeta */
@font-face {
  font-family: "UTMCafeta";
  src: url("fonts/UTMCafeta.eot");
  src: url("fonts/UTMCafeta.eot?#iefix") format("embedded-opentype"),
       url("fonts/UTMCafeta.woff") format("woff"),
       url("fonts/UTMCafeta.ttf") format("truetype"),
       url("fonts/UTMCafeta.svg#UTMCafeta") format("svg");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
}

/* Áp dụng font chính cho Flatsome */
body,
input,
textarea,
select,
button,
.button,
.nav > li > a {
  font-family: "UTMNeoSansIntel", Arial, sans-serif;
}

/* Dùng file Bold thật */
strong,
b,
h1,
h2,
h3,
h4,
h5,
h6,
.heading-font,
.product-title,
.woocommerce-loop-product__title,
.widget-title,
.section-title-main,
.button,
.nav > li > a {
  font-family: "UTMNeoSansIntel", Arial, sans-serif;
  font-weight: 700;
}










/* Box danh mục xét nghiệm - gọn, nền trắng */
.item-xn-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    width: 100%;
    min-height: 95px;
    padding: 10px 8px;

    background: #ffffff;
    border: 1px solid #edf1f3;
    border-radius: 12px;

    text-align: center;
    text-decoration: none !important;

    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.035);
    transition: all 0.22s ease;

    position: relative;
    overflow: hidden;
}

/* Bỏ toàn bộ nền trang trí cũ nếu có */
.item-xn-box::before,
.item-xn-box::after {
    display: none !important;
}

/* Icon không nền */
.item-xn-wrap {
    width: auto;
    height: auto;
    min-width: unset;

    display: flex;
    align-items: center;
    justify-content: center;

    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;

    margin: 0 0 6px 0;
    padding: 0;
}

/* Ảnh icon */
.item-xn-wrap img,
.item-xn {
    width: 38px !important;
    height: 38px !important;
    object-fit: contain;
    display: block;
}

/* Tiêu đề */
.item-xn-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;

    color: #092f4b;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.25;

    min-height: 34px;
    max-width: 100%;

    transition: color 0.22s ease;
}

/* Hover nhẹ */
.item-xn-box:hover {
    transform: translateY(-2px);
    border-color: #00aeef;
    box-shadow: 0 6px 16px rgba(0, 174, 239, 0.16);
}

.item-xn-box:hover .item-xn-title {
    color: #009bd6;
}

.item-xn-box:hover .item-xn-wrap img,
.item-xn-box:hover .item-xn {
    transform: scale(1.05);
}

/* Giảm khoảng cách cột trong Flatsome */
.row .col:has(.item-xn-box) {
    padding-bottom: 10px;
}

/* Mobile */
@media (max-width: 549px) {
    .item-xn-box {
        min-height: 88px;
        padding: 8px 6px;
        border-radius: 10px;
    }

    .item-xn-wrap {
        margin-bottom: 5px;
    }

    .item-xn-wrap img,
    .item-xn {
        width: 34px !important;
        height: 34px !important;
    }

    .item-xn-title {
        font-size: 13px;
        min-height: 32px;
    }
}





































@media only screen and (max-width: 48em) {
/*************** ADD MOBILE ONLY CSS HERE  ***************/


}
/*************** MHX LAB ARCHIVE + SINGLE TEMPLATES ***************/
.mhx-xn-page {
    background: #f7fcff;
}

.mhx-xn-page.page-wrapper {
    padding-top: 28px;
    padding-bottom: 48px;
}

.mhx-xn-breadcrumbs {
    margin-bottom: 18px;
    color: #5d7168;
    font-size: 13px;
}

.mhx-xn-breadcrumbs p {
    margin-bottom: 0;
}

.mhx-xn-archive-head {
    max-width: 850px;
    margin: 0 auto 30px;
}

.mhx-xn-single-hero__kicker,
.mhx-xn-card__label {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 174, 239, .10);
    color: #009bd6;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .01em;
}

.mhx-xn-archive-head__title {
    margin: 12px 0 10px;
    color: #092f4b;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.12;
}

.mhx-xn-archive-head__desc {
    margin: 0 auto;
    color: #668398;
    font-size: 16px;
    line-height: 1.65;
}

.mhx-xn-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 22px;
}

.mhx-xn-card {
    height: 100%;
}

.mhx-xn-card__link {
    display: flex;
    flex-direction: column;
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 174, 239, .16);
    border-radius: 20px;
    background: #fff;
    color: inherit;
    text-decoration: none !important;
    box-shadow: 0 12px 32px rgba(0, 174, 239, 0.07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.mhx-xn-card__link:hover {
    transform: translateY(-4px);
    border-color: #00aeef;
    box-shadow: 0 18px 42px rgba(0, 174, 239, 0.16);
}

.mhx-xn-card__thumb {
    position: relative;
    aspect-ratio: auto;
    background: linear-gradient(135deg, #e9f8f0, #f6fbff);
    overflow: hidden;
}

.mhx-xn-card__img {
    width: 100%;
    height: auto;
    object-fit: contain;
    display: block;
    transition: transform .25s ease;
}

.mhx-xn-card__link:hover .mhx-xn-card__img {
    transform: scale(1.04);
}

.mhx-xn-card__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #009bd6;
    font-size: 42px;
    font-weight: 600;
}

.mhx-xn-card__body {
    display: flex;
    flex-direction: column;
    flex: 1;
    padding: 18px;
}

.mhx-xn-card__title {
    margin: 12px 0 8px;
    color: #092f4b;
    font-size: 20px;
    line-height: 1.3;
}

.mhx-xn-card--package .mhx-xn-card__title {
    margin-top: 0;
}

.mhx-xn-card__price {
    margin-bottom: 8px;
    color: #009bd6;
    font-size: 18px;
    font-weight: 700;
}

.mhx-xn-card__terms,
.mhx-xn-single-hero__terms {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 10px;
}

.mhx-xn-card__terms span,
.mhx-xn-single-hero__terms em {
    display: inline-flex;
    padding: 4px 9px;
    border-radius: 999px;
    background: #f0f6f3;
    color: #456458;
    font-size: 12px;
    font-style: normal;
    line-height: 1.3;
}

.mhx-xn-card__desc {
    margin: 0 0 16px;
    color: #617d8f;
    font-size: 16px;
    line-height: 1.6;
}

.mhx-xn-filter {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 28px;
}

.mhx-xn-filter a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #dce9e3;
    border-radius: 999px;
    background: #fff;
    color: #31576e;
    font-size: 16px;
    line-height: 1.25;
    text-decoration: none !important;
}

.mhx-xn-filter a:hover,
.mhx-xn-filter a.is-active {
    border-color: #00aeef;
    background: #00aeef;
    color: #fff;
}

.mhx-xn-pagination {
    margin-top: 30px;
}

.mhx-xn-empty {
    padding: 34px 20px;
    border: 1px dashed #cadbd3;
    border-radius: 18px;
    background: #fff;
    color: #587066;
}

.mhx-xn-single-hero {
    overflow: hidden;
    margin-bottom: 30px;
    padding: 32px;
    border: 1px solid rgba(0, 174, 239, .16);
    border-radius: 26px;
    background: radial-gradient(circle at top right, rgba(0, 174, 239, .13), transparent 34%), #fff;
    box-shadow: 0 16px 45px rgba(0, 174, 239, 0.08);
}

.mhx-xn-single-hero__title {
    margin: 14px 0 12px;
    color: #092f4b;
    font-size: clamp(32px, 4.6vw, 54px);
    line-height: 1.1;
}

.mhx-xn-single-hero__desc,
.mhx-xn-single-hero__intro {
    color: #566e63;
    font-size: 16px;
    line-height: 1.7;
}

.mhx-xn-single-hero__desc p:last-child,
.mhx-xn-single-hero__intro p:last-child,
.mhx-xn-single-hero__intro ul:last-child,
.mhx-xn-single-hero__intro ol:last-child {
    margin-bottom: 0;
}

.mhx-xn-single-hero__intro ul,
.mhx-xn-single-hero__intro ol {
    margin-left: 0;
    padding-left: 0;
    list-style: none;
}

.mhx-xn-single-hero__intro li {
    position: relative;
    margin: 0 0 9px;
    padding-left: 22px;
}

.mhx-xn-single-hero__intro li::before {
    content: "";
    position: absolute;
    left: 0;
    top: .72em;
    width: 8px;
    height: 8px;
    border-radius: 999px;
    background: var(--mhx-tass-orange, #f58220);
    box-shadow: 0 0 0 4px rgba(245, 130, 32, .14);
}

.mhx-xn-single-hero__meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    margin: 18px 0;
}

.mhx-xn-single-hero__price {
    display: inline-flex;
    align-items: center;
    padding: 9px 14px;
    border-radius: 12px;
    background: #fff4df;
    color: #b66d00;
    font-size: 18px;
    font-weight: 700;
}

.mhx-xn-single-hero__btn {
    margin-bottom: 0;
}

.mhx-xn-single-hero__media {
    overflow: hidden;
    border-radius: 22px;
    background: #e9f8f0;
    box-shadow: inset 0 0 0 1px rgba(0, 174, 239, .13);
}

.mhx-xn-single-hero__img {
    width: 100%;
    height: 340px;
    object-fit: cover;
    display: block;
}

.mhx-xn-single-hero__placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
    padding: 30px;
    color: #009bd6;
    font-size: 22px;
    font-weight: 600;
    text-align: center;
}

.mhx-xn-single-content {
    max-width: 100%;
}

.mhx-xn-template-section,
.mhx-xn-single-content > section,
.mhx-xn-related {
    margin-top: 28px;
}

.mhx-xn-single-content > p,
.mhx-xn-single-content > ul,
.mhx-xn-single-content > ol,
.mhx-xn-single-content > blockquote {
    max-width: 900px;
}

.mhx-xn-section-title,
.mhx-xn-related .mhx-xn-section-title {
    margin: 0 0 18px;
    color: #092f4b;
    font-size: 28px;
    line-height: 1.25;
}

.mhx-xn-related {
    padding-top: 28px;
    border-top: 1px solid rgba(0, 174, 239, .16);
}

@media (max-width: 849px) {
    .mhx-xn-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .mhx-xn-single-hero {
        padding: 24px;
    }

    .mhx-xn-single-hero__img {
        height: 260px;
    }
}

@media (max-width: 549px) {
    .mhx-xn-page.page-wrapper {
        padding-top: 18px;
        padding-bottom: 32px;
    }

    .mhx-xn-grid {
        grid-template-columns: 1fr;
    }

    .mhx-xn-archive-head {
        margin-bottom: 22px;
    }

    .mhx-xn-card__body {
        padding: 16px;
    }

    .mhx-xn-single-hero {
        padding: 18px;
        border-radius: 20px;
    }

    .mhx-xn-single-hero__img {
        height: 220px;
    }

    .mhx-xn-filter {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .mhx-xn-filter a {
        white-space: nowrap;
    }
}

/*************** MHX PROMOTION + BLOG TEMPLATES ***************/
.mhx-promo-head,
.mhx-blog-head,
.mhx-single-post-head {
    max-width: 880px;
    margin: 0 auto 30px;
}

.mhx-promo-head__kicker {
    display: inline-flex;
    align-items: center;
    width: max-content;
    max-width: 100%;
    padding: 5px 12px;
    border-radius: 999px;
    background: rgba(0, 174, 239, .10);
    color: #009bd6;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: .01em;
}

.mhx-promo-head__title,
.mhx-blog-head__title,
.mhx-single-post-head__title,
.mhx-promo-single-hero__title {
    margin: 12px 0 10px;
    color: #092f4b;
    font-size: clamp(30px, 4vw, 48px);
    line-height: 1.12;
}

.mhx-promo-head__desc,
.mhx-blog-head__desc,
.mhx-single-post-head__meta,
.mhx-promo-single-hero__excerpt {
    color: #668398;
    font-size: 16px;
    line-height: 1.65;
}

.mhx-promo-grid {
    align-items: stretch;
}

.mhx-promo-grid > .col {
    margin-bottom: 22px;
}

.mhx-promo-grid > .col > .col-inner {
    height: 100%;
}

.mhx-post-grid {
    display: grid;
    gap: 22px;
}

.mhx-post-grid--3 {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.mhx-post-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.mhx-promo-card,
.mhx-post-card {
    height: 100%;
    overflow: hidden;
    border: 1px solid rgba(0, 174, 239, .16);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 174, 239, 0.07);
    transition: transform .22s ease, border-color .22s ease, box-shadow .22s ease;
}

.mhx-promo-card:hover,
.mhx-post-card:hover {
    transform: translateY(-4px);
    border-color: #00aeef;
    box-shadow: 0 18px 42px rgba(0, 174, 239, 0.16);
}

.mhx-promo-card__media,
.mhx-post-card__media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient(135deg, #e9f8f0, #f6fbff);
    text-decoration: none !important;
}

.mhx-promo-card__img,
.mhx-post-card__img,
.mhx-single-post-thumb__img,
.mhx-promo-single-hero__img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mhx-promo-card__img,
.mhx-post-card__img {
    transition: transform .25s ease;
}

.mhx-promo-card:hover .mhx-promo-card__img,
.mhx-post-card:hover .mhx-post-card__img {
    transform: scale(1.04);
}

.mhx-promo-card__placeholder,
.mhx-post-card__placeholder,
.mhx-promo-single-hero__placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #009bd6;
    font-size: 22px;
    font-weight: 600;
}

.mhx-promo-card__meta-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    margin-bottom: 10px;
}

.mhx-promo-card__badge {
    display: inline-flex;
    align-items: center;
    flex: 0 1 auto;
    min-width: 0;
    padding: 5px 11px;
    border-radius: 999px;
    background: #00aeef;
    color: #fff;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mhx-promo-card__body,
.mhx-post-card__body {
    padding: 18px;
}

.mhx-promo-card__date,
.mhx-post-card__meta {
    color: #70847a;
    font-size: 13px;
    line-height: 1.5;
}

.mhx-promo-card__title,
.mhx-post-card__title {
    margin: 10px 0 8px;
    color: #092f4b;
    font-size: 20px;
    line-height: 1.3;
}

.mhx-promo-card__title a,
.mhx-post-card__title a,
.mhx-sidebar-post,
.mhx-post-card__more {
    color: inherit;
    text-decoration: none !important;
}

.mhx-promo-card__title a:hover,
.mhx-post-card__title a:hover,
.mhx-post-card__more:hover {
    color: #009bd6;
}

.mhx-promo-card__excerpt,
.mhx-post-card__excerpt {
    margin: 0 0 14px;
    color: #617d8f;
    font-size: 16px;
    line-height: 1.6;
}

.mhx-promo-card__actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.mhx-promo-card__actions .button,
.mhx-promo-cta,
.mhx-promo-side-card .button {
    margin-bottom: 0;
}

.mhx-promo-single-hero {
    overflow: hidden;
    margin-bottom: 30px;
    padding: 32px;
    border: 1px solid rgba(0, 174, 239, .16);
    border-radius: 26px;
    background: radial-gradient(circle at top right, rgba(0, 174, 239, .13), transparent 34%), #fff;
    box-shadow: 0 16px 45px rgba(0, 174, 239, 0.08);
}

.mhx-promo-single-hero__media {
    position: relative;
    overflow: hidden;
    border-radius: 22px;
    background: #e9f8f0;
    min-height: 320px;
}

.mhx-promo-single-hero__img {
    min-height: 320px;
}

.mhx-promo-info-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 12px;
    margin-top: 20px;
}

.mhx-promo-info-card,
.mhx-promo-side-card,
.mhx-sidebar-box {
    border: 1px solid rgba(0, 174, 239, .16);
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 174, 239, 0.07);
}

.mhx-promo-info-card {
    padding: 12px 16px;
}

.mhx-promo-info-card span,
.mhx-promo-side-card__item span {
    display: block;
    color: #6a8176;
    font-size: 13px;
    line-height: 1.4;
}

.mhx-promo-info-card strong,
.mhx-promo-side-card__item strong {
    display: block;
    color: #092f4b;
    font-size: 16px;
    line-height: 1.45;
}

.mhx-promo-content,
.mhx-single-post-content {
    padding: 26px;
    border: 1px solid rgba(0, 174, 239, .16);
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 12px 32px rgba(0, 174, 239, 0.06);
}

.mhx-promo-content > *:last-child,
.mhx-single-post-content > *:last-child {
    margin-bottom: 0;
}

.mhx-promo-side-card {
    position: sticky;
    top: 24px;
    padding: 22px;
}

.mhx-promo-side-card h2,
.mhx-sidebar-box h3 {
    margin: 0 0 14px;
    color: #092f4b;
    font-size: 20px;
    line-height: 1.3;
}

.mhx-promo-side-card__item {
    padding: 14px 0;
    border-top: 1px solid rgba(0, 174, 239, .12);
}

.mhx-promo-side-card__item div {
    margin-top: 6px;
    color: #576f64;
    font-size: 16px;
    line-height: 1.65;
}

.mhx-promo-related,
.mhx-related-posts {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 1px solid rgba(0, 174, 239, .16);
}

.mhx-section-heading {
    margin: 0 0 18px;
    color: #092f4b;
    font-size: 28px;
    line-height: 1.25;
}

.mhx-blog-cats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    margin: 0 0 28px;
}

.mhx-blog-cats a {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border: 1px solid #dce9e3;
    border-radius: 999px;
    background: #fff;
    color: #31576e;
    font-size: 16px;
    line-height: 1.25;
    text-decoration: none !important;
}

.mhx-blog-cats a:hover,
.mhx-blog-cats a.is-active {
    border-color: #00aeef;
    background: #00aeef;
    color: #fff;
}

.mhx-post-card__cat {
    display: inline-flex;
    width: max-content;
    max-width: 100%;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(0, 174, 239, .10);
    color: #009bd6 !important;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.3;
    text-decoration: none !important;
}

.mhx-post-card__more {
    display: inline-flex;
    margin-top: 4px;
    color: #009bd6;
    font-size: 16px;
    font-weight: 600;
}

.mhx-blog-sidebar {
    display: grid;
    gap: 18px;
}

.mhx-sidebar-box {
    padding: 18px;
}

.mhx-sidebar-box .mhx-blog-cats {
    justify-content: flex-start;
    margin-bottom: 0;
}

.mhx-sidebar-posts {
    display: grid;
    gap: 0;
}

.mhx-sidebar-post {
    display: block;
    padding: 12px 0;
    border-top: 1px solid rgba(0, 174, 239, .12);
}

.mhx-sidebar-post span {
    display: block;
    color: #092f4b;
    font-size: 16px;
    font-weight: 600;
    line-height: 1.45;
}

.mhx-sidebar-post em {
    display: block;
    margin-top: 3px;
    color: #71847b;
    font-size: 12px;
    font-style: normal;
}

.mhx-single-post-head__meta {
    display: flex;
    justify-content: center;
    gap: 12px;
}

.mhx-single-post-head__meta span + span::before {
    content: '•';
    margin-right: 12px;
    color: #9aad9f;
}

.mhx-single-post-thumb {
    overflow: hidden;
    margin: 0 auto 28px;
    max-width: 1060px;
    max-height: 520px;
    border-radius: 24px;
    background: #e9f8f0;
    box-shadow: 0 16px 45px rgba(0, 174, 239, 0.08);
}

.mhx-single-post-thumb__img {
    max-height: 520px;
}

.mhx-share-box {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
    margin-top: 20px;
    padding: 14px;
    border: 1px solid rgba(0, 174, 239, .16);
    border-radius: 16px;
    background: #fff;
}

.mhx-share-box span {
    color: #092f4b;
    font-weight: 600;
}

.mhx-share-box a,
.mhx-copy-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    padding: 7px 12px;
    border: 1px solid #dce9e3;
    border-radius: 999px;
    background: #f7fcff;
    color: #31576e;
    font-size: 13px;
    line-height: 1.3;
    text-decoration: none !important;
    cursor: pointer;
}

.mhx-share-box a:hover,
.mhx-copy-link:hover {
    border-color: #00aeef;
    background: #00aeef;
    color: #fff;
}

.mhx-copy-link {
    font-family: inherit;
}

@media (max-width: 849px) {
    .mhx-post-grid--3,
    .mhx-post-grid--2 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 16px;
    }

    .mhx-promo-grid > .col {
        margin-bottom: 16px;
    }

    .mhx-promo-single-hero {
        padding: 24px;
    }

    .mhx-promo-side-card {
        position: static;
    }
}

@media (max-width: 549px) {
    .mhx-post-grid--3,
    .mhx-post-grid--2 {
        grid-template-columns: 1fr;
    }

    .mhx-promo-head,
    .mhx-blog-head,
    .mhx-single-post-head {
        margin-bottom: 22px;
    }

    .mhx-promo-single-hero,
    .mhx-promo-content,
    .mhx-single-post-content {
        padding: 18px;
        border-radius: 18px;
    }

    .mhx-promo-single-hero__media,
    .mhx-promo-single-hero__img {
        min-height: 220px;
    }

    .mhx-blog-cats {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 4px;
    }

    .mhx-blog-cats a {
        white-space: nowrap;
    }

    .mhx-promo-card__actions {
        flex-direction: column;
    }

    .mhx-promo-card__actions .button {
        width: 100%;
    }
}


/*************** MHX PROMOTION POPUP UPDATE V3.1 ***************/
.mhx-promo-archive {
    background: linear-gradient(180deg, rgba(0, 174, 239, .045), rgba(245, 130, 32, .035) 42%, rgba(255,255,255,0) 100%);
}

.mhx-promo-archive .mhx-promo-head {
    position: relative;
    padding: 28px 18px 10px;
}

.mhx-promo-archive .mhx-promo-head::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    width: min(460px, 86vw);
    height: 110px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: radial-gradient(circle, rgba(0, 174, 239, .16), transparent 64%);
    pointer-events: none;
}

.mhx-promo-head__kicker {
    position: relative;
    background: rgba(0, 174, 239, .1);
    color: #009bd6;
}

.mhx-promo-head__title {
    color: #092f4b;
}

.mhx-promo-head__desc {
    max-width: 680px;
    margin-left: auto;
    margin-right: auto;
}

.mhx-promo-card--popup {
    position: relative;
    border-color: rgba(0, 174, 239, .16);
    border-radius: 24px;
    box-shadow: 0 16px 38px rgba(6, 60, 86, .07);
}

.mhx-promo-card--popup::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    border: 1px solid transparent;
    background: linear-gradient(135deg, rgba(245, 130, 32, .5), rgba(0, 174, 239, .48)) border-box;
    -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.mhx-promo-card--popup:hover {
    border-color: rgba(0, 174, 239, .32);
    box-shadow: 0 22px 50px rgba(0, 174, 239, .14);
}

.mhx-promo-card--popup:hover::before {
    opacity: 1;
}

.mhx-promo-card--popup .mhx-promo-card__media {
    background: linear-gradient(135deg, rgba(0, 174, 239, .12), rgba(245, 130, 32, .12));
}

.mhx-promo-card--popup .mhx-promo-card__placeholder {
    color: #009bd6;
    font-weight: 700;
    letter-spacing: .06em;
}

.mhx-promo-card--popup .mhx-promo-card__meta-row {
    margin-bottom: 12px;
}

.mhx-promo-card--popup .mhx-promo-card__badge {
    max-width: 48%;
    padding: 8px 13px;
    background: linear-gradient(135deg, #f58220, #ff9d34);
    color: #fff;
    box-shadow: 0 10px 24px rgba(245, 130, 32, .3);
    font-size: 13px;
}

.mhx-promo-card--popup .mhx-promo-card__body {
    display: flex;
    flex-direction: column;
    min-height: 176px;
    padding: 20px;
}

.mhx-promo-card--popup .mhx-promo-card__date {
    display: inline-flex;
    align-items: center;
    justify-content: flex-end;
    flex: 1 1 auto;
    min-width: 0;
    padding: 6px 10px;
    border-radius: 999px;
    background: rgba(0, 174, 239, .08);
    color: #087faf;
    font-size: 13px;
    line-height: 1.35;
    text-align: right;
}

.mhx-promo-card--popup .mhx-promo-card__title {
    margin: 12px 0 18px;
    color: #092f4b;
    font-size: 21px;
    line-height: 1.32;
}

.mhx-promo-card--popup .mhx-promo-card__actions {
    margin-top: auto;
}

.mhx-promo-card--popup .mhx-promo-open {
    width: 100%;
    min-height: 42px;
    border-radius: 999px;
    background: linear-gradient(135deg, #00aeef, #008fc8) !important;
    border: 0 !important;
    box-shadow: 0 12px 24px rgba(0, 174, 239, .22);
    color: #fff !important;
    text-transform: none;
    letter-spacing: 0;
}

.mhx-promo-card--popup .mhx-promo-open:hover {
    transform: translateY(-1px);
    box-shadow: 0 16px 28px rgba(0, 174, 239, .3);
}

@media (max-width: 420px) {
    .mhx-promo-card__meta-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .mhx-promo-card--popup .mhx-promo-card__badge {
        max-width: 100%;
    }

    .mhx-promo-card--popup .mhx-promo-card__date {
        justify-content: flex-start;
        width: 100%;
        text-align: left;
    }
}

body.mhx-promo-popup-opened {
    overflow: hidden;
}

.mhx-promo-popup {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity .2s ease, visibility .2s ease;
}

.mhx-promo-popup.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.mhx-promo-popup__backdrop {
    position: absolute;
    inset: 0;
    background: rgba(5, 26, 40, .58);
    backdrop-filter: blur(4px);
}

.mhx-promo-popup__dialog {
    position: relative;
    width: min(920px, 100%);
    border-radius: 28px;
    background: #fff;
    box-shadow: 0 30px 90px rgba(0, 0, 0, .22);
    transform: translateY(14px) scale(.98);
    transition: transform .22s ease;
}

.mhx-promo-popup.is-active .mhx-promo-popup__dialog {
    transform: translateY(0) scale(1);
}

.mhx-promo-popup__dialog::before {
    content: '';
    position: absolute;
    inset: 0 0 auto 0;
    height: 8px;
    background: linear-gradient(90deg, #f58220, #00aeef);
}

.mhx-promo-popup__close {
    position: absolute;
    right: 18px;
    top: 18px;
    z-index: 2;
    width: 40px;
    height: 40px;
    border: 0;
    border-radius: 999px;
    background: rgba(9, 47, 75, .07);
    color: #092f4b;
    font-size: 28px;
    line-height: 38px;
    cursor: pointer;
}

.mhx-promo-popup__close:hover {
    background: #f58220;
    color: #fff;
}

.mhx-promo-popup__head {
    padding: 34px 34px 10px;
    background:
        radial-gradient(circle at top left, rgba(245, 130, 32, .16), transparent 36%),
        radial-gradient(circle at top right, rgba(0, 174, 239, .18), transparent 38%),
        linear-gradient(180deg, #f9fdff, #fff);
}

.mhx-promo-popup__discount {
    display: inline-flex;
    max-width: calc(100% - 54px);
    padding: 8px 14px;
    border-radius: 999px;
    background: linear-gradient(135deg, #f58220, #ff9d34);
    color: #fff;
    box-shadow: 0 10px 24px rgba(245, 130, 32, .26);
    font-size: 16px;
    font-weight: 700;
    line-height: 1.25;
}

.mhx-promo-popup__head h2 {
    margin: 14px 48px 0 0;
    color: #092f4b;
    font-size: clamp(26px, 4vw, 42px);
    line-height: 1.15;
}

.mhx-promo-popup__summary {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: stretch;
    margin: 18px 34px 0;
    padding: 14px;
    border: 1px solid rgba(0, 174, 239, .16);
    border-radius: 22px;
    background: #f7fcff;
}

.mhx-promo-popup__summary-item {
    flex: 1 1 220px;
    padding: 12px 14px;
    border-radius: 16px;
    background: #fff;
}

.mhx-promo-popup__summary-item span {
    display: block;
    color: #668398;
    font-size: 13px;
    line-height: 1.35;
}

.mhx-promo-popup__summary-item strong {
    display: block;
    margin-top: 4px;
    color: #092f4b;
    font-size: 16px;
    line-height: 1.35;
}

.mhx-promo-popup__summary-item--remain strong {
    color: #f58220;
}

.mhx-promo-popup__cta {
    align-self: center;
    margin: 0 !important;
    min-height: 46px;
    border: 0 !important;
    border-radius: 999px !important;
    background: linear-gradient(135deg, #00aeef, #008fc8) !important;
    box-shadow: 0 12px 24px rgba(0, 174, 239, .22);
    color: #fff !important;
    text-transform: none;
    letter-spacing: 0;
    white-space: nowrap;
}

.mhx-promo-popup__content {
    max-height: min(48vh, 520px);
    overflow: auto;
    padding: 26px 34px 34px;
    color: #334b5d;
    font-size: 16px;
    line-height: 1.75;
}

.mhx-promo-popup__content > *:last-child {
    margin-bottom: 0;
}

@media (max-width: 849px) {
    .mhx-promo-popup__summary-item {
        flex-basis: 100%;
    }

    .mhx-promo-popup__cta {
        width: 100%;
        justify-content: center;
    }
}

@media (max-width: 549px) {
    .mhx-promo-popup {
        padding: 12px;
        align-items: flex-end;
    }

    .mhx-promo-popup__dialog {
        border-radius: 22px 22px 0 0;
    }

    .mhx-promo-popup__head {
        padding: 28px 18px 6px;
    }

    .mhx-promo-popup__head h2 {
        margin-right: 44px;
    }

    .mhx-promo-popup__summary {
        margin: 16px 18px 0;
        padding: 10px;
    }

    .mhx-promo-popup__content {
        max-height: 42vh;
        padding: 22px 18px 28px;
    }
}


/*************** MHX LOGO COLOR + SIDEBAR UPDATE V3.3 ***************/
:root {
    --mhx-tass-orange: #f58220;
    --mhx-tass-orange-2: #ff9d34;
    --mhx-tass-blue: #00aeef;
    --mhx-tass-blue-dark: #092f4b;
    --mhx-tass-blue-text: #087faf;
    --mhx-tass-soft-blue: #f0fbff;
    --mhx-tass-soft-orange: #fff5eb;
}

.mhx-xn-page {
    background: linear-gradient(180deg, rgba(0, 174, 239, .055), rgba(245, 130, 32, .035) 46%, #fff 100%);
}

.mhx-xn-breadcrumbs {
    padding: 10px 14px;
    border: 1px solid rgba(0, 174, 239, .14);
    border-radius: 999px;
    background: rgba(255, 255, 255, .72);
    color: #668398;
    box-shadow: 0 8px 22px rgba(0, 174, 239, .06);
}

.mhx-xn-breadcrumbs a {
    color: var(--mhx-tass-blue-text);
    text-decoration: none !important;
}

.mhx-xn-breadcrumbs a:hover {
    color: var(--mhx-tass-orange);
}

.mhx-xn-single-hero__kicker,
.mhx-xn-card__label,
.mhx-promo-head__kicker,
.mhx-post-card__cat {
    background: rgba(0, 174, 239, .10);
    color: var(--mhx-tass-blue-text) !important;
}

.mhx-xn-archive-head__title,
.mhx-xn-single-hero__title,
.mhx-xn-card__title,
.mhx-promo-head__title,
.mhx-blog-head__title,
.mhx-single-post-head__title,
.mhx-section-heading,
.mhx-sidebar-box h3,
.mhx-sidebar-post span,
.mhx-post-card__title,
.mhx-promo-card__title,
.mhx-share-box span {
    color: var(--mhx-tass-blue-dark);
}

.mhx-xn-card__link,
.mhx-promo-card,
.mhx-post-card,
.mhx-sidebar-box,
.mhx-single-post-content,
.mhx-share-box {
    border-color: rgba(0, 174, 239, .16);
    box-shadow: 0 14px 34px rgba(0, 174, 239, .07);
}

.mhx-xn-card__link:hover,
.mhx-promo-card:hover,
.mhx-post-card:hover {
    border-color: rgba(0, 174, 239, .38);
    box-shadow: 0 20px 48px rgba(0, 174, 239, .15);
}

.mhx-xn-card__price,
.mhx-xn-single-hero__price,
.mhx-promo-popup__summary-item--remain strong {
    color: var(--mhx-tass-orange);
}

.mhx-xn-filter a:hover,
.mhx-xn-filter a.is-active,
.mhx-blog-cats a:hover,
.mhx-blog-cats a.is-active,
.mhx-share-box a:hover,
.mhx-copy-link:hover {
    border-color: var(--mhx-tass-blue);
    background: var(--mhx-tass-blue);
    color: #fff !important;
}

.mhx-promo-card__badge,
.mhx-promo-card--popup .mhx-promo-card__badge,
.mhx-promo-popup__discount {
    background: linear-gradient(135deg, var(--mhx-tass-orange), var(--mhx-tass-orange-2));
    box-shadow: 0 10px 24px rgba(245, 130, 32, .28);
}

.mhx-promo-card--popup .mhx-promo-open,
.mhx-promo-popup__cta,
.mhx-xn-single-hero__btn {
    background: linear-gradient(135deg, var(--mhx-tass-blue), #008fc8) !important;
    border: 0 !important;
    box-shadow: 0 12px 24px rgba(0, 174, 239, .22);
    color: #fff !important;
}

.mhx-post-card__excerpt {
    margin-bottom: 0;
}

.mhx-sidebar-lab-list {
    display: grid;
    gap: 12px;
}

.mhx-sidebar-lab-item {
    display: grid;
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    align-items: center;
    padding: 11px 0;
    border-top: 1px solid rgba(0, 174, 239, .12);
    color: inherit;
    text-decoration: none !important;
}

.mhx-sidebar-lab-item:first-child,
.mhx-sidebar-post:first-child {
    border-top: 0;
    padding-top: 0;
}

.mhx-sidebar-lab-item:hover .mhx-sidebar-lab-title,
.mhx-sidebar-post:hover span {
    color: var(--mhx-tass-blue-text);
}

.mhx-sidebar-lab-thumb {
    position: relative;
    width: 64px;
    height: 50px;
    overflow: hidden;
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 174, 239, .12), rgba(245, 130, 32, .10));
}

.mhx-sidebar-lab-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.mhx-sidebar-lab-placeholder {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--mhx-tass-blue-text);
    font-size: 12px;
    font-weight: 700;
}

.mhx-sidebar-lab-title {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    color: var(--mhx-tass-blue-dark);
    font-size: 16px;
    font-weight: 600;
    line-height: 1.38;
}

@media (max-width: 849px) {
    .mhx-sidebar-lab-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 8px 14px;
    }
}

@media (max-width: 549px) {
    .mhx-xn-breadcrumbs {
        border-radius: 14px;
    }

    .mhx-sidebar-lab-list {
        grid-template-columns: 1fr;
    }
}


/*************** MHX PROMOTION HOME SLIDER V3.8 ***************/
.mhx-promo-home-ux-slider,
.mhx-promo-home-ux-slider .slider,
.mhx-promo-home-ux-slider .slider-wrapper {
    overflow: visible;
}

.mhx-promo-slider__slide {
    padding-top: 8px;
    padding-bottom: 28px;
}

.mhx-promo-slider__slide > .col-inner {
    height: 100%;
}

.mhx-promo-slider__slide .mhx-promo-card--popup {
    height: 100%;
    margin: 0;
    background: #fff;
}

.mhx-promo-slider__slide .mhx-promo-card__media {
    min-height: 180px;
}

.mhx-promo-home-ux-slider .flickity-prev-next-button {
    border: 1px solid rgba(0, 174, 239, .18) !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(0, 174, 239, .12);
}

.mhx-promo-home-ux-slider .flickity-prev-next-button:hover {
    background: var(--mhx-tass-blue, #00aeef) !important;
}

.mhx-promo-home-ux-slider .flickity-page-dots {
    bottom: -2px;
}

.mhx-promo-home-ux-slider .flickity-page-dots .dot {
    border-color: rgba(0, 174, 239, .35);
}

.mhx-promo-home-ux-slider .flickity-page-dots .dot.is-selected {
    background: linear-gradient(135deg, var(--mhx-tass-orange, #f58220), var(--mhx-tass-blue, #00aeef));
    border-color: transparent;
}

/*************** MHX PACKAGE ARCHIVE FILTER V3.8 ***************/
.mhx-xn-package-browser {
    margin-top: 6px;
}

.mhx-xn-package-filter {
    margin: 0 0 24px;
    padding: 18px;
    border: 1px solid rgba(0, 174, 239, .16);
    border-radius: 18px;
    background: linear-gradient(135deg, rgba(0, 174, 239, .08), rgba(245, 130, 32, .08));
    box-shadow: 0 12px 28px rgba(0, 174, 239, .07);
}

.mhx-xn-package-filter__main {
    position: relative;
}

.mhx-xn-package-filter__icon {
    position: absolute;
    top: 50%;
    left: 18px;
    transform: translateY(-50%);
    color: var(--mhx-tass-blue-text, #087faf);
    font-size: 24px;
    line-height: 1;
    pointer-events: none;
}

.mhx-xn-package-filter__input {
    width: 100%;
    height: 54px;
    margin: 0 !important;
    padding: 0 18px 0 54px !important;
    border: 1px solid rgba(0, 174, 239, .24) !important;
    border-radius: 999px !important;
    background: #fff !important;
    color: var(--mhx-tass-blue-dark, #092f4b) !important;
    font-size: 15px !important;
    box-shadow: none !important;
}

.mhx-xn-package-filter__input:focus {
    border-color: var(--mhx-tass-blue, #00aeef) !important;
    box-shadow: 0 0 0 4px rgba(0, 174, 239, .12) !important;
}

.mhx-xn-package-filter__note {
    margin-top: 9px;
    color: #668398;
    font-size: 13px;
    line-height: 1.45;
}

.mhx-xn-package-row .mhx-xn-package-col[hidden] {
    display: none !important;
}

.mhx-xn-package-row .mhx-xn-card,
.mhx-xn-package-row .mhx-xn-card__link,
.mhx-xn-package-row .col-inner {
    height: 100%;
}

.mhx-xn-package-empty {
    margin-top: 12px;
    padding: 18px;
    border-radius: 16px;
    background: #fff;
    color: #668398;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(0, 174, 239, .07);
}

@media (max-width: 549px) {
    .mhx-promo-slider__slide {
        padding-bottom: 24px;
    }

    .mhx-xn-package-filter {
        padding: 14px;
        border-radius: 16px;
    }

    .mhx-xn-package-filter__input {
        height: 50px;
        font-size: 14px !important;
    }
}

/*************** MHX LATEST POSTS HOME SLIDER V3.9 ***************/
.mhx-latest-post-ux-slider,
.mhx-latest-post-ux-slider .slider,
.mhx-latest-post-ux-slider .slider-wrapper {
    overflow: visible;
}

.mhx-post-slider__slide {
    padding-top: 8px;
    padding-bottom: 28px;
}

.mhx-post-slider__slide > .col-inner {
    height: 100%;
}

.mhx-post-slider__slide .mhx-post-card {
    height: 100%;
    margin: 0;
    background: #fff;
}

.mhx-post-slider__slide .mhx-post-card__media {
    min-height: 180px;
}

.mhx-latest-post-ux-slider .flickity-prev-next-button {
    border: 1px solid rgba(0, 174, 239, .18) !important;
    background: #fff !important;
    box-shadow: 0 10px 24px rgba(0, 174, 239, .12);
}

.mhx-latest-post-ux-slider .flickity-prev-next-button:hover {
    background: var(--mhx-tass-blue, #00aeef) !important;
}

.mhx-latest-post-ux-slider .flickity-page-dots {
    bottom: -2px;
}

.mhx-latest-post-ux-slider .flickity-page-dots .dot {
    border-color: rgba(0, 174, 239, .35);
}

.mhx-latest-post-ux-slider .flickity-page-dots .dot.is-selected {
    background: linear-gradient(135deg, var(--mhx-tass-orange, #f58220), var(--mhx-tass-blue, #00aeef));
    border-color: transparent;
}

@media (max-width: 549px) {
    .mhx-post-slider__slide {
        padding-bottom: 24px;
    }
}

