/* Hand-written fixes on top of the Webflow CSS (not generated; keep small).
   Each fixes a bug that is also on the live Webflow site. */

/* US testimonial wall: the :lang(en-us) desktop columns beat the tablet and
   phone rules, so the 3-column grid ran 180px off-screen on phones. */
@media screen and (max-width:991px){.grid.written-testimonials:lang(en-us){grid-template-columns:1fr 1fr 1fr}}
@media screen and (max-width:767px){.grid.written-testimonials:lang(en-us){grid-template-columns:1fr 1fr}}
@media screen and (max-width:479px){.grid.written-testimonials:lang(en-us){grid-template-columns:1fr}}

/* Lead form next to the text (curriculum, course pages): on tablets the
   "1fr 1fr" grid let the form's content width win, pushing the page ~60px
   off-screen at 768px. Let both columns shrink. */
@media screen and (min-width:768px) and (max-width:991px){.grid.for-form{grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.grid.for-form>*{min-width:0}}

/* Extra <h1>s are served as <h2 data-h1> (src/webflow/headings.ts: one h1
   per page). These mirror Webflow's h1 tag rules at the same specificity as
   its h2 rules, and load after them, so the demoted headings look unchanged. */
h2:where([data-h1]){font-family:var(--_variables---typography--font);color:var(--_variables---colors--heading);font-size:var(--_variables---typography--h1-page-title);line-height:var(--_variables---typography--line-height-tight);font-weight:var(--_variables---typography--weight-bold);letter-spacing:0;text-transform:none;margin-top:0;margin-bottom:0}
@media screen and (max-width:991px){h2:where([data-h1]){font-size:2.75rem;line-height:4rem;margin-bottom:0}}
@media screen and (max-width:767px){h2:where([data-h1]){font-size:1.875rem;line-height:2.75rem;margin-bottom:0}}
@media screen and (max-width:479px){h2:where([data-h1]){text-align:inherit;font-size:1.875rem;line-height:2.75rem}}
/* Load More (src/webflow/loadmore.ts): items past the first page */
.w-dyn-item.apg-more-hidden{display:none!important}
.w-dyn-list:has([data-apg-more]):not(:has(.apg-more-hidden)):not(:has([data-apg-more-src])) > .w-pagination-wrapper{display:none}
