.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;               /* khoảng cách giữa các nút */
  margin: 36px 0 0;
  flex-wrap: wrap;        /* nếu màn hình nhỏ thì xuống hàng */
}

/* Nút trang */
.page-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #e5e7eb;  /* màu viền */
  border-radius: 999px;       /* bo tròn như pill */
  background: #fff;
  color: #111;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
}

/* Hover */
.page-btn:hover {
  border-color: #d19a61;  /* viền màu vàng gold */
  color: #d19a61;         /* chữ vàng gold */
}

/* Trang đang active */
.page-btn.is-active {
  background: #111;
  color: #fff;
  border-color: #111;
}

/* Nút bị disable */
.page-btn.is-disabled {
  opacity: 0.45;
  pointer-events: none;
}

/* Dấu ... */
.page-ellipsis {
  padding: 0 6px;
  color: #aaa;
}
@keyframes fadeInUpLong {
  0% {
    opacity: 0;
    transform: translateY(16px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fadeInUpLong {
  animation: fadeInUpLong 0.5s ease-out both;
}

@media (prefers-reduced-motion: reduce) {
  .fadeInUpLong {
    animation: none;
  }
}

.hero-carousel .hero-lcp-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center bottom;
  z-index: 0;
}
.hero-carousel .image-wrapper .bg-content {
  position: relative;
  z-index: 2;
}

.mud-hero-premium {
  position: relative;
  overflow: hidden;
}
.mud-hero-premium .mud-hero-img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

 .uniform-size {
    width: 100%;  /* Chiều rộng bạn muốn */
    height: 50%; /* Chiều cao bạn muốn */
    object-fit: cover; /* Phép màu nằm ở đây! */
    
  }

.room-showcase-section {
  position: relative;
  overflow: hidden;
}

.room-showcase-section .room-slider-1.splide {
  width: min(100%, 1320px) !important;
  max-width: min(1320px, calc(100vw - 64px)) !important;
  margin-inline: auto !important;
  padding: 0 !important;
  overflow: hidden;
}

.room-showcase-section .splide__track {
  padding-left: 0 !important;
  padding-right: 0 !important;
  overflow: hidden !important;
  border-radius: 20px;
}

.room-showcase-section .splide__slide {
  display: flex;
  min-width: 0;
  max-width: 100%;
}

.room-showcase-section .room-showcase-card {
  position: relative;
  width: 100% !important;
  max-width: 100% !important;
  height: clamp(400px, 30vw, 430px) !important;
  border-radius: 20px;
  overflow: hidden !important;
  background: #111;
  box-shadow: 0 24px 60px rgba(0, 0, 0, .22);
  isolation: isolate;
}

.room-showcase-section .room-showcase-card img {
  width: 100% !important;
  max-width: 100% !important;
  height: 100% !important;
  display: block !important;
  object-fit: cover !important;
  transition: transform .7s ease;
}

.room-showcase-card:hover img,
.room-showcase-card:focus-within img {
  transform: scale(1.045);
}

.room-showcase-card::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, rgba(0, 0, 0, .04) 18%, rgba(0, 0, 0, .28) 52%, rgba(0, 0, 0, .76) 100%);
  pointer-events: none;
}

.room-showcase-content {
  position: absolute;
  left: 28px;
  right: 28px;
  bottom: 28px;
  z-index: 2;
  color: #fff;
}

.room-showcase-title {
  margin: 0;
  max-width: 92%;
  font-size: clamp(1.25rem, 1.45vw, 1.65rem);
  line-height: 1.12;
  letter-spacing: .04em;
  text-wrap: balance;
  word-break: normal;
  overflow-wrap: normal;
  text-shadow: 0 2px 18px rgba(0, 0, 0, .28);
}

.room-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 14px 0 20px;
}

.room-card-meta span {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  max-width: 100%;
  padding: 7px 11px;
  border: 1px solid rgba(255, 255, 255, .16);
  border-radius: 999px;
  background: rgba(255, 255, 255, .15);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: .78rem;
  line-height: 1.1;
  white-space: nowrap;
}

.room-card-meta i {
  flex: 0 0 auto;
}

.room-showcase-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

.room-showcase-actions .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 44px;
  padding-inline: 18px;
  border-radius: 999px;
}

.room-showcase-actions .btn-outline-light {
  color: #fff;
  border-color: rgba(255, 255, 255, .7);
  background: rgba(255, 255, 255, .08);
}

.room-showcase-actions .btn-outline-light:hover,
.room-showcase-actions .btn-outline-light:focus {
  color: #111;
  border-color: #fff;
  background: #fff;
}

.room-showcase-section .splide__arrow {
  width: 46px;
  height: 46px;
  border: 1px solid rgba(255, 255, 255, .35);
  background: rgba(17, 17, 17, .56);
  color: #fff;
  box-shadow: 0 12px 28px rgba(0, 0, 0, .22);
  opacity: 1;
}

.room-showcase-section .splide__arrow:hover,
.room-showcase-section .splide__arrow:focus {
  background: var(--bs-primary);
  border-color: var(--bs-primary);
}

.room-showcase-section .splide__pagination {
  bottom: -2.25rem;
  gap: 8px;
}

.room-showcase-section .splide__pagination__page {
  width: 9px;
  height: 9px;
  background: rgba(255, 255, 255, .5);
  opacity: 1;
}

.room-showcase-section .splide__pagination__page.is-active {
  width: 26px;
  border-radius: 999px;
  background: var(--bs-primary);
  transform: none;
}

@media (max-width: 767.98px) {
  .room-showcase-section .room-slider-1.splide {
    max-width: calc(100vw - 24px) !important;
    overflow: visible;
  }

  .room-showcase-section .splide__arrows {
    display: none;
  }

  .room-showcase-section .room-showcase-card {
    height: 380px !important;
    min-height: 0;
    border-radius: 16px;
    background: #151515;
  }

  .room-showcase-section .room-showcase-card img {
    height: 100% !important;
  }

  .room-showcase-card::after {
    display: block;
  }

  .room-showcase-content {
    position: absolute;
    left: 18px;
    right: 18px;
    bottom: 18px;
    padding: 0;
  }

  .room-showcase-title {
    font-size: 1.15rem;
  }

  .room-card-meta {
    gap: 6px;
    margin: 12px 0 16px;
  }

  .room-card-meta span {
    padding: 6px 8px;
    font-size: .72rem;
    white-space: normal;
  }

  .room-showcase-actions {
    gap: 8px;
  }

  .room-showcase-actions .btn {
    flex: 1 1 140px;
    min-height: 42px;
    padding-inline: 12px;
  }
}

/* Font faces moved to assets/css/fonts.css */
