/* Small page-specific layer for the journal and reel index. The shared visual language
   remains in styles.css; these rules only add editorial reading and dialog details. */

.editorial-page.texture-limewash {
  background-image: repeating-linear-gradient(96deg, transparent 0 68px, rgba(74, 52, 37, 0.014) 69px, transparent 70px 142px);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.breadcrumbs {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem 0.7rem;
  margin-bottom: 1.8rem;
  color: var(--ink-soft);
  font-size: 0.78rem;
}

.breadcrumbs a {
  color: var(--walnut);
}

.breadcrumbs [aria-current="page"] {
  color: var(--ink-soft);
}

.editorial-intro {
  padding-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.editorial-intro h1 {
  max-width: 13ch;
}

.editorial-intro .lede {
  max-width: 58ch;
}

.journal-lede {
  max-width: 52rem;
  margin: 0 auto;
  text-align: center;
}

.journal-lede p:last-child {
  margin-bottom: 0;
}

.journal-card .text-link {
  width: fit-content;
  margin-top: 1.1rem;
}

.guide-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(15rem, 0.34fr);
  gap: clamp(2rem, 7vw, 7rem);
  align-items: start;
}

.guide-article {
  max-width: 760px;
}

.guide-article h2 {
  margin-top: clamp(2.4rem, 5vw, 4rem);
  font-size: clamp(1.9rem, 3.2vw, 3rem);
}

.guide-article h2:first-of-type {
  margin-top: 0;
}

.guide-article p,
.guide-article li {
  max-width: 68ch;
}

.guide-article ul {
  padding-left: 1.25rem;
}

.guide-article li + li {
  margin-top: 0.55rem;
}

.guide-aside {
  position: sticky;
  top: 6.5rem;
  padding: 1.3rem;
  border: 1px solid var(--line);
  background: rgba(248, 243, 235, 0.6);
}

.guide-aside h2 {
  margin-bottom: 0.7rem;
  font-family: var(--sans);
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.guide-aside p:last-child {
  margin-bottom: 0;
}

.editorial-photo-slot {
  position: relative;
  display: flex;
  min-height: 360px;
  align-items: flex-end;
  overflow: hidden;
  border: 1px solid var(--line-strong);
  background: #d8cbb9;
  isolation: isolate;
}

.editorial-photo-slot::before {
  position: absolute;
  inset: 0;
  z-index: -1;
  background-image: repeating-linear-gradient(100deg, transparent 0 24px, rgba(74, 52, 37, 0.1) 25px, transparent 26px 58px), repeating-linear-gradient(8deg, transparent 0 42px, rgba(255, 248, 236, 0.2) 43px, transparent 44px 86px);
  content: "";
  opacity: 0.55;
}

.editorial-photo-slot::after {
  position: absolute;
  top: 17%;
  right: 13%;
  width: 30%;
  height: 54%;
  border: 1px solid rgba(74, 52, 37, 0.25);
  content: "";
  transform: rotate(8deg);
}

.editorial-photo-slot .photo-label {
  max-width: 28rem;
}

.client-macro {
  min-height: 300px;
}

.guide-note {
  margin-top: 2rem;
  padding: 1rem 1.1rem;
  border-left: 2px solid var(--brass);
  background: rgba(248, 243, 235, 0.65);
  color: var(--ink-soft);
  font-size: 0.9rem;
}

.guide-note p:last-child {
  margin-bottom: 0;
}

.reels-noscript {
  margin-top: 1.5rem;
  padding: 1rem 1.15rem;
  border: 1px solid rgba(243, 236, 224, 0.28);
  color: #d9c9b0;
}

.reels-poster-note {
  margin: 0 0 1rem;
  color: #d9c9b0;
  font-size: 0.82rem;
}

.reels-noscript p {
  margin-bottom: 0.55rem;
}

.reels-noscript ul {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem 1.4rem;
  margin: 0;
  padding-left: 1.1rem;
}

.reels-noscript a {
  color: var(--oat);
}

@media (max-width: 820px) {
  .guide-layout {
    grid-template-columns: 1fr;
  }

  .guide-aside {
    position: static;
  }
}

@media (max-width: 560px) {
  .editorial-photo-slot {
    min-height: 270px;
  }

  .reels-noscript ul {
    display: grid;
  }
}
