/* -- General -- */

:root {
    --r_gaf-red: #d71920;
}
.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;
    background-color: #f3f3f3;
}
.maincontent p {
    font-size: 1em;
    line-height: 1.35em;
    font-weight: 500;
    color: #282828;
}
.r_space-around {
    position: relative;
    z-index: 0;
    padding: 90px 5%;
}
.r_content-wrapper-md,
.r_content-wrapper-sm,
.r_content-wrapper-x-sm {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}
.r_content-wrapper-md {
    max-width: 1550px;
}
.r_content-wrapper-sm {
    max-width: 1400px;
}
.r_content-wrapper-x-sm {
    max-width: 1100px;
}
.r_content-left {
    margin-left: 0;
}



/* -- Shingles -- */

#r_shingle_section {
    overflow: hidden;
    background-color: #fff;
}
#r_shingle_section::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 500px;
    background-image: linear-gradient(180deg, rgba(255, 255, 255, 0) 0, rgba(255, 255, 255, 1) 100%), url(/imageserver/Reusable/GAF/gaf23/abstract-bg.webp);
    background-size: auto 150%;
    background-position: center top;
    z-index: -1;
}
.r_h1 {
    display: inline-block;
    border-top: 3px solid var(--r_gaf-red);
    padding-top: 15px;
    font-size: 2.8em;
    font-weight: 700;
    margin: 15px 0;
    line-height: 1.05em;
    color: #181818;
}
.r_h1-thin {
    font-weight: 300;
}
p.r_solar-comp {
    font-size: .9em;
    color: var(--r_gaf-red);
    font-style: italic;
    margin-top: 15px;
}

#r_shingle_wrapper {
    position: relative;
}
.r_shingle-preview {
    background-color: #ddd;
    background-image: url(/imageserver/Reusable/GAF/gaf23/gaf23-shingles/grand_sequoia_rs/charcoal-lg.webp); /* Default */
    background-size: cover;
    background-position: 40% center;
    height: 600px;
    margin-top: 50px;
    transition: opacity .3s ease-in-out;
}
p.r_shingle-title {
    position: absolute;
    bottom: 30px;
    left: 30px;
    font-size: 1.15em;
    font-weight: 700;
    background-color: #fff;
    margin: 0;
    padding: 8px 20px;
    border: 2px solid var(--r_gaf-red);
}

.r_shingle-list {
    display: flex;
    flex-wrap: wrap;
    margin: 50px auto;
    padding: 0;
    list-style: none;
}
.r_shingle-item {
    position: relative;
    width: 15.6666666666%;
    margin: 8px .5%;
    padding: 0;
    z-index: 0;
}
.r_shingle-item img {
    display: block;
    max-width: 300px;
    width: 100%;
    height: auto;
    margin: 0 auto;
}
.r_shingle-item p {
    font-size: .9em;
    font-weight: 600;
    margin: 10px auto;
}
.r_shingle-item a {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    outline: none;
    z-index: 2;
}
.r_shingle-item a::after {
    content: "";
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--r_gaf-red);
    transition: width .33s;
}
.r_shingle-item a:hover::after,
.r_shingle-item a:focus::after {
    width: 90%;
}

p.r_note {
    font-size: .85em;
    color: #606060;
    font-style: italic;
    text-align: center;
}



/* -- About -- */

.r_h2 {
    position: relative;
    font-size: 2.1em;
    font-weight: 600;
    margin: 15px 0 30px;
    line-height: 1.05em;
    color: #181818;
}
.r_h2::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--r_gaf-red);
}
.r_link {
    font-weight: 700;
    color: #484848;
    font-style: italic;
    text-decoration: underline;
}
.r_link:hover {
    color: #484848;
    text-decoration: none;
}
.r_underline {
    width: 100%;
    margin: 0 auto;
    max-width: 1550px;
    width: 90%;
    border-radius: 50%;
    height: 2px;
    background-color: #a8a8a8;
    border: none;
}

.r_logo-wrapper {
    display: flex;
    margin: 30px 0 15px;
}
.r_logo-wrapper img {
    max-width: 150px;
    width: 100%;
    height: auto;
    margin: 8px;
}



/* -- Features & Benefits -- */

.r_benefits-list {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 20px;
    padding: 0;
    list-style: none;
    gap: .75%;
}
.r_benefits-item {
    width: 31.8333333333%;
    margin: 15px auto;
    padding: 40px 30px;
    background-color: #fff;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
}
.r_benefits-icon {
    display: block;
    margin-bottom: 20px;
    width: 75px;
    height: 75px;
}
.r_fill-red {
    fill: var(--r_gaf-red);
}
.r_fill-none {
    fill: none;
}
.r_benefits-item h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin: 15px auto;
}
.r_benefits-item p {
    font-size: .95em;
}



/* -- Warranties -- */

.r_warranties-list {
    display: flex;
    flex-wrap: wrap;
    margin: 60px auto 20px;
    padding: 0;
    list-style: none;
    gap: 1%;
}
.r_warranties-item {
    max-width: 600px;
    width: 23%;
    margin: 15px auto;
}
.r_warranties-item img {
    display: block;
    max-width: 200px;
    width: 100%;
    height: auto;
    margin: 0px auto 30px;
}
.r_warranties-item h3 {
    font-size: 1.2em;
    font-weight: 700;
    margin: 15px auto;
}
.r_warranties-item p {
    font-size: .95em;
}



/* -- Responsiveness -- */

@media (max-width: 1300px) {
    .r_shingle-item {
        width: 19%;
    }

    .r_warranties-item {
        width: 48%;
    }
}

@media (max-width: 1050px) {
    .r_shingle-item {
        width: 24%;
    }
}

@media (max-width: 981px) {
    .r_benefits-item {
        width: 100%;
    }
    .r_benefits-content {
        max-width: 600px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 850px) {
    .r_shingle-item {
        width: 32.3333333333%;
    }
}

@media (max-width: 750px) {
    .r_space-around {
        padding: 70px 20px;
    }
    .r_h1 {
        font-size: 2.35em;
    }
    .r_h2 {
        font-size: 1.9em;
    }

    .r_shingle-preview {
        height: 450px;
    }
    p.r_shingle-title {
        font-size: 1.05em;
        bottom: 20px;
        left: 20px;
    }

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

@media (max-width: 600px) {
    .r_shingle-item {
        width: 49%;
    }
    .r_shingle-item p {
        font-size: .85em;
    }
}

@media (max-width: 550px) {
    .r_h1 {
        font-size: 1.9em;
    }
    .r_h2 {
        font-size: 1.7em;
    }

    .r_shingle-preview {
        height: 300px;
    }
    p.r_shingle-title {
        font-size: .95em;
        bottom: 10px;
        left: 10px;
    }
}