/* Composición del artículo, vídeo, imágenes y animaciones de aparición. */

.article-page {
  background: var(--paper);
}
.article-page header {
  height: 100px;
}
.article-opening {
  position: relative;
  height: calc(100svh - 100px);
  min-height: 480px;
  max-height: 980px;
  background: #3b0505;
  overflow: hidden;
}
.article-opening video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.opening-shade {
  pointer-events: none;
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, #1e0d1730, transparent 35%, #1e0d17a0);
}
.opening-label {
  position: absolute;
  left: 5vw;
  right: 5vw;
  top: 36px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  font-size: 10px;
  letter-spacing: 1.8px;
  color: white;
  pointer-events: none;
}
.opening-scroll {
  position: absolute;
  left: 5vw;
  bottom: 105px;
  color: white;
  font-size: 14px;
  display: flex;
  gap: 35px;
  align-items: center;
}
.opening-scroll > span {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  border: 1px solid #ffffff80;
  display: grid;
  place-items: center;
  font-size: 24px;
  transition: background 0.2s;
}
.opening-scroll:hover > span {
  background: var(--blue);
  border-color: var(--blue);
}
.video-note {
  position: absolute;
  right: 5vw;
  bottom: 115px;
  color: #fff9;
  font-size: 9px;
  pointer-events: none;
}
.article-head {
  padding: 46px 6vw 55px;
  max-width: 1260px;
  margin: auto;
  scroll-margin-top: 0;
}
.article-breadcrumb {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  align-items: center;
  color: #896561;
  font-size: 10px;
  border-bottom: 1px solid var(--line);
  padding-bottom: 23px;
  margin-bottom: 64px;
}
.article-breadcrumb > a {
  font-size: 12px;
  color: var(--ink);
}
.article-breadcrumb > a:hover {
  color: var(--blue);
}
.article-head h1 {
  font-size: clamp(50px, 6.3vw, 87px);
  line-height: 1.04;
  font-weight: 600;
  letter-spacing: -1.3px;
  max-width: 1000px;
  margin: 26px 0;
}
.article-deck {
  max-width: 780px;
  font-size: 20px;
  line-height: 1.65;
  color: #896561;
}
.article-byline {
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  gap: 25px;
  font-size: 9px;
  letter-spacing: 1.5px;
  margin-top: 35px;
  padding-top: 23px;
  color: #896561;
}
.article-prose {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 0 30px;
}
.article-prose p,
.diptych-text p {
  font-size: 17px;
  line-height: 1.95;
  margin-bottom: 26px;
  color: #67433f;
}
.article-prose h2,
.diptych-text h2 {
  font-size: clamp(39px, 4.3vw, 59px);
  line-height: 1.08;
  margin: 25px 0 30px;
}
.dropcap:first-letter {
  float: left;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 86px;
  font-weight: 600;
  line-height: 0.85;
  color: var(--blue);
  padding-right: 12px;
  padding-top: 11px;
}
.article-image {
  margin: 0;
}
.article-image img {
  width: 100%;
  height: auto;
  display: block;
  object-fit: cover;
}
.article-image figcaption {
  font-size: 10px;
  line-height: 1.6;
  letter-spacing: 0.3px;
  color: #896561;
  padding: 15px 0;
  border-bottom: 1px solid var(--line);
}
.image-wide {
  max-width: 1110px;
  margin: 35px auto 80px;
}
.image-wide img {
  max-height: 620px;
}
.article-diptych {
  max-width: 1110px;
  margin: 45px auto 70px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7vw;
  align-items: center;
}
.article-diptych img {
  aspect-ratio: 4/5;
  object-position: center 40%;
}
.diptych-text {
  padding: 20px 0;
}
.image-full {
  width: 100%;
  margin: 30px 0 80px;
}
.image-full img {
  height: 72svh;
  max-height: 790px;
  min-height: 380px;
}
.image-full figcaption {
  margin: 0 6vw;
}
.image-medium {
  max-width: 850px;
  margin: 35px auto 60px;
}
.image-medium img {
  aspect-ratio: 3/2;
}
.article-last {
  padding-bottom: 55px;
}
.article-endmark {
  text-align: center;
  color: var(--blue);
  font-size: 14px;
  margin: 40px 0;
}
.article-prose .article-disclosure {
  font-size: 10px;
  color: #896561;
  text-align: center;
  line-height: 1.7;
}
.article-next {
  padding: 60px 7vw;
  background: #f2e3d6;
  border-top: 1px solid var(--line);
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
}
.article-next h2 {
  font-size: 45px;
  margin-top: 20px;
}
.article-next .primary {
  margin-top: 0;
  flex-shrink: 0;
}
.reveal {
  opacity: 1;
  transform: none;
}
.reveal.is-pending {
  opacity: 0;
  transform: translateY(22px);
}
.reveal.is-shown {
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.85s ease,
    transform 0.85s cubic-bezier(0.2, 0.65, 0.3, 1);
}
@media (max-width: 1100px) {
  .image-wide,
  .article-diptych {
    margin-left: 6vw;
    margin-right: 6vw;
  }
  .article-prose {
    max-width: 660px;
  }
  .image-medium {
    margin-left: 10vw;
    margin-right: 10vw;
  }
}
@media (max-width: 750px) {
  .article-page header {
    height: 90px;
  }
  .article-opening {
    height: calc(85svh - 90px);
    min-height: 420px;
  }
  .opening-label {
    top: 24px;
    font-size: 8px;
    letter-spacing: 1px;
  }
  .opening-label span:last-child {
    display: none;
  }
  .opening-scroll {
    bottom: 120px;
    font-size: 12px;
  }
  .video-note {
    left: 5vw;
    right: auto;
    bottom: 91px;
    font-size: 8px;
  }
  .article-head {
    padding: 32px 6vw 30px;
  }
  .article-breadcrumb {
    margin-bottom: 38px;
    font-size: 8px;
    align-items: flex-start;
  }
  .article-breadcrumb > a {
    font-size: 11px;
  }
  .article-head h1 {
    font-size: 53px;
    line-height: 1.05;
    margin: 22px 0;
  }
  .article-deck {
    font-size: 17px;
    line-height: 1.75;
  }
  .article-byline {
    font-size: 8px;
    letter-spacing: 0.8px;
  }
  .article-prose {
    max-width: none;
    margin: 0 7vw;
    padding: 16px 0 25px;
  }
  .article-prose p,
  .diptych-text p {
    font-size: 16px;
    line-height: 1.9;
    margin-bottom: 22px;
  }
  .image-wide {
    margin: 20px 5vw 50px;
  }
  .article-image figcaption {
    font-size: 9px;
    padding: 12px 0;
  }
  .article-diptych {
    grid-template-columns: 1fr;
    gap: 20px;
    margin: 20px 6vw 30px;
  }
  .article-diptych img {
    aspect-ratio: 4/5;
    max-height: 620px;
  }
  .diptych-text {
    padding: 16px 1vw 0;
  }
  .image-full {
    margin: 15px 0 45px;
  }
  .image-full img {
    height: 55svh;
    min-height: 320px;
  }
  .image-medium {
    margin: 15px 5vw 40px;
  }
  .article-next {
    flex-direction: column;
    align-items: flex-start;
    padding: 42px 7vw;
  }
  .article-next h2 {
    font-size: 40px;
  }
  .article-next .primary {
    margin-top: 0;
  }
}
@media (prefers-reduced-motion: reduce) {
  .reveal.is-pending,
  .reveal.is-shown {
    opacity: 1;
    transform: none;
    transition: none;
  }
}
