.tripenta-story {
  background: #fffaf2;
  color: var(--ink);
}

.tripenta-intro {
  padding-block: clamp(25px, 4vw, 62px) clamp(24px, 4vw, 52px);
}

.tripenta-intro .breadcrumbs {
  margin-bottom: clamp(24px, 4vw, 52px);
}

.tripenta-intro h1 {
  max-width: 18ch;
  margin-bottom: 18px;
  font-size: clamp(2.4rem, 6vw, 5.6rem);
  line-height: 1.03;
}

.tripenta-deck {
  max-width: 62ch;
  font-size: clamp(1.08rem, 1.55vw, 1.38rem);
}

.tripenta-credit {
  margin-top: 15px;
  color: #675247;
}

.tripenta-cover,
.tripenta-gallery {
  width: 100%;
  margin: 0 auto;
}

.tripenta-cover img,
.tripenta-gallery img {
  display: block;
  width: 100%;
  height: auto;
  min-width: 0;
  margin: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  box-shadow: none;
}

.tripenta-pair {
  display: grid;
  grid-template-columns: minmax(0, var(--left-column)) minmax(0, 1fr);
  align-items: start;
  gap: 0;
}

@media (max-width: 799px) {
  .tripenta-spread {
    grid-template-columns: minmax(0, 1fr);
  }
}

.tripenta-chapter {
  scroll-margin-top: 105px;
}

.tripenta-chapters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 22px;
  padding-block: 24px;
}

.tripenta-chapters a,
.tripenta-copy p a {
  color: #764622;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.tripenta-chapters a {
  padding-block: 6px;
}

.tripenta-copy {
  max-width: 800px;
  padding-block: clamp(35px, 5vw, 78px);
}

.tripenta-copy h2 {
  max-width: 26ch;
}

.tripenta-copy p {
  max-width: 62ch;
  margin-top: 12px;
}

.tripenta-back-to-top {
  position: fixed;
  z-index: 940;
  right: max(16px, env(safe-area-inset-right));
  bottom: calc(72px + env(safe-area-inset-bottom));
  min-height: 46px;
  padding: 8px 15px;
  border: 1px solid #fffaf2;
  border-radius: 999px;
  background: #29201c;
  color: #fffaf2;
  font: 700 .95rem/1 system-ui, sans-serif;
  box-shadow: 0 5px 20px rgb(28 20 16 / 25%);
  cursor: pointer;
}

.tripenta-back-to-top span {
  margin-right: 4px;
  font-size: 1.15em;
}

.tripenta-back-to-top:focus-visible {
  outline: 2px solid #fffaf2;
  outline-offset: 2px;
  box-shadow: 0 0 0 5px #29201c;
}

.tripenta-destination-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: clamp(14px, 2vw, 30px);
}

.story-card.tripenta-card > .tripenta-card-photo,
.story-card.tripenta-card:hover > .tripenta-card-photo,
.story-card.tripenta-card:focus-visible > .tripenta-card-photo {
  aspect-ratio: auto;
  height: auto;
  transform: none;
}

.home-image-grid-stories .tripenta-home-card.home-image-tile {
  grid-template-rows: auto 1fr;
  align-items: stretch;
  aspect-ratio: auto;
  background: #29201c;
}

.tripenta-home-card.home-image-tile > .tripenta-card-photo {
  position: static;
  display: block;
  height: auto;
  object-fit: contain;
}

.tripenta-home-card .home-image-caption {
  align-self: end;
  padding-top: clamp(15px, 2vw, 26px);
  background: none;
}

@media (max-width: 700px) {
  .tripenta-back-to-top {
    bottom: calc(90px + env(safe-area-inset-bottom));
  }

  .tripenta-destination-grid {
    grid-template-columns: minmax(0, 1fr);
  }
}
