/* v3.42 blog posts: centred 780px reading column, wide balanced galleries, clickable photos.
   Loaded after site-v3.37.css and components-v3.17.css; the html body prefix out-ranks their article rules. */

/* header */
html body .ah{padding-top:124px}
html body .ah-img{max-width:1160px;width:calc(100% - 48px);aspect-ratio:2/1;margin:0 auto 44px;overflow:hidden;background:#f0ede8}
html body .ah-img img{width:100%;height:100%;object-fit:cover;object-position:50% 42%}
html body .ah-meta{max-width:920px;padding-bottom:52px}
html body .ah-meta h1{font-size:clamp(2.3rem,4.4vw,3.8rem);line-height:1.08}
html body .ah-meta .tagline{font-size:1.25rem;color:#444}

/* reading column */
html body main .blog-article{max-width:828px;margin-left:auto;margin-right:auto;padding-left:24px;padding-right:24px;font-size:20px;line-height:1.72;color:#262626}
html body .blog-article p,html body .blog-article li{font-size:20px;line-height:1.72;font-weight:400}
html body .blog-article h2{font-size:clamp(1.9rem,2.8vw,2.5rem);line-height:1.15;margin-top:2.8rem}
html body .blog-article figure.blog-img{margin:2.4rem 0}
html body .blog-article figure.blog-img img{width:100%;height:auto}
@media(min-width:1440px){html body .blog-article p,html body .blog-article li{font-size:21px}}

/* the posts that had a side booking box: one centred column, box inside the article */
html body .art-wrap{display:block;padding:0;max-width:none}
html body .art-rail{display:none}
html body .inline-card{margin:2.8rem 0;padding:36px 40px;display:grid;grid-template-columns:1fr auto;gap:8px 36px;align-items:center}
html body .inline-card .rail-kicker,html body .inline-card .rail-title,html body .inline-card .rail-copy{grid-column:1;margin-bottom:0}
html body .inline-card .rail-title{font-size:1.5rem}
html body .inline-card .rail-copy{font-size:16px;font-weight:400}
html body .inline-card .rail-btn{grid-column:2;grid-row:1/4;align-self:center;white-space:nowrap;display:flex;align-items:center;justify-content:center;min-height:48px;padding:14px 24px;line-height:1.5;letter-spacing:.1em;border:1px solid var(--gold);color:var(--dk)}
html body .inline-card p::first-letter{float:none;font-size:inherit;color:inherit;margin:0;padding:0;line-height:inherit;font-family:inherit;font-weight:inherit}

/* galleries: justified rows that always fill the full gallery width (no cropping) */
html body .pg-just{display:block;width:min(1160px,calc(100vw - 48px));margin:2.6rem 0 3rem calc(50% - min(580px,50vw - 24px))}
html body .pg-row{display:flex;gap:12px;margin-bottom:12px}
html body .pg-row figure{margin:0;min-width:0}
html body .pg-row img{display:block;width:100%;height:auto}
@media(max-width:1180px){html body .pg-just{width:min(976px,calc(100vw - 48px));margin-left:calc(50% - min(488px,50vw - 24px))}}

/* clickable photos + full-screen viewer */
.zoomable{cursor:zoom-in;transition:opacity .25s}
.zoomable:hover{opacity:.92}
.zoomable:focus-visible{outline:3px solid var(--acc);outline-offset:3px}
.bl-lb{position:fixed;inset:0;z-index:300;background:rgba(12,12,12,.96);display:flex;align-items:center;justify-content:center;opacity:0;visibility:hidden;transition:opacity .3s cubic-bezier(.22,1,.36,1),visibility .3s}
.bl-lb[aria-hidden="false"]{opacity:1;visibility:visible}
.bl-lb img{max-width:92vw;max-height:88vh;object-fit:contain;display:block;box-shadow:0 20px 60px rgba(0,0,0,.4)}
.bl-lb button{position:absolute;background:rgba(255,255,255,.08);border:1px solid rgba(255,255,255,.22);color:#fff;width:56px;height:56px;display:flex;align-items:center;justify-content:center;cursor:pointer;transition:background .2s}
.bl-lb button:hover{background:rgba(255,255,255,.18)}
.bl-lb button svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:2}
.bl-lb .x{top:20px;right:20px;width:48px;height:48px;border:0;background:none}
.bl-lb .pv{left:24px;top:50%;transform:translateY(-50%)}
.bl-lb .nx{right:24px;top:50%;transform:translateY(-50%)}
.bl-lb .ct{position:absolute;bottom:22px;left:50%;transform:translateX(-50%);color:rgba(255,255,255,.65);font:500 12px/1 var(--sans);letter-spacing:.2em}

/* phones: lighter sizes, landscape header, two-up photo grid */
@media(max-width:767px){
  html body .ah-img{aspect-ratio:3/2}
  html body .inline-card{grid-template-columns:1fr;padding:28px 24px}
  html body .inline-card .rail-btn{grid-column:1;grid-row:auto;margin-top:14px}
  .bl-lb .pv,.bl-lb .nx{width:46px;height:46px}
  .bl-lb .pv{left:8px}.bl-lb .nx{right:8px}
  .bl-lb img{max-width:100vw;max-height:80vh}
}
@media(max-width:600px){
  html body .ah{padding-top:84px}
  html body .ah-img{width:calc(100% - 32px);margin-bottom:26px}
  html body .ah-meta{padding-bottom:30px}
  html body .ah-meta h1{font-size:1.85rem;line-height:1.12}
  html body .ah-meta .tagline{font-size:1.05rem}
  html body main .blog-article{padding-left:24px;padding-right:24px}
  html body .blog-article,html body .blog-article p,html body .blog-article li{font-size:17px;line-height:1.7}
  html body .blog-article h2{font-size:1.55rem;margin-top:2.2rem}
  html body .inline-card{padding:24px 22px;margin:2rem 0}
  html body .inline-card .rail-title{font-size:1.2rem}
  html body .inline-card .rail-copy{font-size:14.5px}
  html body .pg-just{display:grid;grid-template-columns:1fr 1fr;gap:8px;width:100%;margin:1.8rem 0 2.2rem}
  html body .pg-row{display:contents}
  html body .pg-row figure{aspect-ratio:4/5;overflow:hidden}
  html body .pg-row figure.pg-wide{grid-column:1/-1;aspect-ratio:3/2}
  html body .pg-row figure.pg-solo{grid-column:1/-1;aspect-ratio:1/1}
  html body .pg-row figure.pg-solo img{object-position:50% 30%}
  html body .pg-row img{width:100%;height:100%;object-fit:cover}
}
@media(prefers-reduced-motion:reduce){.bl-lb,.zoomable{transition:none}}
/* v3.43: card button matches the site button system; 24px phone gutter like every other page */
html body .inline-card .rail-btn:hover{background:var(--gold-hover);border-color:var(--gold-hover);color:var(--dk)}
@media(max-width:767px){html body .ah{padding-left:24px;padding-right:24px}html body .ah-img{width:calc(100% - 32px)}}
@media(max-width:600px){html body .ah-img{width:calc(100% - 16px)}}
html body main .art-wrap>.blog-article{padding-left:24px;padding-right:24px}
