/* Advanced pharmacist / vaccination CTA banner */

.mx-cta-banner.btnnnnn_sec {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  clear: both;
  margin-bottom: 100px;
  padding: 88px 24px !important;
  background: #0c2340 !important;
  box-shadow: 0 30px 70px -34px rgba(12, 35, 64, 0.5);
  border: 1px solid rgba(255, 255, 255, 0.12);
}

.mx-cta-banner__photo {
  position: absolute;
  inset: 0;
  z-index: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
  transform: scale(1.04);
  pointer-events: none;
}

.mx-cta-banner__overlay {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background:
    linear-gradient(
      115deg,
      rgba(8, 22, 40, 0.88) 0%,
      rgba(12, 45, 72, 0.78) 45%,
      rgba(27, 79, 130, 0.72) 100%
    ),
    linear-gradient(0deg, rgba(8, 22, 40, 0.45) 0%, transparent 50%);
}

.mx-cta-banner__bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.14;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 44px 44px;
  mask-image: radial-gradient(circle at 50% 40%, black 18%, transparent 72%);
  -webkit-mask-image: radial-gradient(circle at 50% 40%, black 18%, transparent 72%);
}

.mx-cta-banner .container {
  position: relative;
  z-index: 1;
}

.mx-cta-banner__inner {
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
  animation: mxCtaIn 0.75s ease both;
}

.mx-cta-banner__eyebrow {
  display: inline-block;
  margin-bottom: 14px;
  padding: 7px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.22);
  color: rgba(255, 255, 255, 0.92);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.mx-cta-banner h2 {
  margin: 0 0 14px !important;
  color: #fff !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
}

.mx-cta-banner h2 span {
  display: block;
  margin-top: 4px;
  color: #fff;
  text-shadow: 0 10px 30px rgba(12, 35, 64, 0.18);
}

.mx-cta-banner__sub {
  max-width: 560px;
  margin: 0 auto 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 16px;
  line-height: 1.65;
}

.mx-cta-banner__actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-bottom: 28px;
}

.mx-cta-banner__btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 52px;
  padding: 0 26px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none !important;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease,
    border-color 0.25s ease, color 0.25s ease;
}

.mx-cta-banner__btn i {
  font-size: 13px;
  transition: transform 0.25s ease;
}

.mx-cta-banner__btn--primary {
  background: #c8102e;
  color: #fff !important;
  box-shadow: 0 16px 34px -14px rgba(200, 16, 46, 0.7);
}

.mx-cta-banner__btn--primary:hover {
  transform: translateY(-3px);
  background: #a80d26;
  color: #fff !important;
  box-shadow: 0 22px 40px -16px rgba(200, 16, 46, 0.8);
}

.mx-cta-banner__btn--primary:hover i {
  transform: translateX(3px);
}

.mx-cta-banner__btn--ghost {
  background: rgba(255, 255, 255, 0.14);
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.34);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.mx-cta-banner__btn--ghost:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.22);
  color: #fff !important;
  border-color: rgba(255, 255, 255, 0.5);
}

.mx-cta-banner__btn:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.mx-cta-banner__meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 10px 14px;
}

.mx-cta-banner__meta-item {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.9);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
}

a.mx-cta-banner__meta-item:hover {
  color: #fff;
  text-decoration: underline;
}

.mx-cta-banner__meta-item i {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.14);
  font-size: 11px;
}

.mx-cta-banner__meta-sep {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.45);
}

@keyframes mxCtaIn {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 767px) {
  .mx-cta-banner.btnnnnn_sec {
    padding: 56px 16px !important;
    margin-bottom: 60px;
  }

  .mx-cta-banner__btn {
    width: 100%;
  }

  .mx-cta-banner__meta-sep {
    display: none;
  }

  .mx-cta-banner__meta {
    flex-direction: column;
    gap: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .mx-cta-banner__inner {
    animation: none !important;
  }

  .mx-cta-banner__btn:hover {
    transform: none;
  }
}
