/* -- General -- */

.maincontent {
    display: block !important;
    font-family: 'Montserrat', 'Poppins', sans-serif;
    font-size: 18px;
    letter-spacing: .015em;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    overflow: hidden;
}
.maincontent p {
    font-size: .95em;
    line-height: 1.35em;
    font-weight: 500;
    color: #111;
}

.r_space-around {
    position: relative;
    z-index: 0;
    padding: 90px 5%;
}
.r_text-center {
    text-align: center;
}

.r_content-wrapper-sm,
.r_content-wrapper-x-sm {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.r_content-wrapper-sm {
    max-width: 1400px;
}
.r_content-wrapper-x-sm {
    max-width: 1100px;
}

.r_h2 {
    position: relative;
    font-size: 1.75em;
    font-weight: 800;
    margin: 20px 0 15px;
    line-height: 1.05em;
    color: #111;
}
.r_h2-lines {
    display: inline-block;
    padding: 0 10px;
}
.r_h2-lines::before,
.r_h2-lines::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 150px;
    height: 2px;
    background-color: var(--accent-color);
}
.r_h2-lines::before {
    right: 100%;
}
.r_h2-lines::after {
    left: 100%;
}

.r_underline-sm {
    width: 100px;
    height: 4px;
    background-color: #aaa;
    margin: 15px auto;
    border: none;
}



/* -- Hero -- */

#r_hero_section {
    position: relative;
    padding: 140px 10%;
    background-color: #252525;
    background-image: url("/imageserver/Reusable/gutters21/hero_bg_guards.webp");
    background-repeat: no-repeat;
    background-size: cover;
    background-position: 20% bottom;
    background-blend-mode: overlay;
    text-align: center;
}
#r_hero_section::after {
    content: "";
    position: absolute;
    inset: auto 0 5px;
    height: 2px;
    background-color: #f0f0f0;
}
.r_h1 {
    font-size: 2.25em;
    font-weight: 800;
    margin: 20px 0 15px;
    line-height: 1.05em;
    color: #fff;
}
.r_hero-wrapper p {
    font-weight: 600;
    font-size: 1.05em;
    line-height: 1.2em;
    color: #e0e0e0;
    font-style: italic;
    margin-bottom: 20px;
}



/* -- Gutter Guard Benefits -- */

.r_benefits-list {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 20px;
    padding: 0;
    gap: 2%;
}
.r_benefits-item {
    width: 49%;
    margin: 20px auto;
    padding: 40px 30px;
    text-align: center;
    border-top: 3px solid #656565;
    background: linear-gradient(135deg, transparent 20px, #eee 20px, #eee 40px, transparent 40px, transparent 50px, #eee 50px, #eee 60px, transparent 60px);
    box-shadow: 0 4px 8px rgba(5, 5, 5, .2);
}
.r_benefits-icon {
    position: relative;
    max-width: 115px;
    width: 100%;
    margin: 10px auto 35px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(5, 5, 5, .2);
    border-radius: 10px;
}
.r_benefits-icon-x::before,
.r_benefits-icon-x::after {
    content: "";
    position: absolute;
    bottom: 15px;
    right: 5px;
    width: 30px;
    height: 5px;
    background: #cc2231;
    transform: rotateZ(45deg);
}
.r_benefits-icon-x::before {
    transform: rotateZ(-45deg);
}
.r_benefits-icon-x::after {
    transform: rotateZ(45deg);
}
.r_benefits-icon-checkmark::after {
    content: "";
    position: absolute;
    bottom: 5px;
    right: 10px;
    border-bottom: 5px solid #29cc34;
    border-right: 5px solid #29cc34;
    transform: rotateZ(45deg);
    width: 15px;
    height: 25px;
}
.r_benefits-icon img {
    width: 100%;
    height: auto;
}
.r_benefits-item h3 {
    font-size: 1.1em;
    margin: 15px auto;
    font-weight: 700;
}
.r_benefits-item .r_underline-sm {
    width: 40px;
    background-color: var(--accent-color);
}
.r_benefits-item p {
    font-size: .9em;
    font-weight: 400;
}



/* -- Gutter Guard Types -- */

#guard_types_section {
    border-top: 2px solid #ddd;
}
#guard_types_section::before {
    content: "";
    position: absolute;
    inset: 0 0 auto;
    height: 400px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, .33) 50%, #fff 100%), url(/imageserver/Reusable/gutters21/abstract_bg.webp);
    background-size: cover;
    background-position: 75% 75%;
    z-index: -1;
}
.r_services-section {
    margin: 100px auto;
    text-align: left;
}
.r_services-section:first-child {
    margin-top: 50px;
}
.r_services-section:last-child {
    margin-bottom: 25px;
}
.r_services-wrapper {
    position: relative;
    display: flex;
    flex-wrap: wrap;
    max-width: 1250px;
}
.r_services-col-bg,
.r_services-col-text {
    width: 50%;
}
.r_services-col-bg {
    position: absolute;
    inset: 8% auto 8% 0;
    background-size: cover;
    background-position: center;
}
#r_guard_types_screen .r_services-col-bg {
    background-image: url("/imageserver/Reusable/gutters21/guard_types_screen.webp");
}
#r_guard_types_micro_mesh .r_services-col-bg {
    background-image: url("/imageserver/Reusable/gutters21/EZ-Micro-Mesh.jpeg");
}
#r_guard_types_reverse_curve .r_services-col-bg {
    background-image: url("/imageserver/Reusable/gutters21/reverse-curve-guard.jpeg");
}
#r_guard_types_foam .r_services-col-bg {
    background-image: url("/imageserver/Reusable/gutters21/guard_types_foam.webp");
}
.r_services-col-text {
    background-color: #fff;
    padding: 60px 50px 70px;
    border: 2px solid #ccc;
    box-shadow: 0 4px 8px rgba(5, 5, 5, .2);
    margin-left: auto;
}
.r_services-col-text h2 {
    position: relative;
    font-weight: 600;
}
.r_services-col-text h2::before {
    content: "";
    position: absolute;
    top: 15px;
    left: -50px;
    width: 35px;
    height: 2px;
    background-color: var(--accent-color);
}
.r_services-col-text p {
    font-weight: 400;
}

.r_services-wrapper-reverse .r_services-col-bg {
    inset: 8% 0 8% auto;
}
.r_services-wrapper-reverse .r_services-col-text {
    margin-left: 0;
}



/* -- Responsiveness -- */

@media (max-width: 981px) {
    .r_services-wrapper {
        max-width: 750px;
    }
    .r_services-col-bg,
    .r_services-col-text {
        width: 100%;
    }
    .r_services-col-bg {
        position: relative;
        inset: 0;
        height: 400px;
    }
}

@media (max-width: 750px) {
    .r_space-around {
        padding: 70px 20px;
    }

    .r_h1 {
        font-size: 2em;
    }
    .r_h2 {
        font-size: 1.6em;
    }

    #r_hero_section {
        padding: 110px 5%;
    }

    .r_benefits-item {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .r_text-center {
        text-align: left;
    }

    .r_h1 {
        font-size: 1.75em;
    }
    .r_h2 {
        font-size: 1.45em;
    }
    .r_h2-lines {
        padding: 0;
    }
    .r_h2-lines::before,
    .r_h2-lines::after {
        display: none;
    }

    #r_hero_section {
        padding: 80px 20px;
    }

    .r_services-col-bg {
        height: 300px;
    }
    .r_services-col-text {
        padding: 40px 30px 50px;
    }
    .r_services-col-text h2::before {
        top: 12px;
        left: -30px;
        width: 20px;
    }
}