/* ==========================================================================
   AV Hero Banners Styles
   ========================================================================== */

.av-hero-banners-wrapper {
  position: relative;
  width: 100%;
  box-sizing: border-box;
}

.av-hero-banners-wrapper *,
.av-hero-banners-wrapper *::before,
.av-hero-banners-wrapper *::after {
  box-sizing: border-box;
}

.av-hero-banners-container {
  --av-hero-height: 420px;
  --av-hero-gap: 18px;
  --av-hero-radius: 14px;

  display: flex;
  gap: var(--av-hero-gap);
  width: 100%;
  align-items: stretch;
}

/* ==========================================================================
   Left Column: Hero Slider
   ========================================================================== */

.av-hero-slider-col {
  flex: 0 0 calc(66.666% - (var(--av-hero-gap) / 3));
  width: calc(66.666% - (var(--av-hero-gap) / 3));
  height: var(--av-hero-height);
  position: relative;
  border-radius: var(--av-hero-radius);
  overflow: hidden;
  background-color: #f7f7f7;
}

.av-hero-swiper {
  width: 100%;
  height: 100%;
  position: relative;
}

.av-hero-slide {
  position: relative;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
}

.av-hero-slide-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: right center;
  background-repeat: no-repeat;
  z-index: 1;
}

.av-hero-slide-overlay {
  display: none;
}

.av-hero-slide-content {
  position: relative;
  z-index: 3;
  padding: 40px 56px 40px 60px;
  max-width: 480px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.av-hero-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background-color: var(--tb-theme-color, #ddcb44);
  color: var(--tb-btn-text-color, #19434c);
  font-family: var(--tb-text-primary-font, 'Manrope', sans-serif);
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 5px 14px;
  border-radius: 20px;
  margin-bottom: 14px;
  line-height: 1.2;
}

.av-hero-slide-title {
  font-family: var(--tb-text-primary-font, 'Manrope', sans-serif);
  font-size: 38px;
  font-weight: 800;
  line-height: 1.15;
  color: #102a3a;
  margin: 0 0 12px 0;
  letter-spacing: -0.02em;
}

.av-hero-slide-subtitle {
  font-family: var(--tb-text-primary-font, 'Manrope', sans-serif);
  font-size: 15px;
  font-weight: 500;
  line-height: 1.45;
  color: #2d3748;
  margin: 0 0 24px 0;
  max-width: 360px;
}

.av-hero-slide-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background-color: var(--tb-theme-color, #ddcb44);
  color: var(--tb-btn-text-color, #19434c);
  font-family: var(--tb-text-primary-font, 'Manrope', sans-serif);
  font-size: 14px;
  font-weight: 700;
  padding: 12px 28px;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 3px 12px rgba(221, 203, 68, 0.35);
}

.av-hero-slide-btn:hover {
  background-color: #cfbe36;
  color: var(--tb-btn-text-color, #19434c);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(221, 203, 68, 0.5);
}

.av-hero-slide-btn .av-arrow-icon {
  transition: transform 0.2s ease;
}

.av-hero-slide-btn:hover .av-arrow-icon {
  transform: translateX(4px);
}

/* Navigation Arrows */
.av-hero-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background-color: #ffffff;
  color: #19434c;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  outline: none;
  cursor: pointer;
  z-index: 10;
  box-shadow: 0 3px 12px rgba(0, 0, 0, 0.12);
  transition: all 0.2s ease;
}

.av-hero-prev {
  left: 14px;
}

.av-hero-next {
  right: 14px;
}

.av-hero-arrow:hover {
  background-color: #ffffff;
  color: #102a3a;
  box-shadow: 0 5px 16px rgba(0, 0, 0, 0.18);
  transform: translateY(-50%) scale(1.06);
}

.av-hero-arrow.swiper-button-disabled {
  opacity: 0.35;
  cursor: not-allowed;
  pointer-events: none;
}

/* Pagination */
.av-hero-pagination-wrapper {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  pointer-events: auto;
}

.av-hero-pagination.swiper-pagination {
  position: relative !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  background: rgba(255, 255, 255, 0.85);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 4px 10px;
  border-radius: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.av-hero-pagination .swiper-pagination-bullet {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: #19434c;
  opacity: 0.32;
  margin: 0 !important;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  cursor: pointer;
}

.av-hero-pagination .swiper-pagination-bullet-active {
  width: 20px;
  border-radius: 4px;
  opacity: 1;
  background-color: #19434c;
}

/* ==========================================================================
   Right Column: 2 Promo Banners
   ========================================================================== */

.av-hero-promo-col {
  flex: 0 0 calc(33.333% - (var(--av-hero-gap) * 2 / 3));
  width: calc(33.333% - (var(--av-hero-gap) * 2 / 3));
  display: flex;
  flex-direction: column;
  gap: var(--av-hero-gap);
  height: var(--av-hero-height);
}

.av-hero-promo-card {
  flex: 1;
  height: calc((var(--av-hero-height) - var(--av-hero-gap)) / 2);
  min-height: 0;
  position: relative;
  border-radius: var(--av-hero-radius);
  overflow: hidden;
  background-color: #edf1f4;
  display: flex;
  align-items: stretch;
  text-decoration: none;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.av-hero-promo-card:hover {
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.07);
}

.av-promo-content {
  flex: 0 0 52%;
  padding: 22px 18px 22px 24px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  z-index: 2;
}

.av-promo-title {
  font-family: var(--tb-text-primary-font, 'Manrope', sans-serif);
  font-size: 20px;
  font-weight: 700;
  color: #102a3a;
  margin: 0 0 6px 0;
  line-height: 1.25;
}

.av-promo-subtitle {
  font-family: var(--tb-text-primary-font, 'Manrope', sans-serif);
  font-size: 13px;
  font-weight: 500;
  color: #556877;
  margin: 0 0 14px 0;
  line-height: 1.4;
}

.av-promo-link {
  font-family: var(--tb-text-primary-font, 'Manrope', sans-serif);
  font-size: 13px;
  font-weight: 700;
  color: #102a3a;
  display: inline-flex;
  align-items: center;
  gap: 5px;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.av-promo-link .av-arrow-icon {
  transition: transform 0.25s ease;
}

.av-hero-promo-card:hover .av-promo-link .av-arrow-icon {
  transform: translateX(4px);
}

.av-promo-image-box {
  flex: 0 0 48%;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.av-promo-image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  transition: transform 0.45s ease;
  display: block;
}

.av-hero-promo-card:hover .av-promo-image-box img {
  transform: scale(1.06);
}

/* ==========================================================================
   Responsive Breakpoints
   ========================================================================== */

@media (max-width: 1024px) {
  .av-hero-banners-container {
    flex-direction: column;
    --av-hero-height: auto;
  }

  .av-hero-slider-col {
    width: 100%;
    flex: 0 0 auto;
    height: 380px;
  }

  .av-hero-promo-col {
    width: 100%;
    flex: 0 0 auto;
    flex-direction: row;
    height: auto;
  }

  .av-hero-promo-card {
    flex: 1 1 50%;
    height: 200px;
    min-height: 200px;
  }
}

@media (max-width: 767px) {
  .av-hero-slider-col {
    height: 320px;
  }

  .av-hero-slide-bg {
    background-position: 88% center;
  }

  .av-hero-slide-content {
    padding: 24px 20px;
    max-width: 100%;
  }

  .av-hero-slide-title {
    font-size: 24px;
    margin-bottom: 8px;
  }

  .av-hero-slide-subtitle {
    font-size: 13px;
    margin-bottom: 18px;
  }

  .av-hero-slide-btn {
    padding: 10px 22px;
    font-size: 13px;
  }

  .av-hero-arrow {
    display: none;
  }

  .av-hero-promo-col {
    flex-direction: column;
  }

  .av-hero-promo-card {
    width: 100%;
    height: 160px;
    min-height: 160px;
  }

  .av-promo-content {
    padding: 18px 16px;
    flex: 0 0 55%;
  }

  .av-promo-image-box {
    flex: 0 0 45%;
  }

  .av-promo-title {
    font-size: 18px;
  }
}
