/* ==================================================
   Hero Module
================================================== */

.hero_module{
    position:relative;
    overflow:hidden;

    padding:0px 32px 90px;

    color:#fff;

    background-size:cover;
    background-position:center;
    background-repeat:no-repeat;
}

.hero_module::before{
    content:"";

    position:absolute;
    inset:0;

    background:linear-gradient(
        90deg,
        rgba(15,24,10,.82) 0%,
        rgba(15,24,10,.55) 48%,
        rgba(15,24,10,.15) 100%
    );
}

.hero_module__inner{
    position:relative;
    z-index:2;

    padding: 90px 0 0 0;
}

/* ==================================================
   Breadcrumb
================================================== */

.hero_module__breadcrumb-wrap{
    margin-bottom:14px;
}

/* ==================================================
   Slider
================================================== */

.hero_module__rotator{
    position:relative;
    min-height:260px;
}

.hero_module__slide{
    position:absolute;
    inset:0;

    width:100%;

    opacity:0;
    visibility:hidden;

    pointer-events:none;

    transform:translateY(20px);

    transition:
        opacity .6s ease,
        transform .6s ease,
        visibility 0s linear .6s;
}

.hero_module__slide.is-active{
    position:relative;

    opacity:1;
    visibility:visible;

    pointer-events:auto;

    transform:none;

    transition:
        opacity .6s ease,
        transform .6s ease,
        visibility 0s;
}

.hero_module__slide.is-exiting{
    position:relative;

    opacity:0;
    visibility:visible;

    transform:translateY(24px);

    pointer-events:none;
}

/* ==================================================
   Hero Content
================================================== */

.hero_module__slide-text{
    max-width:640px;
}

.hero_module__eyebrow{
    margin-bottom:16px;

    color:var(--ib-primary);

    font-size:13px;
    font-weight:700;

    letter-spacing:.14em;
    text-transform:uppercase;
}

.hero_module__heading{
    margin-bottom:22px;
}

.hero_module__heading h1{
    margin:0;

    font-family:var(--ib-heading-font);
    font-size:var(--ib-h1-size);
    font-weight:700;
    line-height:1.08;

    color:#fff;
}

.hero_module__subheading{
    max-width:520px;
    margin-bottom:36px;
}

.hero_module__subheading p{
    margin:0;

    font-size:19px;
    line-height:1.6;

    color:#E9EDE2;
}

/* ==================================================
   Buttons
================================================== */

.hero_module__buttons{
    display:flex;
    flex-wrap:wrap;
    gap:14px;
}

.hero_module__button,
.hero_module__button__secondary{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:15px 30px;

    border-radius:5px;

    text-decoration:none;

    transition:.2s;
}

.hero_module__button{
    background:var(--ib-primary);

    color:#fff;

    font-weight:700;
}

.hero_module__button:hover{
    transform:translateY(-2px);
    opacity:.9;
}

.hero_module__button__secondary{
    background:rgba(255,255,255,.08);

    color:#fff;

    border:1px solid rgba(255,255,255,.4);

    backdrop-filter:blur(6px);
}

.hero_module__button__secondary:hover{
    background:rgba(255,255,255,.18);
}

/* ==================================================
   Slide with image
================================================== */

.hero_module__slide--has-image.is-active,
.hero_module__slide--has-image.is-exiting{
    display:grid;
    grid-template-columns:1.1fr .9fr;
    gap:48px;
    align-items:center;
}

.hero_module__slide-media{
    height:340px;

    overflow:hidden;

    border-radius:6px;
}

.hero_module__slide-image{
    width:100%;
    height:100%;

    object-fit:cover;
}

/* ==================================================
   Responsive
================================================== */

@media (max-width:860px){


    .hero_module__inner {
        padding: 90px 0 0 0;
    }
    .hero_module__slide--has-image.is-active,
    .hero_module__slide--has-image.is-exiting{
        grid-template-columns:1fr;
    }

    .hero_module__slide-media{
        order:-1;
        height:240px;
    }

    .hero_module__heading h1{
        font-size:42px;
    }

    .hero_module__subheading p{
        font-size:18px;
    }

}