.promotionNews {
  padding-top: 0px;
}

.promotionNews [class^="col-"] {
  padding-right: 7px;
  padding-left: 7px;
}

/***********  pagination  ****************/
.pagination-items {
  display: flex;
  justify-content: center;
  align-items: center;
  list-style: none;
  flex-wrap: wrap;
  gap: 6px;
  padding: 0;
  margin: 20px 0;
}

.pagination-item {
  padding: 8px 14px;
  border: 1px solid #ccc;
  border-radius: 6px;
  cursor: pointer;
  user-select: none;
  transition: all 0.2s ease-in-out;
  background: #fff;
  font-size: 16px;
  min-width: 40px;
  text-align: center;
}

.pagination-item.active {
  background-color: #01235e;
  color: white;
  border-color: #01235e;
}

.pagination-item:hover:not(.active):not(.dots):not(.disabled-item) {
  background-color: #007bff;
  color: white;
}

.disabled-item {
  opacity: 0.5;
  pointer-events: none;
}

.pagination-item.dots {
  cursor: default;
  border: none;
  background: none;
  color: #666;
}

/* มือถือ */
@media (max-width: 576px) {
  .pagination-item {
    padding: 4px 8px;
    font-size: 14px;
    font-weight: bold;
    min-width: 26px;
  }
  }

/* Style carousel-control  */
  /* แสดงปุ่มเลื่อนให้เห็นชัดขึ้น */
.carousel-control-prev,
.carousel-control-next {
    width: 8%;                /* ขยายพื้นที่คลิก */
    opacity: 0.8;             /* โปร่งใสเล็กน้อย */
    transition: opacity 0.3s;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;               /* ชัดเมื่อ hover */
}

/* ปรับไอคอนให้ดูชัดขึ้น */
.carousel-control-prev-icon,
.carousel-control-next-icon {
    filter: invert(100%);     /* ทำสีเป็นขาว */
    width: 100px;
    height: 100px;
}




