/* ==========================================================================
   VIỆN ĐỔI MỚI SÁNG TẠO ĐÔ THỊ VÀ BẤT ĐỘNG SẢN (UPI)
   Urban & Property Innovation Institute
   Layout Reference: Fox University (ThemeWagon / Colorlib)
   Brand Identity: UPI Official Logo Colors (Royal Blue, Deep Navy, Accent Orange)
   ========================================================================== */

:root {
  /* Brand Colors extracted from official UPI Logo (logo.06c03650cecd.png) */
  --upi-blue: #22468b;
  --upi-blue-dark: #0d1d3a;
  --upi-blue-bright: #2952a3;
  --upi-blue-light: #eef3fa;
  --upi-blue-soft: #dce6f5;
  --upi-navy: #0d1d3a;
  --upi-navy-darker: #081226;
  --upi-orange: #f04424;
  --upi-orange-hover: #d43517;
  --upi-orange-soft: rgba(240, 68, 36, 0.12);
  --upi-gold: #f5b841;

  /* Neutral Colors */
  --text-dark: #152238;
  --text-body: #4a5568;
  --text-muted: #718096;
  --bg-white: #ffffff;
  --bg-light: #f7f9fc;
  --border-color: #e2e8f0;

  /* Typography: 2-Font System for Education & Academic Training */
  --font-header: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-heading: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-body: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-sans: var(--font-body);
  --font-display: var(--font-heading);

  /* Shadows & Transitions */
  --shadow-sm: 0 2px 10px rgba(13, 29, 58, 0.06);
  --shadow-md: 0 10px 30px rgba(13, 29, 58, 0.1);
  --shadow-lg: 0 20px 45px rgba(13, 29, 58, 0.16);
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
  font-size: 16px;
}

body {
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 16px;
  color: var(--text-body);
  background-color: var(--bg-white);
  line-height: 1.75;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

/* Font 1: Header, Navigation Menu & All Headings (Montserrat) */
.bg-top,
.bg-top *,
.ftco-navbar,
.ftco-navbar *,
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
.section-title,
.page-card-title,
.courses-section-title,
.sidebar-upcoming-header,
.sidebar-widget-header,
.footer-uni-heading,
.consult-card-header,
.news-part-title,
.news-featured-heading,
.news-simple-heading,
.course-data-block__title,
.modal-title,
.upi-modal-title,
.investor-logos-title {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Font 2: Main Body, Cards, Modals & Footer (Lexend) */
main,
.ftco-footer,
.upi-modal {
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

a {
  color: var(--upi-blue);
  text-decoration: none;
  transition: var(--transition);
}

a:hover {
  color: var(--upi-orange);
}

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

ul {
  list-style: none;
}

button, input, select, textarea {
  font-family: inherit;
  font-size: inherit;
}

.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 32px;
  max-width: 1440px;
  margin: 0 auto;
}

.container-wrap {
  width: 100%;
  margin: 0 auto;
}

/* ==========================================================================
   BUTTONS (Fox University Pill & Square Button Styles with UPI Colors)
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  font-size: 14px;
  font-weight: 600;
  border-radius: 40px;
  border: 1px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  text-align: center;
  line-height: 1.4;
  white-space: nowrap;
}

.btn-primary {
  background-color: var(--upi-orange);
  border-color: var(--upi-orange);
  color: #fff;
}

.btn-primary:hover {
  background-color: var(--upi-orange-hover);
  border-color: var(--upi-orange-hover);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(240, 68, 36, 0.3);
}

.btn-blue {
  background-color: var(--upi-blue);
  border-color: var(--upi-blue);
  color: #fff;
}

.btn-blue:hover {
  background-color: var(--upi-navy);
  border-color: var(--upi-navy);
  color: #fff;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(34, 70, 139, 0.28);
}

.btn-outline-white {
  background-color: transparent;
  border: 1.5px solid rgba(255, 255, 255, 0.85);
  color: #fff;
}

.btn-outline-white:hover {
  background-color: #fff;
  border-color: #fff;
  color: var(--upi-navy);
  transform: translateY(-2px);
}

.btn-outline-blue {
  background-color: transparent;
  border: 1.5px solid var(--upi-blue);
  color: var(--upi-blue);
}

.btn-outline-blue:hover {
  background-color: var(--upi-blue);
  color: #fff;
  transform: translateY(-2px);
}

.btn-rect {
  border-radius: 4px;
}

/* ==========================================================================
   1. TOP HEADER BAR (.bg-top from Fox University)
   ========================================================================== */
.bg-top {
  background: var(--bg-white);
  border-bottom: 1px solid var(--border-color);
  position: relative;
  z-index: 102;
}

.top-bar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 0;
}

.brand-Identity {
  display: flex;
  align-items: center;
  gap: 18px;
  color: var(--upi-navy);
}

.brand-Identity:hover {
  color: var(--upi-blue);
}

.brand-logo {
  width: 70px;
  height: 70px;
  object-fit: contain;
  border-radius: 10px;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(34, 70, 139, 0.15);
}

.brand-titles {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
}

.brand-acronym {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--upi-orange);
  line-height: 1.2;
}

.brand-name-vi {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--upi-navy);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap !important;
  display: block;
}

.brand-name-en {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  line-height: 1.3;
}

.topper-group {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex-shrink: 0;
  gap: 20px;
}

.topper-item {
  display: flex;
  align-items: center;
  gap: 12px;
}

.topper-icon {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--upi-blue-light);
  color: var(--upi-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 18px;
}

.topper-text {
  font-size: 13px;
  line-height: 1.45;
}

.topper-text strong {
  display: block;
  font-weight: 700;
  color: var(--text-dark);
  font-size: 13.5px;
}

.topper-text span,
.topper-text a {
  color: var(--text-muted);
}

.topper-text a:hover {
  color: var(--upi-orange);
}

.topper-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.lang-switch-pill {
  display: inline-flex;
  align-items: stretch;
  background: #ffffff;
  border: 1.5px solid #cfd8e3;
  border-radius: 8px;
  padding: 1.5px;
  height: 38px;
  box-sizing: border-box;
  user-select: none;
  flex-shrink: 0;
  box-shadow: 0 1px 2px rgba(15, 37, 68, 0.04);
}

.lang-switch-btn {
  position: relative;
  border: 0;
  background: transparent;
  padding: 0 11px;
  min-width: 40px;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 800;
  line-height: 1;
  letter-spacing: 0.02em;
  color: #5b6b7f;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.18s ease, color 0.18s ease;
}

.lang-switch-btn:hover:not(.active) {
  color: #0b587c;
}

.lang-switch-btn.active {
  background: #0b587c;
  color: #ffffff;
}

.lang-switch-btn:first-child.active {
  border-radius: 5.5px 0 0 5.5px;
  margin-right: 4px;
}

.lang-switch-btn:first-child.active::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  right: -4px;
  width: 2px;
  background: #0b587c;
}

.lang-switch-btn:last-child.active {
  border-radius: 0 5.5px 5.5px 0;
  margin-left: 4px;
}

.lang-switch-btn:last-child.active::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: -4px;
  width: 2px;
  background: #0b587c;
}

/* Ẩn hoàn toàn thanh công cụ mặc định của Google Translate khi dịch trang */
.goog-te-banner-frame,
.goog-te-balloon-frame,
#goog-gt-tt,
.goog-te-gadget,
.goog-tooltip,
.goog-tooltip:hover,
.VIpgJd-ZVi9od-ORHb-OEVmcd,
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf,
iframe.goog-te-banner-frame,
body > .skiptranslate {
  display: none !important;
  visibility: hidden !important;
  height: 0 !important;
  width: 0 !important;
  overflow: hidden !important;
}

body {
  top: 0 !important;
  position: static !important;
}

.goog-text-highlight,
font[ style*="background-color" ] {
  background-color: transparent !important;
  box-shadow: none !important;
}

/* ==========================================================================
   2. MAIN NAVIGATION BAR (#ftco-navbar from Fox University + Sitemap Dropdowns)
   ========================================================================== */
.ftco-navbar {
  background: var(--upi-navy);
  position: sticky;
  top: 0;
  z-index: 100;
  box-shadow: 0 8px 25px rgba(8, 18, 38, 0.18);
  transition: var(--transition);
}

.ftco-navbar.scrolled {
  background: rgba(13, 29, 58, 0.98);
  backdrop-filter: blur(10px);
}

.navbar-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 66px;
  gap: 16px;
}

.navbar-toggler {
  display: none;
  align-items: center;
  gap: 8px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #fff;
  padding: 8px 14px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.navbar-nav {
  display: flex;
  align-items: stretch;
  gap: 2px;
}

.nav-item {
  position: relative;
  display: flex;
  align-items: stretch;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 0 20px;
  min-height: 66px;
  color: rgba(255, 255, 255, 0.92);
  font-size: 14.5px;
  font-weight: 600;
  letter-spacing: 0.01em;
  position: relative;
  transition: var(--transition);
}

.nav-link .caret {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  opacity: 0.75;
}

.nav-item:hover > .nav-link,
.nav-item:focus-within > .nav-link,
.nav-item.active > .nav-link {
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
}

.nav-item.active > .nav-link {
  color: #fff;
}

.nav-item.active > .nav-link::after,
.nav-item:hover > .nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--upi-orange);
}

.nav-item:hover > .nav-link .caret,
.nav-item.dropdown-open > .nav-link .caret {
  transform: rotate(180deg);
  opacity: 1;
}

/* Sitemap Dropdown Menu */
.dropdown-menu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 250px;
  background: #ffffff;
  border-radius: 0 0 10px 10px;
  box-shadow: 0 18px 40px rgba(13, 29, 58, 0.18);
  border: 1px solid var(--border-color);
  border-top: 3px solid var(--upi-orange);
  padding: 10px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.24s cubic-bezier(0.22, 1, 0.36, 1);
  z-index: 110;
}

.nav-item:hover > .dropdown-menu,
.nav-item.dropdown-open > .dropdown-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.dropdown-header-label {
  padding: 6px 12px 8px;
  font-size: 10.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--upi-blue);
  border-bottom: 1px solid var(--border-color);
  margin-bottom: 6px;
}

.dropdown-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-dark);
  border-radius: 6px;
  transition: var(--transition);
}

.dropdown-item span.sub-badge {
  font-size: 10px;
  padding: 2px 7px;
  border-radius: 20px;
  background: var(--upi-blue-light);
  color: var(--upi-blue);
  font-weight: 600;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: var(--upi-blue-light);
  color: var(--upi-orange);
  padding-left: 18px;
}

/* Fox Searchform in Navbar */
.searchform {
  display: flex;
  align-items: center;
  height: 44px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 30px;
  padding: 0 6px 0 16px;
  min-width: 265px;
  transition: var(--transition);
}

.searchform:focus-within {
  background: rgba(255, 255, 255, 0.15);
  border-color: var(--upi-orange);
  box-shadow: 0 0 0 3px rgba(240, 68, 36, 0.2);
}

.searchform input {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 13.5px;
  width: 100%;
  outline: none;
}

.searchform input::placeholder {
  color: rgba(255, 255, 255, 0.65);
}

.searchform button {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: none;
  background: var(--upi-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: var(--transition);
}

.searchform button:hover {
  background: var(--upi-blue-bright);
}

/* ==========================================================================
   3. HERO BANNER SLIDER (.home-slider from Fox University)
   ========================================================================== */
.home-slider {
  position: relative;
  height: 600px;
  background: var(--upi-navy-darker);
  overflow: hidden;
}

.slider-item {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.75s ease, visibility 0.75s ease;
  display: flex;
  align-items: center;
  filter: brightness(1.03) contrast(1.04);
}

.slider-item.active {
  opacity: 1;
  visibility: visible;
  z-index: 2;
}

.slider-item .overlay {
  display: none;
}

.slider-content-wrap {
  position: relative;
  z-index: 3;
  width: 100%;
}

.slider-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 48px;
  align-items: center;
}

.slider-text {
  color: #fff;
  max-width: 680px;
  animation: heroSlideUp 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

@keyframes heroSlideUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.slider-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 30px;
  background: rgba(240, 68, 36, 0.22);
  border: 1px solid rgba(240, 68, 36, 0.6);
  color: #ffd6cc;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 18px;
}

.slider-badge .dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--upi-orange);
}

.slider-text h1 {
  font-size: clamp(32px, 4.2vw, 50px);
  font-weight: 800;
  line-height: 1.2;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.02em;
}

.slider-text h1 span {
  color: #ff7a5c;
}

.slider-text p {
  font-size: 16.5px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.88);
  margin-bottom: 28px;
  max-width: 600px;
}

.slider-cta-group {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

/* Visual Card on Right of Hero Slider */
.slider-visual-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 16px;
  box-shadow: 0 24px 50px rgba(0, 0, 0, 0.35);
}

.slider-visual-card img {
  width: 100%;
  border-radius: 8px;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.slider-visual-card.contain-artwork img {
  object-fit: contain;
  background: #041e37;
}

.slider-visual-caption {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding-top: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 12.5px;
}

.slider-visual-caption strong {
  color: #fff;
  display: block;
}

/* Slider Controls & Dots */
.slider-controls {
  position: absolute;
  bottom: 28px;
  left: 0;
  right: 0;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
}

.slider-arrow {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.3);
  background: rgba(13, 29, 58, 0.65);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--upi-orange);
  border-color: var(--upi-orange);
}

.slider-dots {
  display: flex;
  align-items: center;
  gap: 10px;
}

.slider-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 32px;
  border-radius: 10px;
  background: var(--upi-orange);
}

/* ==========================================================================
   4. FOUR CORE PILLARS STRIP (.ftco-services from Fox University)
   4 nhóm: Đào tạo / Tư vấn / UPI Insight / Hợp tác
   ========================================================================== */
.ftco-services {
  position: relative;
  z-index: 10;
  padding: 28px 0 24px;
  background-color: var(--bg-white);
}

.ftco-services .container-wrap {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  padding: 0 18px;
}

.services-strip-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.service-pillar-box {
  padding: 22px 22px 32px;
  color: #fff;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  position: relative;
  transition: var(--transition);
  overflow: hidden;
  border-radius: 16px;
  box-shadow: 0 10px 26px rgba(8, 18, 38, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.pillar-card-thumb {
  width: 100%;
  height: 185px;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin-bottom: -34px;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.28);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.pillar-card-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.service-pillar-box:hover .pillar-card-thumb img {
  transform: scale(1.07);
}

/* Fox University alternating bg-primary / bg-darken adapted to UPI palette */
.service-pillar-box.bg-pillar-1 {
  background: var(--upi-blue);
}

.service-pillar-box.bg-pillar-2 {
  background: var(--upi-navy);
}

.service-pillar-box.bg-pillar-3 {
  background: #1a3770;
}

.service-pillar-box.bg-pillar-4 {
  background: var(--upi-navy-darker);
}

.service-pillar-box::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: transparent;
  transition: var(--transition);
  z-index: 3;
}

.service-pillar-box:hover::before {
  background: var(--upi-orange);
}

.service-pillar-box:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 36px rgba(8, 18, 38, 0.28);
  z-index: 2;
}

.pillar-icon-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--upi-navy);
  border: 3px solid rgba(255, 255, 255, 0.28);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.32);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  position: relative;
  z-index: 2;
  color: #fff;
  transition: var(--transition);
}

.service-pillar-box:hover .pillar-icon-circle {
  background: var(--upi-orange);
  border-color: #fff;
  transform: scale(1.08);
}

.pillar-icon-circle svg {
  width: 30px;
  height: 30px;
}

.service-pillar-box h3 {
  font-size: 22px;
  font-weight: 600;
  color: #fff;
  margin-bottom: 12px;
}

.service-pillar-box p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
  line-height: 1.65;
  margin-bottom: 24px;
}

.pillar-more-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: auto;
  font-size: 13px;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding-bottom: 3px;
  border-bottom: 2px solid var(--upi-orange);
}

.pillar-more-link:hover {
  color: #ff9c85;
}

/* ==========================================================================
   UPI INSIGHT — NHỮNG GÓC NHÌN ĐÁNG ĐỌC (Editorial 2-Column Section)
   ========================================================================== */
.upi-insight-editorial {
  background-color: #f3f7fb;
  padding: 46px 0 50px;
  border-bottom: 1px solid var(--border-color);
}

.insight-editorial-header {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 22px;
}

.insight-editorial-titles .insight-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--upi-blue);
  margin-bottom: 6px;
}

.insight-editorial-titles h2 {
  font-size: clamp(24px, 2.5vw, 30px);
  font-weight: 500;
  color: var(--upi-navy);
  letter-spacing: -0.01em;
  line-height: 1.3;
  margin: 0;
}

.insight-header-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--upi-blue);
  transition: var(--transition);
  padding-bottom: 4px;
}

.insight-header-link:hover {
  color: var(--upi-orange);
  transform: translateX(3px);
}

.insight-editorial-grid {
  display: grid;
  grid-template-columns: 1.12fr 0.88fr;
  gap: 32px;
  align-items: stretch;
}

/* Left Main Featured Card */
.insight-main-card {
  background: #ffffff;
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(34, 70, 139, 0.12);
  box-shadow: 0 14px 36px rgba(13, 29, 58, 0.07);
  transition: var(--transition);
  height: 100%;
  display: flex;
  flex-direction: column;
}

.insight-main-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 44px rgba(13, 29, 58, 0.12);
}

.insight-main-media {
  display: block;
  background: #041d37;
  overflow: hidden;
  position: relative;
}

.insight-main-media img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.insight-main-body {
  padding: 20px 24px 20px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.insight-meta-tag {
  display: inline-block;
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--upi-blue);
  margin-bottom: 8px;
}

.insight-main-body h3 {
  font-size: 19px;
  font-weight: 500;
  line-height: 1.42;
  color: var(--upi-navy);
  margin-bottom: 8px;
}

.insight-main-body h3 a {
  color: inherit;
}

.insight-main-body h3 a:hover {
  color: var(--upi-orange);
}

.insight-main-body p {
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.insight-main-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 14px;
  margin-top: auto;
  border-top: 1px solid var(--border-color);
}

.insight-read-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  color: var(--upi-blue);
}

.insight-read-btn:hover {
  color: var(--upi-orange);
}

.insight-bookmark-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition);
}

.insight-bookmark-btn:hover {
  background: var(--upi-blue-light);
  color: var(--upi-orange);
}

/* Right Side Articles Container — Matched Height & Clear Separation */
.insight-side-list {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(34, 70, 139, 0.12);
  box-shadow: 0 14px 36px rgba(13, 29, 58, 0.07);
  padding: 14px 22px 16px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.insight-side-item {
  display: grid;
  grid-template-columns: 120px 1fr;
  gap: 14px;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px solid rgba(13, 29, 58, 0.1);
  flex: 1;
}

.insight-side-item:first-child {
  padding-top: 2px;
}

.insight-side-thumb {
  display: block;
  width: 126px;
  height: 82px;
  border-radius: 9px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(13, 29, 58, 0.08);
  flex-shrink: 0;
}

.insight-side-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.insight-side-item:hover .insight-side-thumb img {
  transform: scale(1.07);
}

.insight-side-content {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.insight-side-content h4 {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.38;
  color: var(--upi-navy);
  margin: 0;
}

.insight-side-content h4 a {
  color: inherit;
}

.insight-side-content h4 a:hover {
  color: var(--upi-orange);
}

.insight-side-desc {
  font-size: 13px;
  line-height: 1.48;
  color: var(--text-muted);
  font-weight: 400;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.insight-side-more {
  padding-top: 14px;
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.insight-topic-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--upi-blue);
}

.insight-topic-link:hover {
  color: var(--upi-orange);
  transform: translateX(3px);
}

@media (max-width: 960px) {
  .insight-editorial-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .insight-editorial-header {
    flex-direction: row;
    align-items: flex-end;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 18px;
  }
}

@media (max-width: 480px) {
  .insight-side-item {
    grid-template-columns: 108px 1fr;
    gap: 14px;
  }
  .insight-side-thumb {
    width: 108px;
    height: 76px;
  }
}

/* ==========================================================================
   SỰ KIỆN & KẾT NỐI — NHỮNG DẤU MỐC CÙNG UPI
   ========================================================================== */
.upi-milestones-section {
  background-color: #ffffff;
  padding: 46px 0 50px;
  border-bottom: 1px solid var(--border-color);
}

.insight-eyebrow.orange-eyebrow {
  color: #b8532a;
}

.milestones-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.milestone-card {
  display: flex;
  flex-direction: column;
}

.milestone-media {
  display: block;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  background: var(--upi-navy);
  box-shadow: 0 10px 28px rgba(13, 29, 58, 0.08);
  margin-bottom: 14px;
}

.milestone-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.milestone-card:hover .milestone-media img {
  transform: scale(1.03);
}

.milestone-meta {
  display: block;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--upi-blue);
  margin-bottom: 6px;
}

.milestone-body h3 {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.36;
  color: var(--upi-navy);
  margin: 0 0 8px 0;
}

.milestone-body h3 a {
  color: inherit;
}

.milestone-body h3 a:hover {
  color: var(--upi-orange);
}

.milestone-event-details {
  display: flex;
  flex-direction: column;
  gap: 6px;
  margin: 0;
  padding: 0;
}

.milestone-event-details li {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 14px;
  line-height: 1.55;
  color: var(--text-body);
  font-weight: 400;
}

.milestone-event-details .detail-icon {
  width: 17px;
  height: 17px;
  color: var(--upi-orange);
  flex-shrink: 0;
  margin-top: 3px;
}

@media (max-width: 860px) {
  .milestones-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }
}

/* ==========================================================================
   SECTION HEADINGS (Fox University .heading-section style)
   ========================================================================== */
.ftco-section {
  padding: 46px 0 50px;
  position: relative;
}

#upi-insight.upi-insight-editorial {
  background-color: #f3f7fb !important;
  border-bottom: 1px solid var(--border-color);
}

#su-kien-ket-noi.upi-milestones-section {
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--border-color);
}

#chuyen-gia {
  background-color: #f3f7fb !important;
  border-bottom: 1px solid var(--border-color);
}

#an-pham-nghien-cuu {
  background-color: #ffffff !important;
  border-bottom: 1px solid var(--border-color);
}

#home .ftco-footer {
  background: #f3f7fb !important;
  background-color: #f3f7fb !important;
  border-top: 1px solid var(--border-color);
}

.bg-light-section {
  background-color: #f3f7fb;
}

.heading-section {
  max-width: 760px;
  margin: 0 auto 52px;
  text-align: center;
}

.heading-section.text-left {
  margin-left: 0;
  text-align: left;
}

.heading-section .subheading {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--upi-orange);
  margin-bottom: 10px;
  position: relative;
}

.heading-section h2 {
  font-size: clamp(24px, 2.6vw, 32px);
  font-weight: 500;
  color: var(--upi-navy);
  line-height: 1.3;
  margin-bottom: 14px;
  letter-spacing: -0.01em;
}

.heading-section h2 span {
  color: var(--upi-blue);
}

.heading-section p {
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.75;
}

/* ==========================================================================
   5. ABOUT UPI & INTERACTIVE 4-PILLAR EXPLORER (.wrap-about from Fox University)
   ========================================================================== */
.about-offer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.95fr;
  gap: 52px;
  align-items: stretch;
}

.wrap-about-content {
  padding: 10px 0;
}

.vision-values-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin: 24px 0 32px;
}

.vision-value-card {
  background: var(--bg-light);
  border: 1px solid var(--border-color);
  border-left: 3px solid var(--upi-blue);
  border-radius: var(--radius-md);
  padding: 16px 18px;
}

.vision-value-card span.num {
  font-size: 11px;
  font-weight: 800;
  color: var(--upi-orange);
  letter-spacing: 0.1em;
}

.vision-value-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--upi-navy);
  margin: 4px 0 6px;
}

.vision-value-card p {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Interactive Tabs for the 4 Sitemap Pillars */
.pillar-tabs-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 24px;
  border-bottom: 2px solid var(--border-color);
  padding-bottom: 12px;
}

.pillar-tab-btn {
  padding: 10px 18px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-dark);
  font-size: 13.5px;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.pillar-tab-btn:hover {
  border-color: var(--upi-blue);
  color: var(--upi-blue);
}

.pillar-tab-btn.active {
  background: var(--upi-blue);
  border-color: var(--upi-blue);
  color: #fff;
  box-shadow: 0 6px 16px rgba(34, 70, 139, 0.25);
}

/* Fox .services-2 2-column icon list inside each Pillar Tab */
.services-2-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.services-2-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  cursor: pointer;
}

.services-2-item:hover {
  border-color: var(--upi-blue);
  transform: translateY(-3px);
  box-shadow: var(--shadow-md);
}

.services-2-icon {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: var(--upi-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: var(--transition);
}

.services-2-item:hover .services-2-icon {
  background: var(--upi-blue);
}

.services-2-icon svg {
  width: 24px;
  height: 24px;
}

.services-2-text h3 {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--upi-navy);
  margin-bottom: 5px;
}

.services-2-text p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.55;
}

/* Right Image Showcase Column in .wrap-about */
.wrap-about-visual {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-main-photo {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  flex: 1;
  min-height: 340px;
  background: var(--upi-navy);
}

.about-main-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.about-photo-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  right: 16px;
  background: rgba(13, 29, 58, 0.92);
  backdrop-filter: blur(8px);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--upi-orange);
}

.about-photo-badge span.eyebrow {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #ff8b70;
  font-weight: 700;
  display: block;
  margin-bottom: 4px;
}

.about-photo-badge h4 {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 6px;
}

.about-photo-badge p {
  font-size: 12.5px;
  color: rgba(255, 255, 255, 0.82);
}

/* ==========================================================================
   6. PARALLAX COUNTER & SEMINAR HIGHLIGHT (#section-counter from Fox University)
   ========================================================================== */
.ftco-counter {
  position: relative;
  padding: 85px 0;
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  color: #fff;
  z-index: 1;
}

.ftco-counter::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    45deg,
    rgba(8, 18, 38, 0.94) 0%,
    rgba(34, 70, 139, 0.88) 65%,
    rgba(240, 68, 36, 0.78) 100%
  );
  z-index: -1;
}

.counter-top-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
  margin-bottom: 56px;
}

.counter-video-box {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 2px solid rgba(255, 255, 255, 0.2);
}

.counter-video-box img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.play-pulse-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 76px;
  height: 76px;
  border-radius: 50%;
  background: #fff;
  color: var(--upi-orange);
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 0 0 0 rgba(240, 68, 36, 0.6);
  animation: foxPulse 2s infinite;
  transition: var(--transition);
}

.play-pulse-btn:hover {
  background: var(--upi-orange);
  color: #fff;
  transform: translate(-50%, -50%) scale(1.08);
}

@keyframes foxPulse {
  0% {
    box-shadow: 0 0 0 0 rgba(240, 68, 36, 0.65);
  }
  70% {
    box-shadow: 0 0 0 26px rgba(240, 68, 36, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(240, 68, 36, 0);
  }
}

.counter-heading-white .subheading {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: #ffb19e;
  display: block;
  margin-bottom: 10px;
}

.counter-heading-white h2 {
  font-size: clamp(26px, 3vw, 38px);
  font-weight: 800;
  color: #fff;
  line-height: 1.25;
  margin-bottom: 18px;
}

.counter-heading-white p {
  font-size: 15.5px;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 16px;
}

.counter-metrics-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  padding-top: 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.counter-block {
  text-align: center;
}

.counter-block .number {
  display: block;
  font-size: clamp(34px, 3.8vw, 48px);
  font-weight: 800;
  color: #fff;
  line-height: 1.1;
  margin-bottom: 8px;
}

.counter-block .label {
  font-size: 14px;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* ==========================================================================
   7. UPI INSIGHT SECTION (Tin tức / Ấn phẩm nghiên cứu / Dự báo)
   Fox University .blog-entry cards + Featured Seminar 7 Perspectives
   ========================================================================== */
.insight-filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

.insight-filter-btn {
  padding: 10px 22px;
  border-radius: 30px;
  border: 1px solid var(--border-color);
  background: #fff;
  color: var(--text-dark);
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
}

.insight-filter-btn:hover {
  border-color: var(--upi-blue);
  color: var(--upi-blue);
}

.insight-filter-btn.active {
  background: var(--upi-orange);
  border-color: var(--upi-orange);
  color: #fff;
  box-shadow: 0 6px 16px rgba(240, 68, 36, 0.25);
}

/* Featured 100-Year City Banner inside UPI Insight */
.insight-featured-banner {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  background: var(--upi-navy);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  margin-bottom: 44px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.insight-featured-media {
  background: #041d37;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 16px;
}

.insight-featured-media img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 6px;
}

.insight-featured-body {
  padding: 38px 40px;
  color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.insight-featured-body .badge-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

.badge-pill {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.badge-pill.orange {
  background: var(--upi-orange);
  color: #fff;
}

.badge-pill.blue {
  background: rgba(255, 255, 255, 0.14);
  color: #d6e4ff;
}

.insight-featured-body h3 {
  font-size: clamp(22px, 2.4vw, 30px);
  font-weight: 800;
  line-height: 1.3;
  color: #fff;
  margin-bottom: 14px;
}

.insight-featured-body p {
  font-size: 15px;
  color: rgba(255, 255, 255, 0.85);
  margin-bottom: 20px;
}

.seven-pills-preview {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 24px;
}

.seven-pills-preview span {
  font-size: 11.5px;
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  color: #e2ecff;
}

/* Fox University .blog-entry 3-Column Grid */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.blog-entry {
  background: #fff;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.blog-entry:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: #b9cce8;
}

.blog-entry .block-20 {
  position: relative;
  height: 235px;
  background-size: cover;
  background-position: center;
  display: block;
  overflow: hidden;
}

.blog-entry .block-20 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.55s ease;
}

.blog-entry:hover .block-20 img {
  transform: scale(1.05);
}

/* Fox University's signature Date Box on bottom-left of blog image */
.blog-entry .meta-date {
  position: absolute;
  bottom: 0;
  left: 0;
  background: var(--upi-blue);
  color: #fff;
  padding: 10px 14px;
  text-align: center;
  line-height: 1.2;
  z-index: 2;
}

.blog-entry .meta-date .day {
  display: block;
  font-size: 20px;
  font-weight: 800;
}

.blog-entry .meta-date .mos,
.blog-entry .meta-date .yr {
  display: block;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  opacity: 0.9;
}

.blog-entry .category-tag {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(13, 29, 58, 0.88);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  padding: 5px 11px;
  border-radius: 20px;
  z-index: 2;
}

.blog-entry .category-tag.forecast {
  background: var(--upi-orange);
}

.blog-entry .text {
  padding: 24px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-entry .heading {
  font-size: 19px;
  font-weight: 700;
  line-height: 1.38;
  margin-bottom: 12px;
}

.blog-entry .heading a {
  color: var(--upi-navy);
}

.blog-entry .heading a:hover {
  color: var(--upi-orange);
}

.blog-entry p.excerpt {
  font-size: 14.5px;
  color: var(--text-muted);
  line-height: 1.68;
  margin-bottom: 20px;
}

.blog-entry .blog-footer {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.blog-entry .meta-author {
  font-size: 12.5px;
  color: var(--text-muted);
  font-weight: 500;
}

/* ==========================================================================
   8. CHUYÊN GIA (Nhà sáng lập & Hội đồng Chuyên gia - Fox .staff section)
   ========================================================================== */
.staff-filter-tabs {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 40px;
}

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

.staff-grid.founders-highlight {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 0;
}

.staff-card {
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(13, 29, 58, 0.08);
  overflow: hidden;
  box-shadow: 0 6px 22px rgba(13, 29, 58, 0.05);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(13, 29, 58, 0.09);
  border-color: rgba(34, 70, 139, 0.2);
}

.staff-card .img-wrap {
  height: 260px;
  overflow: hidden;
  position: relative;
  background: var(--upi-blue-light);
}

.staff-card .img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  transition: transform 0.45s ease;
}

.staff-card:hover .img-wrap img {
  transform: scale(1.03);
}

.staff-card .text {
  padding: 16px 20px 18px;
  text-align: left;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.staff-card .text h3 {
  font-size: 18px;
  font-weight: 500;
  color: var(--upi-navy);
  margin-bottom: 6px;
  transition: var(--transition);
}

.staff-card:hover .text h3 {
  color: var(--upi-blue);
}

.staff-card .text .position {
  display: block;
  font-size: 11px;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--upi-blue);
  margin-bottom: 5px;
  line-height: 1.4;
}

.staff-card .text p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.52;
  margin-bottom: 12px;
}

.staff-card .staff-action {
  margin-top: auto;
  padding-top: 10px;
  border-top: 1px solid rgba(13, 29, 58, 0.07);
}

.staff-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--upi-blue);
  transition: var(--transition);
}

.staff-profile-link:hover {
  color: var(--upi-orange);
  transform: translateX(3px);
}

/* ==========================================================================
   9. ẤN PHẨM NGHIÊN CỨU (Research Publications - Fox .course 4-col layout)
   ========================================================================== */
.publications-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 26px;
}

.publications-slide-page {
  display: none;
  animation: fadeSlidePage 0.28s ease;
}

.publications-slide-page.is-active {
  display: grid;
}

.publications-slider-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 18px;
}

.pub-slide-arrow {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  border: 1px solid rgba(34, 70, 139, 0.2);
  background: #ffffff;
  color: var(--upi-navy);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 8px rgba(13, 29, 58, 0.06);
  transition: all 0.2s ease;
}

.pub-slide-arrow:hover {
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  border-color: var(--upi-blue);
  color: #ffffff;
  transform: translateY(-1px);
}

.course-pub-card {
  background: #fff;
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  transition: var(--transition);
}

.course-pub-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: var(--upi-blue);
}

.course-pub-img {
  height: 190px;
  position: relative;
  overflow: hidden;
  background: var(--upi-navy);
}

.course-pub-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

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

.pub-cadence-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--upi-navy);
  color: #fff;
  font-size: 11px;
  font-weight: 700;
  padding: 5px 10px;
  border-radius: 4px;
  letter-spacing: 0.05em;
}

.pub-status-badge {
  position: absolute;
  bottom: 12px;
  right: 12px;
  background: var(--upi-orange);
  color: #fff;
  font-size: 10.5px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 20px;
  text-transform: uppercase;
}

.course-pub-body {
  padding: 16px 18px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.course-pub-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--upi-blue);
  margin-bottom: 8px;
}

.course-pub-body h3 {
  font-size: 17px;
  font-weight: 600;
  color: var(--upi-navy);
  line-height: 1.38;
  margin-bottom: 8px;
}

.course-pub-body p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.58;
  margin-bottom: 14px;
}

.course-pub-footer {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
}

/* Primary Research Evidence Banner */
.evidence-callout {
  margin-top: 42px;
  background: linear-gradient(120deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  color: #fff;
  padding: 32px 38px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
  box-shadow: var(--shadow-md);
}

.evidence-callout h3 {
  font-size: 22px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.evidence-callout p {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.88);
  max-width: 760px;
}

/* ==========================================================================
   10. CONSULTATION & PARTNERSHIP FORM SECTION (.ftco-consult from Fox)
   ========================================================================== */
.ftco-consult {
  position: relative;
  background-size: cover;
  background-position: center;
  padding: 85px 0;
  color: #fff;
  z-index: 1;
}

.ftco-consult::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(8, 18, 38, 0.92) 0%,
    rgba(13, 29, 58, 0.9) 50%,
    rgba(34, 70, 139, 0.92) 100%
  );
  z-index: -1;
}

.consult-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 54px;
  align-items: center;
}

.consult-info-list {
  margin-top: 28px;
  display: grid;
  gap: 18px;
}

.consult-info-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 16px 20px;
  border-radius: var(--radius-md);
}

.consult-info-item .num-badge {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--upi-orange);
  color: #fff;
  font-weight: 800;
  font-size: 13px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.consult-info-item h4 {
  font-size: 16px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}

.consult-info-item p {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.8);
}

.appointment-form-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(14px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-lg);
  padding: 38px 36px;
}

.appointment-form-card h3 {
  font-size: 23px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}

.appointment-form-card > p {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 24px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group {
  margin-bottom: 18px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 6px;
}

.form-control-upi {
  width: 100%;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 6px;
  color: #fff;
  font-size: 14.5px;
  outline: none;
  transition: var(--transition);
}

.form-control-upi::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.form-control-upi:focus {
  border-color: var(--upi-orange);
  background: rgba(255, 255, 255, 0.18);
}

.form-control-upi option {
  color: var(--text-dark);
  background: #fff;
}

/* ==========================================================================
   11. EVENT GALLERY STRIP (.ftco-gallery from Fox University)
   ========================================================================== */
.ftco-gallery {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.gallery-item {
  position: relative;
  height: 280px;
  overflow: hidden;
  cursor: pointer;
  background: var(--upi-navy);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease, opacity 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
  opacity: 0.75;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(8, 18, 38, 0.88), transparent 60%);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 20px;
  color: #fff;
}

.gallery-zoom-icon {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.8);
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: var(--upi-orange);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover .gallery-zoom-icon {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

.gallery-overlay span {
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: #ff9882;
  font-weight: 700;
}

.gallery-overlay h4 {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
  margin-top: 4px;
}

/* ==========================================================================
   12. FOOTER (.ftco-footer — 2-Column Layout with Consultation Form Card)
   ========================================================================== */
.ftco-footer {
  background: #ffffff;
  color: var(--text-muted);
  padding: 56px 0 32px;
  font-size: 16px;
  border-top: 1px solid var(--border-color);
}

.footer-main-grid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 40px;
  align-items: start;
  margin-bottom: 42px;
}

.footer-brand-header {
  margin-bottom: 24px;
}

.footer-brand-top {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-brand-top img {
  width: 68px;
  height: 68px;
  object-fit: contain;
  flex-shrink: 0;
}

.footer-brand-top-text,
.footer-brand-top-text * {
  font-family: var(--font-header);
}

.footer-brand-top-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 3px;
  min-width: 0;
}

.footer-brand-top-text .brand-en {
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.16em;
  color: var(--upi-orange);
  line-height: 1.2;
  white-space: nowrap !important;
}

.footer-brand-top-text .footer-brand-title {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
  color: var(--upi-navy);
  text-transform: uppercase;
  letter-spacing: 0.01em;
  white-space: nowrap !important;
  display: block;
}

.footer-brand-top-text .brand-sub {
  font-size: 13px;
  font-weight: 500;
  color: var(--text-muted);
  letter-spacing: 0.03em;
  line-height: 1.4;
  white-space: nowrap !important;
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 30px;
}

.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 16px;
  color: var(--text-muted);
  line-height: 1.6;
}

.contact-icon-circle {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: #fff1e8;
  color: var(--upi-orange);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.contact-icon-circle svg {
  width: 16px;
  height: 16px;
}

.footer-contact-item strong {
  color: var(--text-muted);
  font-weight: 700;
}

.hotline-highlight {
  color: var(--upi-orange);
  font-weight: 700;
}

.footer-uni-heading {
  font-size: 16px;
  font-weight: 700;
  color: var(--upi-navy);
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.footer-uni-divider {
  width: 38px;
  height: 3px;
  background-color: var(--upi-orange);
  margin: 8px 0 18px;
  border-radius: 2px;
}

.footer-links-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  row-gap: 12px;
  column-gap: 24px;
}

.footer-link-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 16px;
  color: var(--text-muted);
  transition: var(--transition);
}

.footer-link-item span {
  color: #87969f;
  font-size: 17px;
  line-height: 1;
}

.footer-link-item:hover {
  color: var(--upi-orange);
  transform: translateX(3px);
}

/* Consultation Request Card on Right */
.consult-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 10px 30px rgba(13, 29, 58, 0.07);
  overflow: hidden;
}

.consult-card-header {
  background-color: var(--upi-navy);
  color: #ffffff;
  padding: 15px 24px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.consult-card-header svg {
  width: 20px;
  height: 20px;
  color: var(--upi-orange);
  flex-shrink: 0;
}

.consult-card-body {
  padding: 20px 24px 24px;
}

.consult-intro {
  font-size: 15.5px;
  line-height: 1.6;
  color: var(--text-muted);
  margin-bottom: 16px;
}

.consult-form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-bottom: 13px;
}

.consult-form-group {
  margin-bottom: 13px;
}

.consult-form-row .consult-form-group {
  margin-bottom: 0;
}

.consult-label {
  display: block;
  font-size: 15px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.consult-label .req {
  color: #e11d48;
  margin-left: 2px;
}

.consult-input,
.consult-select,
.consult-textarea {
  width: 100%;
  background-color: #f4f7f9;
  border: 1px solid #dce3e8;
  border-radius: 6px;
  padding: 10px 13px;
  font-family: inherit;
  font-size: 15.5px;
  color: var(--text-muted);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease;
}

.consult-input::placeholder,
.consult-textarea::placeholder {
  color: #96a3ab;
}

.consult-input:focus,
.consult-select:focus,
.consult-textarea:focus {
  background-color: #ffffff;
  border-color: var(--upi-blue);
}

.consult-textarea {
  resize: vertical;
  min-height: 78px;
}

.captcha-row {
  display: flex;
  align-items: center;
  gap: 10px;
}

.captcha-box {
  background-color: #eef3fa;
  border: 1px solid #cbd8ec;
  border-radius: 6px;
  padding: 9px 14px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 15.5px;
  font-weight: 700;
  color: var(--upi-navy);
  white-space: nowrap;
  user-select: none;
}

.captcha-box svg {
  width: 15px;
  height: 15px;
  color: var(--upi-orange);
  flex-shrink: 0;
}

.btn-captcha-refresh {
  width: 39px;
  height: 39px;
  border-radius: 6px;
  border: 1px solid #d5dde2;
  background: #f8fafb;
  color: var(--upi-navy);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-captcha-refresh:hover {
  background: #e9eff2;
  transform: rotate(45deg);
}

.btn-submit-consult {
  width: 100%;
  margin-top: 14px;
  background-color: var(--upi-orange);
  color: #ffffff;
  border: none;
  border-radius: 6px;
  padding: 12px 18px;
  font-size: 15.5px;
  font-weight: 700;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: background-color 0.2s ease, transform 0.15s ease;
  letter-spacing: 0.02em;
}

.btn-submit-consult:hover {
  background-color: var(--upi-orange-hover);
  transform: translateY(-1px);
}

.footer-bottom {
  padding-top: 22px;
  border-top: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 15px;
  color: var(--text-muted);
}

.footer-bottom strong {
  color: var(--text-muted);
  font-weight: 600;
}

/* ==========================================================================
   13. MODAL & LIGHTBOX SYSTEM
   ========================================================================== */
.upi-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(8, 18, 38, 0.76);
  backdrop-filter: blur(5px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.upi-modal-backdrop.open {
  opacity: 1;
  visibility: visible;
}

.upi-modal {
  background: #fff;
  width: min(860px, 100%);
  max-height: 88vh;
  border-radius: var(--radius-lg);
  overflow-y: auto;
  box-shadow: 0 25px 70px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: translateY(16px);
  transition: var(--transition);
}

.upi-modal-backdrop.open .upi-modal {
  transform: translateY(0);
}

.upi-modal-header {
  position: sticky;
  top: 0;
  background: #fff;
  padding: 20px 28px;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 5;
}

.upi-modal-close {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-color);
  background: var(--bg-light);
  color: var(--text-dark);
  font-size: 20px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.upi-modal-close:hover {
  background: var(--upi-orange);
  color: #fff;
  border-color: var(--upi-orange);
}

.upi-modal-body {
  padding: 28px 32px 36px;
}

.upi-modal-body h2 {
  font-size: 26px;
  color: var(--upi-navy);
  margin-bottom: 12px;
  line-height: 1.3;
}

.upi-modal-body h3 {
  font-size: 19px;
  color: var(--upi-blue);
  margin: 22px 0 8px;
}

.upi-modal-body p {
  margin-bottom: 14px;
}

/* Back to top button */
.back-to-top {
  position: fixed;
  right: 24px;
  bottom: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--upi-orange);
  color: #fff;
  border: none;
  box-shadow: 0 8px 20px rgba(240, 68, 36, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 90;
  opacity: 0;
  visibility: hidden;
  transform: translateY(12px);
  transition: var(--transition);
}

.back-to-top.visible {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.back-to-top:hover {
  background: var(--upi-blue);
}

/* Toast Notification */
.upi-toast {
  position: fixed;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--upi-navy);
  color: #fff;
  padding: 14px 24px;
  border-radius: 30px;
  border-left: 4px solid var(--upi-orange);
  box-shadow: var(--shadow-lg);
  font-size: 14px;
  font-weight: 500;
  z-index: 1100;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition);
}

.upi-toast.show {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1140px) {
  .brand-name-vi,
  .footer-brand-top-text .footer-brand-title {
    font-size: clamp(13.5px, 1.4vw, 16px) !important;
    white-space: nowrap !important;
  }
  .services-strip-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .publications-grid,
  .staff-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .blog-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .about-offer-grid,
  .insight-featured-banner,
  .consult-grid,
  .counter-top-grid,
  .footer-main-grid {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 960px) {
  .navbar-toggler {
    display: inline-flex;
  }
  .navbar-container {
    flex-wrap: wrap;
    padding: 10px 20px;
  }
  .navbar-collapse {
    display: none;
    width: 100%;
    order: 4;
    padding: 12px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.12);
  }
  .navbar-collapse.open {
    display: block;
  }
  .navbar-nav {
    flex-direction: column;
  }
  .nav-item {
    flex-direction: column;
  }
  .nav-link {
    min-height: 48px;
    justify-content: space-between;
    padding: 10px 12px;
  }
  .dropdown-menu {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(255, 255, 255, 0.05);
    border: none;
    border-left: 3px solid var(--upi-orange);
    border-radius: 0;
    margin-left: 16px;
    display: none;
  }
  .nav-item.dropdown-open > .dropdown-menu {
    display: block;
  }
  .dropdown-header-label {
    color: #ff9c85;
    border-bottom-color: rgba(255, 255, 255, 0.1);
  }
  .dropdown-item {
    color: rgba(255, 255, 255, 0.88);
  }
  .dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
  }
  .home-slider {
    height: 380px;
    min-height: 380px;
  }
  .slider-item {
    position: absolute;
    inset: 0;
    padding: 0;
  }
  .slider-item.active {
    display: flex;
  }
  .slider-grid {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .staff-grid.founders-highlight {
    grid-template-columns: repeat(2, 1fr);
  }
  .ftco-gallery {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .top-bar-inner {
    flex-wrap: wrap;
    gap: 14px;
  }
  .brand-name-vi {
    font-size: clamp(12.5px, 3.6vw, 16px);
    white-space: nowrap !important;
  }
}

@media (max-width: 640px) {
  .topper-actions {
    width: 100%;
    justify-content: flex-start;
  }
  .services-strip-grid,
  .services-2-grid,
  .vision-values-row,
  .blog-grid,
  .staff-grid,
  .staff-grid.founders-highlight,
  .publications-grid,
  .counter-metrics-row,
  .form-row-2,
  .consult-form-row,
  .footer-links-grid,
  .footer-grid,
  .ftco-gallery {
    grid-template-columns: 1fr;
  }
  .evidence-callout {
    flex-direction: column;
    align-items: flex-start;
  }
  .insight-featured-body {
    padding: 24px;
  }
}

/* ==========================================================================
   14. SUBPAGE LAYOUT (CTELG 2-Column Layout with Sticky Sidebar - tam-nhin.php)
   Reference: https://ctelg.ueh.edu.vn/ctelg-about-us/gioi-thieu-trung-tam/
   Unified with UPI Home Brand Palette & Lexend Typography
   ========================================================================== */
.dropdown-item.active-sub {
  background: var(--upi-blue-light);
  color: var(--upi-orange);
  font-weight: 700;
}

.page-section-wrap {
  font-family: var(--font-body);
}

.page-section-wrap {
  background-color: var(--bg-light);
  padding: 35px 0 60px 0;
  border-bottom: 1px solid var(--border-color);
}

.page-layout-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: stretch;
}

.page-main-col {
  grid-column: 1;
  grid-row: 1;
  min-width: 0;
}

.page-sidebar-col {
  grid-column: 2;
  grid-row: 1;
  width: 100%;
  min-width: 0;
  align-self: stretch;
  height: auto;
}

.sidebar-inner,
.lkg-sidebar-sticky {
  display: flex;
  flex-direction: column;
  gap: 20px;
  position: -webkit-sticky;
  position: sticky;
  top: 72px;
  height: fit-content;
  z-index: 10;
}

/* Main Left Article Card (.page-card-content) */
.page-card-content {
  background-color: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  padding: 36px 44px;
  box-shadow: 0 4px 20px rgba(13, 29, 58, 0.04);
}

.page-card-header {
  margin-bottom: 24px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--border-color);
}

.page-card-title {
  font-size: 20.5px;
  font-weight: 600;
  color: var(--upi-blue);
  line-height: 1.38;
  text-transform: uppercase;
  letter-spacing: 0.01em;
  margin: 0;
}

.page-card-body.course-rich-text {
  font-size: 16px;
  font-weight: 400;
  line-height: 1.86;
  color: var(--text-body);
}

.page-card-body.course-rich-text p {
  margin-bottom: 18px;
  text-align: justify;
  color: var(--text-body);
}

.page-card-body.course-rich-text p:last-child {
  margin-bottom: 0;
}

.page-card-body.course-rich-text strong {
  color: var(--upi-navy);
  font-weight: 500;
}

.page-card-body.course-rich-text h2,
.page-card-body.course-rich-text h3,
.page-card-body.course-rich-text h4 {
  color: var(--upi-blue);
  font-weight: 600;
  line-height: 1.4;
  margin: 22px 0 10px 0;
}

.page-card-body.course-rich-text h2 {
  font-size: 16.5px;
}

.page-card-body.course-rich-text h3 {
  font-size: 15px;
}

.page-card-body.course-rich-text ul,
.page-card-body.course-rich-text ol {
  margin: 8px 0 14px 0;
  padding-left: 24px;
}

.page-card-body.course-rich-text ul {
  list-style: disc;
}

.page-card-body.course-rich-text ol {
  list-style: decimal;
}

.page-card-body.course-rich-text li {
  margin-bottom: 8px;
  line-height: 1.75;
  text-align: justify;
}

.page-card-body.course-rich-text li::marker {
  color: var(--upi-blue);
  font-weight: 700;
}

.page-card-body.course-rich-text hr {
  border: 0;
  border-top: 1px solid var(--border-color);
  margin: 24px 0 8px 0;
}

/* Right Sidebar Widget 1: Recruitment / Program Banner Slider (.lkg-banner-slider-wrap) */
.lkg-banner-card {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 18px rgba(13, 29, 58, 0.1);
  border: 1.5px solid rgba(34, 70, 139, 0.18);
  background: #ffffff;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: pointer;
  display: block;
  text-decoration: none;
  position: relative;
}

.lkg-banner-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 26px rgba(13, 29, 58, 0.18);
}

.lkg-banner-card img {
  width: 100%;
  height: 185px;
  object-fit: cover;
  display: block;
}

.lkg-banner-slider-wrap {
  position: relative;
  user-select: none;
}

.lkg-banner-slider-wrap.effect-slide .lkg-banner-slider-track {
  display: flex;
  width: 100%;
  transition: transform 0.5s cubic-bezier(0.25, 1, 0.5, 1);
  will-change: transform;
}

.lkg-banner-slider-wrap.effect-slide .lkg-banner-slide {
  flex: 0 0 100%;
  width: 100%;
}

.lkg-banner-slide-link {
  display: block;
  width: 100%;
  cursor: pointer;
  text-decoration: none;
}

.lkg-slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(13, 29, 58, 0.72);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  cursor: pointer;
  z-index: 5;
  opacity: 1;
  transition: opacity 0.25s ease, background-color 0.2s ease, transform 0.2s ease;
  padding: 0;
}

.lkg-banner-slider-wrap:hover .lkg-slider-arrow {
  opacity: 1;
}

.lkg-slider-arrow:hover {
  background: var(--upi-orange);
  border-color: var(--upi-orange);
  transform: translateY(-50%) scale(1.08);
}

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

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

.lkg-slider-dots {
  position: absolute;
  bottom: 10px;
  left: 50%;
  transform: translateX(-50%);
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(8, 18, 38, 0.52);
  backdrop-filter: blur(4px);
  padding: 4px 10px;
  border-radius: 20px;
  z-index: 5;
}

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

.lkg-slider-dot.is-active {
  width: 18px;
  border-radius: 10px;
  background: var(--upi-orange);
}

/* Right Sidebar Widget 2: Upcoming Courses (.widget-upcoming-courses-mockup) */
.sidebar-widget {
  background: var(--bg-white);
  border-radius: var(--radius-md);
  border: 1px solid var(--border-color);
  box-shadow: 0 4px 15px rgba(13, 29, 58, 0.04);
  overflow: hidden;
}

.widget-upcoming-courses-mockup {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(34, 70, 139, 0.16);
  box-shadow: 0 4px 18px rgba(13, 29, 58, 0.07);
  overflow: hidden;
}

.sidebar-upcoming-header {
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  border-bottom: 3px solid var(--upi-orange);
  color: #ffffff;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.upcoming-header-icon {
  color: var(--upi-orange) !important;
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.sidebar-upcoming-body {
  padding: 2px 0;
  background: #ffffff;
}

.sidebar-courses-list-mockup {
  display: flex;
  flex-direction: column;
  max-height: none;
  overflow: visible;
}

.sidebar-course-item-mockup {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px dashed #e2e8f0;
  transition: background-color 0.2s ease;
}

.sidebar-course-item-mockup:last-child {
  border-bottom: none;
}

.sidebar-course-item-mockup:hover {
  background-color: var(--upi-blue-light);
}

.sidebar-course-thumb-link-mockup {
  width: 60px;
  height: 60px;
  min-width: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(13, 29, 58, 0.08);
  display: block;
  background: #f1f5f9;
}

.sidebar-course-thumb-mockup {
  width: 100%;
  height: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  display: block;
  transition: transform 0.25s ease;
}

.sidebar-course-item-mockup:hover .sidebar-course-thumb-mockup {
  transform: scale(1.06);
}

.sidebar-course-info-mockup {
  flex: 1;
  min-width: 0;
}

.sidebar-course-title-mockup {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.42;
  margin: 0 0 5px 0;
}

.sidebar-course-title-mockup a {
  color: var(--upi-navy);
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.42em * 2);
  transition: color 0.2s ease;
}

.sidebar-course-title-mockup a:hover {
  color: var(--upi-orange);
}

.sidebar-course-date-mockup {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  color: var(--upi-orange);
  font-size: 12px;
  font-weight: 600;
}

.sidebar-course-date-mockup svg {
  width: 12px;
  height: 12px;
  color: var(--upi-orange);
  flex-shrink: 0;
}

@media (max-width: 991px) {
  .page-layout-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .page-main-col {
    grid-column: 1;
    grid-row: 1;
  }

  .page-sidebar-col {
    grid-column: 1;
    grid-row: 2;
  }

  .sidebar-inner,
  .lkg-sidebar-sticky {
    position: static;
  }

  .page-card-content {
    padding: 26px 24px;
  }

  .page-card-title {
    font-size: 18.5px;
  }
}

@media (max-width: 640px) {
  .page-section-wrap {
    padding: 20px 0 40px 0;
  }

  .page-card-content {
    padding: 20px 18px;
  }

  .page-card-title {
    font-size: 17px;
  }
}

/* ==========================================================================
   15. SUBPAGE: TRANG NHÀ SÁNG LẬP (FOUNDERS PAGE - nha-sang-lap.php)
   Reference: https://ctelg.ueh.edu.vn/ctelg-about-us/giang-vien/
   Unified with UPI Home Brand Palette & Lexend Typography
   ========================================================================== */
.page-card-header .section-subtitle {
  color: var(--text-muted);
  font-size: 14.5px;
  font-weight: 400;
  line-height: 1.6;
  max-width: 720px;
  margin: 8px auto 0 auto;
  text-align: center;
}

.page-card-header .section-subtitle strong {
  color: var(--text-muted);
  font-weight: 400;
}

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

.page-layout-grid .lecturers-grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.lecturer-card {
  background: var(--bg-white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  box-shadow: 0 2px 10px rgba(13, 29, 58, 0.04);
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  text-align: center;
  padding: 26px 18px 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  height: 100%;
}

.lecturer-card:hover {
  transform: translateY(-5px);
  border-color: rgba(34, 70, 139, 0.38);
  box-shadow: 0 12px 28px rgba(13, 29, 58, 0.12);
}

.lecturer-avatar-wrap {
  width: 155px;
  height: 155px;
  margin: 0 auto 14px;
  border-radius: 50%;
  overflow: hidden;
  border: 3.5px solid #ffffff;
  box-shadow: 0 4px 14px rgba(34, 70, 139, 0.16), 0 0 0 1px var(--border-color);
  background: #f8fafc;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  position: relative;
}

.lecturer-avatar-link {
  display: block;
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
}

.lecturer-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 15%;
  transition: transform 0.4s ease;
  display: block;
}

.lecturer-card:hover .lecturer-avatar {
  transform: scale(1.08);
}

.lecturer-name {
  font-size: 16.5px;
  font-weight: 700;
  color: var(--upi-navy);
  margin: 0 0 8px;
  line-height: 1.35;
  width: 100%;
}

.lecturer-name a {
  color: var(--upi-navy) !important;
  text-decoration: none;
  transition: color 0.2s ease;
}

.lecturer-name a:hover,
.lecturer-card:hover .lecturer-name a {
  color: var(--upi-blue) !important;
}

.lecturer-meta-block {
  min-height: 54px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 6px;
  width: 100%;
}

.lecturer-badge-row {
  min-height: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 5px;
  margin-bottom: 0;
}

.lecturer-badge-row:empty,
.lecturer-position:empty {
  display: none !important;
  margin: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
}

.lecturer-title-badge {
  display: inline-block;
  background: var(--upi-blue-light);
  color: var(--upi-blue);
  font-size: 11.5px;
  font-weight: 700;
  padding: 3px 11px;
  border-radius: 12px;
  border: 1px solid rgba(34, 70, 139, 0.16);
}

.lecturer-title-badge.badge-president {
  background: rgba(240, 68, 36, 0.1);
  color: var(--upi-orange);
  border-color: rgba(240, 68, 36, 0.25);
}

.lecturer-position {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.45;
  min-height: 0;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
}

.lecturer-view-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  font-size: 12px;
  font-weight: 700;
  color: var(--upi-blue) !important;
  border: 1.5px solid var(--upi-blue);
  padding: 7px 18px;
  border-radius: 20px;
  transition: all 0.25s ease;
  text-decoration: none;
  margin-top: auto;
  background: #ffffff;
  white-space: nowrap;
}

.lecturer-meta-block + .lecturer-view-btn {
  margin-top: 16px;
}

.lecturer-view-btn:hover {
  background: var(--upi-blue);
  border-color: var(--upi-blue);
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(34, 70, 139, 0.25);
  transform: translateY(-1px);
}

.lecturer-view-btn svg {
  width: 12px;
  height: 12px;
  transition: transform 0.2s ease;
}

.lecturer-view-btn:hover svg {
  transform: translateX(3px);
}

/* Detailed Founder Profile Blocks (CTELG Single Profile Layout in UPI Theme) */
.founders-detail-wrap {
  margin-top: 36px;
  padding-top: 30px;
  border-top: 2px solid var(--border-color);
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.founders-detail-heading {
  font-size: 19px;
  font-weight: 700;
  color: var(--upi-blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin-bottom: 4px;
}

.founder-profile-card {
  border-radius: var(--radius-lg);
  border: 1px solid var(--border-color);
  overflow: hidden;
  background: var(--bg-white);
  box-shadow: 0 4px 16px rgba(13, 29, 58, 0.04);
}

.profile-hero-banner {
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  padding: 24px 26px;
  color: #ffffff;
  display: flex;
  gap: 22px;
  align-items: center;
  border-bottom: 3px solid var(--upi-orange);
}

.profile-hero-avatar {
  width: 96px;
  height: 96px;
  border-radius: 50%;
  object-fit: cover;
  object-position: center 15%;
  border: 3px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 18px rgba(8, 18, 38, 0.28);
  background: #ffffff;
  flex-shrink: 0;
}

.profile-hero-info {
  flex-grow: 1;
  min-width: 0;
}

.profile-hero-badge {
  display: inline-block;
  background: rgba(240, 68, 36, 0.24);
  border: 1px solid rgba(240, 68, 36, 0.65);
  color: #ffd6cc;
  padding: 3px 12px;
  border-radius: 20px;
  font-size: 11.5px;
  font-weight: 600;
  margin-bottom: 6px;
}

.profile-hero-name {
  font-size: 21px;
  font-weight: 700;
  margin: 0 0 4px 0;
  line-height: 1.3;
  color: #ffffff;
}

.profile-hero-sub {
  font-size: 13.5px;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
  line-height: 1.45;
}

.profile-body-wrap {
  padding: 22px 26px;
  font-size: 14.5px;
  line-height: 1.75;
  color: var(--text-body);
}

.profile-body-wrap p {
  margin-bottom: 12px;
  text-align: justify;
}

.profile-body-wrap p:last-of-type {
  margin-bottom: 0;
}

.profile-areas-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px dashed var(--border-color);
}

.profile-area-tag {
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  background: var(--upi-blue-light);
  color: var(--upi-blue);
  border: 1px solid rgba(34, 70, 139, 0.14);
}

@media (max-width: 991px) {
  .page-layout-grid .lecturers-grid,
  .lecturers-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (max-width: 640px) {
  .page-layout-grid .lecturers-grid,
  .lecturers-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .lecturer-avatar-wrap {
    width: 135px;
    height: 135px;
  }

  .profile-hero-banner {
    flex-direction: column;
    text-align: center;
    padding: 22px 18px;
    gap: 14px;
  }

  .profile-body-wrap {
    padding: 18px 16px;
  }
}

/* ==========================================================================
   16. SUBPAGE: CHƯƠNG TRÌNH ĐÀO TẠO / THẨM ĐỊNH GIÁ (tham-dinh-gia.php)
   Reference: https://ctelg.ueh.edu.vn/khoa-hoc/
   Giữ nguyên font chữ gốc (Lexend / Montserrat) & căn chỉnh khoảng cách hài hòa
   ========================================================================== */
.section-courses-archive {
  padding: 46px 0 68px 0;
  background-color: var(--bg-light);
  border-bottom: 1px solid var(--border-color);
}

.courses-section-header {
  text-align: center;
  margin-bottom: 34px;
  position: relative;
}

.courses-section-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: var(--upi-blue);
  text-transform: uppercase;
  letter-spacing: 0.02em;
  line-height: 1.35;
  position: relative;
  display: inline-block;
  padding-bottom: 14px;
  margin: 0;
}

.courses-section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 78px;
  height: 3.5px;
  background: linear-gradient(90deg, var(--upi-navy) 0%, var(--upi-blue) 55%, var(--upi-orange) 100%);
  border-radius: 3px;
}

.courses-archive-card {
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid #e2e8f0;
  padding: 28px 32px 38px 32px;
  box-shadow: 0 6px 24px rgba(13, 29, 58, 0.05);
}

.course-tabs-nav-classic {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px 32px;
  padding-bottom: 20px;
  margin-bottom: 32px;
  border-bottom: 1.5px solid #e2e8f0;
}

.course-tab-btn-classic {
  background: none;
  border: none;
  padding: 4px 0;
  font-family: var(--font-body);
  font-size: 15.5px;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  position: relative;
  line-height: 1.4;
}

.course-tab-icon {
  width: 18px;
  height: 18px;
  color: var(--upi-blue);
  flex-shrink: 0;
  transition: transform 0.2s ease, color 0.2s ease;
}

.course-tab-btn-classic:hover,
.course-tab-btn-classic.active {
  color: var(--upi-orange);
}

.course-tab-btn-classic.active {
  font-weight: 700;
}

.course-tab-btn-classic:hover .course-tab-icon,
.course-tab-btn-classic.active .course-tab-icon {
  color: var(--upi-orange);
  transform: translateX(2px);
}

.course-tab-btn-classic::after {
  content: '';
  position: absolute;
  bottom: -21px;
  left: 0;
  width: 0;
  height: 3.5px;
  background: var(--upi-orange);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.course-tab-btn-classic.active::after {
  width: 100%;
}

.course-tab-pane {
  display: none;
}

.course-tab-pane.active {
  display: block;
  animation: courseFadeIn 0.25s ease;
}

@keyframes courseFadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.courses-grid-classic {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  align-items: stretch;
}

.course-card-classic-item {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 12px rgba(15, 23, 42, 0.04);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.course-card-classic-item:hover {
  transform: translateY(-4px);
  border-color: rgba(34, 70, 139, 0.35);
  box-shadow: 0 12px 26px rgba(13, 29, 58, 0.1);
}

.course-poster-wrap {
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  background: var(--upi-navy);
  border-bottom: 1px solid #e2e8f0;
}

.course-poster-link {
  display: block;
  width: 100%;
  height: 100%;
  text-decoration: none;
}

.course-visual-poster {
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  position: relative;
  overflow: hidden;
}

.course-visual-photo-box {
  width: 100%;
  height: 62%;
  position: relative;
  overflow: hidden;
  background: #e2e8f0;
}

.course-visual-photo {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.45s ease;
}

.course-card-classic-item:hover .course-visual-photo {
  transform: scale(1.06);
}

.course-visual-caption-box {
  width: 100%;
  height: 38%;
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  border-top: 2.5px solid var(--upi-orange);
  padding: 12px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.course-visual-caption-box::before,
.course-visual-caption-box::after {
  content: '';
  position: absolute;
  width: 14px;
  height: 14px;
  border-color: rgba(255, 255, 255, 0.28);
  border-style: solid;
  pointer-events: none;
}

.course-visual-caption-box::before {
  top: 7px;
  left: 8px;
  border-width: 1.5px 0 0 1.5px;
}

.course-visual-caption-box::after {
  bottom: 7px;
  right: 8px;
  border-width: 0 1.5px 1.5px 0;
}

.course-banner-watermark {
  position: absolute;
  right: -8px;
  bottom: -10px;
  width: 78px;
  height: 78px;
  color: #ffffff;
  opacity: 0.1;
  pointer-events: none;
  z-index: 1;
  transition: transform 0.35s ease, opacity 0.35s ease;
}

.course-card-classic-item:hover .course-banner-watermark {
  transform: scale(1.08) rotate(-3deg);
  opacity: 0.16;
}

.course-visual-title {
  position: relative;
  z-index: 2;
  font-size: 13px;
  font-weight: 600;
  color: #ffffff !important;
  text-transform: uppercase;
  line-height: 1.38;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  letter-spacing: 0.01em;
}

.course-card-bottom-wrap {
  padding: 14px 15px 16px 15px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
  justify-content: space-between;
  gap: 12px;
}

.course-specs-box {
  background: #f4f7fb;
  border-radius: 8px;
  padding: 11px 13px;
  margin: 0;
  font-family: var(--font-body);
  font-size: 12.5px;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 7px;
  min-height: 64px;
  justify-content: center;
}

.course-specs-box .spec-row {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.48;
  font-family: var(--font-body);
}

.course-specs-box .spec-icon {
  color: var(--upi-blue);
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  margin-top: 2.5px;
}

.course-specs-box .spec-row span {
  font-family: var(--font-body);
  color: #334155;
  font-weight: 400;
}

.course-btns-row {
  display: flex;
  gap: 8px;
  width: 100%;
}

.btn-course-info {
  background: var(--upi-orange);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  text-align: center;
  flex: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease;
}

.btn-course-info:hover {
  background: var(--upi-orange-hover);
  color: #ffffff !important;
  transform: translateY(-1px);
}

.btn-course-reg {
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  color: #ffffff !important;
  font-family: var(--font-body);
  font-size: 12px;
  font-weight: 500;
  padding: 6px 10px;
  border-radius: 5px;
  text-align: center;
  flex: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.01em;
  transition: background 0.2s ease, transform 0.2s ease, filter 0.2s ease;
  cursor: pointer;
  border: none;
}

.btn-course-reg:hover {
  background: var(--upi-blue-bright);
  color: #ffffff !important;
  transform: translateY(-1px);
}

/* Course Detail Modal Layout */
.course-modal-grid {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 28px;
  align-items: start;
}

.course-modal-poster {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #f1f5f9;
  aspect-ratio: 1 / 1;
}

.course-modal-poster img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.course-modal-badge {
  display: inline-block;
  background: rgba(242, 113, 33, 0.12);
  color: #f27121;
  font-size: 12px;
  font-weight: 600;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 10px;
}

.course-modal-info h2 {
  font-size: 21px;
  font-weight: 700;
  color: var(--upi-navy);
  line-height: 1.38;
  margin-bottom: 14px;
}

.course-modal-specs {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 14px 16px;
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  font-size: 13.5px;
  color: #334155;
}

.course-modal-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--text-body);
  margin-bottom: 20px;
}

.course-modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

@media (max-width: 1100px) {
  .courses-grid-classic {
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
  }
}

@media (max-width: 860px) {
  .courses-grid-classic {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .courses-archive-card {
    padding: 22px 20px 28px;
  }
  .course-tabs-nav-classic {
    gap: 12px 20px;
  }
  .course-tab-btn-classic::after {
    display: none;
  }
  .course-modal-grid {
    grid-template-columns: 1fr;
  }
  .course-modal-poster {
    max-width: 260px;
    margin: 0 auto;
  }
}

@media (max-width: 580px) {
  .section-courses-archive {
    padding: 32px 0 48px 0;
  }
  .courses-section-title {
    font-size: 22px;
  }
  .courses-grid-classic {
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .courses-archive-card {
    padding: 18px 16px 24px;
  }
}

/* ==========================================================================
   TRANG TĨNH TƯ VẤN & GIỚI THIỆU / QUẢNG BÁ (CHỦ ĐẦU TƯ / NHÀ ĐẦU TƯ / KHU VỰC CÔNG)
   Bố cục 2 cột: Trái (Hiển thị bài viết giới thiệu) — Phải (Các bài viết khác)
   ========================================================================== */
.advisory-static-section {
  background-color: #f3f7fb;
  padding: 40px 0 68px;
}

.advisory-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.advisory-subnav {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffffff;
  padding: 6px;
  border-radius: 10px;
  border: 1px solid rgba(34, 70, 139, 0.12);
  box-shadow: 0 4px 14px rgba(13, 29, 58, 0.04);
  flex-wrap: wrap;
}

.advisory-subnav-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 8px 18px;
  border-radius: 7px;
  font-size: 13.5px;
  font-weight: 500;
  color: var(--upi-navy);
  transition: all 0.22s ease;
}

.advisory-subnav-link:hover {
  color: var(--upi-blue);
  background: var(--upi-blue-light);
}

.advisory-subnav-link.is-active {
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 4px 12px rgba(34, 70, 139, 0.2);
}

.advisory-library-link {
  margin-left: auto;
  font-size: 14.5px;
  font-weight: 600;
  color: var(--upi-blue);
}

.advisory-editorial-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: stretch;
}

.advisory-main-col {
  min-width: 0;
}

.advisory-article-card {
  border-radius: 14px;
  border: 1px solid rgba(34, 70, 139, 0.12);
  box-shadow: 0 14px 36px rgba(13, 29, 58, 0.06);
  padding: 36px 40px 40px;
  background: #ffffff;
}

.advisory-article-header {
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.advisory-meta-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.advisory-category-badge {
  display: none !important;
  padding: 5px 12px;
  border-radius: 6px;
  background: var(--upi-blue-light);
  color: var(--upi-blue);
  font-size: 11.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.advisory-meta-info {
  font-size: 13px;
  color: var(--text-muted);
}

.advisory-article-title {
  font-size: clamp(22px, 2.3vw, 27px);
  font-weight: 600;
  line-height: 1.38;
  color: var(--upi-navy);
  margin-bottom: 12px;
}

.advisory-author-bar {
  font-size: 13.5px;
  color: var(--text-muted);
}

.advisory-author-bar strong {
  color: var(--upi-blue);
  font-weight: 600;
}

.advisory-article-lead {
  font-size: 15.5px;
  font-weight: 500;
  line-height: 1.72;
  color: var(--upi-navy);
  background: #f8fafd;
  border-left: 4px solid var(--upi-blue);
  padding: 16px 20px;
  border-radius: 0 8px 8px 0;
  margin-bottom: 24px;
  text-align: justify;
}

.advisory-hero-figure {
  margin: 0 0 28px 0;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #f8fafc;
}

.advisory-hero-figure img {
  width: 100%;
  max-height: 400px;
  object-fit: cover;
  display: block;
}

.advisory-hero-figure figcaption {
  padding: 10px 16px;
  font-size: 13px;
  color: var(--text-muted);
  background: #ffffff;
  border-top: 1px solid var(--border-color);
  line-height: 1.5;
}

.advisory-article-body h2 {
  font-size: 18.5px;
  font-weight: 600;
  color: var(--upi-navy);
  margin: 26px 0 12px 0;
  line-height: 1.42;
}

.advisory-article-body p {
  font-size: 16px;
  line-height: 1.78;
  color: var(--text-body);
  margin-bottom: 16px;
}

.advisory-highlights-box {
  margin: 28px 0;
  padding: 22px 26px;
  background: var(--upi-blue-light);
  border-radius: 10px;
  border: 1px solid rgba(34, 70, 139, 0.16);
}

.advisory-highlights-box h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--upi-navy);
  margin: 0 0 12px 0;
}

.advisory-highlights-box ul {
  margin: 0;
  padding-left: 20px;
}

.advisory-highlights-box li {
  font-size: 14.5px;
  line-height: 1.65;
  color: var(--text-dark);
  margin-bottom: 8px;
}

.advisory-highlights-box li:last-child {
  margin-bottom: 0;
}

.advisory-promo-cta {
  margin-top: 32px;
  padding: 24px 28px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.advisory-promo-cta-text {
  flex: 1 1 340px;
}

.advisory-promo-eyebrow {
  display: block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.78);
  margin-bottom: 6px;
}

.advisory-promo-cta-text h3 {
  font-size: 18px;
  font-weight: 600;
  color: #ffffff;
  margin: 0 0 8px 0;
  line-height: 1.38;
}

.advisory-promo-cta-text p {
  font-size: 13.5px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.88);
  margin: 0;
}

.btn-advisory-consult {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 8px;
  background: #ffffff;
  color: var(--upi-navy);
  font-size: 13.5px;
  font-weight: 600;
  white-space: nowrap;
  box-shadow: 0 6px 18px rgba(8, 18, 38, 0.22);
  transition: all 0.22s ease;
}

.btn-advisory-consult:hover {
  background: var(--upi-orange);
  color: #ffffff;
  transform: translateY(-2px);
}

/* Cột phải: Widget đồng bộ chiều rộng 300px và chiều cao chuẩn với sidebar.php */
.advisory-side-col {
  width: 100%;
  min-width: 0;
  align-self: stretch;
  height: auto;
}

.advisory-side-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 76px;
  height: fit-content;
  z-index: 20;
}

.advisory-widgets-stack {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

/* 1. Widget Tìm kiếm bài viết */
.advisory-search-body {
  padding: 14px;
  background: #ffffff;
}

.advisory-search-form {
  display: flex;
  align-items: stretch;
  width: 100%;
  border-radius: 7px;
  overflow: hidden;
  border: 1px solid #d8e1ee;
  background: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.advisory-search-form:focus-within {
  border-color: var(--upi-blue);
  box-shadow: 0 0 0 3px rgba(34, 70, 139, 0.1);
}

.advisory-search-input {
  flex: 1;
  min-width: 0;
  border: none;
  outline: none;
  padding: 10px 12px;
  font-size: 13px;
  color: var(--text-dark);
  background: transparent;
}

.advisory-search-input::placeholder {
  color: #8896ab;
}

.advisory-search-btn {
  width: 42px;
  border: none;
  background: var(--upi-orange);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background-color 0.2s ease;
}

.advisory-search-btn:hover {
  background: var(--upi-blue);
}

/* 2. Widget Bài viết mới nhất (Đồng nhất kích thước 60x60 & chiều cao với Khóa học sắp khai giảng) */
.advisory-latest-body {
  padding: 2px 0;
  background: #ffffff;
}

.advisory-latest-item.insight-side-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 14px;
  border-bottom: 1px dashed #e2e8f0;
  transition: background-color 0.2s ease;
}

.advisory-latest-item.insight-side-item:first-child {
  padding-top: 12px;
}

.advisory-latest-item.insight-side-item:last-child {
  border-bottom: none;
  padding-bottom: 12px;
}

.advisory-latest-item.insight-side-item:hover {
  background-color: var(--upi-blue-light);
}

.advisory-latest-item .insight-side-thumb {
  width: 60px;
  height: 60px;
  min-width: 60px;
  flex-shrink: 0;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 2px 6px rgba(13, 29, 58, 0.08);
  display: block;
  background: #f1f5f9;
}

.advisory-latest-item .insight-side-content {
  flex: 1;
  min-width: 0;
  display: block;
}

.advisory-latest-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12px;
  font-weight: 600;
  color: var(--upi-orange);
  margin-top: 0;
  margin-bottom: 0;
}

.advisory-latest-date svg {
  width: 12px;
  height: 12px;
  color: var(--upi-orange);
  flex-shrink: 0;
}

.advisory-latest-item .insight-side-content h4 {
  font-size: 13.5px;
  font-weight: 600;
  line-height: 1.42;
  margin: 0 0 5px 0;
  color: var(--upi-navy);
}

.advisory-latest-item .insight-side-content h4 a {
  color: var(--upi-navy);
  font-size: inherit;
  font-weight: inherit;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(1.42em * 2);
  transition: color 0.2s ease;
}

.advisory-latest-item .insight-side-content h4 a:hover {
  color: var(--upi-orange);
}

.advisory-latest-item .insight-side-desc {
  display: none !important;
}

.advisory-search-empty {
  padding: 18px 8px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  margin: 0;
}

.advisory-side-page {
  display: none;
  animation: fadeSlidePage 0.26s ease;
}

.advisory-side-page.is-active {
  display: block;
}

@keyframes fadeSlidePage {
  from {
    opacity: 0;
    transform: translateX(6px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.advisory-side-pager.insight-side-more {
  padding-top: 14px;
  margin-top: 2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.upcoming-courses-pager.advisory-side-pager {
  padding: 12px 14px 16px;
  margin-top: 0;
  border-top: 1px dashed #e2e8f0;
  background: #ffffff;
}

.side-page-numbers {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.side-page-arrow,
.side-page-num {
  width: 30px;
  height: 30px;
  border-radius: 7px;
  border: 1px solid rgba(34, 70, 139, 0.16);
  background: #ffffff;
  color: var(--upi-navy);
  font-size: 12.5px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.side-page-arrow:hover,
.side-page-num:hover {
  border-color: var(--upi-blue);
  color: var(--upi-blue);
  background: var(--upi-blue-light);
}

.side-page-num.is-active {
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  border-color: var(--upi-blue);
  color: #ffffff;
  font-weight: 600;
  box-shadow: 0 3px 10px rgba(34, 70, 139, 0.2);
}

@media (max-width: 991px) {
  .advisory-editorial-layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .advisory-side-sticky {
    position: static;
  }
  .advisory-article-card {
    padding: 26px 24px 30px;
  }
}

@media (max-width: 580px) {
  .advisory-article-card {
    padding: 20px 18px 24px;
  }
  .advisory-promo-cta {
    padding: 20px 18px;
  }
}

/* ==========================================================================
   TRANG TIN TỨC UPI INSIGHT (ĐƠN GIẢN, CHIA 3 PHẦN RÕ RÀNG — tin-tuc.php)
   ========================================================================== */
.news-sections-stack {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.news-part-card {
  border-radius: 14px;
  border: 1px solid rgba(34, 70, 139, 0.12);
  box-shadow: 0 12px 32px rgba(13, 29, 58, 0.05);
  padding: 28px 32px 30px;
  background: #ffffff;
}

.news-part-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-bottom: 14px;
  margin-bottom: 20px;
  border-bottom: 1.5px solid #e6edf6;
}

.news-part-tag {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 4px 10px;
  border-radius: 6px;
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  color: #ffffff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-part-title {
  font-size: 17px;
  font-weight: 700;
  color: var(--upi-navy);
  letter-spacing: 0.02em;
  text-transform: uppercase;
  margin: 0;
}

/* Phần 1: Tiêu điểm nổi bật */
.news-featured-box {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 24px;
  align-items: center;
}

.news-featured-thumb {
  display: block;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  aspect-ratio: 16 / 10;
  background: #f1f5f9;
}

.news-featured-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.35s ease;
}

.news-featured-thumb:hover img {
  transform: scale(1.04);
}

.news-item-meta {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
  margin-bottom: 0;
}

.news-featured-content .news-item-meta {
  margin-bottom: 10px;
}

.news-item-date {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #718096;
}

.news-item-date svg {
  width: 13px;
  height: 13px;
  color: var(--upi-orange);
  flex-shrink: 0;
}

.news-featured-heading {
  font-size: 20px;
  font-weight: 600;
  line-height: 1.4;
  margin: 0 0 10px 0;
}

.news-featured-heading a {
  color: var(--upi-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-featured-heading a:hover {
  color: var(--upi-blue);
}

.news-featured-excerpt {
  font-size: 14.5px;
  line-height: 1.68;
  color: var(--text-body);
  margin: 0 0 14px 0;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-read-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--upi-blue);
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.news-read-more:hover {
  color: var(--upi-orange);
  transform: translateX(3px);
}

/* Phần 2: Danh sách bản tin đơn giản */
.news-simple-list {
  display: flex;
  flex-direction: column;
}

.news-simple-row {
  display: grid;
  grid-template-columns: 185px 1fr;
  gap: 20px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px dashed #e2e8f0;
}

.news-simple-row:first-child {
  padding-top: 2px;
}

.news-simple-row:last-child {
  padding-bottom: 2px;
  border-bottom: none;
}

.news-simple-thumb {
  display: block;
  width: 185px;
  height: 120px;
  border-radius: 9px;
  overflow: hidden;
  border: 1px solid var(--border-color);
  background: #f1f5f9;
}

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

.news-simple-thumb:hover img {
  transform: scale(1.05);
}

.news-mini-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 5px;
  background: var(--upi-blue-light);
  color: var(--upi-blue);
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.news-simple-heading {
  font-size: 16.5px;
  font-weight: 600;
  line-height: 1.42;
  margin: 0 0 6px 0;
}

.news-simple-heading a {
  color: var(--upi-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-simple-heading a:hover {
  color: var(--upi-blue);
}

.news-simple-desc {
  font-size: 13.8px;
  line-height: 1.58;
  color: var(--text-body);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Phần 3: Chuyên đề trọng tâm 2 cột đơn giản */
.news-topic-boxes {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
}

.news-topic-box {
  background: #f8fafd;
  border: 1px solid #e2eaf4;
  border-radius: 10px;
  padding: 18px 20px;
}

.news-topic-box-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--upi-blue);
  margin: 0 0 12px 0;
  padding-bottom: 10px;
  border-bottom: 1px solid #dde6f2;
}

.news-topic-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.news-topic-links li {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding-left: 14px;
  position: relative;
}

.news-topic-links li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 8px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--upi-orange);
}

.news-topic-links li a {
  font-size: 13.8px;
  font-weight: 600;
  line-height: 1.42;
  color: var(--upi-navy);
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-topic-links li a:hover {
  color: var(--upi-blue);
}

.news-topic-links li span {
  font-size: 11.8px;
  color: var(--text-muted);
}

.news-back-bar {
  margin-bottom: 16px;
}

.news-back-link {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  font-size: 13.5px;
  font-weight: 600;
  color: var(--upi-blue);
  text-decoration: none;
  padding: 6px 12px;
  border-radius: 7px;
  background: var(--upi-blue-light);
  transition: all 0.2s ease;
}

.news-back-link:hover {
  background: var(--upi-blue);
  color: #ffffff;
}

@media (max-width: 768px) {
  .news-part-card {
    padding: 20px 18px 22px;
  }
  .news-featured-box {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .news-simple-row {
    grid-template-columns: 1fr;
    gap: 12px;
  }
  .news-simple-thumb {
    width: 100%;
    height: 180px;
  }
  .news-topic-boxes {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   TRANG HỢP TÁC CÙNG UPI (hop-tac.php) — TỐI GIẢN, ĐỒNG BỘ TRANG CHỦ
   ========================================================================== */
.partnership-hero-section {
  padding: 40px 0 64px;
  background: #ffffff;
  border-bottom: 1px solid var(--border-color);
}

.partnership-breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}

.partnership-breadcrumb a {
  color: var(--upi-blue);
  font-weight: 500;
  text-decoration: none;
}

.partnership-breadcrumb a:hover {
  text-decoration: underline;
}

.partnership-hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 44px;
  align-items: center;
}

.partnership-hero-copy .insight-eyebrow {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--upi-blue);
  margin-bottom: 12px;
}

.partnership-hero-heading {
  font-family: var(--font-heading);
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--upi-navy);
  margin: 0 0 16px;
  letter-spacing: -0.015em;
}

.partnership-hero-lead {
  font-size: 16px;
  line-height: 1.68;
  color: var(--text-secondary);
  margin: 0 0 28px;
  max-width: 540px;
}

.partnership-hero-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.partnership-secondary-link {
  padding: 10px 4px;
}

.partnership-pillars-mini {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.partner-mini-card {
  background: var(--bg-light);
  border: 1px solid rgba(34, 70, 139, 0.1);
  border-radius: 12px;
  padding: 20px;
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.partner-mini-card:hover {
  transform: translateY(-3px);
  background: #ffffff;
  border-color: rgba(34, 70, 139, 0.24);
  box-shadow: 0 12px 28px rgba(4, 29, 55, 0.07);
}

.partner-mini-icon {
  width: 38px;
  height: 38px;
  border-radius: 9px;
  background: rgba(34, 70, 139, 0.1);
  color: var(--upi-blue);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.partner-mini-body h2 {
  font-family: var(--font-heading);
  font-size: 15.5px;
  font-weight: 700;
  color: var(--upi-navy);
  margin: 0 0 6px;
}

.partner-mini-body p {
  font-size: 13.5px;
  line-height: 1.55;
  color: var(--text-secondary);
  margin: 0;
}

.partnership-section-header {
  align-items: flex-end;
}

.partnership-header-desc {
  max-width: 380px;
  margin: 0;
  font-size: 14.5px;
  line-height: 1.6;
  color: var(--text-secondary);
}

.partnership-showcase-card {
  background: #ffffff;
  border: 1px solid rgba(34, 70, 139, 0.12);
  border-radius: 16px;
  padding: 36px;
  box-shadow: 0 14px 36px rgba(4, 29, 55, 0.05);
}

.partnership-milestone-split {
  display: grid;
  grid-template-columns: 1fr 1.25fr;
  gap: 36px;
  align-items: center;
  padding-bottom: 36px;
  border-bottom: 1px solid var(--border-color);
}

.partnership-date-tag {
  display: inline-block;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--upi-orange);
  margin-bottom: 10px;
}

.partnership-milestone-info h3 {
  font-family: var(--font-heading);
  font-size: clamp(22px, 2.4vw, 28px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--upi-navy);
  margin: 0 0 14px;
}

.partnership-milestone-lead {
  font-size: 15px;
  line-height: 1.68;
  color: var(--text-secondary);
  margin: 0 0 20px;
}

.partnership-orgs-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.partnership-org-item {
  padding: 12px 16px;
  border-radius: 10px;
  background: var(--bg-light);
  border-left: 3px solid var(--upi-blue);
}

.partnership-org-item strong {
  display: block;
  font-size: 14px;
  font-weight: 600;
  color: var(--upi-navy);
  margin-bottom: 3px;
}

.partnership-org-item span {
  display: block;
  font-size: 13px;
  line-height: 1.5;
  color: var(--text-secondary);
}

.partnership-milestone-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 20px;
}

.partnership-ext-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 600;
  color: var(--upi-blue);
  text-decoration: none;
}

.partnership-ext-link:hover {
  color: var(--upi-orange);
}

.partnership-photo-figure {
  margin: 0;
}

.partnership-photo-wrap {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: var(--upi-navy);
  box-shadow: 0 10px 26px rgba(4, 29, 55, 0.1);
}

.partnership-photo-wrap img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.partnership-photo-wrap:hover img {
  transform: scale(1.015);
}

.partnership-zoom-btn {
  position: absolute;
  right: 14px;
  bottom: 14px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 13px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.24);
  background: rgba(4, 29, 55, 0.82);
  backdrop-filter: blur(6px);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

.partnership-zoom-btn:hover {
  background: var(--upi-blue);
  transform: translateY(-1px);
}

.partnership-photo-figure figcaption {
  margin-top: 10px;
  font-size: 13px;
  color: var(--text-muted);
}

.partnership-panorama-block {
  padding-top: 32px;
}

.partnership-panorama-figure {
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 992px) {
  .partnership-hero-grid,
  .partnership-milestone-split {
    grid-template-columns: 1fr;
    gap: 28px;
  }
  .partnership-showcase-card {
    padding: 24px 20px;
  }
}

@media (max-width: 640px) {
  .partnership-pillars-mini {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   SLIDE LOGO CÁC NHÀ ĐẦU TƯ & ĐỐI TÁC (TRẢI NGANG FULL CHIỀU NGANG WEB)
   ========================================================================== */
.investor-logos-section {
  width: 100%;
  margin-top: 32px;
  padding: 28px 36px 26px;
  background: #ffffff;
  border-radius: 14px;
  border: 1px solid rgba(34, 70, 139, 0.12);
  box-shadow: 0 14px 36px rgba(13, 29, 58, 0.06);
}

.investor-logos-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
}

.investor-logos-title {
  font-family: var(--font-heading);
  font-size: 16px;
  font-weight: 700;
  color: var(--upi-navy);
  letter-spacing: 0.03em;
  text-transform: uppercase;
  margin: 0 0 4px;
}

.investor-logos-subtitle {
  font-size: 13.5px;
  color: var(--text-secondary);
  margin: 0;
}

.investor-slider-viewport {
  overflow: hidden;
  width: 100%;
  padding: 4px 0;
}

.investor-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.investor-logo-slide {
  flex: 0 0 25%;
  max-width: 25%;
  padding: 0 8px;
  box-sizing: border-box;
}

.investor-logo-card {
  height: 88px;
  border-radius: 12px;
  border: 1px solid rgba(34, 70, 139, 0.14);
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 18px;
  transition: all 0.22s ease;
}

.investor-logo-card:hover {
  background: #ffffff;
  border-color: var(--upi-blue);
  box-shadow: 0 10px 24px rgba(4, 29, 55, 0.08);
  transform: translateY(-2px);
}

.investor-logo-graphic {
  width: 100%;
  max-width: 196px;
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.investor-logo-graphic svg {
  width: 100%;
  height: 100%;
  display: block;
}

.investor-slider-bottom-arrows {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

/* ==========================================================================
   THẺ SLIDE DỰ ÁN NGHIÊN CỨU / SÁNG KIẾN CỘNG ĐỒNG / SỰ KIỆN (.coop-showcase-card)
   ========================================================================== */
.coop-showcase-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  border-radius: 12px;
  overflow: hidden;
  background: #ffffff;
  border: 1px solid rgba(34, 70, 139, 0.14);
  box-shadow: 0 4px 14px rgba(4, 29, 55, 0.05);
  transition: all 0.25s ease;
  text-decoration: none;
  color: inherit;
}

.coop-showcase-card:hover {
  transform: translateY(-3px);
  border-color: var(--upi-blue);
  box-shadow: 0 12px 28px rgba(4, 29, 55, 0.11);
}

.coop-card-thumb {
  width: 100%;
  height: 168px;
  overflow: hidden;
  background: #e2e8f0;
  position: relative;
}

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

.coop-showcase-card:hover .coop-card-thumb img {
  transform: scale(1.04);
}

.coop-card-body {
  padding: 14px 16px 16px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.coop-card-title {
  font-family: var(--font-heading);
  font-size: 14.5px;
  font-weight: 700;
  line-height: 1.45;
  color: var(--upi-navy);
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 42px;
  transition: color 0.2s ease;
}

.coop-showcase-card:hover .coop-card-title {
  color: var(--upi-blue);
}

@media (max-width: 992px) {
  .investor-logos-section {
    padding: 24px 24px 22px;
  }
  .investor-logo-slide {
    flex: 0 0 33.3333%;
    max-width: 33.3333%;
  }
}

@media (max-width: 768px) {
  .investor-logo-slide {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

@media (max-width: 520px) {
  .investor-logos-section {
    padding: 20px 18px;
  }
  .investor-logos-header {
    flex-direction: column;
    align-items: flex-start;
  }
  .investor-logo-slide {
    flex: 0 0 100%;
    max-width: 100%;
  }
}

/* ==========================================================================
   TRANG CHI TIẾT KHÓA HỌC (.course-single-layout — Tham khảo CTELG UEH)
   Giữ nguyên font chữ (Montserrat & Lexend) và bảng màu Viện UPI
   ========================================================================== */
.course-detail-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 18px;
}

.course-detail-breadcrumb {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13.5px;
  color: var(--text-muted);
}

.course-detail-breadcrumb a {
  color: var(--upi-blue);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease;
}

.course-detail-breadcrumb a:hover {
  color: var(--upi-orange);
}

.course-detail-breadcrumb .bc-sep {
  color: #94a3b8;
}

.course-detail-breadcrumb .bc-current {
  color: var(--upi-navy);
  font-weight: 600;
}

.btn-back-courses {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 6px;
  background: var(--upi-blue-light);
  color: var(--upi-blue);
  font-family: var(--font-heading);
  font-size: 12.5px;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-back-courses:hover {
  background: var(--upi-blue);
  color: #ffffff;
}

.course-header-banner-box {
  margin-bottom: 28px;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(4, 29, 55, 0.08);
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  line-height: 0;
  position: relative;
}

.course-header-banner-box img {
  width: 100%;
  height: auto;
  display: block;
}

.course-banner-fallback {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
  padding: 36px 42px;
  line-height: 1.4;
  color: #ffffff;
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
}

.course-banner-fallback-text {
  flex: 1;
}

.course-banner-fallback-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 99px;
  background: rgba(240, 90, 40, 0.9);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 12px;
}

.course-banner-fallback-title {
  font-family: var(--font-heading);
  font-size: clamp(20px, 2.6vw, 28px);
  font-weight: 800;
  color: #ffffff;
  margin: 0 0 8px;
  text-transform: uppercase;
}

.course-banner-fallback-sub {
  font-size: 14.5px;
  color: rgba(255, 255, 255, 0.86);
  margin: 0;
}

.course-single-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 300px;
  gap: 32px;
  align-items: stretch;
}

.course-main-col {
  min-width: 0;
}

.course-sidebar-col {
  width: 100%;
  min-width: 0;
  align-self: stretch;
  height: auto;
}

.course-sidebar-sticky {
  position: -webkit-sticky;
  position: sticky;
  top: 76px;
  height: fit-content;
  z-index: 20;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.course-detail-heading {
  font-family: var(--font-heading);
  font-size: 25px;
  font-weight: 800;
  color: var(--upi-navy);
  text-transform: uppercase;
  margin: 0 0 22px;
  line-height: 1.35;
  letter-spacing: -0.01em;
}

.course-info-mobile-only {
  display: none;
  margin-bottom: 24px;
}

.course-info-card {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid rgba(34, 70, 139, 0.16);
  box-shadow: 0 4px 18px rgba(13, 29, 58, 0.07);
  overflow: hidden;
}

.course-info-card .sidebar-widget-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 16px;
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  border-bottom: 3px solid var(--upi-orange);
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

.course-info-card .sidebar-widget-header svg {
  width: 16px;
  height: 16px;
  color: var(--upi-orange);
  flex-shrink: 0;
}

.course-info-card-body {
  padding: 14px 14px 18px;
}

.course-specs-compact {
  list-style: none;
  margin: 0 0 16px 0;
  padding: 0;
}

.course-specs-compact li {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 9px 0;
  border-bottom: 1px dashed #e2e8f0;
  font-size: 13px;
}

.course-specs-compact li:last-child {
  border-bottom: none;
}

.spec-icon-wrap {
  width: 30px;
  height: 30px;
  border-radius: 6px;
  background: var(--upi-blue-light);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--upi-blue);
  flex-shrink: 0;
}

.spec-icon-wrap svg {
  width: 15px;
  height: 15px;
}

.course-specs-compact .spec-name {
  font-weight: 600;
  color: #475569;
  white-space: nowrap;
}

.course-specs-compact .spec-val {
  color: var(--upi-navy);
  font-weight: 600;
  text-align: right;
  margin-left: auto;
  line-height: 1.35;
}

.course-specs-compact .spec-highlight {
  color: var(--upi-orange);
  font-weight: 800;
  background: #fff7ed;
  padding: 2px 8px;
  border-radius: 4px;
  border: 1px solid #ffedd5;
  font-size: 13px;
}

.course-specs-compact .spec-price {
  color: var(--upi-blue);
  font-weight: 700;
}

.course-buttons-stack {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.btn-course-brochure {
  background: var(--upi-blue);
  color: #ffffff !important;
  border: none;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 16px;
  border-radius: 7px;
  text-align: center;
  cursor: pointer;
  transition: all 0.22s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 12px rgba(13, 74, 138, 0.24);
  text-decoration: none;
}

.btn-course-brochure:hover {
  background: var(--upi-navy);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(13, 74, 138, 0.34);
}

.btn-course-enroll {
  background: linear-gradient(135deg, var(--upi-orange) 0%, #ff7b47 100%);
  color: #ffffff !important;
  font-family: var(--font-heading);
  font-size: 13.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  padding: 12px 16px;
  border-radius: 6px;
  text-align: center;
  border: none;
  cursor: pointer;
  transition: all 0.22s ease;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  box-shadow: 0 4px 14px rgba(240, 90, 40, 0.32);
  text-decoration: none;
}

.btn-course-enroll:hover {
  background: linear-gradient(135deg, #d94818 0%, var(--upi-orange) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(240, 90, 40, 0.45);
  color: #ffffff !important;
}

.course-data-blocks-wrap {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.course-data-block {
  background: #ffffff;
  border-radius: 10px;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 10px rgba(4, 29, 55, 0.04);
  overflow: hidden;
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.course-data-block:hover {
  border-color: #cbd5e1;
  box-shadow: 0 4px 16px rgba(4, 29, 55, 0.07);
}

.course-data-block__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 13px 24px;
  background: linear-gradient(90deg, rgba(34, 70, 139, 0.07) 0%, rgba(248, 250, 252, 0.7) 100%);
  border-bottom: 1px solid #e2e8f0;
  border-left: 4px solid var(--upi-blue);
}

.course-data-block--value .course-data-block__header,
.course-data-block--tuition .course-data-block__header {
  border-left-color: var(--upi-orange);
  background: linear-gradient(90deg, rgba(240, 90, 40, 0.08) 0%, rgba(255, 251, 235, 0.5) 100%);
}

.course-data-block__icon {
  width: 32px;
  height: 32px;
  border-radius: 7px;
  background: var(--upi-blue);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(34, 70, 139, 0.22);
}

.course-data-block__icon svg {
  width: 16px;
  height: 16px;
}

.course-data-block--value .course-data-block__icon,
.course-data-block--tuition .course-data-block__icon {
  background: var(--upi-orange);
  box-shadow: 0 2px 6px rgba(240, 90, 40, 0.25);
}

.course-data-block__title {
  font-family: var(--font-heading);
  font-size: 17px;
  font-weight: 700;
  color: var(--upi-navy);
  letter-spacing: 0.01em;
  margin: 0;
  line-height: 1.35;
}

.course-data-block--value .course-data-block__title,
.course-data-block--tuition .course-data-block__title {
  color: #c2410c;
}

.course-data-block__body {
  padding: 20px 26px;
}

.course-rich-text {
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.75;
  color: #334155;
}

.course-rich-text p {
  margin: 0 0 12px;
}

.course-rich-text p:last-child {
  margin-bottom: 0;
}

.course-rich-text ul,
.course-rich-text ol {
  margin: 8px 0 14px 0;
  padding-left: 24px;
}

.course-rich-text ul:last-child,
.course-rich-text ol:last-child {
  margin-bottom: 0;
}

.course-rich-text ul {
  list-style: disc;
}

.course-rich-text ol {
  list-style: decimal;
}

.course-rich-text li {
  margin-bottom: 8px;
  line-height: 1.72;
}

.course-rich-text li:last-child {
  margin-bottom: 0;
}

.course-rich-text li::marker {
  color: var(--upi-blue);
  font-weight: 700;
}

.course-data-block--value .course-rich-text li::marker,
.course-data-block--tuition .course-rich-text li::marker {
  color: var(--upi-orange);
}

.course-rich-text h2,
.course-rich-text h3,
.course-rich-text h4 {
  font-family: var(--font-heading);
  color: var(--upi-navy);
  font-weight: 700;
  line-height: 1.4;
  margin: 18px 0 10px 0;
}

.course-rich-text hr {
  border: 0;
  border-top: 1px solid #e2e8f0;
  margin: 16px 0;
}

.course-rich-text table {
  width: 100% !important;
  max-width: 100%;
  border-collapse: collapse;
  margin: 16px 0 20px 0;
  background: #ffffff;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  overflow: hidden;
}

.course-rich-text table th,
.course-rich-text table td {
  border: 1px solid #cbd5e1;
  padding: 10px 14px !important;
  vertical-align: middle;
  text-align: left;
}

.course-rich-text table tr:first-child td,
.course-rich-text table thead th {
  background: #f1f5f9;
  font-weight: 700;
  color: var(--upi-navy) !important;
}

@media (max-width: 992px) {
  .course-single-layout {
    grid-template-columns: 1fr;
  }
  .course-info-mobile-only {
    display: block;
  }
  .course-info-desktop-only {
    display: none;
  }
  .course-sidebar-sticky {
    position: static;
  }
}

@media (max-width: 767px) {
  .course-detail-heading {
    font-size: 20px;
  }
  .course-data-block__header {
    padding: 12px 16px;
  }
  .course-data-block__title {
    font-size: 15px;
  }
  .course-data-block__body {
    padding: 16px 18px;
  }
  .course-banner-fallback {
    padding: 24px 20px;
  }
}

/* ==========================================================================
   MODAL ĐĂNG KÝ TƯ VẤN KHÓA HỌC (POPUP ĐỒNG BỘ MẪU CTELG)
   ========================================================================== */
.ctelg-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 23, 42, 0.72);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s ease-in-out;
  padding: 20px;
}

.ctelg-modal.active {
  opacity: 1;
  visibility: visible;
}

.ctelg-modal .modal-dialog {
  background: #ffffff;
  border-radius: 16px;
  max-width: 600px;
  width: 100%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 22px 45px rgba(15, 23, 42, 0.28);
  transform: translateY(20px);
  transition: all 0.25s ease-in-out;
  position: relative;
}

.ctelg-modal.active .modal-dialog {
  transform: translateY(0);
}

.ctelg-modal .modal-header {
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  border-bottom: 3px solid var(--upi-orange);
  color: #ffffff;
  padding: 18px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.ctelg-modal .modal-title {
  font-family: var(--font-heading);
  font-size: 16.5px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  display: flex;
  align-items: center;
  gap: 10px;
  color: #ffffff;
}

.ctelg-modal .modal-title svg {
  width: 20px;
  height: 20px;
  color: var(--upi-orange);
  flex-shrink: 0;
}

.ctelg-modal .modal-close {
  background: rgba(255, 255, 255, 0.12);
  border: none;
  color: #ffffff;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  cursor: pointer;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease;
}

.ctelg-modal .modal-close:hover {
  background: rgba(255, 255, 255, 0.24);
}

.ctelg-modal .modal-body {
  padding: 22px 25px 25px;
  font-family: var(--font-body);
}

.ctelg-modal .modal-intro {
  margin: 0 0 16px 0;
  font-size: 13.5px;
  color: #64748b;
  line-height: 1.5;
}

.ctelg-ajax-form .form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}

.ctelg-ajax-form .form-group {
  margin-bottom: 14px;
}

.ctelg-ajax-form label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: #1e293b;
  margin-bottom: 5px;
}

.ctelg-ajax-form label .req {
  color: #ef4444;
}

.ctelg-ajax-form input[type="text"],
.ctelg-ajax-form input[type="tel"],
.ctelg-ajax-form input[type="email"],
.ctelg-ajax-form input[type="number"],
.ctelg-ajax-form select,
.ctelg-ajax-form textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid #cbd5e1;
  border-radius: 8px;
  font-family: var(--font-body);
  font-size: 14px;
  color: #0f172a !important;
  background-color: #ffffff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.ctelg-ajax-form select optgroup {
  font-weight: 700;
  color: var(--upi-navy);
  background: #f8fafc;
}

.ctelg-ajax-form select option {
  font-weight: 500;
  color: #0f172a;
  padding: 6px 8px;
}

.ctelg-ajax-form input:focus,
.ctelg-ajax-form select:focus,
.ctelg-ajax-form textarea:focus {
  outline: none;
  border-color: var(--upi-blue);
  box-shadow: 0 0 0 3px rgba(34, 70, 139, 0.14);
}

.ctelg-math-captcha-group {
  margin-bottom: 16px;
}

.ctelg-math-captcha-box {
  display: flex;
  align-items: center;
  gap: 10px;
}

.ctelg-math-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 42px;
  padding: 0 14px;
  background: rgba(34, 70, 139, 0.08);
  border: 1px solid rgba(34, 70, 139, 0.24);
  border-radius: 6px;
  color: var(--upi-navy);
  font-size: 15px;
  font-weight: 800;
  white-space: nowrap;
  user-select: none;
  flex-shrink: 0;
  letter-spacing: 0.5px;
}

.ctelg-math-badge svg {
  width: 15px;
  height: 15px;
  color: var(--upi-orange);
  flex-shrink: 0;
}

.ctelg-math-badge .ctelg-math-expr strong {
  color: var(--upi-navy);
  font-weight: 800;
}

.ctelg-math-captcha-box input.ctelg-math-input {
  flex: 1;
  min-width: 110px;
  height: 42px;
  padding: 0 12px !important;
  font-size: 14px !important;
  font-weight: 700;
  color: #0f172a !important;
  background-color: #f8fafc;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  margin: 0;
}

.ctelg-math-refresh {
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid #cbd5e1;
  border-radius: 6px;
  background: #f8fafc;
  color: var(--upi-blue);
  cursor: pointer;
  transition: all 0.2s ease;
}

.ctelg-math-refresh:hover {
  background: var(--upi-blue);
  color: #ffffff;
  border-color: var(--upi-blue);
}

.ctelg-ajax-form .form-alert {
  padding: 11px 14px;
  border-radius: 8px;
  font-size: 13.5px;
  font-weight: 600;
  margin-bottom: 14px;
}

.ctelg-ajax-form .form-alert.success {
  background: #dcfce7;
  color: #166534;
  border: 1px solid #bbf7d0;
}

.ctelg-ajax-form .form-alert.error {
  background: #fee2e2;
  color: #991b1b;
  border: 1px solid #fecaca;
}

.ctelg-ajax-form .btn-submit {
  width: 100%;
  padding: 13px 20px;
  font-family: var(--font-heading);
  font-size: 14px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #ffffff !important;
  background: linear-gradient(135deg, var(--upi-orange) 0%, #ff7b47 100%);
  box-shadow: 0 4px 14px rgba(240, 90, 40, 0.32);
  transition: all 0.22s ease;
}

.ctelg-ajax-form .btn-submit:hover {
  background: linear-gradient(135deg, #d94818 0%, var(--upi-orange) 100%);
  box-shadow: 0 6px 18px rgba(240, 90, 40, 0.45);
  transform: translateY(-1px);
}

@media (max-width: 576px) {
  .ctelg-ajax-form .form-row-2 {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .ctelg-modal .modal-body {
    padding: 18px 16px 20px;
  }
  .ctelg-modal .modal-header {
    padding: 15px 18px;
  }
}

/* ==========================================================================
   EVENT TIME & LOCATION DETAILS ON SU-KIEN.PHP
   ========================================================================== */
.event-card-details {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.news-featured-content .event-card-details {
  margin: 10px 0 14px 0;
  gap: 7px;
}

.news-simple-body .event-card-details {
  margin: 9px 0 0 0;
  gap: 5px;
}

.news-simple-body .event-card-details li {
  font-size: 13.5px;
  line-height: 1.5;
}

#su-kien-page .news-simple-thumb {
  height: 132px;
}

@media (max-width: 768px) {
  #su-kien-page .news-simple-thumb {
    height: 180px;
  }
}

/* ==========================================================================
   TRANG TÌM KIẾM (tim-kiem.php) — HIGHLIGHT TỪ KHÓA & 2 CỘT TRÁI PHẢI ĐỀU NHAU
   ========================================================================== */
mark.search-highlight {
  background: #fff0c2;
  color: #b43c0e;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  box-shadow: inset 0 -1px 0 rgba(240, 90, 40, 0.35);
}

.search-box-card {
  margin-bottom: 24px;
}

.search-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

.search-summary-pill {
  display: inline-block;
  font-size: 13.5px;
  line-height: 1.5;
  color: var(--upi-navy);
  background: #f0f6ff;
  border: 1px solid #d4e4fa;
  padding: 6px 14px;
  border-radius: 999px;
}

.search-summary-pill strong {
  color: var(--upi-orange);
  font-weight: 700;
}

.search-page-form {
  display: flex;
  align-items: stretch;
  gap: 12px;
  margin-bottom: 16px;
}

.search-page-input-wrap {
  flex: 1 1 auto;
  min-width: 0;
  position: relative;
}

.search-page-input {
  width: 100%;
  height: 48px;
  padding: 0 18px;
  border-radius: 10px;
  border: 1.5px solid rgba(34, 70, 139, 0.22);
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--text-dark);
  background: var(--bg-light);
  outline: none;
  transition: border-color 0.2s ease, background-color 0.2s ease, box-shadow 0.2s ease;
}

.search-page-input:focus {
  background: #ffffff;
  border-color: var(--upi-blue);
  box-shadow: 0 0 0 3px rgba(34, 70, 139, 0.12);
}

.search-page-submit {
  height: 48px;
  padding: 0 26px;
  border-radius: 10px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-shrink: 0;
  white-space: nowrap;
}

.search-popular-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
  font-size: 13px;
  color: var(--text-muted);
}

.search-popular-label {
  font-weight: 600;
  color: var(--upi-navy);
  flex-shrink: 0;
}

.search-popular-chips {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 7px;
}

.search-kw-chip {
  display: inline-block;
  padding: 5px 13px;
  border-radius: 999px;
  background: rgba(34, 70, 139, 0.08);
  color: var(--upi-blue);
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.search-kw-chip:hover,
.search-kw-chip.is-active {
  background: var(--upi-orange);
  color: #ffffff;
}

/* Thanh lọc nhanh trên Mobile & Tablet (Ẩn trên Desktop) */
.search-mobile-tabs {
  display: none;
}

.search-split-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 24px;
  align-items: stretch;
}

.search-col-card {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.search-col-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.search-col-title-wrap {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.search-col-icon {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.search-col-count {
  display: inline-block;
  padding: 4px 11px;
  border-radius: 999px;
  background: rgba(240, 90, 40, 0.12);
  color: var(--upi-orange);
  font-size: 12.5px;
  font-weight: 700;
}

.search-pages-container {
  flex: 1;
}

.search-page-pane {
  display: none;
}

.search-page-pane.is-active {
  display: block;
}

.search-result-row {
  grid-template-columns: 150px 1fr;
  gap: 16px;
  padding: 15px 0;
}

.search-result-thumb {
  width: 150px;
  height: 106px;
}

.search-result-badge {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--upi-orange);
  margin-bottom: 4px;
}

.search-result-heading {
  font-size: 15.5px;
  line-height: 1.4;
  margin: 0 0 6px 0;
}

.search-result-desc {
  font-size: 13.4px;
  line-height: 1.55;
  -webkit-line-clamp: 2;
}

.search-result-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 8px;
}

.search-result-more {
  font-size: 12.8px;
}

.search-col-pagination {
  margin-top: 18px;
  padding-top: 14px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.search-col-pagination .side-page-num {
  text-decoration: none;
}

.search-col-empty {
  padding: 36px 18px;
  text-align: center;
  color: var(--text-body);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

@media (max-width: 991px) {
  .search-split-grid {
    grid-template-columns: 1fr;
  }

  .search-mobile-tabs {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #ffffff;
    padding: 6px;
    border-radius: 12px;
    border: 1px solid rgba(34, 70, 139, 0.14);
    box-shadow: 0 4px 16px rgba(13, 29, 58, 0.05);
    margin-bottom: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .search-mobile-tabs::-webkit-scrollbar {
    display: none;
  }

  .search-mobile-tab {
    flex: 1 1 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    padding: 9px 12px;
    border-radius: 8px;
    border: none;
    background: transparent;
    color: var(--upi-navy);
    font-family: var(--font-heading);
    font-size: 12.5px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
  }

  .search-mobile-tab-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 22px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: rgba(34, 70, 139, 0.1);
    color: var(--upi-blue);
    font-size: 11px;
    font-weight: 700;
  }

  .search-mobile-tab.is-active {
    background: linear-gradient(135deg, var(--upi-navy) 0%, var(--upi-blue) 100%);
    color: #ffffff;
    box-shadow: 0 4px 12px rgba(34, 70, 139, 0.22);
  }

  .search-mobile-tab.is-active .search-mobile-tab-badge {
    background: var(--upi-orange);
    color: #ffffff;
  }

  .search-col-card.is-mobile-hidden {
    display: none !important;
  }
}

/* ==========================================================================
   FOOTER SOCIAL MEDIA ICONS (FACEBOOK, TIKTOK, YOUTUBE)
   ========================================================================== */
.footer-social-block {
  margin-top: 22px;
  padding-top: 18px;
  border-top: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 14px;
}

.footer-social-label {
  font-family: var(--font-header, 'Montserrat', sans-serif);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #0d1d3a !important;
}

.footer-social-links {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.footer-social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #22468b;
  border: none;
  color: #ffffff !important;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  transition: all 0.22s ease;
  box-shadow: 0 4px 10px rgba(13, 29, 58, 0.18);
}

.footer-social-btn.social-fb {
  background: #1877f2 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(24, 119, 242, 0.3);
}

.footer-social-btn.social-tt {
  background: #111827 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(17, 24, 39, 0.28);
}

.footer-social-btn.social-yt {
  background: #ff0000 !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(255, 0, 0, 0.28);
}

.footer-social-btn svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
}

.footer-social-btn:hover {
  transform: translateY(-3px) scale(1.06);
  filter: brightness(1.08);
  color: #ffffff !important;
}

/* ==========================================================================
   MOBILE & TABLET ONLY RESPONSIVE DESIGN (KHÔNG ẢNH HƯỞNG DESKTOP > 960px)
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. MOBILE & TABLET NAVIGATION + TOP HEADER (max-width: 960px)
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  html,
  body {
    max-width: 100%;
    overflow-x: clip;
    font-size: 16px;
  }

  .container {
    padding: 0 16px;
  }

  /* Top Header Bar & Footer Brand Logo: Không bao giờ xuống dòng tên Viện */
  .bg-top {
    padding: 10px 0 !important;
  }

  .top-bar-inner {
    padding: 0 !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .brand-Identity,
  .footer-brand-top {
    width: 100% !important;
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
  }

  .brand-logo,
  .footer-brand-top img,
  .footer-brand-logo {
    width: 46px !important;
    height: 46px !important;
    flex-shrink: 0 !important;
  }

  .brand-titles,
  .footer-brand-top-text {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 2px !important;
  }

  .brand-acronym,
  .footer-brand-top-text .brand-en {
    font-size: clamp(8.5px, 2.45vw, 11px) !important;
    letter-spacing: 0.11em !important;
    white-space: nowrap !important;
    line-height: 1.25 !important;
  }

  .brand-name-vi,
  .footer-brand-top-text .footer-brand-title {
    white-space: nowrap !important;
    font-size: clamp(9.2px, 2.75vw, 13px) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    display: block !important;
  }

  .brand-name-en,
  .footer-brand-top-text .brand-sub,
  .footer-brand-top-text .footer-brand-subtitle {
    font-size: clamp(8.8px, 2.5vw, 11.5px) !important;
    letter-spacing: 0.01em !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }

  /* Đồng nhất font-size & bố cục Footer trên Mobile / Tablet:
     Đưa form Yêu cầu tư vấn (.consult-card) lên trước tiên và canh chỉnh độ rộng bằng 100% các thành phần còn lại */
  .ftco-footer {
    font-size: 14.5px !important;
  }

  .ftco-footer > .container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ftco-footer .footer-main-grid {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 28px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin-bottom: 28px !important;
  }

  .ftco-footer .consult-card,
  #dang-ky-tu-van {
    order: 1 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    border-radius: 14px !important;
    box-sizing: border-box !important;
    transform: none !important;
  }

  .ftco-footer .footer-left-col {
    order: 2 !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    margin: 0 !important;
    box-sizing: border-box !important;
  }

  .ftco-footer .consult-card-header {
    padding: 14px 18px !important;
    font-size: 15px !important;
  }

  .ftco-footer .consult-card-body {
    padding: 18px 18px 20px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .ftco-footer .consult-form-row {
    grid-template-columns: 1fr !important;
    gap: 12px !important;
    width: 100% !important;
  }

  .ftco-footer .consult-form-group {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
  }

  .ftco-footer .consult-input,
  .ftco-footer .consult-select,
  .ftco-footer .consult-textarea {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    text-overflow: ellipsis;
  }

  .ftco-footer .captcha-row {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    gap: 8px !important;
  }

  .ftco-footer .captcha-row .consult-input {
    flex: 1 1 0% !important;
    width: auto !important;
    min-width: 0 !important;
  }

  .ftco-footer .footer-contact-item {
    font-size: 14.5px !important;
    line-height: 1.6 !important;
  }

  .ftco-footer .footer-uni-heading {
    font-size: 15px !important;
  }

  .ftco-footer .footer-link-item {
    font-size: 14.5px !important;
  }

  .ftco-footer .consult-intro {
    font-size: 14.2px !important;
    line-height: 1.6 !important;
  }

  .ftco-footer .consult-label {
    font-size: 14px !important;
  }

  .ftco-footer .consult-input,
  .ftco-footer .consult-select,
  .ftco-footer .consult-textarea,
  .ftco-footer .captcha-box,
  .ftco-footer .btn-submit-consult {
    font-size: 14.5px !important;
  }

  .ftco-footer .footer-bottom {
    font-size: 13.8px !important;
    line-height: 1.55 !important;
  }

  .bg-top .topper-group {
    display: none !important;
  }

  /* Sticky Navbar Row: (1) Icon Menu sát trái -> (2) Nút chuyển ngữ -> (3) Icon kính lúp căn phải */
  .ftco-navbar {
    overflow: visible !important;
  }

  .ftco-navbar .navbar-container {
    position: relative !important;
    flex-wrap: wrap !important;
    min-height: 52px !important;
    padding: 7px 12px !important;
    gap: 8px !important;
    align-items: center !important;
    justify-content: flex-start !important;
  }

  .ftco-navbar .navbar-toggler {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    order: 1 !important;
    margin-left: 0 !important;
    margin-right: auto !important;
    width: 38px !important;
    height: 38px !important;
    padding: 0 !important;
    border-radius: 9px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    flex-shrink: 0;
    transition: all 0.2s ease;
  }

  .ftco-navbar .navbar-toggler span {
    display: none !important;
  }

  .ftco-navbar .navbar-toggler.is-active {
    background: var(--upi-orange);
    border-color: var(--upi-orange);
    box-shadow: 0 4px 12px rgba(240, 90, 40, 0.35);
  }

  .ftco-navbar .mobile-lang-switcher {
    display: inline-flex !important;
    order: 2 !important;
    height: 36px !important;
    padding: 1.5px !important;
    border-radius: 8px !important;
    background: #ffffff !important;
    border: 1.5px solid rgba(255, 255, 255, 0.85) !important;
    flex-shrink: 0 !important;
    margin-left: auto !important;
    margin-right: 0 !important;
  }

  .ftco-navbar .mobile-lang-switcher .lang-switch-btn {
    min-width: 31px !important;
    padding: 0 7px !important;
    font-size: 11.5px !important;
  }

  .ftco-navbar .searchform,
  #navbar-search-form {
    order: 3 !important;
    flex: 0 0 38px !important;
    width: 38px !important;
    min-width: 38px !important;
    max-width: 38px !important;
    height: 38px !important;
    margin: 0 !important;
    padding: 0 !important;
    border-radius: 9px !important;
    background: rgba(255, 255, 255, 0.12) !important;
    border: 1px solid rgba(255, 255, 255, 0.25) !important;
    justify-content: center !important;
    align-items: center !important;
    overflow: hidden;
    transition: all 0.22s ease;
  }

  .ftco-navbar .searchform:not(.mobile-search-open) input {
    width: 0 !important;
    min-width: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
    flex: 0 0 0 !important;
  }

  .ftco-navbar .searchform button {
    width: 36px !important;
    height: 36px !important;
    border-radius: 8px !important;
    background: transparent !important;
    flex-shrink: 0;
  }

  .ftco-navbar .searchform.mobile-search-open,
  #navbar-search-form.mobile-search-open {
    flex: 1 1 160px !important;
    width: auto !important;
    min-width: 150px !important;
    max-width: calc(100% - 130px) !important;
    height: 38px !important;
    padding: 0 4px 0 12px !important;
    border-radius: 30px !important;
    background: #ffffff !important;
    border: 1.5px solid var(--upi-orange) !important;
    box-shadow: 0 4px 14px rgba(8, 18, 38, 0.22) !important;
    justify-content: space-between !important;
  }

  .ftco-navbar .searchform.mobile-search-open input {
    width: 100% !important;
    min-width: 0 !important;
    opacity: 1 !important;
    pointer-events: auto !important;
    font-size: 14px !important;
    color: var(--upi-navy) !important;
    background: transparent !important;
    flex: 1 1 auto !important;
  }

  .ftco-navbar .searchform.mobile-search-open input::placeholder {
    color: #64748b !important;
  }

  .ftco-navbar .searchform.mobile-search-open button {
    width: 30px !important;
    height: 30px !important;
    border-radius: 50% !important;
    background: var(--upi-orange) !important;
    color: #ffffff !important;
  }

  /* Collapsible Mobile Menu Drawer: Nền kính mờ bán trong suốt (Glassmorphism) sang trọng */
  #ftco-nav,
  .ftco-navbar .navbar-collapse {
    position: absolute !important;
    top: calc(100% + 6px) !important;
    left: 12px !important;
    right: 12px !important;
    width: calc(100% - 24px) !important;
    z-index: 250 !important;
    display: none;
    background: linear-gradient(180deg, rgba(11, 33, 68, 0.78) 0%, rgba(7, 22, 46, 0.84) 100%) !important;
    backdrop-filter: blur(18px) saturate(165%) !important;
    -webkit-backdrop-filter: blur(18px) saturate(165%) !important;
    border-radius: 16px !important;
    margin: 0 !important;
    padding: 10px 12px !important;
    border: 1px solid rgba(255, 255, 255, 0.22) !important;
    box-shadow: 0 22px 48px rgba(4, 12, 28, 0.44), inset 0 1px 0 rgba(255, 255, 255, 0.18) !important;
    max-height: calc(100vh - 130px);
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #ftco-nav.open,
  .ftco-navbar .navbar-collapse.open {
    display: block !important;
    animation: mobileMenuSlideDown 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  }

  @keyframes mobileMenuSlideDown {
    from {
      opacity: 0;
      transform: translateY(-8px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .ftco-navbar .navbar-nav {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    gap: 2px;
  }

  .ftco-navbar .navbar-nav > .nav-item {
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }

  .ftco-navbar .navbar-nav > .nav-item:last-child {
    border-bottom: none;
  }

  .ftco-navbar .navbar-nav > .nav-item > .nav-link {
    width: 100%;
    min-height: 44px;
    justify-content: space-between;
    padding: 11px 14px;
    font-size: 13.5px;
    border-radius: 9px;
    white-space: normal;
  }

  .ftco-navbar .navbar-nav > .nav-item.active > .nav-link {
    background: rgba(240, 90, 40, 0.92);
    color: #ffffff;
  }

  .ftco-navbar .navbar-nav > .nav-item.active > .nav-link::after,
  .ftco-navbar .navbar-nav > .nav-item:hover > .nav-link::after {
    display: none;
  }

  /* Mobile Accordion Dropdowns: Nền trong suốt nhẹ tinh tế */
  .ftco-navbar .nav-item.has-dropdown .dropdown-menu {
    position: static;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    display: none;
    background: rgba(255, 255, 255, 0.07) !important;
    backdrop-filter: blur(10px) !important;
    -webkit-backdrop-filter: blur(10px) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    border-radius: 11px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.08);
    margin: 4px 6px 10px 6px;
    padding: 6px;
  }

  .ftco-navbar .nav-item.has-dropdown .dropdown-menu::before {
    display: none;
  }

  .ftco-navbar .nav-item.has-dropdown.dropdown-open .dropdown-menu {
    display: block;
  }

  .ftco-navbar .nav-item.has-dropdown.dropdown-open > .nav-link {
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
  }

  .ftco-navbar .nav-item.has-dropdown > .nav-link .caret {
    width: 30px;
    height: 30px;
    padding: 6px;
    margin: -5px -4px -5px 8px;
    border-radius: 7px;
    background: rgba(255, 255, 255, 0.08);
    flex-shrink: 0;
  }

  .ftco-navbar .nav-item.has-dropdown.dropdown-open > .nav-link .caret {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, 0.18);
  }

  .ftco-navbar .dropdown-item {
    color: rgba(255, 255, 255, 0.9) !important;
    padding: 10px 14px;
    font-size: 13px;
    border-radius: 8px;
    white-space: normal;
    line-height: 1.4;
  }

  .ftco-navbar .dropdown-item:hover,
  .ftco-navbar .dropdown-item:focus,
  .ftco-navbar .dropdown-item.active,
  .ftco-navbar .dropdown-item.active-sub {
    background: rgba(240, 90, 40, 0.25) !important;
    color: #ffffff !important;
    padding-left: 18px;
  }

  /* Trang Đầu tư (dau-tu.php): Đưa phần Đối tác & Nhà đầu tư đồng hành nằm dưới bài viết và trên phần logo của sidebar */
  #dau-tu-page .advisory-static-section > .container {
    display: flex !important;
    flex-direction: column !important;
  }

  #dau-tu-page .advisory-top-bar {
    order: 1 !important;
  }

  #dau-tu-page .advisory-editorial-layout {
    display: contents !important;
  }

  #dau-tu-page .advisory-main-col {
    order: 2 !important;
    width: 100% !important;
  }

  #dau-tu-page .investor-logos-section {
    order: 3 !important;
    width: 100% !important;
    margin-top: 22px !important;
    margin-bottom: 22px !important;
  }

  #dau-tu-page .page-sidebar-col {
    order: 4 !important;
    width: 100% !important;
  }

  /* Ẩn thanh nút Quay lại (.news-back-bar / .news-back-link) trên giao diện Mobile trong tất cả các trang thuộc menu UPI Insight và Hợp tác */
  #tin-tuc-page .news-back-bar,
  #an-pham-nghien-cuu-page .news-back-bar,
  #du-bao-page .news-back-bar,
  #dau-tu-page .news-back-bar,
  #nghien-cuu-page .news-back-bar,
  #sang-kien-cong-dong-page .news-back-bar,
  #su-kien-page .news-back-bar,
  #tin-tuc-page .news-back-link,
  #an-pham-nghien-cuu-page .news-back-link,
  #du-bao-page .news-back-link,
  #dau-tu-page .news-back-link,
  #nghien-cuu-page .news-back-link,
  #sang-kien-cong-dong-page .news-back-link,
  #su-kien-page .news-back-link {
    display: none !important;
  }
}

/* --------------------------------------------------------------------------
   2. TABLET & MOBILE PAGE LAYOUTS (max-width: 768px)
   -------------------------------------------------------------------------- */
@media (max-width: 768px) {
  /* Hero Slider: Crisp Widescreen Ratio without Inline 600px Distortion */
  .home-slider,
  #hero-slider {
    height: auto !important;
    aspect-ratio: 16 / 9;
    min-height: 215px;
    max-height: 360px;
  }

  .slider-item {
    background-size: cover;
    background-position: center center;
  }

  .slider-arrow {
    width: 34px;
    height: 34px;
  }

  .slider-arrow svg {
    width: 16px;
    height: 16px;
  }

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

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

  .slider-dots {
    bottom: 10px;
    gap: 6px;
  }

  .slider-dot {
    width: 7px;
    height: 7px;
  }

  .slider-dot.active {
    width: 22px;
  }

  /* Section Spacing & Headings on Mobile */
  .section,
  .ftco-section,
  .upi-insight-editorial,
  .upi-milestones-section {
    padding: 32px 0 36px !important;
  }

  .insight-editorial-header {
    margin-bottom: 18px !important;
  }

  .insight-editorial-titles h2 {
    font-size: 21px !important;
    line-height: 1.3 !important;
  }

  .section-header {
    margin-bottom: 24px;
  }

  .section-title {
    font-size: 21px;
    line-height: 1.32;
  }

  .section-desc {
    font-size: 14px;
    line-height: 1.55;
  }

  /* 4 Pillars Section (Đào tạo, Tư vấn, Insight, Hợp tác): Bố cục 1 cột (1-1) trên Mobile */
  .ftco-services {
    padding: 20px 0 16px;
  }

  .services-strip-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .service-pillar-box {
    padding: 18px 18px 26px;
    border-radius: 14px;
  }

  .pillar-card-thumb {
    height: 175px;
  }

  /* UPI Insight Feature Section */
  .insight-feature-section {
    padding: 32px 0;
  }

  .insight-grid {
    grid-template-columns: 1fr !important;
    gap: 20px !important;
  }

  .insight-visual-card {
    max-height: 240px;
    border-radius: 14px;
    overflow: hidden;
  }

  .insight-content .section-title {
    font-size: 21px !important;
    margin-bottom: 12px !important;
  }

  .insight-lead {
    font-size: 14.5px;
    margin-bottom: 10px;
  }

  .insight-desc {
    font-size: 13.8px;
    margin-bottom: 18px;
  }

  .insight-actions .btn {
    width: 100%;
    justify-content: center;
  }

  /* Counter / Milestones Banner */
  .counter-section {
    padding: 32px 0;
  }

  .counter-header {
    margin-bottom: 20px;
  }

  .counter-header h2 {
    font-size: 18px;
    line-height: 1.4;
  }

  .counter-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px !important;
  }

  .counter-item {
    padding: 18px 12px;
    border-radius: 12px;
  }

  .counter-number {
    font-size: 28px;
  }

  .counter-label {
    font-size: 12.5px;
  }

  /* Homepage Founders Cards (Đội ngũ chuyên gia): Hình ở trên, nội dung ở dưới (1-1) */
  .staff-grid,
  .staff-grid.founders-highlight {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
    margin-bottom: 0 !important;
  }

  .staff-grid.founders-highlight .staff-card {
    display: flex !important;
    flex-direction: column !important;
    border-radius: 14px;
    overflow: hidden;
  }

  .staff-grid.founders-highlight .staff-card .img-wrap {
    width: 100% !important;
    height: 250px !important;
  }

  .staff-grid.founders-highlight .staff-card .img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
  }

  .staff-grid.founders-highlight .staff-card .text {
    padding: 15px 18px 16px !important;
    text-align: left;
  }

  /* Homepage Publications Slider (Ấn phẩm nghiên cứu): Bố cục 1 cột (1-1) trên Mobile */
  .publications-grid,
  #home-publications-slider .publications-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  #home-publications-slider .course-pub-card {
    border-radius: 12px;
  }

  #home-publications-slider .course-pub-img {
    height: 180px;
  }

  #home-publications-slider .course-pub-body {
    padding: 15px 16px 16px;
  }

  /* ==========================================================================
     SUBPAGES MOBILE LAYOUTS (TẦM NHÌN, NHÀ SÁNG LẬP, CHUYÊN GIA, ĐÀO TẠO,
     TƯ VẤN, TIN TỨC, ẤN PHẨM, DỰ BÁO, HỢP TÁC, SỰ KIỆN, TÌM KIẾM)
     Bố cục 1-1 đồng bộ với Trang chủ (Hình ở trên, Nội dung ở dưới)
     ========================================================================== */

  /* 1. Khung bố cục 2 cột chung của các trang con -> 1 cột (1-1) trên Mobile */
  .page-section-wrap,
  .advisory-static-section,
  .news-simple-section {
    padding: 18px 0 38px 0 !important;
  }

  .page-layout-grid,
  .advisory-editorial-layout,
  .course-single-layout {
    grid-template-columns: 1fr !important;
    gap: 22px !important;
  }

  .page-card-content,
  .advisory-article-card,
  .news-part-card {
    padding: 20px 16px 22px !important;
    border-radius: 14px !important;
  }

  .page-card-header {
    margin-bottom: 18px !important;
    padding-bottom: 14px !important;
  }

  .page-card-title,
  .advisory-article-title {
    font-size: 18.5px !important;
    line-height: 1.38 !important;
  }

  .page-card-header .section-subtitle {
    font-size: 13.5px !important;
    line-height: 1.55 !important;
  }

  /* 2. Thanh điều hướng chuyên mục trang con: Ẩn tab chuyên mục trên Mobile ở Tư vấn, UPI Insight, Hợp tác (.advisory-top-bar) */
  .advisory-top-bar,
  .advisory-subnav {
    display: none !important;
  }

  .course-tabs-nav-classic {
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 8px !important;
    padding-bottom: 12px !important;
    margin-bottom: 18px !important;
  }

  .course-tabs-nav-classic::-webkit-scrollbar {
    display: none;
  }

  .course-tab-btn-classic {
    flex: 0 0 auto !important;
    white-space: nowrap !important;
    font-size: 12.5px !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: #f1f5f9 !important;
    border: 1px solid #e2e8f0 !important;
  }

  .course-tab-btn-classic.active {
    background: var(--upi-navy) !important;
    color: #ffffff !important;
    border-color: var(--upi-navy) !important;
  }

  .course-tab-btn-classic.active .course-tab-icon {
    color: var(--upi-orange) !important;
  }

  .course-tab-btn-classic::after {
    display: none !important;
  }

  /* 3. Trang Nhà sáng lập (nha-sang-lap.php) & Chuyên gia (chuyen-gia.php): Bố cục 1-1 (Hình trên, Nội dung dưới) */
  .page-layout-grid .lecturers-grid,
  .lecturers-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .lecturer-card {
    border-radius: 14px !important;
    padding: 22px 18px 20px !important;
  }

  .lecturer-avatar-wrap {
    width: 136px !important;
    height: 136px !important;
    margin: 0 auto 12px !important;
  }

  .lecturer-name {
    font-size: 16px !important;
    line-height: 1.35 !important;
    margin-bottom: 8px !important;
  }

  .lecturer-meta-block {
    min-height: 0 !important;
    gap: 6px !important;
  }

  .lecturer-title-badge {
    font-size: 11.5px !important;
    padding: 3px 11px !important;
  }

  .lecturer-position {
    font-size: 13px !important;
    line-height: 1.5 !important;
    -webkit-line-clamp: 4 !important;
  }

  .lecturer-meta-block + .lecturer-view-btn {
    margin-top: 14px !important;
  }

  .lecturer-view-btn {
    font-size: 12px !important;
    padding: 7px 18px !important;
  }

  /* 4. Trang Đào tạo & Thẩm định giá (tham-dinh-gia.php): Bố cục 1-1 (Hình trên, Nội dung dưới) */
  .section-courses-archive {
    padding: 20px 0 40px 0 !important;
  }

  .courses-section-header {
    margin-bottom: 18px !important;
  }

  .courses-section-title {
    font-size: 20px !important;
  }

  .courses-archive-card {
    padding: 18px 14px 24px 14px !important;
    border-radius: 14px !important;
  }

  .courses-grid-classic {
    grid-template-columns: 1fr !important;
    gap: 18px !important;
  }

  .course-poster-wrap {
    aspect-ratio: 4 / 3 !important;
    max-height: none !important;
  }

  .course-visual-title {
    font-size: 13.5px !important;
    line-height: 1.38 !important;
  }

  .course-card-bottom-wrap {
    padding: 14px 14px 16px !important;
  }

  /* Chi tiết khóa học (tham-dinh-gia.php?khoa-hoc=...) */
  .course-detail-top-bar {
    gap: 10px !important;
    margin-bottom: 14px !important;
  }

  .course-header-banner-box {
    margin-bottom: 18px !important;
  }

  .course-banner-fallback {
    flex-direction: column !important;
    align-items: flex-start !important;
    padding: 20px 16px !important;
    gap: 14px !important;
  }

  .course-banner-fallback-title {
    font-size: 18px !important;
    line-height: 1.35 !important;
  }

  .course-detail-heading {
    font-size: 19px !important;
    line-height: 1.35 !important;
    margin-bottom: 16px !important;
  }

  .course-data-block__header {
    padding: 12px 14px !important;
  }

  .course-data-block__title {
    font-size: 15px !important;
  }

  .course-data-block__body {
    padding: 16px 14px !important;
  }

  .course-rich-text {
    font-size: 14.2px !important;
    line-height: 1.72 !important;
    overflow-x: hidden;
  }

  .course-rich-text table {
    display: block;
    width: 100% !important;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    font-size: 12.5px;
  }

  /* 5. Trang Tư vấn (chu-dau-tu.php, nha-dau-tu.php, khu-vuc-cong.php) & Trang Chi tiết Tin tức / Hồ sơ */
  .news-back-bar {
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
  }

  .news-back-link {
    font-size: 13.5px !important;
    padding: 6px 0 !important;
  }

  #tin-tuc-page .news-back-bar,
  #an-pham-nghien-cuu-page .news-back-bar,
  #du-bao-page .news-back-bar,
  #dau-tu-page .news-back-bar,
  #nghien-cuu-page .news-back-bar,
  #sang-kien-cong-dong-page .news-back-bar,
  #su-kien-page .news-back-bar,
  #tin-tuc-page .news-back-link,
  #an-pham-nghien-cuu-page .news-back-link,
  #du-bao-page .news-back-link,
  #dau-tu-page .news-back-link,
  #nghien-cuu-page .news-back-link,
  #sang-kien-cong-dong-page .news-back-link,
  #su-kien-page .news-back-link {
    display: none !important;
  }

  .expert-detail-page-card .profile-hero-banner {
    flex-direction: column !important;
    text-align: center !important;
    padding: 22px 18px !important;
    gap: 14px !important;
  }

  .expert-detail-page-card .profile-hero-avatar {
    width: 112px !important;
    height: 112px !important;
    margin: 0 auto !important;
  }

  .expert-detail-page-card .profile-hero-name {
    font-size: 19px !important;
    line-height: 1.35 !important;
  }

  .advisory-article-lead {
    font-size: 14.5px !important;
    line-height: 1.65 !important;
    padding: 14px 15px !important;
  }

  .advisory-hero-figure {
    margin: 16px 0 !important;
  }

  .advisory-article-body h2 {
    font-size: 16.5px !important;
    line-height: 1.4 !important;
  }

  .advisory-highlights-box {
    padding: 16px 16px !important;
    border-radius: 12px !important;
  }

  /* 6. Trang Tin tức, Ấn phẩm, Dự báo, Hợp tác Đầu tư, Nghiên cứu, Sáng kiến, Sự kiện:
        Bố cục 1-1 (Hình ảnh full-width ở trên, Nội dung ở dưới) */
  .news-sections-stack {
    gap: 20px !important;
  }

  .news-part-header {
    margin-bottom: 16px !important;
    padding-bottom: 12px !important;
  }

  .news-part-title {
    font-size: 15.5px !important;
    line-height: 1.35 !important;
  }

  .news-featured-box {
    display: flex !important;
    flex-direction: column !important;
    gap: 14px !important;
    align-items: stretch !important;
  }

  .news-featured-thumb {
    width: 100% !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 10px !important;
  }

  .news-featured-heading {
    font-size: 17.5px !important;
    line-height: 1.38 !important;
    margin-bottom: 8px !important;
  }

  .news-featured-excerpt {
    font-size: 14px !important;
    line-height: 1.62 !important;
    margin-bottom: 12px !important;
  }

  .news-simple-row {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
    padding: 16px 0 !important;
    border-radius: 0 !important;
  }

  .news-simple-row:first-child {
    padding-top: 2px !important;
  }

  .news-simple-row:last-child {
    padding-bottom: 2px !important;
  }

  .news-simple-thumb,
  #su-kien-page .news-simple-thumb {
    width: 100% !important;
    height: auto !important;
    aspect-ratio: 16 / 9 !important;
    border-radius: 10px !important;
  }

  .news-simple-body {
    width: 100% !important;
    min-width: 0;
  }

  .news-simple-heading {
    font-size: 16px !important;
    line-height: 1.4 !important;
    margin-bottom: 6px !important;
  }

  .news-simple-desc {
    font-size: 13.6px !important;
    line-height: 1.58 !important;
    -webkit-line-clamp: 3 !important;
  }

  /* Slide Logo Đối tác & Thẻ dự án hợp tác ở cuối trang Hợp tác (1-1 trên Mobile) */
  .investor-logos-section {
    margin-top: 22px !important;
    padding: 20px 16px !important;
    border-radius: 14px !important;
  }

  /* Trang Đầu tư (dau-tu.php): Đưa phần Đối tác & Nhà đầu tư đồng hành nằm dưới bài viết và trên phần logo của sidebar */
  #dau-tu-page .advisory-static-section > .container {
    display: flex !important;
    flex-direction: column !important;
  }

  #dau-tu-page .advisory-top-bar {
    order: 1 !important;
  }

  #dau-tu-page .advisory-editorial-layout {
    display: contents !important;
  }

  #dau-tu-page .advisory-main-col {
    order: 2 !important;
    width: 100% !important;
  }

  #dau-tu-page .investor-logos-section {
    order: 3 !important;
    width: 100% !important;
    margin-top: 22px !important;
    margin-bottom: 22px !important;
  }

  #dau-tu-page .page-sidebar-col {
    order: 4 !important;
    width: 100% !important;
  }

  .investor-logos-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
    margin-bottom: 16px !important;
  }

  .investor-logo-slide {
    flex: 0 0 100% !important;
    max-width: 100% !important;
  }

  /* 7. Trang Tìm kiếm (tim-kiem.php): Tối ưu chỉnh chu trên Mobile */
  .search-box-card {
    padding: 16px 14px 18px !important;
    margin-bottom: 14px !important;
  }

  .search-box-header {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 8px !important;
    margin-bottom: 14px !important;
    padding-bottom: 12px !important;
  }

  .search-page-title {
    font-size: 15px !important;
    line-height: 1.38 !important;
  }

  .search-summary-pill {
    display: block !important;
    width: 100% !important;
    font-size: 12.5px !important;
    line-height: 1.5 !important;
    padding: 7px 12px !important;
    border-radius: 8px !important;
  }

  .search-page-form {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
  }

  .search-page-input {
    height: 42px !important;
    padding: 0 13px !important;
    font-size: 14.5px !important;
    border-radius: 9px !important;
  }

  .search-page-submit {
    height: 42px !important;
    padding: 0 15px !important;
    font-size: 13px !important;
    border-radius: 9px !important;
  }

  .search-popular-bar {
    flex-direction: column !important;
    align-items: flex-start !important;
    gap: 6px !important;
  }

  .search-popular-label {
    font-size: 12px !important;
  }

  .search-popular-chips {
    width: 100% !important;
    display: flex !important;
    flex-wrap: nowrap !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    gap: 6px !important;
    padding-bottom: 2px !important;
  }

  .search-popular-chips::-webkit-scrollbar {
    display: none;
  }

  .search-kw-chip {
    font-size: 12px !important;
    padding: 4px 11px !important;
    flex: 0 0 auto !important;
  }

  .search-split-grid {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  .search-col-card {
    padding: 16px 14px 18px !important;
  }

  .search-col-header {
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    flex-wrap: nowrap !important;
    gap: 8px !important;
    margin-bottom: 12px !important;
    padding-bottom: 10px !important;
  }

  .search-col-header .news-part-title {
    font-size: 14px !important;
  }

  .search-col-count {
    font-size: 11.5px !important;
    padding: 3px 9px !important;
    white-space: nowrap !important;
    flex-shrink: 0 !important;
  }

  #tim-kiem-page .search-col-list {
    display: flex !important;
    flex-direction: column !important;
    gap: 12px !important;
  }

  #tim-kiem-page .search-result-row {
    display: grid !important;
    grid-template-columns: 104px minmax(0, 1fr) !important;
    align-items: start !important;
    gap: 12px !important;
    padding: 12px !important;
    border: 1px solid #e6edf6 !important;
    border-radius: 12px !important;
    background: #ffffff !important;
    box-shadow: 0 3px 10px rgba(13, 29, 58, 0.04) !important;
  }

  #tim-kiem-page .search-result-row:first-child,
  #tim-kiem-page .search-result-row:last-child {
    padding: 12px !important;
  }

  #tim-kiem-page .search-result-thumb {
    width: 104px !important;
    height: 84px !important;
    aspect-ratio: auto !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
  }

  #tim-kiem-page .search-result-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
  }

  #tim-kiem-page .search-result-badge {
    font-size: 10px !important;
    line-height: 1.35 !important;
    margin-bottom: 3px !important;
  }

  #tim-kiem-page .search-result-heading {
    font-size: 14px !important;
    line-height: 1.36 !important;
    margin-bottom: 4px !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
  }

  #tim-kiem-page .search-result-desc {
    font-size: 12.5px !important;
    line-height: 1.48 !important;
    -webkit-line-clamp: 2 !important;
    margin-bottom: 6px !important;
  }

  #tim-kiem-page .search-result-meta {
    margin-top: 6px !important;
    padding-top: 6px !important;
    border-top: 1px dashed #e2e8f0 !important;
    gap: 6px !important;
  }

  #tim-kiem-page .search-result-meta .news-item-date {
    font-size: 11px !important;
  }

  #tim-kiem-page .search-result-more {
    font-size: 11.5px !important;
    font-weight: 700 !important;
  }

  /* 8. Modals (Cửa sổ đọc bài viết / hồ sơ chuyên gia & Đăng ký tư vấn) */
  .upi-modal,
  .ctelg-modal .modal-dialog {
    width: calc(100% - 20px) !important;
    max-height: 90vh !important;
    margin: 10px auto !important;
    border-radius: 14px !important;
  }

  .upi-modal-header,
  .ctelg-modal .modal-header {
    padding: 14px 16px !important;
  }

  .upi-modal-body,
  .ctelg-modal .modal-body {
    padding: 16px !important;
  }

  /* Footer Responsive Cleanup: Logo nằm ngang cạnh tên Viện giống Header */
  .ftco-footer {
    padding: 36px 0 0 !important;
  }

  .footer-brand-top {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    gap: 10px !important;
    padding-bottom: 18px !important;
    margin-bottom: 20px !important;
  }

  .footer-brand-top img,
  .footer-brand-logo {
    width: 46px !important;
    height: 46px !important;
    flex-shrink: 0 !important;
  }

  .footer-brand-top-text {
    min-width: 0 !important;
    flex: 1 1 auto !important;
    gap: 2px !important;
  }

  .footer-brand-top-text .brand-en {
    font-size: clamp(8.5px, 2.45vw, 11px) !important;
    letter-spacing: 0.11em !important;
    white-space: nowrap !important;
    line-height: 1.25 !important;
  }

  .footer-brand-top-text .footer-brand-title {
    white-space: nowrap !important;
    font-size: clamp(9.2px, 2.75vw, 13px) !important;
    line-height: 1.3 !important;
    letter-spacing: -0.02em !important;
    display: block !important;
  }

  .footer-brand-top-text .brand-sub,
  .footer-brand-top-text .footer-brand-subtitle {
    font-size: clamp(8.8px, 2.5vw, 11.5px) !important;
    letter-spacing: 0.01em !important;
    line-height: 1.25 !important;
    white-space: nowrap !important;
  }

  .footer-grid {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    padding-bottom: 26px !important;
  }

  .footer-social-block {
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .footer-bottom {
    padding: 16px 0 84px !important; /* Extra bottom padding for floating Zalo/Messenger buttons */
    text-align: center;
  }

  /* Floating Contact Channels: Compact & Out of the Way on Mobile */
  .floating-contact-channels {
    right: 12px !important;
    bottom: 14px !important;
    gap: 9px !important;
  }

  .floating-channel-btn {
    width: 44px !important;
    height: 44px !important;
  }
}

/* --------------------------------------------------------------------------
   3. SMALL PHONES REFINEMENTS (max-width: 420px)
   -------------------------------------------------------------------------- */
@media (max-width: 420px) {
  .brand-Identity,
  .footer-brand-top {
    gap: 8px !important;
  }

  .brand-logo,
  .footer-brand-top img,
  .footer-brand-logo {
    width: 40px !important;
    height: 40px !important;
  }

  .brand-acronym,
  .footer-brand-top-text .brand-en {
    font-size: clamp(8.2px, 2.4vw, 10px) !important;
    letter-spacing: 0.1em !important;
    white-space: nowrap !important;
  }

  .brand-name-vi,
  .footer-brand-top-text .footer-brand-title {
    font-size: clamp(9px, 2.72vw, 11.2px) !important;
    letter-spacing: -0.02em !important;
    white-space: nowrap !important;
  }

  .brand-name-en,
  .footer-brand-top-text .brand-sub,
  .footer-brand-top-text .footer-brand-subtitle {
    font-size: clamp(8.5px, 2.45vw, 10.2px) !important;
    letter-spacing: 0.01em !important;
    white-space: nowrap !important;
  }

  .ftco-navbar .navbar-container {
    padding: 7px 10px !important;
    gap: 7px !important;
  }

  .ftco-navbar .navbar-toggler {
    width: 36px !important;
    height: 36px !important;
    padding: 0 !important;
  }

  .ftco-navbar .navbar-toggler span {
    display: none !important;
  }

  .ftco-navbar .mobile-lang-switcher .lang-switch-btn {
    min-width: 28px !important;
    padding: 0 6px !important;
    font-size: 11px !important;
  }

  .ftco-navbar .searchform:not(.mobile-search-open),
  #navbar-search-form:not(.mobile-search-open) {
    flex: 0 0 36px !important;
    width: 36px !important;
    min-width: 36px !important;
    max-width: 36px !important;
    height: 36px !important;
  }

  .services-strip-grid {
    gap: 14px !important;
  }
}

/* ==========================================================================
   HIỆU ỨNG CHUYỂN ĐỘNG CHUYÊN NGHIỆP RIÊNG BIỆT CHO DESKTOP & MOBILE (2026)
   ========================================================================== */

/* 1. Thanh tiến trình đọc trang mượt mà trên đỉnh màn hình (Scroll Progress Bar) */
.upi-scroll-progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  background: linear-gradient(90deg, var(--upi-orange) 0%, #ff7e47 55%, var(--upi-gold) 100%);
  box-shadow: 0 1px 10px rgba(240, 68, 36, 0.45);
  z-index: 10005;
  pointer-events: none;
  transition: width 0.08s linear;
}

/* 2. Hiệu ứng ánh sáng lướt (Executive Shimmer Sweep) trên các nút hành động chính */
.btn-primary,
.btn-submit-consult {
  position: relative;
  overflow: hidden;
}

.btn-primary::after,
.btn-submit-consult::after {
  content: '';
  position: absolute;
  top: 0;
  left: -120%;
  width: 65%;
  height: 100%;
  background: linear-gradient(
    115deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.28) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: skewX(-22deg);
  transition: left 0.65s cubic-bezier(0.22, 1, 0.36, 1);
  pointer-events: none;
}

.btn-primary:hover::after,
.btn-submit-consult:hover::after {
  left: 140%;
}

/* --------------------------------------------------------------------------
   A. HIỆU ỨNG CHUYÊN BIỆT CHO GIAO DIỆN DESKTOP (min-width: 961px)
   -------------------------------------------------------------------------- */
@media (min-width: 961px) {
  /* Thanh điều hướng hiệu ứng kính mờ (Glassmorphism) khi cuộn trang */
  .ftco-navbar {
    transition: background-color 0.32s ease, box-shadow 0.32s ease, backdrop-filter 0.32s ease;
  }

  .ftco-navbar.is-scrolled {
    background: rgba(13, 29, 58, 0.93) !important;
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    box-shadow: 0 12px 32px rgba(8, 18, 38, 0.26) !important;
  }

  /* Đường gạch chân phát sáng mở rộng từ tâm khi rê chuột vào Menu Desktop */
  .ftco-navbar .navbar-nav > .nav-item > .nav-link {
    position: relative;
  }

  .ftco-navbar .navbar-nav > .nav-item > .nav-link::before {
    content: '';
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 0;
    height: 3px;
    border-radius: 3px 3px 0 0;
    background: linear-gradient(90deg, var(--upi-orange), #ff8c5a);
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .ftco-navbar .navbar-nav > .nav-item:hover > .nav-link::before,
  .ftco-navbar .navbar-nav > .nav-item.active > .nav-link::before {
    transform: scaleX(1);
  }

  /* Hiệu ứng Ken Burns phóng nhẹ tinh tế trên Banner trang chủ */
  @keyframes upiDesktopKenBurns {
    0% {
      transform: scale(1.08);
    }
    100% {
      transform: scale(1.02);
    }
  }

  /* ========================================================================
     HIỆU ỨNG CAO CẤP CHO HEADER BANNER (.bg-top) & HERO BANNER (#hero-slider)
     DÀNH RIÊNG CHO GIAO DIỆN DESKTOP (min-width: 961px)
     ======================================================================== */

  /* 1. Top Header Banner (.bg-top): Nền trắng sạch & vệt sáng chân Header (Đồng bộ Trang chủ & Tất cả Trang con) */
  body header.bg-top,
  header.bg-top,
  .bg-top {
    position: relative;
    overflow: hidden;
    background: #ffffff !important;
  }

  body header.bg-top::after,
  header.bg-top::after,
  .bg-top::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background-image: linear-gradient(90deg, rgba(34, 70, 139, 0.18) 0%, #22468b 25%, var(--upi-orange) 50%, #ff8c5a 65%, #22468b 82%, rgba(34, 70, 139, 0.18) 100%) !important;
    background-size: 200% 100% !important;
    animation: upiHeaderBorderFlow 5s linear infinite;
    pointer-events: none;
    z-index: 5;
  }

  @keyframes upiHeaderBorderFlow {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
  }

  /* Giữ Logo trên Header đứng yên hoàn toàn (kể cả khi hover) */
  body header.bg-top .brand-Identity .brand-logo,
  body header.bg-top .brand-Identity:hover .brand-logo,
  .brand-Identity .brand-logo,
  .brand-Identity:hover .brand-logo {
    animation: none !important;
    transform: none !important;
    transition: none !important;
    box-shadow: 0 4px 12px rgba(34, 70, 139, 0.15) !important;
  }

  /* Hiệu ứng ánh kim chạy mượt trên dòng Tên Viện ở Header & Footer */
  body header.bg-top .brand-Identity .brand-name-vi,
  .brand-Identity .brand-name-vi,
  .footer-brand-top-text .footer-brand-title {
    background-color: transparent !important;
    background-image: linear-gradient(
      90deg,
      var(--upi-navy) 0%,
      var(--upi-navy) 30%,
      #1d56b5 42%,
      var(--upi-orange) 50%,
      #ff8552 55%,
      #1d56b5 63%,
      var(--upi-navy) 74%,
      var(--upi-navy) 100%
    ) !important;
    background-size: 240% auto !important;
    background-repeat: no-repeat !important;
    -webkit-background-clip: text !important;
    background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    color: transparent !important;
    animation: upiTitleShimmer 4.8s ease-in-out infinite;
    will-change: background-position;
  }

  @keyframes upiTitleShimmer {
    0%, 15% { background-position: 100% center; }
    85%, 100% { background-position: 0% center; }
  }

  body header.bg-top .brand-Identity .brand-name-en {
    transition: color 0.3s ease, transform 0.3s cubic-bezier(0.22, 1, 0.36, 1);
  }

  body header.bg-top .brand-Identity:hover .brand-name-en {
    color: var(--upi-blue);
    transform: translateX(3px);
  }

  /* Chấm sáng nhịp thở cạnh dòng chữ viết tắt UPI · Urban & Property Innovation */
  body header.bg-top .brand-Identity .brand-acronym,
  .brand-Identity .brand-acronym,
  .footer-brand-top-text .brand-en {
    display: inline-flex !important;
    align-items: center !important;
    gap: 7px !important;
  }

  body header.bg-top .brand-Identity .brand-acronym::before,
  .brand-Identity .brand-acronym::before,
  .footer-brand-top-text .brand-en::before {
    content: '' !important;
    display: inline-block !important;
    width: 7px !important;
    height: 7px !important;
    border-radius: 50% !important;
    background-color: var(--upi-orange) !important;
    box-shadow: 0 0 0 0 rgba(240, 68, 36, 0.75);
    animation: upiAcronymPulse 2s infinite;
    flex-shrink: 0 !important;
  }

  @keyframes upiAcronymPulse {
    0% { box-shadow: 0 0 0 0 rgba(240, 68, 36, 0.75); transform: scale(0.95); }
    65% { box-shadow: 0 0 0 8px rgba(240, 68, 36, 0); transform: scale(1.1); }
    100% { box-shadow: 0 0 0 0 rgba(240, 68, 36, 0); transform: scale(0.95); }
  }

  /* Giữ tiêu đề trang con (.page-card-title) và đường kẻ dưới (.page-card-header) hoàn toàn tĩnh */
  .page-card-header::after,
  .advisory-article-header::after,
  .news-part-header::after {
    content: none !important;
    display: none !important;
    animation: none !important;
  }

  /* Nút CTA "Đăng ký Tư vấn" trên Header với sóng lan tỏa & mũi tên trượt */
  .topper-actions .btn-primary svg {
    transition: transform 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .topper-actions .btn-primary:hover svg {
    transform: translateX(4px);
  }

  /* 2. Hero Banner Slider (#hero-slider.home-slider): Parallax 3D & Zoom-Focus (Không có vệt sáng chéo & không có ánh sáng theo chuột) */
  .home-slider {
    perspective: 1200px;
  }

  .home-slider::before,
  .home-slider::after {
    content: none !important;
    display: none !important;
  }

  .home-slider .slider-item {
    transform: scale(1.085);
    filter: blur(5px) brightness(0.86);
    transition:
      opacity 0.95s cubic-bezier(0.22, 1, 0.36, 1),
      visibility 0.95s ease,
      filter 0.95s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.35s ease-out;
    will-change: transform, opacity, filter;
  }

  .home-slider .slider-item.active {
    animation: none;
    filter: blur(0px) brightness(1.03) contrast(1.04);
    transform: translate3d(var(--hero-px, 0px), var(--hero-py, 0px), 0) scale(1.035);
  }

  /* Thanh điều khiển Slide dạng viên nang kính mờ (Frosted Glass Capsule) + Thanh đếm thời gian */
  .home-slider .slider-controls {
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    bottom: 24px;
    padding: 8px 14px;
    border-radius: 999px;
    background: rgba(8, 18, 38, 0.48);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.22);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
    transition: background 0.3s ease, transform 0.3s ease;
  }

  .home-slider .slider-controls:hover {
    background: rgba(8, 18, 38, 0.68);
    transform: translateX(-50%) translateY(-2px);
  }

  .home-slider .slider-arrow {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(255, 255, 255, 0.25);
  }

  .home-slider .slider-arrow:hover {
    background: var(--upi-orange);
    border-color: var(--upi-orange);
    transform: scale(1.1);
    box-shadow: 0 0 16px rgba(240, 68, 36, 0.55);
  }

  .home-slider .slider-dot {
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.32);
  }

  .home-slider .slider-dot.active {
    width: 42px;
    background: rgba(255, 255, 255, 0.28);
  }

  .home-slider .slider-dot.active::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, var(--upi-orange), #ff926b);
    transform-origin: left center;
    animation: upiDotCountdown 6.5s linear infinite;
  }

  .home-slider:hover .slider-dot.active::after {
    animation-play-state: paused;
  }

  @keyframes upiDotCountdown {
    0% { transform: scaleX(0); }
    100% { transform: scaleX(1); }
  }

  /* Hiệu ứng xuất hiện tuần tự theo tầng (Staggered Glide Reveal) khi cuộn chuột trên Desktop */
  [data-upi-reveal] {
    opacity: 0;
    transform: translateY(26px);
    transition:
      opacity 0.62s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.62s cubic-bezier(0.22, 1, 0.36, 1);
    transition-delay: var(--upi-delay, 0ms);
    will-change: opacity, transform;
  }

  [data-upi-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0);
  }

  /* Hiệu ứng Spotlight theo con trỏ chuột & Nổi khối 3D nhẹ cho các thẻ bài viết / chuyên gia */
  .upi-spotlight-card {
    position: relative;
    transition:
      transform 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      box-shadow 0.34s cubic-bezier(0.22, 1, 0.36, 1),
      border-color 0.34s ease !important;
  }

  .upi-spotlight-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    background: radial-gradient(
      380px circle at var(--spot-x, 50%) var(--spot-y, 50%),
      rgba(34, 70, 139, 0.065),
      transparent 70%
    );
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    z-index: 1;
  }

  .upi-spotlight-card:hover::after {
    opacity: 1;
  }

  .upi-spotlight-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 38px rgba(13, 29, 58, 0.12) !important;
    border-color: rgba(34, 70, 139, 0.28) !important;
  }

  /* Hiệu ứng phóng nhẹ ảnh thumbnail mượt mà khi hover vào dòng tin tức / khóa học */
  .news-simple-row .news-simple-thumb img,
  .lkg-course-item .lkg-course-thumb img {
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
  }

  .news-simple-row:hover .news-simple-thumb img,
  .lkg-course-item:hover .lkg-course-thumb img {
    transform: scale(1.06);
  }
}

/* --------------------------------------------------------------------------
   B. HIỆU ỨNG CHUYÊN BIỆT CHO GIAO DIỆN MOBILE & TABLET (max-width: 960px)
   -------------------------------------------------------------------------- */
@media (max-width: 960px) {
  /* 1. Hiệu ứng cuộn trang kiểu Native App (Spring Scale + Slide-Up) nhanh & mượt cho cảm ứng */
  [data-upi-reveal] {
    opacity: 0;
    transform: translateY(16px) scale(0.985);
    transition:
      opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1),
      transform 0.42s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
  }

  [data-upi-reveal].is-revealed {
    opacity: 1;
    transform: translateY(0) scale(1);
  }

  /* 2. Phản hồi xúc giác khi chạm tay (Tactile Touch Press Feedback) */
  .upi-touch-press {
    transform: scale(0.975) !important;
    transition: transform 0.14s cubic-bezier(0.22, 1, 0.36, 1) !important;
  }

  /* 3. Hiệu ứng trượt thác nước (Cascading Drawer Items) khi mở Menu Mobile */
  @keyframes upiMobileNavCascade {
    from {
      opacity: 0;
      transform: translateX(-14px);
    }
    to {
      opacity: 1;
      transform: translateX(0);
    }
  }

  .ftco-navbar .navbar-collapse.open .navbar-nav > .nav-item {
    animation: upiMobileNavCascade 0.3s cubic-bezier(0.22, 1, 0.36, 1) both;
  }

  .ftco-navbar .navbar-collapse.open .navbar-nav > .nav-item:nth-child(1) { animation-delay: 0.03s; }
  .ftco-navbar .navbar-collapse.open .navbar-nav > .nav-item:nth-child(2) { animation-delay: 0.07s; }
  .ftco-navbar .navbar-collapse.open .navbar-nav > .nav-item:nth-child(3) { animation-delay: 0.11s; }
  .ftco-navbar .navbar-collapse.open .navbar-nav > .nav-item:nth-child(4) { animation-delay: 0.15s; }
  .ftco-navbar .navbar-collapse.open .navbar-nav > .nav-item:nth-child(5) { animation-delay: 0.19s; }
  .ftco-navbar .navbar-collapse.open .navbar-nav > .nav-item:nth-child(6) { animation-delay: 0.23s; }

  /* 4. Hiệu ứng mở rộng mượt cho menu con (Submenu Accordion) trên Mobile */
  @keyframes upiMobileSubmenuOpen {
    from {
      opacity: 0;
      transform: translateY(-6px);
    }
    to {
      opacity: 1;
      transform: translateY(0);
    }
  }

  .nav-item.has-dropdown.dropdown-open .dropdown-menu {
    animation: upiMobileSubmenuOpen 0.22s ease-out both;
  }

  /* 5. Hiệu ứng nổi dịu và bóng đổ mềm cho các thẻ nội dung trên Mobile */
  .service-box,
  .staff-card,
  .course-pub-card,
  .coop-showcase-card,
  .news-part-card {
    transition: transform 0.22s ease, box-shadow 0.22s ease;
  }
}

@media (prefers-reduced-motion: reduce) {
  [data-upi-reveal] {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
}

/* ==========================================================================
   TRANG TỔNG QUAN GIỚI THIỆU VIỆN UPI (upi.php — .upi-overview-card)
   ========================================================================== */
.upi-overview-card {
  padding: 0 !important;
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--border-color);
  background: #ffffff;
}

.upi-ov-eyebrow {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: var(--upi-blue);
  margin-bottom: 8px;
}

.upi-ov-eyebrow-orange {
  color: #c85a28;
}

/* 1. Hero Section (Về UPI — Tri thức kết nối với thực tiễn) */
.upi-ov-hero {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 28px;
  align-items: center;
  padding: 34px 36px;
  background-color: #edf4f9;
  background-image:
    linear-gradient(to right, rgba(34, 70, 139, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(34, 70, 139, 0.045) 1px, transparent 1px);
  background-size: 32px 32px;
  border-bottom: 1px solid var(--border-color);
}

.upi-ov-hero-title {
  font-size: clamp(26px, 2.7vw, 34px);
  font-weight: 700;
  line-height: 1.22;
  color: var(--upi-navy);
  margin: 0 0 14px;
  letter-spacing: -0.01em;
}

.upi-ov-hero-desc {
  font-size: 14.5px;
  line-height: 1.65;
  color: #475569;
  margin: 0 0 22px;
}

.upi-ov-actions {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
}

.upi-ov-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 7px;
  background: #0d4a7a;
  color: #ffffff !important;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none !important;
  transition: background 0.2s ease, transform 0.2s ease;
}

.upi-ov-btn-primary:hover {
  background: var(--upi-navy);
  transform: translateY(-1px);
}

.upi-ov-btn-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: #0d4a7a !important;
  text-decoration: none !important;
  transition: color 0.2s ease, transform 0.2s ease;
}

.upi-ov-btn-link:hover {
  color: var(--upi-orange) !important;
  transform: translateX(3px);
}

.upi-ov-hero-media {
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 12px 28px rgba(13, 29, 58, 0.12);
  aspect-ratio: 4 / 3;
  background: #dbe6f0;
}

.upi-ov-hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* 2. Common Section Padding & Headings inside .upi-overview-card */
.upi-ov-section {
  padding: 34px 36px;
  border-bottom: 1px solid var(--border-color);
}

.upi-ov-section-head {
  margin-bottom: 22px;
}

.upi-ov-section-title {
  font-size: clamp(21px, 2.2vw, 26px);
  font-weight: 700;
  line-height: 1.28;
  color: var(--upi-navy);
  margin: 0;
}

/* 3. Vision Section (Tầm nhìn & 3 Giá trị cốt lõi) */
.upi-ov-vision {
  background: #ffffff;
}

.upi-ov-vision-grid {
  display: grid;
  grid-template-columns: 0.36fr 0.64fr;
  gap: 28px;
  align-items: start;
}

.upi-ov-vision-lead {
  font-size: 14.5px;
  line-height: 1.72;
  color: #334155;
  margin: 0 0 20px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--border-color);
}

.upi-ov-pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.upi-ov-pillar-num {
  display: block;
  font-size: 11px;
  font-weight: 700;
  color: #64748b;
  margin-bottom: 6px;
}

.upi-ov-pillar-item h3 {
  font-size: 15px;
  font-weight: 700;
  color: var(--upi-navy);
  margin: 0 0 6px;
}

.upi-ov-pillar-item p {
  font-size: 13px;
  line-height: 1.6;
  color: #475569;
  margin: 0;
}

/* 4. Founders & Executive Cards Grid */
.upi-ov-founders {
  background: #f3f7fb;
}

.upi-ov-executive {
  background: #ffffff;
}

.upi-ov-demo-notice {
  padding: 10px 14px;
  border-radius: 8px;
  background: #edf4f9;
  border: 1px solid #d5e3ef;
  font-size: 12.5px;
  color: #475569;
  margin-bottom: 18px;
}

.upi-ov-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.upi-ov-person-card {
  background: #ffffff;
  border: 1px solid var(--border-color);
  border-radius: 11px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 14px rgba(13, 29, 58, 0.04);
  transition: transform 0.22s ease, box-shadow 0.22s ease, border-color 0.22s ease;
}

.upi-ov-person-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(13, 29, 58, 0.09);
  border-color: rgba(34, 70, 139, 0.28);
}

.upi-ov-person-img {
  display: block;
  width: 100%;
  aspect-ratio: 1 / 1.05;
  overflow: hidden;
  background: #e6eef6;
}

.upi-ov-person-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
  transition: transform 0.35s ease;
}

.upi-ov-person-card:hover .upi-ov-person-img img {
  transform: scale(1.04);
}

.upi-ov-avatar-placeholder {
  display: flex;
  align-items: flex-end;
  justify-content: center;
  background: #e4ecf4;
}

.upi-ov-avatar-placeholder svg {
  width: 78%;
  height: 78%;
  display: block;
}

.upi-ov-person-body {
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.upi-ov-person-body h3 {
  font-size: 15.5px;
  font-weight: 700;
  color: var(--upi-navy);
  margin: 0 0 6px;
  line-height: 1.35;
}

.upi-ov-person-body h3 a {
  color: inherit;
  text-decoration: none;
}

.upi-ov-person-body h3 a:hover {
  color: var(--upi-blue);
}

.upi-ov-person-body p {
  font-size: 12.8px;
  line-height: 1.55;
  color: #475569;
  margin: 0 0 14px;
  flex: 1;
}

.upi-ov-profile-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-size: 12.5px;
  font-weight: 600;
  color: #0d4a7a !important;
  text-decoration: none !important;
  margin-top: auto;
}

.upi-ov-profile-link:hover {
  color: var(--upi-orange) !important;
}

/* 5. Bottom Network CTA Banner */
.upi-ov-cta-banner {
  margin: 28px 36px 34px;
  padding: 26px 28px;
  border-radius: 12px;
  background: #eaf2f8;
  border: 1px solid #d5e3ef;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}

.upi-ov-cta-text h2 {
  font-size: clamp(19px, 2vw, 23px);
  font-weight: 700;
  line-height: 1.3;
  color: var(--upi-navy);
  margin: 0 0 6px;
}

.upi-ov-cta-text p {
  font-size: 13.5px;
  color: #475569;
  margin: 0;
}

.upi-ov-cta-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
  flex-shrink: 0;
}

@media (max-width: 960px) {
  .upi-ov-hero {
    grid-template-columns: 1fr;
    padding: 24px 20px;
    gap: 20px;
  }

  .upi-ov-section {
    padding: 24px 20px;
  }

  .upi-ov-vision-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .upi-ov-pillars-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .upi-ov-cards-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .upi-ov-cta-banner {
    margin: 20px;
    padding: 20px;
    flex-direction: column;
    align-items: flex-start;
  }

  #upi-page .page-card-header::after {
    content: none !important;
    display: none !important;
    animation: none !important;
  }

  #upi-page .page-card-title {
    background: none !important;
    -webkit-text-fill-color: var(--upi-blue) !important;
    color: var(--upi-blue) !important;
    animation: none !important;
  }
}

/* ==========================================================================
   QUY CHUẨN TOÀN DỰ ÁN (AGENTS.MD ENFORCEMENT)
   1. Font chữ: Body = Lexend (16px cố định), Heading & Menu = Montserrat
   2. Box tin / Card items: Click toàn bộ vùng box mở trang đích
   3. Sticky Sidebar: Luôn cố định khối upi-sidebar-banner-slider khi cuộn trang
   ========================================================================== */
html,
body {
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
  font-size: 16px !important;
}

.course-rich-text,
.course-rich-text p,
.course-rich-text li,
.course-rich-text span:not(.course-data-block__icon) {
  font-family: 'Lexend', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

.ftco-navbar,
.ftco-navbar *,
h1, h2, h3, h4, h5, h6,
h1 a, h2 a, h3 a, h4 a, h5 a, h6 a,
h1 span, h2 span, h3 span, h4 span, h5 span, h6 span,
.section-title,
.page-card-title,
.courses-section-title,
.sidebar-upcoming-header,
.sidebar-upcoming-header span,
.sidebar-widget-header,
.sidebar-widget-header span,
.footer-uni-heading,
.consult-card-header,
.consult-card-header span,
.news-part-title,
.news-featured-heading,
.news-simple-heading,
.course-data-block__title,
.modal-title,
.modal-title span,
.upi-modal-title,
.investor-logos-title {
  font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif !important;
}

/* Vùng tương tác toàn bộ thẻ tin / card box trên toàn trang */
.home-slider .slider-item[data-box-href],
.service-pillar-box,
.insight-main-card,
.insight-side-item,
.milestone-card,
.staff-card,
.course-pub-card,
.news-featured-box,
.news-simple-row,
.sidebar-course-item-mockup,
.lecturer-card,
.course-card-classic-item,
.coop-showcase-card,
.upi-ov-person-card {
  cursor: pointer;
}

/* Đảm bảo không có phần tử cha nào đặt overflow: hidden làm mất sticky của sidebar */
main,
.ctelg-section,
.page-section-wrap,
.advisory-static-section,
.news-simple-section,
.courses-archive-section,
.page-layout-grid,
.courses-with-sidebar-layout,
.advisory-editorial-layout,
.course-single-layout,
.page-sidebar-col,
.lkg-sidebar-col,
.courses-sidebar-col,
.advisory-side-col,
.course-sidebar-col {
  overflow: visible !important;
}

.page-sidebar-col,
.lkg-sidebar-col,
.courses-sidebar-col,
.advisory-side-col,
.course-sidebar-col {
  align-self: stretch !important;
}

@media (min-width: 993px) {
  .sidebar-inner,
  .lkg-sidebar-sticky,
  .sidebar-sticky-wrap,
  .advisory-side-sticky,
  .course-sidebar-sticky {
    position: -webkit-sticky !important;
    position: sticky !important;
    top: 90px !important;
    z-index: 20;
  }

  .upi-sidebar-banner-slider,
  #upi-sidebar-banner-slider {
    position: relative !important;
    top: auto !important;
    z-index: 1 !important;
  }
}




