.ccb-content-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;
  display: grid;
  grid-template-columns: minmax(220px, 0.86fr) minmax(0, 1.14fr);
  min-height: 170px;
  margin: 24px 0;
  overflow: hidden;
  border: 1px solid var(--ccb-line);
  border-radius: 8px;
  background: var(--ccb-surface);
  color: var(--ccb-ink);
  font-family: "DM Sans", system-ui, sans-serif;
  box-shadow: 0 14px 34px rgba(23, 32, 51, 0.1);
}

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

.ccb-content-banner::after {
  content: "";
  position: absolute;
  top: -12px;
  bottom: -12px;
  left: 43.5%;
  z-index: 3;
  width: 52px;
  background: linear-gradient(180deg, var(--ccb-red) 0%, var(--ccb-teal) 100%);
  box-shadow: 0 0 0 1px rgba(255, 255, 255, 0.22), 0 10px 24px rgba(23, 32, 51, 0.12);
  transform: translateX(-50%) skewX(-11deg);
  pointer-events: none;
}

.ccb-content-banner__media {
  position: relative;
  min-height: 170px;
  overflow: hidden;
  background:
    radial-gradient(circle at 24% 36%, rgba(243, 183, 53, 0.22), transparent 28%),
    radial-gradient(circle at 82% 12%, rgba(37, 99, 235, 0.2), transparent 30%),
    linear-gradient(135deg, rgba(20, 125, 116, 0.22) 0%, rgba(23, 32, 51, 0.94) 100%);
}

.ccb-content-banner__media::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    linear-gradient(115deg, rgba(255, 255, 255, 0.2) 0 15%, transparent 15% 100%),
    linear-gradient(90deg, rgba(23, 32, 51, 0.24), transparent 44%);
  pointer-events: none;
}

.ccb-content-banner__media::after {
  content: "";
  position: absolute;
  inset: 12px;
  z-index: 1;
  border: 1px solid rgba(255, 255, 255, 0.62);
  border-radius: 6px;
  background: linear-gradient(180deg, transparent 42%, rgba(23, 32, 51, 0.22));
  pointer-events: none;
}

.ccb-content-banner .ccb-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border-radius: 0;
  object-fit: cover;
  object-position: center;
  transition: transform 220ms ease, filter 220ms ease;
}

.ccb-content-banner:hover .ccb-banner-image,
.ccb-content-banner:focus-within .ccb-banner-image {
  filter: saturate(1.08) contrast(1.04) brightness(1.02);
  transform: scale(1.03);
}

.ccb-content-banner__offer {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: flex-start;
  gap: 9px;
  min-width: 0;
  padding: clamp(18px, 2.8vw, 30px) clamp(18px, 3vw, 30px) clamp(18px, 2.8vw, 30px) clamp(56px, 5vw, 78px);
  background:
    linear-gradient(90deg, rgba(246, 248, 251, 0.6), rgba(255, 255, 255, 0)),
    var(--ccb-surface);
}

.ccb-content-banner__tag {
  display: inline-flex;
  padding: 5px 9px;
  border-radius: 999px;
  background: #fff3cf;
  color: #805300;
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.15;
  text-transform: uppercase;
}

.ccb-content-banner__title {
  margin: 0;
  color: var(--ccb-ink);
  font-family: Outfit, "DM Sans", system-ui, sans-serif;
  font-size: clamp(24px, 2.4vw, 34px);
  font-weight: 900;
  letter-spacing: 0;
  line-height: 1.08;
  overflow-wrap: anywhere;
}

.ccb-content-banner p {
  max-width: 520px;
  margin: 0;
  color: var(--ccb-muted);
  font-size: 14px;
  font-weight: 700;
  line-height: 1.45;
}

.ccb-content-banner__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  margin-top: 3px;
  padding: 0 17px;
  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-content-banner__cta::after {
  content: ">";
  margin-left: 9px;
  font-size: 15px;
  line-height: 1;
  transition: transform 160ms ease;
}

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

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

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

@media (max-width: 820px) {
  .ccb-content-banner {
    grid-template-columns: 1fr;
  }

  .ccb-content-banner::after {
    display: none;
  }

  .ccb-content-banner__media {
    min-height: 150px;
  }
}

@media (max-width: 560px) {
  .ccb-content-banner {
    min-height: 0;
    margin: 20px 0;
  }

  .ccb-content-banner__media {
    min-height: 124px;
  }

  .ccb-content-banner__offer {
    padding: 18px;
  }

  .ccb-content-banner__title {
    font-size: 27px;
  }

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

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