/**
 * Portal Stylesheet - Complete
 * Le Quy Don Commune Portal
 */

/* ==========================================================================
   1. TOPBAR UTILITY
   ========================================================================== */
.lqd-topbar {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  font-size: 12px;
  color: var(--text-muted);
  padding: 6px 0;
}

.lqd-topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 6px;
}

.topbar-left i {
  color: var(--primary-color);
}

.topbar-right {
  display: flex;
  align-items: center;
}

.topbar-links {
  display: flex;
  align-items: center;
  gap: 8px;
}

.topbar-links li a {
  color: var(--text-muted);
}

.topbar-links li a:hover {
  color: var(--primary-color);
}

.topbar-links .sep {
  color: #cbd5e1;
  font-size: 11px;
}

.accessibility-ctrl button {
  background: none;
  border: none;
  font-weight: 700;
  font-size: 12px;
  color: var(--text-muted);
  cursor: pointer;
  padding: 0 3px;
}

.accessibility-ctrl button:hover {
  color: var(--primary-color);
}

/* ==========================================================================
   2. HEADER BRANDING & IDENTIFICATION BANNER
   ========================================================================== */
.lqd-header-banner {
  background-color: #faf5eb;
  background-image: url('../images/header-heading-bg.webp');
  background-repeat: no-repeat;
  background-position: center right;
  background-size: cover;
  border-bottom: 1px solid #ebdcc5;
  padding: 18px 0;
  position: relative;
  min-height: 135px;
}

.lqd-header-banner-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.branding-left {
  flex: 1;
}

.branding-link {
  display: flex;
  align-items: center;
  gap: 16px;
  text-decoration: none;
}

.national-emblem {
  width: 82px;
  height: 82px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}

.branding-text {
  display: flex;
  flex-direction: column;
}

.portal-sup {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  letter-spacing: 0.5px;
  line-height: 1.2;
}

.portal-main {
  font-family: var(--font-serif);
  font-size: 26px;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1.2;
  margin: 2px 0;
  letter-spacing: 1px;
}

.portal-sub {
  font-family: var(--font-serif);
  font-size: 14px;
  font-weight: 700;
  color: #222222;
  line-height: 1.2;
}

.portal-slogan {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  color: #444444;
  margin-top: 4px;
}

.branding-right {
  display: flex;
  align-items: center;
  gap: 25px;
}

/* Header Search Form */
.header-search-wrap {
  width: 280px;
  max-width: 100%;
}

.header-search-form {
  display: flex;
  width: 100%;
  max-width: 100%;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.05);
}

.header-search-form .search-field {
  flex: 1 1 0%;
  width: 0;
  min-width: 0;
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
  font-family: var(--font-sans);
  text-overflow: ellipsis;
}

.header-search-form .search-submit {
  flex: 0 0 42px;
  width: 42px;
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0;
  cursor: pointer;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.header-search-form .search-submit:hover {
  background: var(--primary-hover);
}

/* Header Quote & Portrait Slideshow */
.header-quote-wrap {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
  border-left: 1px solid rgba(140, 83, 27, 0.2);
  padding-left: 20px;
  position: relative;
  min-width: 320px;
  max-width: 440px;
  transform: translateX(-300px);
}

.quote-slider-inner {
  position: relative;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  justify-content: center;
}

.quote-slide-item {
  display: none;
  width: 100%;
  text-align: right;
  opacity: 0;
  transform: translateY(4px);
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1), transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.quote-slide-item.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.quote-text {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: #7c4413;
  letter-spacing: 0.5px;
  line-height: 1.35;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
  margin: 0;
}

.quote-author {
  font-family: var(--font-serif);
  font-style: italic;
  font-size: 12px;
  color: #555555;
  margin-top: 3px;
  margin-bottom: 0;
  text-shadow: 0 1px 2px rgba(255, 255, 255, 0.85);
}

.quote-slider-dots {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 5px;
  margin-top: 6px;
}

.quote-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: rgba(124, 68, 19, 0.22);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.quote-dot:hover {
  background: rgba(124, 68, 19, 0.6);
}

.quote-dot.active {
  background: #7c4413;
  width: 16px;
  border-radius: 3px;
}

.portrait-img {
  width: 85px;
  height: 85px;
  object-fit: cover;
  border-radius: 4px;
}

/* ==========================================================================
   3. NAVIGATION BAR
   ========================================================================== */
.lqd-main-nav {
  background-color: var(--primary-color, #033a7e);
  box-shadow: 0 2px 4px rgba(0,0,0,0.15);
  position: relative;
  z-index: 1000;
}

.lqd-main-nav.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  animation: slideDown 0.3s ease-in-out;
}

@keyframes slideDown {
  from { transform: translateY(-100%); }
  to { transform: translateY(0); }
}

.lqd-main-nav .lqd-container {
  max-width: 1400px;
}

.lqd-nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
  width: 100%;
}

.lqd-menu-wrapper {
  flex: 1 1 auto;
  max-width: 100%;
  min-width: 0;
  display: flex;
  justify-content: center;
}

.lqd-nav-menu {
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: center;
  margin: 0 auto;
  padding: 0;
  gap: 0;
  list-style: none;
}

.lqd-nav-menu > li {
  position: relative;
  flex: 0 1 auto;
}

.lqd-nav-menu > li > a {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 11px 7px;
  color: #ffffff;
  font-size: 12.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: normal;
  border-right: 1px solid rgba(255,255,255,0.15);
  white-space: nowrap;
  transition: all 0.2s ease;
}

.lqd-nav-menu > li:last-child > a {
  border-right: none;
}

.lqd-nav-menu > li.menu-home > a {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 11px 9px;
  font-size: 12.5px;
}

.lqd-nav-menu > li.menu-home > a i {
  font-size: 13.5px;
}

.lqd-nav-menu > li.menu-item-has-children > a::after,
.lqd-nav-menu > li.page_item_has_children > a::after {
  content: "\f107";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 8.5px;
  margin-left: 4px;
  opacity: 0.85;
}

.lqd-nav-menu > li:hover > a,
.lqd-nav-menu > li.current-menu-item > a,
.lqd-nav-menu > li.current-menu-ancestor > a {
  background-color: var(--primary-dark, #022147);
  color: var(--accent-gold, #fcd34d);
}

/* Submenu Dropdown (Desktop) */
.mobile-sub-toggle {
  display: none;
}

/* Level 1 Submenu Dropdown */
.lqd-nav-menu > li > ul.sub-menu,
.lqd-nav-menu > li > ul.children {
  position: absolute;
  top: 100%;
  left: 0;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border-top: 3px solid var(--primary-color, #033a7e);
  min-width: 250px;
  display: none;
  z-index: 9999;
  list-style: none;
  padding: 4px 0;
  margin: 0;
  border-radius: 0 0 4px 4px;
}

/* Show Submenus on Hover */
.lqd-nav-menu li:hover > ul.sub-menu,
.lqd-nav-menu li:hover > ul.children {
  display: block !important;
}

.lqd-nav-menu ul.sub-menu li,
.lqd-nav-menu ul.children li {
  width: 100%;
  position: relative;
}

.lqd-nav-menu ul.sub-menu li a,
.lqd-nav-menu ul.children li a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 9px 15px;
  color: #334155;
  font-size: 12.5px;
  font-weight: 500;
  border-bottom: 1px solid #f1f5f9;
  border-right: none;
  text-transform: none;
  letter-spacing: 0;
  white-space: normal;
  line-height: 1.4;
  transition: all 0.2s ease;
}

.lqd-nav-menu ul.sub-menu li a:hover,
.lqd-nav-menu ul.children li a:hover {
  background-color: #f8fafc;
  color: var(--primary-color, #033a7e);
  padding-left: 19px;
}

/* Level 2 Submenu Items with Children Indicator Arrow */
.lqd-nav-menu ul.sub-menu li.menu-item-has-children > a::after,
.lqd-nav-menu ul.children li.page_item_has_children > a::after {
  content: "\f105";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  font-size: 11px;
  margin-left: 8px;
  opacity: 0.75;
}

/* Level 3 Submenu Flyout (Sổ ngang cấp 3) */
.lqd-nav-menu ul.sub-menu ul.sub-menu,
.lqd-nav-menu ul.children ul.children {
  position: absolute;
  top: -4px;
  left: 100%;
  background: #ffffff;
  box-shadow: 0 6px 18px rgba(0,0,0,0.18);
  border-top: none;
  border-left: 3px solid var(--primary-color, #033a7e);
  min-width: 250px;
  display: none;
  z-index: 10000;
  list-style: none;
  padding: 4px 0;
  margin: 0;
  border-radius: 4px;
}

/* Position right for the last 4 items so submenus don't overflow right edge */
.lqd-nav-menu > li:nth-last-child(-n+4) > ul.sub-menu,
.lqd-nav-menu > li:nth-last-child(-n+4) > ul.children {
  left: auto !important;
  right: 0 !important;
}

.lqd-nav-menu > li:nth-last-child(-n+4) ul.sub-menu ul.sub-menu,
.lqd-nav-menu > li:nth-last-child(-n+4) ul.children ul.children {
  left: auto !important;
  right: 100% !important;
  border-left: none;
  border-right: 3px solid var(--primary-color, #033a7e);
}

/* Desktop Responsive adjustments */
@media (max-width: 1380px) and (min-width: 1180px) {
  .lqd-nav-menu > li > a {
    padding: 10px 5px;
    font-size: 11.5px;
  }
}

@media (max-width: 1180px) and (min-width: 992px) {
  .lqd-nav-menu {
    flex-wrap: wrap;
  }
  .lqd-nav-menu > li > a {
    padding: 9px 4px;
    font-size: 11px;
  }
}

.mobile-menu-toggle {
  display: none;
}

/* Mobile & Tablet Navigation (< 992px) */
@media (max-width: 991px) {
  .mobile-menu-toggle {
    display: flex !important;
  }

  .lqd-menu-wrapper {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background-color: var(--primary-dark, #022147);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
    z-index: 99999;
    padding: 10px 0;
  }

  .lqd-menu-wrapper.is-open {
    display: block !important;
  }

  .lqd-nav-menu {
    flex-direction: column !important;
    align-items: stretch !important;
    width: 100% !important;
  }

  .lqd-nav-menu > li {
    width: 100% !important;
  }

  .lqd-nav-menu > li > a {
    justify-content: flex-start !important;
    padding: 12px 18px !important;
    border-right: none !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1) !important;
    font-size: 13px !important;
    white-space: normal !important;
  }

  .lqd-nav-menu ul.sub-menu,
  .lqd-nav-menu ul.children {
    position: static !important;
    box-shadow: none !important;
    border-top: none !important;
    background: rgba(0, 0, 0, 0.15) !important;
    display: none;
    padding: 0 !important;
  }

  .lqd-nav-menu li.sub-open > ul.sub-menu,
  .lqd-nav-menu li.sub-open > ul.children {
    display: block !important;
  }

  .lqd-nav-menu ul.sub-menu li a,
  .lqd-nav-menu ul.children li a {
    color: #e2e8f0 !important;
    padding: 10px 18px 10px 32px !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05) !important;
  }

  .mobile-sub-toggle {
    position: absolute;
    right: 10px;
    top: 6px;
    background: none;
    border: none;
    color: #ffffff;
    padding: 8px 12px;
    font-size: 14px;
    cursor: pointer;
    z-index: 10;
  }
}


/* ==========================================================================
   4. HOMEPAGE HERO SECTION
   ========================================================================== */
.lqd-hero-section {
  padding-top: 18px;
}

.lqd-hero-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr;
  gap: 15px;
  align-items: stretch;
}

.hero-col-main {
  position: relative;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-main-card {
  position: relative;
  background: #ffffff;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-color);
  height: 100%;
}

.hero-main-card.slider-item.active {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
}

.hero-slide-nav {
  position: absolute;
  top: 40%;
  transform: translateY(-50%) scale(0.9);
  width: 38px;
  height: 38px;
  background: rgba(15, 23, 42, 0.65);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  cursor: pointer;
  z-index: 10;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease, transform 0.25s ease, background 0.2s ease;
  backdrop-filter: blur(4px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
  padding: 0;
}

.hero-slide-prev {
  left: 12px;
}

.hero-slide-next {
  right: 12px;
}

/* Hover on slide image reveals navigation buttons */
.hero-col-main:hover .hero-slide-nav,
#hero-featured-slider:hover .hero-slide-nav {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(-50%) scale(1);
}

.hero-slide-nav:hover {
  background: var(--primary-color, #d92525);
  border-color: var(--primary-color, #d92525);
  transform: translateY(-50%) scale(1.12);
  color: #ffffff;
}

.hero-slide-nav:active {
  transform: translateY(-50%) scale(0.95);
}

@media (max-width: 768px) {
  .hero-slide-nav {
    opacity: 0.85;
    visibility: visible;
    pointer-events: auto;
    width: 32px;
    height: 32px;
    font-size: 12px;
    top: 40%;
  }
}

.hero-img-link {
  display: block;
  overflow: hidden;
  flex: 1 1 0%;
  min-height: 220px;
  position: relative;
}

.hero-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.hero-main-card:hover .hero-img {
  transform: scale(1.02);
}

.hero-main-info {
  flex: 0 0 auto;
  padding: 12px 14px;
  background: #ffffff;
}

.hero-main-title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.hero-main-title a {
  color: var(--text-heading);
}

.hero-main-title a:hover {
  color: var(--primary-color);
}

.hero-main-meta,
.sub-item-meta,
.news-meta {
  font-size: 11.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-main-meta i,
.sub-item-meta i,
.news-meta i {
  color: #94a3b8;
}

.slider-dots {
  display: flex;
  justify-content: flex-end;
  gap: 5px;
  padding: 6px 12px 10px;
}

.slider-dots .dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dots .dot.active {
  background: var(--primary-color);
  width: 18px;
  border-radius: 4px;
}

.hero-col-sub {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-sub-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
  height: 100%;
  justify-content: space-between;
}

.hero-sub-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #ffffff;
  border-radius: 5px;
  padding: 6px 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: all 0.2s ease;
  flex: 1;
  min-height: 58px;
}

.hero-sub-item:hover {
  border-color: #cbd5e1;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.08);
}

.sub-item-thumb {
  width: 80px;
  height: 54px;
  flex: 0 0 80px;
  border-radius: 4px;
  overflow: hidden;
  display: block;
  position: relative;
  background: #f1f5f9;
}

.sub-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transition: transform 0.3s ease;
}

.hero-sub-item:hover .sub-thumb-img {
  transform: scale(1.06);
}

.sub-item-content {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 4px;
  overflow: hidden;
}

.sub-item-title {
  font-size: 12.5px;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0;
}

.sub-item-title a {
  color: inherit;
  text-decoration: none;
}

.sub-item-title a:hover {
  color: var(--primary-color, #033a7e);
}

.sub-item-meta {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 1px;
  line-height: 1;
}

.sub-item-meta .meta-date {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.sub-item-meta i {
  font-size: 11px;
  color: #94a3b8;
}

/* ==========================================================================
   4.3. HERO UTILITIES BOX (REPLACES NOTICES BOX IN HERO COL 3)
   ========================================================================== */
.hero-col-utilities {
  height: 100%;
}

.hero-utilities-card-box {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  padding: 13px 14px 14px;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.hero-utilities-card-box .section-header {
  margin-bottom: 10px;
  padding-bottom: 7px;
  border-bottom: 2px solid var(--border-color);
}

.util-header-icon {
  color: var(--primary-color);
  margin-right: 6px;
  font-size: 14px;
}

.hero-utilities-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 8px;
  flex: 1;
  align-content: space-between;
}

.hero-util-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 8px 6px;
  border-radius: 6px;
  background-color: var(--util-bg, #f8fafc);
  border: 1px solid rgba(0, 0, 0, 0.05);
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.03);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
  min-height: 60px;
  text-decoration: none;
}

.hero-util-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.08);
  border-color: rgba(0, 0, 0, 0.12);
}

.hero-util-icon-wrap {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  margin-bottom: 4px;
  color: var(--util-color, var(--primary-color));
  flex-shrink: 0;
  transition: transform 0.2s ease;
}

.hero-util-card:hover .hero-util-icon-wrap {
  transform: scale(1.1);
}

.hero-util-icon-wrap .zalo-badge {
  background: #0068ff;
  color: #ffffff;
  font-size: 9px;
  font-weight: 800;
  padding: 1px 3px;
  border-radius: 3px;
  line-height: 1.1;
}

.hero-util-title {
  font-size: 11px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  max-width: 100%;
}

.hero-util-card:hover .hero-util-title {
  color: var(--primary-color);
}

/* ==========================================================================
   5. QUICK UTILITIES CARDS (8 ITEMS)
   ========================================================================== */
.lqd-utilities-section {
  padding: 14px 0 10px;
}

.utilities-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 10px;
}

.utility-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 12px 6px;
  border-radius: 6px;
  border: 1px solid rgba(0,0,0,0.05);
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: var(--transition);
  min-height: 80px;
}

.utility-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0,0,0,0.08);
}

.utility-icon {
  font-size: 20px;
  margin-bottom: 6px;
}

.utility-icon .zalo-badge {
  background: #0068ff;
  color: #ffffff;
  font-size: 11px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 4px;
}

.utility-title {
  font-size: 11.5px;
  font-weight: 600;
  color: #1e293b;
  line-height: 1.25;
}

/* ==========================================================================
   5.5. HOẠT ĐỘNG CỦA LÃNH ĐẠO XÃ (COMMUNE LEADERS' ACTIVITIES)
   ========================================================================== */
.lqd-leaders-section {
  padding-bottom: 2px;
}

.lqd-leaders-block {
  margin-bottom: 12px;
}

.leader-section-icon {
  margin-right: 8px;
  color: var(--primary-color);
  font-size: 15px;
}

.leaders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.leader-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.leader-card:hover {
  transform: translateY(-3px);
  border-color: #cbd5e1;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.08);
}

.leader-thumb-wrap {
  position: relative;
  width: 100%;
  height: 145px;
  overflow: hidden;
  background: #f8fafc;
}

.leader-thumb-link {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

.leader-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.leader-card:hover .leader-img {
  transform: scale(1.05);
}

/* Badges for leadership role */
.leader-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.3px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  z-index: 2;
  color: #ffffff;
  pointer-events: none;
  line-height: 1.2;
}

.leader-badge.badge-dang-uy {
  background: #b91c1c; /* Crimson */
}

.leader-badge.badge-ubnd {
  background: #0284c7; /* Sky / Navy */
}

.leader-badge.badge-hdnd {
  background: #b45309; /* Deep Gold / Amber */
}

.leader-badge.badge-chairman {
  background: #047857; /* Deep Emerald */
}

.leader-info {
  padding: 10px 12px 12px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
}

.leader-title {
  font-size: 12.8px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 8px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 54px;
}

.leader-title a {
  color: #1e293b;
  transition: color 0.2s ease;
}

.leader-card:hover .leader-title a {
  color: var(--primary-color);
}

.leader-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--text-muted);
  padding-top: 7px;
  border-top: 1px dashed #edf2f7;
  margin-top: auto;
}

.leader-date,
.leader-views {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.leader-date i,
.leader-views i {
  color: #94a3b8;
  font-size: 10.5px;
}

/* ==========================================================================
   6. MIDDLE SECTION (NEWS & DOCUMENTS)
   ========================================================================== */
.lqd-middle-section {
  padding-bottom: 10px;
}

.lqd-two-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.two-col-left,
.two-col-right {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.two-col-left > .lqd-card,
.two-col-right > .lqd-card {
  height: 100%;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.lqd-documents-block .tab-content-panel.active,
.lqd-party-block .tab-content-panel.active {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lqd-documents-block .doc-list-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.news-split-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 12px;
}

.news-big-thumb {
  position: relative;
  display: block;
  height: 160px;
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 8px;
}

.party-badge-flag {
  position: absolute;
  top: 8px;
  left: 8px;
  background: linear-gradient(135deg, #b91c1c 0%, #991b1b 100%);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.25);
  display: inline-flex;
  align-items: center;
  gap: 4px;
  letter-spacing: 0.2px;
  z-index: 2;
}

.party-badge-flag i {
  color: #facc15;
  font-size: 10px;
}

.news-big-thumb .news-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-big-title {
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.news-small-col {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.news-small-item {
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.news-small-thumb {
  width: 65px;
  height: 46px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
}

.news-small-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-small-title {
  font-size: 11.5px;
  font-weight: 600;
  line-height: 1.3;
}

/* Documents List & Table */
.lqd-documents-block {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
  padding: 16px;
  margin-top: 16px;
}

.doc-table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  border-radius: 6px;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  margin-top: 8px;
}

.doc-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 13px;
}

.doc-table th {
  background: linear-gradient(135deg, var(--primary-color, #033a7e) 0%, var(--primary-dark, #022147) 100%);
  color: #ffffff;
  font-weight: 700;
  text-transform: uppercase;
  font-size: 11.5px;
  letter-spacing: 0.3px;
  padding: 10px 12px;
  border: none;
  text-align: left;
  white-space: nowrap;
}

.doc-table th.th-code {
  border-top-left-radius: 5px;
  width: 140px;
}

.doc-table th.th-date {
  width: 120px;
  text-align: center;
}

.doc-table th.th-title {
  min-width: 260px;
}

.doc-table th.th-action {
  border-top-right-radius: 5px;
  width: 120px;
  text-align: center;
}

.doc-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  transition: background-color 0.2s ease;
}

.doc-table tr:nth-child(even) td {
  background-color: #f8fafc;
}

.doc-table tr:hover td {
  background-color: #f1f5f9;
}

.doc-table tr:last-child td {
  border-bottom: none;
}

.doc-table .td-code {
  width: 140px;
  white-space: nowrap;
}

.doc-num-link {
  display: inline-block;
  background: #eff6ff;
  color: #1d4ed8;
  font-weight: 700;
  font-size: 11.5px;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #bfdbfe;
  text-decoration: none;
  transition: all 0.2s ease;
}

.doc-num-link:hover {
  background: var(--primary-color, #033a7e);
  color: #ffffff;
  border-color: var(--primary-color, #033a7e);
}

.doc-table .td-date {
  width: 120px;
  text-align: center;
  white-space: nowrap;
}

.doc-date-text {
  font-size: 12px;
  color: #475569;
  font-weight: 600;
}

.doc-table .td-title a {
  color: #1e293b;
  font-weight: 600;
  line-height: 1.45;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.2s ease;
}

.doc-table .td-title a:hover {
  color: var(--primary-color, #033a7e);
}

.doc-table .td-action {
  width: 120px;
  text-align: center;
  white-space: nowrap;
}

.doc-action-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 5px !important;
  width: auto !important;
  height: auto !important;
  padding: 5px 12px !important;
  border-radius: 4px !important;
  background: var(--primary-color, #033a7e) !important;
  color: #ffffff !important;
  font-size: 11.5px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  word-break: keep-all !important;
  line-height: 1.2 !important;
  box-shadow: 0 1px 2px rgba(3, 58, 126, 0.2);
  transition: all 0.2s ease;
  box-sizing: border-box !important;
}

.doc-action-btn:hover {
  background: var(--primary-hover, #022c61) !important;
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 3px 6px rgba(2, 33, 71, 0.3);
}

.doc-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.doc-row-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 7px;
  border-bottom: 1px dashed var(--border-color);
  font-size: 12px;
}

.doc-row-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.doc-icon {
  color: #0d6efd;
  font-size: 14px;
}

.doc-code {
  font-weight: 700;
  color: #0056b3;
  white-space: nowrap;
}

.doc-title-excerpt {
  flex: 1;
  min-width: 0;
  color: #2d3748;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.doc-agency-badge {
  font-size: 10px;
  font-weight: 600;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 6px;
  border-radius: 3px;
  white-space: nowrap;
  flex-shrink: 0;
}

.doc-date {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==========================================================================
/* ==========================================================================
   7. PROMOTIONAL BANNERS
   ========================================================================== */
.lqd-promo-banners-section {
  padding: 8px 0 16px;
}

.lqd-home-banner-wrapper {
  width: 100%;
}

.lqd-home-banner-link {
  display: block;
  width: 100%;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
  background: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.lqd-home-banner-link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(3, 58, 126, 0.18);
  border-color: rgba(3, 58, 126, 0.3);
}

.lqd-home-banner-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.35s ease;
}

.lqd-home-banner-link:hover .lqd-home-banner-img {
  transform: scale(1.008);
}

.promo-banners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.promo-banner-card {
  display: block;
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.promo-banner-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.promo-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* ==========================================================================
   8. LOWER THREE-COLUMN SECTION
   ========================================================================== */
.lqd-three-col-section {
  padding-bottom: 10px;
}

.lqd-three-col-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
}

/* Lower Section Grid */
.lqd-lower-layout-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 16px;
  align-items: start;
}

.lower-layout-left {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.lower-two-cols-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  min-width: 0;
  align-items: stretch;
}

.lower-col-item {
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.lower-col-item > .lqd-card {
  height: 100%;
  margin-bottom: 0;
  display: flex;
  flex-direction: column;
}

.lqd-direction-block .tab-content-panel.active {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lqd-direction-block .direction-list-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 8px;
}

.lqd-disclosure-block .disclosure-list-wrap {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 7px;
}

.lower-layout-right {
  display: flex;
  flex-direction: column;
  gap: 14px;
  min-width: 0;
}

.sidebar-item {
  min-width: 0;
}

/* ==========================================================================
   BANNER SLIDER (Under Direction & Disclosure)
   ========================================================================== */
.lqd-banner-slider-block {
  width: 100%;
  border-radius: 4px;
  overflow: hidden;
}

.banner-slider-track-wrap {
  position: relative;
  overflow: hidden;
  border-radius: 4px;
  box-shadow: var(--shadow-sm);
  background: #f8fafc;
}

.banner-slider-track {
  display: flex;
  transition: transform 0.4s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.banner-slide-item {
  flex: 0 0 100%;
  max-width: 100%;
  min-width: 100%;
  box-sizing: border-box;
}

.banner-slide-link {
  display: block;
  width: 100%;
  overflow: hidden;
}

.banner-slide-img {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.3s ease;
}

.banner-slide-link:hover .banner-slide-img {
  transform: scale(1.015);
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.45);
  color: #ffffff;
  border: none;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 5;
  transition: var(--transition);
  font-size: 12px;
  opacity: 0.7;
}

.slider-arrow:hover {
  background: var(--primary-color, #033a7e);
  opacity: 1;
}

.slider-arrow-prev {
  left: 8px;
}

.slider-arrow-next {
  right: 8px;
}

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

.banner-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.6);
  border: none;
  padding: 0;
  cursor: pointer;
  transition: all 0.25s ease;
}

.banner-dot.active {
  width: 20px;
  border-radius: 4px;
  background: #ffffff;
}

/* ==========================================================================
   RIGHT COLUMN BANNERS (Under Dossier Stats)
   ========================================================================== */
.lqd-right-banners-block {
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 100%;
}

.right-banner-card {
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.right-banner-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

.right-banner-link {
  display: block;
  width: 100%;
}

.right-banner-img {
  width: 100%;
  height: auto;
  display: block;
}

/* Direction Block */
.direction-list-wrap {
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.direction-row-item {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  padding-bottom: 8px;
  border-bottom: 1px dashed var(--border-color);
}

.direction-row-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.dir-icon {
  color: var(--primary-color);
  font-size: 13px;
  margin-top: 2px;
}

.dir-title {
  font-size: 12px;
  font-weight: 600;
  flex: 1;
  min-width: 0;
  line-height: 1.35;
}

.dir-date {
  font-size: 11px;
  color: var(--text-muted);
  white-space: nowrap;
}

/* Disclosure Block */
.disclosure-list-wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.disclosure-row-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 6px 8px;
  background: #f8fafc;
  border-radius: 4px;
  border: 1px solid #f1f5f9;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  transition: var(--transition);
}

.disclosure-row-item:hover {
  background: #f0fdf4;
  color: #166534;
  border-color: #bbf7d0;
}

.disc-icon-badge {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #dcfce7;
  color: #16a34a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
}

/* ==========================================================================
   MULTIMEDIA HOMEPAGE BLOCK (Featured Video + 5 Videos + Radio + Gallery)
   ========================================================================== */
.lqd-multimedia-block {
  overflow: hidden;
}

.multimedia-tabs-nav {
  display: flex;
  gap: 6px;
  margin-bottom: 14px;
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 8px;
}

.multimedia-tabs-nav .tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 12px;
  font-size: 12.5px;
  font-weight: 700;
  border-radius: 4px;
  transition: all 0.2s ease;
}

/* --------------------------------------------------------------------------
   1. VIDEO SECTION: 1 FEATURED VIDEO + LIST OF 5 VIDEOS
   -------------------------------------------------------------------------- */
.lqd-featured-video-wrap {
  margin-bottom: 12px;
}

.featured-video-player {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
  border-radius: 6px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.featured-video-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.featured-video-player:hover .featured-video-poster {
  transform: scale(1.02);
  opacity: 0.95;
}

.featured-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.15) 0%, rgba(0,0,0,0) 40%, rgba(0,0,0,0.85) 100%);
  pointer-events: none;
}

/* Central Instant Play Button */
.btn-featured-play {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(3, 58, 126, 0.95);
  border: 3px solid #ffffff;
  color: #ffffff;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.45);
  transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.btn-featured-play i {
  margin-left: 3px; /* visual center for play icon */
}

.btn-featured-play:hover {
  transform: translate(-50%, -50%) scale(1.12);
  background: #022c61;
  box-shadow: 0 6px 22px rgba(3, 58, 126, 0.6);
}

.play-pulse-ring {
  position: absolute;
  inset: -6px;
  border-radius: 50%;
  border: 2px solid rgba(255, 255, 255, 0.6);
  animation: lqdPlayRingPulse 2s infinite ease-out;
  pointer-events: none;
}

@keyframes lqdPlayRingPulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.2); opacity: 0.3; }
  100% { transform: scale(1.4); opacity: 0; }
}

.featured-video-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: var(--primary-color, #033a7e);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 5;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.featured-video-duration {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 3px;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.featured-video-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  z-index: 5;
  pointer-events: none;
}

.featured-video-title {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.8);
  margin: 0;
}

/* List of 5 Other Videos Below */
.lqd-video-sublist-wrap {
  margin-top: 10px;
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
}

.video-sublist-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 11.5px;
  font-weight: 700;
  color: var(--primary-color, #033a7e);
}

.sublist-count {
  font-size: 11px;
  background: #f1f5f9;
  color: #475569;
  padding: 1px 6px;
  border-radius: 10px;
}

.lqd-video-sublist {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.video-sublist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 8px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
  position: relative;
}

.video-sublist-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  transform: translateX(3px);
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
}

.video-sublist-item.active-playing {
  background: #f0f7ff;
  border-color: #93c5fd;
  border-left: 4px solid var(--primary-color, #033a7e);
}

.subvideo-thumb-box {
  position: relative;
  width: 82px;
  aspect-ratio: 16 / 9;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #000;
}

.subvideo-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.subvideo-play-badge {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  font-size: 11px;
  transition: background 0.2s ease;
}

.video-sublist-item:hover .subvideo-play-badge {
  background: rgba(3, 58, 126, 0.7);
}

.subvideo-dur-tag {
  position: absolute;
  bottom: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.75);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 600;
  padding: 1px 4px;
  border-radius: 2px;
}

.subvideo-content {
  flex: 1 1 0%;
  min-width: 0;
}

.subvideo-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  color: #1e293b;
  margin: 0 0 3px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  transition: color 0.15s ease;
}

.video-sublist-item:hover .subvideo-title {
  color: var(--primary-color, #033a7e);
}

.subvideo-meta {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 8px;
}

.subvideo-status-playing {
  display: none;
  color: var(--primary-color);
  font-weight: 700;
  font-size: 10.5px;
}

.video-sublist-item.active-playing .subvideo-status-playing {
  display: inline-flex;
  align-items: center;
  gap: 3px;
}

.video-sublist-item.active-playing .subvideo-date {
  display: none;
}

.btn-subvideo-play-action {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1px solid #cbd5e1;
  background: #ffffff;
  color: #64748b;
  font-size: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: all 0.2s ease;
}

.video-sublist-item:hover .btn-subvideo-play-action {
  background: var(--primary-color, #033a7e);
  border-color: var(--primary-color, #033a7e);
  color: #ffffff;
}

/* Quick Media Strips under Video Tab */
.multimedia-quick-links-strip {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.quick-media-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 8px 10px;
  border-radius: 5px;
  border: 1px solid #e2e8f0;
  cursor: pointer;
  transition: all 0.2s ease;
}

.quick-radio-item {
  background: #f0fdf4;
  border-color: #bbf7d0;
}

.quick-radio-item:hover {
  background: #dcfce7;
  border-color: #86efac;
}

.quick-gallery-item {
  background: #eff6ff;
  border-color: #bfdbfe;
}

.quick-gallery-item:hover {
  background: #dbeafe;
  border-color: #93c5fd;
}

.quick-media-icon {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.quick-radio-item .quick-media-icon {
  background: #16a34a;
  color: #ffffff;
}

.quick-gallery-item .quick-media-icon {
  background: #2563eb;
  color: #ffffff;
}

.quick-media-text {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.quick-media-label {
  font-size: 10px;
  font-weight: 700;
  color: #64748b;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.quick-media-name {
  font-size: 12px;
  font-weight: 600;
  color: #1e293b;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-quick-play-media {
  background: #16a34a;
  color: #ffffff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.25);
  transition: background 0.2s ease;
}

.btn-quick-play-media:hover {
  background: #15803d;
}

.btn-quick-view-gallery {
  background: #2563eb;
  color: #ffffff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(37, 99, 235, 0.25);
  transition: background 0.2s ease;
}

.btn-quick-view-gallery:hover {
  background: #1d4ed8;
}

/* --------------------------------------------------------------------------
   2. RADIO BROADCAST SECTION (PLAY MEDIA - LIVE AUDIO PLAYER)
   -------------------------------------------------------------------------- */
.lqd-audio-player-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
  color: #ffffff;
  border-radius: 6px;
  padding: 14px 16px;
  box-shadow: 0 4px 14px rgba(15, 23, 42, 0.25);
  margin-bottom: 14px;
}

.audio-player-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.audio-badge-station {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11px;
  font-weight: 700;
  color: #fca5a5;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}

.live-dot-pulse {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 8px #ef4444;
  animation: lqdDotPulse 1.4s infinite;
}

@keyframes lqdDotPulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.4; transform: scale(1.3); }
}

.audio-badge-tag {
  background: rgba(255, 255, 255, 0.15);
  color: #38bdf8;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 3px;
}

.audio-track-info {
  margin-bottom: 12px;
}

.audio-track-title {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 4px 0;
  min-height: 36px;
}

.audio-track-meta {
  font-size: 11.5px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 6px;
  flex-wrap: wrap;
}

.audio-controls-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.btn-audio-main-play {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--primary-color, #033a7e);
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  box-shadow: 0 3px 10px rgba(3, 58, 126, 0.4);
  transition: all 0.2s ease;
}

.btn-audio-main-play:hover {
  transform: scale(1.08);
  background: var(--primary-hover, #022c61);
}

.audio-playback-center {
  flex: 1 1 0%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

/* Equalizer Bars */
.audio-wave-bars {
  display: flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
  margin-bottom: 2px;
}

.audio-wave-bars span {
  display: block;
  width: 3px;
  background: #38bdf8;
  border-radius: 2px;
  height: 4px;
  transition: height 0.1s ease;
}

.audio-wave-bars.is-animating span {
  animation: lqdWaveDance 1s infinite alternate ease-in-out;
}

.audio-wave-bars.is-animating span:nth-child(1) { animation-delay: 0.1s; }
.audio-wave-bars.is-animating span:nth-child(2) { animation-delay: 0.3s; }
.audio-wave-bars.is-animating span:nth-child(3) { animation-delay: 0.5s; }
.audio-wave-bars.is-animating span:nth-child(4) { animation-delay: 0.2s; }
.audio-wave-bars.is-animating span:nth-child(5) { animation-delay: 0.4s; }
.audio-wave-bars.is-animating span:nth-child(6) { animation-delay: 0.6s; }
.audio-wave-bars.is-animating span:nth-child(7) { animation-delay: 0.15s; }
.audio-wave-bars.is-animating span:nth-child(8) { animation-delay: 0.35s; }
.audio-wave-bars.is-animating span:nth-child(9) { animation-delay: 0.55s; }
.audio-wave-bars.is-animating span:nth-child(10) { animation-delay: 0.25s; }

@keyframes lqdWaveDance {
  0% { height: 3px; }
  100% { height: 14px; }
}

.audio-scrubber-track {
  width: 100%;
  height: 5px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  position: relative;
  cursor: pointer;
  overflow: hidden;
}

.audio-scrubber-played {
  height: 100%;
  background: #38bdf8;
  border-radius: 3px;
  transition: width 0.1s linear;
}

.audio-time-display {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 10.5px;
  color: #94a3b8;
  font-family: monospace;
}

.btn-audio-vol-toggle {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 15px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s ease;
}

.btn-audio-vol-toggle:hover {
  color: #ffffff;
}

/* Audio Playlist Items */
.lqd-audio-playlist-wrap {
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
}

.playlist-header-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.playlist-badge {
  font-size: 11px;
  background: #f1f5f9;
  color: #475569;
  padding: 1px 6px;
  border-radius: 10px;
}

.lqd-audio-playlist-items {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.audio-playlist-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.audio-playlist-item:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

.audio-playlist-item.is-active-item {
  background: #f0fdf4;
  border-color: #86efac;
  border-left: 4px solid #16a34a;
}

.playlist-item-icon {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #e2e8f0;
  color: #475569;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  flex-shrink: 0;
  position: relative;
}

.audio-playlist-item.is-active-item .playlist-item-icon {
  background: #16a34a;
  color: #ffffff;
}

.mini-eq-bars {
  display: none;
  gap: 2px;
  align-items: flex-end;
  height: 10px;
}

.audio-playlist-item.is-active-item .mini-eq-bars {
  display: flex;
}

.audio-playlist-item.is-active-item .playlist-item-icon i {
  display: none;
}

.mini-eq-bars span {
  width: 2px;
  background: #ffffff;
  animation: lqdWaveDance 0.8s infinite alternate;
}
.mini-eq-bars span:nth-child(2) { animation-delay: 0.2s; }
.mini-eq-bars span:nth-child(3) { animation-delay: 0.4s; }

.playlist-item-body {
  flex: 1 1 0%;
  min-width: 0;
}

.playlist-item-title {
  font-size: 12.5px;
  font-weight: 600;
  color: #1e293b;
  margin: 0 0 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.audio-playlist-item:hover .playlist-item-title {
  color: #16a34a;
}

.playlist-item-meta {
  font-size: 11px;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 6px;
}

.btn-playlist-play-media {
  background: #16a34a;
  color: #ffffff;
  border: none;
  padding: 4px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  cursor: pointer;
  white-space: nowrap;
  box-shadow: 0 1px 3px rgba(22, 163, 74, 0.25);
  transition: background 0.15s ease, transform 0.15s ease;
  flex-shrink: 0;
}

.btn-playlist-play-media:hover {
  background: #15803d;
  transform: scale(1.04);
}

/* --------------------------------------------------------------------------
   3. PHOTO GALLERY SECTION (ALBUM ẢNH & LIGHTBOX)
   -------------------------------------------------------------------------- */
.gallery-featured-box {
  margin-bottom: 12px;
  cursor: pointer;
}

.gallery-cover-holder {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 6px;
  overflow: hidden;
  background: #000;
  box-shadow: 0 3px 10px rgba(0,0,0,0.15);
}

.gallery-main-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.gallery-cover-holder:hover .gallery-main-cover {
  transform: scale(1.04);
}

.gallery-cover-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.1) 0%, rgba(0,0,0,0.75) 100%);
}

.gallery-count-tag {
  position: absolute;
  top: 10px;
  left: 10px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 3px;
  z-index: 5;
  backdrop-filter: blur(4px);
}

.btn-open-gallery-lightbox {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(255, 255, 255, 0.9);
  color: #0f172a;
  border: none;
  font-size: 11px;
  font-weight: 700;
  padding: 4px 9px;
  border-radius: 3px;
  cursor: pointer;
  z-index: 5;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
}

.btn-open-gallery-lightbox:hover {
  background: #ffffff;
  color: var(--primary-color, #033a7e);
  transform: scale(1.05);
}

.gallery-caption-box {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px;
  z-index: 5;
}

.gallery-caption-title {
  color: #ffffff;
  font-size: 13.5px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 2px 0;
  text-shadow: 0 1px 3px rgba(0,0,0,0.8);
}

.gallery-caption-date {
  font-size: 11px;
  color: #cbd5e1;
}

.gallery-subgrid-wrap {
  border-top: 1px dashed var(--border-color);
  padding-top: 10px;
}

.subgrid-heading {
  font-size: 11.5px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 8px;
}

.gallery-subgrid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.gallery-card-item {
  display: flex;
  flex-direction: column;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  overflow: hidden;
  cursor: pointer;
  transition: all 0.2s ease;
}

.gallery-card-item:hover {
  transform: translateY(-2px);
  border-color: #94a3b8;
  box-shadow: 0 3px 8px rgba(0,0,0,0.08);
}

.card-thumb-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #000;
}

.card-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.gallery-card-item:hover .card-thumb {
  transform: scale(1.06);
}

.card-count-badge {
  position: absolute;
  top: 4px;
  right: 4px;
  background: rgba(0, 0, 0, 0.7);
  color: #ffffff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 2px;
}

.card-hover-action {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.2s ease;
}

.gallery-card-item:hover .card-hover-action {
  opacity: 1;
}

.card-info {
  padding: 6px;
}

.card-title {
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  color: #1e293b;
  margin: 0 0 2px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.gallery-card-item:hover .card-title {
  color: var(--primary-color, #033a7e);
}

.card-date {
  font-size: 9.5px;
  color: #64748b;
}

/* Lightbox Modal */
.lqd-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.lightbox-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(4px);
}

.lightbox-content-box {
  position: relative;
  z-index: 10;
  width: 100%;
  max-width: 860px;
  background: #0f172a;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
}

.btn-lightbox-close {
  position: absolute;
  top: 10px;
  right: 12px;
  background: transparent;
  border: none;
  color: #ffffff;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  z-index: 20;
  opacity: 0.8;
  transition: opacity 0.15s ease;
}

.btn-lightbox-close:hover {
  opacity: 1;
  color: #ef4444;
}

.lightbox-header {
  padding: 12px 18px;
  background: #1e293b;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-right: 48px;
}

.lightbox-album-title {
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
  margin: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.lightbox-counter {
  font-size: 12px;
  color: #94a3b8;
  font-weight: 600;
  white-space: nowrap;
}

.lightbox-stage {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000000;
  min-height: 380px;
  max-height: 60vh;
}

.lightbox-image-holder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-active-img {
  max-width: 100%;
  max-height: 58vh;
  object-fit: contain;
  display: block;
}

.lightbox-nav-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.65);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
  font-size: 22px;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 15;
  transition: all 0.2s ease;
}

.lightbox-nav-btn:hover {
  background: var(--primary-color, #033a7e);
  border-color: #ffffff;
  transform: translateY(-50%) scale(1.1);
}

.lightbox-nav-btn.btn-prev { left: 14px; }
.lightbox-nav-btn.btn-next { right: 14px; }

.lightbox-thumbnails-strip {
  padding: 10px 14px;
  background: #1e293b;
  display: flex;
  gap: 8px;
  overflow-x: auto;
  scrollbar-width: thin;
}

.lightbox-thumbnails-strip img {
  width: 60px;
  height: 42px;
  object-fit: cover;
  border-radius: 3px;
  cursor: pointer;
  opacity: 0.55;
  border: 2px solid transparent;
  transition: all 0.15s ease;
}

.lightbox-thumbnails-strip img:hover {
  opacity: 0.85;
}

.lightbox-thumbnails-strip img.active {
  opacity: 1;
  border-color: #38bdf8;
  transform: scale(1.05);
}

@media (max-width: 768px) {
  .gallery-subgrid {
    grid-template-columns: repeat(2, 1fr);
  }
  .lightbox-stage {
    min-height: 260px;
  }
}


/* ==========================================================================
   8.5. KẾT QUẢ GIẢI QUYẾT HỒ SƠ (ADMINISTRATIVE DOSSIER STATS)
   ========================================================================== */
.lqd-dossier-block {
  margin-top: 16px;
  background: #ffffff;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  padding: 16px;
}

.dossier-unit-header {
  background: linear-gradient(135deg, var(--primary-color, #033a7e) 0%, var(--primary-dark, #022147) 100%);
  border-radius: 4px;
  padding: 7px 10px;
  margin-bottom: 12px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #ffffff;
  box-shadow: 0 1px 3px rgba(2, 33, 71, 0.2);
}

.dossier-unit-badge {
  display: flex;
  align-items: center;
  gap: 8px;
}

.dossier-emblem {
  width: 24px;
  height: 24px;
  object-fit: contain;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.25));
}

.dossier-unit-name {
  font-family: var(--font-serif);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 0.3px;
  text-transform: uppercase;
}

.dossier-portal-tag {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 7px;
  border-radius: 10px;
  letter-spacing: 0.3px;
}

.dossier-metrics-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.dossier-metric-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 4px;
  border: 1px solid #f1f5f9;
  background: #f8fafc;
  transition: var(--transition);
}

.dossier-metric-item:hover {
  transform: translateY(-1px);
  box-shadow: 0 2px 5px rgba(0,0,0,0.06);
}

.dossier-metric-item .metric-icon {
  width: 30px;
  height: 30px;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  flex-shrink: 0;
}

.dossier-metric-item .metric-data {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.dossier-metric-item .metric-label {
  font-size: 11px;
  color: var(--text-muted);
  font-weight: 500;
  line-height: 1.2;
}

.dossier-metric-item .metric-value {
  font-size: 15px;
  font-weight: 800;
  line-height: 1.2;
  font-family: var(--font-sans);
}

/* Metric Colors */
.metric-tiep-nhan .metric-icon {
  background: #e0f2fe;
  color: #033a7e;
}
.metric-tiep-nhan .metric-value {
  color: #033a7e;
}

.metric-dang-xu-ly .metric-icon {
  background: #fef3c7;
  color: #b45309;
}
.metric-dang-xu-ly .metric-value {
  color: #b45309;
}

.metric-tra-ket-qua .metric-icon {
  background: #dcfce7;
  color: #15803d;
}
.metric-tra-ket-qua .metric-value {
  color: #15803d;
}

.metric-tre-han .metric-icon {
  background: #f1f5f9;
  color: #64748b;
}
.metric-tre-han .metric-value {
  color: #dc2626;
}

/* Progress & Breakdown Section */
.dossier-progress-section {
  background: #faf6f0;
  border: 1px solid #ede3d1;
  border-radius: 6px;
  padding: 10px;
  margin-bottom: 12px;
}

.progress-title-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.progress-title {
  font-size: 11.5px;
  font-weight: 700;
  color: #7a3e0f;
  display: flex;
  align-items: center;
  gap: 5px;
}

.progress-title i {
  color: var(--primary-color);
}

.progress-pct-highlight {
  font-size: 13.5px;
  font-weight: 800;
  color: #15803d;
  background: #dcfce7;
  padding: 1px 7px;
  border-radius: 4px;
}

.dossier-progress-bar {
  height: 8px;
  border-radius: 4px;
  background: #e2e8f0;
  overflow: hidden;
  display: flex;
  margin-bottom: 8px;
}

.progress-segment {
  height: 100%;
  transition: width 0.4s ease;
}

.segment-truoc-han {
  background: #10b981;
}

.segment-dung-han {
  background: #0ea5e9;
}

.segment-tre-han {
  background: #ef4444;
}

.dossier-legend-list {
  display: flex;
  justify-content: space-between;
  font-size: 10.5px;
}

.legend-item {
  display: flex;
  align-items: center;
  gap: 4px;
}

.legend-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

.legend-truoc-han .legend-dot {
  background: #10b981;
}
.legend-dung-han .legend-dot {
  background: #0ea5e9;
}
.legend-tre-han .legend-dot {
  background: #ef4444;
}

.legend-name {
  color: #64748b;
}

.legend-val {
  font-weight: 700;
  color: #1e293b;
}

/* Timestamp Note */
.dossier-time-note {
  text-align: center !important;
  font-size: 11.5px;
  font-style: italic !important;
  color: #64748b;
  margin-top: 6px;
  margin-bottom: 10px;
  line-height: 1.3;
  width: 100%;
  display: block;
}

/* Footer Action */
.dossier-footer-bar {
  display: flex;
  gap: 8px;
}

.dossier-btn-action {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  flex: 1;
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  text-decoration: none;
  transition: var(--transition);
  box-sizing: border-box;
}

.dossier-btn-primary {
  background: var(--primary-color, #033a7e);
  color: #ffffff;
  border: 1px solid var(--primary-color, #033a7e);
}

.dossier-btn-primary:hover {
  background: var(--primary-hover, #022c61);
  color: #ffffff;
  border-color: var(--primary-hover, #022c61);
}

.dossier-btn-secondary {
  background: #ffffff;
  color: #475569;
  border: 1px solid #cbd5e1;
}

.dossier-btn-secondary:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* ==========================================================================
   9. PARTNER LINKS SECTION (Sidebar Select Dropdown & Legacy Grid)
   ========================================================================== */
.lqd-partners-sidebar-block {
  margin-bottom: 0;
}

.partner-select-wrap {
  display: flex;
  flex-direction: column;
}

.partner-select-box {
  margin-bottom: 0;
}

.partner-select-label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 11.5px;
  font-weight: 700;
  color: #334155;
  margin-bottom: 5px;
}

.partner-select-label i {
  color: var(--primary-color, #033a7e);
  font-size: 12px;
}

.partner-select-row {
  display: flex;
  gap: 6px;
  align-items: center;
}

.lqd-select-input {
  flex: 1;
  min-width: 0;
  height: 34px;
  padding: 0 8px;
  font-size: 12px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  background-color: #f8fafc;
  color: #1e293b;
  outline: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lqd-select-input:hover {
  border-color: #94a3b8;
  background-color: #fff;
}

.lqd-select-input:focus {
  border-color: var(--primary-color, #033a7e);
  background-color: #fff;
  box-shadow: 0 0 0 2px rgba(3, 58, 126, 0.12);
}

.lqd-select-input optgroup {
  font-weight: 700;
  color: #0f172a;
  background: #f1f5f9;
  padding: 4px 0;
}

.lqd-select-input option {
  padding: 5px 8px;
  color: #334155;
  background: #fff;
}

.btn-select-go {
  height: 34px;
  width: 34px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--primary-color, #033a7e);
  color: #ffffff;
  border: none;
  border-radius: 4px;
  font-size: 12px;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.1s ease;
  flex-shrink: 0;
}

.btn-select-go:hover {
  background: var(--primary-hover, #022c61);
  color: #ffffff;
}

.btn-select-go:active {
  transform: scale(0.95);
}

.partner-quick-links {
  margin-top: 12px;
  padding-top: 10px;
  border-top: 1px dashed #e2e8f0;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

.partner-quick-chip {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 4px 8px;
  border-radius: 4px;
  font-size: 11px;
  font-weight: 600;
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #e2e8f0;
  text-decoration: none;
  transition: all 0.2s ease;
}

.partner-quick-chip:hover {
  background: #e2e8f0;
  color: var(--primary-color, #033a7e);
  border-color: #cbd5e1;
}

.partner-quick-chip.partner-chip-lqd {
  background: #fffbeb;
  color: #92400e;
  border-color: #fde68a;
}

.partner-quick-chip.partner-chip-lqd:hover {
  background: #fef3c7;
  color: #78350f;
}

.lqd-partners-section {
  padding-bottom: 25px;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 10px;
}

/* ==========================================================================
   10. FOOTER STYLES
   ========================================================================== */
.lqd-site-footer {
  background-color: var(--footer-bg);
  color: #f8fafc;
  margin-top: 15px;
  border-top: 4px solid var(--primary-dark);
}

.lqd-footer-inner {
  display: grid;
  grid-template-columns: 1.8fr 1fr 1fr;
  gap: 30px;
  padding: 30px 15px 25px;
}

.footer-brand {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

.footer-emblem {
  width: 55px;
  height: 55px;
  object-fit: contain;
}

.footer-portal-name {
  font-family: var(--font-serif);
  font-size: 13px;
  font-weight: 700;
  color: #bae6fd;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-commune-name {
  font-family: var(--font-serif);
  font-size: 17px;
  font-weight: 700;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.2;
}

.footer-meta {
  font-size: 13px;
  line-height: 1.8;
  color: #e2e8f0;
}

.footer-meta .sep {
  color: rgba(255,255,255,0.4);
  margin: 0 4px;
}

.footer-col-links .footer-link-list li {
  margin-bottom: 6px;
}

.footer-col-links .footer-link-list li a {
  color: #e2e8f0;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.footer-col-links .footer-link-list li a:hover {
  color: var(--accent-gold);
  padding-left: 4px;
}

.footer-col-links .footer-link-list li a i {
  font-size: 10px;
  color: var(--accent-gold);
}

.footer-heading {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: #ffffff;
  margin-bottom: 12px;
  letter-spacing: 0.5px;
}

.footer-social-links {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
}

.social-icon {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  font-size: 15px;
  transition: var(--transition);
}

.social-icon:hover {
  transform: translateY(-2px);
  filter: brightness(1.15);
}

.icon-fb { background: #1877f2; }
.icon-yt { background: #ff0000; }
.icon-zalo { background: #0068ff; font-weight: 800; font-size: 10px; }

.footer-visitor-counter {
  background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.15);
  padding: 8px 12px;
  border-radius: 4px;
  font-size: 12.5px;
  color: #f1f5f9;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.footer-visitor-counter i {
  color: #4ade80;
}

.footer-visitor-counter strong {
  color: #fef08a;
}

.lqd-footer-bottom {
  background-color: var(--footer-bottom);
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 10px 0;
  font-size: 12px;
  color: #cbd5e1;
}

.lqd-footer-bottom-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* ==========================================================================
   11. PAGE LAYOUT, BREADCRUMBS & SIDEBAR
   ========================================================================== */
.lqd-page-banner {
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
  padding: 10px 0;
  margin-bottom: 20px;
}

.lqd-breadcrumbs {
  font-size: 12.5px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}

.lqd-breadcrumbs a {
  color: var(--text-muted);
}

.lqd-breadcrumbs a:hover {
  color: var(--primary-color);
}

.lqd-breadcrumbs .sep {
  color: #cbd5e1;
}

.lqd-breadcrumbs .current {
  color: #1e293b;
  font-weight: 600;
}

.lqd-main-container {
  padding-bottom: 30px;
}

.lqd-layout-grid {
  display: grid;
  grid-template-columns: 2.8fr 1.2fr;
  gap: 20px;
  align-items: start;
}

/* Sidebar Widgets */
.sidebar-widget {
  margin-bottom: 20px;
}

.widget-title {
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 8px;
  margin-bottom: 12px;
  position: relative;
}

.widget-title::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 50px;
  height: 2px;
  background-color: var(--primary-color);
}

.sidebar-search-form {
  display: flex;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
}

.sidebar-search-form input {
  flex: 1;
  border: none;
  padding: 8px 12px;
  font-size: 13px;
  outline: none;
}

.sidebar-search-form button {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 0 14px;
  cursor: pointer;
}

.sidebar-notice-list li,
.sidebar-doc-list li {
  padding: 8px 0;
  border-bottom: 1px dashed var(--border-color);
  font-size: 12.5px;
}

.sidebar-notice-list li:last-child,
.sidebar-doc-list li:last-child {
  border-bottom: none;
}

.sidebar-notice-list li a {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #1e293b;
  font-weight: 600;
}

.sidebar-notice-list .notice-badge {
  background: #fee2e2;
  color: var(--primary-color);
  font-size: 10.5px;
  font-weight: 800;
  padding: 2px 5px;
  border-radius: 3px;
  flex-shrink: 0;
}

.sidebar-doc-list li a {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  color: #1e293b;
}

.sidebar-doc-list li a i {
  color: #ef4444;
  margin-top: 3px;
  flex-shrink: 0;
}

.sidebar-quick-btn-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-dvc-card {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-left: 4px solid var(--primary-color);
  padding: 12px 14px;
  border-radius: 4px;
  transition: var(--transition);
}

.btn-dvc-card:hover {
  background: #ffffff;
  box-shadow: var(--shadow-sm);
  transform: translateX(3px);
}

.btn-dvc-card i {
  font-size: 22px;
  color: var(--primary-color);
}

.btn-dvc-card strong {
  display: block;
  font-size: 13px;
  color: #1e293b;
}

.btn-dvc-card small {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==========================================================================
   12. TABLES & DOCUMENT DATABASE COMPONENTS
   ========================================================================== */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.lqd-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.lqd-table th {
  background: #f8fafc;
  color: #334155;
  font-weight: 700;
  text-align: left;
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  white-space: nowrap;
}

.lqd-table td {
  padding: 10px 12px;
  border: 1px solid var(--border-color);
  vertical-align: middle;
}

.lqd-table tr:hover {
  background-color: #f8fafc;
}

.table-doc-number {
  color: #0056b3;
  white-space: nowrap;
}

.table-doc-title {
  color: #1e293b;
  font-weight: 500;
  line-height: 1.4;
}

.btn-table-download {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  background: #ef4444;
  color: #ffffff;
  padding: 4px 9px;
  border-radius: 3px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.btn-table-download:hover {
  background: #dc2626;
  color: #ffffff;
}

.btn-table-view {
  display: inline-block;
  background: #e2e8f0;
  color: #334155;
  padding: 3px 10px;
  border-radius: 3px;
  font-size: 11.5px;
}

/* Filter Card */
.doc-filter-card {
  padding: 20px;
  margin-bottom: 20px;
}

.filter-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 2px solid var(--primary-color);
  padding-bottom: 8px;
  margin-bottom: 16px;
}

.filter-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 15px;
}

.filter-field label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  color: #475569;
  margin-bottom: 4px;
}

.filter-field input,
.filter-field select {
  width: 100%;
  padding: 7px 10px;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  font-size: 13px;
  font-family: inherit;
}

.filter-actions {
  display: flex;
  gap: 10px;
  margin-top: 15px;
  justify-content: flex-end;
}

.btn-filter-submit {
  background: var(--primary-color);
  color: #ffffff;
  border: none;
  padding: 8px 18px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.btn-filter-submit:hover {
  background: var(--primary-hover);
}

.btn-filter-reset {
  background: #e2e8f0;
  color: #475569;
  padding: 8px 16px;
  border-radius: 4px;
  font-weight: 600;
  font-size: 13px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

/* Document Detail Attributes */
.doc-detail-header {
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 15px;
  margin-bottom: 18px;
}

.doc-badge-type {
  display: inline-block;
  background: var(--primary-color);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  margin-bottom: 8px;
}

.doc-detail-title {
  font-size: 20px;
  font-weight: 700;
  color: #1e293b;
  line-height: 1.4;
}

.doc-attributes-box {
  background: #f8fafc;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  margin-bottom: 20px;
  overflow: hidden;
}

.doc-attributes-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.doc-attributes-table th,
.doc-attributes-table td {
  padding: 9px 12px;
  border-bottom: 1px solid var(--border-color);
}

.doc-attributes-table th {
  width: 18%;
  background: #f1f5f9;
  color: #334155;
  font-weight: 600;
  text-align: right;
  vertical-align: top;
}

.status-badge {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 3px;
  font-size: 11.5px;
  font-weight: 700;
}

.status-active { background: #dcfce7; color: #166534; }
.status-expired { background: #fee2e2; color: #991b1b; }
.status-partially { background: #fef3c7; color: #92400e; }
.status-pending { background: #e2e8f0; color: #475569; }

.doc-action-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #f8fafc;
  padding: 12px 15px;
  border-radius: 4px;
  border: 1px solid var(--border-color);
  margin-bottom: 25px;
  flex-wrap: wrap;
  gap: 15px;
}

.doc-download-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.btn-doc-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 14px;
  border-radius: 4px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  border: none;
}

.btn-pdf { background: #ef4444; color: #ffffff; }
.btn-pdf:hover { background: #dc2626; color: #ffffff; }
.btn-word { background: #2563eb; color: #ffffff; }
.btn-word:hover { background: #1d4ed8; color: #ffffff; }
.btn-print-doc { background: #475569; color: #ffffff; }

.doc-qr-code {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 11.5px;
  color: var(--text-muted);
}

.doc-section-heading {
  font-size: 15px;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 6px;
  margin: 20px 0 12px;
}

.doc-text-content {
  font-size: 14.5px;
  line-height: 1.8;
  color: #2d3748;
}

/* ==========================================================================
   ARTICLE DETAIL & MINIMAL NEWS TOOLBAR
   ========================================================================== */
.lqd-article-detail {
  padding: 24px 28px;
  background: #ffffff;
}

.entry-header {
  margin-bottom: 18px;
}

.entry-title {
  font-size: 25px;
  line-height: 1.35;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 12px;
  letter-spacing: -0.3px;
}

/* Minimal News Meta & Utility Toolbar (Single Slim Line) */
.lqd-article-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px 16px;
  padding: 6px 0 10px;
  margin-bottom: 18px;
  border-bottom: 1px solid #e2e8f0;
  background: transparent;
}

/* Left: Meta Info */
.toolbar-meta-info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: #64748b;
}

.meta-item {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: #64748b;
}

.meta-item i {
  color: #94a3b8;
  font-size: 12px;
}

.meta-datetime {
  color: #334155;
  font-weight: 500;
}

.meta-views {
  color: #64748b;
}

.meta-source {
  color: #475569;
}

.meta-sep {
  color: #cbd5e1;
  font-size: 11px;
}

/* Right: Utilities Toolbar */
.toolbar-actions-bar {
  display: flex;
  align-items: center;
  gap: 8px;
}

/* Font Sizer Buttons (Mini Group) */
.font-sizer-buttons {
  display: inline-flex;
  align-items: center;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.btn-font-size {
  background: transparent;
  border: none;
  border-right: 1px solid #e2e8f0;
  padding: 2px 7px;
  font-size: 11.5px;
  font-weight: 700;
  color: #475569;
  cursor: pointer;
  line-height: 1.5;
  transition: all 0.15s ease;
}

.btn-font-size:last-child {
  border-right: none;
}

.btn-font-size:hover {
  background: #f1f5f9;
  color: var(--primary-color, #033a7e);
}

.btn-font-size.active {
  background: #f1f5f9;
  color: var(--primary-color, #033a7e);
  font-weight: 800;
}

.tool-divider {
  width: 1px;
  height: 14px;
  background: #e2e8f0;
  margin: 0 1px;
}

/* Print Icon Button */
.tool-btn-action {
  width: 26px;
  height: 26px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 4px;
  color: #475569;
  cursor: pointer;
  font-size: 12px;
  transition: all 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.03);
}

.tool-btn-action:hover {
  background: #f1f5f9;
  color: #0f172a;
  border-color: #94a3b8;
}

/* Social Share Mini Icons */
.tool-share-icons {
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.btn-share-icon {
  width: 26px;
  height: 26px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  color: #ffffff !important;
  border: none;
  cursor: pointer;
  text-decoration: none;
  transition: opacity 0.15s ease, transform 0.15s ease;
  box-shadow: 0 1px 2px rgba(0,0,0,0.06);
}

.btn-share-icon:hover {
  opacity: 0.88;
  transform: translateY(-1px);
}

.btn-share-fb {
  background: #1877f2;
}

.btn-share-zalo {
  background: #0068ff;
}

.btn-share-copy {
  background: #64748b;
}

.btn-share-copy:hover {
  background: #475569;
}

/* Article Excerpt */
.entry-excerpt {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.6;
  color: #334155;
  margin-bottom: 16px;
  padding: 0;
  background: transparent;
  border: none;
  font-style: normal;
}

/* Article Entry Content */
.entry-content {
  font-size: 16px;
  line-height: 1.85;
  color: #1e293b;
  word-break: break-word;
  transition: font-size 0.2s ease, line-height 0.2s ease;
}

.entry-content p {
  margin-bottom: 1.25em;
  text-align: justify;
}

.entry-content img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
  margin: 16px auto;
  display: block;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

.entry-content figcaption,
.entry-content .wp-caption-text {
  font-size: 13px;
  font-style: italic;
  color: #64748b;
  text-align: center;
  margin-top: -6px;
  margin-bottom: 16px;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  color: #0f172a;
  font-weight: 700;
  margin-top: 1.5em;
  margin-bottom: 0.6em;
  line-height: 1.35;
}

.entry-content h2 {
  font-size: 20px;
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 6px;
}

.entry-content h3 {
  font-size: 17px;
}

.entry-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 18px 0;
  font-size: 14px;
}

.entry-content th,
.entry-content td {
  border: 1px solid #cbd5e1;
  padding: 9px 12px;
}

.entry-content th {
  background: #f1f5f9;
  font-weight: 700;
  color: #1e293b;
}

.entry-content ul,
.entry-content ol {
  margin: 1em 0 1.25em 24px;
  padding: 0;
}

.entry-content li {
  margin-bottom: 0.5em;
  line-height: 1.7;
}

.entry-content blockquote {
  margin: 1.5em 0;
  padding: 12px 20px;
  background: #f8fafc;
  border-left: 4px solid #94a3b8;
  font-style: italic;
  color: #475569;
}

/* Print Styles */
@media print {
  .lqd-topbar,
  .lqd-header,
  .lqd-main-nav,
  .lqd-page-banner,
  .lqd-sidebar-area,
  .toolbar-actions-bar,
  .article-actions-bar,
  .related-posts-section,
  .lqd-footer,
  #lqd-copy-toast {
    display: none !important;
  }

  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 12pt;
    line-height: 1.5;
  }

  .lqd-main-container,
  .lqd-container,
  .lqd-layout-grid,
  .lqd-content-area,
  .lqd-article-detail {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    box-shadow: none !important;
    border: none !important;
  }

  .entry-title {
    font-size: 18pt !important;
    color: #000000 !important;
    margin-bottom: 10pt !important;
  }

  .lqd-article-toolbar {
    background: transparent !important;
    border: 1px solid #ccc !important;
    padding: 6pt 10pt !important;
    margin-bottom: 14pt !important;
  }

  .meta-badge-cat {
    background: #444 !important;
    color: #fff !important;
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
  }

  .entry-content {
    font-size: 12pt !important;
    line-height: 1.6 !important;
    color: #000000 !important;
  }
}

@media (max-width: 768px) {
  .lqd-article-detail {
    padding: 16px 14px;
  }

  .entry-title {
    font-size: 20px;
  }

  .lqd-article-toolbar {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .toolbar-meta-info {
    gap: 6px;
    font-size: 12px;
  }

  .toolbar-actions-bar {
    width: 100%;
    justify-content: flex-start;
    padding-top: 6px;
    border-top: 1px dashed #f1f5f9;
  }

  .entry-excerpt {
    font-size: 14.5px;
  }

  .entry-content {
    font-size: 15px;
  }
}

/* Article Actions Bar & QR Code */
.article-actions-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  padding: 12px 0;
  margin: 25px 0;
  flex-wrap: wrap;
  gap: 15px;
}

.share-tools {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.btn-share {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  border: none;
  cursor: pointer;
  font-size: 13px;
}

.btn-fb { background: #1877f2; }
.btn-zalo { background: #0068ff; font-weight: 800; font-size: 9px; }
.btn-print { background: #64748b; }

.qr-code-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.qr-label {
  font-size: 11.5px;
  color: var(--text-muted);
  max-width: 120px;
  line-height: 1.3;
}

/* Related Posts */
.related-posts-section {
  margin-top: 25px;
}

.related-title {
  font-size: 14px;
  font-weight: 700;
  color: var(--primary-color);
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 6px;
  margin-bottom: 12px;
}

.related-list li {
  padding: 6px 0;
  border-bottom: 1px dashed var(--border-color);
}

.related-list li a {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #1e293b;
}

.related-list li a:hover {
  color: var(--primary-color);
}

.rel-post-title {
  flex: 1;
}

.rel-post-date {
  font-size: 11.5px;
  color: var(--text-muted);
}

/* Pagination */
.lqd-pagination .nav-links {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 20px;
}

.lqd-pagination .page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  color: #334155;
  font-size: 13px;
  font-weight: 600;
}

.lqd-pagination .page-numbers.current,
.lqd-pagination .page-numbers:hover {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
}


/* ==========================================================================
   FANPAGE XÃ LONG HƯNG WIDGET (RIGHT COLUMN)
   ========================================================================== */
.fanpage-widget-card {
  padding: 12px 14px 14px;
}

.fanpage-widget-body {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.fanpage-profile-compact {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.fanpage-profile-compact:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.05);
}

.fanpage-avatar-wrap {
  position: relative;
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  border-radius: 50%;
  border: 2px solid #ffffff;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
  background: #ffffff;
}

.fanpage-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
  padding: 2px;
  display: block;
}

.fanpage-verified-check {
  position: absolute;
  bottom: -2px;
  right: -2px;
  color: #1877f2;
  font-size: 13px;
  background: #ffffff;
  border-radius: 50%;
  line-height: 1;
}

.fanpage-name-info {
  flex: 1;
  min-width: 0;
}

.fanpage-name-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
  flex-wrap: wrap;
}

.fanpage-page-name {
  font-size: 13.5px;
  font-weight: 700;
  margin: 0;
  line-height: 1.25;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.fanpage-page-name a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.fanpage-page-name a:hover {
  color: #1877f2;
}

/* Bỏ hoàn toàn nền "Kênh chính thức" */
.fanpage-badge-official {
  background: none !important;
  background-color: transparent !important;
  border: none !important;
  box-shadow: none !important;
  color: #16a34a !important;
  font-size: 11px !important;
  font-weight: 600 !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  line-height: 1;
}

.fanpage-badge-official i {
  font-size: 10.5px;
}

.fanpage-tagline {
  font-size: 11px;
  color: var(--text-muted);
  margin: 3px 0 0;
  line-height: 1.3;
}

.fb-page-frame-container {
  width: 100%;
  background: #f8fafc;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  min-height: 260px;
}

.fanpage-footer-action {
  margin-top: 0;
}

.btn-fb-follow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: #1877f2;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 1px 3px rgba(24, 119, 242, 0.2);
}

.btn-fb-follow:hover {
  background: #0d65d9;
  transform: translateY(-1px);
  box-shadow: 0 3px 8px rgba(24, 119, 242, 0.3);
  color: #ffffff;
}

/* ==========================================================================
   TH?NG TIN TUY?N TRUY?N (PROPAGANDA SECTION)
   ========================================================================== */
.lqd-propaganda-block {
  margin-top: 16px;
  padding: 14px 16px 16px;
}

.propaganda-content-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.propaganda-featured-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.propaganda-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.07);
  border-color: #cbd5e1;
}

.propaganda-featured-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f1f5f9;
}

.propaganda-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.propaganda-featured-card:hover .propaganda-feat-img {
  transform: scale(1.05);
}

.propaganda-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary-color, #d92525);
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 2;
}

.propaganda-featured-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.propaganda-featured-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.propaganda-featured-title a {
  color: var(--text-heading, #1e293b);
  transition: color 0.2s ease;
}

.propaganda-featured-card:hover .propaganda-featured-title a {
  color: var(--primary-color);
}

.propaganda-meta,
.propaganda-side-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.propaganda-meta i,
.propaganda-side-meta i {
  color: #94a3b8;
}

.propaganda-featured-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.propaganda-side-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}

.propaganda-side-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--border-color);
}

.propaganda-side-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.propaganda-side-thumb {
  width: 82px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #f1f5f9;
  display: block;
}

.propaganda-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.propaganda-side-item:hover .propaganda-side-img {
  transform: scale(1.08);
}

.propaganda-side-info {
  flex: 1;
  min-width: 0;
}

.propaganda-side-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.propaganda-side-title a {
  color: #1e293b;
  transition: color 0.2s ease;
}

.propaganda-side-item:hover .propaganda-side-title a {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .propaganda-content-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   C?I C?CH H?NH CH?NH V? CHUY?N ??I S? (CCHC & CDS SECTION)
   ========================================================================== */
.lqd-cchc-cds-block {
  margin-top: 16px;
  padding: 14px 16px 16px;
}

.cchc-cds-tabs {
  display: flex;
  gap: 8px;
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 8px;
}

.cchc-cds-tabs .tab-btn {
  background: #f8fafc;
  color: #475569;
  border: 1px solid var(--border-color);
  padding: 6px 14px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  transition: all 0.2s ease;
}

.cchc-cds-tabs .tab-btn:hover {
  background: #ffffff;
  color: var(--primary-color);
  border-color: #cbd5e1;
}

.cchc-cds-tabs .tab-btn.active {
  background: var(--primary-color);
  color: #ffffff;
  border-color: var(--primary-color);
  box-shadow: 0 2px 4px rgba(217, 37, 37, 0.25);
}

.cchc-cds-grid {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 16px;
  align-items: stretch;
}

.cchc-featured-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.cchc-featured-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.07);
  border-color: #cbd5e1;
}

.cchc-featured-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 180px;
  overflow: hidden;
  background: #f1f5f9;
}

.cchc-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.cchc-featured-card:hover .cchc-feat-img {
  transform: scale(1.05);
}

.cchc-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  color: #ffffff;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 3px 8px;
  border-radius: 3px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  z-index: 2;
}

.cchc-badge.badge-cchc {
  background: #0284c7;
}

.cchc-badge.badge-cds {
  background: #059669;
}

.cchc-badge.badge-general {
  background: var(--primary-color, #d92525);
}

.cchc-featured-info {
  padding: 12px 14px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cchc-featured-title {
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.4;
  margin-bottom: 6px;
}

.cchc-featured-title a {
  color: var(--text-heading, #1e293b);
  transition: color 0.2s ease;
}

.cchc-featured-card:hover .cchc-featured-title a {
  color: var(--primary-color);
}

.cchc-meta,
.cchc-side-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 8px;
}

.cchc-meta i,
.cchc-side-meta i {
  color: #94a3b8;
}

.cchc-featured-desc {
  font-size: 12.5px;
  color: #475569;
  line-height: 1.5;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cchc-side-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: space-between;
}

.cchc-side-item {
  display: flex;
  gap: 10px;
  align-items: center;
  padding-bottom: 9px;
  border-bottom: 1px dashed var(--border-color);
}

.cchc-side-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cchc-side-thumb {
  width: 82px;
  height: 56px;
  flex-shrink: 0;
  border-radius: 3px;
  overflow: hidden;
  background: #f1f5f9;
  display: block;
}

.cchc-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cchc-side-item:hover .cchc-side-img {
  transform: scale(1.08);
}

.cchc-side-info {
  flex: 1;
  min-width: 0;
}

.cchc-pill {
  display: inline-block;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 6px;
  border-radius: 3px;
  margin-bottom: 3px;
  text-transform: uppercase;
  line-height: 1.2;
}

.cchc-pill.badge-cchc {
  background: #e0f2fe;
  color: #0369a1;
}

.cchc-pill.badge-cds {
  background: #dcfce7;
  color: #15803d;
}

.cchc-pill.badge-general {
  background: #e0f2fe;
  color: #033a7e;
}

.cchc-side-title {
  font-size: 12px;
  font-weight: 600;
  line-height: 1.35;
  margin-bottom: 4px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cchc-side-title a {
  color: #1e293b;
  transition: color 0.2s ease;
}

.cchc-side-item:hover .cchc-side-title a {
  color: var(--primary-color);
}

@media (max-width: 768px) {
  .cchc-cds-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }
}

/* ==========================================================================
   RUNNING NOTICES MARQUEE TICKER (Dưới thanh Menu)
   ========================================================================== */
.lqd-notice-ticker-bar {
  background: #fffdf5;
  border-bottom: 1px solid #ebd9b0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 99;
  width: 100%;
  overflow: hidden;
}

.lqd-ticker-inner {
  display: flex;
  align-items: center;
  height: 38px;
  width: 100%;
  max-width: 100%;
  min-width: 0;
  overflow: hidden;
  padding: 0;
}

.lqd-ticker-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: transparent;
  color: var(--primary-color, #033a7e);
  font-weight: 800;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 0 12px 0 0;
  height: 100%;
  flex: 0 0 auto;
  box-shadow: none;
  border-right: 1px solid #ebd9b0;
  z-index: 5;
  white-space: nowrap;
}

.lqd-ticker-icon {
  font-size: 14px;
  color: var(--primary-color, #033a7e);
  display: inline-block;
  animation: lqdPulseHorn 2.2s infinite ease-in-out;
}

.lqd-ticker-track-wrap {
  flex: 1 1 0%;
  min-width: 0;
  width: 0;
  overflow: hidden;
  height: 100%;
  position: relative;
  display: flex;
  align-items: center;
  -webkit-mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
  mask-image: linear-gradient(to right, transparent, black 16px, black calc(100% - 16px), transparent);
}

.lqd-ticker-track {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  will-change: transform;
  animation: lqdTickerScroll 55s linear infinite;
}

.lqd-ticker-track-wrap:hover .lqd-ticker-track,
.lqd-ticker-track-wrap:focus-within .lqd-ticker-track {
  animation-play-state: paused;
}

.lqd-ticker-group {
  display: inline-flex;
  align-items: center;
  flex-shrink: 0;
}

.lqd-ticker-item {
  display: inline-flex;
  align-items: center;
  white-space: nowrap;
  flex-shrink: 0;
  padding: 0 14px;
  font-size: 13.5px;
  color: #334155;
}

.lqd-ticker-badge-urgent {
  background: #dc2626;
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 1px 7px;
  border-radius: 3px;
  margin-right: 8px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  box-shadow: 0 1px 2px rgba(220, 38, 38, 0.3);
}

.lqd-ticker-doc {
  color: #0369a1;
  font-weight: 700;
  font-size: 12.5px;
  margin-right: 6px;
}

.lqd-ticker-link {
  color: #1e293b;
  font-weight: 500;
  text-decoration: none;
  transition: color 0.15s ease;
}

.lqd-ticker-link:hover {
  color: var(--primary-color, #033a7e);
  text-decoration: underline;
}

.lqd-ticker-date {
  color: #64748b;
  font-size: 12px;
  margin-left: 6px;
}

.lqd-ticker-sep {
  color: #f59e0b;
  font-size: 9px;
  margin-left: 16px;
  opacity: 0.8;
}

.lqd-ticker-more {
  flex: 0 0 auto;
  height: 100%;
  display: flex;
  align-items: center;
  padding: 0 8px 0 12px;
  background: #fffdf5;
  border-left: 1px solid #ebd9b0;
  z-index: 5;
  white-space: nowrap;
}

.lqd-ticker-more a {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--primary-color, #033a7e);
  padding: 4px 8px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.lqd-ticker-more a:hover {
  background: rgba(3, 58, 126, 0.08);
  color: var(--primary-dark, #022147);
}

@keyframes lqdTickerScroll {
  0% {
    transform: translate3d(0, 0, 0);
  }
  100% {
    transform: translate3d(-50%, 0, 0);
  }
}

@keyframes lqdPulseHorn {
  0%, 100% {
    transform: scale(1) rotate(0deg);
  }
  20% {
    transform: scale(1.2) rotate(-8deg);
  }
  40% {
    transform: scale(1.15) rotate(4deg);
  }
  60% {
    transform: scale(1.1) rotate(0deg);
  }
}

@media (max-width: 640px) {
  .lqd-ticker-label .lqd-ticker-text {
    display: none;
  }
  .lqd-ticker-label {
    padding: 0 10px;
  }
  .lqd-ticker-more span {
    display: none;
  }
  .lqd-ticker-more a {
    padding: 4px 6px;
  }
}

/* ==========================================================================
   DIRECTION ARCHIVE CARDS & DOCUMENT AGENCY PILLS BASE STYLES
   ========================================================================== */
.doc-agency-pill {
  font-size: 11.5px;
  color: #0369a1;
  background: #e0f2fe;
  padding: 2px 7px;
  border-radius: 3px;
  font-weight: 600;
  display: inline-block;
  white-space: nowrap;
}

.direction-archive-header {
  padding: 18px 20px;
  margin-bottom: 18px;
}

.direction-items-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.direction-card-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 16px 20px;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid var(--border-color, #cbd5e1);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.direction-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  border-color: #94a3b8;
}

.direction-card-icon {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: #e0f2fe;
  color: var(--primary-color, #033a7e);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  flex-shrink: 0;
}

.direction-card-body {
  flex: 1;
  min-width: 0;
}

.direction-card-title {
  font-size: 15.5px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.direction-card-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.direction-card-title a:hover {
  color: var(--primary-color, #033a7e);
}

.direction-card-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px 12px;
  font-size: 12.5px;
  color: #64748b;
}

.direction-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.direction-card-meta .sep {
  color: #cbd5e1;
}

/* ==========================================================================
   ARTICLE ACTIONS & SHARE BUTTONS FIX
   ========================================================================== */
.article-actions-bar {
  background: #f8fafc !important;
  border: 1px solid #e2e8f0 !important;
  border-radius: 8px !important;
  padding: 14px 18px !important;
  margin-top: 28px !important;
  margin-bottom: 25px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 16px !important;
}

.share-tools {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}

.share-label-title {
  font-weight: 700 !important;
  font-size: 13.5px !important;
  color: #334155 !important;
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  white-space: nowrap !important;
}

.btn-share,
.btn-share-item {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  width: auto !important;
  max-width: none !important;
  height: auto !important;
  min-height: 36px !important;
  padding: 7px 14px !important;
  border-radius: 5px !important;
  font-size: 13px !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  text-decoration: none !important;
  cursor: pointer !important;
  border: none !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08) !important;
  box-sizing: border-box !important;
  line-height: 1.2 !important;
  transition: all 0.2s ease !important;
}

.btn-share:hover,
.btn-share-item:hover {
  transform: translateY(-1px);
  filter: brightness(1.08);
}

.btn-fb,
.btn-share-fb {
  background: #1877f2 !important;
  color: #ffffff !important;
}

.btn-zalo,
.btn-share-zalo {
  background: #0068ff !important;
  color: #ffffff !important;
}

.btn-copy-link,
.btn-share-copy {
  background: #e2e8f0 !important;
  color: #334155 !important;
  border: 1px solid #cbd5e1 !important;
}

.btn-copy-link:hover,
.btn-share-copy:hover {
  background: #cbd5e1 !important;
  color: #0f172a !important;
}

.btn-print,
.btn-share-print {
  background: #f1f5f9 !important;
  color: #475569 !important;
  border: 1px solid #cbd5e1 !important;
}

.btn-print:hover,
.btn-share-print:hover {
  background: #e2e8f0 !important;
  color: #0f172a !important;
}

.qr-code-box {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
}

.qr-code-box img {
  border: 1px solid #cbd5e1 !important;
  padding: 3px !important;
  background: #ffffff !important;
  border-radius: 4px !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.06) !important;
}

.qr-label {
  font-size: 12px !important;
  color: #64748b !important;
  max-width: 120px !important;
  line-height: 1.4 !important;
}

/* ==========================================================================
   PAGE CẢI CÁCH HÀNH CHÍNH & CHUYỂN ĐỔI SỐ STYLES
   ========================================================================== */
.cds-page-container {
  padding-bottom: 35px;
}

/* Hero Card & Banner */
.cds-hero-card {
  background: linear-gradient(135deg, #0f172a 0%, #1e293b 60%, #0369a1 100%);
  color: #ffffff;
  border-radius: 8px;
  padding: 24px 28px 20px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.25);
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.cds-hero-card::after {
  content: "";
  position: absolute;
  top: -50%;
  right: -10%;
  width: 380px;
  height: 380px;
  background: radial-gradient(circle, rgba(56, 189, 248, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
  pointer-events: none;
}

.cds-hero-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  position: relative;
  z-index: 2;
}

.cds-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(56, 189, 248, 0.18);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.35);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
}

.cds-hero-title {
  color: #ffffff;
  font-size: 26px;
  font-weight: 800;
  line-height: 1.3;
  margin: 0 0 10px 0;
  letter-spacing: -0.3px;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
}

.cds-hero-subtitle {
  color: #cbd5e1;
  font-size: 14px;
  line-height: 1.55;
  margin: 0;
  max-width: 780px;
}

.cds-hero-graphics {
  display: flex;
  flex-direction: column;
  gap: 10px;
  flex-shrink: 0;
}

.cds-stat-chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 8px 14px;
  border-radius: 6px;
  backdrop-filter: blur(4px);
}

.cds-stat-chip i {
  font-size: 22px;
  color: #38bdf8;
}

.cds-stat-chip strong {
  display: block;
  font-size: 15px;
  color: #ffffff;
}

.cds-stat-chip small {
  font-size: 11px;
  color: #94a3b8;
}

/* Quick Nav Bar */
.cds-quick-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px dashed rgba(255, 255, 255, 0.2);
  position: relative;
  z-index: 2;
}

.cds-nav-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: all 0.2s ease;
}

.cds-nav-btn:hover {
  background: #ffffff;
  color: #0f172a !important;
  border-color: #ffffff;
  transform: translateY(-1px);
}

/* Section Common Styling */
.cds-sec-header {
  border-bottom: 2px solid var(--border-color, #e2e8f0);
  padding-bottom: 10px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cds-sec-intro {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.5;
  margin: -6px 0 16px;
}

/* 1. Tin tức Chuyển đổi số Split Grid */
.cds-news-split-grid {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 20px;
  align-items: stretch;
}

.cds-feat-news-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.cds-feat-thumb-link {
  position: relative;
  display: block;
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: #0f172a;
}

.cds-feat-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.35s ease;
}

.cds-feat-thumb-link:hover .cds-feat-img {
  transform: scale(1.04);
}

.cds-feat-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  background: #0284c7;
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 800;
  padding: 3px 8px;
  border-radius: 3px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.3);
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cds-feat-news-info {
  padding: 14px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.cds-feat-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 8px 0;
}

.cds-feat-title a {
  color: #1e293b;
  text-decoration: none;
  transition: color 0.2s ease;
}

.cds-feat-title a:hover {
  color: var(--primary-color);
}

.cds-meta-row {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 11.5px;
  color: #64748b;
  margin-bottom: 8px;
}

.cds-feat-desc {
  font-size: 13.5px;
  color: #475569;
  line-height: 1.55;
  margin: 0;
}

.cds-side-news-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.cds-side-news-item {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding-bottom: 11px;
  border-bottom: 1px dashed #e2e8f0;
}

.cds-side-news-item:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

.cds-side-thumb-link {
  width: 90px;
  height: 64px;
  flex-shrink: 0;
  border-radius: 4px;
  overflow: hidden;
  background: #f1f5f9;
}

.cds-side-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.cds-side-news-item:hover .cds-side-img {
  transform: scale(1.06);
}

.cds-side-news-info {
  flex: 1;
  min-width: 0;
}

.cds-side-title {
  font-size: 13px;
  font-weight: 600;
  line-height: 1.35;
  margin: 0 0 4px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cds-side-title a {
  color: #1e293b;
  text-decoration: none;
}

.cds-side-news-item:hover .cds-side-title a {
  color: var(--primary-color);
}

/* 2. Tin Cải cách hành chính Grid */
.cchc-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}

.cchc-card-item {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 6px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  box-shadow: 0 1px 3px rgba(0,0,0,0.04);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cchc-card-item:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0,0,0,0.08);
  border-color: #cbd5e1;
}

.cchc-card-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 125px;
  overflow: hidden;
  background: #f1f5f9;
}

.cchc-card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cchc-card-item:hover .cchc-card-img {
  transform: scale(1.05);
}

.cchc-pill-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  background: var(--primary-color, #033a7e);
  color: #ffffff;
  font-size: 10px;
  font-weight: 800;
  padding: 2px 6px;
  border-radius: 3px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.cchc-card-body {
  padding: 10px 12px;
  display: flex;
  flex-direction: column;
  flex: 1;
  justify-content: space-between;
}

.cchc-card-title {
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0 0 6px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.cchc-card-title a {
  color: #1e293b;
}

.cchc-card-item:hover .cchc-card-title a {
  color: var(--primary-color);
}

/* 3. Chuyên mục Video Grid */
.cds-videos-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.cds-video-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.cds-video-thumb-box {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #0f172a;
  overflow: hidden;
}

.cds-video-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.cds-video-card:hover .cds-video-img {
  transform: scale(1.04);
}

.cds-video-play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(3, 58, 126, 0.9);
  color: #ffffff !important;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(0,0,0,0.4);
  transition: all 0.2s ease;
  z-index: 2;
  text-decoration: none;
}

.cds-video-play-btn i {
  margin-left: 2px;
}

.cds-video-card:hover .cds-video-play-btn {
  transform: translate(-50%, -50%) scale(1.12);
  background: #022c61;
}

.cds-video-dur {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(15, 23, 42, 0.8);
  color: #ffffff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 3px;
  z-index: 2;
}

.cds-video-title {
  padding: 10px 12px;
  font-size: 13px;
  font-weight: 700;
  line-height: 1.35;
  margin: 0;
}

.cds-video-title a {
  color: #1e293b;
}

.cds-video-card:hover .cds-video-title a {
  color: var(--primary-color);
}

/* 4. Apps & Software Grid */
.cds-apps-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.cds-app-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.cds-app-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.06);
  transform: translateY(-2px);
}

.cds-app-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.cds-app-icon {
  width: 46px;
  height: 46px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #ffffff;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

.icon-vneid { background: linear-gradient(135deg, #dc2626 0%, #991b1b 100%); }
.icon-dvc { background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%); }
.icon-vssid { background: linear-gradient(135deg, #16a34a 0%, #15803d 100%); }
.icon-ca { background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%); }

.cds-app-title-box h3 {
  font-size: 15px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 2px 0;
}

.cds-app-title-box .app-org {
  font-size: 11.5px;
  color: #64748b;
  font-weight: 500;
}

.cds-app-desc {
  font-size: 13px;
  color: #475569;
  line-height: 1.45;
  margin: 0 0 12px 0;
}

.cds-app-tags {
  display: flex;
  gap: 6px;
  margin-bottom: 12px;
}

.tag-os {
  font-size: 11px;
  font-weight: 600;
  background: #e2e8f0;
  color: #334155;
  padding: 2px 8px;
  border-radius: 4px;
}

.cds-app-links {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-app-dl {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 4px;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
  color: #ffffff !important;
  transition: opacity 0.2s ease;
}

.btn-app-dl:hover {
  opacity: 0.9;
}

.btn-android { background: #15803d; }
.btn-ios { background: #0f172a; }
.btn-web { background: #0284c7; }

/* 5. Document Table in CDS */
.cds-doc-table th {
  background: #f1f5f9;
}

/* 6. Handbooks & Guides Grid */
.cds-handbook-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 14px;
}

.cds-handbook-card {
  background: #faf6f0;
  border: 1px solid #ede3d1;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.cds-handbook-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(124, 45, 18, 0.12);
  border-color: #d6c4a5;
}

.hb-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  color: #ffffff;
  margin-bottom: 12px;
}

.icon-blue { background: #0284c7; }
.icon-green { background: #16a34a; }
.icon-amber { background: #d97706; }

.hb-content h3 {
  font-size: 14.5px;
  font-weight: 700;
  color: #78350f;
  margin: 0 0 6px 0;
  line-height: 1.35;
}

.hb-content p {
  font-size: 12.5px;
  color: #57534e;
  line-height: 1.45;
  margin: 0 0 10px 0;
}

.hb-meta {
  display: flex;
  gap: 12px;
  font-size: 11px;
  color: #78716c;
  margin-bottom: 12px;
}

.btn-hb-download {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #7c2d12;
  color: #ffffff !important;
  font-size: 12px;
  font-weight: 600;
  padding: 7px 12px;
  border-radius: 4px;
  text-decoration: none;
  transition: background 0.2s ease;
}

.btn-hb-download:hover {
  background: #9a3412;
}

/* 7. Helpline Widget in Sidebar */
.cds-side-widget {
  background: #fffdf5;
  border-color: #fef08a;
}

.cds-helpline-box {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.hl-item {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hl-item i {
  font-size: 22px;
  color: var(--primary-color, #033a7e);
}

.hl-item small {
  display: block;
  font-size: 11px;
  color: #64748b;
}

.hl-item strong {
  font-size: 14px;
  color: #1e293b;
}

.btn-side-feedback {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: var(--primary-color, #033a7e);
  color: #ffffff !important;
  font-size: 12.5px;
  font-weight: 700;
  padding: 8px 12px;
  border-radius: 4px;
  text-decoration: none;
  margin-top: 4px;
  transition: background 0.2s ease;
}

.btn-side-feedback:hover {
  background: var(--primary-hover, #022c61);
}

/* ==========================================================================
   PRINT STYLES FOR SINGLE DOCUMENT DETAIL PAGES
   ========================================================================== */
@media print {
  /* Hide site header, navigation, sidebar, footer, banners, and action bars */
  header,
  footer,
  nav,
  aside,
  #wpadminbar,
  .site-header,
  .site-footer,
  .lqd-top-bar,
  .lqd-main-header,
  .lqd-main-nav,
  .lqd-page-banner,
  .lqd-breadcrumbs,
  .lqd-sidebar-area,
  .sidebar,
  .doc-action-bar,
  .pdf-viewer-actions,
  .doc-qr-code,
  .doc-pdf-viewer,
  .btn-doc-action,
  .view-all-link,
  .noprint,
  .no-print {
    display: none !important;
  }

  /* Reset body and container backgrounds */
  html,
  body {
    background: #ffffff !important;
    color: #000000 !important;
    font-size: 13pt !important;
    line-height: 1.6 !important;
    width: 100% !important;
    height: auto !important;
    margin: 0 !important;
    padding: 0 !important;
    overflow: visible !important;
  }

  .lqd-main-container,
  .lqd-container,
  .lqd-layout-grid,
  .lqd-content-area,
  .document-detail-card,
  .single-lqd_document .lqd-card {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    background: transparent !important;
    display: block !important;
    float: none !important;
  }

  .doc-detail-header {
    border-bottom: 2px solid #000000 !important;
    padding-bottom: 12px !important;
    margin-bottom: 16px !important;
    text-align: center !important;
  }

  .doc-badge-type {
    display: inline-block !important;
    border: 1px solid #000000 !important;
    color: #000000 !important;
    background: none !important;
    padding: 2px 8px !important;
    font-weight: bold !important;
    text-transform: uppercase !important;
  }

  .doc-detail-title {
    font-size: 18pt !important;
    color: #000000 !important;
    margin-top: 10px !important;
    margin-bottom: 10px !important;
    text-align: center !important;
  }

  .doc-attributes-box {
    margin-bottom: 20px !important;
    border: 1px solid #000000 !important;
    padding: 10px !important;
  }

  .doc-attributes-table {
    width: 100% !important;
    border-collapse: collapse !important;
  }

  .doc-attributes-table th,
  .doc-attributes-table td {
    border: 1px solid #000000 !important;
    padding: 6px 10px !important;
    color: #000000 !important;
    font-size: 11pt !important;
  }

  .doc-attributes-table th {
    background: #f0f0f0 !important;
    font-weight: bold !important;
  }

  .doc-section-heading {
    font-size: 14pt !important;
    color: #000000 !important;
    border-bottom: 1px solid #000000 !important;
    padding-bottom: 6px !important;
    margin-top: 20px !important;
    margin-bottom: 12px !important;
  }

  .doc-content-body,
  .doc-text-content {
    color: #000000 !important;
    font-size: 13pt !important;
    line-height: 1.6 !important;
  }

  .doc-text-content p {
    margin-bottom: 12pt !important;
  }

  /* Prevent page breaks inside important elements */
  .doc-detail-header,
  .doc-attributes-box,
  .doc-section-heading {
    page-break-inside: avoid;
  }
}

/* ==========================================================================
   PAGE DANH BẠ UBND XÃ LONG HƯNG STYLING
   ========================================================================== */
.danhba-hero-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 20px;
  margin-bottom: 20px;
}

.danhba-header-content {
  display: flex;
  align-items: center;
  gap: 16px;
  padding-bottom: 16px;
  border-bottom: 1px solid #e2e8f0;
  margin-bottom: 16px;
}

.danhba-emblem-wrap {
  flex-shrink: 0;
}

.danhba-emblem {
  width: 52px;
  height: 52px;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

.danhba-title-group {
  flex: 1;
  min-width: 0;
}

.danhba-main-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--primary-color, #033a7e);
  margin: 0 0 4px;
  line-height: 1.25;
  letter-spacing: 0.2px;
  font-family: var(--font-serif, serif);
}

.danhba-sub-title {
  font-size: 14px;
  font-weight: 700;
  color: #1e293b;
  margin: 0 0 4px;
  text-transform: uppercase;
}

.danhba-desc {
  font-size: 12.5px;
  color: #64748b;
  margin: 0;
}

.btn-danhba-action {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: var(--primary-color, #033a7e);
  color: #ffffff !important;
  border: none;
  padding: 8px 14px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 2px 5px rgba(3, 58, 126, 0.2);
}

.btn-danhba-action:hover {
  background: var(--primary-hover, #022c61);
  transform: translateY(-1px);
  box-shadow: 0 4px 8px rgba(2, 33, 71, 0.3);
}

/* Filter bar */
.danhba-filter-bar {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.filter-search-box {
  position: relative;
  flex: 1;
  min-width: 260px;
}

.filter-search-box .search-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 14px;
}

.filter-search-box input {
  width: 100%;
  padding: 9px 36px 9px 34px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
  box-sizing: border-box;
}

.filter-search-box input:focus {
  border-color: var(--primary-color, #033a7e);
  box-shadow: 0 0 0 3px rgba(3, 58, 126, 0.1);
}

.filter-search-box .clear-btn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 14px;
  padding: 2px 6px;
}

.filter-search-box .clear-btn:hover {
  color: #0f172a;
}

.filter-dept-box {
  position: relative;
  display: flex;
  align-items: center;
}

.filter-dept-box .filter-icon {
  position: absolute;
  left: 12px;
  color: #94a3b8;
  font-size: 13px;
  pointer-events: none;
}

.filter-dept-box select {
  padding: 9px 12px 9px 32px;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  font-size: 13px;
  font-weight: 500;
  color: #1e293b;
  background: #ffffff;
  outline: none;
  cursor: pointer;
  transition: border-color 0.2s ease;
}

.filter-dept-box select:focus {
  border-color: var(--primary-color, #033a7e);
}

.danhba-counter {
  font-size: 12.5px;
  color: #475569;
  background: #f1f5f9;
  padding: 7px 12px;
  border-radius: 6px;
  white-space: nowrap;
}

/* Danh bạ Table Card */
.danhba-table-card {
  background: #ffffff;
  border-radius: 8px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.04);
  padding: 0;
  overflow: hidden;
}

.danhba-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}

.danhba-table th {
  background: linear-gradient(135deg, var(--primary-color, #033a7e) 0%, var(--primary-dark, #022147) 100%);
  color: #ffffff;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.3px;
  padding: 12px;
  border: none;
  text-align: left;
  white-space: nowrap;
}

.danhba-table th.th-stt {
  text-align: center;
  width: 46px;
}

.danhba-table th.th-name {
  min-width: 170px;
}

.danhba-table th.th-title {
  min-width: 180px;
}

.danhba-table th.th-dept {
  min-width: 170px;
}

.danhba-table th.th-phone {
  width: 140px;
}

.danhba-table th.th-email {
  min-width: 220px;
}

.danhba-table td {
  padding: 11px 12px;
  border-bottom: 1px solid #f1f5f9;
  vertical-align: middle;
  transition: background-color 0.15s ease;
}

.danhba-table tr.leader-row td {
  background-color: #fffdf5;
}

.danhba-table tr:hover td {
  background-color: #f1f5f9 !important;
}

.danhba-table .td-stt {
  text-align: center;
  font-weight: 600;
  color: #64748b;
}

.person-info {
  display: flex;
  align-items: center;
  gap: 8px;
}

.person-icon {
  color: #64748b;
  font-size: 13px;
}

.leader-row .person-icon {
  color: var(--primary-color, #033a7e);
}

.person-name {
  font-weight: 700;
  color: #0f172a;
}

.title-leader {
  font-weight: 700;
  color: var(--primary-color, #033a7e);
}

.title-staff {
  color: #334155;
  font-weight: 500;
}

.dept-badge {
  display: inline-block;
  background: #f1f5f9;
  color: #475569;
  font-size: 11.5px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid #e2e8f0;
}

.leader-row .dept-badge {
  background: #e0f2fe;
  color: #0284c7;
  border-color: #bae6fd;
}

.phone-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #0d6efd;
  text-decoration: none;
  font-weight: 600;
  font-size: 12.5px;
  transition: color 0.2s ease;
}

.phone-link:hover {
  color: var(--primary-color, #033a7e);
  text-decoration: underline;
}

.phone-icon {
  font-size: 12px;
  color: #16a34a;
}

.email-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #2563eb;
  text-decoration: none;
  font-size: 12.5px;
  transition: color 0.2s ease;
}

.email-link:hover {
  color: #1d4ed8;
  text-decoration: underline;
}

.email-icon {
  font-size: 12px;
  color: #64748b;
}

/* Empty search results box */
.danhba-empty-box {
  text-align: center;
  padding: 40px 20px;
  background: #ffffff;
}

.danhba-empty-box .empty-icon {
  font-size: 40px;
  color: #cbd5e1;
  margin-bottom: 12px;
}

.danhba-empty-box h3 {
  font-size: 16px;
  color: #1e293b;
  margin-bottom: 6px;
}

.danhba-empty-box p {
  font-size: 13px;
  color: #64748b;
  margin-bottom: 16px;
}

.btn-danhba-reset {
  background: #f1f5f9;
  color: #334155;
  border: 1px solid #cbd5e1;
  padding: 7px 16px;
  border-radius: 5px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-danhba-reset:hover {
  background: var(--primary-color, #033a7e);
  color: #ffffff;
  border-color: var(--primary-color, #033a7e);
}

/* ==========================================================================
   MULTI-LANGUAGE AUTO-TRANSLATION SELECTOR & GOOGLE TRANSLATE STYLES
   ========================================================================== */
.lqd-lang-selector-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.lqd-lang-dropdown {
  position: relative;
  display: inline-block;
}

.lqd-lang-btn {
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
  padding: 2px 8px;
  border-radius: 4px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  transition: all 0.2s ease;
  line-height: 1.4;
}

.lqd-lang-btn:hover,
.lqd-lang-dropdown.is-open .lqd-lang-btn {
  background: #ffffff;
  color: var(--primary-color, #033a7e);
  border-color: #ffffff;
}

.lqd-lang-menu {
  position: absolute;
  top: calc(100% + 4px);
  right: 0;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  min-width: 160px;
  padding: 4px 0;
  z-index: 10000;
  display: none;
  flex-direction: column;
}

.lqd-lang-dropdown.is-open .lqd-lang-menu {
  display: flex;
}

.lqd-lang-option {
  width: 100%;
  background: transparent;
  border: none;
  padding: 7px 12px;
  font-size: 12px;
  font-weight: 600;
  color: #334155;
  text-align: left;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: background 0.15s ease, color 0.15s ease;
}

.lqd-lang-option:hover,
.lqd-lang-option.active {
  background: #f0f7ff;
  color: var(--primary-color, #033a7e);
}

/* Flag Icons Data URIs */
.lqd-flag-icon {
  width: 16px;
  height: 11px;
  display: inline-block;
  background-size: cover;
  background-position: center;
  border-radius: 1px;
  box-shadow: 0 0 1px rgba(0,0,0,0.3);
  flex-shrink: 0;
}

.lqd-flag-icon.flag-vi {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23da251d"/><polygon points="450,150 488,268 613,268 512,341 550,459 450,386 350,459 388,341 287,268 412,268" fill="%23ffff00"/></svg>');
}

.lqd-flag-icon.flag-en {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30"><rect width="60" height="30" fill="%23012169"/><path d="M0,0 L60,30 M60,0 L0,30" stroke="%23fff" stroke-width="6"/><path d="M0,0 L60,30 M60,0 L0,30" stroke="%23C8102E" stroke-width="2"/><path d="M30,0 V30 M0,15 H60" stroke="%23fff" stroke-width="10"/><path d="M30,0 V30 M0,15 H60" stroke="%23C8102E" stroke-width="6"/></svg>');
}

.lqd-flag-icon.flag-zh {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23de2910"/><polygon points="150,60 168,114 225,114 179,148 196,202 150,168 104,202 121,148 75,114 132,114" fill="%23ffde00"/><polygon points="300,30 304,43 317,43 306,51 310,64 300,56 290,64 294,51 283,43 296,43" fill="%23ffde00"/><polygon points="360,90 362,103 376,103 365,111 369,124 360,116 351,124 355,111 344,103 358,103" fill="%23ffde00"/><polygon points="360,180 362,193 376,193 365,201 369,214 360,206 351,214 355,201 344,193 358,193" fill="%23ffde00"/><polygon points="300,240 304,253 317,253 306,261 310,274 300,266 290,274 294,261 283,253 296,253" fill="%23ffde00"/></svg>');
}

.lqd-flag-icon.flag-ko {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23ffffff"/><circle cx="450" cy="300" r="150" fill="%23c60c30"/><path d="M300,300 A75,75 0 0,0 450,300 A75,75 0 0,1 600,300 A150,150 0 0,1 300,300 Z" fill="%23003478"/><g stroke="%23000000" stroke-width="25"><line x1="200" y1="130" x2="270" y2="200"/><line x1="220" y1="110" x2="290" y2="180"/><line x1="240" y1="90" x2="310" y2="160"/><line x1="630" y1="440" x2="700" y2="510"/><line x1="610" y1="420" x2="680" y2="490"/><line x1="590" y1="400" x2="660" y2="470"/></g></svg>');
}

.lqd-flag-icon.flag-ja {
  background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 900 600"><rect width="900" height="600" fill="%23ffffff"/><circle cx="450" cy="300" r="180" fill="%23bc002d"/></svg>');
}

/* Hide Google Translate Banners & Frames */
body {
  top: 0 !important;
  position: static !important;
}

.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-spinner-pos,
.goog-te-gadget-icon,
.VIpgJd-yDuf2b-ansBL {
  display: none !important;
  visibility: hidden !important;
}

.goog-text-highlight {
  background-color: transparent !important;
  box-shadow: none !important;
}

#google_translate_element {
  display: none !important;
}