.body-banners.banners-content,
.body-banners.banners-content > div,
.body-banners.banners-content > div > span {
  width: 100%;
}
.banners {
  padding: 24px 0;
}

.banners__title {
  font-size: 25px;
  font-weight: 700;
  margin-bottom: 16px;
  color: #000;
  font-family: "Abhaya Libre", serif;
}

.banners__grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: 1fr 1fr;
  gap: 16px;
}

.banners .banner {
  position: relative;
  display: block;
  overflow: hidden;
  margin-bottom: 0;
  text-decoration: none;
  color: #fff;
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.banners .banner:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.banner--large {
  aspect-ratio: 670 / 376;
  grid-column: span 3;
}

.banner--small {
  aspect-ratio: 443 / 338;
  grid-column: span 2;
}

.banner__image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.banner:hover .banner__image {
  transform: scale(1.05);
}

.banner__overlay {
  position: absolute;
  inset: 0;
}

.banner__content {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 20px 24px;
  z-index: 1;
}

.banner__title {
  font-size: 24px;
  font-weight: 400;
  margin-bottom: 4px;
  line-height: 1.2;
  color: white;
  font-family: "Abhaya Libre", serif;
}

.banner__subtitle {
  font-size: 14px;
  font-weight: 400;
  opacity: 0.9;
  color: white;
}

@media (max-width: 900px) {
  .banners__grid {
    display: flex;
    flex-wrap: wrap;
  }

  .banner {
    width: calc((100% - 16px) / 2);
    aspect-ratio: 179 / 229;
  }

  .banner:first-child {
    width: 100%;
    aspect-ratio: 370 / 156;
  }
}

@media (max-width: 600px) {
  .banners__title {
    font-size: 20px;
  }

  .banners__grid {
    gap: 12px;
  }

  .banner__title {
    font-size: 18px;
  }

  .banner__subtitle {
    font-size: 13px;
  }

  .banner__content {
    padding: 14px 16px;
  }
}
