.iu-home .section {
  padding: 54px 0;
}

.iu-section-white {
  background: #fff;
}

.iu-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.iu-section-head h2 {
  min-width: 0;
}

.iu-section-head a {
  flex: 0 0 auto;
}

.iu-section-head h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  color: var(--iu-blue-950);
  font-size: 1.35rem;
  font-weight: 950;
  line-height: 1.2;
  text-transform: uppercase;
  letter-spacing: -0.02em;
}

.iu-section-head h2::before {
  content: "";
  width: 38px;
  height: 3px;
  background: var(--iu-blue-800);
  border-radius: 999px;
}

.iu-section-head a {
  color: #111827;
  font-size: 0.95rem;
  font-weight: 800;
  white-space: nowrap;
}

.iu-section-head-light h2,
.iu-section-head-light a {
  color: #fff !important;
}

.iu-section-head-light h2::before {
  background: #93c5fd;
}

.iu-news-grid,
.iu-student-layout,
.iu-achievement-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.iu-news-card,
.iu-student-card,
.iu-spotlight-feature,
.iu-spotlight-item {
  background: #fff;
  border: 1px solid var(--border-soft);
  box-shadow: var(--shadow-sm);
}

.iu-news-card {
  overflow: hidden;
  transition:
    transform 0.22s ease,
    box-shadow 0.22s ease;
}

.iu-news-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 38px rgba(15, 23, 42, 0.14);
}

.iu-news-image,
.iu-student-thumb,
.iu-spotlight-feature-image {
  display: block;
  overflow: hidden;
  background: linear-gradient(135deg, #e8f3ff, #f8fbff);
}

.iu-news-image {
  aspect-ratio: 4 / 3;
}

.iu-news-image img,
.iu-student-thumb img,
.iu-spotlight-feature-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.iu-news-body,
.iu-student-card {
  padding: 14px 16px 18px;
}

.iu-news-category,
.iu-spotlight-feature-body span,
.iu-spotlight-item small,
.iu-student-card span {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  color: #b91c1c;
  font-size: 0.82rem;
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.iu-news-category::before {
  content: "";
  width: 7px;
  height: 7px;
  background: #b91c1c;
  border-radius: 999px;
}

.iu-news-card h3,
.iu-student-card h3 {
  margin: 5px 0 0;
  color: #111827;
  font-size: 1.02rem;
  line-height: 1.35;
}

.iu-news-card p,
.iu-student-card p,
.iu-spotlight-item em {
  display: -webkit-box;
  overflow: hidden;
  margin: 7px 0 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

.iu-news-card time {
  display: block;
  margin-top: 7px;
  color: #111827;
  font-size: 0.82rem;
  font-style: italic;
}

.iu-spotlight-section {
  background: var(--bg-body);
}

.iu-spotlight-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 26px;
}

.iu-spotlight-feature {
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
}

.iu-spotlight-feature-image {
  min-height: 310px;
}

.iu-spotlight-feature-body {
  padding: 30px;
}

.iu-spotlight-feature-body h3 {
  margin: 8px 0 0;
  color: var(--iu-blue-950);
  font-size: clamp(1.55rem, 2.6vw, 2.35rem);
  line-height: 1.08;
  letter-spacing: -0.04em;
}

.iu-spotlight-feature-body p {
  margin: 14px 0 0;
  color: var(--text-muted);
}

.iu-spotlight-list {
  display: grid;
  gap: 14px;
}

.iu-spotlight-item {
  display: grid;
  align-items: center;
  grid-template-columns: 64px 1fr;
  gap: 14px;
  padding: 16px;
}

.iu-mini-date {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  height: 64px;
  color: #fff;
  background: var(--iu-blue-900);
  border-radius: 4px;
}

.iu-mini-date b {
  font-size: 1.35rem;
  line-height: 1;
}

.iu-mini-date em {
  font-size: 0.72rem;
  font-style: normal;
  font-weight: 900;
}

.iu-spotlight-item strong {
  display: block;
  margin-top: 3px;
  color: var(--iu-blue-950);
  line-height: 1.35;
}

.iu-spotlight-item em {
  font-style: normal;
}

.iu-student-card {
  display: grid;
  gap: 12px;
  padding: 14px;
}

.iu-student-thumb {
  aspect-ratio: 16 / 10;
}

.iu-achievement-section {
  color: #fff;
  background:
    radial-gradient(
      circle at 12% 22%,
      rgba(20, 121, 255, 0.35),
      transparent 28%
    ),
    linear-gradient(135deg, var(--iu-blue-950), var(--iu-blue-800));
}

.iu-achievement-card {
  min-height: 230px;
  padding: 24px;
  color: var(--iu-blue-950);
  background: #fff;
  text-align: center;
  box-shadow: 0 18px 38px rgba(3, 27, 78, 0.18);
}

.iu-achievement-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 54px;
  height: 54px;
  margin-bottom: 14px;
  color: var(--iu-blue-800);
  background: var(--iu-blue-50);
  border-radius: 999px;
}

.iu-achievement-card strong {
  display: block;
  color: var(--iu-blue-900);
  font-size: 2rem;
  line-height: 1;
  letter-spacing: -0.04em;
}

.iu-achievement-card h3 {
  margin: 9px 0 0;
  font-size: 1rem;
}

.iu-achievement-card p {
  margin: 9px 0 0;
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* =========================================================
   Khám phá IU - Image Slider
========================================================= */

.iu-discover-section {
  overflow: hidden;
  background: #fff;
}

.iu-section-head-center {
  justify-content: center;
  text-align: center;
}

.iu-section-head-center h2 {
  color: var(--iu-blue-950);
}

.iu-discover-slider {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: calc((100% - 32px) / 3);
  gap: 16px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  scroll-padding-inline: 0;
  -webkit-overflow-scrolling: touch;
  cursor: grab;
  scroll-behavior: smooth;
  background: white;
}

.iu-discover-slider.is-dragging {
  cursor: grabbing;
  user-select: none;
}

.iu-discover-slider::-webkit-scrollbar {
  height: 0;
}

.iu-discover-photo-card {
  position: relative;
  display: block;
  overflow: hidden;
  min-height: 340px;
  color: #fff;
  background: var(--iu-blue-900);
  scroll-snap-align: start;
  box-shadow: 0 16px 34px rgba(15, 23, 42, 0.14);
}

.iu-discover-photo-card img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition:
    transform 0.45s ease,
    filter 0.45s ease;
}

.iu-discover-photo-card::before {
  content: "";
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(
      180deg,
      rgba(3, 27, 78, 0.04) 0%,
      rgba(3, 27, 78, 0.08) 42%,
      rgba(3, 27, 78, 0.86) 100%
    ),
    linear-gradient(90deg, rgba(3, 27, 78, 0.18), transparent 55%);
  pointer-events: none;
}

.iu-discover-photo-card:hover img {
  transform: scale(1.045);
  filter: saturate(1.06);
}

.iu-discover-photo-caption {
  position: absolute;
  z-index: 2;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 18px 20px;
  background: rgba(3, 27, 78, 0.88);
  backdrop-filter: blur(10px);
}

.iu-discover-photo-caption h3 {
  margin: 0;
  color: #fff;
  font-size: 1.05rem;
  font-weight: 900;
  line-height: 1.3;
}

.iu-discover-photo-caption p {
  display: -webkit-box;
  overflow: hidden;
  margin: 6px 0 0;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.88rem;
  line-height: 1.45;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

@media (max-width: 1180px) {
  .iu-discover-slider {
    grid-auto-columns: calc((100% - 16px) / 2);
  }

  .iu-discover-photo-card {
    min-height: 320px;
  }
}

@media (max-width: 760px) {
  .iu-discover-slider {
    grid-auto-columns: 82%;
    gap: 14px;
    padding-bottom: 8px;
  }

  .iu-discover-photo-card {
    min-height: 280px;
  }

  .iu-discover-photo-caption {
    padding: 15px 16px;
  }
}

/* =========================================================
   Spotlight Interactive
========================================================= */

.iu-spotlight-feature {
  transition:
    transform 0.24s ease,
    box-shadow 0.24s ease,
    border-color 0.24s ease;
}

.iu-spotlight-feature.is-changing {
  transform: translateY(-2px);
}

.iu-spotlight-feature-image {
  position: relative;
  overflow: hidden;
}

.iu-spotlight-feature-image img,
.iu-spotlight-feature-image .placeholder-img {
  display: block;
  width: 100%;
  height: 100%;
}

.iu-spotlight-feature-image img {
  object-fit: cover;
  transition:
    opacity 0.28s ease,
    transform 0.42s ease,
    filter 0.42s ease;
}

.iu-spotlight-feature:hover .iu-spotlight-feature-image img {
  transform: scale(1.035);
  filter: saturate(1.06);
}

.iu-spotlight-feature-image .is-hidden,
.iu-spotlight-feature-image img.is-hidden {
  display: none;
}

.iu-spotlight-feature-body span,
.iu-spotlight-feature-body h3,
.iu-spotlight-feature-body p {
  transition:
    opacity 0.22s ease,
    transform 0.22s ease;
}

.iu-spotlight-feature.is-changing .iu-spotlight-feature-body span,
.iu-spotlight-feature.is-changing .iu-spotlight-feature-body h3,
.iu-spotlight-feature.is-changing .iu-spotlight-feature-body p {
  opacity: 0.45;
  transform: translateY(4px);
}

.iu-spotlight-item {
  position: relative;
  overflow: hidden;
  border-left: 4px solid transparent;
  transition:
    transform 0.2s ease,
    box-shadow 0.2s ease,
    border-color 0.2s ease,
    background 0.2s ease;
}

.iu-spotlight-item::before {
  content: "";
  position: absolute;
  inset: 0 auto 0 0;
  width: 0;
  background: linear-gradient(180deg, var(--iu-blue-700), var(--iu-blue-900));
  opacity: 0.08;
  transition: width 0.24s ease;
  pointer-events: none;
}

.iu-spotlight-item:hover,
.iu-spotlight-item:focus-visible,
.iu-spotlight-item.is-active {
  transform: translateX(4px);
  border-left-color: var(--iu-blue-800);
  box-shadow: 0 16px 36px rgba(15, 23, 42, 0.13);
}

.iu-spotlight-item:hover::before,
.iu-spotlight-item:focus-visible::before,
.iu-spotlight-item.is-active::before {
  width: 100%;
}

.iu-spotlight-item.is-active .iu-mini-date {
  background: linear-gradient(135deg, var(--iu-blue-700), var(--iu-blue-950));
}

.iu-spotlight-item.is-active strong {
  color: var(--iu-blue-800);
}

.iu-spotlight-item-content {
  position: relative;
  z-index: 1;
}
