/* Chân trang chung cho các module dạng trang riêng (Đào tạo & NCKH, Nội bộ, Giao ban…).
   Dùng qua hàm nv_chan_trang_rieng() trong includes/chan_trang_rieng.php; Giao ban dựng cùng lớp trong gb2.js.
   Đợt 81 (18/11/2026, bác sĩ yêu cầu): gọn hơn — một dải mảnh: tên bệnh viện · lối tắt dạng chữ · ©.
   Bỏ logo, dòng phụ, cơ quan chủ quản; điện thoại không còn 4 nút lớn. */
.ct-foot { margin-top: 16px; background: #143f6b; color: rgba(255, 255, 255, .78); font-size: 13.5px; line-height: 1.4; }
.ct-foot *, .ct-foot *::before, .ct-foot *::after { box-sizing: border-box; }
.ct-foot-in { display: flex; flex-wrap: wrap; align-items: center; gap: 4px 20px; max-width: 1520px; margin: 0 auto; padding: 8px 24px; }
.ct-foot-b { display: flex; align-items: center; min-width: 0; }
.ct-foot-b img, .ct-foot-b span { display: none; }
.ct-foot-b b { display: block; color: #fff; font-size: 13.5px; font-weight: 600; line-height: 1.3; }
.ct-foot-l { display: flex; flex-wrap: wrap; margin-left: auto; }
.ct-foot-l a { padding: 2px 10px; border-left: 1px solid rgba(255, 255, 255, .22); color: rgba(255, 255, 255, .9); font-weight: 400; text-decoration: none; }
.ct-foot-l a:first-child { border-left: 0; }
.ct-foot-l a:hover, .ct-foot-l a:focus { color: #fff; text-decoration: underline; text-underline-offset: 3px; }
.ct-foot a:focus-visible { outline: 2px solid #fff; outline-offset: 2px; }
.ct-foot-c { color: rgba(255, 255, 255, .7); font-size: 13px; white-space: nowrap; }
.ct-foot-c span { display: none; }
.ct-foot-n { max-width: 1472px; margin: 0 24px; padding: 4px 0 8px; color: rgba(255, 255, 255, .6); font-size: 13px; text-align: center; }
.ct-foot-n i { margin-right: 4px; }
@media (min-width: 1521px) { .ct-foot-n { margin: 0 auto; } }
/* Điện thoại, máy bảng dọc (≤ 899px): căn giữa, lối tắt dạng chữ nối bằng dấu chấm; chữ tối thiểu 16px, vùng bấm đủ cao (DESIGN_NOIBO.md) */
@media (max-width: 899px) {
    .ct-foot { margin-top: 16px; font-size: 16px; line-height: 1.5; }
    /* Dòng 1: tên bệnh viện · © năm; dòng 2: lối tắt dạng chữ; dòng 3: ghi chú — các dòng cách đều, đệm mỏng (bác sĩ 19/11: hài hòa, tiết kiệm) */
    .ct-foot-in { justify-content: center; gap: 0 6px; padding: 7px 16px 0; text-align: center; }
    .ct-foot-b b, .ct-foot-c { padding: 3px 0; font-size: 16px; line-height: 1.5; }
    .ct-foot-c { order: 2; white-space: normal; }
    .ct-foot-c::before { content: "·"; margin-right: 6px; }
    .ct-foot-l { order: 3; width: 100%; justify-content: center; gap: 0 14px; margin: 0; }
    .ct-foot-l a, .ct-foot-l a:first-child { display: inline-block; padding: 3px 2px; border: 0; font-size: 16px; line-height: 1.5; }
    .ct-foot-n { margin: 0 16px; padding: 0 0 10px; font-size: 14px; line-height: 1.5; }
    .ct-foot-in:last-child { padding-bottom: 10px; }
}
@media print { .ct-foot { display: none !important; } }
