/* ===== RESET & BASE ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ===== 2026 PATIENT PORTAL ENHANCEMENTS ===== */
:root { --brand-900:#073b5c; --brand-700:#006699; --brand-500:#008ec6; --brand-100:#eaf7fc; --ink:#152936; --muted:#5e6f79; --line:#d9e7ed; --danger:#b42318; --success:#087443; --shadow-soft:0 16px 36px rgba(10,72,99,.12); }
html { scroll-behavior:smooth; }
body { color:var(--ink); background:linear-gradient(180deg,#effaff 0,#f7fafb 420px,#f4f7f8 100%); }
body, button, input, select, textarea { font-family:'Roboto','Segoe UI',Arial,sans-serif; }
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible { outline:3px solid #ffbf47; outline-offset:3px; }
.site-banner { background:linear-gradient(118deg,rgba(1,70,105,.97),rgba(0,118,165,.91)),url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1?w=1600&auto=format&fit=crop'); background-blend-mode:multiply; }
.section-nav { background:var(--brand-900); border-bottom:0; box-shadow:0 4px 14px rgba(2,52,79,.19); }
.navbar-nav > li > a { padding:14px 15px; letter-spacing:.01em; }
.navbar-nav > li > a:hover, .navbar-nav > li:hover > a { background:rgba(255,255,255,.13); }
.third-nav { background:rgba(255,255,255,.92); border:0; box-shadow:0 6px 18px rgba(15,62,82,.07); }
.section-body { padding-top:20px; }
.panel { border:1px solid var(--line); border-radius:10px; box-shadow:0 5px 16px rgba(15,62,82,.06); overflow:hidden; }
.panel-default .panel-heading { background:linear-gradient(90deg,#f7fcfe,#fff); border-bottom-color:var(--brand-500); }
.panel-primary .panel-heading { background:linear-gradient(100deg,var(--brand-900),var(--brand-700)); }
.btn, .btn-submit, .btn-print { border-radius:7px; }
.btn-primary, .btn-print { background:var(--brand-700); }
.btn-primary:hover, .btn-print:hover { background:var(--brand-900); }
.slider-container { border-radius:12px; box-shadow:var(--shadow-soft); }
.slider-slide img { height:335px; }
.slider-caption { padding:14px 20px; background:linear-gradient(90deg,rgba(1,31,47,.86),rgba(1,31,47,.48)); }
.section-footer-top { background:var(--brand-900); color:#d9edf5; margin-top:28px; }
.section-footer-bottom { background:#052b43; }
.skip-link { position:fixed; left:14px; top:12px; z-index:5000; padding:10px 14px; border-radius:6px; background:#fff; color:var(--brand-900); font-weight:700; transform:translateY(-200%); box-shadow:var(--shadow-soft); }
.skip-link:focus { transform:translateY(0); }
.portal-notices { position:fixed; z-index:4000; right:18px; bottom:20px; display:grid; gap:10px; max-width:min(400px,calc(100vw - 30px)); }
.portal-notice { display:flex; align-items:flex-start; gap:15px; padding:13px 13px 13px 16px; background:#fff; border-left:5px solid var(--brand-500); border-radius:8px; box-shadow:0 18px 40px rgba(1,36,56,.24); color:var(--ink); font-size:14px; animation:portal-slide-in .24s ease-out; }
.portal-notice.success { border-left-color:var(--success); } .portal-notice.warning { border-left-color:#c67a00; }
.portal-notice button, .portal-close { appearance:none; border:0; background:transparent; color:#47616e; font:inherit; font-size:24px; line-height:1; cursor:pointer; margin-left:auto; }
@keyframes portal-slide-in { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.portal-dialog-backdrop { display:none; position:fixed; z-index:3000; inset:0; padding:20px; background:rgba(2,30,44,.66); align-items:center; justify-content:center; }
.portal-dialog-backdrop.active { display:flex; }
.portal-dialog { position:relative; width:min(650px,100%); max-height:80vh; overflow:auto; padding:30px; border-radius:14px; background:#fff; box-shadow:0 28px 70px rgba(0,0,0,.28); }
.portal-dialog h2 { margin:0 30px 14px 0; color:var(--brand-900); font-size:22px; }
.portal-close { position:absolute; top:15px; right:17px; }
.portal-eyebrow { margin:0 0 5px; color:var(--brand-700); font-weight:700; font-size:12px; letter-spacing:.1em; }
.portal-search-results { margin:18px 0 0; list-style:none; }.portal-search-results li { border-top:1px solid var(--line); }.portal-search-results a { display:block; padding:12px 0; color:var(--brand-900); font-weight:600; text-decoration:none; }.portal-search-results a:hover { color:var(--brand-500); text-decoration:none; }
.portal-empty, .portal-subtle { color:var(--muted); line-height:1.6; }
.modal-content { border-radius:14px; box-shadow:0 25px 55px rgba(0,0,0,.25); }.booking-number { color:var(--brand-900); background:var(--brand-100); border-color:var(--brand-500); }.booking-summary { margin:-3px auto 14px; color:var(--muted); font-size:14px; }.modal .portal-subtle { margin:14px 0 0; font-size:12px; }
.crisis-support { display:grid; gap:7px; margin:0 0 22px; padding:16px 18px; border:1px solid #f2b8b5; border-left:5px solid var(--danger); border-radius:8px; background:#fff8f7; color:#61211c; text-align:left; line-height:1.55; }.crisis-support strong { font-size:16px; }.crisis-support a { color:#8e120b; font-weight:800; }
.portal-page { min-height:56vh; }.portal-hero { margin-bottom:24px; padding:36px; border-radius:14px; background:linear-gradient(115deg,var(--brand-900),var(--brand-500)); color:#fff; box-shadow:var(--shadow-soft); }.portal-hero h1 { margin:0 0 9px; font-size:clamp(25px,4vw,36px); }.portal-hero p { margin:0; max-width:670px; color:#d9f5ff; font-size:16px; }.portal-card { max-width:760px; padding:28px; border:1px solid var(--line); border-radius:12px; background:#fff; box-shadow:0 8px 22px rgba(15,62,82,.08); }.portal-card h2 { color:var(--brand-900); margin:0 0 8px; }.portal-card .form-group { margin-bottom:18px; }.portal-result { margin-top:24px; padding:20px; border:1px solid var(--line); border-radius:10px; background:#f9fcfd; }.portal-result.error { border-left:5px solid #c67a00; }.portal-result.success { border-left:5px solid var(--success); }.portal-result h2 { margin:0 0 14px; color:var(--brand-900); }.portal-result dl { display:grid; grid-template-columns:minmax(135px,1fr) 2fr; gap:10px 16px; margin:0; }.portal-result dt { color:var(--muted); font-weight:700; }.portal-result dd { margin:0; }
@media (max-width:780px) { body { font-size:15px; } header,#header { min-height:158px; } #header { padding-top:18px; padding-bottom:18px; } .site-banner { height:158px; } .logo img,.logo svg { width:61px; height:61px; } .logo .site_name { font-size:18px; } .logo .site_description { font-size:13px; } .navbar-toggle { display:block; float:none; margin:8px 0; } .navbar-collapse { display:none; clear:both; } .navbar-collapse.active { display:block; } .navbar-nav { display:block; padding-bottom:8px; } .navbar-nav > li > a { padding:12px 14px; } .dropdown-menu { display:none !important; position:static; min-width:0; border-width:1px; } .third-nav .col-md-18,.third-nav .col-md-6 { width:100%; }.current-time { line-height:24px; }.headerSearch { text-align:left; margin-top:8px; }.headerSearch .input-group { float:none; max-width:none; } [class*="col-"] { float:none; width:100%; padding:0 10px; }.row { margin-left:-10px; margin-right:-10px; } #hot-news .panel-body .row { display:block; }.slider-slide img { height:220px; }.slider-caption { font-size:13px; padding:9px 42px 10px 12px; }.slider-dots { bottom:48px; }.section-body { padding-top:14px; }.hero-banner,.portal-hero { padding:27px 18px; }.hero-banner h1 { font-size:22px; }.dk-container { padding:20px !important; }.portal-dialog { padding:24px 20px; }.portal-card { padding:21px; }.portal-result dl { grid-template-columns:1fr; gap:3px; }.portal-result dd { margin-bottom:10px; } }

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    color: #333;
    background-color: #f5f5f5;
}

a {
    color: #006699;
    text-decoration: none;
}

a:hover {
    color: #004466;
    text-decoration: underline;
}

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

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.clearfix::after {
    content: "";
    display: table;
    clear: both;
}

/* ===== WRAPPER ===== */
.wraper {
    width: 1080px;
    margin: 0 auto;
    position: relative;
}

.container {
    width: 100%;
}

.row {
    margin-left: -10px;
    margin-right: -10px;
    overflow: hidden;
}

.row::after {
    content: "";
    display: table;
    clear: both;
}

/* Ép layout chính: cột trái 75% + sidebar phải 25% (luôn đứng cạnh nhau) */
.main-content-row {
    display: flex;
    flex-wrap: wrap;
    align-items: flex-start;
    overflow: visible;
}
.main-content-row > .col-md-18 {
    flex: 0 0 75%;
    max-width: 75%;
    float: none;
}
.main-content-row > .col-md-6.sidebar {
    flex: 0 0 25%;
    max-width: 25%;
    float: none;
}
/* An toàn: không để nội dung cột trái đẩy sidebar rơi xuống dưới */
.main-content-row > .col-md-18 { min-width: 0; }
.main-content-row > .col-md-18 img,
.main-content-row > .col-md-18 .expert-carousel { max-width: 100%; }
@media (max-width: 768px) {
    .main-content-row { display: block; }
    .main-content-row > .col-md-18,
    .main-content-row > .col-md-6.sidebar {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ===== GRID ===== */
[class*="col-"] {
    float: left;
    padding: 0 10px;
}

.col-md-24 { width: 100%; }
.col-md-18 { width: 75%; }
.col-md-16 { width: 66.666%; }
.col-md-14 { width: 58.333%; }
.col-md-12 { width: 50%; }
.col-md-10 { width: 41.666%; }
.col-md-8 { width: 33.333%; }
.col-md-6 { width: 25%; }

/* ===== HEADER / BANNER ===== */
.site-banner {
    width: 1080px;
    height: 190px;
    position: absolute;
    left: 50%;
    margin: 0 0 0 -540px;
    background: linear-gradient(135deg, #004466 0%, #006699 30%, #0099cc 60%, #00bcd4 100%);
    background-size: cover;
    background-position: center;
}

.section-header {
    position: relative;
    z-index: 10;
}

header {
    position: relative;
    min-height: 190px;
}

#header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    min-height: 190px;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
}

.logo img {
    height: 80px;
    width: auto;
}

.logo .site_name {
    display: block;
    font-size: 22px;
    font-weight: bold;
    color: #fff;
    text-transform: uppercase;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
    letter-spacing: 1px;
}

.logo .site_description {
    display: block;
    font-size: 15px;
    color: #e0f7fa;
    font-style: italic;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.4);
}

.logo a {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

/* ===== NAVIGATION ===== */
.section-nav {
    background: #006699;
    border-bottom: 3px solid #004466;
    position: relative;
    z-index: 100;
}

.section-nav .bg {
    background: transparent;
}

.navbar {
    margin-bottom: 0;
    border: none;
    min-height: auto;
}

.navbar-nav {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
}

.navbar-nav > li {
    position: relative;
}

.navbar-nav > li > a {
    display: block;
    padding: 12px 14px;
    color: #fff;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.navbar-nav > li > a:hover,
.navbar-nav > li:hover > a {
    background: #004d80;
    color: #fff;
    text-decoration: none;
}

.navbar-nav > li > a.home {
    font-size: 18px;
    padding: 10px 16px;
}

.navbar-nav > li > a .fa {
    margin-right: 3px;
}

/* Dropdown */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    background: #fff;
    border: 1px solid #ddd;
    border-top: 3px solid #006699;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 220px;
    z-index: 1000;
    padding: 0;
    list-style: none;
}

.dropdown:hover .dropdown-menu {
    display: block;
}

/* Cho phép menu con xổ xuống KHÔNG bị .row overflow:hidden cắt mất */
.section-nav .row,
.section-nav .container,
.section-nav .bg,
.second-nav,
.second-nav .container,
.second-nav .row,
.navbar,
.navbar-collapse {
    overflow: visible;
}

.dropdown-menu li a {
    display: block;
    padding: 10px 16px;
    color: #333;
    font-size: 13px;
    border-bottom: 1px solid #eee;
    transition: all 0.2s ease;
    text-decoration: none;
}

.dropdown-menu li a:hover {
    background: #f0f8ff;
    color: #006699;
    padding-left: 22px;
    text-decoration: none;
}

.dropdown-menu li:last-child a {
    border-bottom: none;
}

.caret {
    display: inline-block;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 4px solid #fff;
    vertical-align: middle;
    margin-left: 4px;
}

/* ===== THIRD NAV (Date + Search) ===== */
.third-nav {
    background: #f8f9fa;
    border-bottom: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 8px 0;
}

.third-nav .bg {
    padding: 5px 0;
}

.current-time {
    font-size: 13px;
    color: #666;
    line-height: 34px;
    display: block;
}

.headerSearch {
    text-align: right;
}

.headerSearch .input-group {
    display: flex;
    max-width: 300px;
    float: right;
}

.headerSearch input[type="text"] {
    flex: 1;
    padding: 6px 12px;
    border: 1px solid #ccc;
    border-radius: 4px 0 0 4px;
    font-size: 13px;
    outline: none;
}

.headerSearch input[type="text"]:focus {
    border-color: #006699;
    box-shadow: 0 0 0 2px rgba(0,102,153,0.15);
}

.headerSearch .btn-search {
    padding: 6px 14px;
    background: #5bc0de;
    color: #fff;
    border: 1px solid #5bc0de;
    border-radius: 0 4px 4px 0;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.headerSearch .btn-search:hover {
    background: #31b0d5;
}

/* ===== SECTION BODY ===== */
.section-body {
    padding: 15px 0;
}

/* ===== PANELS ===== */
.panel {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.panel-default .panel-heading {
    background: #f5f5f5;
    border-bottom: 2px solid #006699;
    padding: 10px 15px;
}

.panel-primary .panel-heading {
    background: #006699;
    color: #fff;
    padding: 10px 15px;
    font-weight: bold;
    font-size: 14px;
}

.panel-primary .panel-heading a {
    color: #fff;
    text-decoration: none;
}

.panel-body {
    padding: 15px;
}

/* News Column */
.news_column {
    margin-bottom: 15px;
}

.news_column .panel-heading h4 {
    display: inline;
    margin: 0;
    font-size: 14px;
}

.news_column .panel-heading h4 a {
    color: #006699;
    font-weight: bold;
    text-decoration: none;
}

.news_column .panel-heading h4 a span {
    border-bottom: 2px solid #006699;
    padding-bottom: 8px;
}

.sub-list-icon {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    align-items: center;
}

.sub-list-icon li {
    display: inline-block;
}

.sub-list-icon .dimgray {
    color: #696969;
    font-weight: normal;
    font-size: 13px;
}

/* ===== HOT NEWS ===== */
#hot-news {
    margin-bottom: 15px;
}

#hot-news .panel-body .row {
    display: flex;
}

#hot-news h2 {
    font-size: 16px;
    font-weight: bold;
    line-height: 1.4;
}

#hot-news h2 a {
    color: #006699;
    text-decoration: none;
}

#hot-news h2 a:hover {
    color: #cc0000;
}

.hot-news-others ul {
    list-style: none;
    padding: 0;
}

.hot-news-others .icon_list {
    border-bottom: 1px dashed #e0e0e0;
    padding: 8px 0;
}

.hot-news-others .icon_list:last-child {
    border-bottom: none;
}

.hot-news-others .icon_list a {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #333;
    text-decoration: none;
    font-size: 13px;
    line-height: 1.4;
}

.hot-news-others .icon_list a:hover {
    color: #cc0000;
}

.hot-news-others .icon_list a img {
    width: 65px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
    flex-shrink: 0;
}

/* ===== NEWS LIST ITEMS ===== */
.img-thumbnail {
    border: 1px solid #ddd;
    border-radius: 4px;
    padding: 3px;
    background: #fff;
}

.imghome {
    width: 120px;
    height: auto;
    margin-right: 12px;
    margin-bottom: 8px;
}

.news_column h3 {
    font-size: 15px;
    font-weight: bold;
    margin: 0 0 5px 0;
    line-height: 1.4;
}

.news_column h3 a {
    color: #006699;
    text-decoration: none;
}

.news_column h3 a:hover {
    color: #cc0000;
}

.text-muted {
    color: #999;
    font-size: 12px;
    margin-bottom: 8px;
}

.text-muted .list-inline {
    display: flex;
    gap: 15px;
}

.text-muted .list-inline li {
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.icon_new {
    display: inline-block;
    width: 30px;
    height: 12px;
    background: #ff0000;
    border-radius: 2px;
    margin-left: 5px;
    position: relative;
}

.icon_new::after {
    content: "NEW";
    color: #fff;
    font-size: 8px;
    font-weight: bold;
    position: absolute;
    top: 0;
    left: 4px;
    line-height: 12px;
}

/* Related list */
.related.list-items {
    list-style: none;
    padding: 0;
}

.related.list-items li {
    border-bottom: 1px dashed #e0e0e0;
    padding: 8px 0;
}

.related.list-items li:last-child {
    border-bottom: none;
}

.related.list-items li a {
    color: #333;
    font-size: 13px;
    text-decoration: none;
    display: block;
    line-height: 1.4;
    padding-left: 15px;
    position: relative;
}

.related.list-items li a::before {
    content: "»";
    position: absolute;
    left: 0;
    color: #006699;
    font-weight: bold;
}

.related.list-items li a:hover {
    color: #cc0000;
}

.icon_list {
    position: relative;
    padding-left: 0;
}

/* ===== IMAGE SLIDER ===== */
.slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    border-radius: 4px;
    margin-bottom: 15px;
    background: #000;
}

.slider-wrapper {
    display: flex;
    transition: transform 0.6s ease-in-out;
}

.slider-slide {
    min-width: 100%;
    position: relative;
}

.slider-slide img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
}

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.6);
    color: #fff;
    padding: 10px 20px;
    font-style: italic;
    font-size: 14px;
}

.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    padding: 15px 12px;
    cursor: pointer;
    font-size: 20px;
    z-index: 5;
    transition: background 0.3s;
}

.slider-btn:hover {
    background: rgba(0,0,0,0.8);
}

.slider-btn.prev {
    left: 0;
    border-radius: 0 4px 4px 0;
}

.slider-btn.next {
    right: 0;
    border-radius: 4px 0 0 4px;
}

.slider-dots {
    position: absolute;
    bottom: 45px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 5;
}

.slider-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    border: none;
    cursor: pointer;
    transition: background 0.3s;
}

.slider-dot.active {
    background: #fff;
}

/* ===== SIDEBAR ===== */
.sidebar .panel {
    margin-bottom: 15px;
}

/* Banners */
.nv-block-banners {
    margin-bottom: 10px;
    text-align: center;
}

.nv-block-banners img {
    max-width: 100%;
    border-radius: 4px;
    border: 1px solid #ddd;
}

/* Survey / Voting */
.voting-panel .radio {
    margin: 8px 0;
}

.voting-panel .radio label {
    cursor: pointer;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 6px;
}

.voting-panel .radio input[type="radio"] {
    margin: 0;
}

.btn {
    display: inline-block;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 600;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s;
}

.btn-success {
    background: #5cb85c;
    color: #fff;
}

.btn-success:hover {
    background: #449d44;
}

.btn-primary {
    background: #337ab7;
    color: #fff;
}

.btn-primary:hover {
    background: #286090;
}

.btn-sm {
    padding: 4px 10px;
    font-size: 12px;
}

/* Statistics */
.counter {
    list-style: none;
    padding: 0;
}

.counter li {
    display: flex;
    justify-content: space-between;
    padding: 6px 0;
    border-bottom: 1px dotted #eee;
    font-size: 13px;
}

.counter li:last-child {
    border-bottom: none;
}

.counter li span:first-child {
    display: flex;
    align-items: center;
    gap: 8px;
}

.counter li span:last-child {
    font-weight: bold;
    color: #006699;
}

/* Top Hits */
.block_tophits li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
}

.block_tophits li:last-child {
    border-bottom: none;
}

.block_tophits li img {
    width: 70px;
    height: auto;
    border: 1px solid #ddd;
    border-radius: 3px;
    flex-shrink: 0;
}

.block_tophits li a.show {
    color: #333;
    font-size: 13px;
    line-height: 1.4;
}

.block_tophits li a.show:hover {
    color: #cc0000;
}

/* ===== EXPERT CAROUSEL ===== */
.expert-carousel {
    overflow: hidden;
    position: relative;
}

.expert-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 10px;
}

.expert-card {
    min-width: 210px;
    flex-shrink: 0;
    text-align: center;
    padding: 10px;
}

.expert-card img {
    width: 200px;
    height: 280px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid #ddd;
    margin-bottom: 10px;
}

.expert-card .expert-info {
    font-size: 13px;
    line-height: 1.5;
    color: #333;
}

.expert-card .expert-info strong {
    color: #006699;
}

.carousel-controls {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 10px;
}

.carousel-btn {
    background: #006699;
    color: #fff;
    border: none;
    padding: 6px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background 0.3s;
}

.carousel-btn:hover {
    background: #004d80;
}

/* ===== LINKED WEB SELECT ===== */
.web-links-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 13px;
    background: #fff;
    color: #333;
    cursor: pointer;
}

/* ===== FOOTER ===== */
.section-footer-top {
    background: #004466;
    color: #ccc;
    padding: 25px 0;
    margin-top: 20px;
}

.section-footer-top h3 {
    color: #fff;
    font-size: 16px;
    margin-bottom: 15px;
    border-bottom: 1px solid #006699;
    padding-bottom: 8px;
}

.section-footer-top .menu li {
    padding: 4px 0;
}

.section-footer-top .menu li a {
    color: #b0c4d4;
    font-size: 13px;
    text-decoration: none;
    transition: color 0.3s;
    display: flex;
    align-items: center;
    gap: 6px;
}

.section-footer-top .menu li a::before {
    content: "›";
    color: #0099cc;
}

.section-footer-top .menu li a:hover {
    color: #fff;
}

.company_info {
    list-style: none;
    padding: 0;
}

.company_info li {
    padding: 5px 0;
    font-size: 13px;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.company_info .company_name {
    font-size: 16px;
    font-weight: bold;
    color: #fff;
}

.company_info .fa {
    color: #0099cc;
    width: 18px;
    text-align: center;
    flex-shrink: 0;
    margin-top: 2px;
}

.company_info a {
    color: #b0c4d4;
}

.company_info a:hover {
    color: #fff;
}

/* Footer Bottom */
.section-footer-bottom {
    background: #003355;
    padding: 10px 0;
    text-align: center;
}

.bttop {
    display: inline-block;
}

.bttop a {
    color: #999;
    font-size: 16px;
    cursor: pointer;
    transition: color 0.3s;
}

.bttop a:hover {
    color: #fff;
}

/* ===== FIXED SIDE BANNERS ===== */
.fix_banner_left {
    position: fixed;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: none;
}

.fix_banner_right {
    position: fixed;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    z-index: 50;
    display: none;
}

@media (min-width: 1200px) {
    .fix_banner_left,
    .fix_banner_right {
        display: block;
    }
}

/* ===== FLOATING REGISTER BUTTON ===== */
.floating-register {
    position: fixed;
    bottom: 15px;
    right: 15px;
    z-index: 999;
    animation: pulse 2s infinite;
}

.floating-register img {
    width: 100px;
    border: 2px dashed #006699;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* ===== SCROLL TO TOP ===== */
.scroll-top-btn {
    position: fixed;
    bottom: 20px;
    left: 20px;
    background: #006699;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 18px;
    cursor: pointer;
    display: none;
    z-index: 999;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
    transition: all 0.3s;
}

.scroll-top-btn:hover {
    background: #004d80;
}

/* ===== UTILITY ===== */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-justify { text-align: justify; }
.pull-left { float: left; }
.pull-right { float: right; }
.hidden { display: none; }
.margin-bottom { margin-bottom: 15px; }
.margin-bottom-sm { margin-bottom: 8px; }
.margin-bottom-lg { margin-bottom: 20px; }
.margin-left-sm { margin-left: 8px; }
.margin-right-sm { margin-right: 8px; }
.show { display: block; }
.black { color: #333; }
.dimgray { color: #696969; }

.h4 {
    font-size: 13px;
    line-height: 1.4;
}

/* ===== FA ICONS (simple version) ===== */
.fa {
    display: inline-block;
    font-style: normal;
}

/* ===== MARQUEE ===== */
.marquee-wrapper {
    overflow: hidden;
    padding: 15px 0;
    background: #fff;
    white-space: nowrap;
    position: relative;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
}

.marquee-track {
    display: flex;
    animation: marquee 30s linear infinite;
    gap: 15px;
}

.marquee-track a {
    flex-shrink: 0;
}

.marquee-track img {
    height: 80px;
    width: auto;
    border-radius: 4px;
    transition: transform 0.3s;
}

.marquee-track img:hover {
    transform: scale(1.1);
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1100px) {
    .wraper {
        width: 100%;
        padding: 0 15px;
    }
    
    .site-banner {
        width: 100%;
        left: 0;
        margin: 0;
    }
}

@media (max-width: 768px) {
    .col-md-18, .col-md-16, .col-md-14, .col-md-12,
    .col-md-10, .col-md-8, .col-md-6 {
        width: 100%;
    }
    
    .navbar-nav {
        flex-direction: column;
    }
    
    .dropdown-menu {
        position: static;
        box-shadow: none;
        border: none;
        border-top: none;
        background: #005580;
    }
    
    .dropdown-menu li a {
        color: #fff;
        border-bottom-color: rgba(255,255,255,0.1);
    }
    
    .dropdown-menu li a:hover {
        background: #004466;
        color: #fff;
    }
    
    .headerSearch .input-group {
        float: none;
        max-width: 100%;
    }
    
    #hot-news .panel-body .row {
        flex-direction: column;
    }
    
    .expert-card {
        min-width: 160px;
    }
    
    .slider-slide img {
        height: 200px;
    }
    
    .fix_banner_left,
    .fix_banner_right {
        display: none !important;
    }
}

/* ===== PUBLIC CMS NEWS FEED ===== */
.cms-legacy-hidden { display: none !important; }
#cms-home-feed { margin: 0 0 24px; }
.cms-feed-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
    margin: 8px 0 16px;
}
.cms-eyebrow {
    display: inline-block;
    color: #0b789d;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .14em;
    margin-bottom: 5px;
}
.cms-feed-heading h2 {
    color: #103c56;
    font-size: 24px;
    line-height: 1.2;
    margin: 0 0 5px;
}
.cms-feed-heading p { color: #718392; font-size: 13px; margin: 0; }
.cms-live-status {
    color: #228653;
    background: #e9f8ef;
    border: 1px solid #c8ecd6;
    border-radius: 999px;
    padding: 7px 11px;
    font-size: 11px;
    white-space: nowrap;
}
.cms-feature-layout { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(280px, .88fr); gap: 18px; }
.cms-featured-news, .cms-secondary-news { min-width: 0; }
.cms-news-card {
    display: flex;
    height: 100%;
    overflow: hidden;
    background: #fff;
    border: 1px solid #dfeaf0;
    border-radius: 12px;
    box-shadow: 0 8px 22px rgba(15,62,82,.07);
}
.cms-featured-news .cms-news-card { flex-direction: column; }
.cms-news-image { display: block; overflow: hidden; background: #e9f3f6; flex: 0 0 auto; }
.cms-featured-news .cms-news-image { height: 252px; }
.cms-news-card-compact .cms-news-image { width: 118px; height: 92px; margin: 12px 0 12px 12px; border-radius: 8px; }
.cms-news-image img { width: 100%; height: 100%; object-fit: cover; transition: transform .35s ease; }
.cms-news-card:hover .cms-news-image img { transform: scale(1.04); }
.cms-news-copy { padding: 15px 17px 17px; min-width: 0; }
.cms-news-card-compact .cms-news-copy { padding: 12px 14px; }
.cms-news-meta { display: flex; align-items: center; gap: 9px; flex-wrap: wrap; color: #8a9aa6; font-size: 11px; margin-bottom: 7px; }
.cms-news-meta span { color: var(--category-color, #006699); font-weight: 700; }
.cms-news-meta time { color: #8a9aa6; }
.cms-news-card h3 { font-size: 17px; line-height: 1.38; margin: 0 0 8px; }
.cms-news-card-compact h3 { font-size: 14px; margin-bottom: 0; }
.cms-news-card h3 a { color: #153d53; text-decoration: none; }
.cms-news-card h3 a:hover { color: #007ba7; }
.cms-news-card p { color: #657883; font-size: 13px; line-height: 1.6; margin: 0 0 12px; }
.cms-read-more { color: #087ba2; font-size: 12px; font-weight: 700; text-decoration: none; }
.cms-read-more:hover { color: #004d73; }
.cms-secondary-news { display: grid; gap: 10px; align-content: start; }
.cms-secondary-news .cms-news-card { min-height: 116px; }
.cms-feed-footer { display: flex; justify-content: space-between; gap: 12px; border-top: 1px solid #e1ebef; margin-top: 15px; padding-top: 12px; color: #7c8b95; font-size: 12px; }
.cms-feed-footer a { color: #087ba2; font-weight: 700; text-decoration: none; }
.cms-empty-state { background: #fff; border: 1px dashed #bfd5df; padding: 42px 20px; text-align: center; color: #758792; border-radius: 12px; }
.cms-empty-state i { color: #0b789d; font-size: 30px; margin-bottom: 12px; }
.cms-empty-state h3 { color: #153d53; margin-bottom: 5px; }
.cms-empty-state p { margin: 0; font-size: 13px; }
.cms-empty-mini { padding: 20px; background: #f5fafc; color: #728791; border-radius: 10px; font-size: 13px; }
@media (max-width: 780px) {
    .cms-feed-heading { align-items: flex-start; flex-direction: column; }
    .cms-feature-layout { grid-template-columns: 1fr; }
    .cms-featured-news .cms-news-image { height: 210px; }
    .cms-feed-footer { flex-direction: column; }
}

/* ===== MOBILE MENU TOGGLE ===== */
.navbar-toggle {
    display: none;
    background: #004d80;
    border: 1px solid rgba(255,255,255,0.3);
    padding: 8px 12px;
    cursor: pointer;
    border-radius: 4px;
    margin: 8px;
}

.navbar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: #fff;
    margin: 4px 0;
    border-radius: 2px;
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: block;
    }
    
    .navbar-collapse {
        display: none;
        width: 100%;
    }
    
.navbar-collapse.active {
    display: block;
}

/* End-of-file cascade: keeps the public portal modern without changing legacy markup. */
body { color:var(--ink); background:linear-gradient(180deg,#effaff 0,#f7fafb 420px,#f4f7f8 100%); }
.site-banner { background:linear-gradient(118deg,rgba(1,70,105,.97),rgba(0,118,165,.91)),url('https://images.unsplash.com/photo-1576091160399-112ba8d25d1?w=1600&auto=format&fit=crop'); background-blend-mode:multiply; }
.section-nav { background:var(--brand-900); border-bottom:0; box-shadow:0 4px 14px rgba(2,52,79,.19); }
.navbar-nav > li > a { padding:14px 15px; letter-spacing:.01em; }.navbar-nav > li > a:hover,.navbar-nav > li:hover>a { background:rgba(255,255,255,.13); }
.third-nav { background:rgba(255,255,255,.92); border:0; box-shadow:0 6px 18px rgba(15,62,82,.07); }.section-body { padding-top:20px; }
.panel { border:1px solid var(--line); border-radius:10px; box-shadow:0 5px 16px rgba(15,62,82,.06); overflow:hidden; }.panel-default .panel-heading { background:linear-gradient(90deg,#f7fcfe,#fff); border-bottom-color:var(--brand-500); }.panel-primary .panel-heading { background:linear-gradient(100deg,var(--brand-900),var(--brand-700)); }
.slider-container { border-radius:12px; box-shadow:var(--shadow-soft); }.slider-slide img { height:335px; }.slider-caption { padding:14px 20px; background:linear-gradient(90deg,rgba(1,31,47,.86),rgba(1,31,47,.48)); }
.section-footer-top { background:var(--brand-900); color:#d9edf5; margin-top:28px; }.section-footer-bottom { background:#052b43; }
@media (max-width:780px) { header,#header { min-height:158px; } #header { padding-top:18px; padding-bottom:18px; } .site-banner { height:158px; } .logo img,.logo svg { width:61px; height:61px; } .logo .site_name { font-size:18px; } .logo .site_description { font-size:13px; } .navbar-toggle { display:block; float:none; margin:8px 0; } .navbar-collapse { display:none; clear:both; } .navbar-collapse.active { display:block; } .navbar-nav { display:block; padding-bottom:8px; } .navbar-nav>li>a { padding:12px 14px; } .dropdown-menu { display:none !important; position:static; } .third-nav .col-md-18,.third-nav .col-md-6 { width:100%; }.current-time { line-height:24px; }.headerSearch { text-align:left; margin-top:8px; }.headerSearch .input-group { float:none; max-width:none; } [class*="col-"] { float:none; width:100%; padding:0 10px; }.row { margin-left:-10px; margin-right:-10px; } #hot-news .panel-body .row { display:block; }.slider-slide img { height:220px; }.slider-caption { font-size:13px; padding:9px 42px 10px 12px; }.slider-dots { bottom:48px; }.section-body { padding-top:14px; }.hero-banner,.portal-hero { padding:27px 18px; }.hero-banner h1 { font-size:22px; }.dk-container { padding:20px !important; }.portal-dialog { padding:24px 20px; }.portal-card { padding:21px; }.portal-result dl { grid-template-columns:1fr; gap:3px; }.portal-result dd { margin-bottom:10px; } }
}

/* ===== FORMATTING BOXES ===== */
.format-box {
    display: flex;
    align-items: flex-start;
    padding: 16px;
    margin: 16px 0;
    border-radius: 6px;
    border-left: 4px solid;
    background: #f8f9fa;
}

.format-box .box-icon {
    font-size: 20px;
    margin-right: 12px;
    margin-top: 2px;
}

.format-box .box-content {
    flex: 1;
    font-size: 14.5px;
    line-height: 1.6;
}

.format-box .box-content strong {
    display: block;
    margin-bottom: 4px;
    font-size: 15px;
}

.box-info { background: #e3f2fd; border-left-color: #17a2b8; }
.box-info .box-icon { color: #17a2b8; }

.box-warning { background: #fff3cd; border-left-color: #ffc107; }
.box-warning .box-icon { color: #ffc107; }

.box-success { background: #d4edda; border-left-color: #28a745; }
.box-success .box-icon { color: #28a745; }

.box-tip { background: #f3e5f5; border-left-color: #6f42c1; }
.box-tip .box-icon { color: #6f42c1; }

.box-quote { 
    background: #f8f9fa; 
    border-left-color: #6c757d; 
    font-style: italic; 
}
.box-quote .box-icon { color: #6c757d; }

.box-note { background: #e9ecef; border-left-color: #343a40; }
.box-note .box-icon { color: #343a40; }

/* ===== ANNIVERSARY BANNER ===== */
.anniversary-banner {
    background: linear-gradient(90deg, #003d5c, #006699, #0088bb);
    color: #fff;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 20px;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    min-height: 120px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.ab-content {
    flex: 1;
    z-index: 2;
}

.ab-title {
    color: #FFD700;
    font-size: 24px;
    font-weight: bold;
    margin: 0 0 8px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}

.ab-subtitle {
    font-size: 18px;
    font-weight: 700;
    margin: 0 0 5px 0;
    letter-spacing: 0.5px;
}

.ab-sub-subtitle {
    font-size: 15px;
    font-style: italic;
    margin: 0;
    opacity: 0.9;
}

.ab-decor {
    font-size: 24px;
    color: #FFD700;
    opacity: 0.8;
    display: flex;
    gap: 10px;
    align-items: center;
}

.ab-decor i {
    animation: pulse 2s infinite;
}

@media (max-width: 768px) {
    .anniversary-banner {
        flex-direction: column;
        padding: 15px;
    }
    .ab-decor {
        margin: 10px 0;
    }
    .ab-title {
        font-size: 20px;
    }
    .ab-subtitle {
        font-size: 15px;
    }
}

/* ===== Logo liên kết (marquee) dạng chữ ===== */
.marquee-track .mq-logo{display:inline-flex;align-items:center;gap:8px;height:80px;padding:0 24px;background:linear-gradient(180deg,#f7fbfd,#eef6fa);border:1px solid #d9e7ed;border-radius:8px;color:#006699;font-weight:700;font-size:14px;white-space:nowrap;box-shadow:0 2px 6px rgba(10,72,99,.08);transition:transform .25s,box-shadow .25s;}
.marquee-track a:hover .mq-logo{transform:translateY(-2px);box-shadow:0 6px 16px rgba(10,72,99,.18);background:#fff;}
.marquee-wrapper:hover .marquee-track{animation-play-state:paused;}

/* ===== Đội ngũ chuyên gia: tự chạy động (auto-scroll) ===== */
.expert-track{width:max-content;transition:none;animation:expertScroll 45s linear infinite;}
.expert-carousel:hover .expert-track{animation-play-state:paused;}
@keyframes expertScroll{from{transform:translateX(0);}to{transform:translateX(-50%);}}
@media (max-width:768px){ .expert-track{animation-duration:28s;} }

/* ===== Slider Poster tuyên truyền (quản lý trong CMS) — hiệu ứng MỜ + chiều cao cố định ===== */
.poster-slider{position:relative;overflow:hidden;border-radius:10px;box-shadow:0 8px 24px rgba(10,72,99,.15);background:#0a4d68;height:300px;}
.poster-track{position:relative;width:100%;height:100%;}
.poster-slide{position:absolute;inset:0;opacity:0;visibility:hidden;transition:opacity .8s ease;}
.poster-slide.active{opacity:1;visibility:visible;}
.poster-slide img{width:100%;height:100%;object-fit:cover;display:block;}
.poster-slide a{display:block;width:100%;height:100%;}
.poster-cap{position:absolute;left:0;right:0;bottom:0;padding:14px 20px;background:linear-gradient(transparent,rgba(0,40,60,.78));color:#fff;font-weight:600;font-size:16px;}
@media (max-width:768px){ .poster-slider{height:190px;} .poster-cap{font-size:13px;padding:10px 14px;} }
.poster-nav{position:absolute;top:50%;transform:translateY(-50%);width:42px;height:42px;border:none;border-radius:50%;background:rgba(0,60,90,.5);color:#fff;font-size:24px;line-height:1;cursor:pointer;z-index:2;transition:background .2s;}
.poster-nav:hover{background:rgba(0,60,90,.85);}
.poster-nav.prev{left:12px;}
.poster-nav.next{right:12px;}
.poster-dots{position:absolute;left:0;right:0;bottom:12px;display:flex;justify-content:center;gap:8px;z-index:2;}
.poster-dot{width:11px;height:11px;border-radius:50%;border:none;background:rgba(255,255,255,.55);cursor:pointer;padding:0;transition:width .2s,background .2s;}
.poster-dot.active{background:#fff;width:26px;border-radius:6px;}

/* ===== Lịch công tác — file cards ===== */
.sched-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(240px,1fr));gap:16px;margin:10px 0 24px;}
.sched-card{background:#fff;border:1px solid #e1ebef;border-radius:10px;overflow:hidden;box-shadow:0 4px 12px rgba(10,72,99,.08);transition:transform .2s,box-shadow .2s;}
.sched-card:hover{transform:translateY(-3px);box-shadow:0 10px 24px rgba(10,72,99,.16);}
.sched-card img{width:100%;height:170px;object-fit:cover;display:block;}
.sched-embed{width:100%;height:200px;border:0;display:block;background:#f2f6f8;}
.sched-fileicon{height:130px;display:flex;align-items:center;justify-content:center;font-size:60px;color:#006699;background:linear-gradient(180deg,#f2f9fc,#e6f3f8);}
.sched-meta{padding:10px 12px;font-size:14px;color:#152936;font-weight:600;line-height:1.5;}
.sched-dl{display:inline-block;margin:6px 10px 0 0;font-size:12px;font-weight:600;color:#006699;text-decoration:none;}
.sched-dl:hover{text-decoration:underline;}

/* ===== Tài liệu nhúng trong bài (PDF/Office) — responsive ===== */
@media (max-width:768px){ .doc-embed embed{ height:340px !important; } }
.doc-file a[download]{ transition:background .2s; }
.doc-file a[download]:hover{ background:#004d80 !important; }

/* ===== Khung PDF nhúng trong bài viết ===== */
.pdf-embed { margin:14px 0; border:1px solid #d9e7ed; border-radius:8px; overflow:hidden; }
.pdf-embed .pdf-frame { width:100%; height:640px; border:0; display:block; background:#eef2f5; }
.pdf-embed:fullscreen, .pdf-embed:-webkit-full-screen { background:#333; display:flex; flex-direction:column; border-radius:0; }
.pdf-embed:fullscreen .pdf-frame { flex:1; height:auto !important; min-height:0; }
.pdf-embed:-webkit-full-screen .pdf-frame { height:100vh !important; }
.pdf-embed .pdf-full:hover { background:#004c73 !important; }
