.gallery-section { padding: 88px 0; background: #fff; color: var(--text-primary); border-bottom: 1px solid #e6e6e6; }
.gallery-inner { width: min(1320px, calc(100% - 80px)); margin: auto; }
.gallery-toolbar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin: 0 0 22px; }
.gallery-toolbar > span { color: #7b848e; font-size: 13px; }
.gallery-toolbar button, .gallery-play { font: 600 12px/1.4 Inter, sans-serif; cursor: pointer; border: 1px solid #dce1e7; border-radius: 8px; color: #45515f; background: #fff; padding: 8px 13px; }
.gallery-toolbar button:hover, .gallery-play:hover { color: #0056c8; border-color: #0c8ce9; }
.gallery-toolbar button:disabled { opacity: .5; cursor: wait; }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 26px; }
.gallery-card { min-width: 0; border: 1px solid #e5e9ed; border-radius: 14px; overflow: hidden; background: #fff; box-shadow: 0 4px 18px #10253a08; }
.gallery-media { aspect-ratio: 1; position: relative; background: #fff; border-bottom: 1px solid #f0f2f4; }
.gallery-media video { display: block; width: 100%; height: 100%; object-fit: contain; background: #fff; }
.gallery-copy { padding: 18px 20px 16px; }
.gallery-card h3 { margin: 0 0 9px; font-size: 18px; line-height: 1.35; font-weight: 650; }
.gallery-card p { margin: 0; min-height: 4.8em; color: #737d88; font-size: 13px; line-height: 1.6; }
.gallery-card-actions { margin-top: 16px; display: flex; align-items: center; justify-content: space-between; gap: 10px; }
.gallery-card-actions a { font-size: 12px; font-weight: 600; }
.gallery-status { text-align: center; font-size: 13px; color: #737d88; }
.gallery-status:empty { display: none; }
.gallery-error { position: absolute; inset: auto 12px 12px; border-radius: 8px; background: #fff; padding: 12px; color: #884333; font-size: 12px; }
@media (max-width: 1100px) { .gallery-grid { grid-template-columns: repeat(2,minmax(0,1fr)); gap: 20px; } }
@media (max-width: 680px) {
  .gallery-section { padding: 58px 0; }
  .gallery-inner { width: calc(100% - 28px); }
  .gallery-grid { grid-template-columns: 1fr; gap: 22px; }
  .gallery-card p { min-height: 0; }
}
