/* Homepage Offices section: Wheaton office slideshow (page-scoped). */
.office-slides { position: relative; }
.office-slides .os-track { position: absolute; inset: 0; touch-action: pan-y; overscroll-behavior-x: contain; }
.office-slides .os-slide {
  position: absolute; inset: 0; margin: 0;
  opacity: 0; visibility: hidden;
  transition: opacity 1.2s ease, visibility 0s linear 1.2s;
}
.office-slides .os-slide.is-active {
  opacity: 1; visibility: visible;
  transition: opacity 1.2s ease, visibility 0s linear 0s;
}
body.home .office-slides .os-slide img {
  width: 100%; height: 100%; object-fit: cover; display: block;
}
.office-slides .os-controls {
  position: absolute; left: 0; right: 0; bottom: 0;
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  padding: 10px 10px 10px;
  background: linear-gradient(to top, rgba(20, 14, 16, 0.55), rgba(20, 14, 16, 0));
}
.office-slides .os-btn {
  appearance: none; border: 0; cursor: pointer;
  min-width: 40px; height: 40px; padding: 0 10px; border-radius: 20px;
  background: rgba(247, 243, 236, 0.92); color: #1c1416;
  font-family: inherit; font-weight: 600; font-size: 14px; line-height: 1;
  display: inline-flex; align-items: center; justify-content: center;
}
.office-slides .os-btn:hover { background: #fff; }
.office-slides .os-btn:focus-visible,
.office-slides .os-dot:focus-visible { outline: 3px solid #fff; outline-offset: 2px; box-shadow: 0 0 0 5px #7a0a24; }
.office-slides .os-btn svg { width: 16px; height: 16px; fill: currentColor; }
.office-slides .os-dots { display: flex; align-items: center; justify-content: center; gap: 2px; flex: 1; }
.office-slides .os-dot {
  appearance: none; border: 0; background: transparent; cursor: pointer;
  width: 24px; height: 40px; padding: 0; display: inline-flex; align-items: center; justify-content: center;
}
.office-slides .os-dot::before {
  content: ""; width: 9px; height: 9px; border-radius: 50%;
  background: rgba(247, 243, 236, 0.55); box-shadow: 0 0 0 1px rgba(20, 14, 16, 0.35);
}
.office-slides .os-dot[aria-current="true"]::before { background: #f7f3ec; width: 11px; height: 11px; }
.office-slides .os-sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
  .office-slides .os-slide, .office-slides .os-slide.is-active { transition: none; }
}
.office-slides .os-label {
  position: absolute; top: 12px; left: 12px; z-index: 2; margin: 0;
  padding: 7px 12px; border-radius: 999px;
  background: rgba(247, 243, 236, 0.92); color: var(--bur, #8c0727);
  font-size: 12px; font-weight: 600; letter-spacing: 0.16em; text-transform: uppercase; line-height: 1;
  pointer-events: none;
}

/* Oct 21: per-slide office label (replaces the single figcaption) */
.office-slides .os-slide-label {
  position: absolute; left: 12px; top: 12px; max-width: calc(100% - 24px);
  padding: 6px 12px; border-radius: 2px;
  background: rgba(247, 243, 236, 0.92); color: #1c1416;
  font-size: 14px; font-weight: 600; letter-spacing: 0.02em; line-height: 1.3;
}
