/* ================================================
   Hero Banner Block — block-style.css  v1.1
   4 layout variants supported via modifier classes:
   .is-align-left / .is-align-center / .has-solid-bg
   ================================================ */

/* ---------- Section wrapper ---------- */
.etb-hero-banner-sec {
  position: relative;
  display: flex;
  align-items: center;
  background-color: #162d5a;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  overflow: hidden;
  color: #ffffff;
  padding: 4rem 0px;
}

@media (min-width: 768px) {
  .etb-hero-banner-sec {
    padding: 5rem 0px;
  }
}

/* ---------- Overlay (only with bg image) ---------- */
.etb-hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg,
      rgba(13, 30, 63, 0.90) 0%,
      rgba(22, 45, 90, 0.80) 51%,
      rgba(22, 45, 90, 0.45) 100%);
  z-index: 1;
}

.etb-hero-banner-sec.has-solid-bg .etb-hero-overlay {
  display: none;
}

/* ---------- Container ---------- */
.etb-hero-container {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0px 32px;
}

/* ---------- Content block ---------- */
.etb-hero-content {
  width: 100%;
  animation: etbFadeUp 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Alignment modifiers */
.etb-hero-banner-sec.is-align-left .etb-hero-content {
  text-align: left;
}

.etb-hero-banner-sec.is-align-center .etb-hero-content {
  text-align: center;
}

/* ---------- Eyebrow ---------- */
.etb-hero-eyebrow {
  display: block;
  font-size: 0.875rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: #e31c1c;
  margin-bottom: 0;
  line-height: 1.5;
}

/* ---------- Title ---------- */
.etb-hero-title {
  font-size: 1.875rem;
  line-height: 1.2;
  font-weight: 700;
  color: #ffffff;
  margin-top: 6px;
  margin-bottom: 0px;
  
}

@media (min-width: 768px) {
  .etb-hero-title {
    font-size: 2.5rem;
  }
}

/* ---------- Description ---------- */
.etb-hero-description {
  margin-top: 24px !important;
  font-size: 1.25rem !important;
  line-height: 1.75rem !important;
  color: rgba(255, 255, 255, 0.8) !important;
}

/* Center-align: constrain description width */
.etb-hero-banner-sec.is-align-center .etb-hero-description {
  max-width: 600px;
  margin-left: auto;
  margin-right: auto; 
}

/* ---------- Buttons ---------- */
.etb-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.875rem;
  align-items: center;
  margin-top: 2rem !important;
}

.etb-hero-banner-sec.is-align-center .etb-hero-buttons {
  justify-content: center;
}

/* Base button */
.etb-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  text-decoration: none;
  border-radius: 4px;
  transition: background-color 0.25s ease,
    border-color 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.2s ease;
  cursor: pointer;
  white-space: nowrap;
}

/* Primary button */
.etb-btn-primary {
  background-color: #e31c1c;
  color: #ffffff;
  border: 2px solid #e31c1c;
}

.etb-btn-primary:hover,
.etb-btn-primary:focus {
  background-color: #c21818;
  border-color: #c21818;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(227, 28, 28, 0.35);
}

/* Outline button */
.etb-btn-outline {
  background-color: transparent;
  color: #ffffff;
  border: 2px solid rgba(255, 255, 255, 0.6);
}

.etb-btn-outline:hover,
.etb-btn-outline:focus {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: #ffffff;
  transform: translateY(-2px);
}

/* SVG in buttons */
.etb-hero-btn svg,
.etb-hero-btn-dummy svg {
  width: 1.1rem;
  height: 1.1rem;
  display: inline-block;
  vertical-align: middle;
  flex-shrink: 0;
}

/* ---------- Editor dummy buttons ---------- */
.etb-hero-btn-dummy {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.65rem 1.5rem;
  font-size: 0.9375rem;
  font-weight: 600;
  border-radius: 4px;
  cursor: default;
}

/* ---------- Entry animation ---------- */
@keyframes etbFadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---------- Responsive ---------- */
@media (max-width: 480px) {
  .etb-hero-banner-sec {
    padding: 3rem 0rem;
  }

  .etb-hero-title {
    font-size: 1.5rem;
  }

  .etb-hero-buttons {
    flex-direction: column;
    align-items: flex-start;
  }

  .etb-hero-banner-sec.is-align-center .etb-hero-buttons {
    align-items: center;
  }
}