/* Additions on top of the Webflow stylesheet. Loaded after it. */

/* Each page keeps one h1. Headings demoted to h2 keep the h1 look with these classes:
   h1-weight where a class (xxl-heading) already sets the size, h1-size for the rest. */
.h1-weight { font-weight: 600; }
.h1-size { font-size: 42px; font-weight: 600; line-height: 1.25em; }
@media screen and (max-width: 991px) { .h1-size { font-size: 38px; } }
@media screen and (max-width: 767px) { .h1-size { font-size: 36px; } }
@media screen and (max-width: 479px) { .h1-size { font-size: 32px; } }

/* Gallery photos are real <img> tags (so they have alt text and can be indexed), filling
   the tile the way the old background image did. */
.gallery-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; object-position: 50% 35%; }
