/* ================================
   DelosWeb Infinite Clickable Text
================================ */

.dw-page-rotator {
  position: relative;
  display: flex;
  align-items: center;
  gap: 6px;
  min-height: 34px;
  width: calc(100% - 30px);
  max-width: 340px;
  overflow: hidden;
  box-sizing: border-box;

  /* esto lo alinea con el resto del texto */
  margin-left: 15px;
  margin-top: 18px;
}

/* Label */
.dw-page-rotator-label {
  color: #000000;
  font-size: 14px;
  font-weight: 700;
  white-space: nowrap;
  flex-shrink: 0;
}

/* Rotating links */
.dw-rotating-link {
  position: absolute;
  left: 62px;
  top: 50%;
  max-width: calc(100% - 70px);
  overflow: hidden;
  text-overflow: ellipsis;
  transform: translateY(18px);
  opacity: 0;
  visibility: hidden;
  color: #000038;
  font-size: 15px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
  transition: all 0.45s ease;
}

.dw-rotating-link.active {
  transform: translateY(-50%);
  opacity: 1;
  visibility: visible;
}

.dw-rotating-link.exit {
  transform: translateY(-32px);
  opacity: 0;
  visibility: hidden;
}

.dw-rotating-link:hover {
  color: #2d80b7;
}

/* Prevent horizontal scroll */
html,
body {
  overflow-x: hidden;
}

/* Mobile */
@media (max-width: 767px) {
  .dw-page-rotator {
    width: calc(100% - 30px);
    max-width: 320px;
    margin-left: 15px;
    margin-top: 18px;
  }

  .dw-page-rotator-label {
    font-size: 13px;
  }

  .dw-rotating-link {
    left: 58px;
    max-width: calc(100% - 62px);
    font-size: 14px;
  }
}