/* Sam feedback, Weekly Team 23 October: improve small-screen readability.
   Desktop +30% remains in testimonials.css. Mentor quote sizing is unchanged. */
@media (max-width: 800px) {
  .hero p, .intro p:not(.large), .panel-copy p, .buy p:not(.large),
  .corporate-details p, .author-copy p, .enquiry-grid p, details p,
  .field-intro p, .event-card p { font-size: 18px; line-height: 1.75; }
  .hero-author small, .hero-foot, .audience span, .chapter-list small,
  .source-note, .photo-source, .retailer small, .book-facts dt,
  .calendar-note, .calendar-legend, .events-bottom, footer > div,
  .mentor-help { font-size: 14px; line-height: 1.6; }
  .fine, .buy .retailer-note, .package-note { font-size: 14px !important; }
  .event-card .event-meta { font-size: 16px; }
  .event-card .event-disclaimer { font-size: 14px; }
  .eyebrow { font-size: 12px; letter-spacing: 1px; }
  .inside-bottom > span, .section-head p { font-size: 16px; }
  .header .button, .hero .text-link, .closing .button { font-size: 16px; }
  .hero-author small, .hero-foot { overflow-wrap: anywhere; }
  .mentor-controls { gap: 14px; }
}
@media (max-width: 600px) {
  .header { gap: 12px; flex-wrap: wrap; height: auto; min-height: 76px; padding-block: 12px; }
  .header .button { padding-inline: 12px; gap: 10px; }
  .hero-author { max-width: 100%; }
  .hero-author > span { min-width: 0; }
}

/* Preserve the complete community gathering rather than cropping faces. */
.photo-grid .photo-community { background: #20201e; }
.photo-grid .photo-community img { object-fit: contain; object-position: center top; }
.photo-grid .photo-community figcaption { bottom: 20px; }

/* Sliding mentor cards: full messages, quiet controls, press-and-hold pause. */
.mentor-track {
  display: flex; gap: 24px; align-items: stretch;
  border-radius: 12px; scroll-padding: 0; touch-action: pan-x pan-y;
  cursor: grab; user-select: none; -webkit-touch-callout: none;
}
.mentor-track::after { content: ""; flex: 0 0 max(calc(100% - 784px), calc(18% - 24px)); }
.mentor-carousel.is-held .mentor-track { cursor: grabbing; }
.mentor-slide {
  flex: 0 0 min(760px, 82%); display: flex; flex-direction: column; gap: 28px; padding: 36px;
  background: #fffaf2; border: 1px solid #e1d4c1; border-top: 4px solid var(--orange);
  border-radius: 12px; box-shadow: 0 6px 20px #3b291808;
}
.mentor-slide:nth-child(even) { background: #fffaf2; border-color: #e1d4c1; border-top-color: var(--orange); }
.mentor-person { display: grid; grid-template-columns: 80px minmax(0,1fr); gap: 0 20px; align-items: start; }
.mentor-slide .mentor-avatar { width: 80px; height: 80px; margin: 0; grid-row: 1/4; }
.mentor-person h3 { margin-bottom: 8px; }
.mentor-sequence { margin-top: 10px; }
.mentor-words .quote-mark { display: none; }
.mentor-controls { margin-top: 20px; }
.mentor-navigation button { width: 44px; height: 44px; }
.mentor-help { margin-top: 8px; }
@media (max-width: 800px) {
 .mentor-track { gap: 16px; }
 .mentor-track::after { flex-basis: calc(12% - 16px); }
 .mentor-slide { flex-basis: 88%; padding: 26px; gap: 24px; }
 .mentor-person { grid-template-columns: 64px minmax(0,1fr); gap: 0 14px; }
 .mentor-slide .mentor-avatar { width: 64px; height: 64px; }
}
@media (max-width: 600px) {
 .mentor-track { gap: 12px; }
 .mentor-track::after { flex-basis: calc(8% - 12px); }
 .mentor-slide { flex-basis: 92%; padding: 22px 18px; }
 .mentor-person { grid-template-columns: 56px minmax(0,1fr); }
 .mentor-slide .mentor-avatar { width: 56px; height: 56px; }
 .mentor-dots { gap: 0; }
}
/* Keep the carousel compact; complete long messages remain scrollable in-card. */
.mentor-slide { height: 620px; }
.mentor-person { flex-shrink: 0; }
.mentor-words { min-height: 0; overflow-y: auto; scrollbar-width: thin; scrollbar-color: #cbbda9 transparent; padding-right: 8px; touch-action: pan-y; }
@media (max-width: 800px) { .mentor-slide { height: 600px; } }
@media (max-width: 600px) { .mentor-slide { height: 560px; } }
/* Stable, centered controls independent of inherited text size and mentor name. */
.mentor-navigation { display: grid; grid-template-columns: 44px minmax(0,1fr) 44px; width: min(100%, 440px); gap: 12px; }
.mentor-navigation button { display: grid; place-items: center; padding: 0; flex-shrink: 0; line-height: 1; }
.mentor-navigation button svg { display: block; width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.8; stroke-linecap: round; stroke-linejoin: round; pointer-events: none; }
.mentor-status { min-width: 0; text-align: center; overflow-wrap: anywhere; }

/* Approved keynote replacement: retain the speaker’s hair and face in the crop. */
.photo-grid .photo-value img { object-position: center 35%; }
