/* BBY Site: Building Updates gallery + Load more. */

/* Single update: large photo cross-fades, thumbnails and arrows are clickable. */
html body .bs-post-photo { transition: opacity 0.3s ease-in-out; }
html body .bs-post-photo.is-swapping { opacity: 0; }
html body .bs-post-thumb { cursor: pointer; }
html body .bs-post-arrow { cursor: pointer; user-select: none; }
html body .bs-post-arrow.is-disabled { opacity: 0.35; cursor: default; }
html body .bs-post-thumbs { grid-template-columns: none; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 18px) / 4); overflow-x: auto; scroll-behavior: smooth; scroll-snap-type: x mandatory; scrollbar-width: none; }
html body .bs-post-thumbs .bs-post-thumb { scroll-snap-align: start; width: 100%; }
html body .bs-post-thumbs::-webkit-scrollbar { display: none; }

/* Updates page: cards revealed by "Load more" fade in. */
@keyframes bby-fade-in { from { opacity: 0; } to { opacity: 1; } }
html body .bs-upd-card.is-revealed { animation: bby-fade-in 0.3s ease-in-out both; }
html body .bs-upd-card.is-hidden { display: none !important; }

/* Active thumbnail: plum border (follows clicks and the ‹ › arrows). */
html body .bs-post-thumb.bs-post-thumb--active { border-color: var(--bs-plum, #5f2b5f); }
