/* ==========================================================================
   Inner-page hero (v2)
   The hero restyle from the lead generation page (themes/css/lead-gen.css):
   navy base + the homepage's gradient overlay, cyan eyebrow, uppercase Oswald
   title with a cyan accent, thin cyan rule, soft intro copy. Content is
   unchanged — this only restyles the existing markup:

     .banner-industries / .banner-team > .hero
         h3 or p.h3   eyebrow
         h1 > span    title + accent
         .divider     rule
         p            intro

   Loaded (after site-chrome.css) by about, team, industries, the industry
   pages, blog, thrivingbusiness and contact — not by the Services-menu pages.
   css/innerpages.css (and css/manufacturing.css) style the same elements, so
   rules here go through html[data-theme] to win.
   ========================================================================== */

html[data-theme] :is(.banner-industries, .banner-team) {
    position: relative;
    min-height: 0;
    overflow: hidden;
    padding: 90px 0 80px;
    background: var(--navy);
}
/* the homepage overlay (index3.css .home-hero .hero-overlay) */
html[data-theme] :is(.banner-industries, .banner-team)::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image: linear-gradient(180deg, color-mix(in oklab, var(--navy-light) 70%, #ffffff61) 0%, color-mix(in oklab, var(--navy-light) 85%, transparent) 55%, var(--navy-light) 100%);
}
html[data-theme] :is(.banner-industries, .banner-team) .hero {
    position: relative;
    text-align: left;
}

/* Eyebrow */
html[data-theme] .hero :is(h3, p.h3) {
    margin: 0 0 15px;
    font-family: Roboto, sans-serif;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: .22em;
    line-height: 1.8;
    text-transform: uppercase;
    color: var(--sc-accent);
}
html[data-theme] .hero h3:empty {
    display: none;
}

/* Title */
html[data-theme] .hero h1 {
    margin: 24px 0 0;
    font-family: Oswald, sans-serif;
    font-size: clamp(2.5rem, 4.6vw, 4rem);
    font-weight: 600;
    letter-spacing: 1px;
    line-height: 1.2;
    text-transform: uppercase;
    color: #ffffff;
}
html[data-theme] .hero h1 span {
    color: var(--sc-accent) !important;
}

/* Rule */
html[data-theme] .hero .divider {
    width: 10rem;
    height: 1px;
    margin: 2rem 0;
    background: var(--sc-accent);
}

/* Intro */
html[data-theme] .hero p:not(.h3) {
    max-width: 560px;
    margin: 0 0 1rem;
    font-family: Roboto, sans-serif;
    font-size: 17.6px;
    font-weight: 400;
    letter-spacing: .025em;
    line-height: 1.8;
    color: var(--sc-ink);
}

/* --------------------------------------------------------------------------
   Manufacturing: its own banner layout (css/manufacturing.css) — title,
   subtitle (h2.h3), intro, CTA, image — and no .divider, so the rule is drawn
   under the title instead.
   -------------------------------------------------------------------------- */
html[data-theme] .banner-industries .banner-text h1::after {
    content: "";
    display: block;
    width: 10rem;
    height: 1px;
    margin: 2rem 0;
    background: var(--sc-accent);
}
html[data-theme] .banner-industries .banner-text h2.h3 {
    margin: 0 0 1rem;
    font-family: Oswald, sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1.3;
    text-transform: uppercase;
    color: #ffffff;
}

@media (max-width: 991px) {
    html[data-theme] :is(.banner-industries, .banner-team) {
        padding: 60px 0 50px;
    }
    /* innerpages.css centres the hero and pushes the title down on tablets */
    html[data-theme] .hero h1 {
        margin-top: 16px;
    }
    /* manufacturing.css centres its banner text on small screens */
    html[data-theme] .banner-industries .banner-text {
        text-align: left;
    }
}
