:root {
  --stf-hero-blue: #0f6fbf;
  --stf-hero-blue-dark: #0b4f87;
  --stf-hero-bg: #f5f6f9;
  --stf-hero-text: #1c2533;
  --stf-hero-muted: #5e6776;
  --stf-hero-shadow: 0 25px 60px rgba(15, 31, 50, 0.18);
}

body.home {
  background: var(--stf-hero-bg);
}

.stf-hero {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto 20px;
  padding: 0 24px;
}

.stf-hero__stage {
  position: relative;
}

.stf-hero__image-wrapper {
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 18px 45px rgba(15, 31, 50, 0.25);
}

.stf-hero__image {
  width: 100%;
  display: block;
  object-fit: cover;
  max-height: 520px;
}

.stf-hero__card {
  position: absolute;
  top: 42px;
  left: -70px;
  width: clamp(320px, 35vw, 420px);
  background: #ffffff;
  border-radius: 24px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: var(--stf-hero-shadow);
  display: flex;
  flex-direction: column;
  gap: 18px;
  color: var(--stf-hero-text);
}

.stf-hero__card::before {
  content: "";
  position: absolute;
  pointer-events: none;
  inset: 18px 24px auto auto;
  width: 220px;
  height: 260px;
  background: url("../../uploads/2025/11/photo-8c8e0ba929.svg") no-repeat center;
  background-size: contain;
  opacity: 0.08;
}

.stf-hero__brand-row {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  width: 100%;
}

.stf-hero__logo-img {
  width: 100%;
  height: auto;
  display: block;
}

.stf-hero__tagline {
  margin: 0;
  font-size: 22px;
  line-height: 1.6;
  color: var(--stf-hero-muted);
}

.stf-hero__cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  padding: 14px 32px;
  border-radius: 999px;
  background: #1270b5;
  color: #ffffff;
  text-decoration: none;
  font-size: 16px;
  font-weight: 600;
  box-shadow: 0 10px 25px rgba(18, 112, 181, 0.25);
  border: none;
  transition: background 0.25s ease, transform 0.25s ease;
}

.stf-hero__cta:hover {
  background: #0d5a8f;
  transform: translateY(-1px);
}

.stf-hero__cta:active {
  transform: translateY(1px);
}

@media (max-width: 1024px) {
  .stf-hero__card {
    left: -30px;
  }
}

@media (max-width: 768px) {
  .stf-hero {
    margin-top: 132px;
  }

  .stf-hero__card {
    position: relative;
    left: auto;
    top: -30px;
    margin: 0 auto;
    width: calc(100% - 48px);
  }
}

@media (max-width: 520px) {
  .stf-hero__card {
    padding: 24px;
  }

  .stf-hero__tagline {
    max-width: none;
  }
}

/* Featured text block row */
#tydr {
  position: relative;
  overflow: hidden;
  box-sizing: border-box;
  padding: clamp(40px, 0vw, 0px) clamp(0px, 0vw, 0px) !important;
  left: 0 !important;
  width: 100% !important;
  max-width: 100% !important;
}

#tydr::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top left, rgba(18, 112, 181, 0.08), transparent 55%);
}

#tydr::after {
  content: "";
  position: absolute;
  top: 50%;
  right: clamp(10px, 5vw, 80px);
  transform: translateY(-50%) rotate(90deg);
  height: calc(100% - clamp(40px, 6vw, 80px));
  width: min(620px, calc(100% - clamp(40px, 6vw, 80px)));
  background: url("../../uploads/2025/11/photo-6d9e8401a7.svg") no-repeat center / contain;
  opacity: 0.056;
  pointer-events: none;
}

#tydr>.wpb_column {
  position: relative;
  z-index: 1;
}

@media (min-width: 1024px) {
  #tydr .wpb_wrapper>div[style*="display: flex"] {
    flex-wrap: nowrap !important;
  }

  #tydr .wpb_wrapper>div[style*="display: flex"]>div {
    flex: 1 1 0 !important;
    min-width: 0 !important;
  }
}

/* TSP section background */
#tsp,
.tsp {
  position: relative;
  overflow: hidden;
  padding: clamp(40px, 4vw, 70px) clamp(18px, 4vw, 60px) !important;
  background: transparent;
}

#tsp::before,
.tsp::before {
  content: "";
  position: absolute;
  top: 50%;
  left: clamp(10px, 4vw, 70px);
  transform: translateY(-50%) rotate(-16deg);
  width: clamp(360px, 50vw, 840px);
  aspect-ratio: 1 / 0.55;
  background: url("../../uploads/2025/11/photo-e8b142c1e6.svg") no-repeat left center / contain;
  opacity: 0.1;
  pointer-events: none;
}

#tsp>.wpb_wrapper,
.tsp>.wpb_wrapper,
#tsp>.wpb_column,
.tsp>.wpb_column {
  position: relative;
  z-index: 1;
}