﻿.mhg-hero-banner {
    position: relative;
    width: 100%;
    overflow: hidden;
    display: flex;
    align-items: stretch;
    background-color: #0f1720;
}

.mhg-hero-banner__bg {
    position: absolute;
    inset: 0;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center center;
    z-index: 1;
}

.mhg-hero-banner__overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    background: linear-gradient( 90deg, rgba(0, 0, 0, 0.03) 0%, rgba(0, 0, 0, 0.08) 20%, rgba(0, 0, 0, 0.20) 35%, rgba(0, 0, 0, 0.50) 48%, rgba(0, 0, 0, 0.80) 60%, rgba(0, 0, 0, 0.96) 75%, rgba(0, 0, 0, 1) 100% );
}

.mhg-hero-banner__container {
    position: relative;
    z-index: 3;
    width: 100%;
    padding-top: 80px;
    padding-bottom: 80px;
}

.mhg-hero-banner__content {
    max-width: 520px;
    margin-left: auto;
    color: #ffffff;
    text-align: left;
}

.mhg-hero-banner__title {
    margin: 0 0 20px;
    font-size: 54px;
    line-height: 1.05;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: -0.02em;
}

.mhg-hero-banner__text {
    margin-bottom: 28px;
    font-size: 18px;
    line-height: 1.65;
    color: rgba(255, 255, 255, 0.92);
}

    .mhg-hero-banner__text p:last-child {
        margin-bottom: 0;
    }

.mhg-hero-banner__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    min-height: 52px;
    padding: 14px 30px;
    border-radius: 6px;
    background-color: #ec1c24;
    color: #ffffff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 700;
    line-height: 1;
    border: 1px solid #ec1c24;
    transition: all 0.25s ease;
}

    .mhg-hero-banner__button:hover,
    .mhg-hero-banner__button:focus {
        background-color: #c8161d;
        border-color: #c8161d;
        color: #ffffff;
        text-decoration: none;
    }

@media (max-width: 1199.98px) {
    .mhg-hero-banner__title {
        font-size: 46px;
    }
}

@media (max-width: 991.98px) {
    .mhg-hero-banner__container {
        padding-top: 60px;
        padding-bottom: 60px;
    }

    .mhg-hero-banner__content {
        max-width: 100%;
        margin-left: 0;
    }

    .mhg-hero-banner__title {
        font-size: 38px;
        line-height: 1.1;
    }

    .mhg-hero-banner__text {
        font-size: 17px;
    }

    .mhg-hero-banner__overlay {
        background: linear-gradient( 90deg, rgba(0, 0, 0, 0.40) 0%, rgba(0, 0, 0, 0.56) 45%, rgba(0, 0, 0, 0.84) 100% );
    }
}

@media (max-width: 575.98px) {
    .mhg-hero-banner__container {
        padding-top: 40px;
        padding-bottom: 40px;
    }

    .mhg-hero-banner__title {
        font-size: 30px;
    }

    .mhg-hero-banner__text {
        font-size: 16px;
        line-height: 1.55;
    }

    .mhg-hero-banner__button {
        width: 100%;
        max-width: 260px;
    }
}
