/* Bloque hero editorial (referencia Townhouses / crema + piedra + naranja) */

.wpo-hero-slider-s3 {
  height: 100vh;
  min-height: 700px;
  position: relative;
  overflow: hidden;
}

.wpo-hero-slider-s3 .swiper-container,
.wpo-hero-slider-s3 .swiper-wrapper,
.wpo-hero-slider-s3 .swiper-slide,
.wpo-hero-slider-s3 .slide-inner {
  height: 100%;
  width: 100%;
}

.wpo-hero-slider-s3 .slide-inner {
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
  padding: 0 !important;
}

/* Caja Crema Flotante a la derecha */
.wpo-hero-slider-s3 .slide-inner .sub-title.g6-hero-subtitle-block {
  max-width: min(100%, 28rem);
  min-height: 176px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  right: 3% !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  margin-left: auto;
  margin-right: 0;
  padding: 20.25px 22.5px 22.5px;
  background-color: var(--g6-cream, #e1ded0) !important;
  border: 1px solid rgba(255, 255, 255, 0.5);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  z-index: 9;
}

/* Título dentro de la tarjeta editorial */
.wpo-hero-slider-s3 .slide-inner .g6-hero-subtitle-block h2 {
  font-family: var(--g6-font, "Montserrat", sans-serif) !important;
  font-size: var(--g6-type-card-title, 1.6rem) !important;
  font-weight: 600 !important;
  line-height: 1.2 !important;
  color: var(--g6-stone, #726c63) !important;
  text-align: left !important;
  letter-spacing: -0.01em !important;
  margin-bottom: 0.75rem;
}

@media (max-width: 991px) {
  .wpo-hero-slider-s3 .slide-inner .sub-title.g6-hero-subtitle-block {
    top: auto !important;
    bottom: 5% !important;
    transform: none !important;
    margin-top: 0;
    max-width: 100%;
    margin-left: 0;
  }

  .wpo-hero-slider-s3 .slide-inner .g6-hero-subtitle-block h2 {
    text-align: left !important;
  }
}

.wpo-hero-slider-s3 .slide-inner .sub-title.g6-hero-subtitle-block p {
  color: var(--g6-stone, #726c63) !important;
  font-family: var(--g6-font, "Montserrat", sans-serif) !important;
  font-size: 15px !important;
  font-weight: 400 !important;
  line-height: 1.5 !important;
  margin: 0 !important;
  letter-spacing: 0.01em !important;
  text-wrap: pretty;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body.g6-brand .wpo-hero-slider-s3 .slide-content .sub-title .theme-btn.g6-hero-subtitle-cta,
body.g6-brand .wpo-hero-slider-s3 .slide-content .g6-hero-subtitle-block a.theme-btn {
  display: inline-block;
  width: auto;
  max-width: 100%;
  margin-top: 0.25rem;
  margin-bottom: 0;
  padding: 0 0 0.35rem 0;
  background: none !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  color: var(--g6-stone, #726c63) !important;
  font-family: var(--mariategui-font, "Montserrat", sans-serif) !important;
  font-size: 0.68rem !important;
  font-weight: 600;
  line-height: 1.2;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  text-decoration: none;
  border-bottom: 3px solid var(--g6-orange, #fe3b1f) !important;
  transition: color 0.2s ease, border-color 0.2s ease, letter-spacing 0.2s ease;
}

body.g6-brand .wpo-hero-slider-s3 .slide-content .sub-title .theme-btn.g6-hero-subtitle-cta:hover,
body.g6-brand .wpo-hero-slider-s3 .slide-content .g6-hero-subtitle-block a.theme-btn:hover {
  background: none !important;
  color: var(--g6-orange, #fe3b1f) !important;
  border-bottom-color: #e23018 !important;
  letter-spacing: 0.18em;
}

body.g6-brand .wpo-hero-slider-s3 .slide-content .sub-title .theme-btn.g6-hero-subtitle-cta:focus-visible,
body.g6-brand .wpo-hero-slider-s3 .slide-content .g6-hero-subtitle-block a.theme-btn:focus-visible {
  outline: 2px solid var(--g6-orange, #fe3b1f);
  outline-offset: 4px;
}
