/*========================================
/*        SWC BLOG CTA BLOCK
/*========================================*/

.swc-post-cta {
  position: relative;
  overflow: hidden;
  margin: 42px 0;
  padding: clamp(28px, 4vw, 46px);
  background: linear-gradient(135deg, #1d2833 0%, #111923 100%);
  border-left: 6px solid #f5a000;
  border-radius: 2px;
  color: #ffffff;
  box-shadow: 0 18px 40px rgba(17, 25, 35, 0.16);
}

.swc-post-cta::before {
  content: "";
  position: absolute;
  top: -70px;
  right: -70px;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(245, 160, 0, 0.28);
  border-radius: 50%;
}

.swc-post-cta::after {
  content: "";
  position: absolute;
  right: 32px;
  bottom: 28px;
  width: 90px;
  height: 90px;
  background-image: radial-gradient(rgba(255, 255, 255, 0.18) 1px, transparent 1px);
  background-size: 10px 10px;
  opacity: 0.45;
}

.swc-post-cta > * {
  position: relative;
  z-index: 1;
}

.swc-post-cta .swc-post-cta__eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0 0 14px;
  padding: 6px 11px;
  border: 1px solid rgba(255, 255, 255, 0.32);
  color: #ffffff;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  line-height: 1;
  text-transform: uppercase;
}

.swc-post-cta .swc-post-cta__eyebrow::before {
  content: "";
  width: 8px;
  height: 14px;
  background: #f5a000;
}

.swc-post-cta h3 {
  max-width: 780px;
  margin: 0 0 14px;
  color: #ffffff;
  font-size: clamp(26px, 3vw, 40px);
  font-weight: 800;
  line-height: 1.08;
}

.swc-post-cta > p:not(.swc-post-cta__eyebrow) {
  max-width: 760px;
  margin: 0 0 24px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
  line-height: 1.65;
}

.swc-post-cta .swc-post-cta__button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 15px 24px;
  background: #f5a000;
  color: #111923;
  font-size: 15px;
  font-weight: 800;
  line-height: 1;
  text-decoration: none;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  transition: transform 0.25s ease, background-color 0.25s ease, color 0.25s ease;
}

.swc-post-cta .swc-post-cta__button:hover,
.swc-post-cta .swc-post-cta__button:focus {
  background: #ffffff;
  color: #111923;
  transform: translateY(-2px);
  text-decoration: none;
}

/*========================================
/*        SWC BLOG CTA LIGHT VERSION
/*========================================*/

.swc-post-cta.swc-post-cta--light {
  background: #ffffff;
  border: 1px solid rgba(17, 25, 35, 0.12);
  border-left: 6px solid #f5a000;
  color: #1d2833;
  box-shadow: 0 16px 34px rgba(17, 25, 35, 0.08);
}

.swc-post-cta.swc-post-cta--light::before {
  border-color: rgba(245, 160, 0, 0.22);
}

.swc-post-cta.swc-post-cta--light::after {
  background-image: radial-gradient(rgba(17, 25, 35, 0.15) 1px, transparent 1px);
}

.swc-post-cta.swc-post-cta--light .swc-post-cta__eyebrow {
  border-color: rgba(17, 25, 35, 0.22);
  color: #1d2833;
}

.swc-post-cta.swc-post-cta--light h3 {
  color: #1d2833;
}

.swc-post-cta.swc-post-cta--light > p:not(.swc-post-cta__eyebrow) {
  color: rgba(29, 40, 51, 0.78);
}

.swc-post-cta.swc-post-cta--light .swc-post-cta__button {
  background: #1d2833;
  color: #ffffff;
}

.swc-post-cta.swc-post-cta--light .swc-post-cta__button:hover,
.swc-post-cta.swc-post-cta--light .swc-post-cta__button:focus {
  background: #f5a000;
  color: #111923;
}

/*========================================
/*        RESPONSIVE
/*========================================*/

@media (max-width: 767px) {
  .swc-post-cta {
    margin: 32px 0;
    padding: 26px 22px;
  }

  .swc-post-cta h3 {
    font-size: 28px;
  }

  .swc-post-cta > p:not(.swc-post-cta__eyebrow) {
    font-size: 16px;
  }

  .swc-post-cta .swc-post-cta__button {
    width: 100%;
  }
}
