/* Adaptación de la portada de Soluciones: los Core Button solo aportan texto y enlace. */
/* C3: las secciones ocupan todo el viewport; su padding original centra el contenido. */
body.production-interior .wp-block-post-content > .interior:has(> .solutions-hero),
.editor-styles-wrapper .interior.solutions-complete {
  display: block !important;
  box-sizing: border-box;
  width: 100vw !important;
  max-width: none !important;
  margin: 0 !important;
  padding: 0 !important;
}
body.production-interior .wp-block-post-content > .interior:has(> .solutions-hero) > .wf-block,
.editor-styles-wrapper .interior.solutions-complete > .wf-block {
  box-sizing: border-box;
  width: 100% !important;
  max-width: none !important;
  margin-inline: 0 !important;
  padding-inline: max(24px, calc((100% - var(--content-max)) / 2)) !important;
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero::before {
  background-image: linear-gradient(to right, rgba(255,255,255,.035) 1px, transparent 1px), linear-gradient(to bottom, rgba(255,255,255,.035) 1px, transparent 1px) !important;
  opacity: .28 !important;
}

@media (max-width: 768px) {
  :is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero {
    padding-bottom: 46px !important;
  }
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero::after {
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: auto !important;
  border-radius: 0 !important;
  filter: none !important;
  background: radial-gradient(ellipse 42% 65% at 70% 42%, rgba(147,213,0,.68) 0%, rgba(147,213,0,.42) 35%, transparent 74%), radial-gradient(ellipse 30% 50% at 85% 70%, rgba(112,185,0,.42) 0%, transparent 76%) !important;
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions {
  display: flex !important;
  flex-wrap: wrap !important;
  align-items: center !important;
  gap: 1rem !important;
  margin: 1.5rem 0 0 !important;
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions > .wp-block-button,
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions > .wp-block-button:is(:hover,:focus-within,:active) {
  position: static !important;
  display: block !important;
  flex: 0 1 auto !important;
  width: auto !important;
  min-width: 0 !important;
  min-height: 0 !important;
  padding: 0 !important;
  margin: 0 !important;
  border: 0 !important;
  border-radius: 0 !important;
  background: transparent !important;
  box-shadow: none !important;
  transform: none !important;
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions > .wp-block-button::before,
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions > .wp-block-button::after {
  content: none !important;
  display: none !important;
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .wp-block-button__link,
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .wp-block-button__link:is(:hover,:focus-visible,:active) {
  box-sizing: border-box !important;
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  width: auto !important;
  min-width: 15.5rem !important;
  min-height: 3.25rem !important;
  padding: .75rem 4.25rem .75rem 1.25rem !important;
  margin: 0 !important;
  overflow: hidden !important;
  border: 1px solid var(--brand-lime,#93d500) !important;
  border-radius: .5rem !important;
  background-image: none !important;
  box-shadow: none !important;
  transform: none !important;
  font: 600 1rem/1.25 var(--font-main) !important;
  text-align: left !important;
  text-decoration: none !important;
  white-space: nowrap !important;
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .button-primary .wp-block-button__link,
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .button-primary .wp-block-button__link:is(:hover,:focus-visible,:active) {
  background-color: var(--brand-lime,#93d500) !important;
  color: var(--web-ink,#0c110d) !important;
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .button-secondary .wp-block-button__link,
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .button-secondary .wp-block-button__link:is(:hover,:focus-visible,:active) {
  background-color: transparent !important;
  color: #fff !important;
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .wp-block-button__link::before {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  top: 0 !important;
  bottom: 0 !important;
  right: 3rem !important;
  width: 1px !important;
  background: currentColor !important;
  opacity: .3 !important;
  transform: none !important;
  pointer-events: none !important;
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .wp-block-button__link::after {
  content: "" !important;
  display: block !important;
  position: absolute !important;
  z-index: 1 !important;
  top: 50% !important;
  right: .9rem !important;
  width: 1.25rem !important;
  height: 1.25rem !important;
  background: currentColor !important;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16m-7-7 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat !important;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.75' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M4 12h16m-7-7 7 7-7 7'/%3E%3C/svg%3E") center / contain no-repeat !important;
  transform: translateY(-50%) !important;
  pointer-events: none !important;
}
:is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .wp-block-button__link:focus-visible {
  outline: 3px solid var(--brand-lime,#93d500) !important;
  outline-offset: 3px !important;
}
@media (max-width: 768px) {
  :is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions { gap: .65rem !important; }
  :is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions > .wp-block-button { flex: 1 1 100% !important; }
  :is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .wp-block-button__link { width: 100% !important; font-size: .875rem !important; }
}

/* En móvil el halo recupera la geometría suave del prototipo C3. */
@media (max-width: 768px) {
  :is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero {
    overflow-x: clip !important;
  }
  :is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero::after {
    inset: auto !important;
    top: -12% !important;
    right: -5% !important;
    width: min(85vw, 45rem) !important;
    height: auto !important;
    aspect-ratio: 1 !important;
    border-radius: 50% !important;
    filter: blur(130px) !important;
    background: radial-gradient(circle, rgba(147,213,0,.45) 0%, rgba(183,233,74,.25) 45%, transparent 70%) !important;
  }
  :is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions > .wp-block-button {
    flex: 0 1 auto !important;
    width: auto !important;
  }
  :is(body.production-interior .interior, .editor-styles-wrapper .interior) .solutions-hero .wf-actions .wp-block-button__link {
    width: auto !important;
    max-width: 100% !important;
  }
}
