.ec-herosection {
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw + 8px);
  max-width: none;
  position: relative;
  width: auto;
  box-sizing: border-box;

  @media (max-width: 767px) {
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
  }
}

.ec-herosection.hero-banner {
  position: relative;
  overflow: hidden;
}

.ec-herosection .hero-banner-slide {
  position: relative;
  min-height: 400px;
  display: flex;
  align-items: center;
}

.ec-herosection .hero-banner-media {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 0;
}

.ec-herosection .hero-banner-slide > .container {
  min-height: 400px;
  align-items: center;
  justify-content: flex-start;
  display: flex;
}

.ec-herosection .hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--ec-hero-section-overlay, rgba(14, 64, 148, 0.85));
  z-index: 1;
}

.ec-herosection .hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 550px;
  padding: var(--space-4, 40px) 0;
}

.ec-herosection .hero-banner-badge {
  display: inline-block;
  padding: var(--space-2, 8px) var(--space-4, 16px);
  background: rgba(255, 255, 255, 0.15);
  color: var(--color-white, #ffffff);
  font-size: var(--font-size-sm, 12px);
  font-weight: var(--font-weight-medium, 600);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: var(--space-4, 16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(4px);
}

.ec-herosection .hero-banner-title {
  font-size: var(--font-size-4xl, 40px);
  font-weight: var(--font-weight-bold, 800);
  color: var(--color-white, #ffffff);
  line-height: var(--line-height-tight, 1.1);
  margin-bottom: var(--space-4, 16px);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.ec-herosection .hero-banner-text {
  font-size: var(--font-size-lg, 18px);
  color: rgba(255, 255, 255, 0.9);
  line-height: var(--line-height-relaxed, 1.6);
  margin-bottom: var(--space-6, 24px);
}

.ec-herosection .hero-banner-actions {
  display: flex;
  gap: var(--space-4, 16px);
  flex-wrap: wrap;
}

.ec-herosection .btn {
  position: relative;
  border-radius: 0;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  text-decoration: none;
  white-space: nowrap;
}

.ec-herosection .btn-lg {
  padding: var(--space-4, 14px) var(--space-6, 28px);
  font-size: var(--font-size-lg, 18px);
}

.ec-herosection .btn-primary-dark {
  background: var(--color-primary-dark, #0e4094);
  color: var(--color-white, #ffffff);
  border-color: var(--color-primary-dark, #0e4094);
  box-shadow: 0 4px 14px rgba(14, 64, 148, 0.35);
}

.ec-herosection .btn-primary-dark:hover {
  background: linear-gradient(135deg, #0a3070 0%, #0e4094 100%);
  box-shadow: 0 6px 20px rgba(14, 64, 148, 0.45);
}

.ec-herosection .btn-white {
  background-color: var(--color-white, #ffffff);
  color: var(--color-gray-dark, #2b2b2b);
  border-color: var(--color-gray-lightest, rgba(0, 0, 0, 0.08));
}

.ec-herosection .btn-white:hover {
  background-color: var(--color-bg-light, rgba(245, 245, 245, 1));
}

@media (max-width: 767px) {
  .ec-herosection .hero-banner-slide {
    min-height: 400px;
  }

  .ec-herosection .hero-banner-slide > .container {
    max-width: 100%;
    width: 100%;
    padding-left: 0;
    padding-right: 0;
  }

  .ec-herosection .hero-banner-content {
    max-width: 100%;
    width: 100%;
    padding: 28px var(--space-2, 16px);
  }

  .ec-herosection .hero-banner-title {
    font-size: var(--font-size-2xl, 28px);
  }

  .ec-herosection .hero-banner-text {
    font-size: var(--font-size-base, 16px);
    margin-bottom: var(--space-2, 16px);
  }

  .ec-herosection .hero-banner-actions {
    flex-direction: column;
    width: 100%;
  }

  .ec-herosection .hero-banner-actions .btn {
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
}
