/* Story photographs: preserve the whole frame and keep the next scene nearby. */
.fr-scene {
  margin: 1.35rem auto;
  min-width: 0;
}
.fr-scene img,
.fr-banner.fr-scene img,
.fr-text .fr-scene img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  border-radius: 12px;
  background: #ebe1d8;
}
.fr-scene figcaption {
  padding: .65rem .15rem 0;
  color: #65545b;
  font: 400 .88rem/1.5 'Manrope', sans-serif;
  text-align: left;
}
.fr-scene--square { max-width: 360px; }
.fr-scene--wide { width: 100%; }
.fr-scene-row {
  display: grid;
  grid-template-columns: minmax(220px, 36%) minmax(0, 1fr);
  gap: 1.5rem;
  align-items: start;
  margin: 1.4rem 0;
}
.fr-scene-row > .fr-scene {
  width: 100%;
  margin: 0;
}
.fr-scene-row > .fr-scene-copy { min-width: 0; }
.fr-scene-row p:last-child { margin-bottom: 0; }
.fr-scene-pair {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.2rem;
  align-items: start;
  margin: 1.4rem 0;
}
.fr-scene-pair > .fr-scene { margin: 0; width: 100%; max-width: none; }
.fr-course-book {
  margin: 1.5rem 0 2rem;
  padding: 1.3rem 1.5rem;
  border: 1px solid var(--line, #ded0c5);
  border-radius: 14px;
  background: #fff;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.fr-course-book strong { color: var(--navy, #4a2636); }
.fr-course-book p { margin: .3rem 0 0; color: #65545b; font-size: .92rem; line-height: 1.55; }
.fr-course-book a {
  display: inline-block;
  padding: .75rem 1.1rem;
  border-radius: 9px;
  background: var(--navy, #4a2636);
  color: #fff;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.fr-course-book a:hover { background: #61394b; }
.fr-course-book a:focus-visible { outline: 3px solid #c9973a; outline-offset: 4px; }
@media (max-width: 720px) {
  .fr-scene-row { grid-template-columns: 1fr; gap: 1rem; }
  .fr-scene-row > .fr-scene { max-width: 360px; margin: 0 auto; }
  .fr-scene-pair { grid-template-columns: 1fr; }
  .fr-scene-pair > .fr-scene { max-width: 360px; margin: 0 auto; }
  .fr-course-book { align-items: flex-start; flex-direction: column; padding: 1.2rem; }
}
@media print {
  .fr-scene, .fr-scene-row { break-inside: avoid; }
  .fr-course-book { display: none; }
}
