/**
 * @file
 * LL Hero banner — self-contained layout (no theme dependency).
 */

.ll-hero-banner {
  --ll-hero-desktop-h: 720px;
  --ll-hero-mobile-h: 500px;
  --ll-hero-max: 720px;
  position: relative;
  width: 100%;
  min-height: var(--ll-hero-desktop-h);
  overflow: hidden;
  color: #fff;
  box-sizing: border-box;
}

.ll-hero-banner *,
.ll-hero-banner *::before,
.ll-hero-banner *::after {
  box-sizing: border-box;
}

@media screen and (max-width: 768px) {
  .ll-hero-banner {
    min-height: var(--ll-hero-mobile-h);
  }
}

/* Background layers */
.ll-hero-banner__media {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  background: #1a1a1a;
}

.ll-hero-banner__bg-image {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
}

.ll-hero-banner__video {
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  transform: translate(-50%, -50%);
  object-fit: cover;
  pointer-events: none;
}

.ll-hero-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Content — fill hero height and center text block vertically (over video/image) */
.ll-hero-banner__inner {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  box-sizing: border-box;
  width: 100%;
  padding: 3rem 15%;
  gap: 1.75rem;
}

.ll-hero-banner--align-left .ll-hero-banner__inner {
  align-items: flex-start;
}

.ll-hero-banner--align-center .ll-hero-banner__inner {
  align-items: center;
}

.ll-hero-banner--align-right .ll-hero-banner__inner {
  align-items: flex-end;
}

@media screen and (max-width: 768px) {
  .ll-hero-banner__inner {
    padding: 2.5rem 1.25rem;
    gap: 1.5rem;
  }
}

.ll-hero-banner__main {
  flex: 0 1 auto;
  width: 100%;
  max-width: min(100%, var(--ll-hero-max));
}

.ll-hero-banner--align-left .ll-hero-banner__main {
  margin-right: auto;
  margin-left: 0;
  text-align: left;
}

.ll-hero-banner--align-center .ll-hero-banner__main {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.ll-hero-banner--align-center .ll-hero-banner__top-line {
  margin-left: auto;
  margin-right: auto;
}

.ll-hero-banner--align-center .ll-hero-banner__cta {
  justify-content: center;
}

.ll-hero-banner--align-right .ll-hero-banner__main {
  margin-left: auto;
  margin-right: 0;
  text-align: right;
}

.ll-hero-banner--align-right .ll-hero-banner__top-line {
  margin-left: auto;
}

.ll-hero-banner--align-right .ll-hero-banner__cta {
  justify-content: flex-end;
}

@media screen and (max-width: 768px) {
  .ll-hero-banner__main {
    max-width: 100%;
    padding-right: 0;
    text-align: center;
  }

  .ll-hero-banner--align-left .ll-hero-banner__main,
  .ll-hero-banner--align-right .ll-hero-banner__main {
    margin-left: auto;
    margin-right: auto;
    text-align: center;
  }

  .ll-hero-banner--align-left .ll-hero-banner__top-line,
  .ll-hero-banner--align-right .ll-hero-banner__top-line {
    margin-left: auto;
    margin-right: auto;
  }

  .ll-hero-banner--align-left .ll-hero-banner__cta,
  .ll-hero-banner--align-right .ll-hero-banner__cta {
    justify-content: center;
  }
}

.ll-hero-banner__top-line {
  width: 4.2rem;
  height: 2px;
  margin-bottom: 1.5rem;
  background: rgba(255, 255, 255, 0.85);
  border-radius: 1px;
}

/* Typography ~20% larger than previous scale */
.ll-hero-banner__headline {
  margin: 0 0 1.2rem;
  font-size: clamp(2.4rem, 5.4vw, 3.9rem);
  font-weight: 700;
  line-height: 1.12;
  letter-spacing: 0.02em;
  color: #fff;
  text-shadow: 0 2px 24px rgba(0, 0, 0, 0.35);
}

@media screen and (max-width: 768px) {
  .ll-hero-banner__headline {
    font-size: clamp(1.98rem, 8.4vw, 2.7rem);
  }
}

.ll-hero-banner__subtitle {
  margin: 0 0 2.1rem;
  font-size: clamp(1.2rem, 1.92vw, 1.44rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.95);
  max-width: 45.6rem;
  text-shadow: 0 1px 12px rgba(0, 0, 0, 0.35);
}

.ll-hero-banner--align-center .ll-hero-banner__subtitle {
  margin-left: auto;
  margin-right: auto;
}

.ll-hero-banner--align-right .ll-hero-banner__subtitle {
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .ll-hero-banner__subtitle {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 100%;
  }
}

.ll-hero-banner__cta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 0.9rem;
}

.ll-hero-banner__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.9rem;
  padding: 1.02rem 2.7rem;
  font-size: 1.26rem;
  font-weight: 600;
  text-decoration: none;
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border: 2px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.15s ease;
}

.ll-hero-banner__button:hover,
.ll-hero-banner__button:focus {
  background: rgba(255, 255, 255, 0.22);
  border-color: #fff;
  color: #fff;
  outline: none;
}

.ll-hero-banner__button:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.ll-hero-banner__button--rounded {
  border-radius: 999px;
}

.ll-hero-banner__note {
  margin: 0;
  font-size: 0.96rem;
  line-height: 1.4;
  color: rgba(255, 255, 255, 0.82);
}
