/* Hiệp Hội Tông Đồ Lòng Chúa Thương Xót An Lạc Thái Bình
   Màu lấy từ logo: đỏ, đỏ đô, xanh chàm, xanh trời; viền vàng kim, nền trắng kem */
:root {
    --do: #8a1030; --do-dam: #5d0a21; --son: #c6022f; --cham: #2c3480; --troi: #bfe3f2;
    --kim: #b8892b; --kem: #fbf6ec; --kem-dam: #f3e9d7; --muc: #2a1b1f; --nhat: #6b5358; --vien: #e6d9c2;
    --serif: 'EB Garamond', 'Times New Roman', serif; --sans: 'Be Vietnam Pro', Arial, sans-serif;
}
* { box-sizing: border-box; }
html { font-size: 17px; scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
html[data-co="1"] { font-size: 19px; }
html[data-co="2"] { font-size: 21.5px; }
body { margin: 0; background: #fff; color: var(--muc); font: 400 1rem/1.65 var(--sans); overflow-wrap: break-word; }
img { max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
h1, h2, h3, p { margin: 0; }
h1, h2, h3 { font-family: var(--serif); font-weight: 700; line-height: 1.2; }
button { font: inherit; cursor: pointer; }
time, small { font-size: .82rem; color: var(--nhat); font-variant-numeric: tabular-nums; }
:focus-visible { outline: 3px solid var(--kim); outline-offset: 2px; }
.pagewrap { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.clr { display: none; }
.bo-qua { position: absolute; left: -9999px; }
.bo-qua:focus { left: 12px; top: 12px; z-index: 999; background: #fff; padding: 10px 16px; }
.nut { display: inline-block; padding: .7rem 1.5rem; background: var(--do); color: #fff; font-weight: 600; border-radius: 3px; }
.nut:hover { background: var(--do-dam); }
.nut_kem { background: var(--kem); color: var(--do-dam); }
.nut_kem:hover { background: #fff; }

/* ---------- Header ---------- */
.header { background: var(--kem); border-top: 5px solid var(--cham); }
.header .pagewrap { display: flex; align-items: center; gap: 28px; padding-top: 16px; padding-bottom: 16px; }
.logo_header { flex: none; line-height: 0; }
.logo_header img { width: 132px; height: 132px; }
.info_header { flex: 1; min-width: 0; }
.ten_header { display: block; font: 700 2.05rem/1.14 var(--serif); color: var(--do); }
.ten_header span { display: block; }
.ten_en { margin-top: 4px; font: italic 500 1.22rem/1.3 var(--serif); color: var(--cham); }
.lienhe_header { display: flex; flex-wrap: wrap; gap: 2px 26px; margin-top: 8px; font-size: .9rem; color: var(--nhat); }
.lienhe_header i { color: var(--kim); margin-right: 5px; }
.lienhe_header a:hover { color: var(--do); text-decoration: underline; }
.co_chu { flex: none; display: flex; gap: 6px; align-self: flex-start; }
.co_chu button { min-width: 44px; height: 40px; padding: 0 8px; border: 1px solid var(--vien); background: #fff; color: var(--do); font-weight: 700; border-radius: 3px; }
.co_chu button:hover { border-color: var(--do); }

/* ---------- Menu ---------- */
.box_menu { position: sticky; top: 0; z-index: 90; background: var(--do); color: #fff; border-bottom: 3px solid var(--kim); }
.box_menu .pagewrap { display: flex; align-items: stretch; position: relative; }
.menu { display: flex; flex: 1; margin-left: -16px; }
.menu > li { position: relative; }
.menu > li > a { display: block; padding: .85rem 1rem; font-size: .95rem; font-weight: 600; text-transform: uppercase; white-space: nowrap; }
.menu > li > a i { font-size: .75em; opacity: .8; }
.menu > li:hover > a, .menu > li:focus-within > a, .menu > li.active > a { background: var(--do-dam); }
.menu > li > ul { position: absolute; left: 0; top: 100%; min-width: 290px; background: #fff; color: var(--muc); border-top: 3px solid var(--kim); box-shadow: 0 14px 30px rgba(60, 10, 25, .2); visibility: hidden; opacity: 0; transition: opacity .15s; }
.menu > li:last-child > ul { left: auto; right: 0; }
.menu > li:hover > ul, .menu > li:focus-within > ul { visibility: visible; opacity: 1; }
.menu > li > ul a { display: block; padding: .6rem 1.1rem; border-bottom: 1px solid var(--kem-dam); font-size: .95rem; line-height: 1.4; }
.menu > li > ul a:hover { background: var(--kem); color: var(--do); }
.icon_menu { border: 0; background: none; color: #fff; padding: 0 14px; font-size: 1.1rem; }
.icon_menu span { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); }
.icon_menu:hover { background: var(--do-dam); }
.box_menu .gs-trigger { position: static; transform: none; align-self: center; width: 42px; height: 40px; margin-left: 4px; }
.wrap-all-menu { position: absolute; left: 24px; right: 24px; top: 100%; background: #fff; color: var(--muc); padding: 22px 28px 28px; border-top: 3px solid var(--kim); box-shadow: 0 18px 40px rgba(60, 10, 25, .25); max-height: calc(100vh - 70px); overflow-y: auto; }
.wrap-all-menu[hidden] { display: none; }
.header-menu { display: flex; justify-content: space-between; align-items: center; margin-bottom: 14px; }
.name-header { font: 700 1.5rem/1.2 var(--serif); color: var(--do); }
.close-menu { border: 1px solid var(--vien); background: #fff; color: var(--do); padding: 6px 14px; border-radius: 3px; }
.list-all-menu { columns: 4; column-gap: 32px; }
.cat-menu { break-inside: avoid; padding-bottom: 18px; }
.cat-menu summary { list-style: none; font-weight: 700; color: var(--do); padding-bottom: 4px; border-bottom: 1px solid var(--kim); margin-bottom: 6px; line-height: 1.35; }
.cat-menu summary::-webkit-details-marker { display: none; }
.cat-menu li a { display: block; padding: 3px 0; font-size: .92rem; line-height: 1.45; }
.cat-menu li a:hover, .menu_trangchu:hover { color: var(--do); text-decoration: underline; }
.menu_trangchu { display: none; font-weight: 700; color: var(--do); }

/* ---------- Banner: hai tia của Lòng Chúa Thương Xót ---------- */
.banner_home { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); background: var(--do-dam); color: #fff; overflow: hidden; }
.banner_chu { position: relative; z-index: 2; padding: 64px 130px 110px max(24px, calc((100vw - 1320px) / 2 + 24px)); }
.dilexi { font: 700 clamp(3rem, 5.6vw, 5.4rem)/.98 var(--serif); color: #f5dfae; }
.banner_chu h1 { margin-top: 14px; font-size: clamp(1.7rem, 2.7vw, 2.5rem); font-weight: 600; }
.banner_chu h1 small { font: italic 500 .62em/1 var(--serif); color: #f5dfae; }
.linhdao { margin: 20px 0 28px; font-size: 1.08rem; line-height: 1.75; color: #fbeee6; }
.banner_anh { position: relative; min-height: 520px; margin-left: -70px; clip-path: polygon(150px 0, 100% 0, 100% 100%, 0 100%); background: #3d0716; }
.banner_home::before, .banner_home::after { content: ""; z-index: 1; grid-row: 1; grid-column: 2; align-self: stretch; width: 260px; margin-left: -130px; }
.banner_home::before { background: var(--son); clip-path: polygon(184px 0, 199px 0, 34px 100%, 0 100%); }
.banner_home::after { background: var(--troi); clip-path: polygon(198px 0, 211px 0, 61px 100%, 33px 100%); }
.banner_home > * { grid-row: 1; }
.banner_chu { grid-column: 1; }
.banner_anh { grid-column: 2; }
.banner_anh img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0; transition: opacity 1s; }
.banner_anh img.on { opacity: 1; }
.banner_cham { position: absolute; right: 24px; bottom: 76px; display: flex; gap: 4px; z-index: 3; }
.banner_cham button { width: 32px; height: 32px; padding: 0; border: 0; background: none; }
.banner_cham button::before { content: ""; display: block; width: 14px; height: 14px; margin: auto; border-radius: 50%; border: 2px solid #fff; box-shadow: 0 0 4px rgba(0, 0, 0, .5); }
.banner_cham button[aria-current]::before { background: #fff; }

/* ---------- Truy cập nhanh ---------- */
.truycap_home { position: relative; z-index: 5; margin-top: -52px; }
.truycap_home ul { display: grid; grid-template-columns: repeat(6, 1fr); background: #fff; border-bottom: 4px solid var(--cham); box-shadow: 0 12px 32px rgba(60, 10, 25, .16); }
.truycap_home li + li { border-left: 1px solid var(--vien); }
.truycap_home a { display: flex; flex-direction: column; align-items: center; gap: 10px; height: 100%; padding: 20px 12px; text-align: center; font-weight: 600; line-height: 1.35; }
.truycap_home i { font-size: 1.7rem; color: var(--cham); }
.truycap_home a:hover { background: var(--kem); color: var(--do); }
.truycap_home a:hover i { color: var(--son); }

/* ---------- Khối chung ---------- */
.khoi { padding: 60px 0; }
.title_id_home { display: flex; align-items: baseline; justify-content: space-between; gap: 20px; margin-bottom: 24px; }
.title_id_home h2 { position: relative; padding-left: 30px; font-size: 2.05rem; color: var(--do); }
.title_id_home h2::before { content: ""; position: absolute; left: 0; top: .14em; width: 18px; height: .95em; background: linear-gradient(100deg, var(--son) 0 48%, transparent 48% 56%, #6fb7d6 56%); clip-path: polygon(45% 0, 100% 0, 60% 100%, 0 100%); }
.title_id_home h2 a:hover { text-decoration: underline; text-decoration-thickness: 2px; text-underline-offset: 5px; }
.xem_het { flex: none; font-size: .92rem; font-weight: 600; color: var(--cham); }
.xem_het:hover { text-decoration: underline; }
.tin_dong li { border-top: 1px solid var(--vien); }
.tin_dong a { display: block; padding: .65rem 0; line-height: 1.45; }
.tin_dong a:hover, .tin_nho a:hover b, .tv_luoi a:hover b, .tin_lon:hover b { color: var(--son); }
.tin_nho li + li { margin-top: 18px; }
.tin_nho a { display: grid; grid-template-columns: 148px minmax(0, 1fr); gap: 16px; align-items: start; }
.tin_nho img { width: 148px; height: 99px; object-fit: cover; border-radius: 3px; display: block; }
.tin_nho b, .tv_luoi b { display: block; font-weight: 600; line-height: 1.42; }
.hai_cot { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }

/* Giới thiệu */
.gioithieu_home .pagewrap { display: grid; grid-template-columns: minmax(0, 6fr) minmax(0, 5fr); gap: 56px; align-items: stretch; }
.gt_ten { font: 600 1.5rem/1.35 var(--serif); color: var(--cham); margin-bottom: 18px; }
.gt_muc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; }
.gt_muc a, .tt_muc a, .dh_muc a { display: block; padding: .6rem 0; border-bottom: 1px solid var(--vien); line-height: 1.4; }
.gt_muc a:hover, .tt_muc a:hover { color: var(--do); border-color: var(--do); }
.gt_phai { display: grid; background: var(--kem); border-left: 4px solid var(--kim); }
.gt_phai a { display: flex; flex-direction: column; justify-content: center; padding: 18px 32px; }
.gt_phai a + a { border-top: 1px solid var(--vien); }
.gt_phai span { font-weight: 600; color: var(--cham); }
.gt_phai strong { font: 600 1.75rem/1.25 var(--serif); color: var(--do); }
.gt_phai a:hover { background: var(--kem-dam); }

/* Tin tức */
.tintuc_home { background: var(--kem); }
.ba_cot { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 36px; }
.cot_tin h3 { font-size: 1.4rem; color: var(--cham); padding-bottom: 8px; margin-bottom: 14px; border-bottom: 2px solid var(--cham); }
.tin_lon img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 3px; }
.tin_lon b { display: block; margin-top: 12px; font: 600 1.28rem/1.35 var(--serif); }
.tin_lon time { display: block; margin: 4px 0 12px; }

/* Sứ mạng phục vụ */
.sumang_home { background: var(--cham); color: #fff; }
.sumang_home .title_id_home { margin-bottom: 8px; }
.sumang_home .title_id_home h2, .sumang_home .xem_het { color: #fff; }
.mota_khoi { margin-bottom: 24px; color: #dfe3ff; font-size: 1.08rem; }
.sm_luoi { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: 246px; gap: 14px; }
.sm_o { position: relative; overflow: hidden; border-radius: 3px; background: #1d2360; }
.sm_o.to { grid-row: span 2; }
.sm_o img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .4s; }
.sm_o:hover img { transform: scale(1.04); }
.sm_o span { position: absolute; left: 0; right: 0; bottom: 0; padding: 48px 16px 14px; background: linear-gradient(transparent, rgba(16, 18, 58, .92) 62%); font-weight: 600; line-height: 1.4; }
.sm_o span { display: -webkit-box; -webkit-line-clamp: 5; -webkit-box-orient: vertical; }
.sm_o.to span { font: 600 1.6rem/1.3 var(--serif); padding: 80px 24px 22px; }

/* Trung tâm An Lạc */
.trungtam_home { background: var(--kem); }
.trungtam_home .pagewrap { display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 7fr); gap: 52px; }
.tt_anh img { width: 100%; height: 100%; max-height: 620px; object-fit: cover; display: block; border-radius: 260px 260px 3px 3px; border: 6px solid #fff; box-shadow: 0 0 0 2px var(--kim); }
.tt_chu { align-self: center; }
.tt_muc { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 32px; margin-top: 22px; font-weight: 600; color: var(--cham); }

/* Lời Chúa + lịch */
.loichua_home .pagewrap { display: grid; grid-template-columns: minmax(0, 8fr) minmax(0, 4fr); gap: 52px; }
.lc_bai + .lc_bai { margin-top: 22px; padding-top: 22px; border-top: 1px solid var(--vien); }
.lc_bai h3 { font-size: 1.42rem; margin: 2px 0 6px; }
.lc_bai h3 a:hover { color: var(--son); }
.lc_phai { background: var(--do); color: #fff; padding: 30px 30px 24px; align-self: start; border-radius: 3px; }
.lc_phai h2 { font-size: 1.6rem; margin-bottom: 12px; }
.lc_phai h2 i { color: #f5dfae; font-size: .85em; }
.lc_phai ul { margin-top: 16px; }
.lc_phai li a { display: block; padding: .65rem 0; border-top: 1px solid rgba(255, 255, 255, .28); font-weight: 600; }
.lc_phai li a:hover { color: #f5dfae; }

/* Thư viện + lưới thẻ dùng chung */
.thuvien_home { background: var(--kem); }
.tv_luoi { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 30px 26px; }
.tv_anh { position: relative; display: block; margin-bottom: 10px; }
.tv_anh img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 3px; }
.tv_anh i { position: absolute; left: 12px; bottom: 12px; width: 44px; height: 44px; display: grid; place-items: center; background: var(--son); color: #fff; border-radius: 50%; }
.tv_anh i.fa-images { background: var(--cham); }

/* Đồng hành */
.donghanh_home .pagewrap { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; }
.dh_muc a { font-weight: 600; color: var(--cham); }
.dh_muc a:hover { color: var(--do); border-color: var(--do); }

/* ---------- Chân trang ---------- */
.thongdiep_footer { background: var(--kem-dam); color: var(--do); text-align: center; padding: 22px 0; font: 600 1.6rem/1.35 var(--serif); }
.thongdiep_footer i { display: inline-block; width: 7px; height: 7px; margin: 0 14px; background: var(--kim); transform: rotate(45deg); vertical-align: middle; }
.footer_top { background: var(--do-dam); color: #f8e9e2; padding: 48px 0 40px; }
.footer_top .pagewrap { display: grid; grid-template-columns: 1.5fr 1fr .9fr 1.3fr; gap: 40px; }
.col_footer h3 { font-size: 1.25rem; color: #f5dfae; margin-bottom: 12px; }
.contact_footer img { background: #fff; border-radius: 50%; margin-bottom: 12px; }
.contact_footer p { margin-bottom: 6px; }
.menu_footer a { display: block; padding: 4px 0; line-height: 1.45; }
.menu_footer a:hover { text-decoration: underline; }
.mxh_footer a { display: inline-grid; place-items: center; width: 44px; height: 44px; border: 1px solid rgba(255, 255, 255, .4); border-radius: 50%; margin: 8px 8px 0 0; }
.bando_footer iframe { width: 100%; height: 230px; border: 0; display: block; }
.bottom_id_copyright { background: #43071a; color: #ecd3cc; font-size: .88rem; padding: 14px 0; }
.bottom_id_copyright .pagewrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 4px 24px; }
#backtop { position: fixed; right: 18px; bottom: 18px; width: 48px; height: 48px; display: grid; place-items: center; background: var(--cham); color: #fff; border-radius: 50%; border: 2px solid #fff; visibility: hidden; opacity: 0; transition: opacity .2s; z-index: 80; }
#backtop.on { visibility: visible; opacity: 1; }

/* ---------- Trang trong ---------- */
.link_page { background: var(--kem); border-bottom: 1px solid var(--vien); }
.link_page .pagewrap { padding-top: 26px; padding-bottom: 22px; }
.link_page h1, .ten_muc { font: 700 2.2rem/1.2 var(--serif); color: var(--do); }
.ten_muc { font-size: 1.5rem; }
.link_page ul { display: flex; flex-wrap: wrap; margin-top: 8px; font-size: .92rem; color: var(--nhat); }
.link_page li:not(:last-child)::after { content: "›"; margin: 0 9px; color: var(--kim); }
.link_page li a:hover { color: var(--do); text-decoration: underline !important; }
.page_conten_page { display: grid; grid-template-columns: minmax(0, 1fr) 340px; gap: 52px; padding-top: 38px; padding-bottom: 60px; }
.page_conten_page.mot_cot { display: block; }
.row_news { display: grid; grid-template-columns: 300px minmax(0, 1fr); gap: 24px; padding: 24px 0; border-bottom: 1px solid var(--vien); }
.row_news:first-child { padding-top: 0; }
.row_news img { display: block; width: 100%; aspect-ratio: 3/2; object-fit: cover; border-radius: 3px; }
.row_news h3 { font-size: 1.45rem; line-height: 1.28; }
.row_news h3 a:hover { color: var(--son); }
.row_news p { margin-top: 6px; }
.box_ttitle_right, .banner_left { display: block; margin-bottom: 34px; }
.box_ttitle_right h2 { font-size: 1.4rem; color: var(--cham); padding-bottom: 8px; border-bottom: 2px solid var(--cham); }
.box_ttitle_right .tin_dong li:first-child { border-top: 0; }
.menu_right a { display: block; padding: .62rem 12px; border-bottom: 1px solid var(--vien); line-height: 1.4; }
.menu_right a:hover { background: var(--kem); }
.menu_right .active a { background: var(--do); color: #fff; font-weight: 600; }
.muc_con { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 30px; }
.muc_con:empty { display: none; }
.muc_con a { display: block; padding: .5rem 1rem; border: 1px solid var(--kim); color: var(--do); font-weight: 600; border-radius: 3px; }
.muc_con a:hover { background: var(--do); border-color: var(--do); color: #fff; }
.dang_capnhat { grid-column: 1 / -1; padding: 26px 28px; background: var(--kem); border-left: 4px solid var(--kim); }
.nums ul { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 30px; }
.nums a { display: grid; place-items: center; min-width: 44px; height: 44px; border: 1px solid var(--vien); border-radius: 3px; }
.nums a:hover, .nums a.active { background: var(--do); border-color: var(--do); color: #fff; }
.title_news h1 { font-size: 2.3rem; }
.ngay_news { margin: 10px 0 18px; color: var(--nhat); font-size: .92rem; }
.ngay_news span { margin-left: 16px; }
.desc_news { font-weight: 600; margin-bottom: 18px; }
.desc_news:empty { display: none; }
.showText { font-size: 1.06rem; line-height: 1.8; }
.showText p, .showText ul, .showText ol { margin: 0 0 1.05em; }
.showText ul { list-style: disc; padding-left: 1.4em; }
.showText ol { padding-left: 1.4em; }
.showText h2, .showText h3 { margin: 1.4em 0 .5em; color: var(--do); font-size: 1.5rem; }
.showText img { max-width: 100% !important; height: auto !important; }
.showText iframe, .showText video, .showText table { max-width: 100%; }
.showText a { color: var(--cham); text-decoration: underline; }
.showText table { display: block; overflow-x: auto; }
.video_id_top iframe { width: 100%; aspect-ratio: 16/9; border: 0; display: block; margin-bottom: 22px; }
.albumView { columns: 3; column-gap: 16px; margin-top: 24px; }
.albumView img { display: block; width: 100%; margin-bottom: 16px; border-radius: 3px; }
.tintuc_home_box_2 { background: var(--kem); }
.lienhe_page { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 10px 26px; margin: 0 0 24px; font-size: 1.1rem; }
.lienhe_page dt { font-weight: 700; color: var(--cham); }
.lienhe_page dd { margin: 0; }
.lienhe_page a:hover { text-decoration: underline; }
.bando_page { width: 100%; height: 440px; border: 0; margin-top: 30px; display: block; }

/* ---------- Máy tính bảng ---------- */
@media (max-width: 1240px) {
    .menu > li > a { padding: .85rem .68rem; font-size: .88rem; }
    .menu { margin-left: -11px; }
    .ten_header { font-size: 1.8rem; }
    .footer_top .pagewrap { grid-template-columns: 1fr 1fr; }
    .list-all-menu { columns: 3; }
    .page_conten_page { grid-template-columns: minmax(0, 1fr) 290px; gap: 36px; }
    .row_news { grid-template-columns: 230px minmax(0, 1fr); }
}
/* Chữ lớn: thanh menu gọn lại để không tràn */
@media (min-width: 1000px) { html[data-co="1"] .ten_header, html[data-co="2"] .ten_header { font-size: 35px; } }
html[data-co="1"] .menu > li > a { font-size: 16px; }
html[data-co="2"] .menu > li > a { font-size: 16.5px; padding-left: 12px; padding-right: 12px; }
@media (max-width: 999px) {
    .menu { display: none; }
    .box_menu .pagewrap { justify-content: space-between; min-height: 54px; }
    .icon_menu { display: flex; align-items: center; gap: 12px; margin-left: -14px; font-weight: 600; font-size: 1rem; }
    .icon_menu span { position: static; width: auto; height: auto; clip-path: none; }
    .wrap-all-menu { left: 0; right: 0; padding: 18px 24px 24px; }
    .header-menu { display: none; }
    .list-all-menu { columns: 1; }
    .menu_trangchu { display: block; padding: .75rem 0; border-bottom: 1px solid var(--vien); }
    .cat-menu { padding: 0; border-bottom: 1px solid var(--vien); }
    .cat-menu summary { display: flex; justify-content: space-between; align-items: center; border: 0; margin: 0; padding: .75rem 0; cursor: pointer; }
    .cat-menu summary::after { content: "+"; width: 44px; text-align: center; font-size: 1.4rem; line-height: 1; color: var(--kim); }
    .cat-menu[open] summary::after { content: "−"; }
    .cat-menu ul { padding: 0 0 12px 16px; }
    .cat-menu li a { padding: .5rem 0; font-size: 1rem; }
    .banner_home { display: flex; flex-direction: column-reverse; }
    .banner_home::before, .banner_home::after { display: none; }
    .banner_anh { margin: 0; min-height: 0; height: 52vw; clip-path: none; border-bottom: 5px solid var(--son); }
    .banner_cham { bottom: 10px; right: 12px; }
    .banner_chu { padding: 30px 24px 84px; }
    .truycap_home ul { grid-template-columns: repeat(3, 1fr); }
    .truycap_home li:nth-child(n+4) { border-top: 1px solid var(--vien); }
    .truycap_home li:nth-child(4) { border-left: 0; }
    .khoi { padding: 46px 0; }
    .gioithieu_home .pagewrap, .hai_cot, .donghanh_home .pagewrap, .loichua_home .pagewrap, .page_conten_page { grid-template-columns: minmax(0, 1fr); gap: 40px; }
    .ba_cot { grid-template-columns: minmax(0, 1fr); }
    .sm_luoi { grid-template-columns: 1fr 1fr; grid-auto-rows: 220px; }
    .sm_o.to { grid-column: span 2; }
    .tv_luoi { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .trungtam_home .pagewrap { gap: 32px; }
}
@media (max-width: 640px) {
    html { font-size: 16.5px; }
    .pagewrap { padding: 0 16px; }
    .header .pagewrap { gap: 14px; padding-top: 12px; padding-bottom: 12px; }
    .logo_header img { width: 84px; height: 84px; }
    .ten_header { font-size: 1.14rem; line-height: 1.2; }
    .ten_header span { display: inline; }
    .ten_en { font-size: .92rem; }
    .lienhe_header, .header .co_chu { display: none; }
    .wrap-all-menu { padding: 12px 16px 20px; }
    .banner_anh { height: 62vw; }
    .banner_chu { padding: 26px 16px 80px; }
    .truycap_home ul { grid-template-columns: repeat(2, 1fr); }
    .truycap_home li:nth-child(n) { border-left: 0; border-top: 1px solid var(--vien); }
    .truycap_home li:nth-child(even) { border-left: 1px solid var(--vien); }
    .truycap_home li:nth-child(-n+2) { border-top: 0; }
    .title_id_home { flex-wrap: wrap; gap: 4px 16px; margin-bottom: 18px; }
    .title_id_home h2 { font-size: 1.65rem; }
    .gt_muc, .tt_muc { grid-template-columns: minmax(0, 1fr); }
    .gt_phai a { padding: 16px 20px; }
    .sm_luoi { grid-template-columns: minmax(0, 1fr); grid-auto-rows: 230px; }
    .sm_o.to { grid-column: auto; grid-row: auto; }
    .sm_o.to span { font-size: 1.3rem; padding: 60px 16px 14px; }
    .trungtam_home .pagewrap { grid-template-columns: minmax(0, 1fr); }
    .tt_anh img { max-height: 420px; }
    .tin_nho a { grid-template-columns: 116px minmax(0, 1fr); gap: 12px; }
    .tin_nho img { width: 116px; height: 78px; }
    .tv_luoi { grid-template-columns: minmax(0, 1fr); }
    .row_news { grid-template-columns: minmax(0, 1fr); gap: 12px; }
    .link_page h1, .title_news h1 { font-size: 1.75rem; }
    .albumView { columns: 2; column-gap: 10px; }
    .albumView img { margin-bottom: 10px; }
    .footer_top .pagewrap { grid-template-columns: minmax(0, 1fr); gap: 30px; }
    .thongdiep_footer { font-size: 1.3rem; }
    .thongdiep_footer i { margin: 0 8px; }
    .lienhe_page { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .lienhe_page dd { margin-bottom: 12px; }
}
@media (prefers-reduced-motion: reduce) { * { transition: none !important; scroll-behavior: auto !important; } }
