/* Photo essay for this guide only; native Guide typography and color tokens. */
.guide-project-story {
  --story-space: clamp(22px, 4vw, 40px);
  margin-block: 54px;
  padding-top: var(--story-space);
  border-top: 1px solid var(--guide-accent);
}
.guide-project-story .guide-kicker { margin-bottom: 16px; }
.guide-prose .guide-project-story h2 { margin-top: 0; }
.guide-prose .guide-story-figure {
  margin: var(--story-space) 0;
  overflow: hidden;
  border: 1px solid var(--guide-line);
  border-radius: var(--guide-radius);
  background: var(--guide-panel);
}
.guide-story-figure img,
.guide-story-figure video { display: block; width: 100%; height: auto; }
.guide-story-figure video { aspect-ratio: 16 / 9; background: var(--guide-bg); }
.guide-story-figure figcaption {
  padding: 18px 20px 20px;
  font-size: 13px;
  line-height: 1.65;
  color: var(--guide-muted);
}
.guide-story-figure figcaption strong { display: block; margin-bottom: 5px; font-size: 15px; }
.guide-story-index { color: var(--guide-accent); margin-right: 9px; font-size: 12px; }
.guide-story-meta { display: block; margin-top: 10px; font-size: 11px; letter-spacing: .04em; }
.guide-story-diptych { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; align-items: stretch; margin-top: var(--story-space); }
.guide-prose .guide-story-diptych .guide-story-figure { margin: 0; min-width: 0; display: flex; flex-direction: column; }
.guide-story-diptych figcaption { flex: 1; }
.guide-prose .guide-story-diptych .guide-story-figure + .guide-story-figure { margin-top: 0; }
.guide-story-diptych img { aspect-ratio: 16 / 9; object-fit: contain; }
.guide-prose .guide-story-pending {
  margin: 28px 0 0;
  padding: 16px 0 0;
  border-top: 1px solid var(--guide-line);
  font-size: 12px;
  line-height: 1.75;
}
.guide-story-pending strong { font-size: inherit; }
.guide-story-figure video:focus-visible { outline: 2px solid var(--guide-accent); outline-offset: -3px; }
@media (max-width: 1000px) and (min-width: 761px), (max-width: 520px) {
  .guide-story-diptych { grid-template-columns: 1fr; gap: 22px; }
  .guide-prose .guide-story-diptych .guide-story-figure + .guide-story-figure { margin-top: 0; }
  .guide-story-figure figcaption { padding: 15px 17px 17px; }
}
@media print {
  .guide-story-figure { break-inside: avoid; }
  .guide-story-pending { display: none; }
}

.guide-story-youtube iframe { display: block; width: 100%; height: auto; aspect-ratio: 16 / 9; border: 0; }
.guide-story-youtube > p { margin: 0; }
.guide-preview-film { position: relative; display: block; }
.guide-preview-film span { position: absolute; bottom: 20px; left: 20px; max-width: calc(100% - 40px); padding: 12px 16px; border-radius: var(--guide-radius); background: var(--guide-text); color: var(--guide-bg); font-size: 14px; font-weight: 650; line-height: 1.4; }
.guide-preview-film:focus-visible { outline: 2px solid var(--guide-accent); outline-offset: -3px; }

/* Scoped hero-video styles, also included in the pending WordPress patch. */
.guide-hero__video { min-width: 0; }
.guide-hero__video iframe {
  display: block;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  border: 0;
  border-radius: 6px;
  background: var(--guide-bg);
}
.guide-hero__video figcaption a { text-underline-offset: 3px; }

/* Match the spacing above and below the GRIDX video pair. */
.guide-project-story[aria-labelledby="gridx-showroom-musee"] .guide-story-diptych {
  margin-block: var(--story-space);
}

/* Article conversion block: reuse the site's primary contact button. */
.guide-contact {
  --contact-space: clamp(24px, 4vw, 44px);
  margin-block: 48px 16px;
  padding: var(--contact-space);
  border-radius: var(--guide-radius);
  border-top: 4px solid var(--guide-red);
  background: var(--guide-paper);
  color: var(--guide-ink);
}
.guide-contact .guide-contact__eyebrow {
  margin: 0 0 20px;
  font-size: 11px;
  font-weight: 750;
  line-height: 1.5;
  letter-spacing: .12em;
  text-transform: uppercase;
}
.guide-contact h3 {
  max-width: 20ch;
  margin: 0 0 18px;
  color: var(--guide-ink);
  font-size: clamp(28px, 3vw, 40px);
  line-height: 1.12;
  letter-spacing: -.035em;
}
.guide-contact .guide-contact__intro { max-width: 52ch; margin: 0 0 28px; font-size: 16px; line-height: 1.65; }
.guide-prose .guide-contact__button {
  min-height: 58px;
  max-width: 100%;
  white-space: normal;
  background: var(--contact-red);
  border-color: var(--contact-red);
  color: var(--contact-paper);
  text-decoration: none;
  font-size: 15px;
  box-shadow: none;
}
.guide-contact__button .dbs-contact-cta__icon { font-size: 25px; border: 1px solid currentColor; }
.guide-prose .guide-contact__button:focus-visible { outline: 3px solid var(--guide-ink); outline-offset: 5px; }
.guide-contact .guide-contact__note { max-width: 48ch; margin: 16px 0 0; font-size: 13px; line-height: 1.6; }
@media (max-width: 600px) { .guide-prose .guide-contact__button { display: flex; width: 100%; } }
