/* On Location gallery (mobile first). Uses brand tokens from styles.css. */
.ol { max-width: 1120px; margin: 0 auto; padding: 0 16px 48px; }
.ol-head { text-align: center; padding: 22px 0 6px; }
.ol-head img { width: 170px; height: auto; margin: 0 auto; }
.ol-hero { text-align: center; padding: 18px 0 20px; }
.ol-hero .script { font-size: clamp(30px, 7vw, 44px); margin-bottom: 6px; }
.ol-hero .lede { margin: 14px auto 0; }

.ol-chips { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; margin: 4px 0 8px; }
.ol-chip { font: inherit; font-size: 13px; letter-spacing: .12em; text-transform: uppercase; min-height: 44px; padding: 8px 16px;
  background: var(--paper); color: var(--charcoal); border: 1px solid var(--champagne); cursor: pointer; }
.ol-chip:hover { border-color: var(--gold); }
.ol-chip[aria-pressed="true"] { background: var(--blush); border-color: var(--gold); color: var(--charcoal); }
.ol-chip:focus-visible, .ol-item button:focus-visible, .ol-lb button:focus-visible { outline: 2px solid var(--gold-text); outline-offset: 2px; }
.ol-count { text-align: center; color: var(--muted); font-size: 14px; margin: 0 0 14px; min-height: 1.4em; }

/* masonry-style columns so photos are never cropped */
.ol-grid { list-style: none; margin: 0 0 34px; padding: 0; column-count: 2; column-gap: 10px; }
.ol-item { break-inside: avoid; margin: 0 0 10px; }
.ol-item button { display: block; width: 100%; padding: 5px; margin: 0; cursor: zoom-in; background: var(--paper); border: 1px solid var(--champagne-2); }
.ol-item img { display: block; width: 100%; height: auto; background: linear-gradient(135deg, var(--blush-soft), var(--champagne-2)); }
.ol-item .ol-venue { display: block; padding: 6px 2px 2px; font-size: 13px; color: var(--muted); text-align: center; letter-spacing: .02em; }
.ol-empty { text-align: center; color: var(--muted); }
@media (min-width: 700px) { .ol { padding: 0 24px 60px; } .ol-grid { column-count: 3; column-gap: 14px; } .ol-item { margin-bottom: 14px; } }
@media (min-width: 1000px) { .ol-grid { column-count: 4; } }

.ol-book { text-align: center; }
.ol-book-copy { color: var(--muted); max-width: 34em; margin: 0 auto; }
.ol-book-actions { justify-content: center; }
.ol-book-actions .btn { width: 100%; max-width: 360px; }
@media (min-width: 700px) { .ol-book-actions .btn { width: auto; max-width: none; } }
.ol-foot { margin-top: 26px; display: flex; flex-direction: column; gap: 6px; align-items: center; }
.ol-quiz-link { font-size: 13px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold-text); }

/* lightbox */
.ol-lb { position: fixed; inset: 0; z-index: 1000; background: rgba(40,34,34,.92); display: flex; align-items: center; justify-content: center; padding: 56px 12px 48px; }
.ol-lb[hidden] { display: none; }
.ol-lb-fig { margin: 0; max-width: min(100%, 980px); max-height: 100%; display: flex; flex-direction: column; align-items: center; gap: 10px; min-height: 0; }
.ol-lb-fig img { max-width: 100%; max-height: calc(100vh - 150px); max-height: calc(100dvh - 150px); width: auto; height: auto; object-fit: contain; background: #2a2424; }
.ol-lb-fig figcaption { color: #f3ece2; font-size: 14px; line-height: 1.45; text-align: center; max-width: 42em; }
.ol-lb button { font: inherit; color: #fff; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.35); cursor: pointer; }
.ol-lb button:hover { background: rgba(255,255,255,.25); }
.ol-lb-x { position: absolute; top: 8px; right: 10px; width: 44px; height: 44px; font-size: 28px; line-height: 1; }
.ol-lb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 44px; height: 56px; font-size: 34px; line-height: 1; z-index: 2; }
.ol-lb-prev { left: 4px; } .ol-lb-next { right: 4px; }
.ol-lb-count { position: absolute; bottom: 12px; left: 0; right: 0; text-align: center; margin: 0; color: #e9dfd0; font-size: 13px; letter-spacing: .12em; }
.ol-lb.single .ol-lb-nav { display: none; }
body.ol-lb-open { overflow: hidden; }

/* embed mode: no logo / header / footer */
html.embed .ol-head, html.embed .ol-foot { display: none; }
html.embed body { background: transparent; }
html.embed .ol { padding-top: 6px; padding-bottom: 12px; }

/* photo credit lines */
.ol-item .ol-credit { display: block; padding: 2px 2px 2px; font-size: 12px; font-style: italic; color: var(--gold-text); text-align: center; line-height: 1.35; }
.ol-lb-fig figcaption { display: flex; flex-direction: column; gap: 4px; }
.ol-lb-credit { font-style: italic; color: #e3cfa3; font-size: 13px; letter-spacing: .02em; }
