/* Shared by every townwire theme: the photo (.tw-hero) and the fact of the day (.tw-fact). Each site's site.css
   sets --b (main colour), --a (accent) and decides how these look and where they sit. */
.tw-hero[hidden],.tw-fact[hidden]{display:none}
.tw-hero{position:relative;margin:0;background:var(--b,#222);color:#fff;overflow:hidden}
.tw-hero-img{display:block;width:100%;height:clamp(200px,32vw,400px);object-fit:cover}
.tw-hero-text{position:absolute;left:0;right:0;bottom:30px;padding:44px 24px 16px;background:linear-gradient(to top,rgba(0,0,0,.7),rgba(0,0,0,0))}
.tw-hero-line{margin:0;font:700 clamp(20px,3vw,30px)/1.2 var(--font-serif);text-shadow:0 1px 3px rgba(0,0,0,.5)}
.tw-hero-credit{margin:0;padding:6px 12px;font-size:13px;color:#4a4a42;background:#fff;text-align:right}
.tw-hero-credit a{color:inherit}
.tw-fact{margin:0;padding:12px 16px;background:#fff;border:2px dashed var(--b,#222)}
.tw-fact-label{margin:0 0 4px;font:700 13px/1 var(--font-sans);text-transform:uppercase;letter-spacing:.12em;color:var(--b,#222)}
.tw-fact-text{margin:0;font-size:18px;line-height:1.45}
.tw-fact-src{margin:6px 0 0;font-size:13px}
.tw-fact-src a{color:#4a4a42}
