/* Jo Morphy for Gravenhurst Mayor — site styles
   The pages themselves carry inline styles, so this file only holds the
   things inline styles cannot do: web fonts and hover states.
   Load it once, site-wide. */

@import url('https://fonts.googleapis.com/css2?family=Libre+Franklin:wght@400;600;800;900&family=Source+Serif+4:ital,opsz,wght@0,8..60,400;0,8..60,600;1,8..60,400&family=Public+Sans:wght@400;600;700&family=IBM+Plex+Mono:wght@400;600&display=swap');

/* --- hover states (lifted from the design) --- */
.jm-h1:hover { background: #1B2E24 !important; }
.jm-h2:hover { background: #1B2E24 !important; color: #FAF6EC !important; }
.jm-h3:hover { border-color: #8A5327 !important; }
.jm-h4:hover { background: #FAF6EC !important; }
.jm-h5:hover { background: #E0A876 !important; color: #1B2E24 !important; }
.jm-h6:hover { color: #8A5327 !important; }

/* --- page frame --- */
body.jm-site { margin: 0; background: #FAF6EC; }
body.jm-site a { color: #8A5327; }
body.jm-site a:hover { color: #1B2E24; }
body.jm-site img { max-width: 100%; height: auto; }

/* keep a theme's default content wrapper from boxing the full-bleed bands in */
body.jm-site .jm-content,
body.jm-site .entry-content,
body.jm-site .wp-block-post-content {
  max-width: none !important;
  width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
