/* MG Lomb offline concept, round 3: heading tags corrected site-wide (one H1 per page, then H2 sections, then H3 items).
   These rules keep every heading whose tag changed looking exactly as it did before. Live since Nov 20, 2026. */

/* Footer titles: H3 -> H2 (Get In Touch, Quick Links, Services, Contact Us) */
.rs-footer .footer-top h2.footer-title { font-family: 'Open Sans'; color: #fff; font-size: 22px; font-weight: 500; line-height: 32px;
  letter-spacing: 0; text-transform: none; position: relative; margin: 0 0 10px; padding: 0; }
.rs-footer .footer-bottom h2.footer-title { display: none; }
@media only screen and (min-width: 992px) and (max-width: 1199px) { .rs-footer .footer-top h2.footer-title { font-size: 16px !important; } }

/* 404 page: its title was an H2 and the page had no H1 */
.page-error .content-area h1.mgc-404 { font-family: 'Open Sans'; color: #19082d; font-size: 35px; font-weight: 700 !important; line-height: 46px;
  letter-spacing: normal; text-transform: none; margin: 0 auto 50px; }
.page-error .content-area h1.mgc-404 span { display: block; font-size: 220px; line-height: 240px; color: #19082d; font-weight: 900; }
@media only screen and (max-width: 767px) { .page-error .content-area h1.mgc-404 span { font-size: 110px; line-height: 75px; margin: 0 0 20px; } }
@media only screen and (max-width: 480px) {
  .page-error .content-area h1.mgc-404 { font-size: 25px; margin-top: 29px; margin-bottom: 20px; }
  .page-error .content-area h1.mgc-404 span { font-size: 80px; line-height: 80px; margin-bottom: 0; }
}

/* Blog / portfolio list pages: post titles H3 -> H2 (they sat right under the page H1) */
.full-blog-content h2.blog-title { font-family: 'Open Sans'; letter-spacing: normal; text-transform: none; color: rgb(1, 13, 20); }
.archive-post h2.blog-title a { color: #032e42; }
.archive-post h2.blog-title a:hover { color: #ff7425; }
@media only screen and (max-width: 767px) { .archive-post h2.blog-title { margin-top: 15px; margin-bottom: 0 !important; } }

/* Labels that were headings but are not (VIEW OTHER CATEGORIES, Let's Talk, the address and phone number): H2 -> plain text */
.prelements-heading .title-inner p.title:is(.mgc-nh, .mgc-nh-w *) { margin-top: 0; margin-bottom: 26px; }

/* Phone/tablet "VIEW OTHER CATEGORIES" toggle (child theme + WPCode rules written for "h2"; same look for the new plain text) */
@media only screen and (max-width: 992px) {
  .submenu-title-mob p.title { margin-bottom: 0 !important; margin-left: 30px !important; cursor: pointer; }
  .submenu-title-mob p .watermark { color: #fff !important; opacity: 1 !important; font-size: 20px !important; }
  /* Oct 15 (Nick): the theme draws this +/- icon in a 190 px tall invisible box (its big-watermark line height), which
     reached ~80 px below the bar - a tap on the project breadcrumb (or anything there) opened the categories instead */
  .submenu-title-mob p .watermark { line-height: 48px !important; height: 48px; }   /* the bar's height: the whole bar still opens it */
  .submenu-title-mob p .watermark::before { content: "\2b"; font-family: "Font Awesome 5 Free"; float: right; display: inline-block !important; width: 52px !important; margin-right: 0 !important; text-align: center !important; }
  .submenu-title-mob p .watermark.clicked::before { content: "\f068"; font-family: "Font Awesome 5 Free"; float: right; display: inline-block !important; width: 52px !important; margin-right: 0 !important; text-align: center !important; }
}

/* Oct 15 (Nick and team): the SEO section headings added inside text blocks (home intro, category pages) look like the
   live site's text, not like big theme headings: 19px bold, the live site's sub-heading size (Our Process page). The page
   title stays the biggest heading, as on the live site. */
.elementor-widget-text-editor:is([data-seo-change], .mgc-seo-change) h2, .elementor-widget-text-editor:is([data-seo-change], .mgc-seo-change) h3 {
  font: 700 19px/1.4 'Open Sans', Arial, sans-serif !important; letter-spacing: 1.05px !important; color: #444 !important;
  text-transform: none !important; margin: 0 0 10px !important; }
