/* Start CSS thêm */
/* Khung nội dung của trang chủ/landing = khung của header (một nguồn: --bla-wrap) */
.max-w-7xl {
  max-width: var(--bla-wrap, 1400px) !important;
}

.hero-banner-dot {
  min-height: unset !important;
  min-width: unset !important;
}

input.pl-10.pr-4.py-3 {
  padding: 0.75rem 1rem 0.75rem 2.5rem !important;
}

blockquote {
  border-left: unset !important;
  padding: unset !important;
}

.btn_play_video {
  opacity: 0.8;
}

.bla-cta {
  margin: unset !important;
}

.bla-community-cta {
  margin-top: 30px;
}

.title_event {
  max-width: 500px;
}

.wpcf7 button,
.wpcf7 input,
.wpcf7 optgroup,
.wpcf7 select,
.wpcf7 textarea {
  margin-bottom: 1em !important;
  padding: 0 0.75em !important;
}

.homepage-contact-form .btn-bla-red {
  padding: 0 20px !important;
  border-radius: 5px !important;
}

.homepage-contact-form .btn-bla-red:hover {
  background-color: #c9151c !important;
}
/* End CSS thêm */

/* ========== PERFORMANCE ========== */
html {
  scroll-behavior: smooth;
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
.animate-marquee {
  will-change: transform;
  transform: translateZ(0);
  backface-visibility: hidden;
}
.anim-paused {
  animation-play-state: paused !important;
}
.perf-section {
  content-visibility: auto;
  contain-intrinsic-size: auto 600px;
}
/* Không để content-visibility tạo vệt trắng giữa 2 section tối */
#chuong-trinh.perf-section {
  content-visibility: visible;
}
#chuong-trinh + #cam-ket {
  margin-top: -1px;
  border-top: none;
}
.img-zoom {
  transform: translateZ(0);
  backface-visibility: hidden;
  transition: transform 0.5s ease;
}
.group:hover .img-zoom {
  transform: scale(1.05) translateZ(0);
}
.group:hover .img-zoom-md {
  transform: scale(1.03) translateZ(0);
}
/* Nền xám chờ tải chỉ cho ảnh chụp; KHÔNG áp cho logo, ảnh PNG/SVG (thường nền trong suốt) để khỏi hiện khung xám phía sau */
img[loading="lazy"]:not([src*="logo"]):not([src*="/partners/"]):not([src$=".png"]):not([src$=".svg"]) {
  background-color: #e2e8f0;
}

/* Card dự án — tiêu đề tối đa 2 dòng, mô tả 3 dòng */
.project-card-caption {
  display: flex;
  flex-direction: column;
  gap: 0.375rem;
  min-height: 5.75rem;
}
.project-card-title {
  font-size: 16px;
  font-weight: 800;
  line-height: 1.3;
  text-transform: uppercase;
  color: #0f172a;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(16px * 1.3 * 2);
}
.group:hover .project-card-title {
  color: #c4121a;
}
.project-card-link {
  color: inherit;
  text-decoration: none;
}
/* Cả thẻ dự án bấm được: liên kết ở tiêu đề phủ kín thẻ (thẻ .group có position: relative) */
.project-card-link::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
}
.project-card-link:focus-visible::after {
  outline: 3px solid #ed1c24;
  outline-offset: 2px;
  border-radius: 12px;
}
.project-card-sub {
  font-size: 16px;
  font-weight: 400;
  color: #64748b;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: calc(16px * 1.4 * 3);
}

/* Card nổi — shadow đồng bộ toàn site (tham chiếu: tin tức nổi bật) */
.bla-card-lift {
  box-shadow:
    0 10px 25px -5px rgba(15, 23, 42, 0.1),
    0 8px 10px -6px rgba(15, 23, 42, 0.08);
  transition:
    box-shadow 0.3s ease,
    transform 0.3s ease,
    border-color 0.3s ease;
}
.bla-card-lift:hover {
  box-shadow:
    0 20px 40px -8px rgba(15, 23, 42, 0.14),
    0 12px 24px -8px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.bla-card-lift--dark {
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
}
.bla-card-lift--dark:hover {
  box-shadow:
    0 10px 30px rgba(243, 146, 0, 0.15),
    0 16px 40px rgba(0, 0, 0, 0.45);
  transform: translateY(-2px);
}
.bla-card-scroll-track {
  overflow-x: auto;
  padding: 0.75rem 0.25rem 1.5rem;
  scroll-behavior: smooth;
  -ms-overflow-style: none;
  scrollbar-width: none;
}
.bla-card-scroll-track::-webkit-scrollbar {
  display: none;
}

.bla-section-eyebrow {
  font-size: 0.875rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  line-height: 1.4;
}
.bla-section-title {
  font-size: 1.125rem;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-transform: uppercase;
}
@media (min-width: 640px) {
  .bla-section-title {
    font-size: 1.5rem;
  }
}
@media (min-width: 768px) {
  .bla-section-title {
    font-size: 2.25rem;
  }
}
.bla-about-tab-title {
  font-size: 28px;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1.25;
  text-transform: uppercase;
}

/* Mô tả phụ — đồng bộ 16px (trước 11px) */
.bla-subtle {
  font-size: 1rem;
  line-height: 1.55;
}

@media (max-width: 768px), (hover: none) {
  .perf-soft-glow {
    filter: none !important;
    opacity: 0.35 !important;
  }
}

/* Custom Modern Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: #0d0f12;
}
::-webkit-scrollbar-thumb {
  background: #c4121a;
  border-radius: 99px;
  border: 2px solid #0d0f12;
}
::-webkit-scrollbar-thumb:hover {
  background: #f39200;
}

/* German Flag Ribbon */
.german-ribbon-premium {
  background: linear-gradient(90deg, #000000 0%, #000000 33.33%, #c4121a 33.33%, #c4121a 66.66%, #ffc50f 66.66%, #ffc50f 100%);
}

/* --- KEYFRAMES (chỉ giữ animation nhẹ, một lần) --- */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(4px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

.animate-fade-in {
  animation: fadeIn 0.35s ease-out forwards;
}

/* Infinite Marquee — scroll tĩnh, pause khi hover */
.animate-marquee {
  display: flex;
  width: max-content;
  animation: marquee 35s linear infinite;
}
.animate-marquee:hover {
  animation-play-state: paused;
}
.animate-marquee--press {
  animation-duration: 70s;
  gap: 1.25rem;
  align-items: stretch;
  padding: 0.5rem 0 1.5rem;
}
/* BLA Brand CTA — hình bình hành nghiêng góc (parallelogram) */
.bla-cta,
.bla-btn-slanted-modern {
  position: relative;
  display: inline-block;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  line-height: 1.2;
  transition:
    transform 0.25s ease,
    box-shadow 0.25s ease,
    background-color 0.25s ease;
  transform: skewX(-14deg);
  border-radius: 4px;
  overflow: hidden;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px -2px rgba(196, 18, 26, 0.5);
}
.bla-cta:hover,
.bla-btn-slanted-modern:hover {
  transform: skewX(-14deg) translateY(-2px);
  box-shadow: 0 8px 22px -4px rgba(196, 18, 26, 0.6);
}
.bla-cta__inner,
.bla-btn-slanted-content-modern {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.625rem;
  transform: skewX(14deg);
  white-space: nowrap;
}
.bla-cta__icon {
  color: #ffc50f;
  flex-shrink: 0;
}
.bla-cta--block {
  display: block;
  width: 100%;
}
.bla-cta--block .bla-cta__inner,
.bla-cta--block .bla-btn-slanted-content-modern {
  width: 100%;
}
.bla-cta--sm {
  font-size: 14px;
  letter-spacing: 0.03em;
  box-shadow: 0 2px 8px -2px rgba(196, 18, 26, 0.4);
}
.bla-btn-slanted-modern::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right, transparent, rgba(255, 255, 255, 0.2), transparent);
  transform: skewX(14deg);
  transition: none;
  pointer-events: none;
}
.bla-btn-slanted-modern:hover::before {
  left: 150%;
  transition: left 0.8s ease-in-out;
}

/* Hero banner slider — full width, chiều cao theo tỉ lệ ảnh gốc */
.hero-banner-slider {
  touch-action: pan-y pinch-zoom;
}
.hero-banner-viewport {
  width: 100%;
  overflow: hidden;
}
.hero-banner-track {
  display: flex;
  align-items: flex-start;
  transition: transform 0.55s ease;
  will-change: transform;
}
.hero-banner-slide {
  flex: 0 0 100%;
  width: 100%;
  min-width: 0;
}
.hero-banner-slide picture {
  display: block;
  width: 100%;
}
.hero-banner-slide img {
  width: 100%;
  height: auto;
  max-width: 100%;
  display: block;
  vertical-align: top;
}
.hero-banner-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 30;
  width: 2rem;
  height: 2rem;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(226, 232, 240, 0.9);
  color: #0f172a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
  cursor: pointer;
  opacity: 0;
  transition:
    opacity 0.25s ease,
    background 0.2s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.12);
}
.hero-banner-slider:hover .hero-banner-nav,
.hero-banner-slider:focus-within .hero-banner-nav {
  opacity: 1;
}
.hero-banner-nav:hover {
  background: #fff;
  color: #c4121a;
}
.hero-banner-nav--prev {
  left: 0.75rem;
}
.hero-banner-nav--next {
  right: 0.75rem;
}
.hero-banner-dots {
  position: absolute;
  bottom: 0.875rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 30;
  display: flex;
  align-items: center;
  gap: 0.375rem;
  padding: 0.35rem 0.6rem;
  border-radius: 9999px;
  background: rgba(15, 23, 42, 0.45);
  backdrop-filter: blur(4px);
}
.hero-banner-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 9999px;
  border: none;
  padding: 0;
  cursor: pointer;
  background: rgba(255, 255, 255, 0.45);
  transition:
    width 0.25s ease,
    background 0.25s ease;
}
.hero-banner-dot.is-active {
  width: 1.375rem;
  background: #ffc50f;
}
@media (max-width: 768px), (hover: none) {
  .hero-banner-nav {
    opacity: 1;
  }
}

/* Hero overlay — text + CTA nổi trên banner */
.hero-banner-captions {
  position: absolute;
  inset: 0;
  z-index: 15;
  pointer-events: none;
}
.hero-banner-caption {
  position: absolute;
  inset: 0;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 0.45s ease,
    visibility 0.45s ease;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.95) 26%, rgba(255, 255, 255, 0.88) 36%, rgba(255, 255, 255, 0.45) 44%, rgba(255, 255, 255, 0) 50%, transparent 50%);
}
.hero-banner-caption.is-active {
  opacity: 1;
  visibility: visible;
}
.hero-banner-caption__inner {
  max-width: 38rem;
  width: 100%;
  pointer-events: auto;
  padding: 0;
  background: transparent;
}
.hero-banner-eyebrow {
  font-size: 0.875rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hero-banner-title {
  font-size: calc(0.625rem + 8px);
  font-weight: 900;
  line-height: 1.12;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  color: #0f172a;
}
.hero-banner-desc {
  font-size: 0.875rem;
  font-weight: 600;
  line-height: 1.55;
  color: #475569;
  max-width: 36rem;
}
@media (min-width: 640px) {
  .hero-banner-eyebrow {
    font-size: 0.875rem;
  }
  .hero-banner-title {
    font-size: calc(1.125rem + 8px);
  }
  .hero-banner-desc {
    font-size: 0.9375rem;
  }
}
@media (min-width: 1024px) {
  .hero-banner-title {
    font-size: calc(2rem + 8px);
  }
  .hero-banner-desc {
    font-size: 1rem;
  }
}
@media (min-width: 1280px) {
  .hero-banner-title {
    font-size: calc(2.125rem + 8px);
  }
}
.hero-accent-text {
  display: inline;
  background-image: linear-gradient(90deg, #c4121a 0%, #be1c15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: #c4121a;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
}
.hero-banner-cta {
  font-size: 0.875rem;
  padding: 0.75rem 1.75rem;
}
@media (min-width: 640px) {
  .hero-banner-cta {
    font-size: 0.875rem;
    padding: 0.875rem 2.25rem;
  }
}
@media (min-width: 1024px) {
  .hero-banner-cta {
    font-size: 0.9375rem;
    padding: 1rem 2.5rem;
  }
}
@media (min-width: 640px) {
  .hero-banner-caption {
    padding: 1.75rem 2.25rem;
  }
}
@media (min-width: 1024px) {
  .hero-banner-caption {
    padding: 2rem 3rem;
  }
  .hero-banner-caption__inner {
    max-width: 42rem;
  }
}
@media (max-width: 639px) {
  .hero-banner-caption {
    align-items: flex-start;
    padding-top: 1rem;
    background: linear-gradient(180deg, rgba(255, 255, 255, 0.97) 0%, rgba(255, 255, 255, 0.93) 42%, rgba(255, 255, 255, 0.5) 52%, rgba(255, 255, 255, 0) 60%, transparent 60%);
  }
  .hero-banner-caption__inner {
    max-width: 100%;
  }
}

/* Bản đồ cộng đồng học viên — layout cố định, khớp thiết kế */
.student-map {
  position: relative;
  width: 340px;
  height: 340px;
  margin: 0 auto;
  flex-shrink: 0;
  --orbit-r: 120px;
}
@media (max-width: 768px) {
  .student-map {
    width: 100%;
  }
}
.student-map__ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: calc(var(--orbit-r) * 2);
  height: calc(var(--orbit-r) * 2);
  margin: calc(var(--orbit-r) * -1) 0 0 calc(var(--orbit-r) * -1);
  border: 1px dashed rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  pointer-events: none;
  z-index: 1;
}
.student-map__center {
  position: absolute;
  z-index: 30;
  top: calc(50% - 2rem);
  left: calc(50% - 2rem);
  width: 4rem;
  height: 4rem;
}
.student-map__center-photo {
  width: 4rem;
  height: 4rem;
  border-radius: 9999px;
  border: 4px solid #ffc50f;
  background: #0f121a;
  padding: 2px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}
.student-map__center-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
}
.student-map__center-tag {
  position: absolute;
  top: calc(100% + 4px);
  left: 50%;
  transform: translateX(-50%);
  background: #000;
  color: #fff;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: 0.06em;
  padding: 2px 6px;
  border-radius: 4px;
  text-transform: uppercase;
  white-space: nowrap;
}
.student-map__arm {
  position: absolute;
  inset: 0;
  transform: rotate(calc(var(--deg) * 1deg));
  pointer-events: none;
  z-index: 10;
}
.student-map__arm-body {
  position: absolute;
  top: calc(50% - var(--orbit-r) - 1.25rem);
  left: 50%;
  transform: translateX(-50%) rotate(calc(var(--deg) * -1deg));
  display: flex;
  flex-direction: column;
  align-items: center;
  pointer-events: auto;
}
.student-map__photo {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 9999px;
  border: 1px solid rgba(100, 116, 139, 0.55);
  background: #0f121a;
  padding: 2px;
  overflow: hidden;
  flex-shrink: 0;
}
.student-map__photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 9999px;
}
.student-map__name {
  margin-top: 3px;
  font-size: 14px;
  line-height: 1.2;
  color: rgba(203, 213, 225, 0.95);
  white-space: nowrap;
  font-weight: 500;
}
/* Cộng đồng — 1 khung, 2 cột (tailwind build không có lg:grid-cols-2) */
.bla-community-card {
  background: #171b26;
  border: 1px solid rgba(30, 41, 59, 0.6);
  border-radius: 1rem;
  overflow: hidden;
}
.bla-community-grid {
  display: grid;
  grid-template-columns: 1fr;
  align-items: stretch;
}
.bla-community-grid__text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 1.5rem;
}
.bla-community-grid__map {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 280px;
  border-top: 1px solid rgba(30, 41, 59, 0.8);
}
@media (min-width: 640px) {
  .bla-community-grid__text,
  .bla-community-grid__map {
    padding: 2rem;
  }
}
@media (min-width: 768px) {
  .bla-community-grid {
    grid-template-columns: 1fr 1fr;
  }
  .bla-community-grid__text {
    padding: 2rem 2.5rem;
  }
  .bla-community-grid__map {
    min-height: 0;
    border-top: none;
    border-left: 1px solid rgba(30, 41, 59, 0.8);
  }
}
@media (min-width: 1024px) {
  .bla-community-grid__text {
    padding: 2.5rem;
  }
}
/* Số liệu uy tín — 5 cột (tailwind build thiếu lg:grid-cols-*) */
.bla-stats-grid {
  display: flex;
  grid-template-columns: 1fr;
  gap: 2rem;
  padding-bottom: 2rem;
  border-bottom: 1px solid rgba(30, 41, 59, 0.8);
  overflow: visible;
}
@media (max-width: 768px) {
  .bla-stats-grid {
    flex-wrap: wrap;
    gap: 1rem;
  }

  .bla-stats-grid > div {
    flex: 0 0 45%;
  }
}
.bla-stats-grid__item {
  text-align: left;
  min-width: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
.bla-stats-grid__value {
  display: inline-flex;
  align-items: baseline;
  flex-wrap: nowrap;
  overflow: visible;
  font-size: 52px;
  line-height: 1;
}
@media (max-width: 768px) {
  .bla-stats-grid__value {
    font-size: 36px;
  }
}
.bla-stats-grid__number,
.bla-stats-grid__suffix {
  font-size: inherit;
  font-weight: 900;
  letter-spacing: -0.025em;
  line-height: 1;
  background: linear-gradient(180deg, #c4121a 0%, #be1c15 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
  filter: drop-shadow(0 10px 15px rgba(196, 18, 26, 0.18));
}
.bla-stats-grid__suffix {
  flex-shrink: 0;
}
@media (min-width: 640px) {
  .bla-stats-grid__value {
    font-size: 64px;
  }
}
@media (min-width: 1024px) and (max-width: 1279px) {
  .bla-stats-grid__value {
    font-size: 56px;
  }
}
@media (min-width: 1280px) {
  .bla-stats-grid__value {
    font-size: 76px;
  }
}
@media (min-width: 640px) {
  .bla-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 2rem 1.5rem;
    justify-items: center;
  }
  .bla-stats-grid__item {
    align-items: center;
    text-align: center;
    width: 100%;
  }
}
@media (min-width: 1024px) {
  .bla-stats-grid {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-evenly;
    align-items: flex-start;
    gap: 0;
  }
  .bla-stats-grid__item {
    flex: 0 0 auto;
    align-items: center;
    text-align: center;
    width: auto;
  }
}
/* Thẻ báo chí — marquee ngang vô hạn */
.bla-press-card {
  flex: 0 0 auto;
  width: min(280px, 78vw);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 1.25rem 1rem 1rem;
  color: inherit;
  text-decoration: none;
  text-align: center;
  background: #fff;
  border-radius: 0.75rem;
  border: 1px solid rgba(226, 232, 240, 0.8);
  box-shadow:
    0 10px 25px -5px rgba(15, 23, 42, 0.1),
    0 8px 10px -6px rgba(15, 23, 42, 0.08);
  transition:
    border-color 0.3s ease,
    box-shadow 0.3s ease,
    transform 0.3s ease;
}
@media (min-width: 640px) {
  .bla-press-card {
    width: 300px;
  }
}
.bla-press-card:hover {
  border-color: rgba(196, 18, 26, 0.35);
  box-shadow:
    0 20px 40px -8px rgba(15, 23, 42, 0.14),
    0 12px 24px -8px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.bla-press-card__shot {
  width: 100%;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid rgba(226, 232, 240, 0.9);
  background: #f8fafc;
  aspect-ratio: 16 / 9;
}
.bla-press-card__shot img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.bla-press-card__label {
  margin-top: 0.875rem;
  font-size: 16px;
  font-weight: 800;
  color: #0f172a;
  letter-spacing: 0.01em;
}
.bla-press-card:hover .bla-press-card__label {
  color: #c4121a;
}
/* Dự án tiêu biểu — carousel, nút 2 bên */
.bla-projects-carousel-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
@media (min-width: 640px) {
  .bla-projects-carousel-row {
    gap: 1rem;
  }
}
.bla-projects-carousel-viewport {
  flex: 1;
  min-width: 0;
  overflow: visible;
  padding: 0.25rem 0;
}
.bla-projects-nav {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 9999px;
  border: 1px solid rgb(226 232 240);
  background: #fff;
  color: rgb(71 85 105);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition:
    color 0.2s ease,
    border-color 0.2s ease;
}
.bla-projects-nav:hover {
  color: #c4121a;
  border-color: rgba(196, 18, 26, 0.35);
}
/* Câu chuyện thành công — carousel, nút 2 bên */
.bla-testimonial-card {
  flex: 0 0 auto;
  width: min(340px, 88vw);
  scroll-snap-align: start;
}
@media (min-width: 1024px) {
  .bla-testimonial-card {
    width: calc((100% - 4rem) / 3);
    min-width: 300px;
    /* max-width: 360px; */
  }
}
.bla-testimonial-name {
  font-size: 16px;
}
.bla-testimonial-sub {
  font-size: 14px;
}
/* Thumbnail YouTube 16:9 — sprite từ i.ytimg.com (npm run testimonial-sprite) */
.bla-testimonial-thumb {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  background-image: url("../images/testimonials/testimonials-sprite.webp");
  background-repeat: no-repeat;
  background-size: calc(var(--thumb-count, 11) * 100%) 100%;
  background-position: calc(var(--thumb-i) * 100% / (var(--thumb-count, 11) - 1)) 0;
  background-color: #0f172a;
  transition: transform 0.5s ease;
}
.bla-testimonial-card:hover .bla-testimonial-thumb {
  transform: scale(1.05);
}
.bla-play-btn {
  opacity: 0.8;
  transition:
    opacity 0.3s ease,
    transform 0.3s ease,
    background-color 0.3s ease;
}
.bla-play-btn:hover,
.group:hover .bla-play-btn {
  opacity: 1;
}
.bla-partner-logo {
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: transparent;
}
/* Marquee đối tác — mỗi set bọc riêng để loop -50% khớp, không hở trắng */
.bla-partner-marquee-track {
  display: flex;
  width: max-content;
}
.bla-partner-marquee-set {
  display: flex;
  flex-shrink: 0;
  align-items: center;
  gap: 4rem;
  padding-right: 4rem;
}
/* Sprite đối tác — 1 ảnh @2x, cắt theo toạ độ (npm run sprites để build lại) */
.bla-partner-sprite {
  flex-shrink: 0;
  display: inline-block;
  height: 3rem;
  max-width: 22rem;
  background-image: url("../images/partners/partners-sprite.webp");
  background-repeat: no-repeat;
  background-size: 623px 48px;
  background-color: transparent;
}
.bla-partner-sprite--iwu {
  width: 145px;
  background-position: 0 0;
}
.bla-partner-sprite--viethoga {
  width: 144px;
  background-position: -149px 0;
}
.bla-partner-sprite--sgl {
  width: 132px;
  background-position: -293px 0;
}
.bla-partner-sprite--deb {
  width: 117px;
  background-position: -433px 0;
}
.bla-partner-sprite--biw {
  width: 74px;
  background-position: -550px 0;
}
@media (max-width: 380px) {
  .student-map {
    width: 300px;
    height: 300px;
    --orbit-r: 105px;
  }
  .student-map__center {
    top: calc(50% - 1.75rem);
    left: calc(50% - 1.75rem);
    width: 3.5rem;
    height: 3.5rem;
  }
  .student-map__center-photo {
    width: 3.5rem;
    height: 3.5rem;
  }
  .student-map__photo {
    width: 2.25rem;
    height: 2.25rem;
  }
  .student-map__arm-body {
    top: calc(50% - var(--orbit-r) - 1.125rem);
  }
}
