/* ==========================================================================
   Hanoi College Theme - Inner Pages Styles (Single, Page, Archive, Contact, 404)
   ========================================================================== */

/* Main Layout with Sidebar */
.site-main-layout {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 40px;
  padding: 40px 0 60px;
}

.site-main-layout.no-sidebar {
  grid-template-columns: 1fr;
  max-width: 900px;
  margin: 0 auto;
}

/* Article & Page Card Wrapper */
.article-single {
  background: var(--bg-card);
  padding: 35px;
  border-radius: var(--border-radius);
  border: 1px solid var(--border-color);
  box-shadow: var(--shadow-sm);
}

.article-header {
  margin-bottom: 25px;
}

.article-title {
  font-size: 2.3rem;
  color: var(--primary-dark);
  margin-bottom: 14px;
}

.article-meta {
  display: flex;
  gap: 18px;
  font-size: 0.9rem;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-color);
  padding-bottom: 15px;
}

.article-featured-image {
  margin: 25px 0 30px;
  border-radius: var(--border-radius-sm);
  overflow: hidden;
}

/* Entry Content Typography */
.entry-content {
  font-size: 1.05rem;
  line-height: 1.8;
  color: #334155;
}

.entry-content p {
  margin-bottom: 1.4rem;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
  margin-top: 2rem;
  margin-bottom: 1rem;
}

.entry-content ul,
.entry-content ol {
  margin-bottom: 1.4rem;
  padding-left: 1.5rem;
}

.entry-content blockquote {
  border-left: 4px solid var(--primary);
  padding: 15px 20px;
  background: var(--bg-alt);
  font-style: italic;
  margin: 1.5rem 0;
  border-radius: 0 var(--border-radius-sm) var(--border-radius-sm) 0;
}

/* Post Footer & Tags */
.article-footer {
  margin-top: 30px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
}

.post-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.post-navigation {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
  gap: 20px;
  flex-wrap: wrap;
}

/* Contact Template Styles */
.contact-info-boxes {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin: 30px 0;
}

.contact-card {
  background: var(--bg-alt);
  padding: 24px;
  border-radius: var(--border-radius);
}

/* ==========================================================================
   ABOUT PAGE LAYOUT (Banner con, Sidebar 5 mục, Nội dung chi tiết)
   ========================================================================== */

/* Banner trên cùng */
.inner-page-banner {
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  background: #0f172a;
}

.inner-banner-img {
  width: 100%;
  height: auto;
  max-height: 480px;
  object-fit: cover;
  display: block;
}

/* Bố cục trang Giới thiệu */
.about-page-main-wrap {
  width: 100%;
  background: #ffffff;
  padding: 0;
}

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

.about-layout-grid {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 60px;
  align-items: stretch;
  min-height: calc(100vh - 400px);
}

/* Cột Trái: Sidebar Menu 5 mục kéo dài xuống tận Footer */
.about-sidebar-col {
  position: relative;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.about-sidebar-nav-wrap {
  background: #f1f5f9;
  border-radius: 0;
  padding: 40px 28px 60px;
  height: 100%;
  flex: 1;
  box-sizing: border-box;
}

.about-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 24px;
  position: sticky;
  top: 100px;
}

.about-nav-item {
  position: relative;
}

.about-nav-link {
  color: #475569;
  font-size: 1.05rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  display: block;
  line-height: 1.4;
}

.about-nav-item.is-active .about-nav-link,
.about-nav-link:hover {
  color: #203B72;
  font-weight: 800;
}

/* Cột Phải: Nội dung chi tiết */
.about-content-col {
  padding-top: 40px;
  padding-bottom: 70px;
}

.about-section-title {
  font-family: var(--font-heading);
  font-size: 1.95rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.about-entry-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.about-entry-content p {
  margin: 0;
  text-align: justify;
}

/* Khung Video Giới Thiệu (Kích thước chuẩn Figma 626 x 352.12 px) */
.about-video-card {
  margin-top: 28px;
  width: 100%;
  max-width: 626px;
  aspect-ratio: 626 / 352.12;
  border-radius: 8px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
  position: relative;
}

.about-video-inner {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

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

.about-video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(14, 28, 60, 0.35);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 20px;
}

.about-video-title {
  color: #F36F21;
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.6);
  text-align: center;
}

.about-video-play-btn {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: #F36F21;
  border: 3px solid #ffffff;
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(243, 111, 33, 0.5);
  transition: transform 0.2s ease, background 0.2s ease;
}

.about-video-play-btn svg {
  margin-left: 3px;
}

.about-video-play-btn:hover {
  transform: scale(1.1);
  background: #e05e10;
}

/* ==========================================================================
   VISION & MISSION PAGE (Tầm nhìn - Sứ mệnh)
   ========================================================================== */
.vision-mission-content-col {
  padding-top: 40px;
  padding-bottom: 70px;
}

/* Khối Quote trích dẫn */
.vision-quote-card {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 38px;
  padding-top: 6px;
}

.quote-icon-wrap {
  flex: 0 0 24px;
  width: 24px;
  margin-top: 3px;
}

.quote-mark-icon {
  width: 22px;
  height: auto;
  display: block;
}

.quote-paragraph {
  font-size: 1.05rem;
  font-weight: 500;
  color: #203B72;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

/* Khối TẦM NHÌN & SỨ MỆNH */
.vision-mission-block {
  margin-bottom: 34px;
}

.vision-block-header {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}

.vision-bullet-img {
  width: 22px;
  height: auto;
  max-height: 14px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

.vision-block-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0;
  line-height: 1.2;
}

.vision-block-body {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
}

.vision-block-body p {
  margin: 0;
  text-align: justify;
}

/* ==========================================================================
   ORGANIZATION STRUCTURE PAGE (Cơ cấu tổ chức)
   ========================================================================== */
.org-chart-content-col {
  padding-top: 45px;
  padding-bottom: 90px;
}

.org-page-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 45px 0;
  line-height: 1.3;
}

.org-tree-wrapper {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Khối Cam: HỘI ĐỒNG QUẢN TRỊ & BAN GIÁM HIỆU */
.org-node-top,
.org-node-second {
  display: flex;
  justify-content: center;
  width: 100%;
}

.org-box-orange {
  background: #F36F21;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  padding: 12px 28px;
  border-radius: 6px;
  text-align: center;
  width: 300px;
  box-shadow: 0 1px 4px rgba(243, 111, 33, 0.2);
}

/* Đường nối dọc màu xanh navy */
.org-line-vertical {
  width: 1.5px;
  height: 41px;
  background-color: #203B72;
  margin: 0 auto;
}

/* Khối liên kết 3 Cột */
.org-chart-main-structure {
  width: 100%;
  position: relative;
}

/* Thanh rẽ nhánh ngang phía trên 3 cột */
.org-main-branch-bar {
  position: relative;
  height: 41px;
  /* Thanh ngang kéo dài từ tâm cột 1 (200px / 2 = 100px) sang tâm cột 3 (100px) */
  margin-left: 100px;
  margin-right: 100px;
  border-top: 1.5px solid #203B72;
}

.org-branch-pin {
  position: absolute;
  top: 0;
  width: 1.5px;
  height: 41px;
  background-color: #203B72;
}

.org-branch-pin.pin-left {
  left: 0;
}

.org-branch-pin.pin-center {
  left: 50%;
  transform: translateX(-50%);
}

.org-branch-pin.pin-right {
  right: 0;
}

/* Lưới 3 Cột - Khoảng cách trái phải rộng rãi */
.org-columns-grid {
  display: grid;
  grid-template-columns: 200px 1fr 200px;
  gap: 48px;
  width: 100%;
  align-items: start;
}

.org-col {
  display: flex;
  flex-direction: column;
}

.org-col-header {
  background: #203B72;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  padding: 12px 8px;
  border-radius: 6px 6px 0 0;
  letter-spacing: 0.02em;
}

.org-col-body {
  border: 1px solid #94a3b8;
  border-top: none;
  border-radius: 0 0 6px 6px;
  padding: 30px 16px;
  background: #ffffff;
  display: flex;
  flex-direction: column;
  gap: 41px;
}

/* Ô con phòng ban / khoa */
.org-item-box {
  background: #f1f5f9;
  border: 1px solid #94a3b8;
  border-radius: 6px;
  padding: 9px 8px;
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 700;
  color: #203B72;
  text-align: center;
  text-transform: uppercase;
  line-height: 1.35;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  box-sizing: border-box;
  position: relative;
  z-index: 2;
}

.org-item-box:hover {
  border-color: #F36F21;
  color: #F36F21;
  background: #ffffff;
}

/* ──────────────────────────────────────────────────────────────────────────
   ĐƯỜNG KẺ NỐI DỌC & NGANG BÊN TRONG CẢ 3 CỘT (MÀU XANH NAVY ĐỒNG BỘ)
   ────────────────────────────────────────────────────────────────────────── */

/* Cột 1: TỔ CHỨC ĐOÀN THỂ (Trục dọc nối 2 ô) */
.org-col-doanthe .org-col-body {
  position: relative;
  gap: 41px;
}

.org-col-doanthe .org-col-body::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  background-color: #203B72;
  z-index: 1;
}

/* Cột 3: KHOA CHUYÊN MÔN (Trục dọc nối xuyên suốt 5 ô) */
.org-col-khoa .org-col-body {
  position: relative;
  gap: 41px;
}

.org-col-khoa .org-col-body::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  background-color: #203B72;
  z-index: 1;
}

/* Cột 2: CÁC PHÒNG BAN (Mạng lưới trục dọc & đường ngang màu xanh navy) */
.org-phongban-body {
  position: relative;
  gap: 41px;
}

/* Trục dọc nối xuyên suốt chính giữa */
.org-phongban-body::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  width: 1.5px;
  background-color: #203B72;
  z-index: 1;
}

/* Hàng đôi 2 ô - Khoảng cách ngang chính xác 53px theo Figma */
.org-row-split {
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  z-index: 2;
  width: 100%;
}

.org-row-split .org-item-box {
  width: calc((100% - 53px) / 2);
  min-height: 48px;
}

/* Đường kẻ ngang nối 2 ô cắt qua trục dọc có độ dài 53px */
.org-row-split::before {
  content: '';
  position: absolute;
  left: calc(50% - 26.5px);
  right: calc(50% - 26.5px);
  top: 50%;
  height: 1.5px;
  background-color: #203B72;
  z-index: 1;
}

/* Hàng 1 ô dài */
.org-row-full {
  position: relative;
  z-index: 2;
  width: 100%;
}

.org-row-full .org-item-box {
  width: 100%;
  min-height: 42px;
}

/* ==========================================================================
   EDUCATION PHILOSOPHY PAGE (Triết lý đào tạo)
   ========================================================================== */
.philosophy-content-col {
  padding-top: 40px;
  padding-bottom: 80px;
}

.philosophy-page-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.philosophy-intro-box {
  margin-bottom: 48px;
}

.philosophy-intro-quote {
  font-size: 1.05rem;
  font-weight: 500;
  color: #1e293b;
  line-height: 1.7;
  margin: 0;
  text-align: justify;
}

/* Lưới 3 Thẻ */
.philosophy-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  align-items: stretch;
  margin-top: 24px;
}

.philosophy-card-item {
  position: relative;
  background: #f1f5f9;
  border-radius: 8px;
  padding: 38px 20px 28px;
  display: flex;
  flex-direction: column;
}

/* Badge Nổi trên đỉnh card */
.philosophy-card-badge {
  position: absolute;
  top: -18px;
  left: 50%;
  transform: translateX(-50%);
  background: #203B72;
  color: #ffffff;
  padding: 8px 18px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  box-shadow: 0 4px 10px rgba(32, 59, 114, 0.25);
  z-index: 2;
}

.philosophy-badge-icon {
  width: 20px;
  height: 20px;
  max-height: 20px;
  object-fit: contain;
  flex-shrink: 0;
  display: block;
}

.philosophy-badge-text {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  line-height: 1;
}

/* Nội dung trong card */
.philosophy-card-body {
  font-size: 0.95rem;
  line-height: 1.75;
  color: #203B72;
  font-weight: 500;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: justify;
}

.philosophy-card-body p {
  margin: 0;
}

/* ==========================================================================
   TRAINING ENVIRONMENT PAGE (Môi trường đào tạo)
   ========================================================================== */
.env-content-col {
  padding-top: 40px;
  padding-bottom: 80px;
}

.env-page-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 28px 0;
  line-height: 1.3;
}

.env-text-block {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: justify;
}

.env-text-top {
  margin-bottom: 32px;
}

.env-text-bottom {
  margin-top: 32px;
}

.env-gallery-section {
  margin: 32px 0;
}

.env-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.env-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  width: 100%;
}

.env-card-item.is-hidden {
  display: none !important;
}

.env-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: inherit;
}

.env-card-thumb-wrap {
  width: 100%;
  aspect-ratio: 16 / 10;
  min-height: 140px;
  border-radius: 8px;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  position: relative;
}

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

.env-card-link:hover .env-card-img {
  transform: scale(1.04);
}

.env-card-img-placeholder {
  width: 100%;
  height: 100%;
  min-height: 140px;
  background: linear-gradient(135deg, #1e3a8a 0%, #203B72 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  box-sizing: border-box;
}

.env-placeholder-text {
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  text-align: center;
}

.env-card-title {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  color: #203B72;
  margin: 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.env-card-link:hover .env-card-title {
  color: #F36F21;
}

/* Single Môi trường đào tạo */
.single-env-content-col {
  padding-top: 35px;
  padding-bottom: 70px;
}

.single-env-back-link {
  margin-bottom: 20px;
}

.env-back-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #203B72;
  text-decoration: none;
  transition: color 0.2s ease;
}

.env-back-btn:hover {
  color: #F36F21;
}

.single-env-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #203B72;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

.single-env-featured-image {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 28px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
}

.single-env-img {
  width: 100%;
  height: auto;
  display: block;
}

.single-env-entry-content {
  font-size: 1.02rem;
  line-height: 1.85;
  color: #334155;
}

.single-env-entry-content p {
  margin-bottom: 16px;
  text-align: justify;
}

/* Pagination (Chuyển trang mượt mà không reload) */
.env-pagination-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 28px;
}

.env-page-numbers {
  display: flex;
  gap: 8px;
  align-items: center;
}

.env-page-btn,
.env-page-number {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 10px;
  border-radius: 4px;
  background: #f1f5f9;
  color: #64748b;
  font-family: var(--font-heading);
  font-weight: 600;
  font-size: 0.88rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.env-page-btn:hover:not(:disabled),
.env-page-number:hover:not(.is-active) {
  background: #e2e8f0;
  color: #203B72;
}

.env-page-number.is-active {
  background: #203B72;
  color: #ffffff;
  cursor: default;
}

/* ==========================================================================
   TRAINING / ACADEMIC PROGRAMS PAGE (Trang Đào tạo)
   ========================================================================== */
.training-sidebar-nav-wrap {
  background: #f1f5f9;
  border-radius: 12px;
  padding: 30px 20px;
  min-height: 520px;
}

.training-nav-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.training-nav-link {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  color: #203B72;
  text-decoration: none;
  transition: color 0.2s ease;
  display: block;
}

.training-nav-link:hover,
.training-nav-item.is-active>.training-nav-link {
  color: #F36F21;
}

.training-subnav-list {
  list-style: none;
  padding: 12px 0 0 10px;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.training-subnav-link {
  font-family: var(--font-body);
  font-size: 0.85rem;
  font-weight: 500;
  color: #475569;
  text-decoration: none;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.subnav-arrow {
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease;
}

.training-subnav-link:hover,
.training-subnav-item.is-active .training-subnav-link {
  color: #203B72;
  font-weight: 700;
}

.training-subnav-link:hover .subnav-arrow,
.training-subnav-item.is-active .subnav-arrow {
  color: #F36F21;
  transform: translateX(2px);
}

/* Nội dung Đào tạo bên phải */
.training-content-col {
  padding-top: 35px;
  padding-bottom: 85px;
}

.training-section {
  margin-bottom: 50px;
}

.training-sec-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

/* Lưới 14 Ngành Đào Tạo */
.majors-grid-row {
  display: grid;
  gap: 14px;
  margin-bottom: 16px;
}

.majors-grid-5 {
  grid-template-columns: repeat(5, 1fr);
}

.majors-grid-4 {
  grid-template-columns: repeat(4, 1fr);
  max-width: 80%;
}

.major-card-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.major-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  width: 100%;
  color: inherit;
}

.major-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 11;
  border-radius: 6px;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

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

.major-card-link:hover .major-card-img {
  transform: scale(1.06);
}

.major-card-title {
  font-family: var(--font-heading);
  font-size: 0.78rem;
  font-weight: 600;
  color: #203B72;
  margin: 0;
  line-height: 1.35;
  transition: color 0.2s ease;
}

.major-card-link:hover .major-card-title {
  color: #F36F21;
}

/* Đội ngũ giảng viên */
.lecturers-intro-text {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 24px;
  text-align: justify;
}

.lecturers-stats-grid {
  display: flex;
  justify-content: center;
  gap: 80px;
  margin: 32px 0 10px;
}

.lecturer-stat-item {
  text-align: center;
}

.stat-number {
  font-family: var(--font-heading);
  font-size: 2.4rem;
  font-weight: 800;
  color: #F36F21;
  line-height: 1;
  margin-bottom: 8px;
}

.stat-label {
  font-family: var(--font-heading);
  font-size: 0.88rem;
  font-weight: 700;
  color: #203B72;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

/* Mô hình đào tạo (5 Thẻ Xanh Navy) */
.model-intro-text {
  font-size: 0.98rem;
  line-height: 1.8;
  color: #334155;
  margin-bottom: 24px;
  text-align: justify;
}

.training-model-cards-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 24px;
}

.model-navy-card {
  background: #203B72;
  color: #ffffff;
  border-radius: 6px;
  padding: 24px 14px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: flex-start;
  min-height: 185px;
  box-shadow: 0 4px 12px rgba(32, 59, 114, 0.18);
  transition: transform 0.25s ease, background 0.25s ease;
}

.model-navy-card:hover {
  transform: translateY(-4px);
  background: #172d58;
}

.model-card-icon-wrap {
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.model-card-icon {
  width: 36px;
  height: 36px;
  color: #ffffff;
}

.model-card-icon-img {
  width: 36px;
  height: 36px;
  max-height: 36px;
  object-fit: contain;
  display: block;
}

/* Đường kẻ ngang ngăn cách màu trắng mờ dưới icon */
.model-card-divider {
  width: 48px;
  height: 1px;
  background: rgba(255, 255, 255, 0.4);
  margin: 14px auto 16px;
  flex-shrink: 0;
}

.model-card-desc {
  font-family: var(--font-body);
  font-size: 0.82rem;
  font-weight: 500;
  line-height: 1.5;
  color: #ffffff;
  margin: 0;
  text-align: center;
}

/* ==========================================================================
   ACADEMIC PLAN PAGE (Trang Kế hoạch năm học)
   ========================================================================== */
.plan-page-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 32px 0;
  line-height: 1.3;
}

.plan-two-columns-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 36px;
  align-items: flex-start;
}

/* Cột Trái: Text List */
.plan-text-col {
  padding-right: 10px;
}

.plan-text-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.plan-text-item {
  border-bottom: 1px solid #e2e8f0;
  padding-bottom: 16px;
  margin-bottom: 16px;
}

.plan-text-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.plan-text-link {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  text-decoration: none;
  color: #203B72;
  transition: all 0.2s ease;
}

.plan-item-icon-wrap {
  flex-shrink: 0;
  margin-top: 2px;
  color: #475569;
}

.plan-doc-icon {
  width: 18px;
  height: 18px;
  transition: color 0.2s ease;
}

.plan-item-title-text {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  color: #203B72;
  transition: color 0.2s ease;
}

.plan-text-link:hover .plan-item-title-text {
  color: #F36F21;
}

.plan-text-link:hover .plan-doc-icon,
.plan-text-link:hover .plan-item-icon-wrap {
  color: #F36F21;
}

/* Cột Phải: Media Cards List */
.plan-media-list {
  display: flex;
  flex-direction: column;
  gap: 22px;
}

.plan-media-item {
  display: flex;
  align-items: center;
  gap: 16px;
}

.plan-media-thumb-link {
  flex-shrink: 0;
  width: 140px;
  aspect-ratio: 16 / 10;
  border-radius: 6px;
  overflow: hidden;
  display: block;
  background: #e2e8f0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.06);
}

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

.plan-media-item:hover .plan-media-thumb {
  transform: scale(1.06);
}

.plan-media-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  color: #203B72;
  margin: 0;
}

.plan-media-title-link {
  text-decoration: none;
  color: #203B72;
  transition: color 0.2s ease;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.plan-media-item:hover .plan-media-title-link {
  color: #F36F21;
}

/* Phân trang Plan Pagination */
.plan-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 45px;
}

.plan-page-btn,
.plan-page-number {
  min-width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.plan-page-number.is-active {
  background: #203B72;
  color: #ffffff;
  border-color: #203B72;
  cursor: default;
}

.plan-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.plan-page-btn:not(:disabled):hover,
.plan-page-number:not(.is-active):hover {
  background: #e2e8f0;
  color: #203B72;
}

/* ==========================================================================
   TRAINING NOTICES PAGE (Trang Thông báo đào tạo)
   ========================================================================== */
.notice-page-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 36px 0;
  line-height: 1.3;
}

.notice-items-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.notice-item {
  display: block;
}

.notice-item-link {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  text-decoration: none;
  color: #203B72;
  transition: all 0.2s ease;
}

.notice-icon-box {
  flex-shrink: 0;
  margin-top: 5px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.notice-bullet-icon {
  width: 22px;
  height: auto;
  max-height: 16px;
  object-fit: contain;
  display: block;
}

.notice-bullet-svg {
  width: 20px;
  height: 12px;
  display: block;
}

.notice-item-title {
  font-family: var(--font-body);
  font-size: 0.94rem;
  font-weight: 500;
  line-height: 1.6;
  color: #203B72;
  transition: color 0.2s ease;
}

.notice-item-link:hover .notice-item-title {
  color: #F36F21;
}

/* Phân trang Notice Pagination */
.notice-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 55px;
}

.notice-page-btn,
.notice-page-number {
  min-width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.notice-page-number.is-active {
  background: #203B72;
  color: #ffffff;
  border-color: #203B72;
  cursor: default;
}

.notice-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.notice-page-btn:not(:disabled):hover,
.notice-page-number:not(.is-active):hover {
  background: #e2e8f0;
  color: #203B72;
}

/* Khung hiển thị khi chưa có bài viết */
.notice-empty-box,
.plan-empty-box {
  padding: 40px 20px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  text-align: center;
  margin-top: 20px;
}

.notice-empty-text,
.plan-empty-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  font-style: italic;
}

/* ==========================================================================
   TRAINING FORMS PAGE (Trang Văn bản biểu mẫu)
   ========================================================================== */
.forms-page-title {
  font-family: var(--font-heading);
  font-size: 1.65rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 36px 0;
  line-height: 1.3;
}

.forms-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.form-card-item {
  display: flex;
  flex-direction: column;
}

.form-card-link {
  text-decoration: none;
  display: flex;
  flex-direction: column;
  color: inherit;
}

.form-card-thumb {
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 8px;
  overflow: hidden;
  background: #e2e8f0;
  margin-bottom: 14px;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.07);
}

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

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

.form-card-title {
  font-family: var(--font-body);
  font-size: 0.88rem;
  font-weight: 600;
  line-height: 1.45;
  color: #203B72;
  text-align: center;
  margin: 0;
  transition: color 0.2s ease;
}

.form-card-link:hover .form-card-title {
  color: #F36F21;
}

/* Phân trang Forms Pagination */
.forms-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 55px;
}

.forms-page-btn,
.forms-page-number {
  min-width: 32px;
  height: 32px;
  border: 1px solid #e2e8f0;
  background: #f8fafc;
  border-radius: 4px;
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.forms-page-number.is-active {
  background: #203B72;
  color: #ffffff;
  border-color: #203B72;
  cursor: default;
}

.forms-page-btn:disabled {
  opacity: 0.4;
  cursor: not-allowed;
}

.forms-page-btn:not(:disabled):hover,
.forms-page-number:not(.is-active):hover {
  background: #e2e8f0;
  color: #203B72;
}

.forms-empty-box {
  padding: 40px 20px;
  background: #f8fafc;
  border-radius: 8px;
  border: 1px dashed #cbd5e1;
  text-align: center;
  margin-top: 20px;
}

.forms-empty-text {
  font-family: var(--font-body);
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
  font-style: italic;
}

/* Responsive for Inner Pages */
@media (max-width: 1024px) {
  .site-main-layout {
    grid-template-columns: 1fr;
  }

  .about-layout-grid {
    grid-template-columns: 240px 1fr;
    gap: 36px;
  }

  .philosophy-cards-grid {
    grid-template-columns: 1fr;
    gap: 36px;
  }

  .majors-grid-5,
  .majors-grid-4 {
    grid-template-columns: repeat(3, 1fr);
    max-width: 100%;
  }

  .training-model-cards-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .plan-two-columns-layout {
    gap: 24px;
  }

  .forms-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
}

@media (max-width: 768px) {
  .about-page-main-wrap,
  .about-page-container {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: hidden !important;
  }

  .about-layout-grid {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    max-width: 100% !important;
    gap: 20px !important;
    box-sizing: border-box !important;
  }

  .about-sidebar-col,
  .training-sidebar-col {
    position: relative !important;
    top: auto !important;
    z-index: 10 !important;
    background: transparent !important;
    padding-top: 15px !important;
    margin-bottom: 10px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .about-sidebar-nav-wrap,
  .training-sidebar-nav-wrap {
    min-height: auto;
    padding: 8px 6px !important;
    border-radius: 8px !important;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow: visible !important;
  }

  .about-nav-list,
  .training-nav-list {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 6px !important;
    position: static !important;
    width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
  }

  .about-nav-item,
  .training-nav-item {
    flex: 0 1 auto !important;
    display: inline-block !important;
  }

  .about-nav-link,
  .training-nav-link {
    padding: 6px 11px !important;
    background: #ffffff;
    color: #475569 !important;
    font-size: 0.76rem !important;
    font-weight: 600 !important;
    border-radius: 14px !important;
    border: 1px solid #e2e8f0;
    white-space: nowrap !important;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1.3 !important;
    transition: all 0.2s ease;
  }

  .about-nav-item.is-active .about-nav-link,
  .training-nav-item.is-active .training-nav-link {
    background: #203B72 !important;
    color: #ffffff !important;
    border-color: #203B72 !important;
    font-weight: 700 !important;
    box-shadow: 0 2px 6px rgba(32, 59, 114, 0.25);
  }

  /* Đào tạo: Ẩn danh sách 14 ngành con trên thanh tab mobile */
  .training-subnav-list,
  .training-sub-list {
    display: none !important;
  }

  .about-content-col,
  .training-content-col {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    padding-top: 10px;
    padding-bottom: 50px;
  }

  .about-section-title,
  .org-page-title,
  .philosophy-page-title,
  .training-sec-title,
  .plan-page-title,
  .notice-page-title,
  .forms-page-title {
    font-size: 1.55rem;
    word-break: break-word;
  }

  /* Thu nhỏ gọn gàng sơ đồ Cơ Cấu Tổ Chức trên Mobile */
  .org-chart-article {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 20px;
  }

  .org-tree-wrapper {
    min-width: 540px !important;
    width: 540px !important;
    margin: 0 auto !important;
  }

  .org-box-orange {
    width: 200px !important;
    font-size: 0.78rem !important;
    padding: 8px 12px !important;
    border-radius: 4px !important;
  }

  .org-line-vertical {
    height: 24px !important;
  }

  .org-main-branch-bar {
    display: block !important;
    height: 24px !important;
    margin-left: 65px !important;
    margin-right: 65px !important;
  }

  .org-branch-pin {
    height: 24px !important;
  }

  .org-columns-grid {
    grid-template-columns: 130px 1fr 130px !important;
    gap: 10px !important;
  }

  .org-col-header {
    font-size: 0.7rem !important;
    padding: 7px 4px !important;
  }

  .org-col-body {
    padding: 16px 8px !important;
    gap: 22px !important;
  }

  .org-item-box {
    font-size: 0.64rem !important;
    padding: 5px 3px !important;
    min-height: 35px !important;
    border-radius: 4px !important;
    line-height: 1.25 !important;
  }

  .org-row-split .org-item-box {
    width: calc((100% - 20px) / 2) !important;
    min-height: 36px !important;
  }

  .org-row-split::before {
    left: calc(50% - 10px) !important;
    right: calc(50% - 10px) !important;
  }

  .org-col-doanthe .org-col-body::before,
  .org-col-khoa .org-col-body::before,
  .org-phongban-body::before {
    bottom: 22px !important;
  }

  .philosophy-cards-grid {
    grid-template-columns: 1fr !important;
    gap: 36px !important;
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .philosophy-card-item {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  .env-cards-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .majors-grid-5,
  .majors-grid-4 {
    grid-template-columns: repeat(2, 1fr);
    max-width: 100%;
  }

  .training-model-cards-grid {
    grid-template-columns: 1fr;
  }

  .lecturers-stats-grid {
    gap: 36px;
  }

  .plan-two-columns-layout {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .plan-text-col {
    padding-right: 0;
  }

  .notice-items-list {
    gap: 20px;
  }

  .forms-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .archive-cards-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .about-page-main-wrap,
  .inner-archive-section,
  .single-custom-section {
    padding: 30px 0 60px;
  }

  .about-page-container {
    padding: 0 14px;
  }

  .about-section-title,
  .org-page-title,
  .philosophy-page-title,
  .training-sec-title,
  .plan-page-title,
  .notice-page-title,
  .forms-page-title,
  .archive-main-title {
    font-size: 1.35rem;
    margin-bottom: 22px;
  }

  .training-sidebar-nav-wrap,
  .about-sidebar-nav-wrap {
    padding: 6px 4px !important;
    border-radius: 8px !important;
  }

  .training-nav-link,
  .about-nav-link {
    font-size: 0.72rem !important;
    padding: 5px 8px !important;
    border-radius: 12px !important;
  }

  .majors-grid-5,
  .majors-grid-4 {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .major-card-hanoi {
    padding: 16px;
  }

  .plan-text-item {
    gap: 10px;
  }

  .plan-text-title {
    font-size: 0.88rem;
  }

  .notice-item-link {
    font-size: 0.88rem;
    gap: 10px;
  }

  .forms-pagination,
  .archive-pagination-wrap {
    margin-top: 35px;
    gap: 5px;
  }

  .forms-page-btn,
  .forms-page-number,
  .archive-pagination-wrap .page-numbers a,
  .archive-pagination-wrap .page-numbers span {
    min-width: 30px;
    height: 30px;
    font-size: 0.8rem;
    padding: 0 4px;
  }
}

/* ==========================================================================
   TRANG CHI TIẾT NGÀNH ĐÀO TẠO (CẤP 3) — CHUẨN FIGMA
   ========================================================================== */

.major-detail-content-col {
  padding-bottom: 60px;
}

.major-detail-page-title {
  font-family: var(--font-heading);
  font-size: 1.85rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 24px 0;
  line-height: 1.3;
}

/* 1. Phần Giới thiệu + Hộp văn bằng */
.major-detail-intro-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  gap: 32px;
  align-items: center;
  margin-bottom: 42px;
}

.major-detail-intro-text p {
  font-size: 0.98rem;
  line-height: 1.75;
  color: #334155;
  margin: 0 0 16px 0;
}

.major-detail-intro-text p:last-child {
  margin-bottom: 0;
}

.major-degree-box {
  background: #ffffff;
  border: 1.5px solid #F36F21;
  border-radius: 8px;
  padding: 20px 22px;
  box-shadow: 0 4px 14px rgba(243, 111, 33, 0.08);
}

.major-degree-info-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.major-degree-info-item {
  font-size: 0.92rem;
  line-height: 1.5;
  color: #1e293b;
}

.major-degree-info-item strong {
  font-weight: 700;
  color: #0f172a;
}

/* Tiêu đề các mục lớn */
.major-section-heading {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 45px 0 22px 0;
  line-height: 1.3;
}

/* 2. Bảng Môn học tiêu biểu (4 cột x 3 hàng) */
.major-subjects-table-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border: 1.5px solid #cbd5e1;
  background: #cbd5e1;
  gap: 1.5px;
  margin-bottom: 45px;
  border-radius: 4px;
  overflow: hidden;
}

.major-subject-cell {
  background: #ffffff;
  padding: 18px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.4;
  min-height: 68px;
  transition: background 0.2s ease, color 0.2s ease;
}

.major-subject-cell:hover {
  background: #f8fafc;
  color: #203B72;
}

/* 3. Chuẩn đầu ra chương trình (Lưới 3 cột gồm 9 thẻ xám) */
.major-outcomes-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 48px;
}

.major-outcome-card {
  background: #f8fafc;
  border: 1px solid #f1f5f9;
  border-radius: 6px;
  padding: 16px 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
  color: #334155;
  line-height: 1.4;
  min-height: 60px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  transition: all 0.2s ease;
}

.major-outcome-card:hover {
  background: #ffffff;
  border-color: #cbd5e1;
  color: #203B72;
  box-shadow: 0 4px 10px rgba(32, 59, 114, 0.08);
  transform: translateY(-2px);
}

/* 4. Cơ hội thực tập tại các doanh nghiệp lớn (Chung 1 hàng ngang duy nhất) */
.major-partners-wrap {
  margin-bottom: 55px;
  width: 100%;
}

.major-partners-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: nowrap !important;
  width: 100%;
  padding: 10px 0;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.major-partners-row::-webkit-scrollbar {
  display: none;
}

.major-partner-item {
  flex: 1 1 0;
  min-width: 75px;
  max-width: none;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4px 8px;
  transition: transform 0.2s ease;
  flex-shrink: 0;
}

.major-partner-item:hover {
  transform: scale(1.08);
}

.major-partner-img {
  max-width: 100%;
  max-height: 44px;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
}

/* 5. Khối CTA Tuyển sinh */
.major-cta-section {
  background: #f8fafc;
  border-radius: 12px;
  padding: 40px 30px 45px;
  text-align: center;
  border: 1px solid #e2e8f0;
  margin-top: 20px;
}

.major-cta-title {
  font-family: var(--font-heading);
  font-size: 1.45rem;
  font-weight: 800;
  color: #203B72;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  margin: 0 0 12px 0;
  line-height: 1.35;
}

.major-cta-desc {
  font-size: 0.92rem;
  color: #475569;
  max-width: 720px;
  margin: 0 auto 30px;
  line-height: 1.6;
}

.major-cta-cards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
  margin-bottom: 35px;
}

.major-cta-card {
  background: #203B72;
  border-radius: 8px;
  padding: 22px 14px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(32, 59, 114, 0.15);
  transition: transform 0.2s ease, background 0.2s ease;
}

.major-cta-card:hover {
  transform: translateY(-4px);
  background: #182e5b;
}

.major-cta-icon {
  width: 42px;
  height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
}

.major-cta-icon svg {
  width: 32px;
  height: 32px;
  stroke: currentColor;
}

.major-cta-card-text {
  font-size: 0.84rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.45;
  text-align: center;
  margin: 0;
}

.major-cta-btn-wrap {
  display: flex;
  justify-content: center;
}

.major-cta-btn {
  background: #F36F21;
  color: #ffffff;
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 13px 42px;
  border-radius: 6px;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px rgba(243, 111, 33, 0.35);
  transition: all 0.2s ease;
}

.major-cta-btn:hover {
  background: #e05e10;
  color: #ffffff;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(243, 111, 33, 0.45);
}

/* Responsive cho Trang Chi Tiết Ngành */
@media (max-width: 992px) {
  .major-detail-intro-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .major-degree-box {
    max-width: 420px;
  }

  .major-subjects-table-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .major-outcomes-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .major-cta-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 640px) {
  .major-detail-page-title {
    font-size: 1.45rem;
  }

  .major-section-heading {
    font-size: 1.25rem;
    margin: 35px 0 18px 0;
  }

  .major-subjects-table-grid {
    grid-template-columns: 1fr;
  }

  .major-subject-cell {
    min-height: 52px;
    padding: 14px 10px;
    font-size: 0.85rem;
  }

  .major-outcomes-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .major-outcome-card {
    min-height: 48px;
    padding: 12px 10px;
    font-size: 0.85rem;
  }

  .major-partners-row {
    justify-content: flex-start;
    gap: 12px;
    flex-wrap: nowrap !important;
  }

  .major-partner-item {
    flex: 0 0 85px;
    max-width: 85px;
    height: 44px;
  }

  .major-cta-section {
    padding: 30px 16px 35px;
  }

  .major-cta-title {
    font-size: 1.2rem;
  }

  .major-cta-cards-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .major-cta-card {
    padding: 18px 14px;
  }

  .major-cta-btn {
    font-size: 0.95rem;
    padding: 12px 32px;
    width: 100%;
    max-width: 280px;
  }
}