:root {
    --main-cl: #166057;
    --sub-cl: #D95F13;
    --text-cl: #333333;
    --font-title: 'UTM Bebas', sans-serif;
    --font-main: 'Acumin Pro', sans-serif;
    --container-w: 72.917rem;
}

body::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
    background-color: #F5F5F5;
}

body::-webkit-scrollbar {
    width: 0.417rem;
    background-color: #cedbff;
}

body::-webkit-scrollbar-thumb {
    background-color: var(--main-cl);
}

input, optgroup, select, textarea {
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-box-shadow: unset;
    -moz-box-shadow: unset;
    box-shadow: unset;
    outline: none !important;
}

input[type=number]::-webkit-outer-spin-button,
input[type=number]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input[type=number] {
    -moz-appearance: textfield;
}

body {
    overflow-x: hidden;
    font-family: var(--font-main);
}

/* Header + tiêu đề section (h1, h2) dùng UTM Bebas; nội dung dùng Acumin Pro */
header, h1, h2 {
    font-family: var(--font-title);
}

.banner_image {
    width: 100%;
    max-width: 100vw;
    padding: 0;
}

.et_pb_section.et_pb_section_0.et_pb_with_background.et_section_regular {
    padding: 0;
}

.home_blog h1 {
    text-align: center;
    width: fit-content !important;
    margin: 0 auto;
}

html body footer .footer_main * {
    color: #fef7d7 !important;
}

.et_pb_heading_0_tb_footer .et_pb_heading_container h2 {
    color: #fef7d7 !important;
}

footer .et_pb_text_1_tb_footer.et_pb_text a {
    color: #fef7d7 !important;
    transition: .7s all;
}

footer .et_pb_text_1_tb_footer.et_pb_text a:hover {
    color: var(--main-cl) !important;
    transition: .7s all;
}

.load_home_page.complete img.logo_center {
    opacity: 0;
}

img.logo_center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 25rem;
    max-width: 80vw;
    transition: .8s all ease-in-out;
    opacity: 1;
    max-height: 25rem;
    height: auto;
}

.m2_gallery h2.text-center {
    margin: 0 auto 2rem;
    width: fit-content;
}

.m2_gallery_item {
    aspect-ratio: unset;
    width: 100%;
    height: 29rem;
}

.m2_gallery_item img {
    object-fit: contain;
}

.m2_gallery h2.text-center {
    text-align: center;
}

@media (min-width: 1280px) {
    /* chỉ áp cho html (rem); không set body để giữ font-size gốc của mẫu */
    html {
        font-size: 1vw;
    }
}

.grid-container {
    max-width: var(--container-w);
    margin-left: auto;
    margin-right: auto;
}

#search-lightbox {
    width: 37.5rem;
    max-width: 100%;
}

#search-lightbox .search-lightbox-title {
    margin-bottom: 1.667rem;
    font-size: 1.979rem;
    line-height: 1.2;
    font-weight: 700;
}

#search-lightbox .search-keywords {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 2.083rem;
    gap: 0.521rem;
}

#search-lightbox .search-keywords > a {
    -webkit-border-radius: 2.604rem;
    -moz-border-radius: 2.604rem;
    border-radius: 2.604rem;
    font-size: 0.833rem;
    line-height: 1.042rem;
    border: 1px solid rgba(255, 255, 255, 0.6);
    padding: 0.3125rem 0.833rem;
    display: flex;
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

#search-lightbox .search-keywords > a:hover {
    background-color: #fff;
    color: #000
}

#search-lightbox .flex-row > div {
    display: flex;
}

#search-lightbox .flex-row {
    align-items: unset;
    display: flex;
    -webkit-border-radius: 2.604rem;
    -moz-border-radius: 2.604rem;
    border-radius: 2.604rem;
    overflow: hidden;
}

#search-lightbox input {
    height: 100%;
    border: none;
}

#search-lightbox .button.icon {
    line-height: normal;
    min-height: unset;
    height: 100%;
    border: none;
    min-width: unset;
    background-color: #FFF;
    display: flex;
    align-items: center;
}

#search-lightbox .button.icon i {
    font-size: 0.9375rem;
    line-height: 1.25rem;
    color: #000
}

#search-lightbox input {
    font-size: 1.042rem;
    line-height: 1.25rem;
    padding-left: 1.5625rem;
    box-shadow: unset;
    height: 2.604rem;
}

.mfp-bg.mfp-ready {
    opacity: 0.8;
}

.mfp-content #search-lightbox {
    transform: translateY(-70%);
}

.load_home_page svg {
    width: 20.833rem;
    max-width: 95%;
    height: auto;
    position: absolute;
    z-index: 99;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    -webkit-transition: all 0.8s ease-in-out;
    -moz-transition: all 0.8s ease-in-out;
    -ms-transition: all 0.8s ease-in-out;
    -o-transition: all 0.8s ease-in-out;
    transition: all 0.8s ease-in-out;
}

.load_home_page {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 999999999999;
    transition: 1s all;
    opacity: 1;
    background: transparent;
}

div.load_home_page .mask {
    /*background-color: #00BDFFFF;*/
    transition: 1s all ease-in-out;
    position: absolute;
    width: 100%;
    height: 100%;
}

div.load_home_page.complete .mask {
    background-color: transparent;
}

div.load_home_page .mask span {
    display: block;
    width: 100%;
    height: 20%;
    position: absolute;
    left: 0;
    transition: 1s all ease-in-out;
    /*background-color: var(--main-cl);*/
    background-color: #e83d00;
    /*backdrop-filter: blur(40px);*/
}

div.load_home_page .mask span:nth-child(even) {
    left: unset;
    right: 0;
}

div.load_home_page .mask span:nth-child(1) {
    top: 0;
}

div.load_home_page .mask span:nth-child(2) {
    top: 20%;
}

div.load_home_page .mask span:nth-child(3) {
    top: 40%;
}

div.load_home_page .mask span:nth-child(4) {
    top: 60%;
}

div.load_home_page .mask span:nth-child(5) {
    top: 80%;
}

.load_home_page.complete {
    visibility: hidden;
}

div.load_home_page.complete .mask span {
    width: 0;
    opacity: 0;
    transition-delay: .8s;
}

#respond input#wp-comment-cookies-consent {
    height: auto !important;
    margin: 0 10px 0 0 !important;
}

.load_home_page.complete svg {
    transition-delay: 0.8s;
    opacity: 0;
}

.load_home_page rect,
.load_home_page path {
    -webkit-transition: all 0.4s ease-in-out;
    -moz-transition: all 0.4s ease-in-out;
    -ms-transition: all 0.4s ease-in-out;
    -o-transition: all 0.4s ease-in-out;
    transition: all 0.4s ease-in-out;
}

.path-1 {
    animation-name: Signature2;
    animation-duration: 10s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(2, .25, .43, .96);
    stroke: #FFF;
    stroke-width: 1px;
    stroke-dasharray: 2108;
    stroke-dashoffset: 2108;
    fill: transparent;
}

.path-2 {
    animation-name: Signature1;
    animation-duration: 20s;
    animation-fill-mode: forwards;
    animation-timing-function: cubic-bezier(2, .25, .43, .96);
    stroke: var(--sub-cl);
    stroke-width: 1px;
    stroke-dasharray: 2108;
    stroke-dashoffset: 2108;
    fill: transparent;
}

.load_home_page.complete .path-2 {
    fill: var(--sub-cl);
}

.load_home_page.complete .path-1 {
    fill: #FFF
}

@keyframes Signature1 {
    to {
        stroke: var(--sub-cl);
        stroke-dashoffset: 0;
    }
}

@keyframes Signature2 {
    to {
        stroke: #FFF;
        stroke-dashoffset: 0;
    }
}

@keyframes drawSvgPath {
    to {
        stroke-dashoffset: 0;
    }
}

path.draw_svg_path {
    animation-name: drawSvgPath;
    animation-duration: 2s;
    animation-fill-mode: forwards;
    animation-timing-function: ease-in-out;
    stroke: white;
    stroke-width: .3px;
    fill: transparent;
}

.load_home_page.complete svg path.draw_svg_path {
    fill: white;
}

.tile-reveal {
    overflow: hidden;
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-flow: row wrap;
    align-self: flex-start;
    align-items: center;
    align-content: center;
    justify-content: center;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    pointer-events: none;
    z-index: 100000;
    background: #fff;
}

.tile-reveal-square {
    flex: 1 1 auto;
    width: 80px;
    height: 80px;
    background-color: var(--main-cl);
    opacity: 1;
}

.wrap-enter-site {
    position: fixed;
    width: 100%;
    height: auto;
    bottom: 3.125rem;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    animation-name: fadeIn;
    animation-duration: 1s;
    animation-delay: 0.6s;
    animation-fill-mode: forwards;
}

.search-page {
    padding: 5.208rem 0;
}

.search-page h1 {
    margin-bottom: 2.604rem;
}

.search-tabs .search-tabs-title {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 1.25rem;
    gap: 0.833rem;
}

.search-tabs .search-tabs-title .search-tab-title {
    padding: 0.625rem 1.25rem;
    border: 1px solid var(--fs-color-primary);
    font-size: 0.833rem;
    line-height: 1.042rem;
    color: var(--fs-color-primary);
    -webkit-border-radius: 0.521rem;
    -moz-border-radius: 0.521rem;
    border-radius: 0.521rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.4s;
}

.search-tabs .search-tab-title:hover,
.search-tabs .search-tab-title.active {
    background-color: var(--fs-color-primary);
    color: #FFF;
}

.search-tabs .search-tab-content {
    display: none;
}

.search-tabs .search-tab-content.active {
    display: block;
}

.search-tabs .search-empty {
    color: #333;
    font-size: 1.25rem;
    line-height: 2.083rem;
    padding: 0.521rem;
}

.search-tabs .search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 1.667rem;
    margin-bottom: 1.5625rem;
}

.search-tabs .search-item h3 {
    margin: 0.521rem 0 0 0;
    font-size: 18px;
    line-height: 24px;
    font-weight: 600;
}

header.et-l.et-l--header {
    position: relative;
    z-index: 1001;
}

@media only screen and (max-width: 1199px) {
    :root {
        --container-w: 950px
    }

    .load_home_page svg {
        width: 320px;
    }
}

@media only screen and (max-width: 991px) {
    :root {
        --container-w: 720px
    }

    .load_home_page svg {
        width: 320px;
    }

    .search-tabs .search-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }
}

@media only screen and (max-width: 767px) {
    .grid-container {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .page-template-home #page-container .et-l .et_pb_row.banner_image {
        padding: 0 !important;
    }

    .load_home_page svg {
        width: 240px;
    }

    #search-lightbox {
        margin-left: -20px;
        margin-right: -20px;
        max-width: calc(100% + 40px);
    }

    #search-lightbox .search-lightbox-title {
        margin-bottom: 20px;
        font-size: 20px;
    }

    #search-lightbox .search-keywords {
        margin-top: 20px;
    }

    #search-lightbox .search-keywords > a {
        font-size: 14px;
    }

    .search-tabs .search-grid {
        grid-template-columns: 1fr 1fr;
        grid-gap: 1.5rem 1rem
    }

    .search-page {
        padding: 3rem 0;
    }

    .search-page h1 {
        margin-bottom: 2rem;
    }

    .search-tabs .search-tabs-title .search-tab-title {
        font-size: 0.75rem;
        padding: 0.5rem 1rem;
    }
}

/* =========================================================
   CONTACT (templates/contact.php) - tự code, tham khảo bevn.live/contacts
   Size theo typography trang chủ (mẫu 1 dùng px + breakpoint 980/767)
   ========================================================= */
.contact_banner,
.contact_1,
.contact_2 {
    position: relative;
    font-family: var(--font-main);
    color: var(--text-cl);
}

.contact_container {
    width: 80%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

/* Banner tiêu đề */
.contact_banner {
    padding: 60px 0 0;
    text-align: center;
}

.contact_banner .title {
    margin: 0;
    padding: 0;
    font-family: var(--font-title);
    font-size: 60px;
    line-height: 1;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--main-cl);
}

.contact_banner .arrow {
    display: inline-flex;
    width: 32px;
    height: 32px;
    margin-top: 30px;
    color: var(--text-cl);
    transition: color 0.7s ease, transform 0.7s ease;
}

.contact_banner .arrow svg {
    width: 100%;
    height: 100%;
}

.contact_banner .arrow:hover {
    color: var(--sub-cl);
    transform: translateY(6px);
}

/* Thông tin + form */
.contact_1 {
    padding: 100px 0 120px;
}

.contact_1 .contact_grid {
    display: grid;
    grid-template-columns: 535fr 630fr;
    column-gap: 125px;
    align-items: start;
}

.contact_1 .subtitle {
    font-size: 16px;
    line-height: 1.4;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--sub-cl);
}

.contact_1 .title {
    margin-top: 20px;
    padding: 0;
    font-family: var(--font-title);
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--main-cl);
}

.contact_1 .content {
    margin-top: 20px;
    font-size: 18px;
    line-height: 1.4;
}

.contact_1 .content p {
    padding: 0;
}

.contact_1 .contact_list {
    margin-top: 30px;
}

.contact_1 .contact_list .item {
    display: flex;
    align-items: center;
    gap: 14px;
}

.contact_1 .contact_list .item + .item {
    margin-top: 18px;
}

.contact_1 .contact_list .icon {
    flex: 0 0 22px;
    width: 22px;
    height: 22px;
    color: var(--main-cl);
}

.contact_1 .contact_list .icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.contact_1 .contact_list .text {
    font-size: 18px;
    line-height: 1.4;
    color: var(--text-cl);
}

.contact_1 .contact_list .text a {
    color: inherit;
    transition: color 0.7s ease;
}

.contact_1 .contact_list .text a:hover {
    color: var(--sub-cl);
}

.contact_1 .contact_list .item_phone .text {
    font-size: 27px;
    line-height: 1;
    font-weight: 800;
}

/* Form */
.contact_form .form_grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    column-gap: 30px;
    row-gap: 37px;
}

.contact_form .field {
    position: relative;
}

.contact_form .field_full {
    grid-column: 1 / -1;
}

.contact_form .field .icon {
    position: absolute;
    top: 13px;
    left: 0;
    width: 22px;
    height: 22px;
    color: var(--text-cl);
    pointer-events: none;
    transition: color 0.7s ease;
}

.contact_form .field .icon svg {
    display: block;
    width: 100%;
    height: 100%;
}

.contact_form .field input,
.contact_form .field textarea {
    display: block;
    width: 100%;
    height: 48px;
    margin: 0;
    padding: 13px 0 13px 36px;
    font-family: var(--font-main);
    font-size: 18px;
    line-height: 22px;
    color: var(--text-cl);
    background: transparent;
    border: 0;
    border-bottom: 1px solid rgba(51, 51, 51, 0.25);
    border-radius: 0;
    box-shadow: none;
    transition: border-color 0.7s ease;
}

.contact_form .field textarea {
    height: 87px;
    resize: none;
}

.contact_form .field input::placeholder,
.contact_form .field textarea::placeholder {
    color: rgba(51, 51, 51, 0.7);
    opacity: 1;
}

.contact_form .field input:focus,
.contact_form .field textarea:focus {
    border-bottom-color: var(--main-cl);
}

.contact_form .field:focus-within .icon {
    color: var(--main-cl);
}

.contact_form .form_bottom {
    display: flex;
    align-items: center;
    gap: 20px 25px;
    margin-top: 60px;
}

.contact_form .btn_submit {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    margin: 0;
    padding: 15px 30px;
    font-family: var(--font-main);
    font-size: 20px;
    line-height: 28px;
    font-weight: 800;
    text-transform: uppercase;
    color: #fff;
    background-color: var(--main-cl);
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: background-color 0.7s ease;
    white-space: nowrap;
}

.contact_form .btn_submit svg {
    width: 22px;
    height: 22px;
    flex: 0 0 22px;
    transition: transform 0.7s ease;
}

.contact_form .btn_submit:hover {
    background-color: var(--sub-cl);
}

.contact_form .btn_submit:hover svg {
    transform: translate(3px, -3px);
}

.contact_form .acceptance {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 0;
    font-size: 16px;
    line-height: 1.4;
    color: var(--text-cl);
    cursor: pointer;
}

.contact_form .acceptance input {
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--main-cl);
}

.contact_form .acceptance a {
    color: var(--main-cl);
    text-decoration: underline;
    transition: color 0.7s ease;
}

.contact_form .acceptance a:hover {
    color: var(--sub-cl);
}

/* Contact Form 7 */
.contact_form .field .wpcf7-form-control-wrap {
    display: block;
}

.contact_form .acceptance .wpcf7-form-control-wrap,
.contact_form .acceptance .wpcf7-list-item {
    display: inline-flex;
    margin: 0;
}

/* Chưa tick đồng ý thì CF7 khoá nút gửi */
.contact_form .btn_submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

.contact_form .btn_submit:disabled:hover {
    background-color: var(--main-cl);
}

.contact_form .btn_submit:disabled:hover svg {
    transform: none;
}

.contact_form .wpcf7-spinner {
    margin: 0;
}

.contact_form .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.3;
    color: #e85c41;
}

.contact_form .wpcf7 form .wpcf7-response-output {
    margin: 30px 0 0;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.4;
    color: #e85c41;
    border: 1px solid #e85c41;
}

.contact_form .wpcf7 form.sent .wpcf7-response-output {
    color: var(--main-cl);
    border-color: var(--main-cl);
}

/* Bản đồ */
.contact_2 .contact_iframe {
    height: 590px;
}

.contact_2 .contact_iframe iframe {
    display: block;
    width: 100%;
    height: 100%;
    border: 0;
}

@media (max-width: 980px) {
    .contact_banner .title {
        font-size: 56px;
    }

    .contact_1 {
        padding: 70px 0 80px;
    }

    .contact_1 .contact_grid {
        grid-template-columns: 1fr;
        row-gap: 60px;
    }

    .contact_2 .contact_iframe {
        height: 450px;
    }
}

@media (max-width: 767px) {
    .contact_banner {
        padding-top: 40px;
    }

    .contact_banner .title {
        font-size: 42px;
    }

    .contact_banner .arrow {
        margin-top: 20px;
    }

    .contact_1 {
        padding: 50px 0 60px;
    }

    .contact_1 .title {
        font-size: 28px;
    }

    .contact_1 .contact_list .item_phone .text {
        font-size: 22px;
    }

    .contact_form .form_grid {
        grid-template-columns: 1fr;
        row-gap: 25px;
    }

    .contact_form .form_bottom {
        margin-top: 40px;
    }

    .contact_form .btn_submit {
        font-size: 22px;
        line-height: 22px;
        padding: 15px 30px;
    }

    .contact_2 .contact_iframe {
        height: 350px;
    }
}

/* =========================================================
   MẪU 1 + ACF: bổ sung cho dữ liệu nhập từ ACF
   ========================================================= */
/* Footer: icon mạng xã hội là ảnh upload (thay icon font Divi) */
#custom-social-footer li.acf_social a.icon {
    position: relative;
    background-color: #ffffff !important;
}

#custom-social-footer li.acf_social a.icon:before {
    content: "";
}

#custom-social-footer li.acf_social a.icon img {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 11;
    width: 27px;
    height: 27px;
    object-fit: contain;
    transform: translate(-50%, -50%);
    transition: transform 0.7s ease;
}

#custom-social-footer li.acf_social a.icon:hover img {
    transform: translate(-50%, -50%) scale(1.12);
}

/* Trang chủ: banner video */
.et_pb_section_0.home_banner_video {
    position: relative;
    overflow: hidden;
}

.et_pb_section_0.home_banner_video .banner_video {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.et_pb_section_0.home_banner_video:before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.25) 0%, rgba(0, 0, 0, 0.25) 100%);
}

.et_pb_section_0.home_banner_video .et_pb_row {
    position: relative;
    z-index: 2;
}

/* Trang chủ: video ngắn (YouTube) */
.home_videos {
    padding: 80px 0;
    font-family: var(--font-main);
    background-color: var(--main-cl);
}

.home_videos_container {
    width: 80%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.home_videos .title {
    margin: 0;
    padding: 0;
    font-family: var(--font-title);
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    overflow-wrap: anywhere;
}

.home_videos .title a {
    color: inherit;
    transition: color 0.7s ease;
}

.home_videos .title a:hover {
    color: var(--sub-cl);
}

.home_videos .videos_slider {
    position: relative;
    margin-top: 40px;
}

.home_videos .swiper {
    overflow: hidden;
}

.home_videos .video_item {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 6px;
    background-color: #000;
}

.home_videos .video_item img.cover {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.home_videos .video_item .play {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 56px;
    height: 56px;
    color: #ffffff;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.5));
    transform: translate(-50%, -50%);
    transition: transform 0.7s ease, color 0.7s ease;
}

.home_videos .video_item .play svg {
    display: block;
    width: 100%;
    height: 100%;
}

.home_videos .video_item:hover img.cover {
    transform: scale(1.08);
    opacity: 0.85;
}

.home_videos .video_item:hover .play {
    color: var(--sub-cl);
    transform: translate(-50%, -50%) scale(1.15);
}

.home_videos .videos_nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin-top: -22px;
    color: var(--main-cl);
    background-color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.7s ease, background-color 0.7s ease;
}

.home_videos .videos_nav svg {
    width: 22px;
    height: 22px;
}

.home_videos .videos_prev {
    left: -64px;
}

.home_videos .videos_prev svg {
    transform: rotate(180deg);
}

.home_videos .videos_next {
    right: -64px;
}

.home_videos .videos_nav:hover {
    color: #ffffff;
    background-color: var(--sub-cl);
}

.home_videos .videos_nav.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

/* Trang chủ - slider logo (et_pb_section_4): 5 cột x 2 hàng/slide */
.home_logos .swiper-slide {
    height: auto;
    padding: 1vw 2vw;
    box-sizing: border-box;
}

.home_logos_item {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
}

.home_logos_item img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.5s ease;
}

.home_logos_item:hover img {
    transform: scale(1.05);
}

.home_logos .arrow_slide {
    position: absolute;
    top: 50%;
    z-index: 2;
    margin-top: -22px;
    color: var(--main-cl);
    background-color: #ffffff;
}

.home_logos .arrow_slide.prev {
    left: -54px;
}

.home_logos .slide_arrow.logos_prev svg {
    transform: rotate(180deg);
}

.home_logos .arrow_slide.next {
    right: -54px;
}

.home_logos .slide_arrow_mobile {
    color: var(--main-cl);
    background-color: #ffffff;
}

/* Ít hơn 1 slide => ẩn mũi tên + pagination */
.home_logos .swiper-button-lock,
.home_logos .swiper-pagination-lock {
    display: none !important;
}

@media (hover: hover) {
    .home_logos .slide_arrow:hover {
        color: #ffffff;
        background-color: var(--sub-cl);
    }
}

@media (min-width: 981px) {
    .home_logos .pagination_wrap {
        display: none;
    }
}

/* Form footer (Contact Form 7): giữ giao diện form đăng ký của mẫu */
.mc_footer_signup .wpcf7-form-control-wrap {
    display: block;
}

.mc_footer_signup .mc_phone_inner {
    display: flex;
    background-color: #fff;
}

.mc_footer_signup .mc_phone_flag {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    padding: 0 4px 0 16px;
}

.mc_footer_signup .mc_phone_flag .tt_flag {
    display: block;
    width: 28px;
    height: auto;
}

.mc_footer_signup .mc_phone_inner .wpcf7-form-control-wrap {
    flex: 1 1 auto;
    min-width: 0;
}

.mc_footer_signup #mc_embed_signup input[type=tel] {
    box-sizing: border-box;
    width: 100%;
    margin: 0;
    padding: 14px 4% !important;
    font-family: inherit;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    color: #000 !important;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    -webkit-appearance: none;
}

.mc_footer_signup .mc_button_container {
    position: relative;
}

.mc_footer_signup .wpcf7-spinner {
    position: absolute;
    top: 50%;
    right: 10px;
    margin: -12px 0 0;
}

.mc_footer_signup .wpcf7-not-valid-tip {
    margin-top: 4px;
    font-size: 13px;
    line-height: 1.3;
    text-align: left;
    color: #e85c41;
}

.mc_footer_signup .wpcf7 form .wpcf7-response-output {
    margin: 10px 0 0;
    padding: 0;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    color: #e85c41;
    border: 0;
}

.mc_footer_signup .wpcf7 form.sent .wpcf7-response-output {
    font-weight: 800;
    color: #fff;
}

/* Popup đăng ký: các field bổ sung (tel, date, select) giống input của mẫu */
.mc_popup_container #mc_embed_signup .mc-field-group {
    padding-bottom: 12px;
}

.mc_popup_container #mc_embed_signup input[type=tel],
.mc_popup_container #mc_embed_signup input[type=date],
.mc_popup_container #mc_embed_signup select {
    display: block;
    width: 100%;
    height: auto;
    margin: 0;
    padding: 14px 4% !important;
    font-family: inherit;
    font-size: 16px;
    line-height: 22px;
    font-weight: 400;
    color: #999 !important;
    background-color: #fff;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    -webkit-appearance: none;
    appearance: none;
}

.mc_popup_container #mc_embed_signup select {
    padding-right: 40px !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23999' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 18px 18px;
    cursor: pointer;
}

.et_pb_section_0_tb_header.et_pb_section {
    /*background: var(--main-cl) !important;*/
    background-color: #e83d00 !important;
}

@media (max-width: 980px) {
    .home_videos {
        padding: 60px 0;
    }

    .home_videos .videos_nav {
        display: none;
    }

    .home_logos .arrow_slide {
        display: none;
    }

    .home_logos .swiper-slide {
        padding: 1.5vw 3vw;
    }
}

@media (max-width: 767px) {
    .home_videos {
        padding: 50px 0;
    }

    .home_videos .title {
        font-size: 22px;
    }

    .home_videos .videos_slider {
        margin-top: 30px;
    }

    .home_logos .swiper-slide {
        padding: 2.5vw 4vw;
    }
}

/* =========================================================
   MẪU 2 - montreuxjazzfestival.com (About / Tin tức / Tin chi tiết)
   Tự code từ HTML/CSS mẫu, class m2_* để không đụng Divi (mẫu 1).
   Font & size theo trang chủ mẫu 1: Bebas (Bebas Neue) 400/800, tiêu đề 60px,
   h2 36px, nội dung 18px, breakpoint 980/767.
   ========================================================= */
[class^="m2_"],
[class*=" m2_"] {
    box-sizing: border-box;
}

.m2_banner,
.m2_intro,
.m2_columns,
.m2_breaker,
.m2_gallery,
.m2_universe,
.m2_shop,
.m2_news,
.m2_post,
.m2_related {
    position: relative;
    font-family: var(--font-main);
    font-size: 18px;
    line-height: 1.4;
    font-weight: 400;
    color: var(--text-cl);
}

.m2_container {
    width: 80%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
}

.m2_banner h1, .m2_banner h2, .m2_banner h3,
.m2_columns h1, .m2_columns h2, .m2_columns h3, .m2_columns h4,
.m2_universe h2, .m2_universe h3,
.m2_shop h2,
.m2_post h1, .m2_post h2, .m2_post h3, .m2_post h4,
.m2_related h2, .m2_related h3,
.m2_news h3 {
    padding: 0;
    font-family: var(--font-main);
}

.m2_banner h1, .m2_banner h2, .m2_columns h1, .m2_columns h2,
.m2_universe h2, .m2_shop h2, .m2_post h1, .m2_post h2, .m2_related h2 {
    font-family: var(--font-title);
}

.m2_title {
    margin: 0;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--main-cl);
}

.m2_label {
    margin: 0;
    padding: 0;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sub-cl);
}

/* Nút & link */
.m2_btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    padding: 13px 22px;
    font-family: var(--font-main);
    font-size: 16px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    color: #ffffff;
    background-color: var(--main-cl);
    border: 0;
    border-radius: 0;
    cursor: pointer;
    transition: color 0.7s ease, background-color 0.7s ease;
}

.m2_btn:hover {
    color: #ffffff;
    background-color: var(--sub-cl);
}

.m2_btn_white {
    color: var(--main-cl);
    background-color: #ffffff;
}

.m2_link {
    display: inline-block;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-decoration: underline;
    text-underline-offset: 3px;
    color: var(--main-cl);
    transition: color 0.7s ease;
}

.m2_link:hover {
    color: var(--sub-cl);
}

/* Breadcrumb */
.m2_breadcrumb {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px 8px;
    font-size: 13px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.m2_breadcrumb a {
    color: inherit;
    opacity: 0.6;
    transition: opacity 0.7s ease, color 0.7s ease;
}

.m2_breadcrumb a:hover {
    opacity: 1;
    color: var(--sub-cl);
}

.m2_breadcrumb .sep {
    flex: 0 0 3px;
}

/* ---------- Banner (About / Tin tức / Tin chi tiết) ---------- */
.m2_banner {
    margin-bottom: 80px;
    padding: 10px;
    overflow: hidden;
}

.m2_banner_grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 10px;
}

.m2_banner_content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
    padding: 60px 40px 60px calc((100vw - min(80vw, 1280px)) / 2 - 10px);
}

.m2_banner_title {
    margin: 16px 0 0;
    font-size: 60px;
    line-height: 1.1;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--main-cl);
}

.m2_banner_img {
    position: relative;
    aspect-ratio: 1 / 1;
    max-height: calc(100vh - 120px);
    overflow: hidden;
}

.m2_banner_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m2_banner_desc {
    display: -webkit-box;
    max-width: 640px;
    overflow: hidden;
    font-size: 18px;
    line-height: 1.4;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
}

/* Banner nền mờ của trang tin tức */
.m2_banner_blur {
    color: #ffffff;
    background-color: #000000;
}

.m2_banner_bg {
    position: absolute;
    inset: -20%;
    background-position: center;
    background-size: cover;
    filter: blur(70px);
    opacity: 0.85;
    transform: scale(1.2);
}

.m2_banner_blur:after {
    content: "";
    position: absolute;
    inset: 0;
    background-color: rgba(0, 0, 0, 0.25);
}

.m2_banner_blur .m2_banner_title {
    color: #ffffff;
}

.m2_banner_blur .m2_breadcrumb a:hover {
    color: #ffffff;
}

/* Ngày + chia sẻ (tin chi tiết) */
.m2_post_date {
    font-size: 16px;
}

.m2_share_title {
    margin-bottom: 10px;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.m2_share_list {
    display: flex;
    gap: 14px;
}

.m2_share_list a {
    display: block;
    width: 20px;
    height: 20px;
    color: var(--text-cl);
    transition: color 0.7s ease, transform 0.7s ease;
}

.m2_share_list a:hover {
    color: var(--sub-cl);
    transform: translateY(-2px);
}

.m2_share_list svg {
    display: block;
    width: 100%;
    height: 100%;
}

/* ---------- Nội dung soạn thảo (wysiwyg) ---------- */
.m2_typography > *:first-child {
    margin-top: 0 !important;
}

.m2_typography p {
    margin: 20px 0 0;
    padding: 0;
    font-size: 18px;
    line-height: 1.4;
}

.m2_typography h2,
.m2_typography h3,
.m2_typography h4 {
    padding: 0;
}

.m2_typography h2 {
    margin: 56px 0 0;
    font-size: 36px;
    line-height: 1.1;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--main-cl);
}

.m2_typography h3,
.m2_typography h4 {
    margin: 40px 0 0;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--main-cl);
}

.m2_typography strong,
.m2_typography b {
    font-weight: 800;
}

.m2_typography a {
    color: var(--main-cl);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color 0.7s ease;
}

.m2_typography a:hover {
    color: var(--sub-cl);
}

.m2_typography ul,
.m2_typography ol {
    margin: 20px 0 0;
    padding: 0 0 0 21px;
    font-size: 18px;
    line-height: 1.4;
}

.m2_typography ul {
    list-style: disc;
}

.m2_typography ol {
    list-style: decimal;
}

.m2_typography li + li {
    margin-top: 10px;
}

.m2_typography blockquote {
    margin: 56px 0 0;
    padding: 0 20px;
    font-style: normal;
    text-align: center;
    border: 0;
}

.m2_typography blockquote p {
    margin: 0;
    font-size: 24px;
    line-height: 1.3;
}

.m2_typography blockquote cite {
    display: block;
    margin-top: 16px;
    font-size: 14px;
    font-style: normal;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--sub-cl);
}

.m2_typography img {
    display: block;
    max-width: 100%;
    height: auto;
}

.m2_typography figure,
.m2_typography .wp-caption {
    width: auto !important;
    max-width: 100%;
    margin: 56px 0 0;
}

.m2_typography figcaption,
.m2_typography .wp-caption-text {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #777777;
}

.m2_typography iframe {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 16 / 9;
    margin-top: 20px;
    border: 0;
}

.m2_lead,
.m2_typography .m2_lead {
    font-size: 24px;
    line-height: 1.35;
}

.m2_intro .m2_lead {
    font-weight: 800;
    color: var(--main-cl);
}

/* ---------- Khối 2 cột ---------- */
.m2_intro {
    padding-bottom: 60px;
}

.m2_columns {
    padding-top: 3rem;
    padding-bottom: 80px;
}

.m2_columns_grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 20px;
    align-items: start;
}

.m2_columns_main {
    grid-column: 1 / span 6;
}

.m2_columns_side {
    grid-column: 8 / span 5;
}

.m2_columns_noimg .m2_columns_main {
    grid-column: 1 / span 7;
}

.m2_columns_reverse .m2_columns_side {
    grid-column: 1 / span 5;
    grid-row: 1;
}

.m2_columns_reverse .m2_columns_main {
    grid-column: 7 / span 6;
}

.m2_figure {
    margin: 0;
}

.m2_figure_img {
    overflow: hidden;
}

.m2_figure_img img {
    display: block;
    width: 100%;
    height: auto;
    transition: transform 0.7s ease;
}

.m2_figure:hover .m2_figure_img img {
    transform: scale(1.03);
}

.m2_figure figcaption {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.4;
    color: #777777;
}

/* Thẻ CTA */
.m2_cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 40px;
}

.m2_card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 24px;
    min-height: 240px;
    padding: 16px;
    border: 1px solid #cbcbcb;
    transition: border-color 0.7s ease;
}

.m2_card:hover {
    border-color: var(--sub-cl);
}

.m2_card_title {
    margin: 0;
    font-size: 22px;
    line-height: 1.2;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--main-cl);
}

.m2_card_desc {
    margin-top: 10px;
    font-size: 16px;
    line-height: 1.35;
}

.m2_card_btn {
    width: 100%;
    font-size: 14px;
}

/* ---------- Khối nổi bật nền xám ---------- */
.m2_breaker {
    /*margin-bottom: 80px;*/
    padding: 80px 0;
    /*background-color: #efefef;*/
    background-color: #808907;
}

.m2_breaker_grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    column-gap: 20px;
    align-items: center;
}

.m2_breaker_content {
    grid-column: 1 / span 7;
}

.m2_breaker_img {
    grid-column: 9 / span 4;
    aspect-ratio: 1 / 1;
    overflow: hidden;
}

.m2_breaker_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m2_breaker_text {
    margin-top: 20px;
    font-size: 32px;
    line-height: 1.2;
}

.m2_breaker .m2_link {
    margin-top: 30px;
}

/* ---------- Thư viện ảnh ---------- */
.m2_gallery {
    margin-bottom: 80px;
    padding: 80px 0;
    overflow: hidden;
    background-color: #000000;
}

.m2_gallery_slider {
    position: relative;
}

.m2_gallery .swiper {
    overflow: visible;
}

.m2_gallery .swiper-slide {
    width: min(820px, 70vw);
    transform: scale(0.8);
    opacity: 0.5;
    transition: transform 0.7s ease, opacity 0.7s ease;
}

.m2_gallery .swiper-slide-active {
    transform: scale(1);
    opacity: 1;
}

.m2_gallery_item {
    display: block;
    /*aspect-ratio: 4 / 3;*/
    aspect-ratio: 4/5;
    overflow: hidden;
    border-radius: 6px;
    background-color: #111111;
}

.m2_gallery_item img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.m2_gallery_nav {
    position: absolute;
    top: 50%;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-top: -24px;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    cursor: pointer;
    transition: color 0.7s ease, transform 0.7s ease;
}

.m2_gallery_prev {
    left: calc((100vw - min(80vw, 1280px)) / 2 - 14px);
}

.m2_gallery_next {
    right: calc((100vw - min(80vw, 1280px)) / 2 - 14px);
}

.m2_gallery_nav:hover {
    color: var(--sub-cl);
}

.m2_gallery_prev:hover {
    transform: translateX(-4px);
}

.m2_gallery_next:hover {
    transform: translateX(4px);
}

.m2_gallery_pagination {
    width: 267px;
    max-width: 60%;
    margin: 24px auto 0;
    text-align: center;
}

.m2_gallery_progress {
    position: relative;
    height: 2px;
    overflow: hidden;
    background-color: rgba(255, 255, 255, 0.3);
}

.m2_gallery_progress span {
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background-color: #ffffff;
    transition: width 0.5s ease;
}

.m2_gallery_count {
    margin-top: 10px;
    font-size: 14px;
    line-height: 1.3;
    font-weight: 800;
    letter-spacing: 1px;
    color: #ffffff;
}

/* ---------- Hệ sinh thái (thẻ có ảnh) ---------- */
.m2_universe {
    padding-bottom: 80px;
}

.m2_universe_list {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px 20px;
    margin-top: 40px;
}

.m2_universe_item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.m2_universe_img {
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #efefef;
}

.m2_universe_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.m2_universe_item:hover .m2_universe_img img {
    transform: scale(1.05);
}

.m2_universe_content {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 16px;
}

.m2_universe_content .m2_label {
    font-size: 12px;
}

.m2_universe_desc {
    margin-top: 8px;
    font-size: 16px;
    line-height: 1.35;
}

/* ---------- Cửa hàng ---------- */
.m2_shop {
    padding-bottom: 80px;
}

.m2_shop_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px 20px;
    margin-top: 40px;
}

.m2_shop_item {
    display: block;
    color: var(--text-cl);
}

.m2_shop_img {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #efefef;
}

.m2_shop_img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.m2_shop_title {
    display: block;
    margin-top: 16px;
    font-size: 20px;
    line-height: 1.3;
    transition: color 0.7s ease;
}

.m2_shop_price {
    display: block;
    margin-top: 8px;
    font-size: 16px;
    font-weight: 800;
    color: var(--main-cl);
}

.m2_shop_item:hover .m2_shop_title {
    color: var(--sub-cl);
}

/* Dấu + khi hover ảnh (thẻ tin tức / cửa hàng) */
.m2_news_plus {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    background-color: rgba(0, 0, 0, 0.35);
    opacity: 0;
    transition: opacity 0.7s ease;
}

.m2_news_plus svg {
    width: 28px;
    height: 28px;
    transform: scale(0.6);
    transition: transform 0.7s ease;
}

.m2_shop_item:hover .m2_shop_img img,
.m2_news_item:hover .m2_news_thumb img {
    transform: scale(1.05);
}

.m2_shop_item:hover .m2_news_plus,
.m2_news_item:hover .m2_news_plus {
    opacity: 1;
}

.m2_shop_item:hover .m2_news_plus svg,
.m2_news_item:hover .m2_news_plus svg {
    transform: scale(1);
}

/* ---------- Tin tức ---------- */
.m2_news {
    padding: 80px 0 100px;
    scroll-margin-top: 120px;
}

.m2_filter {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 40px;
}

.m2_filter_item {
    display: inline-flex;
    align-items: center;
    margin: 0;
    padding: 10px 14px;
    font-family: var(--font-main);
    font-size: 14px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--text-cl);
    background-color: #ffffff;
    border: 1px solid #cbcbcb;
    border-radius: 0;
    cursor: pointer;
    transition: color 0.7s ease, background-color 0.7s ease, border-color 0.7s ease;
}

.m2_filter_item:hover {
    color: var(--sub-cl);
    border-color: var(--sub-cl);
}

.m2_filter_item.active {
    color: #ffffff;
    background-color: var(--main-cl);
    border-color: var(--main-cl);
}

.m2_filter_item.is-hidden,
.m2_filter_more {
    display: none;
}

.m2_filter.has-more .m2_filter_more {
    display: inline-flex;
}

.m2_filter_more .less,
.m2_filter.is-open .m2_filter_more .more {
    display: none;
}

.m2_filter.is-open .m2_filter_more .less {
    display: inline;
}

.m2_filter.is-open .m2_filter_item.is-hidden {
    display: inline-flex;
}

.m2_news_list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 60px 20px;
}

.m2_news_thumb {
    position: relative;
    display: block;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    background-color: #efefef;
}

.m2_news_thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.m2_tag {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 1;
    padding: 5px 7px 4px;
    font-size: 12px;
    line-height: 1;
    font-weight: 800;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--text-cl);
    background-color: rgba(255, 255, 255, 0.8);
    border-radius: 4px;
    -webkit-backdrop-filter: blur(6px);
    backdrop-filter: blur(6px);
}

.m2_news_title {
    margin: 16px 0 0;
    padding: 0;
    font-size: 20px;
    line-height: 1.3;
    font-weight: 400;
}

.m2_news_title a {
    display: -webkit-box;
    overflow: hidden;
    color: var(--text-cl);
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    transition: color 0.7s ease;
}

.m2_news_item:hover .m2_news_title a {
    color: var(--sub-cl);
}

.m2_loadmore_btn.loading {
    opacity: 0.6;
    pointer-events: none;
}

.m2_empty {
    padding: 0;
    font-size: 18px;
}

/* ---------- Tin chi tiết ---------- */
.m2_post {
    padding-bottom: 80px;
}

.m2_post_content {
    max-width: 820px;
    margin: 0 auto;
}

.m2_post_content > .m2_lead + p {
    margin-top: 40px;
}

.m2_related {
    padding: 80px 0 100px;
    border-top: 1px solid #e5e5e5;
}

.m2_related_head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 40px;
}

.m2_breaker .m2_label, .m2_breaker .m2_breaker_text, .m2_breaker a {
    color: white;
}

.page-template-contact section {
    background: #FFF6D2;
}

.contact_1 .title {
    color: #808907;
}

.contact_1 .contact_list .text a {
    color: #808907;
}

.contact_form .btn_submit:disabled:hover, .contact_form .btn_submit {
    background-color: #808907;
}

.m2_news {
    background: #FFF6D2;
}

.m2_filter_item {
    background: #808907;
    color: white;
}

.m2_filter_item.active {
    background-color: var(--sub-cl);
    border-color: var(--sub-cl);
}

.home_hot_blog a {
    width: 100%;
    height: 100%;
    display: block;
}

.m2_gallery h2 {
    margin: 1rem 0;
    color: var(--sub-cl);
}

.lineup_main img {
    aspect-ratio: 4 / 5;
}

.home_videos .bg_sec {
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 1;
}

.home_videos .bg_sec img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home_videos {
    position: relative;
}

.home_videos_container {
    position: relative;
    z-index: 3;
}

.footer_main {
    position: relative;
}

.footer_main .bg_sec {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.footer_main .bg_sec img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page-template-home :is(h1,h2) {
    color: #808907 !important;
}

.page-template-home .home_videos h2.title {
    color: white !important;
}

.page-template-faq .et_pb_text_inner h2 {
    color: #808907 !important;
}

@media (max-width: 1199px) {
    .m2_universe_list {
        grid-template-columns: repeat(2, 1fr);
    }

    .m2_cards {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 980px) {
    .m2_banner {
        margin-bottom: 60px;
        padding: 0;
    }

    .m2_banner_grid {
        grid-template-columns: 1fr;
    }

    .m2_banner_content {
        width: 80%;
        margin: 0 auto;
        padding: 50px 0 40px;
    }

    .m2_banner_title {
        font-size: 56px;
    }

    .m2_banner_img {
        max-height: none;
    }

    .m2_columns_main,
    .m2_columns_side,
    .m2_columns_noimg .m2_columns_main,
    .m2_columns_reverse .m2_columns_main,
    .m2_columns_reverse .m2_columns_side,
    .m2_breaker_content,
    .m2_breaker_img {
        grid-column: 1 / -1;
        grid-row: auto;
    }

    .m2_columns_grid {
        row-gap: 40px;
    }

    .m2_columns,
    .m2_universe,
    .m2_shop {
        padding-bottom: 60px;
    }

    .m2_breaker,
    .m2_gallery {
        margin-bottom: 60px;
        padding: 60px 0;
    }

    .m2_breaker_grid {
        row-gap: 40px;
    }

    .m2_breaker_img {
        max-width: 480px;
    }

    .m2_breaker_text {
        font-size: 26px;
    }

    .m2_shop_list {
        grid-template-columns: repeat(2, 1fr);
    }

    .m2_news_list {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 20px;
    }

    .m2_gallery_nav {
        display: none;
    }

    .m2_related {
        padding: 60px 0 80px;
    }
}

@media (max-width: 767px) {
    .m2_title,
    .m2_typography h2 {
        font-size: 28px;
    }

    .m2_banner_content {
        width: 90%;
        gap: 18px;
        padding: 40px 0 30px;
    }

    .m2_banner_title {
        font-size: 42px;
    }

    .m2_lead,
    .m2_typography .m2_lead,
    .m2_typography blockquote p {
        font-size: 20px;
    }

    .m2_typography h2,
    .m2_typography blockquote,
    .m2_typography figure {
        margin-top: 40px;
    }

    .m2_cards,
    .m2_universe_list {
        grid-template-columns: 1fr;
    }

    .m2_card {
        min-height: 0;
    }

    .m2_breaker_text {
        font-size: 22px;
    }

    .m2_gallery .swiper-slide {
        width: 85vw;
    }

    .m2_shop_list,
    .m2_news_list {
        gap: 30px 12px;
    }

    .m2_shop_title,
    .m2_news_title {
        font-size: 16px;
    }

    .m2_filter {
        margin-bottom: 30px;
    }

    .m2_related_head {
        align-items: flex-end;
    }

    .m2_related_head {
        flex-direction: column;
        align-items: center;
    }
}

/* =========================================================
   RESPONSIVE TOÀN SITE (tablet ≤991 / mobile ≤767)
   - Section, header, footer full 100%, padding 2 bên 15px
   - Tablet: chữ nhỏ nhất 15px, nội dung 18px | Mobile: nhỏ nhất 13px, nội dung 14px
   - Header mobile dính kiểu Flatsome: JS set height inline cho header + class .stuck
   ========================================================= */
/* Trang không phải page (tin chi tiết, archive...) cũng dùng font của mẫu */
body:not(.page) {
    font-family: var(--font-main) !important;
    font-weight: 400;
}

/* Chỉ hiện ở mobile */
.list_tax_mobile,
.m2_related_more {
    display: none;
}

@keyframes ttStuckMoveDown {
    0% {
        transform: translateY(-100%);
    }

    100% {
        transform: translateY(0);
    }
}

@media (max-width: 991px) {
    /* ----- Khung: full width + padding 15px ----- */
    #page-container .et_pb_row:not(.et_pb_row_inner),
    #page-container .et-l .et_pb_row:not(.et_pb_row_inner).et_pb_row {
        width: 100% !important;
        max-width: 100% !important;
        padding-left: 15px !important;
        padding-right: 15px !important;
        box-sizing: border-box;
    }

    .m2_container,
    .contact_container,
    .home_videos_container {
        width: 100%;
        max-width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        box-sizing: border-box;
    }

    /* ----- Chữ: nhỏ nhất 15px ----- */
    .m2_tag,
    .m2_label,
    .m2_universe_content .m2_label,
    .m2_breadcrumb,
    .m2_share_title,
    .m2_link,
    .m2_filter_item,
    .m2_card_btn,
    .m2_gallery_count,
    .m2_figure figcaption,
    .m2_typography figcaption,
    .m2_typography blockquote cite,
    .mc-sms-phone-group .small-meta p,
    .mc-sms-phone-group .small-meta a,
    .et_pb_text_inner h4 .npj-toggle-button {
        font-size: 15px !important;
    }

    /* ----- Chữ nội dung: 18px ----- */
    .m2_card_desc,
    .m2_universe_desc {
        font-size: 18px;
    }

    /* ----- Hình ảnh / icon vừa tay bấm ----- */
    .m2_share_list {
        gap: 10px;
    }

    .m2_share_list a {
        width: 36px;
        height: 36px;
        padding: 8px;
        box-sizing: border-box;
    }

    .contact_form .acceptance input {
        flex: 0 0 20px;
        width: 20px;
        height: 20px;
    }
}

/* ----- Header mobile (Divi chuyển sang header mobile ở 980px) ----- */
@media (max-width: 980px) {
    .m2_banner_content {
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
    }

    .et_pb_section_1_tb_header {
        z-index: 99999;
    }

    .et_pb_section_1_tb_header.stuck {
        position: fixed !important;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        animation: ttStuckMoveDown 0.6s;
        box-shadow: 0 1px 10px rgba(0, 0, 0, 0.25);
    }

    /* Logo: không tràn khỏi thanh header */
    .et_pb_image_0_tb_header,
    .et_pb_image_0_tb_header .et_pb_image_wrap {
        width: auto !important;
        line-height: 0;
    }

    .et_pb_image_0_tb_header .et_pb_image_wrap img {
        width: auto;
        max-height: 64px;
    }

    /* Nút toggle: icon SVG Font Awesome (bars / xmark), luôn màu trắng */
    .et_pb_menu_1_tb_header .et_mobile_nav_menu {
        margin: 0;
    }

    .et_pb_menu_1_tb_header .mobile_nav .mobile_menu_bar,
    .gtc-mobile-menu .mobile_nav.opened .mobile_menu_bar {
        top: 0;
        left: 0;
        display: flex;
        align-items: center;
        justify-content: center;
        width: 44px;
        height: 44px;
        transform: none;
        -webkit-tap-highlight-color: transparent;
    }

    .et_pb_menu_1_tb_header .mobile_nav .mobile_menu_bar:before,
    .et_pb_menu_1_tb_header .mobile_nav .mobile_menu_bar:hover:before {
        content: '' !important;
        top: 0;
        width: 28px;
        height: 28px;
        font-size: 0;
        color: transparent;
        background-color: #ffffff;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M0 96C0 78.3 14.3 64 32 64h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zm0 160c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zm448 160c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h384c17.7 0 32 14.3 32 32z'/%3E%3C/svg%3E") no-repeat center / contain;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath d='M0 96C0 78.3 14.3 64 32 64h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32C14.3 128 0 113.7 0 96zm0 160c0-17.7 14.3-32 32-32h384c17.7 0 32 14.3 32 32s-14.3 32-32 32H32c-17.7 0-32-14.3-32-32zm448 160c0 17.7-14.3 32-32 32H32c-17.7 0-32-14.3-32-32s14.3-32 32-32h384c17.7 0 32 14.3 32 32z'/%3E%3C/svg%3E") no-repeat center / contain;
    }

    .et_pb_menu_1_tb_header .mobile_nav.opened .mobile_menu_bar:before,
    .et_pb_menu_1_tb_header .mobile_nav.opened .mobile_menu_bar:hover:before {
        width: 26px;
        height: 26px;
        -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256z'/%3E%3C/svg%3E");
        mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath d='M342.6 150.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L192 210.7 86.6 105.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L146.7 256 41.4 361.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0L192 301.3l105.4 105.3c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L237.3 256z'/%3E%3C/svg%3E");
    }

    /* Menu mobile: panel full màn hình ngay dưới thanh header, cuộn được */
    .gtc-mobile-menu .et_mobile_menu,
    .et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu {
        position: fixed;
        top: var(--tt-menu-top, 78px) !important;
        left: 0;
        width: 100%;
        min-width: 0;
        height: calc(100vh - var(--tt-menu-top, 78px));
        height: calc(100dvh - var(--tt-menu-top, 78px));
        margin: 0;
        padding: 20px 15px 40px !important;
        overflow-y: auto;
        box-sizing: border-box;
    }

    .et_pb_menu_1_tb_header.et_pb_menu .et_mobile_menu li a {
        padding: 12px 0 !important;
        font-family: var(--font-title);
        font-size: 20px;
        line-height: 1.2;
        font-weight: 800;
        text-transform: uppercase;
    }

    html.tt_menu_open,
    html.tt_menu_open body {
        overflow: hidden;
    }
}

@media (min-width: 601px) and (max-width: 782px) {
    body.admin-bar .et_pb_section_1_tb_header.stuck {
        top: 46px;
    }
}

@media (min-width: 783px) and (max-width: 980px) {
    body.admin-bar .et_pb_section_1_tb_header.stuck {
        top: 32px;
    }
}

@media (max-width: 767px) {
    /* ----- Chữ: nhỏ nhất 13px, nội dung 14px+ ----- */
    .m2_tag,
    .m2_universe_content .m2_label,
    .mc-sms-phone-group .small-meta p,
    .mc-sms-phone-group .small-meta a {
        font-size: 13px !important;
    }

    .m2_label,
    .m2_breadcrumb,
    .m2_share_title,
    .m2_link,
    .m2_card_btn,
    .m2_gallery_count,
    .m2_figure figcaption,
    .m2_typography figcaption,
    .m2_typography blockquote cite,
    .et_pb_text_inner h4 .npj-toggle-button {
        font-size: 14px !important;
    }

    .m2_card_desc,
    .m2_universe_desc {
        font-size: 16px;
    }

    /* ----- Thanh lọc danh mục => dropdown list_tax_mobile ----- */
    .m2_filter {
        display: none !important;
    }

    .list_tax_mobile {
        position: relative;
        z-index: 10;
        display: block;
        margin-bottom: 30px;
        font-family: var(--font-main);
        color: var(--main-cl);
        border: 1px solid var(--main-cl);
        transition: background-color 0.3s ease, color 0.3s ease;
    }

    .list_tax_mobile.active {
        color: #ffffff;
        background-color: var(--main-cl);
    }

    .list_tax_mobile .tax_title {
        position: relative;
        padding: 14px 50px 14px 15px;
        font-size: 15px;
        line-height: 1.3;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
        cursor: pointer;
        -webkit-tap-highlight-color: transparent;
    }

    .list_tax_mobile .tax_title:before {
        content: '';
        position: absolute;
        top: 50%;
        right: 15px;
        width: 16px;
        height: 16px;
        background-color: currentColor;
        transform: translateY(-50%);
        transition: transform 0.4s ease;
        -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E") no-repeat center / contain;
        mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 512 512'%3E%3Cpath d='M233.4 406.6c12.5 12.5 32.8 12.5 45.3 0l192-192c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0L256 338.7 86.6 169.4c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3l192 192z'/%3E%3C/svg%3E") no-repeat center / contain;
    }

    .list_tax_mobile.active .tax_title:before {
        transform: translateY(-50%) rotate(180deg);
    }

    .list_tax_mobile .tax_list {
        position: absolute;
        top: 100%;
        left: -1px;
        right: -1px;
        display: none;
        max-height: 300px;
        margin: 0;
        padding: 0;
        overflow-y: auto;
        list-style: none;
        background-color: #ffffff;
        border: 1px solid var(--main-cl);
        border-top: 0;
        box-shadow: 0 8px 15px rgba(0, 0, 0, 0.1);
    }

    .list_tax_mobile .tax_item {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #e2e2e2;
    }

    .list_tax_mobile .tax_item:last-child {
        border-bottom: 0;
    }

    .list_tax_mobile .tax_item a {
        display: block;
        padding: 12px 15px;
        font-size: 14px;
        line-height: 1.4;
        font-weight: 800;
        letter-spacing: 1px;
        text-transform: uppercase;
        color: var(--text-cl);
    }

    .list_tax_mobile .tax_item.active a {
        color: var(--sub-cl);
    }

    /* ----- Tiêu đề + nút: nút chuyển xuống dưới danh sách ----- */
    .m2_related_head .m2_link {
        display: none;
    }

    .m2_related_head {
        margin-bottom: 30px;
    }

    .m2_related_more {
        display: block;
        margin-top: 40px;
        text-align: center;
    }

    /* ----- Flex/grid chật => xếp dọc ----- */
    .m2_universe_item {
        grid-template-columns: 1fr;
    }

    .m2_universe_img {
        aspect-ratio: 2 / 1;
    }

    .m2_universe_img img {
        object-fit: contain;
    }

    .contact_form .form_bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 25px;
    }

    .contact_form .form_bottom .acceptance {
        order: -1;
    }

    .contact_form .btn_submit {
        justify-content: center;
        width: 100%;
    }
}

/* Tablet: trang chủ 3 ảnh (cột 1/3) xếp 3 cột thay vì dọc, tránh ảnh quá to */
@media (min-width: 768px) and (max-width: 980px) {
    .home .et_pb_row_2 {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }

    .home .et_pb_row_2:after {
        display: none;
    }

    .home .et_pb_row_2 > .et_pb_column {
        width: auto !important;
        margin: 0 !important;
    }
}

/* Tablet: ảnh minh hoạ không quá to, thẻ hệ sinh thái 1 cột (ảnh nhỏ bên trái) cho đỡ chật */
@media (min-width: 768px) and (max-width: 980px) {
    .m2_columns_side .m2_figure,
    .m2_breaker_img {
        max-width: 560px;
        margin-left: auto;
        margin-right: auto;
    }

    .m2_universe_list {
        grid-template-columns: 1fr;
    }

    .m2_universe_item {
        grid-template-columns: 180px 1fr;
        gap: 25px;
    }
}

/* =========================================================
   FORM POPUP (Contact Form 7) + DATEPICKER (jQuery UI)
   ========================================================= */
.mc_popup_container #mc_embed_signup .wpcf7-form-control-wrap {
    display: block;
}

/* Ô ngày sinh: readonly để mobile không bật bàn phím, icon lịch bên phải */
.mc_popup_container #mc_embed_signup input.tt_datepicker {
    padding-right: 48px !important;
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'%3E%3Cpath fill='%23999' d='M152 24c0-13.3-10.7-24-24-24s-24 10.7-24 24v40H64C28.7 64 0 92.7 0 128v320c0 35.3 28.7 64 64 64h320c35.3 0 64-28.7 64-64V128c0-35.3-28.7-64-64-64h-40V24c0-13.3-10.7-24-24-24s-24 10.7-24 24v40H152V24zM48 192h352v256c0 8.8-7.2 16-16 16H64c-8.8 0-16-7.2-16-16V192z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
    background-size: 16px 18px;
}

.mc_popup_container #mc_embed_signup select:invalid,
.mc_popup_container #mc_embed_signup input::placeholder {
    color: #999;
}

/* Lỗi từng field + thông báo chung */
.mc_popup_container .wpcf7-not-valid-tip {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.3;
    color: #e85c41;
}

.mc_popup_container .wpcf7 form .wpcf7-response-output {
    margin: 16px 0 0;
    padding: 12px 16px;
    font-size: 16px;
    line-height: 1.4;
    text-align: center;
    color: #e85c41;
    border: 1px solid #e85c41;
}

.mc_popup_container .wpcf7 form.sent .wpcf7-response-output {
    color: #ffffff;
    background-color: var(--main-cl);
    border-color: var(--main-cl);
}

.mc_popup_container .wpcf7-spinner {
    display: none;
    margin: 12px auto 0;
}

.mc_popup_container .wpcf7 form.submitting .wpcf7-spinner {
    display: block;
}

.mc_popup_container .wpcf7 form.submitting input[type=submit].button {
    opacity: 0.6;
    pointer-events: none;
}

/* ----- Lịch chọn ngày ----- */
.ui-helper-hidden-accessible {
    position: absolute !important;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0 0 0 0);
}

#ui-datepicker-div.tt_datepicker_ui {
    z-index: 1000010 !important;
    display: none;
    width: 300px;
    max-width: calc(100vw - 30px);
    padding: 12px;
    font-family: var(--font-main);
    font-size: 15px;
    line-height: 1;
    color: var(--text-cl);
    background-color: #ffffff;
    border-top: 3px solid var(--main-cl);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
    box-sizing: border-box;
}

.tt_datepicker_ui .ui-datepicker-header {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    margin-bottom: 8px;
    padding: 0 40px;
}

.tt_datepicker_ui .ui-datepicker-prev,
.tt_datepicker_ui .ui-datepicker-next {
    position: absolute;
    top: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    color: var(--main-cl);
    cursor: pointer;
    transform: translateY(-50%);
    transition: color 0.3s ease;
}

.tt_datepicker_ui .ui-datepicker-prev {
    left: 0;
}

.tt_datepicker_ui .ui-datepicker-next {
    right: 0;
}

.tt_datepicker_ui .ui-datepicker-prev:hover,
.tt_datepicker_ui .ui-datepicker-next:hover {
    color: var(--sub-cl);
}

.tt_datepicker_ui .ui-datepicker-prev.ui-state-disabled,
.tt_datepicker_ui .ui-datepicker-next.ui-state-disabled {
    opacity: 0.25;
    cursor: default;
}

.tt_datepicker_ui .ui-datepicker-prev .ui-icon,
.tt_datepicker_ui .ui-datepicker-next .ui-icon {
    display: block;
    width: 14px;
    height: 14px;
    overflow: hidden;
    text-indent: -9999px;
    background-color: currentColor;
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z'/%3E%3C/svg%3E") no-repeat center / contain;
    mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 320 512'%3E%3Cpath d='M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z'/%3E%3C/svg%3E") no-repeat center / contain;
}

.tt_datepicker_ui .ui-datepicker-next .ui-icon {
    transform: rotate(180deg);
}

.tt_datepicker_ui .ui-datepicker-title {
    display: flex;
    gap: 6px;
    font-weight: 800;
    text-transform: uppercase;
}

.tt_datepicker_ui .ui-datepicker-title select {
    height: 34px;
    margin: 0;
    padding: 0 22px 0 8px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    color: var(--text-cl);
    background: #f2f2f2 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23333' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E") no-repeat right 6px center / 12px 12px;
    border: 0;
    border-radius: 0;
    cursor: pointer;
    -webkit-appearance: none;
    appearance: none;
}

.tt_datepicker_ui table.ui-datepicker-calendar {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
    border: 0;
}

.tt_datepicker_ui .ui-datepicker-calendar th,
.tt_datepicker_ui .ui-datepicker-calendar td {
    padding: 2px;
    text-align: center;
    border: 0;
}

.tt_datepicker_ui .ui-datepicker-calendar th {
    padding-bottom: 6px;
    font-size: 13px;
    font-weight: 800;
    color: #999;
}

.tt_datepicker_ui .ui-datepicker-calendar td a,
.tt_datepicker_ui .ui-datepicker-calendar td span {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 36px;
    font-size: 15px;
    color: var(--text-cl);
    text-decoration: none;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.tt_datepicker_ui .ui-datepicker-calendar td a:hover {
    color: #ffffff;
    background-color: var(--sub-cl);
}

.tt_datepicker_ui .ui-datepicker-calendar td a.ui-state-highlight {
    color: var(--main-cl);
    font-weight: 800;
    box-shadow: inset 0 0 0 1px var(--main-cl);
}

.tt_datepicker_ui .ui-datepicker-calendar td a.ui-state-active {
    color: #ffffff;
    font-weight: 800;
    background-color: var(--main-cl);
    box-shadow: none;
}

.tt_datepicker_ui .ui-datepicker-other-month a {
    color: #bbb;
}

.tt_datepicker_ui .ui-datepicker-calendar td.ui-state-disabled span {
    color: #ddd;
    cursor: default;
}

@media (max-width: 767px) {
    /* popup: nội dung cách mép 15px như toàn site */
    .et_pb_code_0_tb_footer {
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    .mc_popup_container #mc_embed_signup .mc-field-group label {
        font-size: 15px;
    }

    .mc_popup_container #mc_embed_signup input[type=submit].button {
        font-size: 24px;
    }
}

/* Tin tức ajax: lớp loading phủ danh sách */
.m2_news_list .m2_empty {
    grid-column: 1 / -1;
}

.m2_news_wrap .ajax_loading {
    position: absolute;
    inset: 0;
    z-index: 5;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 120px;
    background-color: rgba(255, 255, 255, 0.6);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.m2_news_wrap.loading .ajax_loading {
    opacity: 1;
    visibility: visible;
}

.m2_news_wrap .ajax_loading_spinner {
    width: 40px;
    height: 40px;
    border: 3px solid rgba(22, 96, 87, 0.2);
    border-top-color: var(--main-cl);
    border-radius: 50%;
    animation: ttSpin 0.8s linear infinite;
}

@keyframes ttSpin {
    100% {
        transform: rotate(360deg);
    }
}

.m2_news_bottom .ajax-load-more {
    margin-top: 60px;
    text-align: center;
}

/* Tin tức / danh mục không còn banner => khoảng cách trên của danh sách */
@media (max-width: 980px) {
    .m2_news {
        padding: 60px 0 80px;
    }
}

@media (max-width: 767px) {
    .m2_news {
        padding: 40px 0 60px;
    }

    .entry-content h1 {
        font-size: 2rem;
    }
}

/* =========================================================
   SLIDE: khung mũi tên + pagination (.pagination_wrap)
   Mobile/tablet luôn có mũi tên 2 bên, pagination ở giữa
   ========================================================= */
/* Tiện ích flex (site không load flatsome-core.min.css) */
.flex {
    display: flex;
}

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

.items-center {
    align-items: center;
}

.pagination_wrap {
    gap: 20px;
    margin-top: 24px;
}

.slide_arrow {
    display: flex;
    flex: 0 0 44px;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 50%;
    cursor: pointer;
    transition: color 0.7s ease, background-color 0.7s ease, opacity 0.3s ease;
    -webkit-tap-highlight-color: transparent;
}

.slide_arrow svg {
    width: 20px;
    height: 20px;
}

.slide_arrow.swiper-button-disabled {
    opacity: 0.35;
    cursor: default;
}

.pagination_wrap .swiper-pagination {
    position: static;
    display: flex;
    flex: 1 1 auto;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
    width: auto;
    transform: none;
}

.pagination_wrap .swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    margin: 0 !important;
    background-color: rgba(255, 255, 255, 0.45);
    border-radius: 4px;
    opacity: 1;
    transition: width 0.3s ease, background-color 0.3s ease;
}

.pagination_wrap .swiper-pagination-bullet-active {
    width: 24px;
    background-color: #ffffff;
}

/* Trang chủ - video ngắn: PC dùng mũi tên 2 bên slider, không có pagination */
.home_videos .slide_arrow {
    color: var(--main-cl);
    background-color: #ffffff;
}

/* About - thư viện ảnh: pagination là thanh tiến trình + số */
.m2_gallery .pagination_wrap {
    width: 100%;
    padding: 0 15px;
    box-sizing: border-box;
}

.m2_gallery .pagination_wrap .m2_gallery_pagination {
    flex: 0 1 267px;
    max-width: none;
    margin: 0 auto;
}

.m2_gallery .slide_arrow {
    color: #ffffff;
    background-color: transparent;
    box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.4);
}
.m2_typography h2 {
    margin-bottom: 1rem;
}
.et_pb_text_inner h2 {
    margin-bottom: .5rem !important;
}
@media (hover: hover) {
    .home_videos .slide_arrow:hover {
        color: #ffffff;
        background-color: var(--sub-cl);
    }

    .m2_gallery .slide_arrow:hover {
        color: var(--sub-cl);
    }
}

@media (min-width: 981px) {
    .slide_arrow_mobile,
    .home_videos .pagination_wrap {
        display: none;
    }
}

@media only screen and (max-width: 767px) {

    .page-template-home #page-container .et-l .et_pb_row.banner_image {
        padding: 0 !important;
    }

    .m2_gallery_item {
        height: auto;
    }
    .home_logos .slide_arrow_mobile {
        background: var(--sub-cl);
    }


    .home_logos .slide_arrow_mobile svg {
        stroke: white;
    }
    .act_tab{
        display:flex !important;
    }
    .m2_gallery_item {
        aspect-ratio: unset;
    }
    .et_pb_section_1_tb_header.et_pb_section {
        background-color: #e83d00 !important
    }
}

/* Nút CTA nổi - Theme Options > Nút CTA */
.tt-cta {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.tt-cta__item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background-color: var(--main-cl);
    color: #fff;
    box-shadow: 0 4px 14px rgba(0, 0, 0, .25);
    transition: transform .25s ease;
}

.tt-cta__item:hover {
    color: #fff;
    transform: scale(1.08);
}

.tt-cta__icon,
.tt-cta__icon svg,
.tt-cta__icon img {
    display: block;
    width: 26px;
    height: 26px;
    object-fit: contain;
}

.tt-cta__item--phone .tt-cta__icon {
    animation: tt-cta-ring 1.6s ease-in-out infinite;
}

.tt-cta__label {
    position: absolute;
    right: calc(100% + 10px);
    top: 50%;
    padding: 6px 12px;
    border-radius: 4px;
    background: #fff;
    color: #222;
    font-size: 14px;
    line-height: 1.3;
    white-space: nowrap;
    box-shadow: 0 2px 10px rgba(0, 0, 0, .15);
    opacity: 0;
    visibility: hidden;
    transform: translate(6px, -50%);
    transition: opacity .25s ease, transform .25s ease, visibility .25s;
}

.tt-cta__item:hover .tt-cta__label,
.tt-cta__item:focus-visible .tt-cta__label {
    opacity: 1;
    visibility: visible;
    transform: translate(0, -50%);
}

@keyframes tt-cta-ring {
    0%, 50%, 100% { transform: rotate(0); }
    10%, 30% { transform: rotate(-15deg); }
    20%, 40% { transform: rotate(15deg); }
}

@media (prefers-reduced-motion: reduce) {
    .tt-cta__item--phone .tt-cta__icon { animation: none; }
}

@media (max-width: 767px) {
    .tt-cta { right: 12px; bottom: 12px; gap: 10px; }
    .tt-cta__item { width: 46px; height: 46px; }
    .tt-cta__icon, .tt-cta__icon svg, .tt-cta__icon img { width: 22px; height: 22px; }
    .tt-cta__label { display: none; }
}
