/* Real, credited places add context without interrupting the Scripture reading. */
#se-explorer .se-section-card.has-photo { padding:0 0 .75rem; min-height:225px; background:#faf7ee; }
#se-explorer .se-section-card.has-photo:after { display:none; }
#se-explorer .has-photo .se-stage-visual { display:block; width:100%; position:relative; margin-bottom:.65rem; }
#se-explorer .se-stage-visual img { display:block; width:100%; height:108px; object-fit:cover; }
#se-explorer .se-stage-visual>span { display:block; position:absolute; bottom:0; left:0; right:0; padding:1.2rem .7rem .4rem; background:linear-gradient(transparent,#102d25d9); color:#fffdf5; font:.66rem/1.3 Arial,sans-serif; text-shadow:0 1px 3px #0008; }
#se-explorer .has-photo .se-stage-icon { display:none; }
#se-explorer .has-photo .se-stage-number { top:.4rem; right:.4rem; display:grid; place-items:center; width:1.7rem; height:1.7rem; border:1px solid #fff5; border-radius:50%; background:#17392de6; color:#fff7e3; font-size:.75rem; }
#se-explorer .has-photo .se-stage-title, #se-explorer .has-photo .se-stage-count { margin-left:.75rem; margin-right:.65rem; }
#se-explorer .has-photo .se-stage-title { margin-bottom:.35rem; }
#se-explorer .has-photo .se-stage-count { margin-top:auto; }
#se-explorer .se-section-card.has-photo[aria-pressed=true] { background:var(--se-forest); color:#fff6df; border-color:var(--se-forest); }
#se-explorer .se-section-card.has-photo:hover { border-color:#8a9c76; }

#se-explorer .se-landscape-gallery { margin:3rem 0 1.5rem; padding-top:2rem; border-top:1px solid var(--se-border); }
#se-explorer .se-landscape-gallery[hidden] { display:none; }
#se-explorer .se-landscape-heading { display:flex; align-items:end; justify-content:space-between; gap:2rem; margin-bottom:1.2rem; }
#se-explorer .se-landscape-heading h2 { margin:0; font-size:clamp(1.8rem,3vw,2.65rem); line-height:1.2; letter-spacing:-.03em; }
#se-explorer .se-landscape-heading>p { max-width:350px; margin:0; font:.9rem/1.7 Arial,sans-serif; color:#53664f; }
#se-explorer .se-photo-rail { display:flex; gap:1rem; overflow-x:auto; padding:.2rem .15rem 1rem; scroll-snap-type:x proximity; scrollbar-width:thin; scrollbar-color:#97a889 transparent; }
#se-explorer .se-photo-card { flex:0 0 calc((100% - 2rem)/3); min-width:0; scroll-snap-align:start; }
#se-explorer .se-photo-card>button { display:block; width:100%; height:100%; padding:0; text-align:left; overflow:hidden; border:1px solid #d8dccd; background:#fffcf3; border-radius:8px; }
#se-explorer .se-photo-card>button:hover { border-color:#81976d; }
#se-explorer .se-photo-card-image { display:block; position:relative; overflow:hidden; }
#se-explorer .se-photo-card-image img { display:block; width:100%; height:190px; object-fit:cover; transition:transform .25s; }
#se-explorer .se-photo-card>button:hover img { transform:scale(1.035); }
#se-explorer .se-photo-card-expand { position:absolute; right:.65rem; bottom:.65rem; display:grid; place-items:center; width:38px; height:38px; border-radius:50%; color:#fff8e6; border:1px solid #ffffff80; background:#17392dd9; }
#se-explorer .se-photo-card-caption { display:flex; flex-direction:column; gap:.45rem; padding:.9rem 1rem 1rem; }
#se-explorer .se-photo-card-caption>strong { font:1.25rem/1.25 Georgia,serif; color:#254c38; }
#se-explorer .se-photo-card-caption>span { font:.79rem/1.6 Arial,sans-serif; color:#52654d; }
#se-explorer .se-photo-gallery-note { font:.76rem/1.7 Arial,sans-serif; margin:.7rem 0 0; color:#58684f; }
#se-explorer .se-photo-gallery-note a { color:#355b39; text-underline-offset:3px; }

#se-explorer .se-context-photo-card { background:#f0f0e4; margin-top:1.25rem; border:1px solid #d3d9c8; border-radius:6px; }
#se-explorer .se-photo-open { position:relative; display:block; width:100%; padding:0; border:0; background:#d4dbc9; text-align:left; overflow:hidden; }
#se-explorer .se-photo-open img { display:block; width:100%; height:clamp(200px,25vw,340px); object-fit:cover; }
#se-explorer .se-photo-enlarge { position:absolute; bottom:.7rem; right:.7rem; display:flex; align-items:center; gap:.45rem; color:#fff8e7; background:#153b2de8; border:1px solid #ffffff63; border-radius:40px; padding:.5rem .75rem; font:.76rem/1.4 Arial,sans-serif; }
#se-explorer .se-context-photo-card figcaption { display:grid; grid-template-columns:1fr auto; gap:.25rem 1rem; padding:.8rem .9rem; font:.78rem/1.65 Arial,sans-serif; color:#52664a; }
#se-explorer .se-context-photo-card figcaption strong { font:1.18rem/1.35 Georgia,serif; color:#315a3f; }
#se-explorer .se-context-photo-card figcaption>span { grid-column:1; }
#se-explorer .se-context-photo-card figcaption>a { grid-column:2; grid-row:1 / span 2; align-self:center; color:#385a32; }

#se-explorer .se-photo-dialog { box-sizing:border-box; width:min(1180px,96vw); max-width:100vw; height:min(970px,94dvh); max-height:100dvh; padding:0; border:1px solid #bbc6ac; border-radius:10px; background:#f8f4e9; color:#234835; overflow:hidden; box-shadow:0 25px 100px #0008; }
#se-explorer .se-photo-dialog[open] { display:flex; flex-direction:column; }
#se-explorer .se-photo-dialog::backdrop { background:#0a211ae3; backdrop-filter:blur(5px); }
#se-explorer .se-photo-dialog-header { display:flex; align-items:center; justify-content:space-between; gap:1rem; padding:.85rem 1.2rem; flex:0 0 auto; border-bottom:1px solid #cdd4bf; }
#se-explorer .se-photo-dialog-header .se-kicker { font-size:.65rem; margin:0 0 .25rem; }
#se-explorer .se-photo-dialog-header h2 { font-size:clamp(1.35rem,3vw,2rem); line-height:1.2; margin:0; }
#se-explorer .se-photo-close { display:flex; align-items:center; justify-content:center; gap:.4rem; flex:0 0 auto; padding:.5rem .75rem; min-width:44px; min-height:44px; border:1px solid #b4c0a8; border-radius:6px; background:#fffaf0; }
#se-explorer .se-photo-screen { flex:1 1 auto; min-height:80px; display:flex; align-items:center; justify-content:center; background:#142d25; overflow:hidden; }
#se-explorer .se-photo-screen img { display:block; height:100%; width:100%; min-height:0; object-fit:contain; }
#se-explorer .se-photo-dialog-footer { flex:0 0 auto; max-height:40dvh; overflow-y:auto; padding:.9rem 1.2rem; display:grid; grid-template-columns:minmax(0,1fr) auto; align-items:center; gap:1.5rem; }
#se-explorer #se-photo-dialog-caption { font:.9rem/1.6 Arial,sans-serif; margin:0 0 .5rem; }
#se-explorer .se-photo-attribution { margin:0; font:.74rem/1.55 Arial,sans-serif; color:#566b4c; }
#se-explorer .se-photo-attribution a { color:#325b35; text-underline-offset:3px; }
#se-explorer .se-photo-dialog-actions { display:flex; flex-direction:column; align-items:stretch; gap:.7rem; }
#se-explorer .se-photo-map-link { display:flex; align-items:center; justify-content:center; gap:.45rem; border:1px solid #a8b59a; border-radius:5px; padding:.5rem .75rem; background:#e7ecdc; color:#315c39; }
#se-explorer .se-photo-paging { display:flex; align-items:center; justify-content:center; gap:.65rem; }
#se-explorer .se-photo-paging button { display:grid; place-items:center; min-width:44px; min-height:44px; padding:.4rem .65rem; border:1px solid #b6c2a9; background:#faf8ed; border-radius:50%; }
#se-explorer .se-photo-paging>span { font:.78rem/1.3 Arial,sans-serif; color:#556b47; min-width:3.3rem; text-align:center; }
.se-teaching #se-explorer .se-landscape-gallery { display:none; }
@media(max-width:1000px) {
  #se-explorer .se-photo-card { flex-basis:calc((100% - 1rem)/2); }
  #se-explorer .se-stage-visual img { height:95px; }
  #se-explorer .se-stage-visual>span { font-size:.6rem; padding-inline:.5rem; }
  #se-explorer .se-section-card.has-photo { min-height:220px; }
}
@media(max-width:700px) {
  #se-explorer .se-section-card.has-photo { flex-basis:165px; min-height:226px; }
  #se-explorer .se-stage-visual img { height:110px; }
  #se-explorer .se-stage-visual>span { font-size:.68rem; padding-inline:.65rem; }
  #se-explorer .se-landscape-gallery { margin-top:2rem; padding-top:1.5rem; }
  #se-explorer .se-landscape-heading { display:block; }
  #se-explorer .se-landscape-heading>p { margin-top:.7rem; font-size:.88rem; }
  #se-explorer .se-photo-rail { gap:.75rem; margin-inline:-5.56%; padding-inline:5.56%; scroll-padding-left:5.56%; }
  #se-explorer .se-photo-card { flex-basis:82%; }
  #se-explorer .se-photo-card-image img { height:185px; }
  #se-explorer .se-context-photo-card figcaption { display:flex; flex-direction:column; gap:.35rem; }
  #se-explorer .se-context-photo-card figcaption>a { align-self:flex-start; }
  #se-explorer .se-photo-dialog { width:100vw; height:100dvh; max-height:100dvh; margin:0; border:0; border-radius:0; }
  #se-explorer .se-photo-dialog-header { padding:max(.7rem,env(safe-area-inset-top)) .85rem .7rem; gap:.65rem; }
  #se-explorer .se-photo-dialog-header h2 { font-size:1.35rem; }
  #se-explorer .se-photo-dialog-header .se-kicker { font-size:.58rem; letter-spacing:1px; }
  #se-explorer .se-photo-close { padding:.5rem; }
  #se-explorer .se-photo-close span { display:none; }
  #se-explorer .se-photo-dialog-footer { display:block; padding:.85rem .9rem max(.85rem,env(safe-area-inset-bottom)); max-height:44dvh; }
  #se-explorer #se-photo-dialog-caption { font-size:.88rem; }
  #se-explorer .se-photo-dialog-actions { flex-direction:row; align-items:center; justify-content:space-between; gap:.65rem; margin-top:.8rem; }
  #se-explorer .se-photo-map-link { font-size:.74rem; max-width:54%; padding:.4rem .5rem; }
  #se-explorer .se-photo-paging { gap:.3rem; }
  #se-explorer .se-photo-paging>span { min-width:2.6rem; font-size:.7rem; }
}
@media(max-height:520px) and (min-width:600px) {
  #se-explorer .se-photo-dialog { width:100vw; height:100dvh; border-radius:0; }
  #se-explorer .se-photo-dialog-header { padding:.4rem .85rem; }
  #se-explorer .se-photo-dialog-header .se-kicker { display:none; }
  #se-explorer .se-photo-dialog-header h2 { font-size:1.2rem; }
  #se-explorer .se-photo-dialog-footer { padding:.5rem .85rem; grid-template-columns:1fr auto; gap:1rem; max-height:34dvh; }
  #se-explorer .se-photo-dialog-actions { flex-direction:row; align-items:center; }
  #se-explorer #se-photo-dialog-caption { font-size:.76rem; margin-bottom:.2rem; }
  #se-explorer .se-photo-attribution { font-size:.65rem; }
}
@media(prefers-reduced-motion:reduce) { #se-explorer .se-photo-card-image img { transition:none; } }
@media print { #se-explorer .se-landscape-gallery, #se-explorer .se-photo-dialog, #se-explorer .se-photo-enlarge { display:none!important; } }
