.learning-gallery { min-width: 0; padding: 14px 14px 20px; border-radius: 30px; background: #fff; }
.learning-gallery__track { overflow-x: auto; overscroll-behavior-x: contain; scroll-snap-type: x mandatory; scrollbar-width: thin; scrollbar-color: #c8c1bd #fff; border-radius: 22px; }
.learning-gallery.is-ready .learning-gallery__track { scrollbar-width: none; }
.learning-gallery.is-ready .learning-gallery__track::-webkit-scrollbar { display: none; }
.learning-gallery__slides { display: flex; width: 100%; margin: 0; padding: 0; list-style: none; }
.learning-gallery__slides > li { min-width: 0; flex: 0 0 100%; scroll-snap-align: start; scroll-snap-stop: always; }
.learning-gallery__slides img { width: 100%; height: auto; aspect-ratio: 3 / 4; object-fit: contain; border-radius: 22px; }
.learning-gallery__footer { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-top: 18px; }
.learning-gallery__caption { display: flex; flex-direction: column; align-items: flex-start; min-width: 0; padding-inline-start: 22px; }
.learning-gallery__footer p { font-size: 14px; line-height: 1.4; color: #625c57; }
.learning-gallery__hint, .learning-gallery__count { color: #625c57; font-size: 12px; line-height: 1.5; }
.learning-gallery__hint { margin-top: 7px; }
.learning-gallery__count { margin-top: 5px; font-variant-numeric: tabular-nums; }
.learning-gallery__track.is-dragging { scroll-snap-type: none; cursor: grabbing; user-select: none; }
@media (hover: hover) and (pointer: fine) { .learning-gallery__track { cursor: grab; } }
.learning-gallery__more { display: inline-flex; align-items: flex-start; min-height: 44px; color: #bd4124; font-size: 14px; line-height: 1.4; text-decoration: underline; text-underline-offset: 4px; }
.learning-gallery__more:focus-visible { outline: 3px solid #087f64; outline-offset: 3px; }
.learning-gallery__controls { display: flex; gap: 8px; flex-shrink: 0; }
.learning-gallery__arrow { display: flex; align-items: center; justify-content: center; width: 44px; height: 44px; padding: 0; border: 1px solid #d9d3cf; border-radius: 50%; background: #fff; color: #625c57; }
.learning-gallery__arrow:hover:not(:disabled) { background: #ffe7d7; border-color: #db9a76; }
.learning-gallery__arrow:disabled { color: #bdb6b1; border-color: #e3dfdc; cursor: default; }
.learning-gallery__arrow svg { width: 20px; height: 20px; }
.learning-gallery__track:focus-visible, .learning-gallery__arrow:focus-visible { outline: 3px solid #087f64; outline-offset: 4px; }
@media (max-width: 760px) {
  .learning-gallery { padding: 12px 12px 18px; border-radius: 28px; }
  .learning-gallery__slides img, .learning-gallery__track { border-radius: 18px; }
  .learning-gallery__footer { gap: 12px; margin-top: 16px; }
  .learning-gallery__caption { padding-inline-start: 18px; }
  .learning-gallery__footer p { max-width: 21ch; font-size: 13px; text-wrap: balance; }
  .learning-gallery__arrow { width: 42px; height: 42px; }
}
