/* MARQUEE */
.rfm-marquee-container {
  overflow-x: hidden;
  display: flex;
  flex-direction: row;
  position: relative;
  width: var(--width);
  transform: var(--transform);
}
.rfm-marquee-container:hover div {
  animation-play-state: var(--pause-on-hover);
}
.rfm-marquee-container:active div {
  animation-play-state: var(--pause-on-click);
}

.rfm-overlay {
  position: absolute;
  width: 100%;
  height: 100%;
}
.rfm-overlay::before,
.rfm-overlay::after {
  background: linear-gradient(
    to right,
    var(--gradient-color),
    rgba(255, 255, 255, 0)
  );
  content: "";
  height: 100%;
  position: absolute;
  width: var(--gradient-width);
  z-index: 2;
  pointer-events: none;
  touch-action: none;
}
.rfm-overlay::after {
  right: 0;
  top: 0;
  transform: rotateZ(180deg);
}
.rfm-overlay::before {
  left: 0;
  top: 0;
}

.rfm-marquee {
  flex: 0 0 auto;
  min-width: var(--min-width);
  z-index: 1;
  display: flex;
  flex-direction: row;
  align-items: center;
  animation: scroll var(--duration) linear var(--delay) var(--iteration-count);
  animation-play-state: var(--play);
  animation-delay: var(--delay);
  animation-direction: var(--direction);
}
@keyframes scroll {
  0% {
    transform: translateX(0%);
  }
  100% {
    transform: translateX(-100%);
  }
}

.rfm-initial-child-container {
  flex: 0 0 auto;
  display: flex;
  min-width: auto;
  flex-direction: row;
  align-items: center;
}

.rfm-child {
  transform: var(--transform);
}
/* END MARQUEE */

/* MOBILE MENU */
.body-no-scroll {
  overflow: hidden;
  height: 100vh;
}

.mob-right-menu-menu {
  font-weight: 500;
  position: fixed;
  top: 0;
  right: -500px;
  width: 100%;
  max-width: 380px;
  height: 100%;
  background: white;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.2);
  transition: right 0.35s ease;
  z-index: 9999;
  padding: 10px 15px;
  overflow-y: auto;
  color: rgba(0, 0, 0, 0.75);
}

.mob-right-menu-menu a {
  color: rgba(0, 0, 0, 0.75);
  display: inline-block;
  width: 100%;
  text-align: left;
}

.mob-right-menu-menu.active {
  right: 0;
}

.mob-right-menu-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.45);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 9998;
}

.mob-right-menu-overlay.active {
  opacity: 1;
  visibility: visible;
}

.mob-right-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
  border-bottom: 2px #8ec5ff solid;
  padding: 0px 0px 10px;
}

.mob-right-menu-close {
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  top: -1px;
  right: 3px;
}

.mob-right-menu-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.mob-right-menu-title {
  width: 100%;
  background: none;
  border: none;
  font-size: 16px;
  padding: 10px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mob-right-menu-arrow {
  transition: transform 0.3s ease;
}

.mob-right-menu-item {
  border-radius: 6px;
}

.mob-right-menu-item.open .mob-right-menu-arrow {
  transform: rotate(180deg);
}

.mob-right-menu-submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
  padding-left: 15px;
  padding-right: 15px;
}

.mob-right-menu-submenu li {
  padding: 10px;
  cursor: pointer;
  border-radius: 6px;
}

.mob-right-menu-submenu li:last-child {
  margin-bottom: 10px;
}

.mob-right-menu-list li:hover {
  background-color: rgba(0, 0, 0, 0.06);
}

.mob-right-menu-item.open .mob-right-menu-submenu {
  max-height: 400px;
}
/* END MOBILE MENU */

/* CUSTOM/OTHER STYLES */

#cac-moc-phat-trien {
  padding-bottom: 90px;
}

.giai-thuong-page .fadeInBothSide .view-more {
  display: none;
}

.news-section .menu-item {
  font-weight: 300;
  font-size: 18px;
}

.news-section .menu-item.active {
  font-weight: 500;
  color: rgb(22, 119, 255);
  text-shadow: currentcolor 0px 0px 0.25px;
}

footer .mobile-menu {
  display: none;
}
footer .social-mobile {
  display: none;
}
footer h4 {
  margin-bottom: 16px;
}
footer a.text-\[16px\] {
  margin-bottom: 11px;
}
footer :where(.text-sm.space-y-3 > :not(:last-child)) {
  margin-bottom: 15px;
}
/* END CUSTOM/OTHER STYLES */

/* RESPONSIVE */
@media (max-width: 1024px) {
  .news-section h1.text-\[40px\] {
    font-size: 30px;
  }
}

@media (max-width: 920px) {
  .news-section h1.text-\[40px\] {
    font-size: 24px;
  }
}

@media (max-width: 768px) {
  .news-section .menu-item {
    font-size: 14px;
    margin-right: 20px;
  }
}

@media (max-width: 767px) {
  .news-section p.text-\[20px\] {
    font-size: 18px;
  }

  footer .desktop-menu {
    display: none;
  }
  footer .mobile-menu {
    display: block;
  }
  footer .flex-row.items-center {
    text-align: left;
    flex-direction: column;
    align-items: normal;
    gap: calc(var(--spacing) * 3);
  }
  footer .mob-right-menu-title {
    padding: 10px 0;
    font-size: 14px;
  }
  footer .logo {
    width: 92px;
  }
  footer .social-desktop {
    display: none;
  }
  footer .social-mobile {
    display: flex;
  }
  footer .social-mobile a {
    margin-right: 15px;
  }
  footer .social-mobile a img {
    width: 36px;
  }
  footer
    .flex-row.items-center
    .text-sm.flex.flex-col.space-y-3
    .text-\[14px\] {
    font-size: 12px;
  }
  footer .flex-row.items-center .text-\[18px\] {
    font-size: 14px;
  }
}

/* END RESPONSIVE */
