.iwb-gallery{background:#f9fafb;border:1px solid #f3f4f6;border-radius:.75rem;margin:1.5rem 0;padding:.875rem}.iwb-gallery-head{justify-content:space-between;align-items:baseline;gap:.75rem;margin-bottom:.75rem;display:flex}.iwb-gallery-title{text-transform:uppercase;letter-spacing:.18em;color:#9ca3af;font-size:11px;font-weight:800}.iwb-gallery-count{color:#dc2626;background:#fef2f2;border-radius:999px;flex-shrink:0;padding:.15rem .6rem;font-size:11px;font-weight:700}.iwb-gallery-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:.5rem;display:grid}@media (width>=640px){.iwb-gallery-grid{grid-template-columns:repeat(3,minmax(0,1fr))}}.iwb-gallery-item{cursor:zoom-in;aspect-ratio:4/3;background:#e5e7eb;border:1px solid #e5e7eb;border-radius:.5rem;width:100%;padding:0;display:block;overflow:hidden}.iwb-gallery-item img{object-fit:cover;display:block;aspect-ratio:auto!important;width:100%!important;height:100%!important;box-shadow:none!important;border-radius:0!important;margin:0!important}.iwb-gallery.is-collapsed .iwb-gallery-item:nth-child(n+9){display:none}.iwb-gallery-caption{color:#6b7280;margin-top:.625rem;font-size:.75rem;line-height:1.5}.iwb-gallery-more{color:#b91c1c;cursor:pointer;background:#fff;border:1px solid #fecaca;border-radius:.625rem;width:100%;margin-top:.75rem;padding:.65rem 1rem;font-size:.8125rem;font-weight:800;display:block}.iwb-gallery-more:hover{background:#fef2f2}.iwb-lightbox[hidden]{display:none}.iwb-lightbox{z-index:100;justify-content:center;align-items:center;display:flex;position:fixed;inset:0}.iwb-lightbox-backdrop{background:#000000eb;position:absolute;inset:0}.iwb-lightbox-figure{flex-direction:column;align-items:center;max-width:min(92vw,1100px);max-height:86vh;margin:0;display:flex;position:relative}.iwb-lightbox-img{background:#111;border-radius:.5rem;width:auto;max-width:100%;height:auto;max-height:76vh}.iwb-lightbox-img.is-preview{filter:blur(14px);opacity:.7;transform:scale(1.02)}.iwb-lightbox-stage{justify-content:center;align-items:center;min-width:min(70vw,320px);min-height:32vh;display:flex;position:relative}.iwb-lightbox-loader[hidden],.iwb-lightbox-error[hidden]{display:none}.iwb-lightbox-loader{pointer-events:none;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;padding:1rem;display:flex;position:absolute;inset:0}.iwb-lightbox-spinner{border:3px solid #ffffff40;border-top-color:#fff;border-radius:999px;width:2.75rem;height:2.75rem;animation:.8s linear infinite iwb-spin}@keyframes iwb-spin{to{transform:rotate(360deg)}}.iwb-lightbox-track{background:#fff3;border-radius:999px;width:min(46vw,280px);height:3px;overflow:hidden}.iwb-lightbox-track[hidden]{display:none}.iwb-lightbox-bar{background:#f87171;border-radius:999px;width:0%;height:100%;transition:width .15s linear}.iwb-lightbox-status{color:#d1d5db;margin:0;font-size:.75rem;line-height:1.5}.iwb-lightbox-error{text-align:center;flex-direction:column;justify-content:center;align-items:center;gap:.75rem;padding:1.5rem;display:flex;position:absolute;inset:0}.iwb-lightbox-error p{color:#e5e7eb;max-width:32ch;margin:0;font-size:.8125rem;line-height:1.6}.iwb-lightbox-retry{color:#fff;cursor:pointer;background:0 0;border:1px solid #fff6;border-radius:999px;padding:.55rem 1.1rem;font-size:.8125rem;font-weight:700}.iwb-lightbox-retry:hover{background:#ffffff1f}.iwb-lightbox-meta{color:#d1d5db;align-items:baseline;gap:.75rem;max-width:100%;margin-top:.6rem;font-size:.8125rem;display:flex}.iwb-lightbox-counter{color:#fff;flex-shrink:0;font-weight:800}.iwb-lightbox-caption{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.iwb-lightbox-btn{color:#fff;cursor:pointer;background:#0000008c;border:1px solid #ffffff40;border-radius:999px;justify-content:center;align-items:center;width:2.75rem;height:2.75rem;display:flex;position:absolute}.iwb-lightbox-btn:hover{background:#000000d9}.iwb-lightbox-close{top:1rem;right:1rem}.iwb-lightbox-prev{top:50%;left:.5rem;transform:translateY(-50%)}.iwb-lightbox-next{top:50%;right:.5rem;transform:translateY(-50%)}@media (prefers-reduced-motion:reduce){.iwb-gallery-item,.iwb-gallery-more,.iwb-lightbox-btn{transition:none}.iwb-lightbox-spinner{animation:none}.iwb-lightbox-bar{transition:none}}
