/* Info Gualeguaychú 5.01. El apilado depende de CSS sticky, no de animaciones JS. */
.ig-home-chapters {
  --ig-stack-top: 8rem;
  --ig-stack-bottom: 0rem;
  width: min(calc(100% - 2rem), 84rem);
  margin: 1.25rem auto 3rem;
  position: relative;
  isolation: isolate;
  overflow: visible;
  z-index: 10;
}
.ig-home-chapters__stage {
  display: block;
  position: relative;
  overflow: visible;
}
.ig-home-chapter {
  position: -webkit-sticky;
  position: sticky;
  top: var(--ig-stack-top);
  z-index: var(--ig-stack-layer, 1);
  width: 100%;
  height: max(19rem, calc(100svh - var(--ig-stack-top) - var(--ig-stack-bottom) - .75rem));
  min-height: 0;
  margin: 0 0 .75rem;
  isolation: isolate;
  display: flex;
  align-items: center;
  overflow: hidden;
  border-radius: 1.75rem;
  background: #071629;
  color: #fff;
  box-shadow: 0 .75rem 2rem rgba(3, 20, 39, .13);
  scroll-margin-top: var(--ig-stack-top);
}
.ig-home-chapter__image,
.ig-home-chapter__pattern,
.ig-home-chapter__shade {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
  pointer-events: none;
}
.ig-home-chapter__image { object-fit: cover; z-index: 0; }
.ig-home-chapter__pattern {
  z-index: 0;
  background: radial-gradient(circle at 65% 45%, transparent 0 14%, rgba(203, 165, 93, .17) 14.5% 15%, transparent 15.5% 24%, rgba(203, 165, 93, .1) 24.5% 25%, transparent 25.5%),
              repeating-linear-gradient(135deg, transparent 0 3rem, rgba(203, 165, 93, .045) 3rem 3.06rem), #101627;
}
.ig-home-chapter__shade {
  z-index: 1;
  background: linear-gradient(90deg, rgba(2, 15, 34, .91), rgba(2, 15, 34, .68) 45%, rgba(3, 15, 28, .25)),
              linear-gradient(0deg, rgba(1, 8, 20, .48), transparent 72%);
}
.ig-home-chapter__content {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 50rem;
  padding: clamp(1.65rem, 5vw, 4.25rem);
}
#contenido .ig-home-chapter__content h2 {
  color: #fff;
  font-size: clamp(2.1rem, 4.15vw, 4.3rem);
  line-height: 1.07;
  letter-spacing: -.035em;
  font-weight: 670;
  max-width: 17ch;
  text-wrap: balance;
  margin: 0 0 1rem;
}
.ig-home-chapter__content p {
  color: #f0f4fb;
  font-size: clamp(1rem, 1.45vw, 1.2rem);
  line-height: 1.5;
  max-width: 38rem;
  margin: 0 0 1.9rem;
}
.ig-home-chapter__content a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: .8rem 1.45rem;
  border-radius: 99rem;
  border: 1px solid rgba(255, 255, 255, .94);
  background: rgba(7, 17, 40, .19);
  color: #fff;
  text-decoration: none;
  font-size: .95rem;
  font-weight: 650;
  transition: color .2s, background .2s;
}
.ig-home-chapter__content a:hover,
.ig-home-chapter__content a:focus-visible { color: #08214a; background: #fff; }
.ig-home-chapter--comercios .ig-home-chapter__shade { background: linear-gradient(90deg, rgba(5, 23, 40, .88), rgba(3, 22, 38, .24)); }
.ig-home-chapter--casino .ig-home-chapter__shade { background: linear-gradient(90deg, rgba(5, 8, 20, .92), rgba(5, 8, 20, .38)); }

/* El efecto nativo también funciona con la opción de reducir movimiento. */
@media (prefers-reduced-motion: reduce) {
  .ig-home-chapter__content a { transition: none; }
}
@media (max-width: 48rem) {
  .ig-home-chapters { width: calc(100% - 1.1rem); margin: .55rem auto 2rem; }
  .ig-home-chapter { border-radius: 1.2rem; }
  .ig-home-chapter__content { padding: clamp(1.15rem, 5vw, 1.75rem); }
  #contenido .ig-home-chapter__content h2 { font-size: clamp(1.85rem, 7.8vw, 2.8rem); max-width: 14ch; margin-bottom: .75rem; }
  .ig-home-chapter__content p { font-size: clamp(.9rem, 3.7vw, 1.05rem); line-height: 1.44; margin-bottom: 1.35rem; }
  .ig-home-chapter__shade { background: linear-gradient(0deg, rgba(2, 12, 29, .9), rgba(2, 12, 29, .42) 90%); }
}
@media (max-height: 43rem) {
  .ig-home-chapter__content { padding: 1.1rem 1.4rem; }
  #contenido .ig-home-chapter__content h2 { font-size: clamp(1.6rem, 4.7vh, 2.45rem); line-height: 1.08; margin-bottom: .5rem; }
  .ig-home-chapter__content p { font-size: .89rem; line-height: 1.33; margin-bottom: .8rem; }
  .ig-home-chapter__content a { padding: .57rem 1rem; }
}
@supports not (position: sticky) {
  .ig-home-chapter { position: relative; height: auto; min-height: 27rem; }
}
/* Los clusters siguen siendo interactivos pero no forman parte del apilado. */
.ig-min-services { overflow: visible; }
.ig-min-home .ig-min-services > a { position: relative; transition: transform .2s, box-shadow .2s; }
@media (hover: hover) and (prefers-reduced-motion: no-preference) {
  .ig-min-home .ig-min-services > a:hover { transform: scale(1.025); z-index: 2; box-shadow: 0 .75rem 1.5rem rgba(4, 23, 45, .1); }
}
