.slideshow-container {
  position: relative;
  overflow: hidden;
  width: 100%;
  height: 100%;
}

.slides-wrapper {
  display: flex;
  transition: transform 0.8s ease-in-out;
  height: 100%;
}

.slide-item {
  flex: 0 0 100%;
  height: 100%;
}
.slide-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.prev-btn,
.next-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0, 0, 0, 0.4);
  color: white;
  border: none;
  padding: 10px 16px;
  cursor: pointer;
  font-size: 24px;
  border-radius: 50%;
  z-index: 2;
  transition: background 0.3s;
}
.prev-btn:hover,
.next-btn:hover {
  background: rgba(0, 0, 0, 0.7);
}
.prev-btn {
  left: 10px;
}
.next-btn {
  right: 10px;
}

.dots-container {
  text-align: center;
  position: absolute;
  bottom: 12px;
  width: 100%;
}
.dot {
  position: relative;
  height: 8px;
  width: 8px;
  margin: 0 5px;
  border-radius: 50%;
  display: inline-block;
  cursor: pointer;
  background-color: #000000;
  border: 1px solid #ffffff;
  transition: all 0.3s ease;
}
.dot.active {
  background-color: #ffffff;
  border-color: #ffffff;
}

/* Outer ring (1px gap from inner) */
.dot.active::before {
  content: "";
  position: absolute;
  left: -5px;
  top: -5px;
  width: calc(100% + (1px + 2px) * 2);
  height: calc(100% + (1px + 2px) * 2);
  border-radius: 50%;
  border: 2px solid #ffffff; /* outer ring thickness (2px) */
  box-sizing: content-box;
  pointer-events: none;
  transition: all 0.22s ease;
}

button:focus {
  outline: none; /* bỏ viền xanh mặc định */
}

.custom-btn-scroll-to-top {
  display: none; /* mặc định ẩn */
  position: fixed;
  bottom: 30px;
  right: 85px;
  z-index: 100;
  background-color: #ff853f;
  color: white;
  border: none;
  outline: none;
  width: 50px;
  height: 50px;
  padding: 0;
  box-sizing: border-box;
  border-radius: 50%;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  transition: background-color 0.3s ease, transform 0.3s ease;
  justify-content: center;
  align-items: center;
  line-height: 1;
}

.custom-btn-scroll-to-top.show {
  display: flex; /* hiện khi scroll > 200 */
}

#scrollToTopBtn:hover {
  transform: translateY(-5px);
}

.container {
  max-width: 1300px;
  margin: 0 auto;
}
.container-important {
  max-width: 1300px !important;
}
.background-custom-header {
  background: linear-gradient(90deg, #3e91f0 45.67%, #c0a0dd 100%);
}
.tag_01_custom {
  background: #0d509f;
  border-radius: 28.5px;
  align-items: center;
  display: flex;
}
.hover-orange-svg {
  cursor: pointer;
  align-items: center;
  transition: color 0.2s;
  display: inline-flex;
}
.hover-orange-svg svg {
  transition: transform 0.2s, fill 0.2s;
}
.hover-orange-svg:hover {
  color: orange;
}
.hover-orange-svg:hover svg {
  fill: currentColor;
  transform: scale(1.4);
}
.focus-input:focus {
  border-color: #00ffc2;
  outline: none;
  box-shadow: 0 0 0 3px #00ffc280;
}
.hover-scale-102 {
  transition: transform 0.2s;
  display: inline-block;
}
.hover-scale-102:hover {
  transform: scale(1.02);
}
.hover-scale-105 {
  transition: transform 0.2s;
  display: inline-block;
}
.hover-scale-105:hover {
  transform: scale(1.05);
}
.hover-scale-11 {
  transition: transform 0.2s;
  display: inline-block;
}
.hover-scale-11:hover {
  transform: scale(1.1);
}
.hover-scale {
  transition: transform 0.2s;
  display: inline-block;
}
.hover-scale:hover {
  transform: scale(1.2);
}
.hover-scale-13 {
  transition: transform 0.2s;
  display: inline-block;
}
.hover-scale-13:hover {
  transform: scale(1.3);
}
.hover-scale-14 {
  transition: transform 0.2s;
  display: inline-block;
}
.hover-scale-14:hover {
  transform: scale(1.4);
}
.hover-login {
  cursor: pointer;
  transition: color 0.2s;
}
.hover-login:hover {
  color: #ff6ec7;
}
.background-footer {
  background-color: #3e91f0;
}
.wave-bg {
    position: relative;
    width: 100%;
    height: 100%;
}
.wave-bg-layer  {
  mix-blend-mode: color-dodge;
  background-image: url(../images/waveelement-l7Y5l8up.png);
  background-position: 50%;
  background-repeat: no-repeat;
  background-size: cover;
  width: 100%;
  height: 100%;
}
.list-hover-only-color li {
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}
.list-hover-only-color li:hover {
  color: #7ef9c2;
}
.list-hover li {
  cursor: pointer;
  transition: color 0.3s, transform 0.3s;
}
.list-hover li:hover {
  color: #7ef9c2;
  transform: scale(1.1);
}
.dropdown-animate {
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s;
  display: block;
  transform: scale(0.98) translateY(-5px);
}
.dropdown-animate.show {
  opacity: 1;
  visibility: visible;
  transform: scale(1) translateY(0);
}
.dropdown-animate:hover .dropdown-menu {
  display: block;
}
.custom-tag-01 {
  z-index: 0;
  background-color: #f4ecf9;
  background-image: url(../images/Vector-DeDXbIdV.png);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: relative;
}
.custom-tag-01 > * {
  z-index: 1;
  position: relative;
}
.custom_trang_chu_linear {
  background: linear-gradient(#f4ecf9 52.38%, #e2daeb 100%);
}
.under-header-thong-tin-dan-so-ha-noi {
  z-index: 0;
  background-color: #f4ecf9;
  background-image: url(../images/vector-IWFuI2le.png);
  background-position: 0 0;
  background-repeat: no-repeat;
  background-size: 100% 100%;
  width: 100%;
  height: 100%;
  position: relative;
}

.text-3B59CE {
  color: #3B59CE;
}

.custom-click-full-overlay {
  cursor: pointer;
  position: absolute;
  inset: 0;
}

/* MOBILE ONLY: full screen width */
@media (max-width: 767px) {
  .custom-tag-01-tin-tuc-su-kien {
    position: relative;
    left: 50%;
    width: 100vw;
    transform: translateX(-50%); /* 🟢 full màn hình đúng chuẩn, không lệch */
  }
}

.custom-tag-01-tin-tuc-su-kien > * {
  position: relative;
  z-index: 1; /* nội dung nổi trên nền */
}

.text-5FAFF5 {
    color: #3FA2EE;
}

li::marker {
    color: #3FA2EE; 
}

/* Đổi màu khi hover vào menu trên header */
.list-hover-only-color li:hover::marker {
    color: #004A99;
}

.list-hover-only-color li:hover >.text-5FAFF5 {
    color: #004A99;
;
}

.capitalize {
  text-transform: capitalize;
}

.text-1e87f0 {
  color: #1e87f0;
}

.w-130px {
  width: 130px
}

.slider-footer-img {
  height: 120px !important;
  border-radius: 4px;
  object-fit: fill;
}

.h-260px-important {
  height: 260px !important;
}

.h-480px {
  height: 480px;
}

.w-850px {
  width: 850px;
}

.h-70px {
  height: 70px;
}

.pl-0-important {
    padding-left: 0 !important;
}

.custom-pt-2 {
    padding-top: 6px;
}

.custom-object-fill {
  object-fit: fill;
}

.video-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-wrapper iframe,
.video-wrapper video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100% !important;
    height: 100% !important;
    max-height: 100%;
}

.custom-object-fill-important {
    object-fit: fill !important;
}

.\!w-full {
  width: 100% !important;
}

.title-txt {
  color: #0054a5;
  font-size: 18px;
  font-weight: 700;
}

.w-40-percen {
  width: 40%;
}

.w-60-percen {
  width: 60%;
}

.date-txt {
  color: #3161c2;
  font-size: 0.8125rem;
}

.icon-wrapper {
    display: inline-flex;
    justify-content: center;
    width: 1.25rem;
    min-width: 1.25rem;
}

.icon-wrapper i {
    opacity: 0;                 /* ẩn mặc định */
    transform: scale(0.5) rotate(-10deg);
    transition: opacity 0.2s ease, transform 0.2s ease;
}

/* icon hiện khi item có selected */
.selected .icon-wrapper i {
    opacity: 1;
    transform: scale(1) rotate(0deg);
}

/* animation pop tách riêng */
.pop-animation {
    animation: pop 0.3s forwards;
}

@keyframes pop {
    0% {
        transform: scale(0.5) rotate(-10deg);
        opacity: 0;
    }
    25% {
        transform: scale(1.3) rotate(2deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.6) rotate(-2deg);
        opacity: 1;
    }
    75% {
        transform: scale(1.2) rotate(1deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

.custom-text-on-image {
  position: absolute;
  bottom: 0.5rem;
  left: 50%;
  transform: translateX(-48%);
  width: 80%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  padding: 4px 8px;
  text-align: center;

  display: -webkit-box;       /* bắt buộc cho line-clamp */
  -webkit-line-clamp: 2;      /* số dòng tối đa hiển thị */
  -webkit-box-orient: vertical;
  overflow: hidden;           /* ẩn phần text thừa */
  text-overflow: ellipsis;    /* thêm dấu ... */
  word-break: break-word;     /* xuống dòng nếu từ quá dài */
}

.custom-text-on-image-center-home {
  position: absolute;
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  padding: 4px 8px;
  text-align: center;

  display: -webkit-box;       /* bắt buộc cho line-clamp */
  -webkit-line-clamp: 2;      /* số dòng tối đa hiển thị */
  -webkit-box-orient: vertical;
  overflow: hidden;           /* ẩn phần text thừa */
  text-overflow: ellipsis;    /* thêm dấu ... */
  word-break: break-word;     /* xuống dòng nếu từ quá dài */
}

.custom-text-on-image-gallery-home {
  position: absolute;
  bottom: 0rem;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
  background: rgba(0, 0, 0, 0.5);
  border-radius: 4px;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
  padding: 4px 8px;
  text-align: center;

  display: -webkit-box;       /* bắt buộc cho line-clamp */
  -webkit-line-clamp: 2;      /* số dòng tối đa hiển thị */
  -webkit-box-orient: vertical;
  overflow: hidden;           /* ẩn phần text thừa */
  text-overflow: ellipsis;    /* thêm dấu ... */
  word-break: break-word;     /* xuống dòng nếu từ quá dài */
}