/* Itzania Base 0.2.59 — scoped presentation and accessibility corrections. */
.ipp-memorial-grid > .ipp-memorial-card,
.ipp-contacto-grid > *,
.ipp-contacto-before-grid > *,
.ipp-contacto-location-grid > *,
.ipp-companeros-grid > *,
.ipp-companeros-values > *,
.ipp-testimonios-values-grid > *,
.ipp-testimonios-context-grid > * {
  margin-block-start:0 !important;
  margin-block-end:0 !important;
  min-width:0;
  box-sizing:border-box;
}
.ipp-memorial-grid { align-items:stretch; }
.ipp-memorial-grid > .ipp-memorial-card { align-self:stretch; }
.ipp-homenaje-purpose-card,
.ipp-homenaje-step,
.ipp-homenaje-date-card { min-width:0; min-height:0; }
.ipp-homenaje-purpose-grid > *,
.ipp-homenaje-steps-grid > *,
.ipp-homenaje-timeline > * { margin-inline:0 !important; }
.ipp-companeros-card-media { min-width:0; }
.ipp-contacto-map,
.ipp-testimonios-map-frame { width:100%; min-width:0; box-sizing:border-box; }
.ipp-contacto-card h3 { font-size:clamp(1.125rem,1.45vw,1.5rem); }
.ipp-legal-contact a { color:inherit; text-decoration:underline; text-underline-offset:.18em; }
.ipp-legal-index a:hover { text-decoration:underline; }
.ipp-footer a { text-underline-offset:.18em; }
.ipp-footer a:focus-visible,
.ipp-legal-wrapper a:focus-visible,
.ipp-contacto-grid a:focus-visible,
.ipp-testimonios-embed-fallback a:focus-visible {
  outline:2px solid currentColor; outline-offset:4px;
}

/* Reduce long headings without changing the image layout or Rainbow content. */
.ipp-service-hero:not(:has(.ipp-faq-hero-visual)) > .wp-block-columns.alignwide > .wp-block-column:first-child h1 {
  font-size:clamp(2rem,3.45vw,3rem) !important;
  line-height:1.08;
  word-break:normal;
  overflow-wrap:normal;
  hyphens:auto;
}
@media(min-width:783px) {
  .ipp-service-hero:not(:has(.ipp-faq-hero-visual)) > .wp-block-columns.alignwide {
    padding:36px !important;
    min-height:560px;
  }
  .ipp-service-hero:not(:has(.ipp-faq-hero-visual)) > .wp-block-columns.alignwide > .wp-block-column:first-child {
    padding:28px 30px !important;
  }
}
@media(max-width:782px) {
  .ipp-service-hero:not(:has(.ipp-faq-hero-visual)) > .wp-block-columns.alignwide > .wp-block-column:first-child h1 {
    font-size:clamp(1.65rem,6.5vw,2.25rem) !important;
  }
}

/* Controls have usable targets while preserving the small visual indicators. */
.ipp-home-hero-dots {
  gap:4px;
  flex-wrap:wrap;
  justify-content:flex-end;
  max-width:calc(100% - 32px);
  padding:4px;
  border-radius:16px;
  background:rgba(43,37,48,.78);
}
.ipp-home-hero-dot,
.ipp-home-hero-dot.is-active {
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:44px;
  height:44px;
  flex:0 0 44px;
  border-radius:10px;
  background:transparent;
  box-shadow:none;
  transition:none;
}
.ipp-home-hero-dot::before {
  content:'';
  width:9px;
  height:9px;
  background:#fff;
  border-radius:999px;
}
.ipp-home-hero-dot.is-active::before { width:26px; }
.ipp-home-hero-toggle {
  font:inherit;
  font-size:14px;
  font-weight:600;
  min-height:44px;
  padding:8px 12px;
  border:1px solid #fff;
  border-radius:10px;
  color:#fff;
  background:transparent;
  cursor:pointer;
}
.ipp-home-hero-toggle[hidden],
.ipp-home-hero-dots[hidden] { display:none; }
.ipp-home-hero-toggle:focus-visible,
.ipp-home-hero-dot:focus-visible { outline:3px solid #fff; outline-offset:2px; }
.ipp-home-hero-slider:not([data-ipp-slider-ready="1"]) .ipp-home-hero-dots { display:none; }
@media(max-width:782px) {
  .ipp-home-hero-dots {
    left:12px !important;
    right:12px !important;
    max-width:none;
    justify-content:center;
  }
}
