html {
    font-size: 16px;
}

/* Global SVG & Icon Stability - Prevent FOUC & icon inflation across all pages */
.btn-back-list {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 40px !important;
    height: 40px !important;
    flex-shrink: 0 !important;
}

.btn-back-list svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0 !important;
}

.ico-heart {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0 !important;
}

.item.link_ svg,
.list-icon svg {
    max-width: 32px;
    max-height: 32px;
    flex-shrink: 0;
}

.emo_social .social svg {
    width: 16px !important;
    height: 16px !important;
    max-width: 16px !important;
    max-height: 16px !important;
    flex-shrink: 0 !important;
}

.bc-dim-arrow svg,
.mh-fixed-arrow svg,
.bc-fixed-arrow svg {
    width: 24px !important;
    height: 24px !important;
    max-width: 24px !important;
    max-height: 24px !important;
    flex-shrink: 0 !important;
}

html.overflow,
body.overflow {
    overflow: hidden;
}

.breadcrumb_item {
    margin: 0 10px;
}

.breadcrumb {
    gap: 0 !important;
    align-items: center;
}

body.stop_scroll {
    overflow: hidden;
    height: 100%;
    min-height: 100%;
    touch-action: none;
}

.only_w {
    display: block !important;
}

.only_m {
    display: none !important;
}

[class^="inner"] {
    position: relative;
    margin: 0 auto;
    width: -webkit-calc(100% - 2rem);
    width: -moz-calc(100% - 2rem);
    width: calc(100% - 2rem);
    max-width: 1200px;
}

#wrap {
    position: relative;
}

#container {
    position: relative;
}

.logo {
    flex-shrink: 0;
}

.text-note-red {
    font-size: 14px;
    color: red;
}

/* figure.hover_img 호버효과 o */

figure.hover_img {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 68.5%;
    overflow: hidden;
}

figure.hover_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

figure.hover_img:hover img {
    transform: translate(-50%, -50%) scale(1.08);
}

/* figure.cover_img 호버효과 x */
figure.cover_img {
    position: relative;
    display: block;
    width: 100%;
    padding-top: 137%;
    overflow: hidden;
}

figure.cover_img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s;
}

/* download_btn */
.download_btn {
    width: 115px;
    height: 40px;
    font-size: 16px;
    margin: 0 auto;
    color: var(--bs-gray-700);
    border: 1px solid var(--bs-gray-200);
    border-radius: var(--qc-radius-xs, 4px);
    background: var(--bs-bg-100);
}

.download_btn .ico {
    display: inline-block;
    width: 14px;
    height: 16px;
    margin-left: 10px;
    background: url(/images/ico/download_ico.png) no-repeat center;
}

.download_btn.blue {
    color: var(--bs-point);
    border-color: #dde7f7;
    background: #f1f5fb;
}

.download_btn.blue .ico {
    background-image: url(/images/ico/download_ico_blue.png);
}

/* more_view 자세히보기 */
.more_view {
    display: flex;
    align-items: center;
    color: var(--bs-point);
    font-size: 18px;
    font-weight: 600;
    margin-top: 11px;
}

.more_view .ico {
    display: inline-block;
    margin-left: 8px;
    width: 30px;
    height: 30px;
    background: var(--bs-point) url(/images/sub/view_arrow.png) no-repeat 12px 8px;
    border-radius: 50%;
}

/* subTabList */
.subTabList {
    margin-bottom: 27px;
}

.subTabList li {
    width: 50%;
    max-width: 220px;
    text-align: center;
    box-sizing: border-box;
    border: 1px solid var(--bs-gray-200);
}

.subTabList li+li {
    border-left: 0;
}

.subTabList li button {
    display: block;
    width: 100%;
    padding: 15px 0;
    color: var(--bs-gray-dark);
    font-size: 18px;
    font-weight: 700;
    background: #fff;
}

.subTabList li button.active {
    color: #fff;
    background: var(--bs-point);
}

/* subNavList */
.subNavList {
    margin-bottom: 29px;
}

.subNavList li+li {
    margin-left: 40px;
}

.subNavList li button {
    position: relative;
    display: block;
    width: 100%;
    padding-bottom: 5px;
    color: var(--bs-gray-500);
    font-size: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.subNavList li button::after {
    -webkit-transition: visibility 0.3s cubic-bezier(0.33, 1, 0.68, 1),
        width 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    transition: visibility 0.3s cubic-bezier(0.33, 1, 0.68, 1),
        width 0.3s cubic-bezier(0.33, 1, 0.68, 1);
    width: 0;
    height: 2px;
    background: var(--bs-point);
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
}

.subNavList li button:hover::after,
.subNavList li button.active::after {
    width: 100%;
}

.subNavList li button:hover,
.subNavList li button.active {
    color: var(--bs-point);
}

/* boxList 기본 */
.boxList .info_box .conts {
    padding: 40px 30px;
    min-height: 260px;
    border: 1px solid var(--bs-gray-200);
    background-color: #fff;
    transition: all 0.3s;
}

.boxList .info_box .conts:hover {
    border-color: var(--bs-point);
}

.boxList .info_box .amount {
    font-size: 30px;
    font-weight: 900;
    margin-bottom: 16px;
}

.boxList .info_box .amount span {
    font-size: 20px;
    font-weight: 500;
    padding-left: 6px;
}

.boxList .info_box .subject {
    font-size: 18px;
    font-weight: 600;
    line-height: 1.22;
}

.boxList .info_box .summary {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.375;
    margin-top: 4px;
    color: var(--bs-gray-500);
}

.boxList .info_box .info_data {
    margin-top: auto;
}

.boxList .info_box .info_data span {
    position: relative;
    font-size: 16px;
}

.boxList .info_box .info_data span+span::before {
    content: "";
    display: inline-block;
    width: 1px;
    height: 10px;
    margin: 0 12px;
    background: var(--bs-gray-200);
}

.boxList .info_box .info_data .name {
    font-weight: 600;
    color: var(--bs-gray-700);
}

.boxList .info_box .info_data .date {
    font-weight: 500;
    color: var(--bs-gray-400);
}

/* positoinBox */
.positionBox {
    position: relative;
}

.positionBox .process_bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    background: url(/images/sub/process_bg.png) no-repeat center;
}

.positionBox .boxList {
    margin-left: 18px;
}

.positionBox .boxList li {
    position: relative;
    /* width: 100%;*/
    max-width: 282px;
    /* min-height: 200px; */
    padding: 64px 0 49px;
    text-align: center;
    background: #fff;
    border-radius: var(--qc-radius-section, 24px);
    z-index: 1;
    box-shadow: 3px 2px 24px 0px rgba(0, 0, 0, 0.11);
}

.positionBox .boxList li figure {
    position: absolute;
    top: -35px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.positionBox .boxList li .info_box strong {
    font-size: 20px;
    font-weight: 700;
}

.positionBox .boxList li .info_box p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
    color: var(--bs-gray-500);
    margin-top: 11px;
}

/* imgBoxList **field */
.imgBoxList li:nth-of-type(odd) {
    margin-top: 76px;
}

.imgBoxList li .hover_img {
    padding-top: 122%;
}

.imgBoxList li .info_box {
    margin-top: 45px;
}

.imgBoxList li .info_box strong {
    font-size: 24px;
    font-weight: 800;
}

.imgBoxList li .info_box p {
    font-size: 18px;
    font-weight: 500;
    line-height: 1.55;
    margin-top: 9px;
    color: var(--bs-gray-500);
}

.imgBoxList li .info_box .more_view {
    color: var(--bs-point);
    font-size: 18px;
    font-weight: 600;
    margin-top: 11px;
}

.imgBoxList li .info_box .more_view .ico {
    display: inline-block;
    margin-left: 10px;
    width: 30px;
    height: 30px;
    background: var(--bs-point) url(/images/sub/view_arrow.png) no-repeat 12px center;
    border-radius: 50%;
}

/* itemList */
.itemList li {
    cursor: pointer;
    position: relative;
    box-sizing: border-box;
}

.itemList.border li {
    border: 1px solid var(--bs-gray-200);
}

.itemList li .mask {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    font-size: 20px;
    font-weight: 600;
    z-index: 1;
    color: #fff;
    background: rgba(0, 0, 0, 0.5);
    visibility: hidden;
    opacity: 0;
    -webkit-transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
    -moz-transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
    -o-transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
    transition: visibility 0.3s ease-in-out, opacity 0.3s ease-in-out;
}

.itemList li .mask .ico {
    width: 28px;
    height: 28px;
    margin-bottom: 10px;
    background: url(/images/ico/modal_view_ico.png) no-repeat center center;
}

.itemList li:hover .mask {
    opacity: 1;
    visibility: visible;
}

/* boxIconList **recruitment */
.boxIconList li {
    padding: 0;
    background: #fff;
}

.boxIconList li.border {
    box-sizing: border-box;
    padding: 28px 24px;
    border: 1px solid var(--bs-gray-200);
}

.boxIconList li .info_box {
    margin-left: 27px;
}

.boxIconList li .info_box .subject {
    font-size: 20px;
    font-weight: 800;
    line-height: 1;
}

.boxIconList li .info_box .summary {
    font-size: 18px;
    font-weight: 600;
    color: var(--bs-gray-500);
    line-height: 1.33;
    margin-top: 12px;
}

/* boardView */
.boardView {
    font-family: var(--bs-font-sans-serif);
    border-top: 1px solid var(--bs-gray-dark);
}

.boardView .subject {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 22px;
    line-height: 1.5;
    padding: 19px 30px 18px;
    background: var(--bs-bg-100);
    border-bottom: 0.0625rem solid #dbdbdb;
    word-break: break-all;
}

.boardView .view_info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 25px 20px 22px;
    border-bottom: 1px solid #dbdbdb;
}

.boardView .view_info p {
    font-size: 18px;
    font-weight: 500;
    color: var(--bs-gray-400);
}

.boardView .view_info p strong {
    display: inline-block;
    font-weight: 600;
    color: var(--bs-gray-700);
    margin-left: 8px;
}

.boardView .desc {
    padding: 30px 20px 50px;
    border-bottom: 1px solid var(--bs-gray-dark);
    font-family: var(--bs-font-noto);
    font-size: 18px;
    font-weight: 400;
    line-height: 1.5;
    color: #252525;
}

.boardView .view_list li {
    font-size: 18px;
    font-weight: 400;
    padding: 25px 20px 22px;
    box-sizing: border-box;
    border-bottom: 1px solid var(--bs-gray-200);
}

.boardView .view_list li a {
    color: #999;
    display: flex;
    align-items: center;
}

.boardView .view_list li span {
    width: 13px;
    height: 18px;
    background: no-repeat center;
    display: block;
    margin-left: 9px;
    margin-right: 20px;
}

.boardView .view_list li div {
    position: relative;
    padding-left: 20px;
    color: var(--bs-gray-700);
    font-weight: 500;
    text-overflow: ellipsis;
    overflow: hidden;
}

.boardView .view_list li div::before {
    content: "";
    background: var(--bs-gray-200);
    width: 1px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
}

.boardView .view_list li.view_next span {
    background-image: url(/images/btn/view_arrow_next.png);
}

.boardView .view_list li.view_prev span {
    background-image: url(/images/btn/view_arrow_prev.png);
}

.boardView .btn_wrap {
    margin-top: 30px;
}

/* paging - 페이징 */
.paging {
    margin-top: 4rem;
}

.paging .page li {
    margin-right: 0.95rem;
}

.paging .page li.next {
    margin-left: 0.95rem;
    margin-right: 0.25rem;
}

.paging .page li:first-child {
    margin-right: 0.375rem;
}

.paging .page .num {
    margin-right: 0;
}

.paging .page .num+.num {
    margin-left: 0.4rem;
}

.paging .page li:last-child {
    margin-right: 0;
}

.paging .page li.active a,
.paging .page li.num a:hover {
    color: var(--bs-point);
    background: var(--bs-point);
    color: #fff;
}

.paging .page li a {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: max(12px, 0.9rem);
    font-weight: 500;
    color: var(--bs-gray-400);
    width: 1.5rem;
    height: 1.5rem;
    background-position: center;
    background-repeat: no-repeat;
}

.paging .page li.more_prev a {
    background-image: url(/images/btn/more_prev.png);
}

.paging .page li.prev a {
    background-image: url(/images/btn/page_prev.png);
}

.paging .page li.next a {
    background-image: url(/images/btn/page_next.png);
}

.paging .page li.more_next a {
    background-image: url(/images/btn/more_next.png);
}

/* // paging - 페이징 end */

/* scroll_btn */
.scroll_btn {
    position: fixed;
    right: 30px;
    bottom: 60px;
    z-index: 99;
}

.scroll_btn button {
    display: none;
    position: relative;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    background: var(--bs-point) url(/images/common/top_btn.png) no-repeat center;
    overflow: visible;
}

.scroll_btn button::after {
    content: "";
    position: absolute;
    width: 120px;
    height: 120px;
    top: -8px;
    left: -24px;
    background: url(/images/common/top_btn_shadow.png) no-repeat center;
}

.daterangepicker .drp-buttons .btn {
    width: auto;
    height: auto;
}

@media screen and (max-width: 1340px) {
    .positionBox .boxList {
        margin-left: 0;
    }
}

@media screen and (max-width: 850px) {
    html {
        font-size: min(1.38888889vw, 7.5px);
    }

    body {
        font-size: max(12px, 2.6rem);
        line-height: 1.2;
    }

    .snb ul li a {
        font-size: max(12px, 2.8rem) !important;
        font-weight: 500;
        color: #999999;
        /* display: inline-block; */
        line-height: 8rem !important;
        position: relative;
        text-wrap: nowrap;
    }

    .snb ul li.on a::after {
        top: 166% !important;
    }

    .main_current_slide {}

    .swiper-pagination-main {
        border-style: solid;
        border-width: 1px;
        border-color: #dbdbdb;
        background-color: #ffffff;
        border-radius: var(--qc-radius-pill, 999px) !important;
        width: 14rem !important;
        height: 5rem !important;
        color: #cccccc;
        display: flex;
        justify-content: center;
        font-size: max(12px, 2rem);
        align-items: center;
    }

    .breadcrumb_location {
        display: flex;
        justify-content: start !important;
        gap: 1rem !important;

    }

    .breadcrumb_location>img {
        width: 2.5rem;
        height: 3rem;
    }

    .breadcrumb_item {
        padding: 0 1rem;
        margin: 0;
    }

    .breadcrumb_item+.breadcrumb_item::before {
        content: "";
        position: absolute;
        left: -0.5rem;
        top: 50%;
        transform: translateY(-50%);
        background-image: url(/images/ico/ico_breadcrumb.svg);
        background-size: 1.2rem;
        background-repeat: no-repeat;
        width: 2.4rem;
        height: 2.3rem;
        display: inline-block;
    }
}

.gap-10 {
    gap: 10px !important;
}

.gap-20 {
    gap: 20px !important;
}

.mt-10 {
    padding-top: 10px !important;
}

.p-x-10 {
    padding: 20px 10px !important;
}

.text-34px {
    font-size: 34px !important;
}

.text-14px {
    font-size: 14px !important;
}

.text-grey {
    color: #757575;
}

.text-w {
    color: white;
}

.text-18 {
    font-size: 18px;
}

.lh-1-4 {
    line-height: 1.4;
}

.lh-1-6 {
    line-height: 1.6;
}

.img_box.img_box_13 {
    padding-top: calc(180% / 590 * 100);
}

.img_box.img_box_9 {
    padding-top: calc(420% / 660 * 100);
}

.sub_tour_section8 {
    padding: 100px 0 180px 0;
}

.img_box {
    position: relative;
    padding-top: 100%;
    overflow: hidden;
    display: block;
}

.img_box>img,
.img_box__img {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--qc-radius-control, 8px);
}

.img_box_14 {
    padding-top: calc(360% / 1200 * 100);
}

.img_box_15 {
    padding-top: calc(178% / 277 * 100);
}

.body_inner {
    position: relative;
    overflow: hidden;
    padding: 0 calc((100% - 1200px) / 2);
    margin: auto;
}

.breadcrumb {
    display: flex;
    gap: 16px;
}

.breadcrumb_item {
    font-size: 15px;
    font-family: "Pretendard";
    color: #757575;
    position: relative;
}

/* .breadcrumb_item + .breadcrumb_item::before {
  content: "";
  position: absolute;
  left: -12px;
  top: 50%;
  transform: translateY(-50%);
  background-image: url(/images/ico/ico_breadcrumb.svg);
  width: 8px;
  height: 15px;
  display: inline-block;
} */

.flex {
    display: flex;
}

.justify-center {
    justify-content: center;
}

.items-center {
    align-items: center;
}

.justify-end {
    justify-content: flex-end;
}

.items-end {
    align-items: flex-end;
}

.relative {
    position: relative;
}

.sub_visual .sub_visual_ttl {
    color: #fff;
    font-size: 38px;
    line-height: 280px;
    text-align: center;
}

.snb {
    margin-bottom: 40px;
}

.snb ul {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dbdbdb;
    width: 100%;
    overflow-x: scroll;
}

.snb ul::-webkit-scrollbar {
    display: none;
}

.snb ul li {
    margin-right: 36px;
}

.snb ul li a {
    font-size: 18px;
    font-weight: 500;
    color: #999999;
    /* display: inline-block; */
    line-height: 80px;
    position: relative;
    text-wrap: nowrap;
}

.snb ul li.on a {
    color: #252525;
}

.snb {
    margin-bottom: 40px;
}

.snb ul {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #dbdbdb;
    width: 100%;
    overflow-x: scroll;
}

.snb ul::-webkit-scrollbar {
    display: none;
}

.snb ul li {
    margin-right: 36px;
}

.snb ul li a {
    font-size: 18px;
    font-weight: 500;
    color: #999999;
    /* display: inline-block; */
    line-height: 80px;
    position: relative;
    text-wrap: nowrap;
}

.snb ul li.on a {
    color: #252525;
}

.snb ul li.on a::after {
    content: "";
    display: block;
    width: 100%;
    height: 2px;
    background: #252525;
    position: absolute;
    top: 197%;
    left: 0;
}

.main_section_notice {
    padding: 30px 0;
    border-top: 2px solid #dbdbdb;
}

.pb-24 {
    padding-bottom: 2.4rem;
}

.main_section_notice__body {
    display: flex;
    align-items: center;
}

.notice__ttl {
    font-size: 22px;
    font-family: "Pretendard";
    color: #353535;
    font-weight: bold;
    line-height: 1.182;
    margin-right: 30px;
}

.notice_list {}

.notice_item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    overflow: hidden;
    width: 44rem;
}

.notice_item__left {
    display: flex;
    align-items: center;
    /* flex: 1; */
    width: 100%;
}

.notice_item__icon {
    border-style: solid;
    border-width: 1px;
    border-color: #dbdbdb;
    background-color: #ffffff;
    width: 60px;
    height: 32px;
    border-radius: var(--qc-radius-card, 16px);
    margin-right: 10px;
    font-size: 16px;
    font-family: "Pretendard";
    color: #757575;
    line-height: 1.625;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notice_item__title {
    font-size: 18px;
    font-family: "Pretendard";
    color: #454545;
    line-height: 1.444;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    /* flex: 1; */
    width: 100%;
}

.notice_item__date {
    font-size: 18px;
    font-family: "Pretendard";
    color: #999999;
    line-height: 1.444;
}

.main_section_notice__more {
    margin: 0 1rem 0 2rem;
}

.ico_plus {
    width: 14px;
    height: 14px;
    max-width: unset;
}

.swiper-button-box {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 9px;
}

.notice_swiper_btn {
    border-style: solid;
    border-width: 1px;
    border-color: #dbdbdb;
    border-radius: 50%;
    background-color: #ffffff;
    width: 48px;
    height: 48px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.notice_swiper_btn_prev {}

.notice_swiper_btn_next {}

.main_current_slide {
    color: #252525;
}

.prd_name {
    font-size: 18px;
    font-family: "Pretendard";
    color: #252525;
    margin-top: 14px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 500;
}

.prd_info {
    margin-top: 10px;
    font-size: 16px;
    font-family: "Pretendard";
    color: #252525;
    display: flex;
    gap: 5px;
    align-items: center;
}

.star_avg {
    color: #252525;
}

.star_review_cnt {
    color: #757575;
}

.prd_price_ko {
    margin-top: 16px;
    font-size: 22px;
    color: #252525;
    font-weight: bold;
}

.prd_no_price {
    margin-top: 16px;
    font-size: 16px;
    color: #252525;
    font-weight: 400;
    line-height: 1.3;
}

.prd_price_ko span {
    color: #757575;
    font-size: 16px;
}

.prd_price_thai {
    margin-top: 10px;
    font-size: 16px;
    font-family: "Pretendard";
    color: #757575;
    font-weight: 400;
    display: none;
}

.prd_keywords {
    font-size: 16px;
    font-family: "Pretendard";
    color: #397eb9;
    display: flex;
    gap: 4px;
    align-items: center;
    margin-top: 10px;
    flex-wrap: wrap;
    line-height: 1.4;
}

.prd_info__right__ttl {
    color: #757575;
}

.new_review_cnt {
    color: #252525;
}

@media screen and (max-width: 850px) {
    .swiper-pagination-bullet {
        width: 1.6rem;
        height: 1.6rem;
        margin: 0 0.4rem !important;
    }

    .prd_name {
        font-size: max(12px, 2.8rem);
        color: #252525;
    }

    .prd_keywords {
        font-size: max(12px, 2.4rem);
        gap: 0.5rem;
        margin-top: 2rem;
    }

    .prd_info {
        margin-top: 2rem;
        font-size: max(12px, 1.6rem);
        gap: 0.5rem;
    }

    .img_box_14 {
        padding-top: calc(492% / 658 * 100);
    }

    .now_tab_text {
        height: 7.8rem !important;
        font-size: max(12px, 3rem) !important;
    }

    #search {
        max-width: 100%;
    }
}

/* ==========================================================================
   SUB VISUAL & HERO BANNER PRE-RENDER STABILITY (Prevent FOUC / Layout Shift)
   ========================================================================== */

/* 1. Medical Hero Banner Swiper */
#medicalHeroSwiper,
.medical-hero-swiper {
    --mh-gradient-opacity: 0.68;
    width: 100%;
    height: 650px;
    max-height: 650px;
    overflow: hidden;
    position: relative;
    contain: layout;
}

#medicalHeroSwiper .swiper-wrapper,
.medical-hero-swiper .swiper-wrapper {
    display: flex;
    width: 100%;
    height: 650px;
    max-height: 650px;
}

#medicalHeroSwiper .swiper-slide,
.medical-hero-swiper .swiper-slide {
    position: relative;
    width: 100%;
    height: 650px;
    max-height: 650px;
    flex-shrink: 0;
    overflow: hidden;
}

/* Ẩn các slide tiếp theo trước khi Swiper JS khởi tạo để không nhảy khung */
#medicalHeroSwiper:not(.swiper-initialized) .swiper-slide:not(:first-child),
.medical-hero-swiper:not(.swiper-initialized) .swiper-slide:not(:first-child) {
    display: none;
}

#medicalHeroSwiper .mh-slide-link,
.medical-hero-swiper .mh-slide-link {
    position: relative;
    display: block;
    width: 100%;
    height: 650px;
    max-height: 650px;
    overflow: hidden;
    isolation: isolate;
}

#medicalHeroSwiper .mh-bg,
.medical-hero-swiper .mh-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
    display: block;
    width: 100%;
    height: 650px;
    max-height: 650px;
    object-fit: cover;
    object-position: center center;
}

#medicalHeroSwiper .mh-gradient,
.medical-hero-swiper .mh-gradient {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: linear-gradient(90deg,
            rgba(0, 0, 0, var(--mh-gradient-opacity, 0.68)) 0%,
            rgba(0, 0, 0, calc(var(--mh-gradient-opacity, 0.68) * 0.95)) 20%,
            rgba(0, 0, 0, calc(var(--mh-gradient-opacity, 0.68) * 0.7)) 40%,
            rgba(0, 0, 0, calc(var(--mh-gradient-opacity, 0.68) * 0.35)) 60%,
            rgba(0, 0, 0, 0) 82%,
            rgba(0, 0, 0, 0) 100%);
}

#medicalHeroSwiper .mh-text,
.medical-hero-swiper .mh-text {
    position: absolute;
    z-index: 2;
    left: 50% !important;
    transform: translateX(-50%) !important;
    width: 100% !important;
    max-width: 1200px !important;
    padding: 0 80px !important;
    box-sizing: border-box !important;
    top: 35%;
    color: #fff;
}

#medicalHeroSwiper .mh-title,
.medical-hero-swiper .mh-title {
    font-size: 50px;
    font-weight: 650;
    color: #fff;
    margin: 0 0 32px;
    line-height: 1.3 !important;
    letter-spacing: -0.5px;
}

#medicalHeroSwiper .mh-subtitle,
.medical-hero-swiper .mh-subtitle {
    font-size: 18px;
    font-weight: 300;
    color: #fff;
    line-height: 1.3;
    opacity: 0.8;
    letter-spacing: -1px;
}

#medicalHeroSwiper .mh-desc,
.medical-hero-swiper .mh-desc {
    font-size: 22px;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.92);
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
    margin: 0;
}

@media (min-width: 1360px) {

    #medicalHeroSwiper .mh-text,
    .medical-hero-swiper .mh-text {
        padding: 0 !important;
    }
}

@media (max-width: 767px) {

    #medicalHeroSwiper,
    .medical-hero-swiper,
    #medicalHeroSwiper .swiper-wrapper,
    .medical-hero-swiper .swiper-wrapper,
    #medicalHeroSwiper .swiper-slide,
    .medical-hero-swiper .swiper-slide,
    #medicalHeroSwiper .mh-slide-link,
    .medical-hero-swiper .mh-slide-link,
    #medicalHeroSwiper .mh-bg,
    .medical-hero-swiper .mh-bg {
        height: 500px !important;
        max-height: 500px !important;
    }

    #medicalHeroSwiper .mh-gradient,
    .medical-hero-swiper .mh-gradient {
        background: linear-gradient(90deg,
                rgba(0, 0, 0, var(--mh-gradient-opacity, 0.75)) 0%,
                rgba(0, 0, 0, calc(var(--mh-gradient-opacity, 0.75) * 0.9)) 30%,
                rgba(0, 0, 0, calc(var(--mh-gradient-opacity, 0.75) * 0.55)) 55%,
                rgba(0, 0, 0, 0) 100%);
    }
}

/* 2. Best Carousel (Beauty / Stay / Study / Tour Sub Visuals) */
.best-carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    contain: layout size;
}

.best-carousel__viewport {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.best-carousel__track {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

.best-carousel__item {
    position: relative;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: var(--qc-radius-section, 24px);
}

.best-carousel__item .bc-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* 3. Special Product Badge Stability */
.ico_special_prd {
    position: absolute;
    top: 20px;
    left: 20px;
    width: 54px !important;
    height: 54px !important;
    max-width: 54px !important;
    max-height: 54px !important;
    object-fit: contain;
    z-index: 1;
    flex-shrink: 0;
}

@media screen and (max-width: 850px) {
    .ico_special_prd {
        top: 2rem;
        left: 2rem;
        width: 8rem !important;
        height: auto !important;
        max-width: 8rem !important;
    }

    /* 4. Hotel Datepicker Modal Default Hidden */
    .date_hotel_list,
    .hotel_data_info {
        display: none;
    }
}

/* VIS-3-015 & VIS-2-021: Responsive chips for .hero-point on mobile */
@media screen and (max-width: 480px) {
    .hero-point {
        display: flex !important;
        flex-wrap: wrap !important;
        gap: 6px !important;
        max-width: 100% !important;
    }
    .hero-point > * {
        flex: 1 1 calc(50% - 6px) !important;
        min-width: 80px !important;
        box-sizing: border-box !important;
    }
}
@media screen and (max-width: 359px) {
    .hero-point {
        display: flex !important;
        flex-direction: column !important;
        gap: 6px !important;
        width: 100% !important;
        max-width: 100% !important;
    }
    .hero-point > * {
        flex: 1 1 100% !important;
        width: 100% !important;
        min-width: 0 !important;
        box-sizing: border-box !important;
        text-align: left !important;
    }
    .today-specialty-grid,
    .benefit-grid,
    .procedure-grid,
    .specialty-grid,
    .product_content_detail [class*="grid"],
    .product_content_detail [style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        text-align: left !important;
    }
    .product_content_detail p,
    .product_content_detail div,
    .product_content_detail li {
        text-align: left !important;
        word-break: keep-all !important;
        overflow-wrap: break-word !important;
    }
}