/* ==========================================================================
   Trang "Về chúng tôi" — dùng kèm common.css (header/footer chung).
   Số đo px lấy từ Figma: desktop 1920 (container 1200), mobile 390.
   ========================================================================== */

.about { font-family: var(--font-2); color: #5d5d5d; }

.ab-h {
  font-family: var(--font-2); font-weight: 700; font-size: 36px; line-height: 43.2px;
  color: #212529; text-align: center; text-transform: uppercase;
}

/* ---------- Giới thiệu ---------- */
.ab-intro { padding-top: 101.9px; }
.ab-intro-text {
  max-width: 749.21px; margin: 16.1px auto 0;
  font-weight: 600; font-size: 16px; line-height: 24px; color: #5d5d5d; text-align: center;
}

/* ---------- Tầm nhìn / Sứ mệnh ---------- */
.ab-vm { padding-top: 76px; }
.ab-row { display: flex; align-items: center; }
.ab-img { width: 588px; flex-shrink: 0; }
.ab-img img { display: block; width: 100%; height: auto; aspect-ratio: 588 / 463.14; object-fit: cover; }
.ab-text { flex: 1; padding: 0 0 16px 106.5px; }
.ab-row-1 .ab-text p { max-width: 372.92px; }
.ab-row-2 .ab-text p { max-width: 360.87px; }
.ab-h2 { font-family: var(--font-2); font-weight: 700; font-size: 36px; line-height: 43.2px; color: #212529; }
.ab-text p { margin-top: 20.08px; font-size: 16px; line-height: 24px; color: #5d5d5d; }

/* ---------- Triết lý giáo dục ---------- */
.ab-philo {
  height: 460px; margin-top: 80px;
  background: url("../images/about/triet-ly-bg.jpg") center / auto 100% no-repeat;
}
.ab-philo .container { padding-top: 176px; }
.ab-philo-label {
  font-weight: 700; font-size: 15px; line-height: 18px; color: #cdcdcd; text-transform: uppercase;
}
.ab-philo-title {
  max-width: 665.58px; margin-top: 9.5px;
  font-family: var(--font-2); font-weight: 700; font-size: 24px; line-height: 36px;
  color: #fff; text-transform: uppercase;
}

/* ---------- Lịch sử phát triển ---------- */
.ab-history { position: relative; padding-top: 100px; }
.ab-history-banner {
  position: absolute; left: 50%; top: 447.19px; transform: translateX(-50%);
  width: 1440px; height: 572px; max-width: none; object-fit: cover;
}
.ab-history-inner { position: relative; display: flex; align-items: flex-start; }
.ab-history-left { flex: 1; padding-top: 29.9px; }
.ab-history-title {
  font-family: var(--font-2); font-weight: 700; font-size: 36px; line-height: 43.2px;
  letter-spacing: .72px; color: #333; text-transform: uppercase;
}
.ab-history-active { max-width: 470.98px; }
.ah-year {
  margin-top: 50.1px; font-weight: 700; font-size: 18px; line-height: 27px;
  color: #fa6a31; text-transform: uppercase;
}
.ah-title {
  margin-top: 5.5px; font-family: var(--font-2); font-weight: 700; font-size: 18px; line-height: 27px;
  color: #333; text-transform: uppercase;
}
.ah-desc { margin-top: 19px; font-size: 16px; line-height: 24px; color: #212529; }
.ah-desc p + p { margin-top: 4px; }

.ab-timeline {
  position: relative; z-index: 1; width: 600px; height: 950px; margin-right: -12px; flex-shrink: 0;
  border-top: 10px solid #0a64a2; overflow-y: auto; overscroll-behavior: contain;
  background: #fefefe;
}
.ab-timeline:focus-visible { outline: 2px solid #0a64a2; outline-offset: 2px; }
.tl-list {
  position: relative; margin: 0; padding: 24px 24px 69px; list-style: none;
  background: #fefefe; filter: drop-shadow(0 4px 2px rgba(0, 0, 0, .25));
}
.tl-list::before {
  content: ""; position: absolute; left: 21px; top: 35px; bottom: 0; width: 1px; overflow: hidden;
  background: url("../images/about/border-img.svg") 0 0 / 2px 911px repeat-y;
}
.tl-item { position: relative; padding-left: 50px; cursor: pointer; }
.tl-item + .tl-item { margin-top: 44px; }
.tl-item::before {
  content: ""; position: absolute; left: -10px; top: 10px; width: 15px; height: 15px;
  background: #fefefe; border: 2px solid #454343; border-radius: 50%;
  transition: background-color .2s, border-color .2s;
}
.tl-item:hover::before, .tl-item.is-active::before { background: #fa6a31; border-color: #fa6a31; }
.tl-year { font-weight: 700; font-size: 24px; line-height: 36px; color: #949494; }
.tl-title {
  margin-top: 9px; font-family: var(--font-2); font-weight: 600; font-size: 20px; line-height: 30px;
  color: #333; text-transform: uppercase; transition: color .2s;
}
.tl-item:hover .tl-title { color: #0a64a2; }
.tl-desc { margin-top: 20px; font-size: 16px; line-height: 24px; color: #5d5d5d; }
.tl-desc p + p { margin-top: 4px; }

/* ---------- Thành tựu ---------- */
.ab-achieve { padding-top: 49.1px; }
/* aspect-ratio ghi rõ: lớp fsb-reset (all: revert) xoá tỉ lệ lấy từ thuộc tính width/height → ảnh lazy cao 0px, không bao giờ tải */
.ab-achieve-img { display: block; width: 1080px; max-width: 100%; height: auto; aspect-ratio: 1080 / 2934; margin-top: 24.08px; }

/* ---------- Thông điệp viện trưởng ---------- */
.ab-letter { padding-top: 9.16px; }
.ab-letter img { display: block; width: 1104px; max-width: none; height: auto; aspect-ratio: 1104 / 1745; margin-left: -3px; }

/* ==========================================================================
   TABLET (992 – 1199)
   ========================================================================== */
@media (min-width: 992px) and (max-width: 1199.98px) {
  .ab-img { width: 50%; }
  .ab-text { padding-left: 48px; }
  .ab-timeline { width: 52%; margin-right: 0; }
  .ab-history-left { padding-right: 24px; }
  .ab-letter img { width: 100%; margin-left: 0; }
}

/* ==========================================================================
   MOBILE (< 992) — artboard 390
   ========================================================================== */
@media (max-width: 991.98px) {
  .about .container { padding-left: 8.39px; padding-right: 8.39px; }
  .ab-h, .ab-h2, .ab-history-title { font-size: 25.2px; line-height: 30.24px; }

  .ab-intro { padding-top: 27.9px; }
  .ab-intro-text { max-width: 363.89px; }

  .ab-vm { padding-top: 53.2px; }
  .ab-row { flex-direction: column; align-items: stretch; }
  .ab-row-1 .ab-img { order: -1; }
  .ab-row-2 { margin-top: 31.2px; }
  .ab-img { width: 100%; }
  .ab-img img { aspect-ratio: 373.22 / 293.97; }
  .ab-text { padding: 0; }
  .ab-h2 { margin-top: 14.9px; }
  .ab-text p { margin-top: 13.1px; max-width: none !important; }

  .ab-philo { margin-top: 87.2px; }
  .ab-philo .container { padding-top: 188px; }
  .ab-philo-title { max-width: 352.89px; margin-top: 9.9px; font-size: 16.8px; line-height: 25.2px; }

  .ab-history { display: flex; flex-direction: column; padding-top: 87.9px; }
  .ab-history-banner {
    position: static; order: 2; transform: none;
    width: 100%; height: auto; aspect-ratio: 389.97 / 154.91; margin-top: 30px;
  }
  .ab-history-inner { flex-direction: column; align-items: stretch; }
  .ab-history-left { padding-top: 0; }
  .ah-year { margin-top: 35.1px; }
  .ah-desc { margin-top: 20px; }
  .ab-history-active { max-width: none; }
  .ab-timeline { width: 100%; margin: 32.2px 0 0; }
  .tl-item { padding-left: 35px; }
  .tl-list { padding-bottom: 55.5px; }
  .tl-item + .tl-item { margin-top: 30.5px; }
  .tl-year { font-size: 16.8px; line-height: 25.2px; }
  .tl-title { margin-top: 7px; font-size: 14px; line-height: 21px; }
  .tl-desc { margin-top: 14px; }

  .ab-achieve { padding-top: 55.9px; }
  .ab-achieve-img { margin-top: 16.9px; }

  .ab-letter { padding-top: 126.5px; }
  .ab-letter .container { padding: 0; }
  .ab-letter img { width: 100%; margin: 0; }

}

/* ---------- Bổ sung theo Sheet 6 ---------- */
/* Ghi chú thành tựu (không có trong Figma): canh theo cột ảnh 1080px, chèn vào khoảng trắng trước Thông điệp */
.ab-achieve-notes { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 12px; max-width: 1080px; margin: 20px 0 24px; }
.ab-achieve-notes li {
  padding: 8px 16px; border: 1px solid #d7e3f4; border-radius: 50px; background: #f4f8fd;
  font-size: 15px; line-height: 21px; color: #212529;
}
.ab-row-btn { display: inline-flex; margin-top: 24px; padding: 0 24px; height: 40px; }
.ab-lecturers { padding-top: 80px; }
.lt-intro { max-width: 750px; margin: 16px auto 0; font-size: 16px; line-height: 24px; text-align: center; }
.lt-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-top: 40px; }
.lt-card { padding: 20px; border: 1px solid #e3eaf3; border-radius: 14px; background: #fff; text-align: center; box-shadow: 0 2px 6px rgba(0, 0, 0, .04); }
.lt-photo { display: block; width: 140px; height: 140px; margin: 0 auto; border-radius: 50%; object-fit: cover; }
.lt-name { margin-top: 16px; font-weight: 700; font-size: 18px; line-height: 24px; color: #212529; }
.lt-role { margin-top: 4px; font-weight: 600; font-size: 14px; line-height: 20px; color: var(--blue); }
.lt-exp { margin-top: 10px; font-size: 14px; line-height: 21px; }
.lt-topics { margin-top: 8px; font-size: 13px; line-height: 19px; color: var(--muted); }
@media (max-width: 991.98px) {
  .ab-achieve-notes { padding: 0 12px; margin-bottom: 0; }
  .ab-achieve:has(.ab-achieve-notes) + .ab-letter { padding-top: 56px; }
  .ab-achieve-notes li { font-size: 13px; }
  .ab-lecturers { padding-top: 48px; }
  .lt-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; margin-top: 24px; }
  .lt-card { padding: 14px 10px; }
  .lt-photo { width: 96px; height: 96px; }
}
.ab-row + .ab-row + .ab-row { margin-top: 56px; }
.ab-row + .ab-row + .ab-row .ab-text { padding-right: 32px; }
.ab-row + .ab-row + .ab-row .ab-h2 { font-size: 32px; line-height: 40px; }
@media (max-width: 991.98px) { .ab-row + .ab-row + .ab-row { margin-top: 32px; } .ab-row + .ab-row + .ab-row .ab-text { padding-right: 0; } .ab-row + .ab-row + .ab-row .ab-h2 { font-size: 25.2px; line-height: 30.24px; } }
/* Ảnh nền lịch sử rộng 1440px: cắt phần thò ra ở màn hình hẹp hơn (không tạo thanh cuộn ngang) */
.ab-history { overflow-x: clip; }
