/* ============================================
   WC TAX HERO
   Widget:    webc-wc-tax-hereo
   Categoría: webc-taxonomias
   BEM:       anidado con & para evitar repetir .wc-tax-hereo
   Tokens:    --webc__* del child theme
   ============================================ */
.wc-tax-hereo {
  position: relative;
  padding: var(--webc__section-padding-y);
  background-color: var(--webc__color-primary);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}
.wc-tax-hereo__overlay {
  position: absolute;
  inset: 0;
  background: transparent;
  background-image: linear-gradient(90deg, #FFFFFFE3 29%, #FFFFFF94 100%);
  opacity: 1;
  z-index: 1;
  pointer-events: none;
}
.wc-tax-hereo__container {
  position: relative;
  z-index: 2;
  max-width: var(--webc__container-max-width);
  margin: 0 auto;
}
.wc-tax-hereo__content {
  max-width: 720px;
}
.wc-tax-hereo__breadcrumbs {
  font-family: var(--webc__font-text);
  font-size: var(--webc__font-size-sm);
  color: var(--webc__color-white);
  margin-bottom: var(--webc__spacing-md);
  opacity: 0.95;
  color: var(--webc__color-black);
}
.wc-tax-hereo__titulo {
  font-family: var(--webc__font-display);
  font-size: var(--webc__font-size-hero);
  font-weight: var(--webc__font-weight-bold);
  color: var(--webc__color-primary);
  margin: 0 0 var(--webc__spacing-md) 0;
  line-height: var(--webc__line-height-hero);
}
.wc-tax-hereo__descripcion {
  font-family: var(--webc__font-text);
  font-size: var(--webc__font-size-lg);
  color: var(--webc__color-white);
  line-height: var(--webc__line-height-relaxed);
  margin: 0;
  opacity: 0.95;
}
.wc-tax-hereo__paragraph {
  margin: 0 0 var(--webc__spacing-sm) 0;
}
.wc-tax-hereo__paragraph:last-child {
  margin-bottom: 0;
}
.wc-tax-hereo--has-image .wc-tax-hereo__titulo,
.wc-tax-hereo--has-image .wc-tax-hereo__descripcion {
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.35);
}
@media (max-width: 1024px) {
  .wc-tax-hereo__titulo {
    font-size: var(--webc__font-size-3xl);
    line-height: var(--webc__line-height-tight);
  }
}
@media (max-width: 767px) {
  .wc-tax-hereo__titulo {
    font-size: var(--webc__font-size-2xl);
  }
  .wc-tax-hereo__descripcion {
    font-size: var(--webc__font-size-md);
  }
}
