/* Shared reading edition. Scoped to journal articles; TWF Digital is untouched. */
.twf-site .chapter-article {
  --journal-width: 1280px;
  color: var(--ink);
}

/* The shared blog cover is 45% taller, while preserving each photograph's focal point. */
.twf-site .chapter-article .article-hero {
  height: auto;
  min-height: clamp(696px, 92.8svh, 928px);
  align-items: flex-end;
}
.twf-site .chapter-article .article-title {
  max-width: 1320px;
  padding: 170px clamp(24px, 6vw, 80px) 48px;
}
.twf-site .chapter-article .article-title h1 {
  max-width: 1000px;
  margin: 18px 0 18px;
  font: 400 clamp(3.2rem, 5.7vw, 6rem)/1.05 var(--serif);
  letter-spacing: -.035em;
  text-wrap: balance;
  overflow-wrap: normal;
}
.twf-site .chapter-article .article-title > p {
  max-width: 760px;
  margin: 0;
  font: 400 1rem/1.6 var(--sans);
  color: var(--cream);
}
.twf-site .chapter-article .article-title .back-link {
  margin: 0 0 24px;
  font: 500 .9375rem/1.5 var(--sans);
  color: var(--cream);
  text-decoration: none;
}
.twf-site .chapter-article .article-title .back-link::before {
  content: "\2190";
  margin-right: 10px;
}
.twf-site .chapter-article .article-title .eyebrow {
  font: 500 .875rem/1.5 var(--sans);
  letter-spacing: .03em;
  text-transform: none;
  color: var(--sand);
}

/* Native contents disclosure keeps a long list from crowding the reading view. */
.twf-site .chapter-article .blog2-nav {
  position: relative;
  top: auto;
  z-index: 20;
  background: var(--cream);
  border-block: 1px solid var(--line);
  backdrop-filter: none;
}
.twf-site .chapter-article .blog2-nav-inner {
  max-width: 1280px;
  padding: 0 clamp(22px, 5vw, 60px);
}
.twf-site .chapter-article .blog2-nav-inner > .mono { display: none; }
.twf-site .chapter-article .chapter-contents { width: 100%; }
.twf-site .chapter-article .chapter-contents summary {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 24px;
  min-height: 64px;
  padding: 16px 0;
  color: var(--ink);
  font: 500 1rem/1.5 var(--sans);
  cursor: pointer;
  list-style: none;
}
.twf-site .chapter-article .chapter-contents summary::-webkit-details-marker { display: none; }
.twf-site .chapter-article .chapter-contents summary::after {
  content: "+";
  color: var(--clay);
  font-size: 1.6rem;
  line-height: 1;
}
.twf-site .chapter-article .chapter-contents[open] summary::after { content: "\2212"; }
.twf-site .chapter-article .chapter-contents summary:focus-visible {
  outline: 2px solid var(--clay);
  outline-offset: 4px;
}
.twf-site .chapter-article .blog2-nav-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 4px 26px;
  padding: 8px 0 22px;
}
.twf-site .chapter-article .blog2-nav-links a {
  max-width: none;
  min-height: 44px;
  padding: 10px 0;
  color: var(--bush);
  font: 400 .9375rem/1.5 var(--sans);
  letter-spacing: 0;
  border-bottom: 1px solid var(--line);
  transition: color .2s ease, border-color .2s ease;
}
.twf-site .chapter-article .blog2-nav-links a > span { display: none; }
.twf-site .chapter-article .blog2-nav-links a:hover,
.twf-site .chapter-article .blog2-nav-links a.active {
  color: var(--clay);
  border-color: var(--clay);
}

/* A single reading grid aligns headings, text and photographic spreads. */
.twf-site .chapter-article .blog2-layout {
  max-width: calc(var(--journal-width) + 96px);
  margin-inline: auto;
  padding: 48px 48px 58px;
}
.twf-site .chapter-article .blog2-intro,
.twf-site .chapter-article .blog2-copy,
.twf-site .chapter-article .text-only .blog2-copy {
  width: 100%;
  max-width: var(--journal-width);
  margin-inline: auto;
}
.twf-site .chapter-article .blog2-intro { margin-bottom: 36px; }
.twf-site .chapter-article :is(.blog2-intro, .blog2-copy) p,
.twf-site .chapter-article :is(.blog2-intro, .blog2-copy) li {
  font: 400 1.1875rem/1.75 var(--sans);
  letter-spacing: -.008em;
  color: var(--bush);
  margin: 0 0 20px;
  overflow-wrap: break-word;
}
.twf-site .chapter-article .blog2-intro p:first-child {
  font: 400 clamp(1.25rem, 1.6vw, 1.5rem)/1.65 var(--sans);
  color: var(--ink);
  letter-spacing: -.015em;
  margin-bottom: 22px;
}
.twf-site .chapter-article .blog2-intro p:first-child::first-letter {
  float: none;
  padding: 0;
  font: inherit;
  color: inherit;
}
.twf-site .chapter-article :is(.blog2-intro, .blog2-copy) strong { font-weight: 600; }
.twf-site .chapter-article :is(.blog2-intro, .blog2-copy) p a {
  color: var(--ink);
  text-decoration-color: var(--clay);
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}
.twf-site .chapter-article .blog2-section,
.twf-site .chapter-article .blog2-section.text-only {
  display: block;
  padding: 32px 0 36px;
  margin: 0;
  border-top: 1px solid var(--line);
  scroll-margin-top: 32px;
}
.twf-site .chapter-article .blog2-section h2 {
  margin: 0 0 24px;
  font: 400 clamp(2.2rem, 3.2vw, 3.35rem)/1.13 var(--serif);
  letter-spacing: -.025em;
  color: var(--ink);
  text-wrap: balance;
}
.twf-site .chapter-article .blog2-section .chapter-no,
.twf-site .chapter-article .blog2-copy > .mono { display: none; }
.twf-site .chapter-article .blog2-copy > p:last-child,
.twf-site .chapter-article .blog2-intro > p:last-child { margin-bottom: 0; }

/* Balanced rows use each photograph's natural proportions without cropping. */
.twf-site .chapter-article .chapter-photo-strip {
  display: flex;
  flex-direction: column;
  gap: 26px;
  width: 100%;
  max-width: var(--journal-width);
  margin: 30px auto 0;
  padding: 0;
}
.twf-site .chapter-article .journal-photo-row {
  display: grid;
  grid-template-columns: var(--journal-columns, 1fr);
  align-items: start;
  gap: 24px;
  width: var(--journal-row-width, 100%);
  max-width: 100%;
  margin-inline: auto;
}
.twf-site .chapter-article .chapter-photo-strip figure { margin: 0; min-width: 0; }
.twf-site .chapter-article .chapter-photo-strip figure > a {
  display: block;
  overflow: hidden;
  background: transparent;
  border-radius: 3px;
}
.twf-site .chapter-article .chapter-photo-strip img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  background: transparent;
  transition: opacity .2s ease;
}
.twf-site .chapter-article .chapter-photo-strip a:hover img { opacity: .92; }
.twf-site .chapter-article .chapter-photo-strip figcaption,
.twf-site .chapter-article .blog2-photos figcaption {
  display: block;
  margin: 0;
  padding: 11px 0 0;
  font: 400 .875rem/1.55 var(--sans);
  letter-spacing: 0;
  text-transform: none;
  color: var(--bush);
}

/* Instagram stays beside its relevant text, with readable context and notices. */
.twf-site .chapter-article .twf-inline-social {
  width: min(100%, 440px);
  margin: 28px auto;
  padding: 16px;
  background: var(--cream);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: none;
}
.twf-site .chapter-article .twf-social-kicker { display: none; }
.twf-site .chapter-article .twf-social-caption { font: 500 1rem/1.5 var(--sans); }
.twf-site .chapter-article .twf-social-notice { font: 400 .875rem/1.55 var(--sans); }
.twf-site .chapter-article .twf-social-source { font: 400 .8125rem/1.5 var(--sans); }

/* The next chapter is a genuine continuation, rather than a distant footer. */
.twf-site .chapter-article .blog2-return { padding: 50px clamp(24px, 5vw, 78px) 0; }
.twf-site .chapter-article .blog2-return-inner {
  max-width: 1160px;
  grid-template-columns: 1.1fr 1fr;
  gap: 60px;
  align-items: start;
  padding-bottom: 46px;
}
.twf-site .chapter-article .blog2-return .mono {
  font: 400 .9375rem/1.5 var(--sans);
  letter-spacing: 0;
  text-transform: none;
}
.twf-site .chapter-article .blog2-return h2 {
  margin: 16px 0 20px;
  font: 400 clamp(2.3rem, 3.5vw, 3.6rem)/1.08 var(--serif);
  letter-spacing: -.025em;
}
.twf-site .chapter-article .return-action {
  padding: 10px 0;
  font: 500 .9375rem/1.5 var(--sans);
}
.twf-site .chapter-article .chapter-neighbours { gap: 24px; padding-left: 38px; }
.twf-site .chapter-article .chapter-neighbours a { padding: 0 0 22px; border-bottom: 1px solid #d8c7a340; }
.twf-site .chapter-article .chapter-neighbours a:last-child { padding-bottom: 0; border-bottom: 0; }
.twf-site .chapter-article .chapter-neighbours strong {
  margin-top: 7px;
  font: 400 clamp(1.6rem, 2.5vw, 2.15rem)/1.2 var(--serif);
}

@media (max-width: 800px) {
  /* Limit the larger cover on smaller screens; auto height still accommodates the title. */
  .twf-site .chapter-article .article-hero { min-height: min(768.5px, 90svh); }
  .twf-site .chapter-article .article-title { padding: 145px 28px 36px; }
  .twf-site .chapter-article .article-title h1 { font-size: clamp(3rem, 7.5vw, 4.5rem); }
  .twf-site .chapter-article .blog2-layout { padding: 34px 28px 40px; }
  .twf-site .chapter-article .blog2-nav-links { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .twf-site .chapter-article .journal-photo-row { gap: 20px; width: 100%; grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .twf-site .chapter-article .journal-photo-row > figure:only-child { grid-column: 1 / -1; }
  .twf-site .chapter-article .blog2-return-inner { gap: 32px; }
  .twf-site .chapter-article .chapter-neighbours { padding-left: 25px; }
}
@media (max-width: 600px) {
  .twf-site .chapter-article .article-hero { min-height: min(681.5px, 90svh); }
  .twf-site .chapter-article .article-title { padding: 135px 22px 32px; }
  .twf-site .chapter-article .article-title h1 { font-size: clamp(2.65rem, 10vw, 3.6rem); line-height: 1.08; }
  .twf-site .chapter-article .article-title .back-link { margin-bottom: 20px; }
  .twf-site .chapter-article .blog2-layout { padding: 30px 22px 36px; }
  .twf-site .chapter-article .blog2-nav-links { grid-template-columns: 1fr; gap: 0; }
  .twf-site .chapter-article .chapter-contents summary { min-height: 60px; }
  .twf-site .chapter-article :is(.blog2-intro, .blog2-copy) p,
  .twf-site .chapter-article :is(.blog2-intro, .blog2-copy) li { font-size: 1.0625rem; line-height: 1.8; }
  .twf-site .chapter-article .blog2-intro p:first-child { font-size: 1.25rem; line-height: 1.65; }
  .twf-site .chapter-article .blog2-section h2 { font-size: clamp(2rem, 7.3vw, 2.65rem); line-height: 1.13; margin-bottom: 20px; }
  .twf-site .chapter-article .blog2-section,
  .twf-site .chapter-article .blog2-section.text-only { padding: 30px 0 34px; }
  .twf-site .chapter-article .chapter-photo-strip { gap: 24px; margin-top: 24px; }
  .twf-site .chapter-article .journal-photo-row { width: 100%; grid-template-columns: 1fr; gap: 24px; }
  .twf-site .chapter-article .chapter-photo-strip figcaption { font-size: .8125rem; }
  .twf-site .chapter-article .blog2-return { padding-top: 36px; }
  .twf-site .chapter-article .blog2-return-inner { grid-template-columns: 1fr; gap: 28px; padding-bottom: 32px; }
  .twf-site .chapter-article .chapter-neighbours { padding: 25px 0 0; border-left: 0; border-top: 1px solid #d8c7a340; }
  .twf-site .chapter-article .twf-inline-social { padding: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  .twf-site .chapter-article .chapter-photo-strip img,
  .twf-site .chapter-article .blog2-nav-links a { transition: none; }
}
