.home-news {
  padding: 76px 0 84px;
  background:
    radial-gradient(ellipse at 92% 10%, rgba(162, 58, 141, 0.08), transparent 34%),
    #f7f8fc;
}

.home-news__heading {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 12px;
}

.home-news__heading .default-section-title {
  max-width: 620px;
}

.home-news__heading .default-section-title h3 {
  color: #25213a;
  font-size: clamp(30px, 3.2vw, 40px);
  letter-spacing: -0.04em;
}

.home-news__heading .default-section-title p {
  margin-top: 10px;
  color: #707080;
}

.home-news__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  margin-bottom: 12px;
  color: #8c347d;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.home-news__eyebrow::before {
  width: 22px;
  height: 2px;
  background: #a23a8d;
  content: "";
}

.home-news__all {
  display: inline-flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 10px;
  margin-bottom: 9px;
  color: #7d2c71;
  font-size: 14px;
  font-weight: 700;
}

.home-news__all i {
  transition: transform 0.2s ease;
}

.home-news__all:hover i {
  transform: translateX(4px);
}

/* ===== Danh sách tiêu đề ===== */
.home-news__list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px 24px;
  margin: 28px 0 0;
  padding: 0;
  list-style: none;
}

.home-news__item {
  min-width: 0;
}

.home-news__link {
  position: relative;
  display: flex;
  align-items: center;
  gap: 18px;
  height: 100%;
  padding: 18px 22px;
  overflow: hidden;
  border: 1px solid rgba(44, 37, 68, 0.07);
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 6px 20px rgba(37, 33, 58, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

.home-news__link::before {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  width: 4px;
  background: #a23a8d;
  content: "";
  transform: scaleY(0);
  transition: transform 0.25s ease;
}

.home-news__link:hover,
.home-news__link:focus-visible {
  border-color: rgba(162, 58, 141, 0.25);
  box-shadow: 0 14px 32px rgba(37, 33, 58, 0.1);
  transform: translateY(-3px);
}

.home-news__link:hover::before,
.home-news__link:focus-visible::before {
  transform: scaleY(1);
}

.home-news__index {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(162, 58, 141, 0.08);
  color: #8c347d;
  font-size: 15px;
  font-weight: 800;
  font-variant-numeric: tabular-nums;
  transition: background 0.25s ease, color 0.25s ease;
}

.home-news__link:hover .home-news__index,
.home-news__link:focus-visible .home-news__index {
  background: #a23a8d;
  color: #fff;
}

.home-news__title {
  display: -webkit-box;
  flex: 1;
  min-width: 0;
  overflow: hidden;
  margin: 0;
  color: #29263a;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  transition: color 0.2s ease;
}

.home-news__link:hover .home-news__title,
.home-news__link:focus-visible .home-news__title {
  color: #8c347d;
}

.home-news__arrow {
  flex: 0 0 auto;
  color: #c9b3c6;
  font-size: 14px;
  transition: color 0.2s ease, transform 0.2s ease;
}

.home-news__link:hover .home-news__arrow,
.home-news__link:focus-visible .home-news__arrow {
  color: #8c347d;
  transform: translateX(4px);
}

.home-news__empty {
  margin-top: 24px;
  color: #707080;
}

@media (max-width: 991px) {
  .home-news__list {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767px) {
  .home-news {
    padding: 52px 0 58px;
  }

  .home-news__heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 6px;
  }

  .home-news__heading .default-section-title h3 {
    font-size: 29px;
  }

  .home-news__heading .default-section-title p {
    font-size: 14px;
  }

  .home-news__all {
    margin-bottom: 0;
  }

  .home-news__list {
    gap: 10px;
    margin-top: 20px;
  }

  .home-news__link {
    gap: 14px;
    padding: 14px 16px;
  }

  .home-news__index {
    width: 36px;
    height: 36px;
    border-radius: 10px;
    font-size: 13px;
  }

  .home-news__title {
    font-size: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-news__link,
  .home-news__link::before,
  .home-news__arrow,
  .home-news__all i {
    transition: none;
  }
}
