/* Shared page, heading and card typography come from seo_pages.css, as on /collections. */
.unbox_gallery_page { padding-bottom: 24px; }
.unbox_gallery_intro .seo-intro { margin: 0 0 16px; }
.unbox_gallery_links { display: flex; flex-wrap: wrap; align-items: center; gap: 12px 24px; }
.unbox_gallery_links > a { color: var(--Purple); font-size: var(--font_main); font-weight: var(--fontweight_500); }
.unbox_gallery_grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 24px 18px; }
.unbox_gallery_entry { min-width: 0; }
.unbox_gallery_watch { position: relative; display: block; overflow: hidden; border-radius: 16px; background: var(--menu); }
.unbox_gallery_watch img { display: block; width: 100%; height: auto; aspect-ratio: 9 / 16; object-fit: cover; transition: opacity .15s ease; }
.unbox_gallery_watch:hover img { opacity: var(--opacityHover); }
.unbox_gallery_play { position: absolute; bottom: 12px; left: 12px; display: inline-flex; align-items: center; gap: 6px; border-radius: 24px; padding: 8px 12px; background: var(--White); color: var(--Purple); font-size: var(--font_second); font-weight: var(--fontweight_heavy); }
.unbox_gallery_entry h2 { margin: 12px 0 6px; overflow-wrap: anywhere; }
.unbox_gallery_entry h2 a { color: var(--textMain); text-decoration: none; }
.unbox_gallery_entry p { color: var(--textSecondary); font-size: var(--font_second); line-height: 1.5; margin: 0; display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; overflow-wrap: anywhere; }
.unbox_gallery_load_status { text-align: center; color: var(--textSecondary); font-size: var(--font_second); }
.unbox_gallery_more[aria-disabled="true"] { cursor: wait; opacity: .6; }
.unbox_gallery_entry .unbox_share_actions { margin-left: -8px; }
.unbox_gallery_pagination { display: flex; justify-content: center; gap: 24px; margin: 28px 0 4px; }
.unbox_gallery_pagination a { color: var(--Purple); font-size: var(--font_main); font-weight: var(--fontweight_heavy); }
.unbox_watch { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 32px; margin-bottom: 32px; }
.unbox_watch_video { display: block; width: auto; height: auto; max-width: 100%; max-height: 70vh; justify-self: center; align-self: start; background: transparent; border-radius: 24px; }
.unbox_watch_items { list-style: none; padding: 0; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px; }
.unbox_watch_items a { display: block; color: var(--textMain); font-size: var(--font_main); }
.unbox_watch_items img { display: block; width: 100%; max-width: 160px; aspect-ratio: 1; object-fit: cover; border-radius: 16px; margin-bottom: 8px; background: var(--menu); }
.unbox_watch_details h2, .unbox_gallery_page > h2 { font-size: var(--font_title); font-weight: var(--fontweight_heavy); color: var(--textMain); margin: 24px 0 16px; }
@media (max-width: 900px) { .unbox_gallery_grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 600px) {
  .unbox_gallery_grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 20px 12px; }
  .unbox_watch { grid-template-columns: minmax(0, 1fr); gap: 20px; }
  .unbox_watch_video { max-height: 65vh; }
}
@media (prefers-reduced-motion: reduce) { .unbox_gallery_watch img { transition: none; } }
