/* =====================================================================
   CỔNG THÔNG TIN ĐIỆN TỬ PHƯỜNG TAM THẮNG — Giao diện v2 (10/2026)
   Khung chung (thanh trên cùng, header, menu, chân trang) + trang chủ + lịch công tác.
   Tiền tố: pt- (khung), hm- (trang chủ), sched- (lịch). Bố cục bám bản thiết kế.
   ===================================================================== */
:root {
    --pt-red: #c8102e;
    --pt-red-2: #a60d24;
    --pt-red-soft: #fdeeef;
    --pt-gold: #f5c518;
    --pt-blue: #1a5fb4;
    --pt-navy: #0b2a55;
    --pt-ink: #1b1f27;
    --pt-text: #3a3f4b;
    --pt-muted: #6b7280;
    --pt-line: #e6e8ee;
    --pt-bg: #f5f6f8;
    --pt-radius: 10px;
    --pt-shadow: 0 6px 24px rgba(16, 24, 40, .08);
    --pt-shadow-sm: 0 2px 8px rgba(16, 24, 40, .06);
    --pt-font: 'Be Vietnam Pro', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

html { scroll-behavior: smooth; }
body.pt-body { font-family: var(--pt-font); color: var(--pt-ink); background: #fff; -webkit-font-smoothing: antialiased; }
body.pt-body.font-lg { font-size: 17px; }
body.pt-body.font-sm { font-size: 14px; }
/* Độ ưu tiên (0,0,1): thắng quy tắc a{} chung của style.css nhưng thua mọi class riêng */
:where(.pt-top, .pt-nav, .pt-footer, .hm, .pt-page) a { text-decoration: none; color: inherit; }
.pt-body img { max-width: 100%; display: block; }
.pt-container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 16px; }
.pt-body main { min-height: 50vh; }

/* ---------------------------------------------------------------------
   THANH TRÊN CÙNG
   --------------------------------------------------------------------- */
.pt-topbar { background: var(--pt-red); color: #fff; font-size: 12px; }
.pt-topbar__in { display: flex; align-items: center; justify-content: space-between; min-height: 30px; gap: 14px; }
.pt-topbar__left { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; opacity: .95; }
.pt-topbar__right { display: flex; align-items: center; flex-shrink: 0; }
.pt-topbar__right > a { padding: 0 10px; line-height: 30px; color: #fff; white-space: nowrap; position: relative; }
.pt-topbar__right > a + a::before, .pt-fontsize::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 12px; background: rgba(255,255,255,.5); transform: translateY(-50%); }
.pt-topbar__right > a:hover { text-decoration: underline; }
.pt-fontsize { position: relative; display: inline-flex; align-items: baseline; gap: 2px; padding-left: 10px; margin-left: 2px; }
.pt-fontsize button { background: transparent; border: 0; color: #fff; cursor: pointer; font-family: inherit; font-weight: 700; line-height: 1; padding: 3px 3px; opacity: .9; border-radius: 3px; }
.pt-fontsize button:nth-child(1) { font-size: 10px; }
.pt-fontsize button:nth-child(2) { font-size: 12px; }
.pt-fontsize button:nth-child(3) { font-size: 14px; }
.pt-fontsize button:hover, .pt-fontsize button.is-active { opacity: 1; background: rgba(255,255,255,.2); }

/* ---------------------------------------------------------------------
   HEADER (Quốc huy, tên cơ quan, tìm kiếm)
   --------------------------------------------------------------------- */
.pt-header { background: #fff; }
.pt-header__in { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: 80px; padding-top: 8px; padding-bottom: 8px; }
.pt-brand { display: flex; align-items: center; gap: 12px; min-width: 0; }
.pt-brand__emblem { width: 62px; height: 62px; flex-shrink: 0; object-fit: contain; }
.pt-brand__txt { display: flex; flex-direction: column; line-height: 1.15; }
.pt-brand__l1 { font-size: 11.5px; font-weight: 700; letter-spacing: .8px; color: var(--pt-ink); text-transform: uppercase; }
.pt-brand__l2 { font-size: 21px; font-weight: 900; letter-spacing: .4px; color: var(--pt-red); text-transform: uppercase; margin: 1px 0; }
.pt-brand__l3 { font-size: 11.5px; font-weight: 600; letter-spacing: 1px; color: var(--pt-text); text-transform: uppercase; }
.pt-header__right { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
.pt-search { display: flex; align-items: center; width: 330px; max-width: 40vw; height: 40px; background: #f1f2f5; border: 1px solid #e3e5ea; border-radius: 999px; padding: 3px 3px 3px 16px; transition: box-shadow .2s, border-color .2s; }
.pt-search:focus-within { border-color: var(--pt-red); box-shadow: 0 0 0 3px rgba(200,16,46,.1); background: #fff; }
.pt-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: inherit; font-size: 12.5px; color: var(--pt-ink); outline: none; }
.pt-search input::placeholder { color: #8d94a0; }
.pt-search button { width: 32px; height: 32px; border-radius: 50%; border: 0; background: var(--pt-red); color: #fff; cursor: pointer; font-size: 12px; flex-shrink: 0; transition: background .2s; }
.pt-search button:hover { background: var(--pt-red-2); }
.pt-burger { width: 36px; height: 36px; border: 0; background: transparent; display: flex; flex-direction: column; justify-content: center; align-items: center; gap: 5px; cursor: pointer; padding: 0; }
.pt-burger span { display: block; width: 22px; height: 2px; background: #2b2f38; border-radius: 2px; transition: transform .25s, opacity .2s; }
.pt-burger:hover span { background: var(--pt-red); }
body.nav-open .pt-burger span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
body.nav-open .pt-burger span:nth-child(2) { opacity: 0; }
body.nav-open .pt-burger span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------------------------------------------------------------------
   MENU CHÍNH (desktop: thanh ngang trắng, mục cách đều, vạch ngăn mảnh,
   mục đang chọn đỏ + gạch dưới; tablet/mobile: ngăn kéo bên trái)
   --------------------------------------------------------------------- */
.pt-nav { background: #fff; position: sticky; top: 0; z-index: 900; border-top: 1px solid var(--pt-line); border-bottom: 1px solid var(--pt-line); box-shadow: 0 2px 8px rgba(16,24,40,.04); }
.pt-nav.is-stuck { box-shadow: 0 6px 18px rgba(16,24,40,.1); }
.pt-nav__in { display: flex; align-items: stretch; height: 46px; position: relative; }
.pt-nav__list { display: flex; flex: 1; align-items: stretch; list-style: none; margin: 0; padding: 0; justify-content: space-between; }
.pt-nav__item { position: relative; display: flex; }
.pt-nav__item + .pt-nav__item::before { content: ''; position: absolute; left: 0; top: 50%; width: 1px; height: 16px; background: var(--pt-line); transform: translateY(-50%); }
.pt-nav__item > a { display: flex; align-items: center; padding: 0 16px; color: var(--pt-ink); font-weight: 700; font-size: 12.5px; text-transform: uppercase; letter-spacing: .2px; white-space: nowrap; position: relative; transition: color .2s; }
.pt-nav__item > a::after { content: ''; position: absolute; left: 14px; right: 14px; bottom: -1px; height: 3px; background: var(--pt-red); transform: scaleX(0); transition: transform .22s ease; }
.pt-nav__item:hover > a, .pt-nav__item.is-active > a { color: var(--pt-red); }
.pt-nav__item:hover > a::after, .pt-nav__item.is-active > a::after { transform: scaleX(1); }
.pt-nav__sub-toggle { display: none; }
.pt-nav__sub { position: absolute; top: 100%; left: 0; min-width: 250px; background: #fff; border-radius: 0 0 10px 10px; box-shadow: var(--pt-shadow); padding: 6px 0; list-style: none; margin: 0; opacity: 0; visibility: hidden; transform: translateY(10px); transition: opacity .2s, transform .2s, visibility .2s; border-top: 3px solid var(--pt-red); z-index: 30; }
.pt-nav__item:hover > .pt-nav__sub, .pt-nav__item:focus-within > .pt-nav__sub { opacity: 1; visibility: visible; transform: translateY(0); }
.pt-nav__sub li a { display: block; padding: 9px 18px; color: var(--pt-ink); font-size: 13.5px; font-weight: 500; border-left: 3px solid transparent; transition: all .15s; }
.pt-nav__sub li a:hover, .pt-nav__sub li.is-active a { background: var(--pt-red-soft); color: var(--pt-red); border-left-color: var(--pt-red); }
.pt-nav__sub li a i { font-size: 10px; color: var(--pt-muted); margin-left: 4px; }
.pt-nav__item:nth-last-child(-n+4) .pt-nav__sub { left: auto; right: 0; }
.pt-nav__sub--wide { min-width: 560px; }
.pt-nav__mega { left: 50%; right: auto; transform: translate(-50%, 10px); display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 6px 22px; padding: 16px 20px 18px; min-width: 640px; max-width: 920px; width: max-content; }
.pt-nav__item.has-mega:hover > .pt-nav__mega, .pt-nav__item.has-mega:focus-within > .pt-nav__mega { transform: translate(-50%, 0); }
.pt-nav__item.has-mega:nth-last-child(-n+4) .pt-nav__mega { left: auto; right: 0; transform: translate(0, 10px); }
.pt-nav__item.has-mega:nth-last-child(-n+4):hover > .pt-nav__mega, .pt-nav__item.has-mega:nth-last-child(-n+4):focus-within > .pt-nav__mega { transform: translate(0, 0); }
.pt-nav__mcol { display: flex; flex-direction: column; min-width: 0; }
.pt-nav__mcol b { display: flex; align-items: center; gap: 7px; font-size: 12px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: var(--pt-red); padding: 4px 0 8px; margin-bottom: 4px; border-bottom: 1px solid var(--pt-line); }
.pt-nav__mcol a, .pt-nav__mcol span { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 7px 4px; font-size: 13.5px; font-weight: 500; color: var(--pt-ink); border-radius: 6px; }
.pt-nav__mcol a:hover { background: var(--pt-red-soft); color: var(--pt-red); }
.pt-nav__mcol a i { font-size: 10px; color: var(--pt-muted); }
.pt-nav__mcol--extra { grid-column: 1 / -1; border-top: 1px solid var(--pt-line); padding-top: 6px; }
.pt-nav__mcol--extra a { font-weight: 700; }
.pt-nav__group { padding: 6px 18px 10px; border-top: 1px solid var(--pt-line); margin-top: 6px; }
.pt-nav__gtitle { display: block; font-size: 12px; font-weight: 800; text-transform: uppercase; color: var(--pt-red); letter-spacing: .5px; margin-bottom: 8px; }
.pt-nav__gcols { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 8px 18px; }
.pt-nav__gcol b { display: block; font-size: 12.5px; color: var(--pt-muted); margin-bottom: 4px; }
.pt-nav__gcol a, .pt-nav__gcol span { display: block; font-size: 13.5px; padding: 4px 0; color: var(--pt-ink); }
.pt-nav__gcol a:hover { color: var(--pt-red); }
.pt-nav__mhead { display: none; }
.pt-nav__item--msearch, .pt-nav__item--msocial { display: none; }
.pt-nav__backdrop { display: none; position: fixed; inset: 0; background: rgba(10,14,22,.55); z-index: 890; backdrop-filter: blur(2px); }

/* ---------------------------------------------------------------------
   CHÂN TRANG (đỏ đậm, đường chân trời thành phố mờ bên phải)
   --------------------------------------------------------------------- */
.pt-footer { background: #7b1c22; color: rgba(255,255,255,.9); position: relative; overflow: hidden; }
.pt-footer::before { content: ''; position: absolute; right: 0; bottom: 0; width: 560px; height: 230px; background: url('/assets/images/skyline.svg') right bottom / contain no-repeat; opacity: .35; pointer-events: none; }
.pt-footer__main { padding: 40px 0 30px; position: relative; }
.pt-footer__grid { display: grid; grid-template-columns: 1.6fr 1fr 1.3fr 1.2fr; gap: 34px; }
.pt-footer__brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.pt-footer__brand img { width: 56px; height: 56px; object-fit: contain; }
.pt-footer__brand div { display: flex; flex-direction: column; line-height: 1.2; }
.pt-footer__l1, .pt-footer__l3 { font-size: 10.5px; letter-spacing: .8px; text-transform: uppercase; font-weight: 600; }
.pt-footer__l2 { font-size: 18px; font-weight: 900; color: #fff; text-transform: uppercase; }
.pt-footer__desc { font-size: 13px; line-height: 1.7; margin: 0 0 14px; max-width: 360px; }
.pt-footer__social { display: flex; gap: 8px; }
.pt-footer__social a { width: 34px; height: 34px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: #fff; color: #7b1c22; font-size: 14px; transition: all .2s; }
.pt-footer__social a:hover { background: var(--pt-gold); transform: translateY(-2px); }
.pt-footer__social img { width: 18px; height: 18px; }
.pt-footer__col h4 { font-size: 13px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px; color: #fff; margin: 4px 0 14px; }
.pt-footer__col p { font-size: 13px; line-height: 1.6; margin: 0 0 12px; }
.pt-footer__links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 9px; }
.pt-footer__links a { font-size: 13px; transition: all .15s; display: inline-block; }
.pt-footer__links a:hover { color: var(--pt-gold); transform: translateX(3px); }
.pt-footer__contact { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; }
.pt-footer__contact li { display: flex; gap: 10px; font-size: 13px; line-height: 1.55; }
.pt-footer__contact li i { margin-top: 3px; width: 16px; text-align: center; flex-shrink: 0; }
.pt-footer__contact a:hover { text-decoration: underline; }
.pt-footer__nl { display: flex; height: 40px; background: #fff; border-radius: 999px; overflow: hidden; padding: 3px; }
.pt-footer__nl input { flex: 1; min-width: 0; border: 0; background: transparent; color: var(--pt-ink); padding: 0 14px; font-family: inherit; font-size: 13px; outline: none; }
.pt-footer__nl input::placeholder { color: #9aa1ad; }
.pt-footer__nl button { width: 34px; height: 34px; border-radius: 50%; border: 0; background: var(--pt-red); color: #fff; cursor: pointer; font-size: 13px; }
.pt-footer__sel { margin-top: 12px; width: 100%; height: 36px; border-radius: 8px; border: 1px solid rgba(255,255,255,.3); background: rgba(255,255,255,.1); color: #fff; padding: 0 10px; font-family: inherit; font-size: 12.5px; }
.pt-footer__sel option { color: var(--pt-ink); }
.pt-footer__bottom { background: #5f1218; border-top: 1px solid rgba(255,255,255,.1); position: relative; }
.pt-footer__bottom-in { display: flex; align-items: center; justify-content: space-between; gap: 12px; min-height: 44px; font-size: 12px; flex-wrap: wrap; padding-top: 6px; padding-bottom: 6px; }
.pt-footer__bnav { display: flex; }
.pt-footer__bnav a { padding: 0 10px; border-left: 1px solid rgba(255,255,255,.3); }
.pt-footer__bnav a:first-child { border-left: 0; }
.pt-footer__bnav a:hover { color: var(--pt-gold); }

/* Nút lên đầu trang (scoop-fx.js điều khiển) — chỉ đổi màu */
#scTop { background: var(--pt-red); }

/* ---------------------------------------------------------------------
   TRANG CHỦ
   --------------------------------------------------------------------- */
.hm { padding-top: 20px; }
.hm-tag { display: inline-flex; align-items: center; background: var(--pt-red); color: #fff; font-size: 10.5px; font-weight: 800; letter-spacing: .5px; text-transform: uppercase; padding: 5px 10px; border-radius: 4px; }
.hm-btn { display: inline-flex; align-items: center; gap: 8px; background: var(--pt-red); color: #fff; font-weight: 700; font-size: 13px; padding: 9px 18px; border-radius: 999px; transition: all .2s; white-space: nowrap; }
.hm-btn:hover { background: var(--pt-red-2); box-shadow: 0 6px 16px rgba(200,16,46,.3); transform: translateY(-1px); }
.hm time { color: var(--pt-muted); font-size: 12px; }
.hm time i { margin-right: 4px; }

/* Tiêu đề mục */
.hm-sechead { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 16px; }
.hm-sechead h2 { display: flex; align-items: center; gap: 10px; font-size: 15.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .2px; color: var(--pt-ink); margin: 0; }
.hm-sechead__sq { width: 10px; height: 10px; background: var(--pt-red); border-radius: 2px; flex-shrink: 0; }
.hm-sechead__more { font-size: 12.5px; font-weight: 600; color: var(--pt-text); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.hm-sechead__more i { color: var(--pt-red); transition: transform .2s; }
.hm-sechead__more:hover { color: var(--pt-red); }
.hm-sechead__more:hover i { transform: translateX(3px); }
.hm-sec { margin-top: 34px; }

/* Khối đầu trang */
.hm-hero { display: grid; grid-template-columns: 1fr 350px; gap: 20px; }
.hm-hero__main { position: relative; border-radius: var(--pt-radius); overflow: hidden; aspect-ratio: 16 / 9.4; background: var(--pt-navy); }
.hm-hero__slide { position: absolute; inset: 0; opacity: 0; transition: opacity .6s ease; display: block; pointer-events: none; z-index: 1; }
.hm-hero__slide.is-active { opacity: 1; z-index: 2; pointer-events: auto; }
.hm-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.hm-hero__ov { position: absolute; inset: 0; background: linear-gradient(180deg, rgba(8,27,56,0) 32%, rgba(8,27,56,.55) 60%, rgba(8,27,56,.92) 100%); }
.hm-hero__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 24px 28px 24px; color: #fff; display: flex; flex-direction: column; align-items: flex-start; gap: 10px; }
.hm-hero__title { font-size: 25px; font-weight: 800; line-height: 1.3; max-width: 92%; }
.hm-hero__ex { font-size: 12.5px; line-height: 1.6; opacity: .92; max-width: 82%; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-hero__more { font-size: 13px; font-weight: 700; display: inline-flex; align-items: center; gap: 8px; }
.hm-hero__more i { transition: transform .2s; }
.hm-hero__slide:hover .hm-hero__more i { transform: translateX(4px); }
.hm-hero__nav { position: absolute; right: 22px; bottom: 22px; z-index: 5; display: flex; gap: 8px; }
.hm-hero__nav button { width: 34px; height: 34px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.7); background: rgba(255,255,255,.1); color: #fff; cursor: pointer; backdrop-filter: blur(4px); transition: all .2s; font-size: 11px; }
.hm-hero__nav button:hover { background: #fff; color: var(--pt-red); }
.hm-hero__side { display: flex; flex-direction: column; gap: 10px; }
.hm-snews { display: flex; gap: 12px; padding: 9px; background: #f6f7f9; border: 1px solid #eceef2; border-radius: 10px; flex: 1; transition: all .2s; align-items: center; }
.hm-snews:hover { background: #fff; border-color: #f1c6cb; box-shadow: var(--pt-shadow-sm); }
.hm-snews__img { width: 118px; height: 80px; flex-shrink: 0; border-radius: 7px; overflow: hidden; background: var(--pt-bg); }
.hm-snews__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-snews__body { display: flex; flex-direction: column; justify-content: center; gap: 5px; min-width: 0; }
.hm-snews__body b { font-size: 13.5px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; color: var(--pt-ink); }
.hm-snews:hover b { color: var(--pt-red); }

/* Ô truy cập nhanh */
.hm-quick { display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; margin-top: 22px; }
.hm-quick__item { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 9px; padding: 16px 10px 14px; background: #fff; border: 1px solid var(--pt-line); border-radius: 8px; transition: all .2s; }
.hm-quick__item:hover { border-color: var(--c); box-shadow: 0 10px 24px rgba(16,24,40,.08); transform: translateY(-3px); }
.hm-quick__ico { width: 44px; height: 44px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: color-mix(in srgb, var(--c) 12%, #fff); color: var(--c); font-size: 17px; transition: all .2s; }
.hm-quick__item:hover .hm-quick__ico { background: var(--c); color: #fff; }
.hm-quick__lbl { font-size: 12.5px; font-weight: 600; line-height: 1.4; color: var(--pt-ink); }

/* Đảng bộ phường: ảnh nền (party-bg.webp hoặc banner quản trị), tiêu đề serif đỏ,
   slideshow bên trái, 4 tin bên phải trong ô trắng */
.hm-party { margin-top: 30px; padding: 30px 0 40px; background: #fff3cf left center / cover no-repeat; position: relative; }
.hm-party::before { content: ''; position: absolute; inset: 0; background: #fff3cf; mix-blend-mode: multiply; pointer-events: none; }
.hm-party__in { position: relative; }
.hm-party__head { display: flex; justify-content: center; align-items: center; margin-bottom: 20px; min-height: 80px; }
.hm-party__title { display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; }
.hm-party__title h2 { margin: 0; font-family: 'Playfair Display', Georgia, 'Times New Roman', serif; font-size: 28px; font-weight: 900; color: var(--pt-red); text-transform: uppercase; letter-spacing: 0; line-height: 1.15; white-space: nowrap; text-shadow: 0 0 2px #fff, 0 2px 0 #fff, 2px 0 0 #fff, -2px 0 0 #fff, 0 -2px 0 #fff, 0 6px 16px rgba(200,16,46,.25); }
.hm-party__title span { font-family: 'Playfair Display', Georgia, serif; font-size: 15px; font-weight: 800; letter-spacing: 2.5px; text-transform: uppercase; color: var(--pt-red); text-shadow: 0 0 2px #fff, 0 1px 0 #fff; }
.hm-party__orn { display: none; }
.hm-party__more { align-self: flex-end; flex: 0 0 auto; margin-top: 2px; padding: 8px 18px; font-size: 12.5px; box-shadow: 0 6px 16px rgba(200,16,46,.25); }
.hm-party__grid { display: grid; grid-template-columns: 56% 1fr; gap: 18px; align-items: stretch; }
.hm-party__grid > * { min-width: 0; }
.hm-party__slider { border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 9.2; background: var(--pt-navy); position: relative; width: 100%; box-shadow: 0 12px 34px rgba(120,10,20,.22); }
.hm-party__slider .swiper-wrapper, .hm-party__slider .swiper-slide { height: 100%; }
.hm-party__slide { display: block; position: relative; width: 100%; height: 100%; }
.hm-party__slide img { width: 100%; height: 100%; object-fit: cover; }
.hm-party__slide .hm-tag { position: absolute; top: 14px; left: 14px; z-index: 2; }
.hm-party__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 18px 26px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.8)); color: #fff; }
.hm-party__cap b { font-size: 17px; font-weight: 800; line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-party__slider .swiper-pagination { bottom: 8px; }
.hm-party__slider .swiper-pagination-bullet { background: #fff; opacity: .5; width: 7px; height: 7px; }
.hm-party__slider .swiper-pagination-bullet-active { opacity: 1; }
.hm-party__arrow { position: absolute; top: 50%; transform: translateY(-50%); z-index: 5; width: 36px; height: 36px; border-radius: 50%; border: 0; background: rgba(255,255,255,.92); color: var(--pt-ink); cursor: pointer; box-shadow: 0 4px 12px rgba(0,0,0,.25); transition: all .2s; font-size: 12px; }
.hm-party__arrow:hover { background: var(--pt-red); color: #fff; }
.hm-party__arrow--prev { left: 12px; }
.hm-party__arrow--next { right: 12px; }
.hm-party__list { display: flex; flex-direction: column; gap: 12px; }
.hm-pitem { flex: 1; display: flex; align-items: center; gap: 12px; padding: 8px; background: rgba(255,255,255,.96); border: 1px solid #f3d6d9; border-radius: 10px; box-shadow: 0 4px 14px rgba(120,10,20,.08); transition: all .2s; }
.hm-pitem:hover { transform: translateX(3px); box-shadow: 0 8px 22px rgba(120,10,20,.16); border-color: #ebb3b9; }
.hm-pitem__img { width: 104px; height: 70px; flex-shrink: 0; border-radius: 7px; overflow: hidden; background: var(--pt-bg); }
.hm-pitem__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-pitem b { font-size: 13.5px; font-weight: 700; line-height: 1.45; color: var(--pt-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-pitem:hover b { color: var(--pt-red); }

/* Bố cục 2 cột: nội dung + cột phải (hai cột kéo bằng nhau, không để trống) */
.hm-row2 { display: grid; grid-template-columns: 1fr 320px; gap: 26px; margin-top: 34px; align-items: stretch; }
.hm-row2--wide { grid-template-columns: 1fr 360px; }
.hm-main { display: flex; flex-direction: column; min-width: 0; }
.hm-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.hm-side > * { flex: 1; }

/* Chính trị */
.hm-ct { display: grid; grid-template-columns: 1.15fr 1fr; gap: 20px; flex: 1; }
.hm-lead { display: flex; flex-direction: column; gap: 8px; }
.hm-lead__img { border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9.6; background: var(--pt-bg); }
.hm-lead__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.hm-lead:hover img { transform: scale(1.04); }
.hm-lead__title { font-size: 17px; font-weight: 800; line-height: 1.4; color: var(--pt-ink); margin-top: 2px; }
.hm-lead:hover .hm-lead__title { color: var(--pt-red); }
.hm-lead__ex { font-size: 13px; line-height: 1.65; color: var(--pt-text); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.hm-list { display: flex; flex-direction: column; }
.hm-item { display: flex; gap: 12px; padding: 10px 0; border-bottom: 1px solid var(--pt-line); }
.hm-item:first-child { padding-top: 0; }
.hm-item:last-child { border-bottom: 0; }
.hm-item__img { width: 110px; height: 76px; flex-shrink: 0; border-radius: 6px; overflow: hidden; background: var(--pt-bg); }
.hm-item__img img { width: 100%; height: 100%; object-fit: cover; }
.hm-item__body { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hm-item__body b { font-size: 13.5px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--pt-ink); }
.hm-item:hover b { color: var(--pt-red); }

/* Hộp cột phải: Thông báo quan trọng (hồng), Lịch tiếp công dân (trắng) */
.hm-box { border-radius: 10px; padding: 16px 18px; display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pt-line); }
.hm-box--notice { background: #fdeef0; border-color: #f5d5d9; }
.hm-box__head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--pt-red); margin-bottom: 6px; }
.hm-box__ico { width: 30px; height: 30px; border-radius: 50%; background: var(--pt-red); color: #fff; display: inline-flex; align-items: center; justify-content: center; font-size: 13px; flex-shrink: 0; }
.hm-box__list { list-style: none; margin: 0; padding: 0; flex: 1; display: flex; flex-direction: column; justify-content: space-around; }
.hm-box__list li { display: flex; gap: 10px; padding: 9px 0; border-bottom: 1px solid #f3d3d7; }
.hm-box__list li:last-child { border-bottom: 0; }
.hm-box__list li > i { color: var(--pt-red); margin-top: 3px; flex-shrink: 0; font-size: 13px; }
.hm-box__list a { display: flex; flex-direction: column; gap: 4px; min-width: 0; }
.hm-box__list b { font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--pt-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-box__list a:hover b { color: var(--pt-red); }
.hm-box__all { display: inline-flex; align-items: center; gap: 6px; margin-top: 10px; font-size: 12.5px; font-weight: 700; color: var(--pt-red); }
.hm-box__all i { transition: transform .2s; }
.hm-box__all:hover i { transform: translateX(3px); }
.hm-sched { list-style: none; margin: 0; padding: 0; flex: 1; }
.hm-sched li { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px solid var(--pt-line); }
.hm-sched li:last-child { border-bottom: 0; }
.hm-sched__date { width: 46px; flex-shrink: 0; text-align: center; background: var(--pt-red-soft); border-radius: 8px; padding: 5px 0; display: flex; flex-direction: column; line-height: 1.1; }
.hm-sched__date b { font-size: 18px; color: var(--pt-red); }
.hm-sched__date small { font-size: 10.5px; color: var(--pt-muted); margin-top: 2px; }
.hm-sched__body { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hm-sched__body b { font-size: 13px; font-weight: 600; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-sched__body small { font-size: 12px; color: var(--pt-muted); line-height: 1.4; }

/* Thời tiết (Open-Meteo) */
.hm-weather { border-radius: 10px; padding: 16px 18px; color: #fff; background: linear-gradient(145deg, #1a5fb4 0%, #2d7dd2 60%, #4aa3df 100%); display: flex; flex-direction: column; gap: 10px; position: relative; overflow: hidden; }
.hm-weather::after { content: ''; position: absolute; right: -30px; top: -30px; width: 140px; height: 140px; border-radius: 50%; background: rgba(255,255,255,.12); }
.hm-weather__head { font-size: 12.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; display: flex; align-items: center; gap: 6px; position: relative; }
.hm-weather__head small { margin-left: auto; font-weight: 500; opacity: .85; text-transform: none; }
.hm-weather__now { display: flex; align-items: center; gap: 12px; position: relative; }
.hm-weather__ico { font-size: 40px; color: #ffe27a; filter: drop-shadow(0 4px 10px rgba(0,0,0,.2)); }
.hm-weather__temp { font-size: 40px; font-weight: 800; line-height: 1; }
.hm-weather__temp small { font-size: 16px; font-weight: 600; vertical-align: top; }
.hm-weather__meta { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hm-weather__meta b { font-size: 14px; }
.hm-weather__meta small { font-size: 11.5px; opacity: .9; line-height: 1.4; }
.hm-weather__days { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; position: relative; }
.hm-weather__days span { background: rgba(255,255,255,.14); border-radius: 8px; padding: 7px 4px; display: flex; flex-direction: column; align-items: center; gap: 3px; font-size: 12px; }
.hm-weather__days small { font-size: 11px; opacity: .9; }
.hm-weather__days i { font-size: 16px; color: #ffe27a; }
.hm-weather__days b { font-size: 13px; }
.hm-weather__days em { font-style: normal; opacity: .8; font-size: 11px; }

/* Lưới thẻ tin (ảnh + tiêu đề + ngày, không khung) */
.hm-grid4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hm-grid3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; flex: 1; }
.hm-card { display: flex; flex-direction: column; gap: 8px; }
.hm-card__img { aspect-ratio: 16 / 10.5; overflow: hidden; border-radius: 8px; background: var(--pt-bg); }
.hm-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.hm-card:hover img { transform: scale(1.05); }
.hm-card b { font-size: 14px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; color: var(--pt-ink); margin-top: 2px; }
.hm-card:hover b { color: var(--pt-red); }

/* Khối 3 chuyên mục song song (Kinh tế · Y tế - Giáo dục · Thể thao - Du lịch ...):
   mỗi cột = tiêu đề mục + 1 tin lớn + 2 tin nhỏ */
.hm-cols3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.hm-col { display: flex; flex-direction: column; min-width: 0; }
.hm-col .hm-sechead { margin-bottom: 14px; padding-bottom: 10px; border-bottom: 2px solid var(--pt-line); position: relative; }
.hm-col .hm-sechead::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 60px; height: 2px; background: var(--pt-red); }
.hm-col .hm-sechead h2 { font-size: 14px; }
.hm-col .hm-card { margin-bottom: 12px; }
.hm-col .hm-item__img { width: 96px; height: 66px; }
.hm-col .hm-item__body b { font-size: 13px; }

/* Banner ngang (Quản trị → Banners) */
.hm-midbanner { margin-top: 30px; }
.hm-midbanner img { width: 100%; max-height: 220px; object-fit: cover; border-radius: 10px; }

/* Thư viện ảnh - trang chủ */
.hm-albums { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.hm-album { position: relative; display: block; border-radius: 10px; overflow: hidden; aspect-ratio: 4 / 3; background: var(--pt-navy); }
.hm-album__img, .hm-album__img img { width: 100%; height: 100%; }
.hm-album__img img { object-fit: cover; transition: transform .5s; }
.hm-album:hover img { transform: scale(1.06); }
.hm-album__count { position: absolute; top: 10px; right: 10px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; font-size: 11.5px; font-weight: 600; padding: 4px 9px; border-radius: 999px; backdrop-filter: blur(4px); }
.hm-album__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 34px 14px 12px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.78)); color: #fff; }
.hm-album__cap b { font-size: 14px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Hàng tiện ích: Lịch công tác · Lịch tiếp công dân · Thời tiết */
.hm-util { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; align-items: stretch; }
.hm-util > * { min-width: 0; }

/* Địa chỉ cần biết (4 ô: UBND · Quân sự · Công an · Y tế) */
.hm-util--side { grid-template-columns: 330px minmax(0, 1fr); }
.hm-util--full .hm-places { grid-column: 1 / -1; }
.hm-util--side .hm-weather { justify-content: space-between; }
.hm-places { border-radius: 10px; padding: 14px 16px 16px; background: #fff; border: 1px solid var(--pt-line); display: flex; flex-direction: column; }
.hm-places__head { display: flex; align-items: center; gap: 10px; font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--pt-red); margin-bottom: 12px; flex-wrap: wrap; }
.hm-places__head small { margin-left: auto; font-size: 12px; font-weight: 500; text-transform: none; color: var(--pt-muted); display: inline-flex; align-items: center; gap: 6px; }
.hm-places__tabs { display: none; }
.hm-places__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; flex: 1; }

.hm-place { --pc: #c8102e; --pc-dark: #8a0f22; --pc-soft: #fdeeef; position: relative; display: flex; flex-direction: column; min-width: 0; background: #fff; border: 1px solid var(--pt-line); border-radius: 8px; overflow: hidden; transition: transform .35s cubic-bezier(.2,.7,.2,1), box-shadow .35s, border-color .35s; }
.hm-place:hover { transform: translateY(-3px); box-shadow: 0 12px 24px -10px rgba(27,31,39,.25); border-color: var(--pc); }
.hm-place--1, .hm-places__tab--1 { --pc: #c8102e; --pc-dark: #8a0f22; --pc-soft: #fdeeef; }
.hm-place--2, .hm-places__tab--2 { --pc: #3b7a3a; --pc-dark: #275227; --pc-soft: #ebf4ea; }
.hm-place--3, .hm-places__tab--3 { --pc: #1f4e8c; --pc-dark: #142f55; --pc-soft: #e9eff8; }
.hm-place--4, .hm-places__tab--4 { --pc: #0f8577; --pc-dark: #0a5b52; --pc-soft: #e6f4f1; }

/* Dải màu trên đầu ô: hoạ tiết kẻ chéo mờ + vệt sáng quét qua khi rê chuột */
.hm-place__top { position: relative; display: flex; align-items: center; gap: 10px; padding: 10px 12px; min-height: 52px; background: var(--pc); color: #fff; overflow: hidden; isolation: isolate; }
.hm-place__top::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(135deg, rgba(255,255,255,.07) 0 2px, transparent 2px 10px); z-index: -1; }
.hm-place__top::after { content: ''; position: absolute; top: -20%; bottom: -20%; left: -45%; width: 30%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.22), transparent); transform: skewX(-20deg); transition: left .7s ease; z-index: -1; }
.hm-place:hover .hm-place__top::after { left: 125%; }
.hm-place__ico { position: relative; width: 32px; height: 32px; flex-shrink: 0; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.75); background: rgba(255,255,255,.12); display: inline-flex; align-items: center; justify-content: center; font-size: 13px; transition: transform .35s; }
.hm-place__ico::after { content: ''; position: absolute; inset: -1.5px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.8); opacity: 0; }
.hm-place:hover .hm-place__ico { transform: scale(1.06); }
.hm-place:hover .hm-place__ico::after { animation: hmPlaceRing 1.1s ease-out; }
@keyframes hmPlaceRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.75); opacity: 0; } }
.hm-place__top h3 { margin: 0; font-size: 11.5px; font-weight: 800; line-height: 1.25; text-transform: uppercase; letter-spacing: .2px; color: #fff; }

/* Thông tin */
.hm-place__body { padding: 10px 12px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.hm-place__row { display: flex; align-items: flex-start; gap: 8px; min-width: 0; font-size: 12.5px; line-height: 1.4; color: var(--pt-ink); }
.hm-place__row > i { width: 22px; height: 22px; flex-shrink: 0; border-radius: 5px; background: var(--pc-soft); color: var(--pc); display: inline-flex; align-items: center; justify-content: center; font-size: 10.5px; margin-top: -2px; }
.hm-place__row > span, :where(.hm-place__row) > a { min-width: 0; overflow-wrap: anywhere; }
:where(.hm-place__row) > a { font-weight: 700; font-variant-numeric: tabular-nums; color: var(--pt-ink); }
.hm-place__row > a:hover { color: var(--pc); }
.hm-place__row--note { font-size: 11.5px; color: var(--pt-muted); }
.hm-place__row--note > i { background: transparent; color: var(--pt-muted); }

/* Chân ô: Chỉ đường + Gọi */
.hm-place__foot { margin-top: auto; display: flex; border-top: 1px solid var(--pt-line); }
.hm-place__btn { position: relative; flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 7px; padding: 9px 8px; font-size: 12.5px; font-weight: 700; color: var(--pc) !important; background: #fff; overflow: hidden; transition: color .3s; }
.hm-place__btn::before { content: ''; position: absolute; inset: 0; background: var(--pc); transform: scaleX(0); transform-origin: left; transition: transform .35s cubic-bezier(.2,.7,.2,1); }
.hm-place__btn > * { position: relative; }
.hm-place__btn i { font-size: 13px; transition: transform .3s; }
.hm-place__btn em { width: 0; height: 1.5px; background: currentColor; transition: width .3s; }
.hm-place__btn:hover, .hm-place__btn:focus-visible { color: #fff !important; }
.hm-place__btn:hover::before, .hm-place__btn:focus-visible::before { transform: scaleX(1); }
.hm-place__btn:hover i { transform: translateX(2px) rotate(-8deg); }
.hm-place__btn:hover em { width: 14px; }
.hm-place__call { width: 42px; flex-shrink: 0; display: inline-flex; align-items: center; justify-content: center; border-left: 1px solid var(--pt-line); color: var(--pc) !important; font-size: 13px; transition: background .25s, color .25s; }
.hm-place__call:hover { background: var(--pc-soft); }

/* Xuất hiện lần lượt khi cuộn tới (JS thêm .is-in; không JS/giảm chuyển động = hiện ngay) */
.js [data-reveal] .hm-place { opacity: 0; transform: translateY(18px); }
.js [data-reveal].is-in .hm-place { animation: hmPlaceIn .6s cubic-bezier(.2,.7,.2,1) forwards; animation-delay: var(--d, 0ms); }
@keyframes hmPlaceIn { to { opacity: 1; transform: none; } }
.js [data-reveal].is-in .hm-place:hover { animation: none; opacity: 1; transform: translateY(-3px); }
@media (prefers-reduced-motion: reduce) {
    .js [data-reveal] .hm-place { opacity: 1; transform: none; animation: none; }
    .hm-place, .hm-place__top::after, .hm-place__btn::before, .hm-place__ico { transition: none; }
    .hm-place:hover .hm-place__ico::after { animation: none; }
}

/* Tablet/mobile: dạng tab — thanh tab cuộn ngang, chỉ hiện 1 ô đang chọn */
@media (max-width: 991px) {
    .hm-places__tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; margin: 0 -16px 12px; padding: 0 16px 2px; }
    .hm-places__tabs::-webkit-scrollbar { display: none; }
    .hm-places__tab { --pc: var(--pt-red); flex-shrink: 0; display: inline-flex; align-items: center; gap: 7px; padding: 8px 12px; border: 1px solid var(--pt-line); border-radius: 999px; background: #fff; color: var(--pt-text); font: inherit; font-size: 12.5px; font-weight: 700; cursor: pointer; white-space: nowrap; transition: background .25s, color .25s, border-color .25s; }
    .hm-places__tab i { color: var(--pc); font-size: 12px; transition: color .25s; }
    .hm-places__tab.is-active { background: var(--pc); border-color: var(--pc); color: #fff; }
    .hm-places__tab.is-active i { color: #fff; }
    .hm-places__grid { display: block; }
    .hm-place { display: none; }
    .hm-place.is-active { display: flex; animation: hmPlaceTab .35s ease; }
    .js [data-reveal] .hm-place.is-active, .js [data-reveal].is-in .hm-place.is-active { opacity: 1; transform: none; animation: hmPlaceTab .35s ease; }
    @keyframes hmPlaceTab { from { opacity: 0; transform: translateY(8px); } to { opacity: 1; transform: none; } }
    .hm-place__top { min-height: 0; padding: 12px 14px; }
    .hm-place__top h3 { font-size: 12.5px; }
    .hm-place__body { padding: 12px 14px; gap: 8px; }
    .hm-place__row { font-size: 13px; }
}
/* Chuyển đổi số */
.hm-cds { position: relative; border-radius: var(--pt-radius); overflow: hidden; padding: 22px; color: #fff; background: var(--pt-navy) center/cover no-repeat; min-height: 280px; display: flex; flex-direction: column; gap: 12px; isolation: isolate; }
.hm-cds::before { content: ''; position: absolute; inset: 0; background: linear-gradient(160deg, rgba(8,32,74,.96) 0%, rgba(8,32,74,.9) 55%, rgba(26,95,180,.85) 100%); z-index: -1; }
.hm-cds__top { display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.hm-cds__lbl { font-size: 12.5px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; }
.hm-cds__top > a { font-size: 12px; font-weight: 600; opacity: .85; display: inline-flex; gap: 6px; align-items: center; }
.hm-cds__top > a:hover { opacity: 1; }
.hm-cds__title { font-size: 19px; font-weight: 800; line-height: 1.4; margin-top: 6px; }
.hm-cds__title:hover { color: var(--pt-gold); }
.hm-cds p { font-size: 13px; line-height: 1.65; opacity: .9; margin: 0; flex: 1; }
.hm-cds .hm-btn { align-self: flex-start; }

/* Video */
.hm-video { display: grid; grid-template-columns: 1.9fr 1fr 1fr; gap: 18px; }
.hm-vid { display: flex; flex-direction: column; gap: 10px; position: relative; }
.hm-vid__thumb { position: relative; border-radius: 8px; overflow: hidden; aspect-ratio: 16 / 9; background: var(--pt-navy); }
.hm-vid__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hm-vid:hover img { transform: scale(1.04); }
.hm-vid__thumb::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(0,0,0,0) 55%, rgba(0,0,0,.4)); }
.hm-vid__play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 54px; height: 54px; border-radius: 50%; background: rgba(255,255,255,.92); color: var(--pt-red); display: flex; align-items: center; justify-content: center; font-size: 18px; padding-left: 4px; z-index: 2; box-shadow: 0 8px 24px rgba(0,0,0,.35); transition: all .2s; }
.hm-vid:hover .hm-vid__play { background: var(--pt-red); color: #fff; transform: translate(-50%, -50%) scale(1.08); }
.hm-vid--big .hm-vid__play { width: 70px; height: 70px; font-size: 24px; }
.hm-vid__cap { display: flex; justify-content: space-between; gap: 12px; align-items: flex-start; }
.hm-vid__cap b { font-size: 13.5px; font-weight: 700; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-vid:hover b { color: var(--pt-red); }
.hm-vid__cap small { color: var(--pt-muted); font-size: 12px; white-space: nowrap; margin-top: 2px; }
.hm-vid--big .hm-vid__thumb::after { background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,.85)); }
.hm-vid--big .hm-vid__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; color: #fff; z-index: 2; align-items: flex-end; }
.hm-vid--big .hm-vid__cap b { font-size: 15px; }
.hm-vid--big .hm-vid__cap small { color: rgba(255,255,255,.85); }
.hm-vid--big:hover b { color: var(--pt-gold); }

/* Kênh YouTube (hàng phụ dưới mục Video) */
.hm-yt { margin-top: 18px; padding-top: 16px; border-top: 1px dashed var(--pt-line); }
.hm-yt__head { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; font-size: 13px; }
.hm-yt__head > i { color: #ff0000; font-size: 20px; }
.hm-yt__head b { font-weight: 700; flex: 1; min-width: 0; }
.hm-yt__head a { color: var(--pt-red); font-weight: 600; white-space: nowrap; display: inline-flex; align-items: center; gap: 6px; }
.hm-yt__grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.hm-ytv { display: flex; flex-direction: column; gap: 7px; }
.hm-ytv__thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 8px; overflow: hidden; background: var(--pt-bg); }
.hm-ytv__thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.hm-ytv:hover img { transform: scale(1.05); }
.hm-ytv__thumb i { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 36px; height: 36px; border-radius: 50%; background: rgba(255,255,255,.9); color: var(--pt-red); display: flex; align-items: center; justify-content: center; font-size: 12px; padding-left: 2px; }
.hm-ytv b { font-size: 13px; font-weight: 600; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-ytv:hover b { color: var(--pt-red); }

/* Doanh nghiệp */
.hm-biz { position: relative; padding: 0 44px; }
.hm-biz__track { display: flex; gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding: 4px 2px 8px; }
.hm-biz__track::-webkit-scrollbar { display: none; }
.hm-biz__item { flex: 0 0 calc((100% - 64px) / 5); scroll-snap-align: start; background: #fff; border: 1px solid var(--pt-line); border-radius: 8px; padding: 16px 12px; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 7px; transition: all .2s; }
.hm-biz__item:hover { box-shadow: var(--pt-shadow); transform: translateY(-3px); }
.hm-biz__logo { width: 100%; height: 60px; display: flex; align-items: center; justify-content: center; }
.hm-biz__logo img { max-height: 60px; max-width: 100%; width: auto; object-fit: contain; }
.hm-biz__item b { font-size: 12.5px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-biz__item small { font-size: 11.5px; color: var(--pt-muted); }
.hm-biz__arrow { position: absolute; top: 50%; transform: translateY(-50%); width: 34px; height: 34px; border-radius: 50%; border: 1px solid var(--pt-line); background: #fff; color: var(--pt-ink); cursor: pointer; box-shadow: var(--pt-shadow-sm); transition: all .2s; z-index: 2; font-size: 12px; }
.hm-biz__arrow:hover { background: var(--pt-red); color: #fff; border-color: var(--pt-red); }
.hm-biz__arrow--prev { left: 0; }
.hm-biz__arrow--next { right: 0; }

/* Khối Chính sách, pháp luật (đỏ đồng bộ + vàng kim) */
.hm-legal { margin-top: 36px; padding: 34px 0 38px; background: radial-gradient(900px 420px at 88% 0%, #d9233f 0%, #c8102e 42%, #8a0f22 78%, #5a0914 100%); color: #fff; position: relative; overflow: hidden; }
.hm-legal::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px), linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px); background-size: 46px 46px; pointer-events: none; }
.hm-legal::after { content: ''; position: absolute; left: 0; right: 0; top: 0; height: 4px; background: linear-gradient(90deg, #f3d27a, #c9a227, #f3d27a); }
.hm-legal .pt-container { position: relative; }
.hm-legal__head { display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 22px; }
.hm-legal__title { display: flex; align-items: center; gap: 14px; }
.hm-legal__ico { width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(145deg, #f6d77a, #c9a227); color: #5a0914; display: inline-flex; align-items: center; justify-content: center; font-size: 24px; flex-shrink: 0; box-shadow: 0 8px 20px rgba(0,0,0,.25), inset 0 -3px 0 rgba(0,0,0,.12); }
.hm-legal__title h2 { margin: 0; color: #fff; font-size: 22px; font-weight: 900; text-transform: uppercase; letter-spacing: .3px; }
.hm-legal__title span { font-size: 12.5px; color: rgba(255,255,255,.82); }
.hm-legal__btn { display: inline-flex; align-items: center; gap: 8px; background: #c9a227; color: #5a0914; font-weight: 800; font-size: 13px; padding: 10px 18px; border-radius: 999px; transition: all .2s; white-space: nowrap; }
.hm-legal__btn:hover { background: #f3d27a; transform: translateY(-1px); }
.hm-legal__grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; align-items: start; }
.hm-legal__cats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px; }
.hm-legal__cats a { display: flex; flex-direction: column; gap: 8px; padding: 14px 14px 12px; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.2); border-radius: 12px; position: relative; transition: all .2s; min-height: 108px; }
.hm-legal__cats a:hover { background: #fff; border-color: #fff; transform: translateY(-3px); box-shadow: 0 12px 28px rgba(0,0,0,.25); }
.hm-legal__cats a i { font-size: 20px; color: #f3d27a; transition: color .2s; }
.hm-legal__cats a:hover i { color: #c8102e; }
.hm-legal__cats a b { font-size: 12.5px; font-weight: 700; line-height: 1.35; color: #fff; transition: color .2s; }
.hm-legal__cats a:hover b { color: #1f2430; }
.hm-legal__n { position: absolute; right: 12px; top: 10px; font-family: 'Playfair Display', Georgia, serif; font-size: 20px; font-weight: 900; color: rgba(243,210,122,.45); }
.hm-legal__cats a:hover .hm-legal__n { color: #c9a227; }
.hm-legal__posts { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.hm-legal__lead { grid-column: 1 / -1; position: relative; border-radius: 12px; overflow: hidden; aspect-ratio: 16 / 7.6; background: #6b0b19; display: block; }
.hm-legal__limg, .hm-legal__limg img { width: 100%; height: 100%; }
.hm-legal__limg img { object-fit: cover; transition: transform .5s; }
.hm-legal__lead:hover img { transform: scale(1.04); }
.hm-legal__lcap { position: absolute; left: 0; right: 0; bottom: 0; padding: 36px 18px 16px; background: linear-gradient(180deg, rgba(60,4,10,0), rgba(60,4,10,.92)); display: flex; flex-direction: column; gap: 5px; }
.hm-legal__lcap small { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #f3d27a; }
.hm-legal__lcap b { font-size: 16px; font-weight: 800; line-height: 1.35; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-legal__lcap time { color: rgba(255,255,255,.8); }
.hm-legal__item { display: flex; gap: 10px; align-items: center; background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.18); border-radius: 10px; padding: 8px; transition: all .2s; }
.hm-legal__item:last-child { grid-column: 1 / -1; }
.hm-legal__item:hover { background: rgba(255,255,255,.18); }
.hm-legal__iimg { width: 84px; height: 60px; flex-shrink: 0; border-radius: 6px; overflow: hidden; }
.hm-legal__iimg img { width: 100%; height: 100%; object-fit: cover; }
.hm-legal__item > span:last-child { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.hm-legal__item small { font-size: 10px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; color: #f3d27a; }
.hm-legal__item b { font-size: 13px; font-weight: 600; line-height: 1.4; color: #fff; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.hm-legal__posts--empty { display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 10px; padding: 36px 20px; border: 1px dashed rgba(255,255,255,.35); border-radius: 12px; color: rgba(255,255,255,.85); font-size: 13.5px; }
.hm-legal__posts--empty i { font-size: 34px; color: #f3d27a; }
.hm-legal__posts--empty p { margin: 0; }

/* Dải khẩu hiệu */
.hm-slogan { margin-top: 40px; position: relative; min-height: 170px; display: flex; align-items: center; background: linear-gradient(90deg, #e9eef7, #f5f7fb 50%, #e6ecf5) center/cover no-repeat; overflow: hidden; }
.hm-slogan::before { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(255,255,255,.55), rgba(255,255,255,.35)); }
.hm-slogan__in { position: relative; display: flex; flex-direction: column; align-items: center; text-align: center; gap: 4px; padding-top: 26px; padding-bottom: 26px; }
.hm-slogan__script { font-family: 'Dancing Script', cursive; font-size: 52px; font-weight: 700; color: var(--pt-red); line-height: 1; }
.hm-slogan__text { font-size: 19px; font-weight: 900; letter-spacing: 2px; text-transform: uppercase; color: var(--pt-red); }

/* ---------------------------------------------------------------------
   TRANG TRONG: breadcrumb, tiêu đề trang, nút, lịch công tác
   --------------------------------------------------------------------- */
.pt-page { padding: 22px 16px 50px; }
.pt-crumbs { display: flex; align-items: center; gap: 4px; font-size: 13px; color: var(--pt-muted); margin-bottom: 14px; flex-wrap: wrap; }
.pt-crumbs a { display: inline-flex; align-items: center; gap: 5px; padding: 4px 2px; transition: color .15s; }
.pt-crumbs a:hover { color: var(--pt-red); }
.pt-crumbs a .fa-house { font-size: 12px; color: var(--pt-red); }
.pt-crumbs > span:not([aria-current]) { font-size: 0; width: 14px; height: 14px; background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%239aa1ad' stroke-width='2.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E") center/10px no-repeat; }
.pt-crumbs [aria-current] { color: var(--pt-red); font-weight: 600; }
.pt-pagehead { display: flex; align-items: flex-end; justify-content: space-between; gap: 20px; padding-bottom: 16px; margin-bottom: 18px; border-bottom: 2px solid var(--pt-line); position: relative; flex-wrap: wrap; }
.pt-pagehead::after { content: ''; position: absolute; left: 0; bottom: -2px; width: 90px; height: 2px; background: var(--pt-red); }
.pt-pagehead__kicker { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; text-transform: uppercase; letter-spacing: 1px; color: var(--pt-red); font-weight: 700; }
.pt-pagehead h1 { font-size: 26px; font-weight: 800; color: var(--pt-ink); margin: 4px 0 6px; }
.pt-pagehead__txt p { color: var(--pt-muted); font-size: 13.5px; margin: 0; max-width: 820px; line-height: 1.6; }
.pt-pagehead__tabs { display: flex; gap: 6px; flex-wrap: wrap; }
.pt-pagehead__tabs a { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 999px; border: 1.5px solid var(--pt-line); font-weight: 600; font-size: 13px; color: var(--pt-ink); transition: all .2s; }
.pt-pagehead__tabs a.is-active, .pt-pagehead__tabs a:hover { background: var(--pt-red); border-color: var(--pt-red); color: #fff; }
.pt-btn { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; border-radius: 8px; font-weight: 600; font-size: 14px; border: 1.5px solid transparent; transition: all .2s; line-height: 1.2; cursor: pointer; font-family: inherit; }
.pt-btn--primary { background: var(--pt-red); color: #fff; border-color: var(--pt-red); }
.pt-btn--primary:hover { background: var(--pt-red-2); }
.pt-btn--ghost { background: #fff; color: var(--pt-ink); border-color: var(--pt-line); }
.pt-btn--ghost:hover { border-color: var(--pt-red); color: var(--pt-red); }
.pt-btn--sm { padding: 7px 12px; font-size: 13px; }
.pt-empty { color: var(--pt-muted); padding: 60px 20px; text-align: center; background: var(--pt-bg); border-radius: var(--pt-radius); font-size: 15px; }
.pt-empty i { font-size: 44px; color: #cbd5e1; display: block; margin-bottom: 12px; }
.pt-empty p { margin: 0; }

.schedbar { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; margin-bottom: 18px; }
.schedbar__nav { display: flex; align-items: center; gap: 12px; }
.schedbar__nav b { font-size: 15px; color: var(--pt-navy); }
.schedbar__tools { display: flex; gap: 6px; align-items: center; flex-wrap: wrap; }
.schedbar__pick input { height: 34px; border: 1px solid var(--pt-line); border-radius: 6px; padding: 0 8px; font-size: 13px; font-family: inherit; }
.sched { display: flex; flex-direction: column; gap: 12px; }
.sched__day { display: grid; grid-template-columns: 160px 1fr; border: 1px solid var(--pt-line); border-radius: 12px; overflow: hidden; background: #fff; }
.sched__day.is-today { border-color: var(--pt-red); box-shadow: 0 0 0 3px rgba(200,16,46,.1); }
.sched__dh { background: var(--pt-bg); padding: 14px 16px; display: flex; flex-direction: column; border-right: 1px solid var(--pt-line); }
.sched__day.is-weekend .sched__dh b { color: var(--pt-muted); }
.sched__day.is-today .sched__dh { background: var(--pt-red); color: #fff; }
.sched__dh b { font-size: 15px; color: var(--pt-navy); }
.sched__day.is-today .sched__dh b { color: #fff; }
.sched__dh span { font-size: 13px; }
.sched__dh em { font-size: 11px; font-style: normal; background: var(--pt-gold); color: #3a2a00; padding: 2px 8px; border-radius: 10px; margin-top: 6px; align-self: flex-start; font-weight: 700; }
.sched__items { display: flex; flex-direction: column; }
.sched__none { padding: 14px 16px; color: var(--pt-muted); font-size: 13px; margin: 0; font-style: italic; }
.sched__it { display: flex; gap: 14px; padding: 13px 16px; border-bottom: 1px dashed var(--pt-line); }
.sched__it:last-child { border-bottom: 0; }
.sched__time { width: 56px; flex-shrink: 0; font-weight: 800; color: var(--pt-red); font-size: 14px; line-height: 1.4; display: flex; flex-direction: column; }
.sched__time small { font-weight: 500; color: var(--pt-muted); font-size: 12px; }
.sched__body b { font-size: 14.5px; color: var(--pt-ink); display: block; line-height: 1.45; }
.sched__meta { display: flex; flex-wrap: wrap; gap: 4px 14px; font-size: 13px; color: var(--pt-muted); margin-top: 4px; }
.sched__meta i { color: var(--pt-blue); margin-right: 3px; }
.sched__note { display: block; font-size: 12.5px; color: #92400e; margin-top: 4px; }

/* Trang trong cũ (style.css) chừa 84px trên cho header cố định trước đây; header mới
   không cố định nên thu lại cho khỏi hở khoảng trắng. */
.pt-body .breadcrumb { padding-top: 20px; }

/* ---------------------------------------------------------------------
   RESPONSIVE
   --------------------------------------------------------------------- */
@media (max-width: 1100px) {
    .hm-util--side { grid-template-columns: 300px minmax(0, 1fr); }
    .pt-nav__item > a { padding: 0 12px; font-size: 11.5px; }
    .pt-nav__item > a::after { left: 12px; right: 12px; }
    .hm-hero { grid-template-columns: 1fr 310px; }
    .hm-row2, .hm-row2--wide { grid-template-columns: 1fr 300px; gap: 22px; }
    .hm-grid4 { grid-template-columns: repeat(2, 1fr); }
    .hm-video { grid-template-columns: 1fr 1fr; }
    .hm-vid--big { grid-column: 1 / -1; }
    .hm-biz__item { flex-basis: calc((100% - 48px) / 4); }
    .hm-yt__grid { grid-template-columns: repeat(2, 1fr); }
    .hm-party__title h2 { font-size: 28px; }
    .hm-cols3 { gap: 20px; }
}

/* Tablet & mobile: menu thu gọn vào nút ba gạch, mở ngăn kéo bên trái */
@media (max-width: 991px) {
    .pt-topbar__right { display: none; }
    .pt-topbar__in { justify-content: center; min-height: 28px; }
    .pt-header__in { min-height: 70px; padding: 8px 0; gap: 12px; }
    .pt-brand { gap: 10px; }
    .pt-brand__emblem { width: 52px; height: 52px; }
    .pt-brand__l1, .pt-brand__l3 { font-size: 10px; letter-spacing: .6px; }
    .pt-brand__l2 { font-size: 17px; }
    .pt-search { display: none; }
    .pt-burger { width: 42px; height: 42px; border: 1px solid var(--pt-line); border-radius: 8px; }
    .pt-nav { position: static; box-shadow: none; border: 0; border-top: 3px solid var(--pt-red); }
    .pt-nav__in { height: 0; }
    .pt-nav__list { position: fixed; top: 0; left: 0; bottom: 0; width: 320px; max-width: 86vw; background: #fff; flex-direction: column; justify-content: flex-start; overflow-y: auto; z-index: 950; transform: translateX(-105%); transition: transform .3s ease; box-shadow: 0 0 40px rgba(0,0,0,.3); padding-bottom: 24px; }
    body.nav-open .pt-nav__list { transform: translateX(0); }
    body.nav-open .pt-nav__backdrop { display: block; }
    .pt-nav__mhead { display: flex; align-items: center; justify-content: space-between; padding: 14px 16px; background: var(--pt-red); color: #fff; font-weight: 800; font-size: 14px; text-transform: uppercase; position: sticky; top: 0; z-index: 2; }
    .pt-nav__mhead span { display: flex; align-items: center; gap: 10px; }
    .pt-nav__mhead img { width: 32px; height: 32px; }
    .pt-nav__mhead button { background: rgba(255,255,255,.15); border: 0; color: #fff; font-size: 18px; width: 34px; height: 34px; border-radius: 50%; cursor: pointer; }
    .pt-nav__item { flex-direction: row; flex-wrap: wrap; border-bottom: 1px solid var(--pt-line); }
    .pt-nav__item + .pt-nav__item::before { display: none; }
    .pt-nav__item > a { color: var(--pt-ink); padding: 14px 18px; flex: 1; text-transform: none; font-size: 15px; font-weight: 600; }
    .pt-nav__item > a::after { display: none; }
    .pt-nav__item.is-active > a { background: var(--pt-red-soft); color: var(--pt-red); }
    .pt-nav__sub-toggle { display: inline-flex; align-items: center; justify-content: center; width: 50px; border: 0; border-left: 1px solid var(--pt-line); background: transparent; color: var(--pt-muted); cursor: pointer; }
    .pt-nav__sub-toggle i { transition: transform .2s; }
    .pt-nav__item.is-expanded .pt-nav__sub-toggle i { transform: rotate(180deg); }
    .pt-nav__sub, .pt-nav__sub--wide { position: static; width: 100%; min-width: 0; box-shadow: none; border: 0; border-top: 1px solid var(--pt-line); background: var(--pt-bg); border-radius: 0; padding: 4px 0; display: none; opacity: 1; visibility: visible; transform: none; flex-basis: 100%; }
    .pt-nav__item.is-expanded .pt-nav__sub { display: block; }
    .pt-nav__sub li a { padding: 11px 18px 11px 30px; font-size: 14px; }
    .pt-nav__group { padding: 8px 18px 12px 30px; }
    .pt-nav__mega { display: none; grid-template-columns: 1fr; gap: 0; padding: 4px 0 8px; min-width: 0; max-width: none; width: 100%; transform: none; left: 0; }
    .pt-nav__item.is-expanded .pt-nav__mega { display: block; }
    .pt-nav__mcol b { padding: 10px 18px 6px 30px; border: 0; margin: 0; }
    .pt-nav__mcol a, .pt-nav__mcol span { padding: 9px 18px 9px 42px; border-radius: 0; }
    .pt-nav__gcols { grid-template-columns: 1fr; }
    .pt-nav__item--msearch { display: block; padding: 14px 16px; }
    .pt-nav__item--msearch form { display: flex; }
    .pt-nav__item--msearch input { flex: 1; min-width: 0; height: 42px; border: 1px solid var(--pt-line); border-radius: 8px 0 0 8px; padding: 0 12px; font-family: inherit; font-size: 14px; }
    .pt-nav__item--msearch button { width: 46px; border: 0; background: var(--pt-red); color: #fff; border-radius: 0 8px 8px 0; cursor: pointer; }
    .pt-nav__item--msocial { display: flex; flex-wrap: wrap; gap: 8px; padding: 6px 16px 0; border-bottom: 0; }
    .pt-nav__item--msocial a { display: inline-flex; align-items: center; gap: 7px; font-size: 13px; font-weight: 600; padding: 8px 12px; border: 1px solid var(--pt-line); border-radius: 999px; color: var(--pt-ink); }
    .pt-nav__item--msocial a i { color: var(--pt-red); }

    .hm { padding-top: 16px; }
    .hm-hero { grid-template-columns: 1fr; gap: 14px; }
    .hm-hero__main { aspect-ratio: 16 / 10; }
    .hm-hero__title { font-size: 19px; max-width: 100%; }
    .hm-hero__ex { display: none; }
    .hm-hero__cap { padding: 18px; }
    .hm-hero__nav { bottom: auto; top: 14px; right: 14px; }
    .hm-hero__side { flex-direction: row; gap: 10px; overflow-x: auto; scroll-snap-type: x mandatory; padding-bottom: 4px; scrollbar-width: none; }
    .hm-hero__side::-webkit-scrollbar { display: none; }
    .hm-snews { flex: 0 0 82%; scroll-snap-align: start; }
    .hm-quick { grid-template-columns: repeat(3, 1fr); gap: 10px; margin-top: 18px; }
    .hm-quick__item { padding: 14px 8px 12px; gap: 8px; }
    .hm-quick__ico { width: 42px; height: 42px; font-size: 16px; }
    .hm-quick__lbl { font-size: 12px; }
    .hm-party { padding: 24px 0 28px; margin-top: 26px; }
    .hm-party__head { grid-template-columns: 1fr; justify-items: center; gap: 12px; }
    .hm-party__spacer { display: none; }
    .hm-party__head .hm-btn { justify-self: center; }
    .hm-party__title h2 { font-size: 24px; }
    .hm-party__grid { grid-template-columns: 1fr; }
    .hm-party__cards { grid-template-columns: 1fr 1fr; grid-auto-rows: auto; gap: 10px; }
    .hm-pcard__img { flex: none; aspect-ratio: 16 / 10; }
    .hm-row2, .hm-row2--wide { grid-template-columns: 1fr; margin-top: 28px; }
    .hm-ct { grid-template-columns: 1fr; }
    .hm-sec { margin-top: 28px; }
    .hm-grid3 { grid-template-columns: repeat(2, 1fr); }
    .hm-cols3 { grid-template-columns: 1fr; gap: 26px; }
    .hm-legal__grid { grid-template-columns: 1fr; }
    .hm-legal__cats { grid-template-columns: repeat(3, 1fr); }
    .hm-util, .hm-util--side { grid-template-columns: 1fr; }
    .hm-video { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hm-biz { padding: 0 40px; }
    .hm-biz__item { flex-basis: calc((100% - 32px) / 3); }
    .hm-slogan__script { font-size: 42px; }
    .hm-slogan__text { font-size: 15px; letter-spacing: 1.2px; }
    .pt-footer__grid { grid-template-columns: 1fr 1fr; gap: 28px; }
    .pt-footer::before { width: 360px; height: 150px; opacity: .3; }
    .sched__day { grid-template-columns: 140px 1fr; }
}

@media (max-width: 640px) {
    .pt-topbar { font-size: 11px; }
    .pt-brand__emblem { width: 46px; height: 46px; }
    .pt-brand__l2 { font-size: 15px; }
    .pt-brand__l1, .pt-brand__l3 { font-size: 9px; letter-spacing: .4px; }
    .hm-sechead h2 { font-size: 14.5px; }
    .hm-hero__main { aspect-ratio: 4 / 3.3; border-radius: 8px; }
    .hm-hero__title { font-size: 17px; }
    .hm-quick { grid-template-columns: repeat(3, 1fr); gap: 8px; }
    .hm-quick__lbl { font-size: 11.5px; }
    .hm-party__title h2 { font-size: 20px; }
    .hm-pcard__lbl { font-size: 10.5px; padding: 8px 8px 8px 10px; }
    .hm-grid4, .hm-grid3 { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hm-card b { font-size: 13px; }
    .hm-item__img { width: 100px; height: 70px; }
    .hm-video { grid-template-columns: 1fr; }
    .hm-yt__grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .hm-biz { padding: 0 36px; }
    .hm-biz__item { flex-basis: calc((100% - 16px) / 2); }
    .hm-legal__cats { grid-template-columns: 1fr 1fr; gap: 8px; }
    .hm-legal__cats a { min-height: 0; padding: 12px; }
    .hm-legal__title h2 { font-size: 17px; }
    .hm-legal__posts { grid-template-columns: 1fr; }
    .hm-slogan { margin-top: 34px; min-height: 140px; }
    .hm-slogan__script { font-size: 36px; }
    .hm-slogan__text { font-size: 12.5px; letter-spacing: 1px; }
    .pt-footer__main { padding: 32px 0 24px; }
    .pt-footer__grid { grid-template-columns: 1fr; gap: 24px; }
    .pt-footer__bottom-in { flex-direction: column; text-align: center; }
    .pt-footer__bnav { justify-content: center; }
    .pt-pagehead h1 { font-size: 21px; }
    .pt-pagehead__stat { min-width: 0; padding: 6px 14px; display: inline-flex; align-items: baseline; gap: 6px; }
    .pt-pagehead__stat b { font-size: 18px; }
    .schedbar__nav .pt-btn span { display: none; }
    .sched__day { grid-template-columns: 1fr; }
    .sched__dh { flex-direction: row; gap: 8px; align-items: center; border-right: 0; border-bottom: 1px solid var(--pt-line); padding: 10px 14px; }
    .sched__dh em { margin-top: 0; margin-left: auto; }
}

@media print {
    .pt-topbar, .pt-header, .pt-nav, .pt-footer, #scTop, .schedbar__tools, .flash-message, .tt-popup { display: none !important; }
}

/* ---------------------------------------------------------------------
   THƯ VIỆN ẢNH (trang danh sách album + trang album) & LIGHTBOX
   --------------------------------------------------------------------- */
.pt-pagehead__stat { text-align: center; padding: 8px 18px; background: var(--pt-red-soft); border-radius: 10px; min-width: 96px; }
.pt-pagehead__stat b { display: block; font-size: 24px; color: var(--pt-red); line-height: 1; }
.pt-pagehead__stat span { font-size: 12px; color: var(--pt-muted); }
.gal-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 220px; gap: 16px; }
.gal-grid--small { grid-auto-rows: 170px; grid-template-columns: repeat(6, 1fr); }
.gal-album { position: relative; display: block; border-radius: 12px; overflow: hidden; background: var(--pt-navy); }
.gal-album--big { grid-column: span 2; grid-row: span 2; }
.gal-album img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.gal-album:hover img { transform: scale(1.06); }
.gal-album__count { position: absolute; top: 12px; right: 12px; z-index: 2; background: rgba(0,0,0,.55); color: #fff; font-size: 12px; font-weight: 600; padding: 4px 10px; border-radius: 999px; backdrop-filter: blur(4px); }
.gal-album__cap { position: absolute; left: 0; right: 0; bottom: 0; padding: 40px 16px 14px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.8)); color: #fff; display: flex; flex-direction: column; gap: 4px; }
.gal-album__cap b { font-size: 15px; font-weight: 700; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gal-album--big .gal-album__cap b { font-size: 20px; }
.gal-album__cap time { color: rgba(255,255,255,.8); font-size: 12px; }
.gal-mosaic { columns: 4; column-gap: 14px; }
.gal-photo { position: relative; display: block; break-inside: avoid; margin-bottom: 14px; border-radius: 10px; overflow: hidden; background: var(--pt-bg); cursor: zoom-in; }
.gal-photo img { width: 100%; height: auto; display: block; transition: transform .5s; }
.gal-photo:hover img { transform: scale(1.04); }
.gal-photo__zoom { position: absolute; inset: 0; display: flex; align-items: center; justify-content: center; color: #fff; font-size: 26px; background: rgba(10,14,22,.35); opacity: 0; transition: opacity .2s; }
.gal-photo:hover .gal-photo__zoom { opacity: 1; }
.gal-others { margin-top: 40px; }
.pt-lb { position: fixed; inset: 0; z-index: 10000; background: rgba(8,10,16,.94); display: none; align-items: center; justify-content: center; flex-direction: column; }
.pt-lb.is-open { display: flex; }
.pt-lb__img { max-width: 92vw; max-height: 82vh; object-fit: contain; border-radius: 6px; box-shadow: 0 20px 60px rgba(0,0,0,.6); }
.pt-lb__cap { color: #fff; font-size: 14px; margin-top: 14px; text-align: center; max-width: 80vw; opacity: .9; }
.pt-lb__btn { position: absolute; width: 48px; height: 48px; border-radius: 50%; border: 0; background: rgba(255,255,255,.14); color: #fff; font-size: 18px; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .2s; }
.pt-lb__btn:hover { background: var(--pt-red); }
.pt-lb__close { top: 18px; right: 18px; }
.pt-lb__prev { left: 18px; top: 50%; transform: translateY(-50%); }
.pt-lb__next { right: 18px; top: 50%; transform: translateY(-50%); }
.pt-lb__count { position: absolute; top: 26px; left: 24px; color: #fff; font-size: 14px; opacity: .85; }
.pt-footer__dev { font-size: 12px; }
.pt-footer__dev a { color: var(--pt-gold); font-weight: 600; }
.pt-footer__dev a:hover { text-decoration: underline; }
@media (max-width: 1100px) {
    .hm-albums { grid-template-columns: repeat(2, 1fr); }
    .gal-grid { grid-template-columns: repeat(3, 1fr); grid-auto-rows: 200px; }
    .gal-grid--small { grid-template-columns: repeat(3, 1fr); }
    .gal-mosaic { columns: 3; }
    .hm-party__title h2 { font-size: 22px; white-space: normal; }
}
@media (max-width: 991px) {
    .hm-party { padding: 20px 0 28px; background-size: auto 100%; }
    .hm-party__head { min-height: 0; margin-bottom: 14px; }
    /* Mẫu A: dải băng đỏ viền vàng kim */
    .hm-party__title { width: 100%; padding: 14px 16px 12px; gap: 0; background: linear-gradient(135deg, #8a0f22, #c8102e); border: 1.5px solid #f3d27a; border-radius: 6px; box-shadow: 0 10px 26px rgba(90,9,20,.35), inset 0 0 0 4px #c8102e, inset 0 0 0 5px rgba(243,210,122,.55); }
    .hm-party__title h2 { color: #fff; text-shadow: 0 2px 6px rgba(0,0,0,.35); letter-spacing: .3px; line-height: 1.2; }
    .hm-party__title > span:last-child { color: #f3d27a; text-shadow: none; font-family: 'Be Vietnam Pro', sans-serif; font-weight: 700; }
    .hm-party__orn { display: flex; align-items: center; justify-content: center; gap: 8px; margin: 8px 0 6px; }
    .hm-party__orn i { height: 1px; width: 34px; background: linear-gradient(90deg, transparent, #f3d27a, transparent); }
    .hm-party__orn b { width: 6px; height: 6px; background: #f3d27a; transform: rotate(45deg); }
    .hm-party { background-size: auto 100%; background-position: left top; }
    .hm-party__grid { grid-template-columns: 1fr; }
    .hm-party__list { gap: 10px; }
    .hm-snews__img { width: 100px; height: 70px; }
    .hm-weather__temp { font-size: 34px; }
    .hm-places { padding: 14px; }
    .hm-places__head small { display: none; }
    .hm-places__tabs { margin: 0 -14px 12px; padding: 0 14px 2px; }
    .gal-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .gal-grid--small { grid-template-columns: repeat(2, 1fr); }
    .gal-mosaic { columns: 2; }
}
@media (max-width: 640px) {
    .hm-albums { gap: 10px; }
    .hm-party__title h2 { font-size: 19px; }
    .hm-party__title > span:last-child { font-size: 10.5px; letter-spacing: 2px; }
    .hm-party__cap b { font-size: 14px; }
    .hm-party__cap { padding: 30px 12px 22px; }
    .hm-pitem__img { width: 88px; height: 62px; }
    .hm-pitem b { font-size: 13px; -webkit-line-clamp: 2; }
    .gal-grid { grid-auto-rows: 150px; gap: 10px; }
    .gal-album--big { grid-column: span 2; grid-row: span 1; }
    .pt-lb__btn { width: 40px; height: 40px; }
    .pt-lb__prev { left: 8px; } .pt-lb__next { right: 8px; }
    .pt-footer__bottom-in { gap: 6px; }
}

/* ---------------------------------------------------------------------
   TIN TỨC: danh sách chung / chuyên mục, widget cột phải (dùng cả ở bài viết)
   --------------------------------------------------------------------- */
.nw-head { padding: 4px 0 0; margin-bottom: 6px; }
.nw-head__row { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.nw-head h1 { font-size: 30px; font-weight: 800; color: var(--pt-ink); margin: 0; letter-spacing: -.2px; position: relative; padding-left: 16px; line-height: 1.2; }
.nw-head h1::before { content: ''; position: absolute; left: 0; top: 4px; bottom: 4px; width: 5px; border-radius: 3px; background: var(--pt-red); }
.nw-head__count { font-size: 13px; color: var(--pt-muted); display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.nw-head__count i { color: var(--pt-red); }
.nw-head__count b { color: var(--pt-ink); font-size: 15px; }
.nw-head p { margin: 8px 0 0 16px; color: var(--pt-muted); font-size: 14px; line-height: 1.6; max-width: 820px; }
.nw-tabs { position: relative; margin: 16px 0 24px; border-bottom: 1px solid var(--pt-line); }
.nw-tabs__track { display: flex; flex-wrap: wrap; gap: 2px; margin-bottom: -1px; }
.nw-tabs__track::-webkit-scrollbar { display: none; }
.nw-tabs__track a { flex: 0 0 auto; padding: 11px 14px; font-size: 12.5px; font-weight: 700; text-transform: uppercase; letter-spacing: .2px; color: var(--pt-text); border-bottom: 3px solid transparent; white-space: nowrap; transition: color .15s, border-color .15s; }
.nw-tabs__track a:hover { color: var(--pt-red); }
.nw-tabs__track a.is-active { color: var(--pt-red); border-bottom-color: var(--pt-red); }
.nw-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: -4px 0 22px; }
.nw-chips a { padding: 7px 14px; border-radius: 999px; border: 1px solid var(--pt-line); background: #fff; font-size: 13px; font-weight: 600; color: var(--pt-text); transition: all .2s; }
.nw-chips a:hover { border-color: var(--pt-red); color: var(--pt-red); }
.nw-chips a.is-active { background: var(--pt-red); border-color: var(--pt-red); color: #fff; }
.nw-layout { display: grid; grid-template-columns: minmax(0, 1fr) 320px; gap: 30px; align-items: start; }
.nw-main { min-width: 0; }
.nw-side { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.nw-meta { display: flex; gap: 14px; font-size: 12px; color: var(--pt-muted); }
.nw-meta i { margin-right: 4px; }
.nw-lead { display: grid; grid-template-columns: 1.25fr 1fr; gap: 22px; background: #fff; border: 1px solid var(--pt-line); border-radius: 12px; overflow: hidden; margin-bottom: 22px; transition: box-shadow .2s; }
.nw-lead:hover { box-shadow: var(--pt-shadow); }
.nw-lead__img { aspect-ratio: 16 / 10; overflow: hidden; background: var(--pt-bg); }
.nw-lead__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.nw-lead:hover img { transform: scale(1.04); }
.nw-lead__body { display: flex; flex-direction: column; justify-content: center; align-items: flex-start; gap: 10px; padding: 20px 22px 20px 0; }
.nw-lead__body h2 { font-size: 21px; font-weight: 800; line-height: 1.35; color: var(--pt-ink); margin: 0; }
.nw-lead:hover h2 { color: var(--pt-red); }
.nw-lead__body p { font-size: 13.5px; line-height: 1.65; color: var(--pt-text); margin: 0; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; }
.nw-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.nw-card { display: flex; flex-direction: column; background: #fff; border: 1px solid var(--pt-line); border-radius: 10px; overflow: hidden; transition: all .2s; }
.nw-card:hover { transform: translateY(-3px); box-shadow: var(--pt-shadow); border-color: transparent; }
.nw-card__img { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: var(--pt-bg); }
.nw-card__img img { width: 100%; height: 100%; object-fit: cover; transition: transform .45s; }
.nw-card:hover img { transform: scale(1.05); }
.nw-card__cat { position: absolute; left: 10px; top: 10px; background: var(--pt-red); color: #fff; font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .4px; padding: 4px 9px; border-radius: 4px; }
.nw-card__body { display: flex; flex-direction: column; gap: 7px; padding: 12px 14px 14px; flex: 1; }
.nw-card__body h3 { font-size: 14.5px; font-weight: 700; line-height: 1.45; margin: 0; color: var(--pt-ink); display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.nw-card:hover h3 { color: var(--pt-red); }
.nw-card__body p { font-size: 12.5px; line-height: 1.55; color: var(--pt-muted); margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-card .nw-meta { margin-top: auto; padding-top: 4px; }
.nw-loader { text-align: center; color: var(--pt-muted); font-size: 13px; padding: 22px 0 6px; }
.nw-search { display: flex; height: 44px; background: #fff; border: 1px solid var(--pt-line); border-radius: 999px; padding: 3px 3px 3px 16px; }
.nw-search:focus-within { border-color: var(--pt-red); box-shadow: 0 0 0 3px rgba(200,16,46,.1); }
.nw-search input { flex: 1; min-width: 0; border: 0; background: transparent; font-family: inherit; font-size: 13.5px; outline: none; }
.nw-search button { width: 36px; height: 36px; border-radius: 50%; border: 0; background: var(--pt-red); color: #fff; cursor: pointer; }
.nw-widget { background: #fff; border: 1px solid var(--pt-line); border-radius: 10px; padding: 16px 18px; }
.nw-widget__head { display: flex; align-items: center; gap: 9px; font-size: 14px; font-weight: 800; text-transform: uppercase; color: var(--pt-ink); margin: 0 0 12px; padding-bottom: 10px; border-bottom: 1px solid var(--pt-line); }
.nw-widget .hm-item__img { width: 92px; height: 64px; }
.nw-widget .hm-item__body b { font-size: 13px; }
.nw-cats { list-style: none; margin: 0; padding: 0; }
.nw-cats li a { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 9px 2px; border-bottom: 1px dashed var(--pt-line); font-size: 13.5px; font-weight: 500; color: var(--pt-ink); transition: all .15s; }
.nw-cats li:last-child a { border-bottom: 0; }
.nw-cats li a:hover, .nw-cats li.is-active a { color: var(--pt-red); padding-left: 6px; }
.nw-cats li a b { font-size: 11.5px; font-weight: 700; background: var(--pt-bg); color: var(--pt-muted); padding: 2px 8px; border-radius: 999px; }
.nw-cats li.is-active a b { background: var(--pt-red); color: #fff; }
.nw-cats li a i { font-size: 10px; color: var(--pt-muted); }
.nw-rank { list-style: none; margin: 0; padding: 0; counter-reset: none; }
.nw-rank li a { display: flex; gap: 12px; padding: 9px 0; border-bottom: 1px dashed var(--pt-line); align-items: flex-start; }
.nw-rank li:last-child a { border-bottom: 0; }
.nw-rank__n { width: 28px; height: 28px; flex-shrink: 0; border-radius: 8px; background: var(--pt-bg); color: var(--pt-muted); font-weight: 800; font-size: 13px; display: inline-flex; align-items: center; justify-content: center; }
.nw-rank li:nth-child(-n+3) .nw-rank__n { background: var(--pt-red); color: #fff; }
.nw-rank__t { display: flex; flex-direction: column; gap: 3px; min-width: 0; }
.nw-rank__t b { font-size: 13px; font-weight: 600; line-height: 1.45; color: var(--pt-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.nw-rank li a:hover b { color: var(--pt-red); }
.nw-rank__t small { font-size: 11.5px; color: var(--pt-muted); }
.nw-banner { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--pt-line); }
.nw-banner img { width: 100%; }

/* Bài viết chi tiết: nhãn chuyên mục, thẻ, bài trước/sau */
.pt-body .post-cats { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 12px; }
.pt-body a.post-cat-badge:hover { opacity: .85; }
.pt-body .post-tags { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin: 22px 0 6px; font-size: 13px; }
.pt-body .post-tags i { color: var(--pt-muted); }
.pt-body .post-tags a { padding: 5px 12px; border-radius: 999px; background: var(--pt-bg); border: 1px solid var(--pt-line); color: var(--pt-text); font-weight: 600; font-size: 12.5px; }
.pt-body .post-tags a:hover { background: var(--pt-red); border-color: var(--pt-red); color: #fff; }
.pt-body .post-nav { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 22px; }
.pt-body .post-nav__item { display: flex; flex-direction: column; gap: 5px; padding: 14px 16px; border: 1px solid var(--pt-line); border-radius: 10px; background: #fff; transition: all .2s; }
.pt-body .post-nav__item:hover { border-color: var(--pt-red); box-shadow: var(--pt-shadow-sm); }
.pt-body .post-nav__item--next { text-align: right; align-items: flex-end; }
.pt-body .post-nav__item small { font-size: 12px; color: var(--pt-muted); font-weight: 600; text-transform: uppercase; letter-spacing: .3px; }
.pt-body .post-nav__item b { font-size: 14px; line-height: 1.4; color: var(--pt-ink); display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.pt-body .post-nav__item:hover b { color: var(--pt-red); }
.pt-body .post-detail-layout { grid-template-columns: 52px minmax(0, 1fr) 320px; }
.pt-body .post-detail-main { min-width: 0; }
.pt-body .post-detail-aside { min-width: 0; }
.pt-body .content-body img, .pt-body .content-body video, .pt-body .content-body iframe, .pt-body .content-body table { max-width: 100%; }
.pt-body .content-body table { display: block; overflow-x: auto; }
@media (max-width: 1100px) {
    .pt-body .post-detail-layout { grid-template-columns: minmax(0, 1fr) 300px; gap: 22px; }
    .pt-body .post-share-sidebar { display: none; }
    .nw-layout { grid-template-columns: minmax(0, 1fr) 290px; gap: 22px; }
    .nw-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 991px) {
    .pt-body .post-detail-layout { grid-template-columns: 1fr; gap: 26px; }
    .pt-body .post-detail-title { font-size: 24px; }
    .pt-body .post-bottom-box { grid-template-columns: 1fr; padding: 18px; }
    .nw-layout { grid-template-columns: 1fr; }
    .nw-lead { grid-template-columns: 1fr; }
    .nw-lead__body { padding: 0 18px 18px; }
    .nw-lead__body h2 { font-size: 18px; }
}
@media (max-width: 640px) {
    .nw-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .nw-card__body { padding: 10px 11px 12px; }
    .nw-card__body h3 { font-size: 13.5px; }
    .nw-card__body p { display: none; }
    .nw-head h1 { font-size: 22px; }
    .nw-tabs { margin: 12px -16px 18px; padding: 0 16px; }
    .nw-tabs__track { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; -webkit-overflow-scrolling: touch; }
    .nw-tabs__track::-webkit-scrollbar { display: none; }
    .nw-tabs__track a { padding: 10px 11px; font-size: 12px; }
    .nw-chips { gap: 6px; margin-bottom: 16px; }
    .nw-chips a { padding: 6px 11px; font-size: 12px; }
    .pt-body .post-nav { grid-template-columns: 1fr; }
    .pt-body .post-detail-title { font-size: 21px; }
    .pt-body .post-detail-meta { gap: 8px; }
    .pt-body .post-detail-meta__stats { flex-wrap: wrap; gap: 8px 12px; }
    .pt-body .post-share-bar { flex-wrap: wrap; }
    .pt-body .post-font-toolbar { flex-wrap: wrap; }
    .pt-body .post-featured-img img { max-height: 260px; }
    .pt-body .post-cats { gap: 5px; }
    .pt-body .post-cat-badge { font-size: 11px; }
    .pt-body .post-bottom-box__share-btns { flex-wrap: wrap; gap: 8px; }
    .pt-body .post-nav__item--next { text-align: left; align-items: flex-start; }
}
