/* Service page hero (service-hero.twig).
   The base look comes from the shared views/sections/hero/hero.css, which the
   twig also loads. These rules only cover what is different: the wider text
   column with a label, a lead sentence and a button. */

/* Label above the title: parent page link / category */
#hero.service-hero .service-eyebrow{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4px 8px;
    margin: 28px 0 8px !important;
    color: #FBB900;
    font-size: 1rem;
    font-weight: 600;
    line-height: 1.5;
}
#hero.service-hero .service-eyebrow a{
    color: #FBB900;
    transition: color .2s ease-in-out;
}
#hero.service-hero .service-eyebrow a:hover,
#hero.service-hero .service-eyebrow a:focus-visible{
    color: #FFFFFF;
}
#hero.service-hero .service-eyebrow span[aria-hidden]{
    color: rgba(234, 238, 243, 0.5);
}
#hero.service-hero .service-eyebrow + h1{
    margin-top: 0 !important;
}

/* Keeps lines readable on very wide screens */
#hero.service-hero .service-lead,
#hero.service-hero .service-intro{
    max-width: 820px;
}

/* Lead sentence under the title */
#hero.service-hero .service-lead{
    font-size: 1.25rem;
    font-weight: 500;
    line-height: 1.5;
    margin-bottom: 20px !important;
}

/* Main text (from the editor: paragraphs, lists, links) */
#hero.service-hero .service-intro > :last-child{
    margin-bottom: 0 !important;
}
#hero.service-hero .service-intro a{
    color: #FBB900;
}
#hero.service-hero .service-intro ul,
#hero.service-hero .service-intro ol{
    padding-left: 1.25rem;
    margin-bottom: 16px;
}

#hero.service-hero .service-hero-actions{
    padding-top: 34px;
}

/* The text column is wider than on the other pages, so the NEURO watermark
   behind it is toned down to keep the text readable */
#hero.service-hero .img-right{
    opacity: 0.07;
}

/* Uploaded images stay at icon size on large screens too (the default shield
   is 191px; hero.css already limits it to 150px below 1289px) */
@media screen and (min-width: 1289px){
    #hero.service-hero .magnetic-item{
        max-width: 320px;
    }
}
/* Below 1289px hero.css pushes the image 14% past its column. This column is
   narrower than on the other pages, so keep the image inside the screen */
@media screen and (max-width: 1288px){
    #hero.service-hero .magnetic-item{
        right: 0 !important;
    }
}

@media screen and (max-width: 575.98px){
    #hero.service-hero .service-lead{
        font-size: 1.125rem;
    }
}

/* No cursor dot on service pages. hero.js adds it (#ball) for the magnetic
   effect; the shield still follows the mouse without it */
#ball{
    display: none !important;
}

/* Phones and tablets: the button comes right after the lead sentence, so visitors
   see it on the first screen; the longer intro text follows below it.
   Desktop keeps the original order (lead, text, button). */
@media screen and (max-width: 991.98px){
    #hero.service-hero .row > .col-lg-7{
        display: flex;
        flex-direction: column;
    }
    #hero.service-hero .service-hero-actions{
        order: 1;
        padding-top: 4px;
        margin-bottom: 32px;
    }
    #hero.service-hero .service-intro{
        order: 2;
    }
    /* Less empty space between the menu and the title (was 200px on tablets, 150px on
       phones), so the title, lead and button fit above the floating Neurobot button */
    #hero.service-hero{
        padding-top: 80px !important;
    }
    #hero.service-hero > .container{
        padding-top: 40px !important;
    }
}
@media screen and (max-width: 575.98px){
    #hero.service-hero > .container{
        padding-top: 16px !important;
    }
}
