/* Strudle CTA Final Widget */
.sos-cta-final-widget,
.sos-cta-final-widget * {
  box-sizing: border-box;
}

.sos-cta-final-widget.cta-final {
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  isolation: isolate;
  padding: 70px 24px 62px;
  background-image: var(--sos-cta-bg);
  background-position: var(--sos-cta-bg-position, center center);
  background-size: cover;
  background-repeat: no-repeat;
}

.sos-cta-final-widget.cta-final::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image: var(--sos-cta-bg);
  background-position: var(--sos-cta-bg-position, center center);
  background-size: cover;
  background-repeat: no-repeat;
}

/* rozjaśniająca mgiełka nad zdjęciem jak w HTML */
/* .sos-cta-final-widget.cta-final::after { */
  /* content: ""; */
  /* position: absolute; */
  /* inset: 0; */
  /* z-index: -1; */
  /* background: */
    /* radial-gradient( */
      /* ellipse var(--sos-cta-glow, 760px) 340px at 50% 56%, */
      /* rgba(255, 255, 255, calc(var(--sos-cta-overlay, .76) * 1)) 0%, */
      /* rgba(255, 255, 255, calc(var(--sos-cta-overlay, .76) * .92)) 31%, */
      /* rgba(255, 255, 255, calc(var(--sos-cta-overlay, .76) * .58)) 56%, */
      /* rgba(255, 255, 255, calc(var(--sos-cta-overlay, .76) * .22)) 76%, */
      /* rgba(255, 255, 255, 0) 100% */
    /* ), */
    /* linear-gradient( */
      /* 180deg, */
      /* rgba(255, 255, 255, .08) 0%, */
      /* rgba(255, 255, 255, .52) 48%, */
      /* rgba(255, 255, 255, .24) 100% */
    /* ); */
  /* pointer-events: none; */
}

.sos-cta-final-widget .container {
  width: 100%;
  margin: 0 auto;
  text-align: center;
}

.sos-cta-final-widget .cta-glow {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  margin: 0 auto;
}

.sos-cta-final-widget .cta-logo {
  display: block;
  height: auto;
  margin: 0 auto 22px;
}

.sos-cta-final-widget .cta-glow h2 {
  margin: 0 0 18px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 46px;
  line-height: 1.1;
  font-weight: 400;
  color: #101E39;
}

.sos-cta-final-widget .cta-glow p {
  margin: 0 auto;
  max-width: 980px;
  font-family: "Lato", Arial, sans-serif;
  font-size: 19px;
  line-height: 1.45;
  font-weight: 700;
  color: #101E39;
}

.sos-cta-final-widget .buttons {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 32px;
}

.sos-cta-final-widget .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 0 26px;
  border: 1px solid #101E39;
  border-radius: 0;
  font-family: "Lato", Arial, sans-serif;
  font-size: 12px;
  line-height: 1;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  text-decoration: none !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.sos-cta-final-widget .btn.primary {
  background: #101E39;
  border-color: #101E39;
  color: #fff;
}

.sos-cta-final-widget .btn.secondary {
  background: rgba(255, 255, 255, .44);
  border-color: #101E39;
  color: #101E39;
}

.sos-cta-final-widget .btn.primary:hover,
.sos-cta-final-widget .btn.primary:focus {
  background: #C69A55;
  border-color: #C69A55;
  color: #fff;
}

.sos-cta-final-widget .btn.secondary:hover,
.sos-cta-final-widget .btn.secondary:focus {
  background: #101E39;
  border-color: #101E39;
  color: #fff;
}

@media (max-width: 1024px) {
  .sos-cta-final-widget.cta-final {
    padding: 64px 22px 56px;
  }

  .sos-cta-final-widget.cta-final::after {
    background:
      radial-gradient(
        ellipse min(90vw, var(--sos-cta-glow, 720px)) 330px at 50% 57%,
        rgba(255, 255, 255, calc(var(--sos-cta-overlay, .76) * 1)) 0%,
        rgba(255, 255, 255, calc(var(--sos-cta-overlay, .76) * .92)) 34%,
        rgba(255, 255, 255, calc(var(--sos-cta-overlay, .76) * .50)) 67%,
        rgba(255, 255, 255, 0) 100%
      );
  }
}

@media (max-width: 767px) {
  .sos-cta-final-widget.cta-final {
    padding: 56px 18px 50px;
    background-position: center center;
  }

  .sos-cta-final-widget .cta-glow h2 {
    font-size: 34px;
    line-height: 1.12;
  }

  .sos-cta-final-widget .cta-glow p {
    font-size: 16px;
    line-height: 1.55;
    font-weight: 700;
  }

  .sos-cta-final-widget .buttons {
    flex-direction: column;
    gap: 12px;
    margin-top: 26px;
  }

  .sos-cta-final-widget .btn {
    width: min(280px, 100%);
  }
}
