.avvb {
  --avvb-overlay: 0.35;
  --avvb-minh: 420px;
  --avvb-contentw: 720px;
  --avvb-h: #ffffff;
  --avvb-sh: rgba(255, 255, 255, 0.92);
  --avvb-primary: #009fe3;
  --avvb-primary-text: #ffffff;
  --avvb-secondary: rgba(17, 24, 39, 0.6);
  --avvb-secondary-text: #ffffff;
  --avvb-radius: 18px;
  position: relative;
  min-height: var(--avvb-minh);
  overflow: hidden;
  border-radius: var(--avvb-radius);
  background: #0b1220;
}

.avvb-squared {
  border-radius: 0;
}

.avvb-fullwidth {
  width: 100vw;
  max-width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}

.avvb-media,
.avvb-overlay,
.avvb-content {
  position: absolute;
  inset: 0;
}

.avvb-viewport {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.avvb-track {
  height: 100%;
  display: flex;
  will-change: transform;
  transform: translate3d(0, 0, 0);
  transition: transform 0.55s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.avvb-slide-item {
  position: relative;
  flex: 0 0 100%;
  min-height: var(--avvb-minh);
}

.avvb-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}

.avvb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  transform: scale(1);
  transition: transform 0.6s ease;
}

.avvb-overlay {
  background: rgba(0, 0, 0, var(--avvb-overlay));
}

.avvb-content {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: clamp(18px, 4vw, 56px);
  z-index: 2;
  text-align: left;
}

.avvb-inner {
  max-width: var(--avvb-contentw);
  color: #fff;
}

.avvb-align-center .avvb-content {
  justify-content: center;
  text-align: center;
}

.avvb-align-center .avvb-inner,
.avvb-align-center .avvb-heading,
.avvb-align-center .avvb-subheading {
  text-align: center;
}

.avvb-align-left .avvb-content {
  justify-content: flex-start;
  text-align: left;
}

.avvb-align-left .avvb-inner,
.avvb-align-left .avvb-heading,
.avvb-align-left .avvb-subheading {
  text-align: left;
}

.avvb-heading {
  margin: 0 0 10px 0;
  font-weight: 800;
  letter-spacing: -0.02em;
  line-height: 1.05;
  font-size: clamp(28px, 4.2vw, 56px);
  text-transform: none;
  color: var(--avvb-h);
}

.avvb-subheading {
  margin: 0 0 18px 0;
  font-size: clamp(16px, 1.6vw, 20px);
  line-height: 1.35;
  opacity: 0.95;
  color: var(--avvb-sh);
  margin-left: 0;
  margin-right: 0;
}

.avvb-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.avvb-align-center .avvb-actions {
  justify-content: center;
}

.avvb-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 16px;
  border-radius: var(--avvb-radius);
  font-weight: 700;
  text-decoration: none;
  letter-spacing: 0.01em;
  transition: transform 0.16s ease, background-color 0.16s ease, border-color 0.16s ease,
    box-shadow 0.16s ease, filter 0.16s ease;
  will-change: transform;
}

.avvb-btn:focus-visible {
  outline: 3px solid rgba(0, 159, 227, 0.55);
  outline-offset: 2px;
}

.avvb-btn:hover {
  transform: translateY(-1px);
  text-decoration: none;
}

.avvb-btn-primary {
  background: var(--avvb-primary);
  color: var(--avvb-primary-text);
  border: 1px solid rgba(255, 255, 255, 0.18);
}

.avvb-btn-primary:hover {
  filter: brightness(1.05);
  box-shadow: 0 10px 24px rgba(0, 159, 227, 0.22);
}

.avvb-btn-secondary {
  background: var(--avvb-secondary);
  color: var(--avvb-secondary-text);
  border: 1px solid rgba(255, 255, 255, 0.32);
}

.avvb-btn-secondary:hover {
  filter: brightness(1.08);
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.25);
}

.avvb-hoverfx:hover .avvb-video,
.avvb-hoverfx:hover .avvb-img {
  transform: scale(1.03);
}

.avvb-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(17, 24, 39, 0.55);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(6px);
}

.avvb-arrow:hover {
  background: rgba(17, 24, 39, 0.75);
}

.avvb-prev {
  left: 14px;
}

.avvb-next {
  right: 14px;
}

.avvb-dots {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 14px;
  z-index: 3;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 0 14px;
}

.avvb-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.18);
  cursor: pointer;
}

.avvb-dot[aria-selected="true"] {
  background: rgba(255, 255, 255, 0.85);
  border-color: rgba(255, 255, 255, 0.95);
}

@media (prefers-reduced-motion: reduce) {
  .avvb-btn,
  .avvb-btn:hover {
    transition: none;
    transform: none;
  }
  .avvb-video {
    transition: none;
  }
  .avvb-img {
    transition: none;
  }
  .avvb-track {
    transition: none;
  }
}

@media (max-width: 1024px) {
  .avvb-content {
    padding: clamp(16px, 4vw, 44px);
  }

  .avvb-inner {
    max-width: 92vw;
  }

  .avvb-heading {
    font-size: clamp(26px, 4.8vw, 44px);
  }

  .avvb-subheading {
    font-size: clamp(15px, 1.9vw, 19px);
    margin-bottom: 16px;
  }

  .avvb-btn {
    min-height: 42px;
    padding: 10px 14px;
  }

  .avvb-arrow {
    width: 38px;
    height: 38px;
  }

  .avvb-prev {
    left: 12px;
  }

  .avvb-next {
    right: 12px;
  }

  .avvb-dots {
    bottom: 10px;
    gap: 7px;
    padding: 0 10px;
  }
}

@media (max-width: 767px) {
  .avvb {
    border-radius: 14px;
  }

  .avvb-content {
    padding: 18px 16px;
  }

  .avvb-inner {
    max-width: 90vw;
  }

  .avvb-heading {
    font-size: clamp(22px, 7vw, 36px);
  }

  .avvb-subheading {
    font-size: clamp(14px, 3.6vw, 18px);
    margin-bottom: 14px;
  }

  .avvb-actions {
    gap: 10px;
  }

  .avvb-btn {
    min-height: 40px;
    padding: 10px 14px;
  }

  .avvb-arrow {
    width: 36px;
    height: 36px;
  }

  .avvb-prev {
    left: 10px;
  }

  .avvb-next {
    right: 10px;
  }

  .avvb-dots {
    bottom: 10px;
    gap: 7px;
  }

  /* Avoid 100vw overflow on small screens */
  .avvb-fullwidth {
    width: 100%;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}

