@font-face {
  font-family: "Newsreader";
  src: url("https://dkumiip2e9ary.cloudfront.net/xalok/heraldo/especiales/eclipse/fonts/Newsreader-VF.woff2")
    format("woff2");
  font-style: normal;
  font-weight: 200 800;
  font-display: swap;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Petrona", serif !important;
  background-color: #000;
  color: white !important;
}
.c-detail__content {
  margin: 0 auto !important;
  background-color: #000 !important;
}
.c-paragraph {
  margin: 0 auto 2rem !important;
  max-width: 75rem !important;
  font-family: "Petrona", serif !important;
  font-size: 2rem !important;
  line-height: 1.4 !important;
  font-weight: 400 !important;
  color: #fff !important;
  text-align: center !important;
}
.c-paragraph__title,
.composite-related h2 {
  font-family: "Newsreader", serif !important;
  font-size: 3rem !important;
  font-weight: 400 !important;
  color: #fff !important;
}
.composite-related.composite-related-slider h1.titulo_home {
  position: absolute;
  bottom: 0;
  padding: 1rem;
  background-color: #0000006b;
  font-weight: 500 !important;
  width: 100% !important;
  justify-content: flex-start !important;
}
.composite-related.composite-related-slider h1.titulo_home a {
  color: #fff !important;
  font-family: Petrona, serif !important;
  font-size: 3rem !important;
  line-height: 3.5rem !important;
  font-weight: 500 !important;
}
article.c-detail--special .c-detail__data {
  display: none;
}

.composite-enhanced.design-overimagen .article-enhanced .hgroup-enhanced {
  padding: 1.5rem 4rem !important;
}
.composite-related.composite-related-slider .credits {
  display: none !important;
}

.article-simple .articleModule .articleModuleContent .article-details .title a {
  font-size: 2.5rem !important;
}
.article-rel {
  margin-top: 5rem;
  text-align: center;
}
.article-rel a {
  margin-top: 2rem;
  font-family: "Petrona", serif;
  font-size: 2.5rem;
  line-height: 3rem;
  font-weight: 400;
  color: #fff;
  text-align: center;
}
.article-rel a:hover {
  text-decoration: underline;
}

.title-big {
  margin-bottom: 2rem;
  font-family: "Newsreader", serif;
  font-size: 3rem;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

.eclipse-apertura {
  width: 100%;
  max-height: 100vh;
  margin-bottom: 2rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2rem;
  justify-content: center;
  position: relative;
}
.eclipse-apertura figure {
  height: auto !important;
}
.eclipse-apertura picture {
  display: block;
}
.eclipse-apertura > div {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  max-width: 80rem;
  padding: 0 1rem;
  position: absolute;
  top: 60%; 
  left: 50%;
  transform: translate(-50%, -50%);
}
.eclipse-apertura:after {
  content: "";
  display: inline-block;
  margin-top: 5rem;
  width: 10%;
  height: 0.15rem;
  background-color: #fff;
}
.eclipse-apertura h1 {
  font-size: 6rem;
  text-align: center;
  margin: 0;
}
.eclipse-apertura p {
  font-size: 2rem;
  line-height: 1.4;
  text-align: center;
  max-width: 75rem;
  margin: 0;
}

.anclas-eclipse {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
  justify-content: center;
  list-style: none;
  padding: 3rem 0;
}
.anclas-eclipse li {
  width: 80%;
  max-width: 28rem;
}
.anclas-eclipse a {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: .5rem;
  border: .1rem solid #fff;
  border-radius: 1rem;
}
.anclas-eclipse a:hover {
  box-shadow: 0rem 0rem 2rem 1rem rgba(255,255,255,0.5);
}
.anclas-eclipse .btn-icon {
  width: 6rem;
  height: 6rem;
}
.anclas-eclipse .btn-txt {
  display: flex;
  flex-direction: column;
  gap: .5rem;
}
.anclas-eclipse span {
  font-family: 'Manrope', sans-serif;
  font-size: 1.4rem;
  line-height: 1;
  font-weight: 900;
  color: #d60713;
}
.anclas-eclipse h6 {
  font-family: "Petrona", serif;
  font-size: 2.4rem;
  line-height: 1;
  font-weight: 600;
  color: #fff;
}

.ancla {
  scroll-margin-top: 10rem;
}

/* Clase genérica para las secciones scrolly */
.scrolly-container {
  position: relative;
  padding: 1rem;
  margin-bottom: 4rem;
}
figure.scroll-figure {
  position: sticky;
  left: 0;
  width: 100%;
  margin: 0;
  background-color: #000;
  z-index: 0;
  overflow: hidden;
}
figure.scroll-figure picture {
  display: contents;
}
figure.scroll-figure img {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 0.3s ease-in-out;
}
figure.scroll-figure img.is-visible {
  opacity: 1;
}
.scroll-article {
  position: relative;
  padding: 0;
  margin: 0 auto;
  z-index: 1;
}
.step {
  margin: 0 auto 15vh 50vw;
  display: flex;
  align-items: center;
  justify-content: center;
}
.step p {
  text-align: center;
  padding: 2rem;
  background-color: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(5px);
  color: #fff;
  width: 60%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition: all 0.2s ease;
  font-family: "Petrona", serif;
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 400;
}
.step.is-active p {
  background-color: rgba(255, 255, 255, 0.65);
  color: #000;
}

.horizontal-container {
  height: 400vh;
  position: relative;
}

.sticky {
  position: sticky;
  top: 10rem;
  height: 100vh;
  width: 100%;
  overflow: hidden;
  -webkit-overflow-scrolling: touch; 
}

.sticky p {
  max-width: 99rem;
  margin: 0 auto;
  padding: 1rem;
  font-family: 'Manrope', sans-serif;
  font-size: 2rem;
  line-height: 1.2;
  font-weight: 400;
  color: #fff;
  text-align: center;
}

.horizontal {
  display: flex;
  will-change: transform;
  padding-left: 10vw;
}

.panel {
  width: 80vw;
  flex-shrink: 0;
  padding: 0 5vw;
}

.horizontal .panel p {
  font-family: "Petrona", serif;
  font-size: 2rem;
  line-height: 1.4;
  font-weight: 400;
  text-align: center;
}

.card img {
  width: 80%;
  height: auto;
  border-radius: 2rem;
}
#hor {
  display: flex;
  will-change: transform;
  backface-visibility: hidden;
  perspective: 1000;
  transition: none !important; 
}

@media (min-width: 768px) {
  .anclas-eclipse {
    flex-direction: row;
  }
  .ancla {
    scroll-margin-top: 5rem;
  }
  .title-big {
    font-size: 6rem;
  }
  .article-simple .articleModule .articleModuleContent .article-details .title a {
    font-size: 3.8rem !important;
    line-height: 4.2rem !important;
  }
  .article-rel {
    margin-top: -10rem;
    margin-bottom: 2rem;
  }
  .article-rel a {
    font-size: 3.8rem;
    line-height: 4.2rem;
  }
}

@media (min-width: 900px) {
  .article-rel {
    margin-top: -20rem;
    margin-bottom: 2rem;
  }
}

@media (max-width: 900px) {
  .eclipse-apertura > div {
    position: relative;
    top: auto;
    left: auto;
    transform: none;
  }
  .c-paragraph__title, 
  .composite-related h2 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }
  .sticky p {
    font-size: 1.5rem;
  }
  .composite-related.composite-related-slider h1.titulo_home a {
    font-size: 2rem !important;
    line-height: 2.5rem !important;
  }
}

@media (max-width: 600px) {
  
  .eclipse-apertura h1 {
    font-size: 3.5rem;
  }
  .eclipse-apertura p {
    font-size: 1.7rem;
    line-height: 1.3;
  }
  .c-paragraph__title,
  .composite-related h2 {
    font-size: 2rem !important;
    line-height: 1.2 !important;
  }
  .scrolly-container {
    padding: 0;
  }
  figure.scroll-figure {
    top: 0 !important;
    height: 100vh !important;
  }
  .scroll-article {
    max-width: 85%;
  }
  .step {
    margin: 0 auto 15vh auto;
  }
  .step p {
    width: 90%;
    padding: 1rem;
    font-size: 1.5rem;
  }
  .sticky h3 {
    margin-top: 2rem;
    margin-bottom: 3rem;
    font-size: 2.2rem;
  }
  .sticky {
    top: 20vh;
  }
  .panel {
    width: 100vw;
    padding: 0;
  }
  .horizontal .panel p {
    font-size: 1.5rem;
  }
  .card {
    padding: 0 2rem;
  }
  .card img {
    width: 100%;
  }
}

body .c-detail__embed {
  overflow: visible;
}

@media (min-width: 1420px) {
  .panel {
    padding: 0 5vw;
    margin-top: -1rem;
  }
  .panel p {
    margin-top: -4rem;
  }
}






