/* DM Sans, SIL OFL 1.1. Original files and licence bundled in fonts/. */
@font-face { font-family: 'DM Sans'; src: url('fonts/DMSans-Regular.woff2') format('woff2'); font-weight: 400; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/DMSans-Bold.woff2') format('woff2'); font-weight: 700; font-style: normal; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/DMSans-Regular-Italic.woff2') format('woff2'); font-weight: 400; font-style: italic; font-display: swap; }
@font-face { font-family: 'DM Sans'; src: url('fonts/DMSans-Bold-Italic.woff2') format('woff2'); font-weight: 700; font-style: italic; font-display: swap; }
body, input, textarea, select, button { font-family: 'DM Sans', sans-serif; }
/* Match the original narrow-screen headline density with the replacement font. */
@media (max-width: 499px) {
  .single h1.entry-title { font-size: clamp(2rem, 10.6667vw, 2.625rem); overflow-wrap: anywhere; }
}
/* End fixed-height desktop tile excerpts cleanly instead of clipping a line. */
@media (min-width: 1020px) {
  .section-tiles .tile-secondary .post-excerpt { display: -webkit-box; -webkit-box-orient: vertical; -webkit-line-clamp: 2; overflow: hidden; }
}
/* Frame the subjects from uncropped source images; no moving parallax crop. */
.section-tiles .overlay-media.ba-subject-crop { position: relative !important; overflow: hidden; margin-right: 1rem; }
@media (max-width: 799px) { body.home .overlay-media.ba-subject-crop { height: 40vh; } }
.section-tiles .post-2390 .overlay-media img { object-position: 60% 50% !important; }
.section-tiles .post-6702 .overlay-media img { object-position: 0% 50% !important; }
.section-tiles .post-4288 .overlay-media img { object-position: 20% 20% !important; }
/* Keep the original field geometry; improve only the inherited pale labels. */
.page-id-919 .wpcf7-form label { color: #595959; }
/* White hero text stays legible over the original About image. */
.page-id-887 .page-header.overlay .overlay-media:before,
.page-id-887 .page-header.overlay:hover .overlay-media:before { background: rgba(0,0,0,.56); }
.wpcf7-form input:focus-visible, .wpcf7-form textarea:focus-visible, .wpcf7-form input[type=submit]:focus-visible { outline: 2px solid #1468a8; outline-offset: 3px; }
/* Replace the old image's embedded attribution with accessible linked text. */
.header-col.header-col-center .site-description { margin: .35rem 0 0; font-size: .875rem; line-height: 1.3; color: #444; }
.header-col.header-col-center .site-description a { color: inherit; text-decoration: underline; text-underline-offset: 2px; }
