html {
    scroll-behavior: smooth !important;
    background-color: #EDF2FA;
}

body {
    width: 100% !important;
    overflow-y: auto;
    overflow-x: hidden;
    background-color: #EDF2FA;
    margin: 0;
}

/* Bỏ viền section (trước dùng border 4 cạnh → lộ line đen 2 bên lề) */
section {
    border: none !important;
}

/* id="0" không dùng được #0 trong CSS — dùng attribute selector */
section[id="0"],
section#gioithieu {
    border-left: none !important;
    border-right: none !important;
}

/* Menu sát HP_TOP (bỏ padding-top 3rem của section) */
section[id="0"].back-section1 {
    padding-top: 0 !important;
    padding-bottom: 2rem !important;
}

section[id="0"] .container.center {
    margin-bottom: 2rem;
    padding: 0 !important; /* thẳng lề với HP_TOP */
    max-width: 100%;
    width: 100%;
}

section[id="0"] .row,
section[id="0"] .col.span-12 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
    max-width: 100%;
    width: 100%;
}

section[id="0"] .table-content {
    width: 100%;
    margin: 0;
    border-collapse: collapse;
}

.row {
    position: relative;
}

.middle {
    position: absolute;
    top: 50%;
    transform: translate(0, -50%);
}

.line-12 {
    line-height: 1.2;
}

.text-left {
    width: 100%;
    text-align: left !important;
}

.text-center {
    width: 100%;
    text-align: center !important;
    vertical-align: middle;
}

.under span {
    font-weight: 700;
    font-size: 5rem;
    color: #C1944E;
}

.fullwidth-screen {
    width: 100vw;
    background-color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.fullwidth-screen img, .fullwidth-screen picture {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.fullwidth-screen picture{
    padding: 0;
}

.table-content {
    /*height: auto;*/
    width: 100%;
    border-collor: white;
    background-color: #1B2856;

    .headerTOM {
        left: 7.5%;
        top: 8.76%;
        font-size: 4rem;
        font-weight: 600;
        transform: scaleX(1.0838);
        line-height: 4.5rem
    }
}

.table-content td {
    width: 32%;
    height: 170px;
    align-items: center;
    padding: 0;
    border: 2px #FFFFFF solid;
    position: relative;
}

.table-content td a {
    font-size: 3.2rem;
    font-weight: 500;
    color: #FFFFFF;
}

.arrow-down {
    position: absolute;
    bottom: 5px;
    left: 0;
    right: 0;
    margin-inline: auto;
    color: #FFFFFF;
    width: 30px;
}

.bt-website, .bt-website:hover, .bt-facebook, .bt-facebook:hover {
    border-radius: 100px;
    width: auto;
    position: relative;
    max-width: 900px;
    border: 15px #b72913 solid;
    color: #b72913;
    padding: 30px;
    margin: 100px auto;
    height: fit-content;
    box-shadow: 0 8px 12px rgb(63 30 30 / 84%);
    display: flex;
    flex-direction: column;
}

.bt-facebook, .bt-facebook:hover {
    border: 15px #1f67aa solid;
    color: #1f67aa;
}

.bt-website span, .bt-facebook span {
    text-align: center;
    vertical-align: top;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif;
    font-weight: 700;
    font-size: 50px;
    margin: auto;
    white-space: wrap;
    line-height: 1.2;
    align-items: center;
}

.bt-website svg, .bt-facebook svg {
    position: absolute;
    height: 60px;
    top: 0;
    bottom: 0;
    right: 15px;
    margin: auto 0;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

.px-center {
    margin-left: auto;
    margin-right: auto;
    align-content: center;
    vertical-align: middle;
}

section h1.title {
    background-color: #1B2856;
    color: #FFFFFF;
    width: 100%;
    padding: 80px;
    font-size: 8rem !important;
    font-weight: 700;
    border-bottom: 10px solid #F9E72B;
    text-align: center;
}

#gioithieu h2 {
    font-size: 4rem;
    font-weight: 600;
    color: #C19444;
}

#gioithieu .row .header img {
    margin-right: 40px;
}

.hr-line {
    width: 100%;
    height: 1px;
    border: #000 1px solid;
    margin: 20px 0;
}

.row .header {
    display: flex;
    flex-direction: row;
}

.row .header img {
    height: 100px
}

.row .header img, .row .header h2 {
    margin: auto 10px auto 0;
    font-size: 5rem !important;
    text-align: left;
    font-weight: 600;
}

.text-content {
    font-size: 4rem;
    text-align: left;
    color: #4b4847;
    margin-top: 25px;
    line-height: 1.2;
    font-weight: 400;
    font-family: "Noto Sans", "Noto Sans JP", sans-serif !important;
}

h2.text-content {
    font-size: 4.3rem;
    text-align: center;
    color: #B72914;
    font-weight: 600
}

.font4rem {
    font-family: "Noto Sans", "Noto Sans JP", sans-serif !important;
    font-size: 4rem !important;
    font-weight: 500;
}

.thanh-tich {
    img {
        width: 100%;
        margin: auto;
    }

    table {
        border-collapse: collapse;
        margin: 20px auto;
        width: 100%;
        font-size: 3rem;
        border: none;
    }

    th, td {
        padding: 8px;
        text-align: right;
    }

    th {
        border-top: 8px solid #be9c59;
        background-color: #f0e6d2;
    }

    th + th, td + td {
        border-left: 2px solid #a1a1a1;
    }

    tr {
        border-bottom: 2px dotted #6e6e6e;
    }

    tr:nth-child(2) th,
    tr:nth-child(3) th {
        background-color: #f0e6d2; /* Màu nền nhạt cho các ô đầu cột */
        /*color: #000;*/
    }

    tr:nth-child(3) {
        border-bottom: none;
    }

    td {
        font-weight: 600;
        color: #003067;
        font-size: 3.1rem;
    }

    td:first-child {
        background-color: #f0e6d2; /* Màu nền nhạt cho cột đầu tiên */
        color: #4b4847;
        font-size: 3rem;
    }

    hr {
        border: 0;
        height: 8px;
        background-color: #be9c59;
        width: 100%;
        margin: 20px auto;
    }

    .title {
        text-align: center;
        font-weight: bold;
        margin: 20px 0;
        color: #be9c59;
    }
}

#khaiquat {
    border: none;
    margin-top: -20px;

    h2 {
        font-size: 4rem;
        font-weight: 600;
        color: #1E2578;
    }

    .container h2 {
        margin-top: 20px;
    }

    .row .header img {
        margin-right: 20px;
    }

    .row .header h2 {
        margin: auto 0;
    }
}

#lichtrinh {
    border: none;

    .row:first-child {
        margin-top: -25px;
    }

    tbody td {
        padding: 30px 5px !important;
    }
}

#btn-back-to-top {
    position: fixed;
    width: 60px;
    height: 60px;
    background-image: url("../img/chevron-up.svg");
    background-size: 40px 40px;
    background-position: center;
    bottom: 30px;
    right: 20px;
    display: none;
    border: rgba(182, 41, 18, 1) 3px solid;
    border-radius: 100px;
    padding: 15px;
    -webkit-backface-visibility: hidden;
}

#thamgia, #quatang {
    padding-top: 0;
    padding-bottom: 0;
}

/* #thamgia .col không nằm first-child của .row → grid.css gán margin-left: 4%; về 0 để đều 2 lề */
#thamgia .col,
#thamgia .col.span-12 {
    margin-left: 0 !important;
}
#quatang{
    background-color: #fff
}

#thamgia h2 {
    color: #1E2578;
    margin: 0;
    padding: 0;
}

#quatang h1, #quatang h2 {
    font-weight: 700;
    font-size: 4rem;
}

.table-content td a span {
    padding: 5px 20px
}

.h2-custom {
    margin-top: 80px;
}

.h2-custom h2 {
    width: 100%;
    text-align: center;
    color: #B72914 !important;
    font-weight: 600 !important;
    font-size: 6rem !important;
}

.container-lich-trinh {
    background-color: #FFFFFF;
    width: 100%;
    text-align: left;
    margin-top: 60px;
    border-right: 10px solid #1E2578;
    border-left: 10px solid #1E2578;
    padding: 10px 50px;
    
    td.text-content {
        font-size: 3.5rem !important;

        a {
            font-size: 3.2rem !important;
        }
    }
    .container-lich-trinh-1-td{
        border-bottom: 2px solid #E1E1E1;width: 170px;
    }
}
.lichtrinh{
    .lichtrinh-first-td{
        border-bottom: 2px dotted rgba(43,43,43,0.85);
        img{display:block}
    }
    .lichtrinh-second-td{
        border-bottom: 2px dotted rgba(43,43,43,0.85);
    }
}
@media screen and (max-width: 768px) {
    .under span, .row .header img, .row .header h2 {
        font-size: 2.5rem !important;
    }

    #gioithieu h2, #quatang h1, #quatang h2, #khaiquat h2 {
        font-size: 2rem;
    }

    .table-content td a span {
        padding: 5px 15px
    }
    .table-content .headerTOM{
        font-size: 2.5rem;
        line-height: 3.5rem;
    }

    #btRegister-top .bt-website {
        margin-left: 2rem;
        margin-right: 2rem;
    }

    .bt-website span, .bt-facebook span {
        font-size: 35px;
        padding-right: 50px;
        padding-left: 20px;
    }

    #btRegister-top .bt-website span {
        padding-left: 40px;
    }


    section h1.title {
        font-size: 4rem !important;
        padding: 80px 50px;
    }

    .font4rem, .table-content td a, .text-content {
        font-size: 2rem !important;
    }

    .h2-custom {
        margin-top: 40px;
    }

    .h2-custom h2 {
        color: #B72914 !important;
        font-size: 3rem !important;
    }

    #gioithieu .row .header img {
        margin-right: 10px;
    }

    #lichtrinh .container {
        padding-right: 25px !important;
        padding-left: 25px !important;
    }

    .container-lich-trinh {
        background-color: #FFFFFF;
        width: 100%;
        text-align: left;
        margin-top: 60px;
        border-right: 10px solid #1E2578;
        border-left: 10px solid #1E2578;
        padding: 10px 30px;
        td h2.text-content{
            font-size: 2.5rem !important;
        }
        .container-lich-trinh-1-td{
            width: 120px !important;
        }
        td.text-content {
            font-size: 2rem !important;
            a{ font-size: 2rem !important;}
        }
    }

    #lienhe h1 span {
        font-size: 4rem !important;
    }

    #btn-back-to-top {
        position: fixed;
        width: 40px;
        height: 40px;
        background-size: 30px 30px;
        bottom: 50px;
    }

    #thamgia .container {
        padding-right: 15px !important;
        padding-left: 15px !important;
    }
    .thanh-tich {
        table, td, td:first-child {
            font-size: 1.6rem;
        }
    }
    .lichtrinh-second-td{
        font-size: 2rem!important;
    }
    .lichtrinh-title{
        font-size: 2.5rem!important;
    }
    .mobile-hidden{
        display: none;
    }
    .title-mobile{
        font-size: 2.5rem!important;
        font-weight: 600;
    }
}
/* SJF2026 – icon điểm nổi bật (jpg) */
.header img[src*='point2_'] {
    width: 96px;
    height: auto;
}

/* SJF2026 – quà tặng: icon|text 1 dòng, giữ kích thước gốc (190px) tránh scale nhòe */
#quatang img[src*='pre0'] {
    width: 190px;
    max-width: 100%;
    height: auto;
    display: inline-block;
    vertical-align: middle;
    object-fit: contain;
}

/*
 * SJF2026 – HP_TOP + cột nội dung
 * Hiển thị đúng kích thước chuẩn ảnh (750px), không scale full màn hình.
 * Width hero = width content bên dưới (theo design).
 */
body > div {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    background-color: #ffffff; /* cột nội dung trắng, nền ngoài #EDF2FA */
}

#imageHeader.fullwidth-screen {
    width: 100%;
    max-width: 750px;
    margin: 0 auto;
    background-color: #ffffff;
    display: block;
}

#imageHeader.fullwidth-screen picture {
    width: 100%;
    height: auto;
    padding: 0;
    display: block;
}

#imageHeader.fullwidth-screen img {
    width: 100%;
    max-width: 750px; /* không phóng lớn hơn kích thước gốc */
    height: auto !important;
    object-fit: unset !important;
    display: block;
    margin: 0 auto;
}

/* Footer cũng cùng cột content — thêm lề trái như design */
footer#lienhe {
    max-width: 750px !important;
    width: 100%;
    margin-left: auto !important;
    margin-right: auto !important;
    background-color: #ffffff;
    box-sizing: border-box;
    padding: 28px 40px 40px 48px !important; /* lề trái rõ hơn (inline cũ chỉ 10px) */
}

footer#lienhe .container.center {
    text-align: left !important;
    padding-left: 0;
    margin-left: 0;
    max-width: 100%;
}

/*
 * Typography theo design PDF (artboard 750pt ≈ 750px).
 * Trước đó rem quá lớn → title/body wrap nhiều dòng hơn design.
 */
section h1.title {
    font-size: 58px !important;
    padding: 36px 16px !important;
    line-height: 1.2;
    font-weight: 700;
    border-bottom-width: 8px;
}

/* Title 1 dòng khi đủ chỗ (Giới thiệu / Khái quát / Quà tặng) */
#gioithieu h1.title,
#khaiquat h1.title,
#quatang h1.title {
    white-space: nowrap;
}

.table-content td {
    height: 148px;
    min-height: 148px;
    vertical-align: middle;
    overflow: visible;
    box-sizing: border-box;
    padding: 0 !important;
}

/* Cả ô menu là 1 link — hover/click bất kỳ chỗ nào trong ô đều tới link */
.table-content td a.menu-cell-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-sizing: border-box;
    width: 100%;
    height: 100%;
    min-height: 148px;
    padding: 14px 8px 12px;
    font-size: 30px !important;
    color: #FFFFFF;
    text-decoration: none;
    cursor: pointer;
}

/* 2 menu ngoài cùng trái / phải: bỏ padding ngoài để thẳng lề HP_TOP */
.table-content td:first-child a.menu-cell-link {
    padding-left: 0 !important;
}

.table-content td:last-child a.menu-cell-link {
    padding-right: 0 !important;
}

.table-content td a.menu-cell-link:hover {
    background-color: rgba(255, 255, 255, 0.08);
}

.table-content td a.menu-cell-link .headerTOM,
.table-content td a span {
    padding-left: 8px;
    padding-right: 8px;
}

.table-content td:first-child a.menu-cell-link .headerTOM,
.table-content td:first-child a span {
    padding-left: 0 !important;
}

.table-content td:last-child a.menu-cell-link .headerTOM,
.table-content td:last-child a span {
    padding-right: 0 !important;
}

.table-content .headerTOM {
    font-size: 30px !important;
    line-height: 1.25 !important;
    transform: none !important;
    position: static !important;
    left: auto !important;
    top: auto !important;
    display: block;
    text-align: center;
}

.table-content .arrow-down {
    position: static;
    width: 28px;
    height: 28px;
    margin: 0;
    display: block;
    flex-shrink: 0;
}

.bt-website,
.bt-facebook,
.bt-website:hover,
.bt-facebook:hover {
    border-width: 8px;
    padding: 18px 24px;
    margin: 40px auto;
    max-width: 100%;
    box-shadow: 0 4px 8px rgb(63 30 30 / 40%);
}

.bt-website span,
.bt-facebook span {
    font-size: 39px !important;
    padding-right: 40px !important;
    padding-left: 16px !important;
}

/* Cuối page: 2 btn cùng chiều cao */
#quatang .container.center > div > .bt-website,
#quatang .container.center > div > .bt-facebook {
    box-sizing: border-box;
    width: 100%;
    max-width: 620px;
    height: 96px;
    min-height: 96px;
    margin: 28px auto;
    padding: 0 56px 0 24px;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

#quatang .bt-website span,
#quatang .bt-facebook span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin: 0;
    line-height: 1 !important;
    padding-right: 8px !important;
    padding-left: 8px !important;
}

/* Icon FB trong btn không làm tăng chiều cao */
#quatang .bt-facebook span > svg {
    position: static;
    height: 36px;
    width: 36px;
    margin: 0;
    flex-shrink: 0;
}

#quatang .bt-website > svg,
#quatang .bt-facebook > svg {
    height: 40px;
    right: 18px;
}

.text-content,
.font4rem,
p.text-content,
div.text-content {
    font-size: 29px !important;
    line-height: 1.35 !important;
    font-weight: 400;
}

h2.text-content,
.row .header h2,
#gioithieu h2,
#khaiquat h2.text-content {
    font-size: 30px !important;
    line-height: 1.3 !important;
    font-weight: 700;
}

.row .header img {
    height: 72px;
    width: auto;
    margin-right: 16px !important;
}

.h2-custom h2 {
    font-size: 32px !important;
}

.thanh-tich table {
    font-size: 20px !important;
}

.thanh-tich .title {
    font-size: 23px !important;
}

#quatang h1,
#quatang h2 {
    font-size: 30px !important;
    line-height: 1.35 !important;
}

#quatang h1 span[style*="dc143c"],
#quatang h1 span {
    font-size: 32px !important;
}

#khaiquat h2.text-left {
    font-size: 30px !important;
    line-height: 1.35 !important;
}

#khaiquat .header h2.text-content {
    font-size: 36px !important;
}

.lichtrinh-title,
#lichtrinh h2.text-content {
    font-size: 36px !important;
    line-height: 1.3 !important;
}

/* Mục 3 – lịch trình tổng thể: icon có lề trái, text sát icon, tối đa 2 dòng */
#lichtrinh > .container.center {
    padding: 30px 28px !important;
}

#lichtrinh .lichtrinh-tongthe {
    width: 100%;
}

#lichtrinh .lichtrinh-title-cell {
    border-bottom: 10px solid #B72914;
    padding: 28px 12px 24px;
    text-align: center;
}

#lichtrinh .lichtrinh-title {
    text-align: center !important;
    color: #B72914 !important;
    font-weight: 700 !important;
    font-size: 38px !important;
    line-height: 1.35 !important;
    margin: 0;
    padding: 0;
}

/* Flex: khoảng cách icon↔text cố định, không bị table cột đẩy xa */
#lichtrinh .lichtrinh-step {
    display: flex;
    align-items: center;
    gap: 14px;
    min-height: 108px;
    padding: 14px 8px 14px 50px;
    border-bottom: 2px dotted rgba(43, 43, 43, 0.85);
    box-sizing: border-box;
}

#lichtrinh .lichtrinh-step img {
    width: 88px;
    height: auto;
    flex: 0 0 88px;
    display: block;
}

#lichtrinh .lichtrinh-step-text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0;
    padding: 0;
    font-size: 26px !important;
    line-height: 1.3 !important;
    font-weight: 400 !important;
    color: #4b4847 !important;
    text-align: left;
}

/* Mỗi span = 1 dòng cố định (tối đa 2 dòng) */
#lichtrinh .lichtrinh-step-text span {
    display: block;
    white-space: nowrap;
}

/* Mục 3 – lịch trình theo ngày (①～④): title 2 dòng, body nhỏ hơn design */
#lichtrinh .container-lich-trinh {
    margin-top: 48px;
    border-right: 8px solid #1E2578;
    border-left: 8px solid #1E2578;
    padding: 8px 16px 16px;
    box-sizing: border-box;
}

#lichtrinh .lichtrinh-ngay-title-cell {
    border-bottom: 10px solid #1E2578;
    padding: 22px 8px 20px;
    text-align: center;
}

#lichtrinh .lichtrinh-ngay-title {
    margin: 0 !important;
    padding: 0 !important;
    text-align: center !important;
    color: #1E2578 !important;
    font-weight: 700 !important;
    font-size: 30px !important;
    line-height: 1.35 !important;
}

#lichtrinh .lichtrinh-ngay-title span {
    display: block;
    white-space: nowrap;
}

#lichtrinh .lichtrinh-ngay-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 18px 4px 18px 12px;
    border-bottom: 1px solid #E1E1E1;
    box-sizing: border-box;
}

#lichtrinh .lichtrinh-ngay-step img {
    width: 80px;
    height: auto;
    flex: 0 0 80px;
    display: block;
    margin-top: 2px;
}

#lichtrinh .lichtrinh-ngay-text {
    flex: 1 1 auto;
    min-width: 0;
    margin: 0 !important;
    padding: 0;
    font-size: 24px !important;
    line-height: 1.35 !important;
    color: #4b4847 !important;
}

#lichtrinh .lichtrinh-ngay-text p {
    margin: 0 0 6px;
    font-size: 24px !important;
    line-height: 1.35 !important;
    font-weight: 400;
}

#lichtrinh .lichtrinh-ngay-text a {
    display: inline;
    font-size: 20px !important;
    line-height: 1.35 !important;
    color: #C19444 !important;
    text-decoration: underline;
}

#thamgia h2.text-content,
#thamgia .title-mobile,
#4-1 h2 {
    font-size: 30px !important;
    line-height: 1.3 !important;
}

#4-1 .font4rem,
#thamgia .font4rem {
    font-size: 28px !important;
    line-height: 1.35 !important;
}

footer#lienhe h1 span {
    font-size: 50px !important;
}

footer#lienhe h1 span[style*="4c4948"],
footer#lienhe h1:nth-of-type(2) span {
    font-size: 34px !important;
}

footer#lienhe h3,
footer#lienhe h3 a,
footer#lienhe h3 b {
    font-size: 28px !important;
}

footer#lienhe h1,
footer#lienhe h3,
footer#lienhe a {
    overflow-wrap: anywhere;
    word-break: break-word;
    white-space: normal;
}

/* Facebook embed: iframe plugin + fallback link (Xiaomi/mobile hay chặn SDK) */
.fb-embed-wrap {
    width: 100%;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
    overflow: visible;
    position: relative;
    z-index: 2;
    text-align: center;
}

.fb-embed-wrap .fb-page-iframe {
    display: block;
    width: 100% !important;
    max-width: 100% !important;
    min-height: 600px;
    margin: 0 auto;
    background: #f0f2f5;
}

.fb-embed-fallback {
    margin: 16px 12px 8px;
    font-size: 18px;
    line-height: 1.4;
}

.fb-embed-fallback a {
    color: #1f67aa;
    font-weight: 600;
    text-decoration: underline;
}

/* Mobile nhỏ hơn 750: cho phép title wrap, scale nhẹ theo viewport */
@media screen and (max-width: 749px) {
    #gioithieu h1.title,
    #khaiquat h1.title,
    #quatang h1.title {
        white-space: normal;
    }

    section h1.title {
        font-size: clamp(32px, 7.7vw, 58px) !important;
        padding: 28px 12px !important;
    }

    .text-content,
    .font4rem,
    p.text-content,
    div.text-content {
        font-size: clamp(18px, 4vw, 30px) !important;
    }

    h2.text-content,
    .row .header h2 {
        font-size: clamp(20px, 4.2vw, 30px) !important;
    }

    .table-content .headerTOM,
    .table-content td a {
        font-size: clamp(18px, 4.2vw, 32px) !important;
    }

    .bt-website span,
    .bt-facebook span {
        font-size: clamp(22px, 5.2vw, 39px) !important;
    }

    /* Mục 3 mobile: bỏ nowrap + thu padding để text không bị che */
    #lichtrinh > .container.center {
        padding: 20px 12px !important;
        overflow-x: hidden;
    }

    #lichtrinh .lichtrinh-title {
        font-size: clamp(20px, 5.2vw, 28px) !important;
        white-space: normal !important;
    }

    #lichtrinh .lichtrinh-title-cell {
        padding: 18px 8px 16px;
    }

    #lichtrinh .lichtrinh-step {
        gap: 10px;
        min-height: 0;
        padding: 12px 4px 12px 8px;
        align-items: flex-start;
    }

    #lichtrinh .lichtrinh-step img {
        width: 56px;
        flex: 0 0 56px;
    }

    #lichtrinh .lichtrinh-step-text {
        font-size: clamp(14px, 3.8vw, 20px) !important;
        line-height: 1.35 !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    #lichtrinh .lichtrinh-step-text span {
        white-space: normal !important;
    }

    #lichtrinh .container-lich-trinh {
        margin-top: 28px;
        border-left-width: 4px;
        border-right-width: 4px;
        padding: 8px 10px 12px;
        overflow-x: hidden;
    }

    #lichtrinh .lichtrinh-ngay-title-cell {
        padding: 16px 4px 14px;
    }

    #lichtrinh .lichtrinh-ngay-title {
        font-size: clamp(16px, 4.4vw, 24px) !important;
        line-height: 1.35 !important;
        white-space: normal !important;
    }

    #lichtrinh .lichtrinh-ngay-title span {
        white-space: normal !important;
    }

    #lichtrinh .lichtrinh-ngay-step {
        gap: 8px;
        padding: 14px 2px 14px 4px;
    }

    #lichtrinh .lichtrinh-ngay-step img {
        width: 52px;
        flex: 0 0 52px;
    }

    #lichtrinh .lichtrinh-ngay-text,
    #lichtrinh .lichtrinh-ngay-text p {
        font-size: clamp(14px, 3.6vw, 18px) !important;
        overflow-wrap: anywhere;
        word-break: break-word;
    }

    #lichtrinh .lichtrinh-ngay-text a {
        font-size: clamp(13px, 3.4vw, 16px) !important;
        word-break: break-word;
    }

    /* Footer liên hệ: wrap + thu font/padding để không bị che trên mobile */
    footer#lienhe {
        padding: 20px 16px 32px !important;
        overflow-x: hidden;
    }

    footer#lienhe h1,
    footer#lienhe h1 span,
    footer#lienhe h3,
    footer#lienhe h3 a,
    footer#lienhe h3 b {
        white-space: normal !important;
        overflow-wrap: anywhere !important;
        word-break: break-word !important;
        max-width: 100%;
    }

    footer#lienhe h1 span {
        font-size: clamp(28px, 8vw, 44px) !important;
        display: inline-block;
        width: 100%;
    }

    footer#lienhe h1:nth-of-type(2) span,
    footer#lienhe h1 span[style*="4c4948"] {
        font-size: clamp(18px, 5vw, 28px) !important;
    }

    footer#lienhe h3,
    footer#lienhe h3 a,
    footer#lienhe h3 b {
        font-size: clamp(14px, 3.8vw, 20px) !important;
        line-height: 1.4 !important;
    }

    footer#lienhe img {
        max-width: 100%;
        height: auto;
    }

    /* Facebook: không bị #gioithieu kéo đè; iframe đủ cao */
    #gioithieu {
        margin-top: 0 !important;
    }

    section[id="0"] .container.center {
        overflow: visible;
        padding-left: 12px !important;
        padding-right: 12px !important;
        padding-bottom: 16px;
    }

    .fb-embed-wrap {
        width: 100%;
        max-width: 100%;
        margin-bottom: 16px;
    }

    .fb-embed-wrap .fb-page-iframe {
        min-height: 520px !important;
        height: 520px !important;
    }

    .fb-embed-fallback {
        font-size: 16px;
    }
}
