/* Thumbnail beside the top text, sized like the home page hero photo. */
body .sr-top-thumb { align-items: flex-start; margin-bottom: 1.75em; }
body .sr-top-thumb > .wp-block-column > *:last-child { margin-bottom: 0; }
body .sr-thumb, body .sr-thumb figure { margin: 0 auto; text-align: center; }
body .sr-thumb img {
	width: 242px; max-width: 100%; height: auto; display: block; margin: 0 auto;
	cursor: zoom-in; box-shadow: 0 2px 8px rgba(0,0,0,.25);
	transition: transform .15s ease, box-shadow .15s ease;
}
body .sr-thumb a:hover img, body .sr-thumb a:focus img { transform: scale(1.03); box-shadow: 0 4px 14px rgba(0,0,0,.35); }
body .sr-thumb a { border: 0; box-shadow: none; }
body .sr-thumb figcaption { font-size: 13px; margin-top: 6px; }

/* Click-to-enlarge viewer: never wider than 1000px. */
.sr-thumb-viewer {
	position: fixed; inset: 0; z-index: 100000; background: rgba(0,0,0,.85);
	display: flex; align-items: center; justify-content: center; padding: 20px;
	cursor: zoom-out;
}
.sr-thumb-viewer img {
	max-width: min(1000px, 100%); max-height: calc(100vh - 40px);
	width: auto; height: auto; box-shadow: 0 6px 30px rgba(0,0,0,.6); background: #fff;
}
.sr-thumb-viewer button {
	position: absolute; top: 12px; right: 16px; background: none; border: 0;
	color: #fff; font-size: 38px; line-height: 1; cursor: pointer; padding: 4px 10px;
}
body.sr-thumb-open { overflow: hidden; }
@media print { .sr-thumb-viewer { display: none !important; } }