:root {
  --accent: #f5891f;
  --ink: #0f172a;
}

/* Performance & mobile: tap highlight, reduce motion, image aspect */
html {
  overflow-x: hidden;
  -webkit-tap-highlight-color: rgba(245, 137, 31, 0.2);
}
@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  img, .card, .living-cost-card, .saving-tips-card, .reason-card, .health-condition-card {
    transition: none;
  }
}
body {
  font-family: "Google Sans Flex", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  color: #000000;
  background-color: #ffffff;
  overflow-x: hidden;
}
img[width][height] {
  height: auto;
}

img {
  transition: transform 0.3s ease, filter 0.3s ease;
}

img:hover {
  transform: scale(1.02);
  filter: brightness(1.04);
}

.text-secondary {
  color: #000000 !important;
}

/* Navbar: khoảng cách top-bottom đều nhau, căn giữa menu, không cách slider */
.navbar {
  padding-top: 0.75rem;
  padding-bottom: 0.75rem;
  margin-bottom: 0;
}

/* Slider sát ngay dưới menu, không để khoảng trống */
nav + header,
.hero-carousel,
.hero-carousel.carousel {
  margin-top: 0 !important;
  margin-bottom: 0 !important;
}

nav + header .carousel {
  margin-top: 0 !important;
}

/* Ghi đè icon carousel bằng SVG hợp lệ (tránh lỗi width: Expected length) */
.hero-carousel .carousel-control-prev-icon,
.hero-carousel .carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
  background-size: 1.25rem 1.25rem;
  background-repeat: no-repeat;
  background-position: center;
}
.hero-carousel .carousel-control-prev-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff' width='16' height='16'%3E%3Cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3E%3C/svg%3E");
}
.hero-carousel .carousel-control-next-icon {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff' width='16' height='16'%3E%3Cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3E%3C/svg%3E");
}

.navbar .container,
.navbar .navbar-collapse {
  align-items: center;
}

.navbar-nav {
  align-items: center;
}

.navbar-brand {
  font-weight: 700;
  letter-spacing: 0.02em;
  padding-top: 0;
  padding-bottom: 0;
  display: flex;
  align-items: center;
}

.navbar-nav .nav-link {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.95rem;
  letter-spacing: 0.04em;
  color: #000000;
  padding-top: 0.5rem;
  padding-bottom: 0.5rem;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus {
  color: #000000;
  outline: none;
  box-shadow: none;
  border: none;
}

.navbar .dropdown-toggle:hover,
.navbar .dropdown-toggle:focus {
  outline: none;
  box-shadow: none;
  border: none;
}

/* Menu mobile: full màn hình, khoảng cách giữa mục, phân cách chấm đốt #ccc */
@media (max-width: 991.98px) {
  .navbar-collapse {
    min-height: calc(100vh - 56px);
    align-items: stretch;
  }
  .navbar-collapse .navbar-nav {
    width: 100%;
    padding-top: 0.75rem;
    padding-bottom: 0.75rem;
  }
  .navbar-collapse .nav-item {
    padding: 0.6rem 0;
    border-bottom: 1px dotted #ccc;
  }
  .navbar-collapse .nav-item:last-child {
    border-bottom: none;
  }
  .navbar-collapse .nav-link {
    padding-top: 0.35rem;
    padding-bottom: 0.35rem;
  }
}

.dropdown-menu .dropdown-item:hover,
.dropdown-menu .dropdown-item:focus {
  outline: none;
  box-shadow: none;
  border-left: none;
  border-right: none;
  border-top: none;
}

.dropdown-menu {
  min-width: 320px;
  padding: 0;
  border-radius: 12px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  border: none;
}

/* Chỉ border-bottom dotted giữa các mục trong menu sub */
.dropdown-menu .dropdown-item {
  font-weight: 400;
  text-transform: none;
  letter-spacing: 0;
  padding: 0.6rem 1.25rem;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px dotted rgba(0, 0, 0, 0.25);
}

.dropdown-menu .dropdown-item:last-child {
  border-bottom: none;
}

.hero-carousel img {
  height: 75vh;
  object-fit: cover;
}

@media (max-width: 991.98px) {
  .hero-carousel img {
    height: 300px;
  }
}

.btn-accent {
  background-color: var(--accent);
  color: #ffffff;
  border: none;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.btn-accent:hover {
  background-color: #0f172a;
  color: #ffffff;
}

.stat-card,
.feature-card,
.news-card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.news-card {
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.news-card-img-wrap {
  display: block;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
  cursor: pointer;
  text-decoration: none;
}

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

.news-card:hover .card-img-top {
  transform: scale(1.03);
}

.news-card .card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.news-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.news-title-link:hover {
  color: var(--accent);
}

.news-meta {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

/* Section SUNNY trên báo chí */
#press .press-card {
  border-radius: 16px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  min-height: 120px;
}

#press .press-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 36px rgba(15, 23, 42, 0.12);
  color: var(--accent);
}

#press .press-card img {
  max-height: 56px;
  width: auto;
  object-fit: contain;
}

/* Thẻ sự kiện (sukien.html) */
.event-card {
  border: none;
  border-radius: 20px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

.event-card-img-wrap {
  display: block;
  position: relative;
  overflow: hidden;
  border-radius: 20px 20px 0 0;
}

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

.event-card:hover .card-img-top {
  transform: scale(1.03);
}

.event-card-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.35rem 0.65rem;
  border-radius: 8px;
  background: var(--accent);
  color: #fff;
  box-shadow: 0 2px 8px rgba(245, 137, 31, 0.35);
}

.event-card-badge-past {
  background: #64748b;
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.15);
}

.event-card .card-body {
  padding: 1.25rem 1.25rem 1.5rem;
}

.event-card .card-title {
  font-size: 0.95rem;
  line-height: 1.4;
}

.event-meta {
  font-size: 0.8rem;
  letter-spacing: 0.02em;
}

.btn-event {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--accent);
  background: rgba(245, 137, 31, 0.1);
  border: 1px solid rgba(245, 137, 31, 0.35);
  border-radius: 10px;
  padding: 0.45rem 0.9rem;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  transition: color 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.btn-event:hover {
  color: #fff;
  background: var(--accent);
  border-color: var(--accent);
}

/* Trang Sự kiện - cấu trúc khác Tin tức */
.breadcrumb-wrap {
  background: rgba(245, 137, 31, 0.12);
}

.breadcrumb-wrap + .container {
  padding-top: 1.25rem;
}

main:has(> .breadcrumb-wrap) {
  padding-top: 0;
}

.sukien-page .breadcrumb-wrap .breadcrumb-item a {
  color: var(--ink);
}

.sukien-page .breadcrumb-wrap .breadcrumb-item a:hover {
  color: var(--accent);
}

.sukien-header {
  border-left: 4px solid var(--accent);
  padding-left: 1rem;
}

.sukien-header h1 {
  font-size: 1.75rem;
}

.event-block-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.5rem;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
}

.event-empty {
  background: rgba(245, 137, 31, 0.12);
  border-radius: 12px;
  font-weight: 600;
  font-size: 1.05rem;
}

.text-accent {
  color: var(--accent);
}

.contact-info-card:hover {
  background: rgba(245, 137, 31, 0.06) !important;
}

.contact-info-card .text-accent {
  color: var(--accent);
}

.contact-branch {
  border-radius: 16px;
  transition: box-shadow 0.25s ease, transform 0.2s ease;
}

.contact-branch:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1) !important;
}

.chinhanh-list .list-group-item {
  border-radius: 12px !important;
  margin-bottom: 0.5rem;
  border: 1px solid rgba(0, 0, 0, 0.08);
  padding: 1rem 1.25rem;
}

.chinhanh-list .list-group-item.active {
  background: rgba(245, 137, 31, 0.12);
  border-color: var(--accent);
  color: var(--ink);
}

.chinhanh-list .list-group-item:not(.active):hover {
  background: rgba(0, 0, 0, 0.03);
}

.chinhanh-detail__label {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--accent);
}

.khoanhkhac-stage__num {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1;
  color: rgba(245, 137, 31, 0.25);
}

.khoanhkhac-stage .ratio iframe {
  border: none;
}

.khoanhkhac-video-wrap {
  border: 1px solid rgba(0, 0, 0, 0.06);
}

.khoanhkhac-video-caption {
  font-size: 1.05rem;
  color: var(--ink);
}

.khoanhkhac-highlight {
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.1) 0%, rgba(245, 137, 31, 0.05) 100%);
  border-left: 4px solid var(--accent);
}

.khoanhkhac-pillar {
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.khoanhkhac-pillar:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1) !important;
}

.khoanhkhac-pillar__img-wrap {
  overflow: hidden;
  border-radius: 16px 16px 0 0;
}

.khoanhkhac-pillar .card-img-top {
  transition: transform 0.3s ease;
}

.khoanhkhac-pillar:hover .card-img-top {
  transform: scale(1.05);
}

.khoanhkhac-video-label {
  letter-spacing: 0.1em;
}

.khoanhkhac-timeline {
  position: relative;
  padding-left: 0;
}

.khoanhkhac-timeline::before {
  content: "";
  position: absolute;
  left: 1.125rem;
  margin-left: -1px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(245, 137, 31, 0.3) 100%);
  border-radius: 2px;
}

.khoanhkhac-timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
  position: relative;
}

.khoanhkhac-timeline__item:last-child {
  margin-bottom: 0;
}

.khoanhkhac-timeline__marker {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  z-index: 1;
  box-shadow: 0 2px 8px rgba(245, 137, 31, 0.4);
}

.khoanhkhac-timeline__num {
  line-height: 1;
}

.khoanhkhac-timeline__content {
  flex: 1;
  padding-bottom: 0.25rem;
}

.khoanhkhac-timeline__content h4 {
  color: var(--ink);
  margin-bottom: 0.35rem;
}

.khoanhkhac-study-card {
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.khoanhkhac-study-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1) !important;
}

.khoanhkhac-study-card__icon {
  font-size: 1.75rem;
}

.khoanhkhac-life-card {
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.khoanhkhac-life-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1) !important;
}

.khoanhkhac-life-card__icon {
  font-size: 1.75rem;
}

.phuhuynh-trust-card {
  border-radius: 16px;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.phuhuynh-trust-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.12) !important;
}

.phuhuynh-trust-card__num {
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.phuhuynh-trust-card__icon {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--accent);
}

.phuhuynh-cta-card {
  border-radius: 20px;
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.06) 0%, rgba(245, 137, 31, 0.02) 100%);
  border: 1px solid rgba(245, 137, 31, 0.2);
}

.phuhuynh-step-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-weight: 700;
  font-size: 0.95rem;
}

.phuhuynh-timeline {
  position: relative;
  padding-left: 0;
  max-width: 800px;
  margin-left: auto;
  margin-right: auto;
}

.phuhuynh-timeline::before {
  content: "";
  position: absolute;
  left: 1.125rem;
  margin-left: -1px;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(245, 137, 31, 0.25) 100%);
  border-radius: 2px;
}

.phuhuynh-timeline__item {
  display: flex;
  align-items: flex-start;
  gap: 1.25rem;
  margin-bottom: 2rem;
  position: relative;
}

.phuhuynh-timeline__item:last-child {
  margin-bottom: 0;
}

.phuhuynh-timeline__mark {
  flex-shrink: 0;
  z-index: 1;
}

.phuhuynh-timeline__mark .phuhuynh-step-num {
  box-shadow: 0 2px 10px rgba(245, 137, 31, 0.35);
}

.phuhuynh-timeline__body {
  flex: 1;
  padding-bottom: 0.25rem;
}

.phuhuynh-timeline__body h3 {
  color: var(--ink, #0f172a);
}

/* SUNNY hiểu nỗi lo của phụ huynh – block nổi bật */
.phuhuynh-understand__wrap {
  background: linear-gradient(180deg, rgba(245, 137, 31, 0.08) 0%, rgba(255, 255, 255, 0) 28%, #fff 35%);
  border: 1px solid rgba(245, 137, 31, 0.15);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.phuhuynh-understand__head {
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.12) 0%, rgba(245, 137, 31, 0.04) 100%);
}

.phuhuynh-understand__badge {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--accent);
  padding: 0.35rem 0.9rem;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 2rem;
  border: 1px solid rgba(245, 137, 31, 0.25);
}

.phuhuynh-understand__title {
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
  line-height: 1.3;
  max-width: 520px;
  margin-left: auto !important;
  margin-right: auto !important;
}

.phuhuynh-understand__lead {
  font-size: 1.05rem;
  color: #334155;
  max-width: 480px;
  line-height: 1.55;
}

.phuhuynh-understand__intro {
  font-size: 0.95rem;
  color: #475569;
  line-height: 1.7;
  max-width: 820px;
}

.phuhuynh-understand__card {
  border-radius: 16px;
  background: #fff;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 2px 12px rgba(15, 23, 42, 0.04);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.phuhuynh-understand__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 28px rgba(245, 137, 31, 0.12);
  border-color: rgba(245, 137, 31, 0.2);
}

.phuhuynh-understand__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3.25rem;
  height: 3.25rem;
  border-radius: 14px;
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.15) 0%, rgba(245, 137, 31, 0.06) 100%);
  color: var(--accent);
  font-size: 1.5rem;
  margin-left: auto;
  margin-right: auto;
  transition: background 0.25s ease, color 0.25s ease;
}

.phuhuynh-understand__card:hover .phuhuynh-understand__icon {
  background: var(--accent);
  color: #fff;
}

@media (min-width: 768px) {
  .phuhuynh-understand__title {
    font-size: 2rem;
  }
}

/* Cam kết với phụ huynh – block nổi bật */
.phuhuynh-commit__wrap {
  background: linear-gradient(180deg, #fff 0%, rgba(245, 137, 31, 0.04) 100%);
  border: 1px solid rgba(245, 137, 31, 0.18);
  box-shadow: 0 4px 24px rgba(15, 23, 42, 0.06);
}

.phuhuynh-commit__head {
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.1) 0%, rgba(245, 137, 31, 0.03) 100%);
  border-bottom: 1px solid rgba(245, 137, 31, 0.12);
}

.phuhuynh-commit__badge {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

.phuhuynh-commit__title {
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--ink, #0f172a);
}

.phuhuynh-commit__list {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.phuhuynh-commit__item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1rem 1.15rem;
  background: #fff;
  border-radius: 12px;
  border: 1px solid rgba(15, 23, 42, 0.06);
  box-shadow: 0 1px 8px rgba(15, 23, 42, 0.04);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.phuhuynh-commit__item:hover {
  border-color: rgba(245, 137, 31, 0.25);
  box-shadow: 0 4px 16px rgba(245, 137, 31, 0.08);
}

.phuhuynh-commit__icon {
  flex-shrink: 0;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: 0.15rem;
  color: var(--accent);
  font-size: 1.25rem;
  line-height: 1;
}

.phuhuynh-commit__text {
  font-size: 0.9375rem;
  color: #475569;
  line-height: 1.6;
}

.phuhuynh-commit__text strong {
  color: var(--ink, #0f172a);
}

.phuhuynh-commit__cta {
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.08) 0%, rgba(245, 137, 31, 0.02) 100%);
  border: 1px solid rgba(245, 137, 31, 0.2);
  box-shadow: 0 4px 20px rgba(245, 137, 31, 0.06);
}

.phuhuynh-commit__cta-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(245, 137, 31, 0.15);
  color: var(--accent);
  font-size: 1.5rem;
  margin-left: auto;
  margin-right: auto;
}

@media (min-width: 768px) {
  .phuhuynh-commit__title {
    font-size: 1.85rem;
  }
}

.event-gallery-item {
  display: block;
  overflow: hidden;
  border-radius: 12px;
  aspect-ratio: 1;
  background: #f1f5f9;
}

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

.event-gallery-item:hover img {
  transform: scale(1.05);
}

.event-list {
  max-width: none;
}

.event-row {
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  border: 1px solid rgba(245, 137, 31, 0.12);
  transition: box-shadow 0.25s ease;
}

.event-row:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
}

.event-row-img-wrap {
  display: block;
  position: relative;
  height: 100%;
  min-height: 200px;
  overflow: hidden;
}

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

.event-row:hover .event-row-img-wrap img {
  transform: scale(1.04);
}

.event-row .event-card-badge {
  top: 12px;
  right: 12px;
}

.event-row-body {
  padding: 1.5rem 1.5rem 1.5rem 1.75rem;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

@media (max-width: 767.98px) {
  .event-row-img-wrap {
    min-height: 180px;
  }

  .event-row-body {
    padding: 1.25rem 1.25rem 1.5rem;
  }
}

/* Phân trang tin tức */
.pagination .page-link {
  color: var(--ink);
  border-color: rgba(245, 137, 31, 0.25);
  transition: color 0.2s ease, background-color 0.2s ease, border-color 0.2s ease;
}

.pagination .page-link:hover {
  color: var(--accent);
  background-color: rgba(245, 137, 31, 0.08);
  border-color: rgba(245, 137, 31, 0.4);
}

.pagination .page-item.active .page-link {
  background-color: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.pagination .page-item.disabled .page-link {
  border-color: rgba(15, 23, 42, 0.12);
  color: #999;
}

/* Trang chi tiết bài viết - layout 2 cột 8-4 */
/* Khoảng cách giữa nội dung chi tiết bài viết và footer */
.post-detail-page {
  padding-bottom: 100px;
}

.article-detail {
  max-width: 100%;
}

.article-detail .article-title {
  font-size: 1.75rem;
  line-height: 1.3;
  color: var(--ink);
}

.article-detail .article-featured-img img {
  object-fit: cover;
  max-height: 400px;
}

.article-body {
  font-size: 1rem;
  line-height: 1.7;
  text-align: justify;
}

.article-body h2,
.article-body h3,
.article-body h4 {
  text-align: left;
}

.article-body h2 {
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(245, 137, 31, 0.3);
}

.article-body h3,
.article-body h4 {
  color: var(--ink);
}

.article-body p {
  margin-bottom: 1rem;
}

.article-body ul,
.article-body ol {
  margin-bottom: 1rem;
  padding-left: 1.5rem;
}

.article-body li {
  margin-bottom: 0.35rem;
}

/* Bảng trong nội dung bài: full width, không viền, hiệu ứng hover */
.article-body .table,
.article-body table {
  width: 100%;
  max-width: 100%;
  font-size: 0.95rem;
  border-collapse: collapse;
  border: none;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
  margin: 1.25rem 0;
  background: #fff;
}

.article-body .table th,
.article-body .table td,
.article-body table th,
.article-body table td {
  padding: 0.65rem 0.85rem;
  text-align: left;
  vertical-align: top;
  border: none;
  transition: background 0.2s ease;
}

.article-body .table th,
.article-body table th {
  font-weight: 600;
  color: var(--ink);
  background: rgba(245, 137, 31, 0.08);
}

.article-body .table tbody tr:hover,
.article-body table tbody tr:hover {
  background: rgba(245, 137, 31, 0.08);
}

.article-body .table tbody tr:hover td,
.article-body table tbody tr:hover td {
  background: rgba(245, 137, 31, 0.08);
}

.article-body .table-responsive,
.article-body table + .table-responsive {
  width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin: 1.25rem 0;
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.06);
}

.article-body .table-responsive .table,
.article-body .table-responsive table {
  margin: 0;
  box-shadow: none;
}

.article-inline-link {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.article-inline-link:hover {
  text-decoration: underline;
  color: #c56b0f;
}

/* Trang Chasing The Sun SUNNY Festa 2025 – thể hiện hình ảnh đẹp */
.page-festa-gallery .article-body img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 16px;
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12);
  margin: 1.5rem 0 0.5rem 0;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.page-festa-gallery .article-body img:hover {
  box-shadow: 0 18px 40px rgba(245, 137, 31, 0.15);
  transform: translateY(-2px);
}
.page-festa-gallery .article-body p:has(img) {
  margin-bottom: 0;
}
.page-festa-gallery .article-body p[style*="text-align: center"] {
  font-size: 0.9rem;
  color: #64748b;
  margin-top: 0;
  margin-bottom: 2rem;
  font-style: italic;
  line-height: 1.5;
}
.page-festa-gallery .article-body h2 {
  margin-top: 2.5rem;
  margin-bottom: 1rem;
  padding-bottom: 0.35rem;
  border-bottom: 2px solid rgba(245, 137, 31, 0.3);
}
.page-festa-gallery .article-body h2:first-of-type {
  margin-top: 0;
}
.page-festa-gallery .article-body .post-content .wysiwyg > h1,
.page-festa-gallery .article-body .wysiwyg > h1 {
  display: none;
}
.page-festa-gallery .article-body .post-content .wysiwyg > p:first-of-type,
.page-festa-gallery .article-body .wysiwyg > p.my-4 {
  font-size: 0.875rem;
  color: #64748b;
  margin-bottom: 1.5rem;
}
.page-festa-gallery .article-body .pp-toc,
.page-festa-gallery .article-body #pp-table-of-contents {
  display: none;
}

/* Trang Hansung chứng nhận đối tác xuất sắc – ảnh 100% rộng, căn đẹp, bỏ markup thừa */
.page-hansung-chung-nhan .article-body img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  margin: 0;
}
.page-hansung-chung-nhan .article-body figure {
  margin: 1.25rem 0 1rem 0;
  max-width: 100%;
}
.page-hansung-chung-nhan .article-body figure img {
  margin: 0;
}
.page-hansung-chung-nhan .article-body figcaption,
.page-hansung-chung-nhan .article-body .wp-caption-text,
.page-hansung-chung-nhan .article-body p.wp-caption-text,
.page-hansung-chung-nhan .article-body [id^="caption-attachment"] {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.35rem;
  margin-bottom: 0;
}
.page-hansung-chung-nhan .article-body p:has(img) {
  margin-bottom: 0;
}
.page-hansung-chung-nhan .article-body div[style] {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}
.page-hansung-chung-nhan .article-body .pp-toc,
.page-hansung-chung-nhan .article-body #pp-table-of-contents,
.page-hansung-chung-nhan .article-body .comments-area,
.page-hansung-chung-nhan .article-body .wysiwyg > h1,
.page-hansung-chung-nhan .article-body .post-content > .grid > div:first-child {
  display: none;
}
.page-hansung-chung-nhan .article-body .grid {
  display: block;
}
.page-hansung-chung-nhan .article-body .wysiwyg,
.page-hansung-chung-nhan .article-body .wprt-container {
  display: block;
}
.page-hansung-chung-nhan .article-body [style*="font-weight"],
.page-hansung-chung-nhan .article-body [style*="font-family"] {
  font-weight: inherit;
  font-family: inherit;
}

/* Trang Chung-Ang đối tác xuất sắc – ảnh 100% rộng, căn đẹp (giống Hansung) */
.page-chung-ang .article-body img {
  width: 100%;
  max-width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.1);
  margin: 0;
}
.page-chung-ang .article-body figure {
  margin: 1.25rem 0 1rem 0;
  max-width: 100%;
}
.page-chung-ang .article-body figure img {
  margin: 0;
}
.page-chung-ang .article-body figcaption,
.page-chung-ang .article-body .wp-caption-text,
.page-chung-ang .article-body [id^="caption-attachment"] {
  font-size: 0.9rem;
  color: #64748b;
  text-align: center;
  margin-top: 0.35rem;
  margin-bottom: 0;
}
.page-chung-ang .article-body div[style] {
  max-width: 100% !important;
  width: 100% !important;
  box-sizing: border-box;
}
.page-chung-ang .article-body .pp-toc,
.page-chung-ang .article-body #pp-table-of-contents,
.page-chung-ang .article-body .comments-area,
.page-chung-ang .article-body .wysiwyg > h1 {
  display: none;
}
.page-chung-ang .article-body .grid {
  display: block;
}
.page-chung-ang .article-body .wysiwyg,
.page-chung-ang .article-body .wprt-container {
  display: block;
}

/* Trang chi tiết trường - khoảng cách dưới breadcrumb & khối thông tin nổi bật */
.school-detail-content {
  padding-top: 1.5rem;
  margin-top: 0.5rem;
  padding-bottom: 3rem;
}

/* Nội dung chi tiết trường: căn đều hai bên (ghi đè Bootstrap / style khác) */
.school-detail .article-body,
.school-detail-content .article-body {
  text-align: justify !important;
}
.school-detail .article-body p,
.school-detail .article-body .lead,
.school-detail .article-body li,
.school-detail .article-body div:not([class]) p,
.school-detail-content .article-body p,
.school-detail-content .article-body .lead,
.school-detail-content .article-body li,
.school-detail-content .article-body div:not([class]) p {
  text-align: justify !important;
}
.school-detail .article-body h2,
.school-detail .article-body h3,
.school-detail .article-body h4,
.school-detail-content .article-body h2,
.school-detail-content .article-body h3,
.school-detail-content .article-body h4 {
  text-align: left !important;
}

.school-hero {
  margin-bottom: 2rem;
}

.school-hero-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1.5rem 2rem;
  margin-bottom: 1.5rem;
}

.school-hero-logo {
  flex-shrink: 0;
  width: 140px;
}

.school-hero-logo img {
  width: 100%;
  height: auto;
  display: block;
}

.school-hero-text {
  flex: 1;
  min-width: 200px;
}

/* Trang ngành: hero không có logo thì text full width */
.school-hero-inner .school-hero-text:only-child {
  flex: 1 1 100%;
}

.major-card-icon {
  max-width: 100%;
  width: 200px;
}

.school-hero-title {
  font-size: 1.85rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.35rem 0;
  line-height: 1.25;
}

.school-hero-name-ko {
  font-size: 1.15rem;
  color: var(--accent);
  font-weight: 600;
  margin: 0 0 0.25rem 0;
}

.school-hero-motto {
  font-size: 0.95rem;
  color: #64748b;
  margin: 0;
}

.school-info-card {
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.08) 0%, rgba(245, 137, 31, 0.04) 100%);
  border: 1px solid rgba(245, 137, 31, 0.25);
  border-radius: 16px;
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px rgba(245, 137, 31, 0.06);
}

.school-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.school-info-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #64748b;
}

.school-info-value {
  font-size: 1rem;
  color: var(--ink);
  font-weight: 500;
}

.school-info-value a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.school-info-value a:hover {
  text-decoration: underline;
}

.school-scholarship-card {
  border-radius: 16px;
  border: 1px solid rgba(245, 137, 31, 0.2);
  transition: box-shadow 0.2s ease, transform 0.2s ease;
  overflow: hidden;
}

.school-scholarship-card:hover {
  box-shadow: 0 8px 24px rgba(245, 137, 31, 0.12);
  transform: translateY(-2px);
}

.school-scholarship-card-img-wrap {
  height: 210px;
  overflow: hidden;
  background: #f8fafc;
}

.school-scholarship-card-img-wrap .card-img-top {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Sidebar bài viết (cột phải) – cố định khi kéo xuống như template trường chi tiết mẫu */
.article-sidebar {
  position: sticky;
  top: 5.5rem; /* Dưới navbar sticky, đủ để không bị che */
}

/* Cột sidebar không kéo giãn theo cột trái, để sticky hoạt động đúng */
.school-detail-content aside.col-lg-4 {
  align-self: flex-start;
}

.sidebar-card {
  background: linear-gradient(180deg, #fff 0%, #fffefb 100%);
  border: 1px solid rgba(245, 137, 31, 0.2);
  border-radius: 20px;
  padding: 1.5rem 1.35rem 1.6rem;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.08), 0 2px 8px rgba(245, 137, 31, 0.06);
  overflow: hidden;
}

.sidebar-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: linear-gradient(180deg, var(--accent) 0%, rgba(245, 137, 31, 0.5) 100%);
  border-radius: 4px 0 0 4px;
}

.sidebar-card {
  position: relative;
}

.sidebar-title {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 1.1rem 0;
  padding-bottom: 0.65rem;
  padding-left: 0.5rem;
  border-bottom: 2px solid rgba(245, 137, 31, 0.2);
  letter-spacing: 0.01em;
}

.sidebar-menu {
  padding-left: 0.25rem;
}

.sidebar-menu li {
  margin-bottom: 0;
}

.sidebar-menu li + li {
  margin-top: 0.15rem;
}

.sidebar-menu a {
  font-size: 0.9rem;
  color: #334155;
  text-decoration: none;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.5rem 0.6rem;
  border-radius: 10px;
  transition: color 0.2s ease, background 0.2s ease;
}

.sidebar-menu a::before {
  content: "";
  flex-shrink: 0;
  width: 6px;
  height: 6px;
  margin-top: 0.5rem;
  background: rgba(245, 137, 31, 0.5);
  border-radius: 50%;
  transition: background 0.2s ease, transform 0.2s ease;
}

.sidebar-menu a:hover {
  color: var(--accent);
  background: rgba(245, 137, 31, 0.08);
}

.sidebar-menu a:hover::before {
  background: var(--accent);
  transform: scale(1.2);
}

/* Sidebar - Thông tin liên hệ */
.sidebar-card .small {
  color: #475569;
}

.sidebar-card .small a {
  color: var(--accent);
  font-weight: 600;
  text-decoration: none;
  transition: color 0.2s ease, text-decoration 0.2s ease;
}

.sidebar-card .small a:hover {
  color: #c56b0f;
  text-decoration: underline;
}

.sidebar-contact-wrap {
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.08) 0%, rgba(245, 137, 31, 0.03) 100%);
  border-radius: 12px;
  padding: 1rem 1rem 1.1rem;
  margin-top: 0.5rem;
}

.sidebar-contact-wrap p {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-bottom: 0.6rem;
}

.sidebar-contact-wrap p:last-child {
  margin-bottom: 0;
}

.sidebar-contact-wrap .small {
  margin-bottom: 0 !important;
}

/* Sidebar - Bài viết liên quan (ảnh + tiêu đề) */
.sidebar-related li {
  margin-bottom: 0;
  border-bottom: 1px solid rgba(15, 23, 42, 0.06);
}

.sidebar-related li:first-child {
  padding-top: 0.25rem;
}

.sidebar-related li:last-child {
  border-bottom: none;
}

.sidebar-related-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem 0;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.2s ease, color 0.2s ease;
  border-radius: 12px;
  margin: 0 -0.35rem;
  padding-left: 0.5rem;
  padding-right: 0.5rem;
}

.sidebar-related-item:hover {
  background: rgba(245, 137, 31, 0.06);
  color: var(--accent);
}

.sidebar-related-img-wrap {
  flex-shrink: 0;
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  background: #f1f5f9;
}

.sidebar-related-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.25s ease;
}

.sidebar-related-item:hover .sidebar-related-img-wrap img {
  transform: scale(1.05);
}

.sidebar-related-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.sidebar-related-title {
  font-size: 0.9rem;
  line-height: 1.4;
  font-weight: 500;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.sidebar-related-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--accent);
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  transition: color 0.2s ease, gap 0.2s ease;
}

.sidebar-related-item:hover .sidebar-related-link {
  color: #c56b0f;
  gap: 0.35rem;
}

.why-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(245, 137, 31, 0.18);
  background: #ffffff;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(145deg, rgba(245, 137, 31, 0.14), transparent 45%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.why-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 50px rgba(15, 23, 42, 0.12);
}

.why-card:hover::after {
  opacity: 1;
}

.why-number {
  font-size: clamp(1.8rem, 1.2rem + 2vw, 2.4rem);
  color: #c56b0f;
}

.testimonial-card {
  position: relative;
  display: flex;
  flex-direction: column;
  border: 1px solid rgba(15, 23, 42, 0.06);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  box-shadow: none;
  background: #ffffff;
  transition: transform 0.25s ease, background 0.25s ease;
}
.testimonial-card .testimonial-quote {
  flex: 1;
  min-height: 0;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: none;
  background: rgba(245, 137, 31, 0.08);
}

.testimonial-card::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  right: 20px;
  font-size: 3rem;
  color: rgba(245, 137, 31, 0.25);
  line-height: 1;
}

.testimonial-quote {
  font-size: 1.02rem;
  color: #334155;
  line-height: 1.7;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
  padding-top: 1rem;
}

.testimonial-person img {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(245, 137, 31, 0.3);
}

.testimonial-media {
  width: 100%;
  height: 280px;
  border-radius: 20px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.12);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.testimonial-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.12);
  opacity: 1;
}

.media-play {
  position: absolute;
  inset: 0;
  margin: auto;
  width: 56px;
  height: 56px;
  border-radius: 18px;
  background: #ff0000;
  display: grid;
  place-items: center;
  box-shadow: 0 18px 30px rgba(255, 0, 0, 0.45);
  opacity: 1;
  transform: scale(1);
  z-index: 1;
}

.media-play::before {
  content: "";
  display: block;
  width: 0;
  height: 0;
  border-left: 16px solid #ffffff;
  border-top: 10px solid transparent;
  border-bottom: 10px solid transparent;
  margin-left: 3px;
}


@media (min-width: 992px) {
  .testimonial-media {
    height: 320px;
  }
}

.testimonial-slider {
  position: relative;
  overflow: hidden;
}

.testimonial-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.testimonial-item {
  flex: 0 0 calc((100% - 32px) / 3);
}

.testimonial-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.testimonial-prev,
.testimonial-next {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.35);
  box-shadow: 0 12px 26px rgba(15, 23, 42, 0.18);
  font-size: 1.3rem;
  color: rgba(15, 23, 42, 0.35);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.testimonial-prev:hover,
.testimonial-next:hover {
  background: #f5891f;
  color: #ffffff;
  box-shadow: 0 16px 30px rgba(245, 137, 31, 0.35);
}

@media (max-width: 767.98px) {
  .testimonial-controls {
    position: static;
    margin-top: 16px;
    justify-content: center;
    gap: 12px;
  }
}

@media (max-width: 991.98px) {
  .testimonial-item {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 575.98px) {
  .testimonial-track {
    gap: 12px;
  }

  .testimonial-item {
    flex: 0 0 100%;
  }
}

.logo-card {
  border: 1px solid #edf2f7;
  border-radius: 16px;
  background: #ffffff;
}

.partners-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-items: center;
  padding: 18px 16px;
  height: 100%;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.partners-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 22px 44px rgba(245, 137, 31, 0.2);
}

.partners-card img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  transition: transform 0.3s ease, filter 0.3s ease;
}

.partners-card:hover img {
  transform: scale(1.03);
  filter: brightness(1.05);
}

.partners-name {
  margin: 0;
  font-weight: 600;
}

.partners-intro {
  margin: 0;
  font-size: 0.9rem;
  color: #000000;
}

.partners-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  margin-top: auto;
  align-self: center;
}

.partners-link:hover {
  color: #f5891f;
  transform: translateX(3px);
}

.activity-card {
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 22px;
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
  background: #ffffff;
  transition: background 0.25s ease;
}

.activity-card:hover {
  background: rgba(245, 137, 31, 0.04);
}

.activity-card img {
  width: 100%;
  height: 320px;
  object-fit: cover;
  border-radius: 16px;
}

@media (max-width: 991.98px) {
  .activity-card img {
    height: 200px;
    border-radius: 0;
  }
}

.activity-card-title {
  font-size: 1.1rem;
  line-height: 1.4;
}

.activity-meta {
  font-size: 0.85rem;
  color: #000000;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.activity-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
}

.activity-link:hover {
  color: #f5891f;
  transform: translateX(3px);
}

.activity-list {
  display: grid;
  gap: 14px;
  height: 100%;
}

.activity-item {
  min-height: 100%;
  border: 1px solid rgba(15, 23, 42, 0.08);
  border-radius: 18px;
  padding: 16px 18px;
  background: #ffffff;
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 16px;
  transition: background 0.25s ease;
}

.activity-item:hover {
  background: rgba(245, 137, 31, 0.04);
}

/* Ảnh bên trái, nội dung bên phải */
.activity-item .activity-thumb-link {
  display: block;
  flex-shrink: 0;
  order: 1;
}

.activity-item .activity-thumb {
  width: 200px;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  display: block;
}

.activity-item .activity-title-link {
  color: inherit;
  text-decoration: none;
  transition: color 0.2s ease;
}

.activity-item .activity-title-link:hover {
  color: var(--accent);
}

.activity-item .activity-body {
  flex: 1;
  min-width: 0;
  order: 2;
}

.activity-item h4 {
  margin: 0;
  font-size: 1rem;
}

.activity-item .activity-desc {
  font-size: 0.9rem;
  line-height: 1.5;
}

/* Mobile: card cột phải (activity-item) — ảnh trên, nội dung dưới */
@media (max-width: 991.98px) {
  .activity-item {
    flex-direction: column;
    align-items: stretch;
  }
  .activity-item .activity-thumb-link {
    width: 100%;
    order: 1;
  }
  .activity-item .activity-thumb {
    width: 100%;
    height: 180px;
    object-fit: cover;
  }
  .activity-item .activity-body {
    order: 2;
  }
}

.partners-slider {
  position: relative;
  overflow: hidden;
}

.partners-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.partners-item {
  flex: 0 0 calc((100% - 32px) / 3);
}

.partners-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.partners-prev,
.partners-next {
  pointer-events: auto;
  width: 36px;
  height: 36px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.6);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
  font-size: 1.1rem;
  color: rgba(15, 23, 42, 0.6);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.partners-prev:hover,
.partners-next:hover {
  background: #f5891f;
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(245, 137, 31, 0.35);
}

@media (max-width: 991.98px) {
  .partners-item {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 575.98px) {
  .partners-track {
    gap: 12px;
  }

  .partners-item {
    flex: 0 0 100%;
  }

  .partners-controls {
    position: static;
    margin-top: 16px;
    justify-content: center;
    gap: 12px;
  }
}

/* Chúc mừng học viên nhận Visa */
.visa-slider {
  position: relative;
  overflow: hidden;
}

.visa-track {
  display: flex;
  gap: 16px;
  transition: transform 0.4s ease;
  will-change: transform;
}

.visa-item {
  flex: 0 0 calc((100% - 48px) / 4);
}

.visa-card {
  border-radius: 16px;
  overflow: hidden;
}

.visa-card-img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  display: block;
}

.visa-card-name {
  margin: 0;
  font-size: 1rem;
}

.visa-card-school {
  margin: 0;
  font-size: 0.85rem;
}

.visa-controls {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
}

.visa-prev,
.visa-next {
  pointer-events: auto;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: none;
  background: rgba(255, 255, 255, 0.8);
  box-shadow: 0 10px 20px rgba(15, 23, 42, 0.15);
  font-size: 1.25rem;
  color: rgba(15, 23, 42, 0.7);
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.visa-prev:hover,
.visa-next:hover {
  background: var(--accent);
  color: #ffffff;
  box-shadow: 0 14px 26px rgba(245, 137, 31, 0.35);
}

@media (max-width: 991.98px) {
  .visa-item {
    flex: 0 0 calc((100% - 16px) / 2);
  }
}

@media (max-width: 575.98px) {
  .visa-track {
    gap: 12px;
  }

  .visa-item {
    flex: 0 0 100%;
  }

  .visa-controls {
    position: static;
    margin-top: 16px;
    justify-content: center;
    gap: 12px;
  }
}

.info-card {
  border: 1px solid rgba(245, 137, 31, 0.12);
  border-radius: 20px;
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.08);
  background: #ffffff;
  position: relative;
  overflow: hidden;
  padding-bottom: 3.25rem;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.info-card--split {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 16px;
  align-items: start;
}

.info-mark {
  display: flex;
  justify-content: center;
}

/* Mobile: số (01, 02...) ở trên, nội dung ở dưới — override phải đặt sau rule gốc */
@media (max-width: 767.98px) {
  .info-card.info-card--split {
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 1rem;
  }
  .info-card.info-card--split .info-mark {
    justify-content: flex-start;
  }
}

.info-content h4 {
  margin-bottom: 0.75rem;
}

.info-link {
  position: absolute;
  right: 24px;
  bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 600;
  color: #000000;
  text-decoration: none;
  transition: color 0.2s ease, transform 0.2s ease;
  z-index: 1;
}

.info-link:hover {
  color: #f5891f;
  transform: translateX(3px);
  text-decoration: none;
}

.info-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #f5891f;
  transition: width 0.2s ease;
}

.info-link:hover::after {
  width: 100%;
}

.info-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(245, 137, 31, 0.18), transparent 55%);
  opacity: 0;
  transition: opacity 0.3s ease;
  pointer-events: none;
}

.info-card:hover::after {
  opacity: 1;
}

.info-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 22px 44px rgba(15, 23, 42, 0.12);
}

/* --- 3 lý do du học Hàn Quốc (trang điều kiện) --- */
.reasons-section {
  padding: 2rem 0;
}
.reasons-section-header {
  padding-bottom: 0.5rem;
}
.reasons-section-title {
  font-size: 1.5rem;
  color: #000000;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.35rem;
}
.reasons-section-lead {
  font-size: 1rem;
  line-height: 1.6;
  max-width: none;
  width: 100%;
}
.reason-card {
  border-radius: 16px;
  padding: 1.5rem 1.25rem;
  background: #ffffff;
  border: 1px solid rgba(245, 137, 31, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.reason-card:hover {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.1);
  transform: translateY(-2px);
}
.reason-card-icon {
  width: 48px;
  height: 48px;
  font-size: 1rem;
  font-weight: 700;
  color: #000000;
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.2) 0%, rgba(245, 137, 31, 0.08) 100%);
}
.reason-card-title {
  font-size: 1.05rem;
  line-height: 1.35;
  color: #000000;
}
.reason-card-body {
  font-size: 0.95rem;
  line-height: 1.6;
  color: #000000;
}
.reason-card-body p:last-child {
  margin-bottom: 0;
}

/* --- Section "Điều kiện Du học Hàn Quốc ... cần những gì?" (trang điều kiện) --- */
.conditions-intro-section {
  padding: 2.5rem 0;
  margin-top: 0.5rem;
}
.conditions-intro-header {
  max-width: 720px;
}
.conditions-intro-badge {
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--accent);
}
.conditions-intro-title {
  font-size: 1.5rem;
  color: #000000;
  line-height: 1.35;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.35rem;
}
.conditions-intro-lead {
  font-size: 1rem;
  line-height: 1.65;
}
.conditions-video-card {
  background: #fff;
  border-color: rgba(245, 137, 31, 0.15) !important;
  max-width: 800px;
}
.conditions-video-placeholder {
  background: linear-gradient(145deg, #f8f9fa 0%, #e9ecef 100%);
  color: #6c757d;
}
.conditions-video-play-icon {
  width: 72px;
  height: 72px;
  background: rgba(245, 137, 31, 0.9);
  color: #fff;
  transition: transform 0.2s ease, background 0.2s ease;
}
.conditions-video-card:hover .conditions-video-play-icon {
  transform: scale(1.08);
  background: var(--accent);
}
.conditions-video-play-triangle {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 14px 0 14px 24px;
  border-color: transparent transparent transparent #fff;
  margin-left: 6px;
}
.conditions-video-label {
  font-size: 0.85rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.6);
  color: #fff;
}

/* --- Section Điều kiện du học Hàn Quốc về sức khỏe --- */
.health-conditions-section {
  padding: 2.5rem 0;
}
.health-conditions-header {
  max-width: none;
  width: 100%;
}
.health-conditions-lead {
  max-width: none;
  width: 100%;
  font-size: 1rem;
  line-height: 1.6;
}
.health-conditions-title {
  font-size: 1.35rem;
  color: #000000;
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.35rem;
}
.health-condition-card {
  border-radius: 16px;
  padding: 1.5rem 1.5rem;
  background: #fff;
  border: 1px solid rgba(245, 137, 31, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.health-condition-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-1px);
}
.health-condition-card-title {
  font-size: 1.05rem;
  line-height: 1.35;
  color: #000000;
}
.health-condition-badge {
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 6px;
  letter-spacing: 0.02em;
}
.health-condition-badge--no {
  background: rgba(220, 53, 69, 0.12);
  color: #b02a37;
}
.health-condition-badge--yes {
  background: rgba(25, 135, 84, 0.12);
  color: #198754;
}
.health-condition-card-body {
  font-size: 0.95rem;
  line-height: 1.65;
  color: #000000;
}
.health-condition-card-body p:last-child {
  margin-bottom: 0;
}

.info-badge {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  font-weight: 700;
  color: #000000;
  background: rgba(245, 137, 31, 0.18);
}
  transition: color 0.2s ease, transform 0.2s ease;

.info-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: #f5891f;
  transition: width 0.2s ease;
}
.breadcrumb-item a {
  color: var(--ink, #0f172a);
  text-decoration: none;
}

.breadcrumb-item a:hover {
  color: var(--accent);
}

.breadcrumb-item.active {
  color: var(--accent);
}

.banner-section {
  padding: 0;
}

.banner-section img {
  width: 100%;
  display: block;
  height: 400px;
  object-fit: cover;
  object-position: center;
}

.section-title {
  max-width: 720px;
}
  font-weight: 600;
  color: #000000;
}

.badge-accent {
  background-color: rgba(245, 137, 31, 0.15);
  color: #000000;
}

.about-title {
  padding-bottom: 1rem;
}

.about-heading {
  font-size: clamp(1.5rem, 4vw, 2rem);
  letter-spacing: 0.02em;
  color: var(--ink);
  line-height: 1.3;
}

.about-brand {
  color: var(--accent);
  font-weight: 800;
  letter-spacing: 0.08em;
}

.about-slogan {
  display: inline-block;
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  margin-bottom: 0;
  padding: 0.5rem 1rem;
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.12) 0%, rgba(245, 137, 31, 0.06) 100%);
  color: var(--ink);
  border-left: 3px solid var(--accent);
  border-radius: 0 6px 6px 0;
}

.about-slogan-a {
  color: var(--ink);
}

.about-slogan-dot {
  color: var(--accent);
  font-weight: 800;
  margin: 0 0.2em;
}

.about-slogan-b {
  color: var(--accent);
  font-weight: 800;
}

.about-media {
  width: 100%;
  height: 400px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-caption {
  margin-top: 12px;
  font-weight: 600;
  color: #0f172a;
  text-align: center;
}

@media (min-width: 992px) {
  .about-media {
    height: 450px;
  }
}

/* Trang About us – Đội ngũ nhân sự */
.team-block-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 1.25rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(245, 137, 31, 0.35);
  display: inline-block;
}

.team-card {
  border-radius: 16px;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.team-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.12) !important;
}

.team-card--director {
  box-shadow: none !important;
  background: transparent !important;
}

.team-card--director:hover {
  box-shadow: none !important;
}

.team-card-img-wrap {
  overflow: hidden;
  aspect-ratio: 1;
  background: rgba(245, 137, 31, 0.08);
}

/* Hai ảnh giám đốc luôn song song, không xuống dòng */
.row-directors {
  display: flex;
  flex-wrap: nowrap;
  gap: 3rem 0.5rem;
  justify-content: center;
}

.row-directors .col-director {
  flex: 1 1 0;
  min-width: 0;
  max-width: 50%;
}

/* Cột giám đốc rộng hơn để hình tròn to ra */
.col-director {
  min-width: 0;
}

/* Giám đốc: ảnh hình tròn, không viền card, hình tròn to */
.team-card--director .team-card-img-wrap {
  border-radius: 50%;
  margin-left: auto;
  margin-right: auto;
  width: 400px;
  max-width: 100%;
  aspect-ratio: 1;
}

.team-card--director .team-card-img {
  border-radius: 50%;
}

/* Hover overlay giám đốc: hiển thị ul li khi hover vào ảnh */
.team-card--director .team-card-img-wrap--hover {
  position: relative;
}

.team-card--director .team-card-hover {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.88);
  color: #fff;
  padding: 1.25rem 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  overflow: auto;
}

.team-card--director:hover .team-card-hover {
  opacity: 1;
  visibility: visible;
}

.team-card-hover-list {
  padding-left: 1.1rem;
  line-height: 1.5;
}

.team-card-hover-list li {
  margin-bottom: 0.5rem;
  position: relative;
}

.team-card-hover-list li::before {
  content: "•";
  position: absolute;
  left: -0.85rem;
  color: var(--accent);
}

.team-card-hover-list li:last-child {
  margin-bottom: 0;
}

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

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

.team-card .card-body {
  padding: 1rem 0.75rem 1.25rem;
}

.team-card-name {
  font-size: 1rem;
  color: var(--ink);
  margin: 0;
}

.team-card-role {
  font-size: 0.85rem;
  color: #64748b !important;
}

/* ========== Section Đội Ngũ Thầy Cô Việt – Hàn ========== */
.teachers-section {
  background: linear-gradient(180deg, #fff 0%, rgba(245, 137, 31, 0.04) 50%, #fff 100%);
}

.teachers-badge {
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: var(--accent);
  padding: 0.35rem 0.9rem;
  background: rgba(245, 137, 31, 0.12);
  border-radius: 9999px;
}

/* ========== Section Cơ Sở Vật Chất – Slider ảnh + nội dung bên dưới ========== */
.facilities-section {
  background: #f8fafc;
}

.facilities-slider-outer {
  width: 100%;
  max-width: 100vw;
  padding-left: 1rem;
  padding-right: 1rem;
  box-sizing: border-box;
}

.facilities-slider {
  position: relative;
  max-width: 1400px;
  margin-left: auto;
  margin-right: auto;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(15, 23, 42, 0.1);
  background: transparent;
}

.facilities-slider-inner {
  overflow: hidden;
}

.facilities-track {
  display: flex;
  gap: 1rem;
  transition: transform 0.4s ease;
  will-change: transform;
}

.facility-item {
  flex: 0 0 calc((100% - 2rem) / 3);
  min-width: 0;
}

@media (max-width: 767.98px) {
  .facility-item {
    flex: 0 0 100%;
  }
}

.facility-slide-img-wrap {
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: rgba(245, 137, 31, 0.06);
}

.facility-slide-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.facility-slide-caption {
  padding: 1.25rem 1rem 1.5rem;
}

.facility-slide-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.5rem 0;
}

.facility-slide-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.facilities-control {
  position: absolute;
  z-index: 10;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: transparent;
  border: none;
  opacity: 1;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.facilities-prev {
  left: 12px;
}

.facilities-next {
  right: 12px;
}

.facilities-control:hover {
  background: rgba(245, 137, 31, 0.25);
  opacity: 1;
}

.teachers-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.5rem;
}

.teacher-card-h {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding: 1.5rem 1.5rem 1.5rem 1.25rem;
  background: #fff;
  border-radius: 20px;
  border-left: 4px solid var(--accent);
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.06);
  transition: box-shadow 0.3s ease, transform 0.25s ease, border-color 0.25s ease;
}

.teacher-card-h:hover {
  box-shadow: 0 12px 36px rgba(245, 137, 31, 0.15);
  transform: translateX(4px);
  border-left-color: var(--accent);
}

.teacher-card-h-avatar-wrap {
  position: relative;
  flex-shrink: 0;
  width: 110px;
  height: 110px;
  overflow: visible;
}

.teacher-card-h-avatar-inner {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid rgba(245, 137, 31, 0.35);
  box-shadow: 0 4px 16px rgba(15, 23, 42, 0.1);
}

.teacher-card-h-avatar-inner .teacher-card-h-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Tag TOPIK bên ngoài khung tròn – góc dưới phải */
.teacher-tag {
  position: absolute;
  z-index: 2;
  font-size: 0.6rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  padding: 0.32rem 0.55rem;
  border-radius: 9999px;
  white-space: nowrap;
  line-height: 1;
  border: 2px solid #fff;
}

.teacher-tag--topik6 {
  bottom: -6px;
  right: -6px;
  background: linear-gradient(135deg, var(--accent) 0%, #e67a15 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(245, 137, 31, 0.5);
}

.teacher-tag--topik5 {
  bottom: -6px;
  right: -6px;
  background: linear-gradient(135deg, var(--accent) 0%, #e67a15 100%);
  color: #fff;
  box-shadow: 0 2px 10px rgba(245, 137, 31, 0.5);
}

.teacher-card-h-avatar {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

.teacher-card-h-name {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 0.2rem 0;
}

.teacher-card-h-role {
  margin: 0 0 0.5rem 0;
  color: #64748b !important;
}

.teacher-card-h-desc {
  font-size: 0.9rem;
  line-height: 1.55;
  color: #475569;
  margin: 0;
}

.teacher-card-h-desc li {
  margin-bottom: 0.35rem;
  padding-left: 1rem;
  position: relative;
}

.teacher-card-h-desc li::before {
  content: "•";
  position: absolute;
  left: 0;
  color: var(--accent);
}

.teacher-card-h-desc li:last-child {
  margin-bottom: 0;
}

@media (max-width: 991.98px) {
  .teachers-grid {
    grid-template-columns: 1fr;
  }

  .teacher-card-h {
    flex-direction: column;
    text-align: center;
    padding: 1.5rem;
  }

  .teacher-card-h:hover {
    transform: translateY(-2px);
  }
}

/* Footer */
.footer {
  background-color: var(--accent);
  color: rgba(255, 255, 255, 0.95);
}

.footer a {
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer a:hover {
  color: #ffffff;
}

.footer-legal {
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
}

.footer-brand {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
}

.footer-hotline {
  margin: 0;
  font-size: 1.1rem;
  font-weight: 600;
}

.footer-hotline a {
  color: #ffffff;
}

.footer-legal-item {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.footer-branch-label {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 0.25rem;
}

.footer-address {
  font-size: 0.9rem;
  line-height: 1.5;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
}

.footer-address-ko {
  font-size: 0.95rem;
}

.footer-links,
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li,
.footer-contact li {
  margin-bottom: 0.5rem;
}

.footer-links li:last-child,
.footer-contact li:last-child {
  margin-bottom: 0;
}

.footer-contact a,
.footer-links a {
  display: inline-block;
}

.footer-social {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-social-link {
  padding: 0.4rem 0.9rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  font-size: 0.9rem;
}

.footer-social-link:hover {
  background: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.footer-border {
  border-bottom: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-border-top {
  border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.footer-bottom,
.footer-bottom p {
  color: rgba(255, 255, 255, 0.9);
}

/* Đăng ký tư vấn */
#contact {
  background-color: rgba(245, 137, 31, 0.12);
}

.contact-form-row {
  border: 2px dashed var(--primary, #f5891f);
  padding: 1rem;
}

.f-contact-form__title {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
  color: #c56b0f;
  margin: 0;
  text-align: center;
}

.contact-form-img {
  object-fit: cover;
  object-position: top;
  max-height: 576px;
  height: 504px;
}

.contact-form-caption {
  background-color: hwb(30 12% 4%);
  color: #ffffff;
  text-align: center;
  padding: 1rem 1.25rem;
  margin-top: 1rem;
}

.contact-form-caption__title {
  font-weight: 700;
  margin: 0 0 0.25rem 0;
  font-size: 1rem;
}

.contact-form-caption__desc {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.95;
}

/* ========== Trang D4-1 (layout khác các trang trường/ngành) ========== */

/* Block Giới thiệu D4-1 – phong cách editorial */
.d4-block-gioi-thieu {
  border-left: 4px solid var(--accent);
  background: linear-gradient(90deg, #fefbf7 0%, #fff 60%);
  box-shadow: 0 1px 3px rgba(15, 23, 42, 0.06);
}

.d4-gt-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #000;
}

.d4-gt-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: #000;
  line-height: 1.3;
}

.d4-gt-lead {
  font-size: 1.05rem;
  color: #000;
  line-height: 1.6;
}

.d4-gt-desc {
  font-size: 0.95rem;
  color: #000;
  line-height: 1.6;
}

.d4-gt-point {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding: 0.75rem 1rem;
  background: #fff;
  border-radius: 0.5rem;
  border: 1px solid rgba(245, 137, 31, 0.15);
  height: 100%;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.d4-gt-point:hover {
  border-color: rgba(245, 137, 31, 0.35);
  box-shadow: 0 2px 8px rgba(245, 137, 31, 0.08);
}

.d4-gt-point-icon {
  width: 2rem;
  height: 2rem;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, var(--accent), #e67a15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.d4-gt-point-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: #000;
  margin-bottom: 0.2rem;
}

.d4-gt-point-text {
  font-size: 0.8rem;
  color: #000;
  line-height: 1.35;
}

.d4-hero {
  background: linear-gradient(135deg, #fef7ed 0%, #fff8f0 50%, #fef3e6 100%);
  border-bottom: 2px solid rgba(245, 137, 31, 0.2);
}

.d4-hero-badge {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--accent);
}

.d4-hero-title {
  font-size: clamp(1.6rem, 4vw, 2.25rem);
  font-weight: 700;
  color: var(--ink);
  line-height: 1.25;
}

.d4-hero-sub {
  font-size: 1.05rem;
  color: #475569;
}

.d4-hero-stats .d4-stat-card {
  background: #fff;
  border: 1px solid rgba(245, 137, 31, 0.25);
  box-shadow: 0 2px 8px rgba(15, 23, 42, 0.06);
}

.d4-stat-value {
  font-size: 1.1rem;
  color: var(--accent);
}

.d4-stat-label {
  color: #64748b;
}

.d4-quick-nav {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
}

.d4-quick-link {
  display: inline-block;
  padding: 0.35rem 0.75rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink);
  text-decoration: none;
  border-radius: 9999px;
  background: #fff;
  border: 1px solid #e2e8f0;
  transition: background 0.2s, color 0.2s, border-color 0.2s;
}

.d4-quick-link:hover {
  background: var(--accent);
  color: #fff;
  border-color: var(--accent);
}

.d4-content {
  width: 100%;
}

/* Cột hình ảnh trong từng block D4 – hiển thị full ảnh, không cắt */
.d4-block-img-col {
  min-height: 0;
}

.d4-block-img-wrap {
  position: relative;
  width: 100%;
  min-height: 0;
  background: #f1f5f9;
}

.d4-block-img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: contain;
  object-position: center;
}

.d4-block-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fef7ed 0%, #fef3e6 100%);
  color: var(--accent);
  font-size: 3rem;
  opacity: 0.85;
}

/* Mobile: ảnh full kích thước */
@media (max-width: 991.98px) {
  .d4-block-img-wrap {
    min-height: 0;
  }

  .d4-block-img {
    height: auto;
  }
}

.d4-block .d4-block-icon {
  width: 44px;
  height: 44px;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #e67a15);
  color: #fff;
  font-size: 1.25rem;
}

/* Block Điều kiện D4-1: grid 4 ô khác các block còn lại */
.d4-block-dieu-kien .text-accent {
  color: var(--accent);
  font-size: 1.25rem;
}

.d4-dk-item {
  background: #fefbf7;
  border: 1px solid rgba(245, 137, 31, 0.2);
  transition: box-shadow 0.2s, border-color 0.2s;
}

.d4-dk-item:hover {
  border-color: rgba(245, 137, 31, 0.4);
  box-shadow: 0 4px 12px rgba(245, 137, 31, 0.08);
}

.d4-dk-item-header {
  color: var(--ink);
}

/* Block Đối tượng phù hợp D4-1 – 3 card */
.d4-dt-card {
  background: #fefbf7;
  border: 1px solid rgba(245, 137, 31, 0.2);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.d4-dt-card:hover {
  border-color: rgba(245, 137, 31, 0.4);
  box-shadow: 0 4px 12px rgba(245, 137, 31, 0.08);
}

.d4-dt-card-icon {
  width: 2.75rem;
  height: 2.75rem;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--accent), #e67a15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.d4-dt-card h3 {
  color: var(--ink);
}

.d4-dt-card p {
  color: #334155;
  line-height: 1.5;
}

/* Block Sau khi tốt nghiệp D4-1 – 2 hướng đi */
.d4-stn-path {
  background: #fefbf7;
  border: 1px solid rgba(245, 137, 31, 0.25);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.d4-stn-path:hover {
  border-color: rgba(245, 137, 31, 0.45);
  box-shadow: 0 4px 14px rgba(245, 137, 31, 0.1);
}

.d4-stn-path-vn {
  background: #fef8f0;
  border-color: rgba(245, 137, 31, 0.2);
}

.d4-stn-path-icon {
  width: 3rem;
  height: 3rem;
  flex-shrink: 0;
  background: linear-gradient(135deg, var(--accent), #e67a15);
  color: #fff;
  font-size: 1.25rem;
}

.d4-stn-path h3 {
  color: var(--ink);
}

.d4-stn-path p,
.d4-stn-path li {
  color: #334155;
  line-height: 1.5;
}

/* Block Quy trình nộp hồ sơ D4-1 – danh sách bước */
.d4-qt-steps {
  position: relative;
  padding-left: 0.5rem;
}

.d4-qt-step {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 0.75rem 0;
  border-bottom: 1px dashed rgba(245, 137, 31, 0.2);
}

.d4-qt-step:last-child {
  border-bottom: none;
}

.d4-qt-step-num {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #e67a15);
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

.d4-qt-step-body {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.d4-qt-step-title {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink);
}

.d4-qt-step-desc {
  font-size: 0.875rem;
  color: #475569;
  line-height: 1.45;
}

/* Section Dịch vụ làm hồ sơ D4-1 của SUNNY */
.d4-block-dich-vu {
  background: linear-gradient(180deg, #fefbf7 0%, #fff 100%);
  border: 1px solid rgba(245, 137, 31, 0.2);
}

.d4-dv-label {
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--accent);
}

.d4-dv-item {
  background: #fff;
  border: 1px solid rgba(245, 137, 31, 0.18);
  transition: border-color 0.2s, box-shadow 0.2s;
}

.d4-dv-item:hover {
  border-color: rgba(245, 137, 31, 0.35);
  box-shadow: 0 4px 12px rgba(245, 137, 31, 0.08);
}

.d4-dv-item-icon {
  width: 2.5rem;
  height: 2.5rem;
  margin: 0 auto;
  border-radius: 0.5rem;
  background: linear-gradient(135deg, var(--accent), #e67a15);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.d4-dv-item h3 {
  color: var(--ink);
}

.d4-dv-item p {
  color: #475569;
  line-height: 1.5;
}

/* ========== Timeline Chương trình học D4-1 ========== */
.d4-timeline-vertical {
  position: relative;
  padding-left: 1.5rem;
}

.d4-timeline-vertical::before {
  content: "";
  position: absolute;
  left: 0.25rem;
  top: 0.5rem;
  bottom: 0.5rem;
  width: 2px;
  background: linear-gradient(180deg, var(--accent), rgba(245, 137, 31, 0.3));
  border-radius: 2px;
}

.d4-timeline-item {
  position: relative;
  padding-bottom: 1.25rem;
}

.d4-timeline-item:last-child {
  padding-bottom: 0;
}

.d4-timeline-node {
  position: absolute;
  left: -1.5rem;
  top: 0.2rem;
  width: 12px;
  height: 12px;
  margin-left: -0.25rem;
  background: var(--accent);
  border: 3px solid #fff;
  border-radius: 50%;
  box-shadow: 0 0 0 1px rgba(245, 137, 31, 0.3);
}

.d4-timeline-node-result {
  width: 14px;
  height: 14px;
  margin-left: -0.35rem;
  top: 0.15rem;
  background: linear-gradient(135deg, var(--accent), #e67a15);
  box-shadow: 0 2px 8px rgba(245, 137, 31, 0.4);
}

.d4-timeline-content {
  background: #fefbf7;
  border: 1px solid rgba(245, 137, 31, 0.15);
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
}

.d4-timeline-item-result .d4-timeline-content {
  background: linear-gradient(135deg, #fef7ed 0%, #fef3e6 100%);
  border-color: rgba(245, 137, 31, 0.25);
}

.d4-timeline-title {
  font-weight: 700;
  color: var(--ink);
  margin-right: 0.5rem;
}

.d4-timeline-meta {
  font-size: 0.8rem;
  color: #64748b;
}

.d4-timeline-content p {
  margin-top: 0.35rem;
  color: #475569;
}

/* ========== Bảng Chi phí D4-1 ========== */
.d4-cost-table {
  border-collapse: separate;
  border-spacing: 0;
  border: 1px solid rgba(245, 137, 31, 0.25);
  border-radius: 0.5rem;
  overflow: hidden;
}

.d4-cost-table thead th {
  background: linear-gradient(135deg, var(--accent), #e67a15);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border: none;
  font-size: 0.95rem;
}

.d4-cost-table tbody tr {
  background: #fff;
}

.d4-cost-table tbody tr:nth-child(even) {
  background: #fefbf7;
}

.d4-cost-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(245, 137, 31, 0.12);
  vertical-align: top;
}

.d4-cost-table tbody tr:last-child td {
  border-bottom: none;
}

.d4-cost-table tbody tr:hover {
  background: #fef8f0;
}

/* Bảng học phí theo hệ - trang Chi phí du học Hàn Quốc */
.chi-phi-hoc-phi-table {
  border-collapse: collapse;
  border: 1px solid rgba(245, 137, 31, 0.25);
  border-radius: 0.5rem;
  overflow: hidden;
}
.chi-phi-hoc-phi-table thead th {
  background: linear-gradient(135deg, var(--accent), #e67a15);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border: none;
  text-align: left;
  white-space: nowrap;
}
.chi-phi-hoc-phi-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(245, 137, 31, 0.12);
  vertical-align: top;
}
.chi-phi-hoc-phi-table tbody tr:nth-child(even) {
  background: #fefbf7;
}
.chi-phi-hoc-phi-table tbody tr:hover {
  background: #fef8f0;
}
.chi-phi-hoc-phi-table tbody tr:last-child td {
  border-bottom: none;
}
@media (max-width: 767.98px) {
  .chi-phi-hoc-phi-table thead th {
    white-space: normal;
    font-size: 0.875rem;
    padding: 0.5rem 0.6rem;
  }
  .chi-phi-hoc-phi-table tbody td {
    font-size: 0.875rem;
    padding: 0.5rem 0.6rem;
  }
}

/* Tổng quan chi phí - khối tóm tắt (trang Chi phí du học Hàn Quốc) */
.cost-overview-box {
  background: linear-gradient(135deg, #fefbf7 0%, #fff8f0 100%);
  border: 1px solid rgba(245, 137, 31, 0.2);
}
.cost-overview-box-title {
  font-size: 1.05rem;
  color: var(--ink);
}
.cost-overview-total {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
.cost-overview-note {
  line-height: 1.5;
}
.cost-overview-list {
  font-size: 0.95rem;
  line-height: 1.65;
  padding-left: 1.25rem;
  margin-bottom: 0;
}
.cost-overview-list li {
  margin-bottom: 0.5rem;
}
.cost-overview-list li:last-child {
  margin-bottom: 0;
}

/* --- Section Chi phí sinh hoạt (trang Chi phí du học Hàn Quốc) --- */
.living-cost-section {
  padding-top: 0.25rem;
}
.living-cost-title {
  font-size: 1.35rem;
  color: var(--ink);
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.35rem;
}
.living-cost-lead {
  font-size: 1rem;
  max-width: 720px;
  line-height: 1.6;
}
.living-cost-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(245, 137, 31, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.living-cost-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.living-cost-card-icon-wrap {
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.12) 0%, rgba(245, 137, 31, 0.04) 100%);
  border-bottom: 1px solid rgba(245, 137, 31, 0.08);
}
.living-cost-card-icon {
  font-size: 2rem;
  color: var(--accent);
}
.living-cost-card .card-body {
  padding: 1.25rem 1.25rem;
}
.living-cost-card-title {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.75rem;
}
.living-cost-price {
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.25rem;
}
.living-cost-vnd {
  font-size: 0.8rem;
  margin-bottom: 0.75rem;
}
.living-cost-desc {
  font-size: 0.875rem;
  line-height: 1.55;
  color: #333;
}
.living-cost-summary {
  background: linear-gradient(135deg, #fefbf7 0%, #fff8f0 100%);
  border: 1px solid rgba(245, 137, 31, 0.2);
}
.living-cost-summary-label {
  font-size: 1.05rem;
  color: var(--ink);
}
.living-cost-summary-range {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--accent);
}
.living-cost-summary-vnd {
  font-size: 0.95rem;
}
.living-cost-summary-note {
  line-height: 1.5;
}
@media (max-width: 575.98px) {
  .living-cost-card-icon-wrap {
    height: 60px;
  }
  .living-cost-card-icon {
    font-size: 1.65rem;
  }
  .living-cost-card .card-body {
    padding: 1rem;
  }
}

/* --- Section Chi phí làm hồ sơ và xin visa (trang Chi phí du học Hàn Quốc) --- */
.visa-cost-section {
  padding-top: 0.25rem;
}
.visa-cost-title {
  font-size: 1.35rem;
  color: var(--ink);
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.35rem;
}
.visa-cost-lead {
  font-size: 1rem;
  max-width: 720px;
  line-height: 1.6;
}
.visa-cost-table {
  border-collapse: collapse;
  border: 1px solid rgba(245, 137, 31, 0.25);
  border-radius: 0.5rem;
  overflow: hidden;
}
.visa-cost-table thead th {
  background: linear-gradient(135deg, var(--accent), #e67a15);
  color: #fff;
  font-weight: 600;
  padding: 0.75rem 1rem;
  border: none;
  text-align: left;
}
.visa-cost-table tbody td {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid rgba(245, 137, 31, 0.12);
  vertical-align: top;
}
.visa-cost-table tbody tr:nth-child(even) {
  background: #fefbf7;
}
.visa-cost-table tbody tr:hover {
  background: #fef8f0;
}
.visa-cost-table tbody tr:last-child td {
  border-bottom: none;
}
.visa-cost-total {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
.visa-cost-proof-box {
  background: linear-gradient(135deg, #fefbf7 0%, #fff8f0 100%);
  border: 1px solid rgba(245, 137, 31, 0.2);
}
.visa-cost-proof-title {
  font-size: 1.05rem;
  color: var(--ink);
  margin-bottom: 0.5rem;
}
.visa-cost-proof-box p {
  font-size: 0.95rem;
  line-height: 1.65;
}
.visa-cost-note {
  line-height: 1.55;
}
@media (max-width: 767.98px) {
  .visa-cost-table thead th,
  .visa-cost-table tbody td {
    font-size: 0.875rem;
    padding: 0.5rem 0.75rem;
  }
}

/* --- Section Chuẩn bị tài chính: học bổng và làm thêm (trang Chi phí du học Hàn Quốc) --- */
.saving-tips-section {
  padding-top: 0.25rem;
}
.saving-tips-title {
  font-size: 1.35rem;
  color: var(--ink);
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.35rem;
}
.saving-tips-lead {
  font-size: 1rem;
  max-width: 720px;
  line-height: 1.6;
}
.saving-tips-card {
  border-radius: 16px;
  overflow: hidden;
  background: #fff;
  border: 1px solid rgba(245, 137, 31, 0.12);
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}
.saving-tips-card:hover {
  box-shadow: 0 10px 28px rgba(15, 23, 42, 0.08);
  transform: translateY(-2px);
}
.saving-tips-card-head {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.1) 0%, rgba(245, 137, 31, 0.04) 100%);
  border-bottom: 1px solid rgba(245, 137, 31, 0.08);
}
.saving-tips-card-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(245, 137, 31, 0.2);
  flex-shrink: 0;
}
.saving-tips-card-icon {
  font-size: 1.35rem;
  color: var(--accent);
}
.saving-tips-card-title {
  font-size: 1.1rem;
  color: var(--ink);
}
.saving-tips-card .card-body {
  padding: 1.25rem 1.25rem;
}
.saving-tips-card-desc {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--ink);
}
.saving-tips-list {
  font-size: 0.95rem;
  line-height: 1.65;
  padding-left: 1.2rem;
  margin-bottom: 0;
}
.saving-tips-list li {
  margin-bottom: 0.5rem;
}
.saving-tips-list li:last-child {
  margin-bottom: 0;
}
.saving-tips-card-note {
  line-height: 1.55;
}
.saving-tips-summary {
  background: linear-gradient(135deg, #fefbf7 0%, #fff8f0 100%);
  border: 1px solid rgba(245, 137, 31, 0.2);
}
.saving-tips-summary-title {
  font-size: 1.05rem;
  color: var(--ink);
}
.saving-tips-summary-list {
  font-size: 0.95rem;
  line-height: 1.65;
  padding-left: 1.2rem;
  margin-bottom: 0;
}
.saving-tips-summary-list li {
  margin-bottom: 0.5rem;
}
.saving-tips-summary-list li:last-child {
  margin-bottom: 0;
}
.saving-tips-summary-ref {
  line-height: 1.5;
}
@media (max-width: 575.98px) {
  .saving-tips-card-head {
    padding: 0.875rem 1rem;
  }
  .saving-tips-card-icon-wrap {
    width: 40px;
    height: 40px;
  }
  .saving-tips-card-icon {
    font-size: 1.2rem;
  }
  .saving-tips-card .card-body {
    padding: 1rem;
  }
}

/* --- Section Kết luận (trang Chi phí du học Hàn Quốc) --- */
.conclusion-cost-section {
  padding-top: 0.25rem;
}
.conclusion-cost-title {
  font-size: 1.35rem;
  color: var(--ink);
  border-bottom: 3px solid var(--accent);
  display: inline-block;
  padding-bottom: 0.35rem;
}
.conclusion-cost-lead {
  font-size: 1rem;
  max-width: 720px;
  line-height: 1.6;
}
.conclusion-cost-recap {
  background: linear-gradient(135deg, #fefbf7 0%, #fff8f0 100%);
  border: 1px solid rgba(245, 137, 31, 0.2);
}
.conclusion-cost-recap-title {
  font-size: 1.05rem;
  color: var(--ink);
}
.conclusion-cost-recap-total {
  font-size: 1rem;
  line-height: 1.6;
  color: var(--ink);
}
.conclusion-cost-recap-list {
  font-size: 0.95rem;
  line-height: 1.65;
  padding-left: 1.25rem;
  margin-bottom: 0;
}
.conclusion-cost-recap-list li {
  margin-bottom: 0.25rem;
}
.conclusion-cost-recap-list li:last-child {
  margin-bottom: 0;
}
.conclusion-cost-steps-title {
  font-size: 1.05rem;
  color: var(--ink);
}
.conclusion-cost-steps-list {
  font-size: 0.95rem;
  line-height: 1.65;
  padding-left: 1.5rem;
  margin-bottom: 0;
  counter-reset: conclusion-step;
}
.conclusion-cost-steps-list li {
  margin-bottom: 0.75rem;
  padding-left: 0.5rem;
  position: relative;
}
.conclusion-cost-steps-list li:last-child {
  margin-bottom: 0;
}
.conclusion-cost-steps-list li::marker {
  font-weight: 700;
  color: var(--accent);
}
.conclusion-cost-cta {
  background: linear-gradient(135deg, rgba(245, 137, 31, 0.08) 0%, rgba(245, 137, 31, 0.04) 100%);
  border: 1px solid rgba(245, 137, 31, 0.25);
}
.conclusion-cost-cta-text {
  font-size: 1.05rem;
  color: var(--ink);
}
.conclusion-cost-cta-links .btn {
  font-weight: 600;
}
.conclusion-cost-cta-links .btn-accent {
  padding: 0.5rem 1.25rem;
}
.conclusion-cost-cta-links .btn-outline-dark {
  border-color: var(--ink);
  color: var(--ink);
}
.conclusion-cost-cta-links .btn-outline-dark:hover {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}

/* ========== Card trường đào tạo D4-1 ========== */
.d4-school-card {
  color: var(--ink);
  border-color: rgba(245, 137, 31, 0.25) !important;
  border-radius: 0.5rem;
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}

.d4-school-card:hover {
  border-color: var(--accent) !important;
  box-shadow: 0 4px 12px rgba(245, 137, 31, 0.15);
  transform: translateY(-2px);
  color: var(--ink);
}

.d4-school-card .d4-school-card-icon {
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 0.375rem;
  background: linear-gradient(135deg, #fef7ed 0%, #fef3e6 100%);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.d4-school-card:hover .d4-school-card-icon {
  background: linear-gradient(135deg, var(--accent), #e67a15);
  color: #fff;
}

/* Slider trường D4: card có ảnh, 3 trên 3 dưới */
.d4-school-slider .carousel-inner {
  padding-bottom: 2rem;
}

.d4-school-card-img {
  border-radius: 0.5rem;
}

.d4-school-card-img-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #f1f5f9;
  border-radius: 0.5rem 0.5rem 0 0;
}

.d4-school-card-img-wrap .d4-school-card-img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.d4-school-card-img-placeholder {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, #fef7ed 0%, #fef3e6 100%);
  color: var(--accent);
  font-size: 2rem;
  opacity: 0.9;
}

.d4-school-indicators {
  position: relative;
  margin-top: 0.5rem;
  margin-bottom: 0;
}

.d4-school-indicators [data-bs-target] {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: rgba(245, 137, 31, 0.4);
  border: none;
}

.d4-school-indicators [data-bs-target].active {
  background-color: var(--accent);
}

.d4-school-control {
  width: 2.5rem;
  height: 2.5rem;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.9;
}

.d4-school-control:hover {
  opacity: 1;
}

.d4-school-control .carousel-control-prev-icon,
.d4-school-control .carousel-control-next-icon {
  width: 1rem;
  height: 1rem;
}

@media (max-width: 575.98px) {
  .d4-school-slider .col-4 {
    flex: 0 0 50%;
    max-width: 50%;
  }
}

.d4-cta-block .card-body {
  background: linear-gradient(135deg, #fef7ed 0%, #fff8f0 100%);
  border: 1px solid rgba(245, 137, 31, 0.2);
}

/* ---------- Trang 404 ---------- */
.page-404-wrapper {
  min-height: 60vh;
  display: flex;
  align-items: center;
}
.page-404-section {
  width: 100%;
}
.page-404-code {
  font-size: clamp(4rem, 12vw, 8rem);
  font-weight: 700;
  line-height: 1;
  color: var(--accent);
  opacity: 0.9;
  margin-bottom: 0.5rem;
  letter-spacing: -0.02em;
}
.page-404-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--ink);
}
.page-404-lead {
  font-size: 1.05rem;
  max-width: 480px;
  margin-left: auto;
  margin-right: auto;
}
.page-404-actions .btn {
  min-width: 180px;
}
.page-404-hotline a {
  color: var(--accent);
  text-decoration: none;
}
.page-404-hotline a:hover {
  text-decoration: underline;
}
