.section {
    padding: 80px 0 80px;
    position: relative;
    z-index: 20;
}

.above-heading-title {
    font-weight: 500;
    font-size: 16px;
    line-height: 1.5;
    color: var(--title-above-color);
    margin-bottom: 5px;
}

.hero-section.has-benefits + .section {
    padding-top: 100px;
}

.wp-block-columns + .component { 
   margin-top: 50px;
}

h1 + .section {
    padding-top: 0;
}

.component + .wp-block-columns,
.wp-block-column + .component,
.component + .component  { 
   margin-top: 40px;
}

.section-holder-title {
    padding-bottom: 30px;
}

.style-two-rows .section-holder-title {
    max-width: 850px;
}

.style-two-rows.text-align-center .section-holder-title {
    margin-left: auto;
    margin-right: auto;
}

.text-align-center .section-holder-title {
    text-align: center;
}

.text-align-align .section-holder-title {
    text-align: left;
}

.style-one-row .section-holder-title {
    display: flex;
    gap: 100px;
    margin-bottom: 30px;
    padding: 0;
}

.section-holder-title p.description {
    font-size: 18px;
    font-weight: 500;
}

.style-one-row .section-holder-title h2 {
    min-width: 50%;
}

.text-align-center.style-two-rows .section-holder-title h2:before {
    left: 50%;
    margin-left: -40px;
}

.text-align-center.style-two-rows .section-holder-title h2:after {
    left: 50%;
    margin-left: -88px;
}

.section__body {
    margin: 0;
}

.section__body>*:last-child,
.section__body .section__row .section__col *:last-child {
    margin-bottom: 0;
}

.section__body>*:first-child,
.section__body .section__row .section__col *:first-child {
    margin-top: 0;
}

.section__row {
    display: grid;
    grid-template-columns: 50% 50%;
    margin: 0 -15px 0px;
    grid-auto-rows: auto;
}

.section__row.section__row--4-8 {
    grid-template-columns: 33.33333333% 66.66666667%;
}

.section__row.section__row--25-50-25 {
    grid-template-columns: 25% 50% 25%;
}

.section__row.section__row--3-9 {
    grid-template-columns: 25% 75%;
}

.section__col {
    width: 100%;
    padding: 0 15px;
    position: relative;
}

.section__col-inner>*:last-child {
    margin-bottom: 0;
}


/*** Primary section ***/
.section--primary,
.section--primary-half-width.horizontal,
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type {
    color: var(--primary-section-color);
}

.section--primary {
    background: var(--primary-section-background-color);
}

.section--primary h1,
.section--primary h2,
.section--primary h3,
.section--primary h4,
.section--primary h5,
.section--primary-half-width.horizontal h1,
.section--primary-half-width.horizontal h2,
.section--primary-half-width.horizontal h3,
.section--primary-half-width.horizontal h4,
.section--primary-half-width.horizontal h5, 
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type h1,
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type h2,
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type h3,
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type h4,
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type h5 {
    color: var(--primary-section-title-color);
}

.section--primary .above-heading-title,
.section--primary-half-width.horizontal .above-heading-title,
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type .above-heading-title {
    color: var(--primary-section-title-above-color);
}

.section--primary a, 
.section--primary-half-width.horizontal a,
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type a {
    color: var(--primary-section-link-color);
}

.section--primary a:hover, 
.section--primary a:focus, 
.section--primary a:active,
.section--primary-half-width.horizontal a:hover, 
.section--primary-half-width.horizontal a:focus, 
.section--primary-half-width.horizontal a:active,
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type a:hover, 
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type a:focus, 
.section--primary-half-width.vertical .wp-block-columns .wp-block-column:last-of-type a:active {
    color: var(--primary-section-link-color-hover);
}

/*** Secondary section ***/
.section--secondary {
    color: var(--secondary-section-color);
    background: var(--secondary-section-background-color);
}

.section--secondary .above-heading-title {
    color: var(--secondary-section-title-above-color);
}

.section--secondary h1,
.section--secondary h2,
.section--secondary h3,
.section--secondary h4,
.section--secondary h5 {
    color: var(--secondary-section-title-color);
}

.section--secondary a {
    color: var(--secondary-section-link-color);
}

.section--secondary a:hover, 
.section--secondary a:focus, 
.section--secondary a:active {
    color: var(--secondary-section-link-color-hover);
}

/*** Primary half width ***/
/* horizontal */
.section--primary-half-width.horizontal,
.section--background-image,
.section--primary-half-width.vertical {
    position: relative;
    z-index: 20;
}

.section--primary-half-width.horizontal > .container,
.section--primary-half-width.vertical > .container,
.section--background-image > .container {
    position: relative;
    z-index: 20;
}

.section--primary-half-width.horizontal:after {
    content: '';
    width: 100%;
    height: 50%;
    opacity: 0.7;
    top: 0;
    right: 0;
    background: var(--section-background-mask-color);
    display: block;
    position: absolute;
    z-index: 10;
}

.section--primary-half-width.horizontal:before {
    content: '';
    width: 100%;
    height: 50%;
    position: absolute;
    bottom: 0;
    right: 0;
    display: block;
    background: var(--primary-section-background-color);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
    z-index: 10;
}

/* vertical */
.section--primary-half-width.vertical:after {
    content: '';
    width: calc(50% + 10px);
    height: 100%;
    top: 0;
    right: 0;
    background: var(--primary-section-background-color);
    display: block;
    position: absolute;
    z-index: 10;
}


/*** Section background ***/

.section--background-image {
    color: var(--background-section-color);
    background-repeat: no-repeat;
    background-position: left top;
    background-size: cover;
}

.section--background-image:before {
    content: '';
    width: 100%;
    height: 100%;
    opacity: 0.7;
    top: 0;
    right: 0;
    background: var(--section-background-mask-color);
    display: block;
    position: absolute;
    z-index: 10;
}

.section--background-image .above-heading-title {
    color: var(--background-section-title-above-color);
}

.section--background-image h1,
.section--background-image h2,
.section--background-image h3,
.section--background-image h4,
.section--background-image h5 {
    color: var(--background-section-title-color);
}

.section--background-image a {
    color: var(--background-section-link-color);
}

.section--background-image a:hover, 
.section--background-image a:focus, 
.section--background-image a:active {
    color: var(--background-section-link-color-hover);
}

@media (max-width: 991px) {
    .section--primary-half-width.vertical:after {
        width: 100%;
    }
    
    .section__row.section__row--3-9,
    .section__row, 
    .section__row.section__row--25-50-25,
    .section__row.section__row--4-8 {
        grid-template-columns: 100%;
    }

    .section__col--last,
    .section__col--center {
        margin-top: 30px;
    } 

    .section__row--reverse .section__col--first {
        grid-column-start: 1;
        grid-row-start: 1;
    }

    .section__row {
        margin-right: -12px;
        margin-left: -12px;
    }

    .section-holder-title {
		max-width: 90%;
        text-align: left;
		padding-bottom: 0;
	}

    .style-one-row .section-holder-title {
        display: block;
    }

    .style-one-row .section-holder-title h2 {
        min-width: auto;
    }
}

@media (max-width: 767px) {
    .section-holder-title {
        width: 100%;
    }

    .hero-section.has-benefits + .section {
        padding-top: 130px;
        padding-bottom: 60px;
    }

    .section {
        padding: 60px 0;
    }

    .section--primary-half-width.vertical .wp-block-columns .wp-block-column,
    .section--primary-half-width.vertical .wp-block-columns .wp-block-column h1,
    .section--primary-half-width.vertical .wp-block-columns .wp-block-column h2,
    .section--primary-half-width.vertical .wp-block-columns .wp-block-column h3,
    .section--primary-half-width.vertical .wp-block-columns .wp-block-column h4,
    .section--primary-half-width.vertical .wp-block-columns .wp-block-column h5 {
        color: var(--primary-section-title-color);
    }

}