/**
 * Support styles for Elementor sections that use SWA CSS classes.
 * Content/layout remain editable in Elementor; these only power motion + polish.
 */

.swa-hero-video {
  position: relative;
  min-height: min(92vh, 920px);
  overflow: hidden;
  background: #140e0a;
}

.swa-hero-video__media {
  position: absolute;
  inset: 0;
}

.swa-hero-video__media video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1.1s ease;
  border-radius: 0;
}

.swa-hero-video__media video.is-active {
  opacity: 1;
}

.swa-hero-video__content {
  position: relative;
  z-index: 2;
  color: #fff;
  padding: clamp(6rem, 14vh, 10rem) 0 clamp(3rem, 6vh, 5rem);
}

.swa-expand-grid {
  display: flex;
  gap: 0.65rem;
  min-height: 420px;
  margin-top: 1.75rem;
}

.swa-expand-item {
  position: relative;
  flex: 1 1 0;
  min-width: 0;
  overflow: hidden;
  border-radius: 22px;
  transition: flex 0.55s cubic-bezier(0.22, 1, 0.36, 1);
  background: #3a2e26;
  cursor: pointer;
}

.swa-expand-item.is-active {
  flex: 2.4 1 0;
}

.swa-expand-item img,
.swa-expand-item .elementor-widget-image img {
  position: absolute !important;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  max-width: none !important;
  object-fit: cover;
  border-radius: 0 !important;
}

.swa-expand-item__info {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 2;
  padding: 1.25rem 1.1rem 1.35rem;
  color: #fff;
  background: linear-gradient(180deg, transparent, rgba(20, 14, 10, 0.85));
}

.swa-expand-item__info h3,
.swa-expand-item__info .elementor-heading-title {
  margin: 0 0 0.35rem;
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(1.35rem, 2vw, 1.85rem);
  color: #fff !important;
}

.swa-expand-item__info p {
  margin: 0 0 0.85rem;
  opacity: 0;
  max-height: 0;
  overflow: hidden;
  transition: 0.35s ease;
  font-size: 0.92rem;
}

.swa-expand-item.is-active .swa-expand-item__info p,
.swa-expand-item.is-active .swa-expand-item__info .elementor-widget-button {
  opacity: 1;
  max-height: 120px;
}

.swa-expand-item .elementor-widget-button {
  opacity: 0;
  transition: 0.35s ease;
}

.swa-cta-banner {
  background-size: cover !important;
  background-position: center !important;
  position: relative;
}

.swa-cta-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(58, 46, 38, 0.72), rgba(58, 46, 38, 0.45));
  pointer-events: none;
}

.swa-cta-banner > .elementor-container,
.swa-cta-banner > .e-con,
.swa-cta-banner .e-con-inner {
  position: relative;
  z-index: 1;
}

.swa-header-overlay .elementor-nav-menu a,
.swa-header-overlay .elementor-heading-title {
  color: #fff;
}

@media (max-width: 900px) {
  .swa-expand-grid {
    flex-direction: column;
    min-height: 0;
  }

  .swa-expand-item,
  .swa-expand-item.is-active {
    flex: none;
    min-height: 220px;
  }

  .swa-expand-item__info p,
  .swa-expand-item .elementor-widget-button {
    opacity: 1;
    max-height: none;
  }
}
