/* AHM SEO v10 (2026-11-16)
   Section titles and slider captions changed from <h1> to <h2 class="ahm-h1"> so every page has ONE <h1>.
   These rules copy the exact look the old <h1> had (taken from bootstrap, style-main.css, style-rtl.css and inc-slider.php). */

h2.ahm-h1{font-family:Montserrat,sans-serif;font-size:36px;font-weight:500;line-height:1.1;color:inherit;margin:0}

/* section titles (products, about, projects, news, videos) */
.sec-title h2.ahm-h1{color:#292929;text-transform:uppercase;font-weight:600;font-size:30px;line-height:36px;margin-top:-7px}
.latest-project-area .sec-title h2.ahm-h1{color:#fff}

/* home slider captions */
.rev_slider_wrapper .slide-content-box h2.ahm-h1{color:#fff;font-size:50px;font-weight:400;line-height:62px;text-shadow:2px 2px 2px rgba(0,0,0,.2);margin:14px 0 9px;font-family:Montserrat,sans-serif!important}
.ahm-hero .slide-content-box h2.ahm-h1{margin:0 0 60px;transform:translateY(12px);opacity:0;transition:opacity .9s .4s,transform .9s .4s}
.ahm-hero .ahm-slide.on .slide-content-box h2.ahm-h1{opacity:1;transform:none}
@media (max-width:767px){.ahm-hero .slide-content-box h2.ahm-h1{margin-bottom:20px;font-size:24px!important;line-height:32px!important}}
@media (prefers-reduced-motion:reduce){.ahm-hero .slide-content-box h2.ahm-h1{transition:none}}

/* other places that used <h1> */
.breadcrumb-area h2.ahm-h1{color:#fff;font-size:36px;font-weight:600;line-height:36px;text-transform:uppercase}
.caption-area h2.ahm-h1{color:#fff;font-size:30px;font-weight:400;line-height:42px;margin:0 0 29px}
.sidebar-wrapper .single-sidebar .sidebar-title h2.ahm-h1{color:#292929;font-size:22px;font-weight:700;text-transform:uppercase;margin:-5px 0 17px}

/* text that is for Google + screen readers only (the home page <h1>) */
.ahm-sr{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
