.ccb-header-banner {
  --ccb-ink: #172033;
  --ccb-muted: #5f6f86;
  --ccb-surface: #ffffff;
  --ccb-paper: #f6f8fb;
  --ccb-line: #dce4ee;
  --ccb-red: var(--blue, #2563eb);
  --ccb-red-dark: var(--blue-mid, #1d4ed8);
  --ccb-teal: var(--teal, #0891b2);
  --ccb-gold: var(--yellow, #eab308);
  position: relative;
  isolation: isolate;
  width: min(1180px, calc(100% - 32px));
  min-height: 212px;
  margin: 14px auto 0;
  overflow: hidden;
  border: 1px solid var(--ccb-line);
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(15, 25, 35, 0.94) 0%, rgba(15, 25, 35, 0.78) 48%, rgba(15, 25, 35, 0.48) 100%),
    var(--ccb-ink);
  background-position: center;
  background-size: cover;
  color: #ffffff;
  font-family: "DM Sans", system-ui, sans-serif;
  box-shadow: 0 18px 42px rgba(23, 32, 51, 0.12);
}

.ccb-header-banner::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  width: auto;
  background:
    linear-gradient(90deg, rgba(10, 17, 31, 0.86) 0%, rgba(10, 17, 31, 0.62) 48%, rgba(10, 17, 31, 0.26) 100%),
    linear-gradient(135deg, rgba(37, 99, 235, 0.14), transparent 58%),
    repeating-linear-gradient(135deg, rgba(255, 255, 255, 0.045) 0 1px, transparent 1px 12px);
  pointer-events: none;
}

.ccb-header-banner::after {
  content: "";
  position: absolute;
  right: clamp(18px, 3vw, 34px);
  bottom: clamp(14px, 2vw, 26px);
  width: clamp(110px, 13vw, 170px);
  height: 6px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--ccb-teal), var(--ccb-gold), var(--ccb-red));
  opacity: 0.92;
  pointer-events: none;
}

.ccb-header-banner__content {
  position: relative;
  z-index: 1;
  display: grid;
  align-content: center;
  width: min(690px, 100%);
  min-height: 212px;
  padding: clamp(22px, 3.2vw, 42px);
}

.ccb-header-banner a,
.ccb-header-banner a:hover,
.ccb-header-banner a:focus {
  text-decoration: none !important;
}

.ccb-header-banner__tag {
  display: inline-flex;
  width: fit-content;
  margin-bottom: 10px;
  padding: 5px 9px;
  border: 1px solid rgba(20, 125, 116, 0.22);
  border-radius: 999px;
  background: rgba(232, 245, 243, 0.92);
  color: var(--ccb-teal);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.ccb-header-banner__title {
  max-width: 650px;
  margin: 0 0 8px;
  color: #ffffff;
  text-shadow: 0 2px 14px rgba(10, 17, 31, 0.38);
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.05;
  overflow-wrap: anywhere;
}

.ccb-header-banner p {
  max-width: 620px;
  margin: 0 0 16px;
  color: rgba(255, 255, 255, 0.78);
  text-shadow: 0 1px 10px rgba(10, 17, 31, 0.34);
  font-size: 15px;
  font-weight: 700;
  line-height: 1.45;
}

.ccb-header-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  min-height: 42px;
  padding: 0 18px;
  border-radius: 8px;
  background: linear-gradient(135deg, var(--ccb-red), var(--ccb-red-dark));
  color: #ffffff;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
  text-decoration: none !important;
  box-shadow: 0 10px 22px rgba(37, 99, 235, 0.24);
  transition: background 160ms ease, box-shadow 160ms ease, transform 160ms ease, filter 160ms ease;
}

.ccb-header-banner__cta::after {
  content: ">";
  margin-left: 9px;
  font-size: 15px;
  line-height: 1;
  transition: transform 160ms ease;
}

.ccb-header-banner__cta:hover,
.ccb-header-banner__cta:focus {
  color: #ffffff;
  background: linear-gradient(135deg, var(--ccb-red-dark), var(--ccb-red));
  filter: brightness(1.04);
  box-shadow: 0 14px 28px rgba(37, 99, 235, 0.3);
  transform: translateY(-2px);
  outline: 0;
}

.ccb-header-banner__cta:hover::after,
.ccb-header-banner__cta:focus::after {
  transform: translateX(3px);
}

@media (prefers-reduced-motion: reduce) {
  .ccb-header-banner__cta,
  .ccb-header-banner__cta::after {
    transition: none;
  }
}

@media (max-width: 680px) {
  .ccb-header-banner {
    width: calc(100% - 20px);
    min-height: 0;
    margin-top: 10px;
  }

  .ccb-header-banner::before {
    width: 100%;
  }

  .ccb-header-banner::after {
    right: 16px;
    bottom: 14px;
    width: 92px;
  }

  .ccb-header-banner__content {
    min-height: 0;
    padding: 20px 16px 28px;
  }

  .ccb-header-banner__title {
    font-size: 30px;
  }

  .ccb-header-banner p {
    font-size: 14px;
  }

  .ccb-header-banner__cta {
    width: 100%;
  }
}
