/* ═══════════════════════════════════════════════════════════════════
   S.O.T. Stays of Timor — the page of one place (includes/web-place.php)
   Loaded after stw.css, and only on a place page. Colours, radii, shadows
   and type are that stylesheet's tokens; nothing new is invented here.
   Prefix: stw-poi-
   ═══════════════════════════════════════════════════════════════════ */

/* ── Header: a photograph that fills it ───────────────────────── */
.stw-poi-hero--full .stw-phero__inner { padding-bottom: clamp(48px, 6vw, 80px); }
.stw-poi-hero .stw-poi-facts { transform: none; margin: 0; }
.stw-poi-hero--side .stw-poi-facts, .stw-poi-hero--map .stw-poi-facts { margin-bottom: clamp(28px, 4vw, 48px); }
/* The facts stand on the photograph's lower edge: 52 px on it, the rest below. */
.stw-poi-factsbar { position: relative; z-index: 2; margin-top: -52px; }
.stw-poi-factsbar .stw-poi-facts { transform: none; margin: 0; }
.stw-poi-hero--full:has(+ .stw-poi-factsbar) .stw-phero__inner { padding-bottom: calc(52px + clamp(28px, 4vw, 48px)); }
.stw .stw-poi-hero--full .stw-phero__credit { display: block; right: var(--stw-gut); bottom: 12px; max-width: min(64ch, 62vw); text-align: right; color: rgba(255,255,255,.84); text-shadow: 0 1px 10px rgba(4,34,50,.85); }
.stw .stw-poi-hero--full:has(+ .stw-poi-factsbar) .stw-phero__credit { bottom: 64px; }
.stw-poi-credit { font-size: .72rem; line-height: 1.45; }
.stw-poi-credit cite { font-style: italic; }
.stw .stw-poi-credit a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 2px; }
.stw-poi-credit__k { font-weight: 600; }

/* ── Header: text beside a picture, or beside the map ─────────── */
.stw-poi-hero__grid { display: grid; grid-template-columns: minmax(0, 1.12fr) minmax(0, .88fr); gap: clamp(28px, 5vw, 76px); align-items: center; padding-block: clamp(36px, 5vw, 76px); }
.stw-poi-hero--map .stw-poi-hero__grid:not(:has(.stw-poi-hero__map)) { grid-template-columns: minmax(0, 1fr); }
.stw-poi-hero__text { min-width: 0; }
.stw-poi-hero .stw-phero__title { overflow-wrap: anywhere; }
.stw .stw-poi-hero__local { margin: .5rem 0 0; font: 400 clamp(1.05rem, 1.5vw, 1.3rem)/1.3 var(--stw-serif); font-style: italic; color: var(--stw-ink3); }
.stw-poi-hero--full .stw-poi-hero__local { color: rgba(255,255,255,.88); text-shadow: 0 1px 14px rgba(4,34,50,.6); }
.stw .stw-poi-hero__status { display: inline-flex; align-items: center; gap: .45rem; margin: 1rem 0 0; padding: .4rem .8rem; border-radius: 999px; background: #F9EBDD; font: 600 .82rem/1.2 var(--stw-sans); color: #6E3F0C; }
.stw-poi-hero__status .stw-ic { width: 16px; height: 16px; }
.stw-poi-hero__act { display: flex; flex-wrap: wrap; gap: 10px; margin-top: clamp(20px, 2.6vw, 30px); }
.stw .stw-poi-share { cursor: pointer; font-family: inherit; -webkit-appearance: none; appearance: none; }
.stw .stw-poi-share.stw-btn--ghost, .stw .stw-poi-share.stw-btn--ghost-light, .stw .stw-poi-card button.stw-btn--ghost { background-color: transparent; }
.stw-poi-share[hidden] { display: none; }

.stw-poi-hero__pic { margin: 0; }
.stw-poi-hero__pic img { display: block; width: 100%; height: auto; aspect-ratio: 4 / 3; object-fit: cover; border-radius: var(--stw-rxl); background: var(--stw-paper3); box-shadow: var(--stw-float); }
.stw-poi-hero__pic.is-upright img { aspect-ratio: 4 / 5; max-height: 560px; }
.stw-poi-hero__pic figcaption { margin-top: .7rem; color: var(--stw-ink3); }

.stw-poi-hero__map { padding: clamp(18px, 2.6vw, 30px); border-radius: var(--stw-rxl); background: var(--stw-deep); color: #fff; box-shadow: var(--stw-float); }
.stw-poi-hero__outline { padding: 4% 2% 2%; }
.stw-poi-hero__outline .stw-map__svg, .stw-poi-where__outline .stw-map__svg { display: block; width: 100%; height: auto; overflow: visible; }
.stw-poi-hero__outline .stw-map__halo, .stw-poi-where__outline .stw-map__halo { opacity: .24; }
.stw .stw-poi-hero__where { display: flex; align-items: center; gap: .5rem; margin: 14px 0 0; padding-top: 14px; border-top: 1px solid rgba(255,255,255,.16); font-size: .9rem; color: rgba(255,255,255,.86); }
.stw-poi-hero__where .stw-ic { flex: none; width: 18px; height: 18px; color: var(--stw-sand); }
@media (prefers-reduced-motion: no-preference) {
  /* Three slow pulses on arrival, then still: nothing here keeps moving. */
  .stw-js .stw-poi-hero__outline .stw-map__halo { transform-box: fill-box; transform-origin: center; animation: stw-poi-pulse 2.2s ease-out 3; }
}
@keyframes stw-poi-pulse { from { transform: scale(.45); opacity: .5; } to { transform: scale(1.5); opacity: 0; } }

/* ── The page's own menu ──────────────────────────────────────── */
/* The same row of links the directory pages carry (.stw-dirtabs); it scrolls away with the page. */

/* ── Two columns ──────────────────────────────────────────────── */
.stw-poi-body { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: clamp(32px, 4.5vw, 76px); align-items: start; padding-block: clamp(40px, 5.5vw, 84px); }
.stw-poi-body--single { grid-template-columns: minmax(0, 1fr); }
.stw-poi-main { min-width: 0; max-width: 780px; }
.stw-poi-body--single .stw-poi-main { margin-inline: auto; }
.stw-poi-sec { scroll-margin-top: calc(var(--stw-head-h, 150px) + 24px); }
.stw-poi-side { align-self: stretch; display: flex; flex-direction: column; gap: 18px; min-width: 0; }
.stw-poi-side > :last-child { position: sticky; top: calc(var(--stw-head-h, 150px) + 68px); }
.stw-poi--full .stw-poi-tabs + .stw-poi-body, .stw-poi-tabs + .stw-poi-body { padding-top: clamp(32px, 4.4vw, 60px); }

/* ── Nobody has written about it yet ──────────────────────────── */
.stw-poi-blank { display: grid; grid-template-columns: auto minmax(0, 1fr); gap: 18px; padding: clamp(22px, 3vw, 34px); border: 1.5px dashed var(--stw-line); border-radius: var(--stw-rxl); background: var(--stw-paper2); }
.stw-poi-blank > .stw-ic { width: 30px; height: 30px; margin-top: 4px; color: var(--stw-ocean); }
.stw .stw-poi-blank__t { margin: 0 0 .55rem; font: 400 clamp(1.35rem, 2.1vw, 1.7rem)/1.15 var(--stw-serif); letter-spacing: -.018em; color: var(--stw-ink); }
.stw-poi-blank p { margin: 0 0 1.1rem; font-size: 1rem; line-height: 1.6; color: var(--stw-ink2); }

/* ── Chips, the reasons to go ─────────────────────────────────── */
.stw .stw-poi-chips { display: flex; flex-wrap: wrap; gap: 8px; margin: 1.2em 0; }
.stw-poi-chips .stw-chip { padding: .45rem .8rem; font-size: .8rem; letter-spacing: .01em; }
.stw-poi-why li strong { color: var(--stw-ink); }

/* ── Photographs ──────────────────────────────────────────────── */
/* Six columns, so that any number of pictures fills its rows: one more than a multiple of three opens
   with a wide picture, two more with a pair, a multiple of three with a large one beside two. */
.stw .stw-poi-gal { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px 12px; margin: 0 0 1.2em; }
.stw-poi-gal li { grid-column: span 2; min-width: 0; }
.stw-poi-gal li:first-child:nth-last-child(3n+1) { grid-column: 1 / -1; }
.stw-poi-gal li:first-child:nth-last-child(3n+1) img { aspect-ratio: 16 / 9; }
.stw-poi-gal li:first-child:nth-last-child(3n+2), .stw-poi-gal li:first-child:nth-last-child(3n+2) + li { grid-column: span 3; }
.stw-poi-gal li:first-child:nth-last-child(3n+2) img, .stw-poi-gal li:first-child:nth-last-child(3n+2) + li img { aspect-ratio: 3 / 2; }
.stw-poi-gal li:first-child:nth-last-child(3n) { grid-column: span 4; grid-row: span 2; }
.stw .stw-poi-old { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 14px 12px; margin: 1.2em 0; }
.stw-poi-gal figure, .stw-poi-old figure { display: flex; flex-direction: column; height: 100%; margin: 0; }
.stw-poi-gal figure > a, .stw-poi-old figure > a { display: block; flex: 1; overflow: hidden; border-radius: var(--stw-r); background: var(--stw-paper3); cursor: zoom-in; }
.stw-poi-gal img, .stw-poi-old img { display: block; width: 100%; height: 100%; min-height: 0; aspect-ratio: 4 / 3; object-fit: cover; transition: transform .8s var(--stw-ease); }
.stw-poi-gal figure > a:hover img, .stw-poi-old figure > a:hover img { transform: scale(1.04); }
.stw-poi-gal figcaption, .stw-poi-old figcaption { margin-top: .4rem; color: var(--stw-ink3); }
.stw-poi-gal__cap { color: var(--stw-ink2); }

/* ── Films and recordings ─────────────────────────────────────── */
.stw .stw-poi-films { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin: 0 0 1.2em; }
.stw-poi-film { min-width: 0; }
.stw-poi-film__v { display: block; width: 100%; aspect-ratio: 16 / 9; border-radius: var(--stw-r); background: var(--stw-deep); object-fit: cover; }
.stw-poi-film__a { display: block; width: 100%; }
.stw-poi-film__frame { position: relative; aspect-ratio: 16 / 9; overflow: hidden; border-radius: var(--stw-r); background: var(--stw-deep); }
.stw-poi-film__frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.stw .stw-poi-film__cap { margin: .5rem 0 0; font-size: .82rem; line-height: 1.4; color: var(--stw-ink3); }
.stw .stw-poi-play {
  display: flex; align-items: center; gap: 14px; min-height: 100%; aspect-ratio: 16 / 9; padding: 20px;
  border-radius: var(--stw-r); background: var(--stw-deep); color: #fff; text-decoration: none;
  transition: background .2s ease, transform .3s var(--stw-ease);
}
.stw .stw-poi-play:hover { background: var(--stw-ocean); transform: translateY(-2px); }
.stw-poi-play__ic { flex: none; display: grid; place-items: center; width: 52px; height: 52px; border-radius: 50%; background: var(--stw-sand); color: var(--stw-deep); }
.stw-poi-play__ic .stw-ic { width: 22px; height: 22px; }
.stw-poi-play__t { display: flex; flex-direction: column; min-width: 0; }
.stw-poi-play__t strong { font: 600 1.02rem/1.3 var(--stw-sans); color: #fff; }
.stw-poi-play__t small { margin-top: .2rem; font-size: .8rem; color: rgba(255,255,255,.75); }
.stw .stw-poi-voice .stw-poi-play { aspect-ratio: auto; min-height: 88px; max-width: 520px; }

.stw .stw-poi-voices, .stw .stw-poi-stories { display: grid; gap: 14px; margin: 0 0 1em; }
.stw-poi-voice, .stw-poi-story { padding: 20px 22px; border-radius: var(--stw-rxl); background: var(--stw-paper2); }
.stw .stw-poi-voice__who { display: flex; flex-wrap: wrap; align-items: baseline; gap: .1rem .6rem; margin: 0 0 .5rem; }
.stw-poi-voice__who strong { font: 600 1.02rem/1.3 var(--stw-sans); color: var(--stw-ink); }
.stw-poi-voice__who span { font-size: .86rem; color: var(--stw-ink3); }
.stw-poi-voice p, .stw-poi-story p { font-size: 1rem; line-height: 1.6; }
.stw-poi-voice > :last-child, .stw-poi-story > :last-child { margin-bottom: 0; }
.stw-poi-voice .stw-poi-film__v, .stw-poi-voice .stw-poi-film__frame { max-width: 520px; }
.stw .stw-poi-story__t { margin: 0 0 .4rem; font: 400 1.3rem/1.2 var(--stw-serif); letter-spacing: -.012em; color: var(--stw-ink); }
.stw .stw-poi-story__by { margin-top: .7rem; font-size: .84rem; color: var(--stw-ink3); }

.stw .stw-poi-years { display: grid; gap: 14px; margin: 1.4em 0 0; padding-left: 20px; border-left: 2px solid var(--stw-line); }
.stw-poi-years li { display: grid; gap: .1rem; }
.stw-poi-years strong { font: 600 .82rem/1.3 var(--stw-sans); letter-spacing: .08em; color: var(--stw-ocean); }
.stw-poi-years span { font-size: 1rem; line-height: 1.55; }

/* ── Good to know ─────────────────────────────────────────────── */
.stw-poi-advice:first-of-type { margin-top: 0; }
.stw-poi-lead { margin-bottom: clamp(28px, 3.6vw, 44px); }
.stw-poi-lead .stw-poi-advice { margin: 0; }
.stw-poi-lead .stw-poi-advice + .stw-poi-advice { margin-top: 12px; }
.stw .stw-poi-advice__more { margin-top: .55rem; font-size: .92rem; }
.stw .stw-poi-advice a { color: inherit; text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.stw .stw-poi-advice a:hover { text-decoration-thickness: 2px; }
/* Each note draws its own hairline, so a cell left empty beside a wide note stays white. */
.stw-poi-notes { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-flow: dense; gap: 1px; margin: 1.6em 0 0; overflow: hidden; border: 1px solid var(--stw-line); border-radius: var(--stw-r); background: #fff; }
.stw-poi-note { display: grid; grid-template-columns: auto minmax(0, 1fr); column-gap: .8rem; align-content: start; padding: 16px 18px; background: #fff; box-shadow: 0 0 0 1px var(--stw-line); }
.stw-poi-note.is-wide { grid-column: 1 / -1; }
.stw-poi-note .stw-ic { grid-row: span 2; width: 22px; height: 22px; margin-top: 2px; color: var(--stw-ocean); }
.stw-poi-note dt { font: 600 .68rem/1.3 var(--stw-sans); letter-spacing: .13em; text-transform: uppercase; color: var(--stw-ink3); }
.stw-poi-note dd { margin: .25rem 0 0; font-size: .98rem; line-height: 1.5; color: var(--stw-ink); overflow-wrap: anywhere; }
.stw .stw-poi-sec--know .stw-checked { margin-top: 28px !important; }
.stw .stw-poi-main .stw-checked a { color: var(--stw-ocean); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ── Tours that stop here ─────────────────────────────────────── */
.stw .stw-poi-tours { display: grid; gap: 12px; margin: 0 0 1.2em; }
.stw-poi-tour { position: relative; display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 16px; align-items: center; padding: 12px 18px 12px 12px; border: 1px solid rgba(15,31,36,.07); border-radius: var(--stw-rxl); background: #fff; transition: border-color .2s ease, transform .3s var(--stw-ease), box-shadow .3s ease; }
.stw-poi-tour:hover { border-color: var(--stw-ocean); transform: translateY(-2px); box-shadow: var(--stw-card); }
.stw-poi-tour:has(a:focus-visible) { outline: 3px solid var(--stw-sky); outline-offset: 2px; }
.stw-poi-tour__pic { position: relative; display: grid; place-items: center; width: 104px; height: 78px; overflow: hidden; border-radius: 14px; background: var(--stw-soft); color: var(--stw-ocean); }
.stw-poi-tour__pic--mark .stw-ic { width: 28px; height: 28px; }
.stw .stw-poi-tour__t { font: 600 1.05rem/1.3 var(--stw-sans); color: var(--stw-ink); }
.stw .stw-poi-tour__t a { color: inherit; text-decoration: none; }
.stw-poi-tour__t a::after { content: ""; position: absolute; inset: 0; }
.stw .stw-poi-tour__by, .stw .stw-poi-tour__meta { margin: .15rem 0 0; font-size: .9rem; line-height: 1.4; color: var(--stw-ink3); }
.stw .stw-poi-tour__meta { color: var(--stw-ink2); }
.stw-poi-tour__go { width: 18px; height: 18px; color: var(--stw-ink4); transition: transform .25s var(--stw-ease), color .2s ease; }
.stw-poi-tour:hover .stw-poi-tour__go { color: var(--stw-ocean); transform: translateX(3px); }

/* Another plugin's block for this place (the dive centres that dive here): this page's look, its markup. */
.stw-poi-extra { margin-top: clamp(28px, 4vw, 44px); }
.stw-poi-extra .sotdc-poi { margin: 0; }
.stw .stw-poi-extra h2 { margin: 0 0 1rem; font: 400 clamp(1.6rem, 2.6vw, 2.2rem)/1.12 var(--stw-serif); letter-spacing: -.022em; color: var(--stw-ink); }
.stw-poi-extra .sotdc-poi-card { padding: 18px 20px; border: 1px solid rgba(15,31,36,.07); border-radius: var(--stw-rxl); background: #fff; }
.stw .stw-poi-extra .sotdc-poi-card h3 { margin: 0 0 .3rem; font: 600 1.05rem/1.3 var(--stw-sans); color: var(--stw-ink); }
.stw-poi-extra .sotdc-poi-card p { font-size: .95rem; line-height: 1.5; }
.stw .stw-poi-extra .sotdc-poi-meta { color: var(--stw-ink3); font-size: .86rem; }

/* ── The side column ──────────────────────────────────────────── */
.stw-poi-card { padding: 22px; border: 1px solid rgba(15,31,36,.07); border-radius: var(--stw-rxl); background: #fff; box-shadow: var(--stw-card); }
.stw .stw-poi-card__h { margin: 0 0 14px; font: 600 .7rem/1.2 var(--stw-sans); letter-spacing: .16em; text-transform: uppercase; color: var(--stw-ink3); }
.stw .stw-poi-card__fine { margin: 14px 0 0; font-size: .8rem; line-height: 1.45; color: var(--stw-ink3); }
.stw-poi-card .stw-kv a { color: var(--stw-ocean); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.stw-poi-card .stw-toc__cta { margin-top: 16px; }
.stw .stw-poi-card .stw-btn { white-space: normal; text-align: left; line-height: 1.25; cursor: pointer; font-family: inherit; }
.stw-poi-card .stw-btn[hidden] { display: none; }
.stw-poi-where__outline { margin: 0 0 16px; padding: 14px 12px 10px; border-radius: var(--stw-r); background: var(--stw-deep); }
.stw .stw-poi-where__doubt { display: grid; grid-template-columns: auto 1fr; gap: .6rem; margin: 14px 0 0; padding: 12px 14px; border-radius: var(--stw-r); background: #F9EBDD; font-size: .86rem; line-height: 1.45; color: #6E3F0C; }
.stw-poi-where__doubt .stw-ic { width: 18px; height: 18px; margin-top: 1px; }
.stw-poi-where__map { height: 270px; margin: 16px 0 0; overflow: hidden; border-radius: var(--stw-r); background: var(--stw-paper3); }
.stw-poi-where__map[hidden] { display: none; }
.stw-poi-where__map .leaflet-container { height: 100%; font-family: var(--stw-sans); }

.stw .stw-poi-near__list { display: grid; margin: 0; }
.stw-poi-near__list li + li { border-top: 1px solid var(--stw-paper3); }
.stw .stw-poi-near__list a { display: flex; align-items: center; gap: 12px; padding: 10px 0; text-decoration: none; }
.stw-poi-near__list li:first-child a { padding-top: 0; }
.stw-poi-near__mark { position: relative; flex: none; display: grid; place-items: center; width: 56px; height: 56px; overflow: hidden; border-radius: 14px; background: var(--stw-soft); color: var(--stw-ocean); }
.stw-poi-near__mark img, .stw-poi-tour__pic img { position: absolute; inset: 0; display: block; width: 100%; height: 100%; object-fit: cover; }
.stw-poi-near__mark .stw-ic { width: 24px; height: 24px; }
.stw-poi-near__t { display: flex; flex-direction: column; min-width: 0; }
.stw-poi-near__t strong { font: 600 .96rem/1.3 var(--stw-sans); color: var(--stw-ink); }
.stw-poi-near__list a:hover strong { color: var(--stw-ocean); text-decoration: underline; text-underline-offset: 3px; }
.stw-poi-near__t small { margin-top: .1rem; font-size: .82rem; color: var(--stw-ink3); }

.stw .stw-poi-contact { display: grid; gap: 10px; }
.stw-poi-contact li { display: flex; align-items: center; gap: .6rem; font-size: .95rem; overflow-wrap: anywhere; }
.stw-poi-contact .stw-ic { flex: none; width: 18px; height: 18px; color: var(--stw-ocean); }
.stw .stw-poi-contact a { color: var(--stw-ocean); text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }

/* ── The picture viewer ───────────────────────────────────────── */
.stw-poi-lb { width: 100vw; max-width: 100vw; height: 100dvh; max-height: 100dvh; margin: 0; padding: 0; border: 0; background: rgba(6,24,32,.97); color: #fff; }
.stw-poi-lb::backdrop { background: rgba(6,24,32,.9); }
.stw-poi-lb[open] { display: grid; place-items: center; }
.stw-poi-lb figure { display: grid; justify-items: center; gap: 12px; margin: 0; padding: 56px 72px 20px; max-height: 100dvh; }
.stw-poi-lb img { display: block; max-width: min(92vw, 1500px); max-height: calc(100dvh - 150px); width: auto; height: auto; border-radius: 10px; }
.stw-poi-lb figcaption { display: flex; flex-wrap: wrap; justify-content: center; gap: .2rem 1rem; max-width: 90ch; font-size: .84rem; line-height: 1.45; text-align: center; color: rgba(255,255,255,.82); }
.stw-poi-lb figcaption span:empty { display: none; }
.stw-poi-lb button { position: absolute; display: grid; place-items: center; width: 48px; height: 48px; padding: 0; border: 0; border-radius: 50%; background: rgba(255,255,255,.14); color: #fff; cursor: pointer; transition: background .2s ease; }
.stw-poi-lb button:hover { background: rgba(255,255,255,.28); }
.stw-poi-lb button .stw-ic { width: 22px; height: 22px; }
.stw-poi-lb__x { top: 14px; right: 14px; }
.stw-poi-lb__nav { top: 50%; transform: translateY(-50%); }
.stw-poi-lb__nav--prev { left: 14px; }
.stw-poi-lb__nav--prev .stw-ic { transform: scaleX(-1); }
.stw-poi-lb__nav--next { right: 14px; }
.stw-poi-lb__nav[hidden] { display: none; }

/* ── Narrower screens ─────────────────────────────────────────── */
@media (max-width: 1100px) {
  .stw-poi-body { grid-template-columns: minmax(0, 1fr) 320px; }
}
@media (max-width: 960px) {
  .stw-poi-hero__grid { grid-template-columns: minmax(0, 1fr); gap: 26px; padding-block: 26px 30px; }
  .stw-poi-factsbar { margin-top: 0; }
  /* As on every guide of the site: on a narrow screen the facts are a list from edge to edge. */
  .stw-poi-factsbar .stw-poi-facts, .stw-poi-hero .stw-poi-facts { margin-inline: calc(-1 * var(--stw-gut)); }
  .stw-poi-hero--side .stw-poi-facts, .stw-poi-hero--map .stw-poi-facts { margin-bottom: 0; }
  .stw-poi-hero--full:has(+ .stw-poi-factsbar) .stw-phero__inner { padding-bottom: clamp(28px, 4vw, 48px); }
  .stw .stw-poi-hero--full:has(+ .stw-poi-factsbar) .stw-phero__credit { bottom: 12px; }
  .stw-poi-body { grid-template-columns: minmax(0, 1fr); gap: 36px; }
  .stw-poi-main { max-width: none; }
  .stw-poi-side { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; }
  .stw-poi-side > :last-child { position: static; }
}
@media (max-width: 720px) {
  /* The photograph stands above the heading (stw-phero--band); its credit sits right under it. */
  .stw .stw-poi-hero--full .stw-phero__credit, .stw .stw-poi-hero--full:has(+ .stw-poi-factsbar) .stw-phero__credit { position: static; max-width: none; padding: 8px var(--stw-gut) 0; text-align: left; text-shadow: none; }
  .stw-poi-hero--full .stw-phero__inner { padding-block: 16px 22px; }
  .stw-poi-side { grid-template-columns: minmax(0, 1fr); }
  /* Two facts a row; an odd one out takes the whole row, so no cell stays empty. */
  .stw-poi-facts { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stw-poi-facts .stw-fact:last-child:nth-child(odd) { grid-column: 1 / -1; }
  .stw-poi-facts .stw-fact { padding: 15px 16px; }
  .stw .stw-poi-old { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .stw-poi-gal li, .stw-poi-gal li:first-child:nth-last-child(3n+2), .stw-poi-gal li:first-child:nth-last-child(3n+2) + li, .stw-poi-gal li:first-child:nth-last-child(3n) { grid-column: span 3; grid-row: auto; }
  .stw-poi-gal li:first-child:nth-last-child(odd) { grid-column: 1 / -1; }
  .stw-poi-gal li:first-child:nth-last-child(odd) img { aspect-ratio: 16 / 10; }
  .stw .stw-poi-films { grid-template-columns: minmax(0, 1fr); }
  .stw-poi-notes { grid-template-columns: minmax(0, 1fr); }
  .stw-poi-note { grid-column: auto !important; }
  .stw-poi-lb figure { padding: 60px 10px 16px; }
  .stw-poi-lb__nav { top: auto; bottom: 16px; transform: none; }
  .stw-poi-lb img { max-height: calc(100dvh - 190px); }
  .stw-poi-lb figcaption { padding-inline: 52px; }
}
@media (max-width: 640px) {
  .stw-poi-blank { grid-template-columns: minmax(0, 1fr); }
  .stw-poi-tour { grid-template-columns: 76px minmax(0, 1fr); padding-right: 14px; }
  .stw-poi-tour__pic { width: 76px; height: 64px; }
  .stw-poi-tour__go { display: none; }
  .stw-poi-hero__act .stw-btn { flex: 1 1 auto; justify-content: center; }
}

@media print {
  .stw-poi-hero__act, .stw-poi-tabs, .stw-poi-lb, .stw-poi-where__map, .stw-poi-card .stw-toc__cta, .stw-poi-more { display: none !important; }
  .stw-poi-body { display: block; }
  .stw-poi-side { display: block; margin-top: 24px; }
  .stw-poi-side > :last-child { position: static; }
  .stw-poi-card { box-shadow: none; }
}
