@scope (.reference-page) {



#ew-compost.ew-compost,
#ew-compost.ew-compost * {
  box-sizing: border-box !important;
  font-family: 'Montserrat', sans-serif !important;
}

#ew-compost.ew-compost {
  font-size: 16px !important;
  line-height: 1.6 !important;
}

#ew-compost.ew-compost h1,
#ew-compost.ew-compost h2,
#ew-compost.ew-compost h3,
#ew-compost.ew-compost h4 {
  margin: 0 !important;
  padding: 0 !important;
}

/* ── Hero ── */
.ew-compost-hero {
  background: linear-gradient(135deg, #0b5394 0%, #0d6bb5 100%) !important;
  padding: 56px 40px 48px !important;
  text-align: center !important;
  position: relative !important;
  overflow: hidden !important;
  margin-left:0 !important;
  margin-right:0 !important;
  width:100% !important;
  max-width:100% !important;
}

.ew-compost-hero::before,
.ew-compost-hero::after {
  content: '' !important;
  position: absolute !important;
  border-radius: 50% !important;
  pointer-events: none !important;
}

.ew-compost-hero::before {
  width: 420px !important;
  height: 420px !important;
  top: -180px !important;
  right: -120px !important;
  background: rgba(255, 255, 255, 0.08) !important;
}

.ew-compost-hero::after {
  width: 280px !important;
  height: 280px !important;
  bottom: -140px !important;
  left: -80px !important;
  background: rgba(0, 0, 0, 0.08) !important;
}

.ew-compost-hero-inner {
  position: relative !important;
  z-index: 1 !important;
  max-width: 860px !important;
  margin: 0 auto !important;
}

.ew-compost-title {
  font-size: clamp(32px, 5vw, 52px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: #00b6bd !important;
  margin-bottom: 18px !important;
}

.ew-compost-tagline {
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.92) !important;
}

/* ── Bloques ── */
.ew-compost-block {
  margin-left:0 !important;
  margin-right:0 !important;
  width:100% !important;
  max-width:100% !important;
}

.ew-compost-block.is-white { background: #ffffff !important; }
.ew-compost-block.is-light { background: #f4f8fc !important; }
.ew-compost-block.is-dark {
  background: linear-gradient(135deg, #0b2d5e 0%, #0b5394 100%) !important;
}

.ew-compost-block-inner {
  max-width: 1140px !important;
  margin: 0 auto !important;
  padding: 88px 24px !important;
}

.ew-compost-block-inner.is-narrow {
  max-width: 820px !important;
  text-align: center !important;
}

.ew-compost-w80 {
  width: 80% !important;
  max-width: 1140px !important;
  margin-left: auto !important;
  margin-right: auto !important;
}

.ew-compost-eyebrow {
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #00b6bd !important;
  margin: 0 0 14px 0 !important;
}

.ew-compost-block.is-dark .ew-compost-eyebrow {
  color: #7ee8ec !important;
}

.ew-compost-headline {
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #0b5394 !important;
  margin: 0 0 20px 0 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.04em !important;
}

.ew-compost-block.is-dark .ew-compost-headline {
  color: #ffffff !important;
}

.ew-compost-lead {
  font-size: 17px !important;
  line-height: 1.75 !important;
  color: #64748b !important;
}

.ew-compost-block.is-dark .ew-compost-lead {
  color: rgba(255, 255, 255, 0.88) !important;
}

.ew-compost-divider {
  width: 56px !important;
  height: 3px !important;
  background: #00b6bd !important;
  margin: 28px auto 0 !important;
  border-radius: 999px !important;
}

.ew-compost-intro {
  display: grid !important;
  grid-template-columns: 0.44fr 0.56fr !important;
  gap: 48px !important;
  align-items: center !important;
  margin-bottom: 56px !important;
}

.ew-compost-intro-media {
  overflow: hidden !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 48px rgba(11, 83, 148, 0.1) !important;
  background: #f4f8fc !important;
}

.ew-compost-intro-media img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
  object-fit: cover !important;
}

.ew-compost-intro-copy {
  text-align: left !important;
}

.ew-compost-intro-copy .ew-compost-headline {
  text-transform: none !important;
  letter-spacing: 0 !important;
  text-align: left !important;
  font-size: clamp(28px, 3.2vw, 40px) !important;
}

.ew-compost-intro-copy .ew-compost-tags {
  justify-content: flex-start !important;
}

.ew-compost-intro-copy .ew-compost-divider {
  margin: 28px 0 0 0 !important;
}

.ew-compost-tags {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  justify-content: center !important;
  list-style: none !important;
  margin: 28px 0 0 !important;
  padding: 0 !important;
}

.ew-compost-tag {
  display: inline-flex !important;
  align-items: center !important;
  padding: 7px 16px !important;
  border-radius: 20px !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  border: 1.5px solid #d0e4f5 !important;
  color: #0b5394 !important;
  background: #f4f9ff !important;
}

.ew-compost-tag.is-cyan {
  background: #00b6bd !important;
  border-color: #00b6bd !important;
  color: #ffffff !important;
}

.ew-compost-tag.is-eu {
  background: #0b5394 !important;
  border-color: #0b5394 !important;
  color: #ffffff !important;
}

.ew-compost-showcase {
  margin: 0 auto 88px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  box-shadow: 0 24px 60px rgba(11, 83, 148, 0.12) !important;
}

.ew-compost-showcase img {
  display: block !important;
  width: 100% !important;
  height: auto !important;
}

/* Split */
.ew-compost-block.has-split .ew-compost-block-inner {
  padding-top: 0 !important;
}

.ew-compost-split {
  display: grid !important;
  grid-template-columns: 1.2fr 0.8fr !important;
  min-height: 420px !important;
  overflow: hidden !important;
  border-radius: 12px !important;
  box-shadow: 0 16px 48px rgba(11, 83, 148, 0.1) !important;
}

.ew-compost-split.is-reverse .ew-compost-split-media { order: 2 !important; }
.ew-compost-split.is-reverse .ew-compost-split-copy { order: 1 !important; }

.ew-compost-split-media {
  overflow: hidden !important;
  min-height: 340px !important;
  background: #0b2d5e !important;
}

.ew-compost-split-media img {
  display: block !important;
  width: 100% !important;
  height: 100% !important;
  min-height: 340px !important;
  object-fit: cover !important;
}

.ew-compost-split-copy {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  padding: 48px 40px !important;
  background: #ffffff !important;
}

.ew-compost-block.is-light .ew-compost-split-copy {
  background: #f4f8fc !important;
}

.ew-compost-split-copy .ew-compost-headline {
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: clamp(24px, 2.8vw, 32px) !important;
  line-height: 1.2 !important;
  text-align: left !important;
}

.ew-compost-split-text {
  font-size: 16px !important;
  line-height: 1.75 !important;
  color: #64748b !important;
  margin: 0 !important;
}

.ew-compost-headline .is-accent {
  color: #00b6bd !important;
}

/* CTA */
.ew-compost-cta {
  text-align: center !important;
}

.ew-compost-cta-text {
  font-size: clamp(20px, 3vw, 26px) !important;
  font-weight: 600 !important;
  color: #0b5394 !important;
  margin: 0 0 28px 0 !important;
}

.ew-compost-cta-btn {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 16px 36px !important;
  background: #00b6bd !important;
  color: #ffffff !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  letter-spacing: 0.06em !important;
  text-transform: uppercase !important;
  text-decoration: none !important;
  border-radius: 999px !important;
  transition: background 0.2s ease, transform 0.2s ease !important;
}

.ew-compost-cta-btn:hover {
  background: #009aa0 !important;
  transform: translateY(-2px) !important;
  color: #ffffff !important;
}

@media (max-width: 992px) {
  .ew-compost-intro {
    grid-template-columns: 1fr !important;
    gap: 32px !important;
    margin-bottom: 40px !important;
  }

  .ew-compost-split {
    grid-template-columns: 1fr !important;
    min-height: 0 !important;
  }

  .ew-compost-split.is-reverse .ew-compost-split-media,
  .ew-compost-split.is-reverse .ew-compost-split-copy {
    order: unset !important;
  }

  .ew-compost-split-copy {
    padding: 40px 24px !important;
  }
}

@media (max-width: 768px) {
  .ew-compost-hero {
    padding: 80px 24px 64px !important;
  }

  .ew-compost-block-inner {
    padding: 64px 20px !important;
  }

  .ew-compost-w80 {
    width: 100% !important;
  }

  .ew-compost-split-media img {
    min-height: 260px !important;
  }
}

/* Refuerzo WP — el tema pisa tipografías y márgenes */
#ew-compost.ew-compost h1.ew-compost-title {
  font-family: 'Montserrat', sans-serif !important;
  font-size: clamp(32px, 5vw, 52px) !important;
  font-weight: 700 !important;
  line-height: 1.1 !important;
  color: #00b6bd !important;
  margin: 0 0 18px 0 !important;
}

#ew-compost.ew-compost p.ew-compost-tagline {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 18px !important;
  font-weight: 400 !important;
  line-height: 1.6 !important;
  color: rgba(255, 255, 255, 0.92) !important;
  margin: 0 !important;
}

#ew-compost.ew-compost p.ew-compost-eyebrow {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  letter-spacing: 0.2em !important;
  text-transform: uppercase !important;
  color: #00b6bd !important;
  margin: 0 0 14px 0 !important;
}

#ew-compost.ew-compost .ew-compost-block.is-dark p.ew-compost-eyebrow {
  color: #7ee8ec !important;
}

#ew-compost.ew-compost h2.ew-compost-headline {
  font-family: 'Montserrat', sans-serif !important;
  font-size: clamp(28px, 4vw, 42px) !important;
  font-weight: 700 !important;
  line-height: 1.15 !important;
  color: #0b5394 !important;
  margin: 0 0 20px 0 !important;
}

#ew-compost.ew-compost .ew-compost-block.is-dark h2.ew-compost-headline {
  color: #ffffff !important;
}

#ew-compost.ew-compost p.ew-compost-lead {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 17px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  color: #64748b !important;
  margin: 0 !important;
}

#ew-compost.ew-compost .ew-compost-block.is-dark p.ew-compost-lead {
  color: rgba(255, 255, 255, 0.88) !important;
}

#ew-compost.ew-compost li.ew-compost-tag {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 11px !important;
  font-weight: 700 !important;
  color: #0b5394 !important;
  background: #f4f9ff !important;
  border: 1.5px solid #d0e4f5 !important;
  padding: 7px 16px !important;
}

#ew-compost.ew-compost li.ew-compost-tag.is-eu {
  background: #0b5394 !important;
  border-color: #0b5394 !important;
  color: #ffffff !important;
}

#ew-compost.ew-compost li.ew-compost-tag.is-cyan {
  background: #00b6bd !important;
  border-color: #00b6bd !important;
  color: #ffffff !important;
}

#ew-compost.ew-compost p.ew-compost-split-text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 16px !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
  color: #64748b !important;
  margin: 0 !important;
}

#ew-compost.ew-compost p.ew-compost-cta-text {
  font-family: 'Montserrat', sans-serif !important;
  font-size: clamp(20px, 3vw, 26px) !important;
  font-weight: 600 !important;
  color: #0b5394 !important;
  margin: 0 0 28px 0 !important;
}

#ew-compost.ew-compost a.ew-compost-cta-btn {
  font-family: 'Montserrat', sans-serif !important;
  font-size: 14px !important;
  font-weight: 700 !important;
  color: #ffffff !important;
  padding: 16px 36px !important;
}

#ew-compost.ew-compost .ew-compost-block-inner {
  padding: 88px 24px !important;
}

#ew-compost.ew-compost .ew-compost-split-copy {
  padding: 48px 40px !important;
}

#ew-compost.ew-compost .ew-compost-intro-copy h2.ew-compost-headline {
  font-size: clamp(28px, 3.2vw, 40px) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  margin: 0 0 20px 0 !important;
}

#ew-compost.ew-compost .ew-compost-split-copy h2.ew-compost-headline {
  font-size: clamp(24px, 2.8vw, 32px) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  line-height: 1.2 !important;
  text-align: left !important;
  margin: 0 0 20px 0 !important;
}

}
