/* ============================================================
   IMAGINiT CTA Banner
   Flexbox only, 767px breakpoint, brand custom properties.
   ============================================================ */

.imgt-cta {
  --navy: #09476E;
  --blue: #0096D6;
  --gold: #C5960C;
  --lgray: #c5c5c5;
  position: relative;
  overflow: hidden;
  background: var(--navy);
  font-family: "Galano Grotesque", Sans-Serif;
}

.imgt-module--outer-section {
  padding: 30px 0 45px;
}

.imgt-module--outer-section a:not(.imgt-cta__btn),
.imgt-module--outer-section a:not(.imgt-cta__btn) > span {
  font-family: "Galano Grotesque Bold", Sans-Serif;
  color: #0096d6 !important;
}

/* ---------- background variants ---------- */
.imgt-cta--bg-navy {
  background: var(--navy);
}
.imgt-cta--bg-blue {
  background: var(--blue);
}
.imgt-cta--bg-gray {
  background: var(--lgray);
}
.imgt-cta--bg-image {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.imgt-cta--bg-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(9, 71, 110, 0.75);
}

.imgt-cta .imgt-cta__inner {
  position: relative;
  z-index: 1;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  max-width: 1083px;
  margin: 0 auto;
}

@media (min-width: 768px) {
  .container,
  .imgt-cta__inner {
    width: 750px;
  }
}
@media (min-width: 992px) {
  .container,
  .imgt-cta__inner {
    width: 970px;
  }
}
@media (min-width: 1200px) {
  .container,
  .imgt-cta__inner {
    width: 1083px;
  }
}

/* ---------- copy ---------- */
.imgt-cta .imgt-cta__copy {
  flex: 1 1 480px;
  min-width: 300px;
}

.imgt-cta .imgt-cta__eyebrow {
  font-family: "Galano Grotesque Bold", Sans-Serif !important;
  font-size: 13px;
  line-height: 18px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--blue);
  margin: 0 0 14px;
}

.imgt-cta .imgt-cta__title {
  font-family: "Galano Grotesque Bold", Sans-Serif !important;
  font-size: 34px;
  line-height: 40px;
  color: #ffffff;
  margin: 0 0 28px;
}
.imgt-cta .imgt-cta__title em {
  font-family: "Galano Grotesque Bold", Sans-Serif !important;
  font-size: 34px;
  line-height: 40px;
  font-style: normal;
  color: var(--gold);
}

.imgt-cta .imgt-cta__buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.imgt-cta .imgt-cta__btn {
  display: inline-block;
  font-family: "Galano Grotesque Bold", Sans-Serif;
  font-size: 16px;
  line-height: 1;
  color: #ffffff !important;;
  background: var(--blue);
  border: 2px solid transparent;
  text-decoration: none;
  text-transform: uppercase;
  padding: 13px 32px 15px;
  transition: background-color .25s ease, transform .25s ease, box-shadow .25s ease;
}
.imgt-cta.imgt-cta--bg-blue .imgt-cta__btn{
background: var(--navy);
  color:#fff!important;
}
.imgt-cta .imgt-cta__btn:hover,
.imgt-cta .imgt-cta__btn:focus-visible {
  background: #fff;
  color: var(--navy) !important;
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,0,0,.35);
}
.imgt-cta .imgt-cta__btn:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 3px;
}
/* navy text/buttons for the light gray background */
.imgt-cta--bg-gray .imgt-cta__title,
.imgt-cta--bg-gray .imgt-cta__title em {
  color: var(--navy);
}
.imgt-cta--bg-gray .imgt-cta__btn--secondary {
  border-color: var(--navy);
  color: var(--navy) !important;
}

.imgt-cta .imgt-cta__btn--secondary {
  background: transparent;
  border-color: #ffffff;
}
.imgt-cta .imgt-cta__btn--secondary:hover,
.imgt-cta .imgt-cta__btn--secondary:focus-visible {
  background: #ffffff;
  color: var(--navy) !important;
}
.imgt-cta--bg-gray .imgt-cta__btn--secondary:hover,
.imgt-cta--bg-gray .imgt-cta__btn--secondary:focus-visible {
  background: var(--navy);
  color: #ffffff !important;
}
/* ---------- reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  .imgt-cta .imgt-cta__btn { transition: none; }
}

/* ---------- mobile ---------- */
@media (max-width: 767px) {
  .imgt-cta .imgt-cta__copy {
    flex: 1 1 100%;
    margin-bottom: 36px;
  }
  .imgt-cta .imgt-cta__title {
    font-size: 27px;
    line-height: 33px;
  }
}
