/* Premium, Token-Backed Shared Hero Banner Component Styles */

.ep-hero {
  position: relative;
  min-height: 520px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: var(--ep-brand-primary, #2a296c);
  color: var(--ep-white, #ffffff);
  overflow: hidden;
  padding: var(--ep-space-20, 80px) 0;
  text-align: center;
  box-sizing: border-box;
}

/* Background Image with optional scale/parallax effect */
.ep-hero__bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
  pointer-events: none;
  z-index: 1;
}

.ep-hero:hover .ep-hero__bg {
  transform: scale(1.03);
}

/* Multi-layered cinematic gradient overlay */
.ep-hero__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.4) 0%, rgba(15, 23, 42, 0.7) 60%, rgba(15, 23, 42, 0.85) 100%);
  pointer-events: none;
  z-index: 2;
}

/* Content Container */
.ep-hero__content {
  position: relative;
  z-index: 3;
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 var(--ep-space-5, 20px);
  box-sizing: border-box;
}

/* Optional Kicker/Badge */
.ep-hero__kicker {
  display: inline-block;
  font-family: var(--ep-type-heading-family, sans-serif);
  font-size: var(--ep-font-size-sm, 12px);
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--ep-brand-accent, #25aae1);
  margin-bottom: var(--ep-space-4, 16px);
}

/* Main H1 Heading */
.ep-hero__title {
  font-family: var(--ep-type-heading-family, sans-serif);
  font-size: clamp(32px, 5vw, 56px);
  font-weight: 800;
  color: var(--ep-white, #ffffff);
  line-height: 1.15;
  margin: 0 0 var(--ep-space-6, 24px) 0;
  letter-spacing: -0.02em;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Optional Script Subtitle (Georgia Italic Accent Font) */
.ep-hero__script-subtitle {
  font-family: var(--ep-font-serif, Georgia, "Times New Roman", serif);
  font-size: clamp(20px, 3vw, 32px);
  font-style: italic;
  font-weight: 600;
  margin: -12px 0 var(--ep-space-6, 24px) 0;
  color: var(--ep-brand-accent, #25aae1);
  text-transform: none;
  letter-spacing: normal;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

/* Subtitle Paragraph */
.ep-hero__subtitle {
  font-family: var(--ep-type-body-family, sans-serif);
  font-size: clamp(15px, 2vw, 19px);
  line-height: var(--ep-line-height-relaxed, 1.65);
  max-width: 72ch;
  margin: 0 auto var(--ep-space-10, 40px) auto;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 1px 5px rgba(0, 0, 0, 0.2);
}

.ep-hero__subtitle span.uppercase {
  font-weight: 700;
  color: var(--ep-white, #ffffff);
  letter-spacing: 0.05em;
}

/* CTA Buttons Wrap */
.ep-hero__ctas {
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: var(--ep-space-5, 20px);
}

/* CTA Buttons */
.ep-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  width: 190px;
  padding: 0 var(--ep-space-6, 24px);
  border-radius: var(--ep-radius-md, 10px);
  font-family: var(--ep-type-heading-family, sans-serif);
  font-size: var(--ep-font-size-button, 13px);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
  box-sizing: border-box;
}

.ep-hero-btn--primary {
  background: var(--ep-brand-accent, #25aae1);
  color: var(--ep-white, #ffffff) !important;
  border: none;
  box-shadow: 0 10px 24px rgba(37, 170, 225, 0.3);
}

.ep-hero-btn--primary:hover {
  background: var(--ep-white, #ffffff);
  color: var(--ep-brand-primary, #2a296c) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.2);
}

.ep-hero-btn--secondary {
  background: transparent;
  color: var(--ep-white, #ffffff) !important;
  border: 2px solid var(--ep-white, #ffffff);
}

.ep-hero-btn--secondary:hover {
  background: var(--ep-white, #ffffff);
  color: var(--ep-brand-primary, #2a296c) !important;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(255, 255, 255, 0.2);
}

/* Responsive Rules */
@media screen and (max-width: 768px) {
  .ep-hero {
    padding: var(--ep-space-16, 64px) 0;
    min-height: 480px;
  }
  
  .ep-hero__ctas {
    flex-direction: column;
    gap: var(--ep-space-4, 16px);
    width: 100%;
    max-width: 320px;
    margin: 0 auto;
  }
  
  .ep-hero-btn {
    width: 100%;
  }
}
