.hero-section {
    position: relative;
    background: var(--hero-background-color);
    overflow: hidden;
}

.has-image.hero-section:before {
    content: '';
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top right;
    width: 50%;
    height: 100%;
    display: block;
    position: absolute;
    top: 0;
    right: 0%;
    z-index: 10;
}

.hero-section h1 {
    color: var(--hero-title-color);
}

.hero-section-inner {
    position: relative;
    z-index: 20;
    padding-top: 50px;
    padding-bottom: 60px;
    max-width: 50%;
}

.no-image .hero-section-inner {
    max-width: 90%;
}

.has-image  .hero-section-inner:after {
    content: '';
    width: 250px;
    height: 100%;
    position: absolute;
    right: -220px;
    top: 0;
    z-index: 12;
    /* background: linear-gradient(90deg, #b9b4b2 10%, rgba(245, 245, 245, 0) 100%); */
    background: linear-gradient(90deg, var(--hero-background-color) 10%, rgba(245, 245, 245, 0) 100%);
}

.hero-content {
   position: relative;
   z-index: 15; 
}

.hero-text {
    color: var(--hero-text-color);
    font-size: 18px;
}

.hero-text ul li {
    position: relative;
    margin-bottom: 15px;
    display: block;
}

.check .hero-text ul li,
.check-empty .hero-text ul li,
.check-circle .hero-text ul li {
    padding-left: 35px;
}

.dot .hero-text ul li {
    padding-left: 20px;
}

.check .hero-text ul li:before,
.check-empty .hero-text ul li:before,
.check-circle .hero-text ul li:before,
.dot .hero-text ul li:before {
    font-family: 'local-business' !important;
    font-size: 16px;
    line-height: 1;
    color: var(--hero-check-color);
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: inline-block;
    position: absolute;
    top: 4px;
    left: 0;
}

.dot .hero-text ul li:before {
    top: 7px;
}

.check .hero-text ul li:before {
    content: "\e903";
}

.check-empty .hero-text ul li:before {
    content: "\e90d";

}

.check-circle .hero-text ul li:before {
    content: "\e903";
    background: var(--hero-check-circle-background-color);
    color: var(--hero-check-circle-color);
    line-height: 1.8;
    text-align: center;
    font-size: 14px;
    top: 1px;
}

.dot .hero-text ul li:before {
    content: "";
    background: var(--hero-check-color);
    width: 7px;
    height: 7px;
}

.hero-text ul li:last-child {
    margin: 0
}

.horizontal .hero-text ul {
    gap: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(0, 1fr));
}

.horizontal .hero-text ul li {
    margin: 0;
}

.list-two-column .hero-text ul {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    text-align: center;
}

.list-two-column .hero-text ul li {
    padding: 35px 0 0;
    width: calc(1/2*100% - (1 - 1/2)*30px);
    margin: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.list-two-column.check .hero-text ul li:before,
.list-two-column.check-empty .hero-text ul li:before,
.list-two-column.check-circle .hero-text ul li:before,
.list-two-column.dot .hero-text ul li:before {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    font-size: 25px;
}

.check-circle.list-two-column .hero-text ul li:before {
    width: 25px;
    height: 25px;
    font-size: 18px;
    line-height: 1.45;
}

.list-two-column.dot .hero-text ul li:before {
    width: 12px;
    height: 12px;
}

.hero-text > *:last-child {
    margin-bottom: 0;
}

.hero-section-inner .btn.primary {
    color: var(--button-primary-color-on-hero);
    background: var(--button-primary-bkg-color-on-hero);
    border-color: var(--button-primary-border-color-on-hero);
}

.hero-section-inner .btn.primary:hover,
.hero-section-inner .btn.primary:focus,
.hero-section-inner .btn.primary:active {
    color: var(--button-primary-color-hover-on-hero);
    background: var(--button-primary-bkg-color-hover-on-hero);
    border-color: var(--button-primary-border-color-hover-on-hero);
}

.hero-section-inner .btn.secondary {
    color: var(--button-secondary-color-on-hero);
    background: var(--button-secondary-bkg-color-on-hero);
    border-color: var(--button-secondary-border-color-on-hero);
}

.hero-section-inner .btn.secondary:hover,
.hero-section-inner .btn.secondary:focus,
.hero-section-inner .btn.secondary:active {
    color: var(--button-secondary-color-hover-on-hero);
    background: var(--button-secondary-bkg-color-hover-on-hero);
    border-color: var(--button-secondary-border-color-hover-on-hero);
}

/* Hero - Plain background */
.hero-section.type-background-color .hero-section-inner h1 {
    color: var(--hero-title-color-on-background);
}

.hero-section.type-background-color .hero-text,
.hero-section.type-background-color .hero-form-text h2, 
.hero-section.type-background-color .hero-form-text h3,
.hero-section.type-background-color .hero-form-text h4  {
    color: var(--hero-text-color-on-background);
}

.check.type-background-color .hero-text ul li:before,
.check-empty.type-background-color .hero-text ul li:before,
.check-circle.type-background-color .hero-text ul li:before,
.dot.type-background-color .hero-text ul li:before {
    color: var(--hero-check-color-on-background);
}

.check-circle.type-background-color .hero-text ul li:before {
    background: var(--hero-check-circle-background-color-on-background);
    color: var(--hero-check-circle-color-on-background);
}

.dot.type-background-color .hero-text ul li:before {
    background: var(--hero-check-color-on-background);
}

@media only screen and (max-width: 1199px) {
    .no-image .hero-section-inner {
        max-width: 100%;
    }
}

@media only screen and (max-width: 991px) {
    .hero-section-inner {
        max-width: 100%;
    }

    .has-image .hero-section-inner:after {
        right: 100px;
    }

    .horizontal .hero-text ul {
        grid-template-columns: 1fr 1fr;
    }
}


@media only screen and (max-width: 767px) {
    .list-two-column .hero-text ul li {
        width: 100%;
    }

    .horizontal .hero-text ul {
        grid-template-columns: 1fr;
    }

    .has-image.hero-section:before {
        left: 0%;
        width: 100%;
    }

    .has-image .hero-section-inner:after {
        right: -15px;
        left: -15px;
        width: 110%;
        background:  var(--hero-background-color) ;
        opacity: 0.75;
    }
}
