.travel-story-stage {
  padding: clamp(0.8rem, 2.5vw, 1.75rem) 0 clamp(2.5rem, 6vw, 5rem);
  color: #342820;
}

.travel-story-shell {
  width: min(100%, 78rem);
}

.story-back-link {
  display: inline-block;
  margin-bottom: 0.7rem;
  padding: 0.42rem 0.75rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.97);
  box-shadow: 0 4px 14px rgba(65, 45, 28, 0.16);
  color: #8c3425;
  font-weight: 700;
}

.story-back-link:hover {
  color: #632319;
  text-decoration: none;
}

.photo-journal {
  overflow: hidden;
  border: 1px solid rgba(114, 64, 39, 0.2);
  border-radius: 24px;
  background: #fffaf1;
  box-shadow: 0 20px 60px rgba(75, 48, 28, 0.3);
}

.photo-journal-hero {
  display: grid;
  grid-template-columns: minmax(20rem, 0.88fr) minmax(0, 1.12fr);
  min-height: 35rem;
  background: #a84835;
  color: #fffaf2;
}

.photo-journal-hero-copy {
  position: relative;
  z-index: 1;
  display: flex;
  padding: clamp(1.4rem, 5vw, 4rem);
  flex-direction: column;
  justify-content: flex-end;
}

.story-breadcrumbs {
  display: flex;
  gap: 0.3rem 0.5rem;
  margin-bottom: auto;
  flex-wrap: wrap;
  font-size: 0.72rem;
}

.story-breadcrumbs a {
  color: #ffe1ad;
  font-weight: 700;
}

.story-breadcrumbs span {
  color: rgba(255, 250, 242, 0.68);
}

.story-date,
.story-section-label {
  margin: 0 0 0.45rem;
  color: #a14230;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.photo-journal-hero .story-date {
  margin-top: 3rem;
  color: #ffe1ad;
}

.photo-journal-hero h1 {
  max-width: 100%;
  margin: 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.7rem, 5vw, 4.4rem);
  line-height: 0.96;
  letter-spacing: -0.04em;
  overflow-wrap: break-word;
}

.story-deck {
  margin: 1rem 0 0;
  color: rgba(255, 250, 242, 0.9);
  font-size: clamp(1rem, 2vw, 1.18rem);
  line-height: 1.62;
}

.story-byline {
  margin: 1.2rem 0 0;
  color: #f4d4ae;
  font-size: 0.72rem;
  font-weight: 700;
}

.story-hero-photo {
  position: relative;
  min-height: 35rem;
  margin: 0;
  background: #5e493d;
}

.story-hero-photo img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.story-hero-photo figcaption {
  position: absolute;
  right: 0.8rem;
  bottom: 0.8rem;
  max-width: calc(100% - 1.6rem);
  padding: 0.35rem 0.55rem;
  border-radius: 7px;
  background: rgba(35, 27, 22, 0.76);
  color: #fff;
  font-size: 0.67rem;
}

.photo-journal-body {
  display: grid;
  grid-template-columns: 14rem minmax(0, 1fr);
  gap: clamp(1.5rem, 4vw, 4rem);
  padding: clamp(1.2rem, 4vw, 3.5rem);
  align-items: start;
}

.story-contents {
  position: sticky;
  top: 1rem;
  display: flex;
  padding: 1rem;
  border: 1px solid #e6d7c1;
  border-radius: 14px;
  flex-direction: column;
  background: #fff;
  box-shadow: 0 8px 24px rgba(72, 49, 31, 0.08);
}

.story-contents p {
  margin: 0 0 0.45rem;
  color: #81513e;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.story-contents a {
  padding: 0.32rem 0;
  color: #5f5044;
  font-size: 0.82rem;
}

.story-contents a:hover {
  color: #9d3526;
}

.story-article {
  min-width: 0;
}

.story-section {
  padding: 0.2rem 0 clamp(2.8rem, 7vw, 5rem);
  scroll-margin-top: 1rem;
}

.story-section + .story-section {
  padding-top: clamp(2rem, 5vw, 3.5rem);
  border-top: 1px solid #e6d7c1;
}

.story-section h2 {
  margin: 0;
  color: #3c2b22;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(1.8rem, 4vw, 3rem);
  line-height: 1.08;
}

.story-section > p:not(.story-section-label, .story-source-note) {
  max-width: 49rem;
  margin: 1rem 0 0;
  color: #55483d;
  font-size: 1rem;
  line-height: 1.76;
}

.story-opening > p:not(.story-section-label) {
  font-size: clamp(1.04rem, 2vw, 1.2rem);
}

.story-photo-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
  margin-top: 1.3rem;
}

.story-photo-grid figure {
  overflow: hidden;
  margin: 0;
  border: 1px solid #e0cfb8;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 9px 24px rgba(72, 49, 31, 0.09);
}

.story-photo-grid figure.is-wide {
  grid-column: 1 / -1;
}

.story-photo-grid img {
  display: block;
  width: 100%;
  height: clamp(18rem, 28vw, 24rem);
  background: #eee6da;
  object-fit: contain;
}

.story-photo-grid figure.is-wide img {
  height: clamp(20rem, 34vw, 30rem);
}

.story-photo-grid figcaption {
  padding: 0.75rem 0.85rem;
  color: #68584b;
  font-size: 0.76rem;
  line-height: 1.5;
}

.story-route-grid,
.story-notes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.8rem;
  margin-top: 1.25rem;
}

.story-route-grid article,
.story-notes-grid article {
  padding: 1rem;
  border: 1px solid #e2d1ba;
  border-radius: 13px;
  background: #fff;
  box-shadow: 0 8px 22px rgba(79, 52, 31, 0.07);
}

.story-route-grid span {
  display: inline-flex;
  width: 2.1rem;
  height: 2.1rem;
  border-radius: 50%;
  align-items: center;
  justify-content: center;
  background: #b94f36;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
}

.story-route-grid h3,
.story-notes-grid h3 {
  margin: 0.65rem 0 0;
  color: #422e24;
  font-size: 1.04rem;
}

.story-notes-grid h3 {
  margin-top: 0;
}

.story-route-grid p,
.story-notes-grid p {
  margin: 0.4rem 0 0;
  color: #65564a;
  font-size: 0.86rem;
  line-height: 1.62;
}

.story-callout {
  margin-top: 1.25rem;
  padding: 1rem 1.1rem;
  border-left: 4px solid #c65b3e;
  background: #f6ead7;
  color: #594638;
  font-size: 0.9rem;
  line-height: 1.65;
}

.story-source-note {
  margin: 1rem 0 0;
  color: #6d5b4d;
  font-size: 0.78rem;
  line-height: 1.6;
}

.story-source-note a {
  color: #943122;
  font-weight: 700;
}

.photo-journal-footer {
  padding: 1.1rem;
  border-radius: 13px;
  background: #3e3028;
  color: #f9ead4;
}

.photo-journal-footer p {
  margin: 0;
  font-size: 0.78rem;
  line-height: 1.6;
}

.photo-journal-footer a {
  display: inline-block;
  margin-top: 0.65rem;
  color: #ffd99e;
  font-size: 0.78rem;
  font-weight: 700;
}

.story-back-link:focus-visible,
.story-breadcrumbs a:focus-visible,
.story-contents a:focus-visible,
.story-source-note a:focus-visible,
.photo-journal-footer a:focus-visible {
  outline: 3px solid #b94f36;
  outline-offset: 3px;
}

@media (max-width: 991.98px) {
  .photo-journal-hero {
    grid-template-columns: 1fr;
  }

  .photo-journal-hero-copy {
    min-height: 29rem;
  }

  .story-hero-photo {
    min-height: 28rem;
  }

  .photo-journal-body {
    grid-template-columns: 1fr;
  }

  .story-contents {
    position: static;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 0.2rem 0.7rem;
  }

  .story-contents p {
    grid-column: 1 / -1;
  }
}

@media (max-width: 575.98px) {
  .photo-journal {
    border-radius: 17px;
  }

  .photo-journal-hero-copy {
    min-height: 27rem;
    padding: 1.2rem;
  }

  .photo-journal-hero h1 {
    font-size: clamp(2.55rem, 14vw, 3.6rem);
  }

  .story-hero-photo {
    min-height: 20rem;
  }

  .photo-journal-body {
    padding: 1rem 0.8rem 1.3rem;
  }

  .story-contents,
  .story-photo-grid,
  .story-route-grid,
  .story-notes-grid {
    grid-template-columns: 1fr;
  }

  .story-photo-grid figure.is-wide {
    grid-column: auto;
  }

  .story-photo-grid figure.is-wide img {
    height: auto;
  }

  .story-photo-grid img {
    height: auto;
  }
}

@media (prefers-reduced-motion: reduce) {
  .travel-story-stage {
    scroll-behavior: auto;
  }
}
