.mentor-gallery { min-width: 0; width: 100%; }
.mentor-gallery-stage { aspect-ratio: 16 / 10; overflow: hidden; background: #10130e; border: 1px solid #d0d2c5; }
.mentor-gallery-image { display: block; width: 100%; height: 100%; }
.mentor-gallery-caption { display: flex; align-items: center; justify-content: space-between; gap: 16px; min-height: 64px; padding-block: 12px; }
.mentor-gallery-caption p { margin: 0; color: #5c644f; font-size: 11px; line-height: 1.6; }
.mentor-gallery-controls { display: flex; align-items: center; gap: 9px; flex-shrink: 0; }
.mentor-gallery-controls button { display: grid; place-items: center; width: 34px; height: 34px; border: 1px solid #c3c8b6; background: transparent; color: #29351e; }
.mentor-gallery-controls button:hover { background: #29351e; border-color: #29351e; color: var(--paper); }
.mentor-gallery-controls button[data-mentor-prev] .icon { transform: rotate(180deg); }
.mentor-gallery-count { color: #737d65; font-size: 9px; font-variant-numeric: tabular-nums; white-space: nowrap; }
.mentor-gallery-thumbnails { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 8px; }
.mentor-thumbnail { min-width: 0; padding: 0; text-align: left; color: #6e7662; border: 1px solid transparent; background: transparent; }
.mentor-thumbnail-photo { display: block; aspect-ratio: 16 / 10; overflow: hidden; background: #181c13; opacity: .6; transition: opacity .2s; }
.mentor-thumbnail > span:last-child { display: block; font-size: 9px; line-height: 1.5; padding: 6px 5px; }
.mentor-thumbnail[aria-pressed="true"] { border-color: #b4512c; color: #a74624; }
.mentor-thumbnail[aria-pressed="true"] .mentor-thumbnail-photo, .mentor-thumbnail:hover .mentor-thumbnail-photo { opacity: 1; }
@media (max-width: 900px) {
  .mentor-gallery-caption { flex-wrap: wrap; gap: 6px 16px; }
  .mentor-gallery-controls { margin-left: auto; }
}
@media (max-width: 640px) {
  .mentor-gallery { max-width: 520px; }
  .mentor-gallery-stage { aspect-ratio: 4 / 3; }
  .mentor-gallery-caption p { font-size: 11px; }
  .mentor-gallery-controls button { width: 44px; height: 44px; }
  .mentor-gallery-thumbnails { gap: 5px; }
  .mentor-thumbnail > span:last-child { font-size: 8px; padding-inline: 3px; }
}
