/* ********** General ********** */

:root {
    --r_gaf-red: #d71920;
    --r_blue: #18346A;
}
.maincontent {
    display: block !important;
    font-family: 'Poppins', 'Montserrat', sans-serif;
    font-size: 18px;
    letter-spacing: .025rem;
    max-width: 100%;
    width: 100%;
    margin: 0 !important;
    padding: 0 !important;
    border: none;
    background-color: #fff;
    overflow: hidden;
}
.maincontent p {
    font-size: 1em;
    line-height: 1.45em;
    font-weight: 400;
    color: #282828;
}
p.r_note {
    font-size: .8em;
    color: #606060;
    font-style: italic;
    margin-bottom: 20px;
}

.r_h1,
.r_h2,
.r_h3,
.r_h4 {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    position: relative;
    line-height: 1.15em;
    margin: 20px auto;
    color: #181818;
}
.r_h1 {
    font-size: 3em;
    font-weight: 300;
    color: #fff;
    text-shadow: 0 0 15px #202020;
    text-transform: uppercase;
}
.r_h1-sup {
    display: block;
    width: fit-content;
    margin: 20px auto;
    padding: 10px 30px;
    font-size: .3em;
    line-height: 1em;
    font-weight: 700;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}
.r_h2 {
    font-size: 2.25em;
    font-weight: 500;
}
.r_h2-sup {
    display: block;
    line-height: 1.15em;
    font-size: .8em;
    margin-bottom: 8px;
}
.r_h3 {
    font-size: 1.8em;
    font-weight: 400;
    margin-bottom: 30px;
}
.r_h3::after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100px;
    height: 3px;
    background-color: var(--r_gaf-red);
}
.r_h3-no-underline {
    text-align: center;
    text-transform: uppercase;
}
.r_h3-no-underline::after {
    display: none;
}
.r_h4 {
    font-size: 1.15em;
    font-weight: 600;
}
.r_h-sup {
    display: block;
    line-height: 1.15em;
    font-size: .6em;
    margin-bottom: 10px;
    font-weight: 700;
    color: var(--r_blue);
}
.r_thin {
    font-weight: 500;
}
.r_bold {
    font-weight: 700;
}
.r_blue {
    color: var(--r_blue);
}
.r_sup {
    font-weight: 300;
    color: #50525d;
    margin-left: 3px;
}

.r_space-around,
.r_space-around-lg,
.r_space-around-sm {
    position: relative;
    z-index: 0;
}
.r_space-around {
    padding: 85px 5%;
}
.r_space-around-lg {
    padding: 120px 5%;
}
.r_space-around-sm {
    padding: 50px 5%;
}

.r_content-wrapper,
.r_content-wrapper-md,
.r_content-wrapper-sm,
.r_content-wrapper-x-sm {
    width: 100%;
    margin-inline: auto;
}
.r_content-wrapper {
    max-width: 1500px;
}
.r_content-wrapper-md {
    max-width: 1350px;
}
.r_content-wrapper-sm {
    max-width: 1200px;
}
.r_content-wrapper-x-sm {
    max-width: 1100px;
}
.r_content-wrapper-left {
    margin-left: 0;
}

.r_text-center {
    text-align: center;
}

.r_site-button {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: .75em;
    font-weight: 600;
    max-width: fit-content;
    width: 100%;
    text-align: center;
    margin: 35px auto 20px;
    padding: 14px 24px;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid var(--r_gaf-red);
    color: #111;
    border-radius: 30px;
    text-transform: uppercase;
    z-index: 0;
    overflow: hidden;
    cursor: pointer;
    transition: color .33s;
}
.r_site-button:hover,
.r_site-button:focus {
    color: #fff;
    text-decoration: none;
}
.r_site-button::after {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background-color: var(--r_gaf-red);
    z-index: -1;
    border-radius: 30px;
    transition: left .33s;
}
.r_site-button:hover::after,
.r_site-button:focus::after {
    left: 0;
}

.r_site-button-center {
    margin-inline: auto !important;
}
.r_site-button-hidden {
    visibility: hidden;
}

.r_site-button-icon {
    width: 20px;
    height: auto;
    margin-right: 8px;
    fill: var(--r_gaf-red);
    transition: fill .33s;
}
.r_site-button:hover .r_site-button-icon,
.r_site-button:focus .r_site-button-icon {
    fill: #fff;
}

.r_inline-link {
    font-weight: 600;
    color: var(--r_blue);
    text-decoration: none;
    transition: color .33s;
}
.r_inline-link:hover,
.r_inline-link:focus {
    color: var(--r_gaf-red);
    text-decoration: none;
}



/* -- Hero -- */

.r_hero-section {
    min-height: 500px;
    display: flex;
    align-items: center;
    border-bottom: 10px solid var(--r_gaf-red);
    text-align: center;
}
.r_hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay;
    background-color: #404040;
    z-index: -1;
}
#r_hero_shingles::before {
    background-image: url(/imageserver/Reusable/GAF/gaf23/uhdz_bg.webp);
}
#r_hero_warranties::before {
    background-image: url(/imageserver/Reusable/GAF/gaf23/warranty_bg.webp);
}
#r_hero_commercial::before {
    background-image: url(/imageserver/Reusable/GAF/commercial/hero_bg.webp);
}
#r_hero_siding::before {
    background-image: url(/imageserver/Reusable/GAF/weatherside/hero_bg.webp);
    background-position: center 25%;
}



/* -- Responsiveness -- */

@media (max-width: 750px) {
    .r_hero-section {
        min-height: 475px;
    }
    .r_h1 {
        font-size: 2.6em;
    }
    .r_h1-sup {
        font-size: .35em;
    }
    .r_h2,
    .r_h3 {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .r_hero-section {
        min-height: 450px;
    }
    .r_h1 {
        font-size: 2.2em;
    }
    .r_h1-sup {
        font-size: .4em;
    }
    .r_h2,
    .r_h3 {
        font-size: 1.8em;
    }

    .r_space-around,
    .r_space-around-sm {
        padding-inline: 20px;
    }
    .r_space-around-lg {
        padding: 80px 20px;
    }
    .r_text-center {
        text-align: left;
    }
}






/* -- Siding - Products -- */

#r_products_section {
    background: linear-gradient(180deg, transparent 30%, #f2f4fa 50%);
}
.r_products-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 45px auto 20px;
    padding: 0;
    list-style: none;
    gap: 3%;
}
.r_products-item {
    max-width: 550px;
    width: calc(33.3333333333% - (6% / 3));
    margin: 20px auto;
    background-color: #fff;
    padding: 45px 30px;
    border-radius: 10px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: center;
    box-shadow: 0 8px 16px rgba(0, 0, 0, .1);
    transition: transform .33s;
}
.r_products-item:hover {
    transform: translateY(-8px);
}
.r_products-img {
    display: block;
    max-width: 600px;
    width: 100%;
    margin: 0 auto 45px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, .1);
    border: 3px solid #fff;
}
.r_products-img-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(7, 1fr);
    aspect-ratio: 1 / 1;
    margin: 0 auto 45px;
}
.r_products-img-grid .r_products-img {
    max-width: 300px;
    width: 100%;
    margin: 0;
}
.r_products-img-grid .r_products-img:nth-of-type(1) {
    grid-row: 1 / 5;
    grid-column: 1 / 5;
}
.r_products-img-grid .r_products-img:nth-of-type(2) {
    grid-row: 2 / 6;
    grid-column: 4 / 8;
}
.r_products-img-grid .r_products-img:nth-of-type(3) {
    grid-row: 4 / 8;
    grid-column: 2 / 6;
}
.r_products-item h3 {
    font-size: .85em;
    font-weight: 400;
    margin: 20px auto 25px;
    letter-spacing: .2em;
    color: var(--r_gaf-red);
}
.r_products-name {
    position: relative;
    display: block;
    width: fit-content;
    margin-inline: auto;
    color: #111;
    line-height: 1em;
    font-size: 1.6em;
    font-weight: 800;
    margin-top: 10px;
    letter-spacing: 0;
    text-transform: uppercase;
    transition: color .33s;
}
.r_products-item:hover .r_products-name {
    color: var(--r_gaf-red);
}
.r_products-name::before,
.r_products-name::after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 0;
    width: 50px;
    height: 2px;
    background-color: var(--r_gaf-red);
    opacity: .5;
    transition: width .33s;
}
.r_products-name::before {
    right: calc(100% + 15px);
}
.r_products-name::after {
    left: calc(100% + 15px);
}
.r_products-item:hover .r_products-name::before,
.r_products-item:hover .r_products-name::after {
    width: 20px;
}
.r_products-item p {
    font-size: .9em;
}

.r_features-box {
    margin-block: 50px 25px;
    padding-top: 20px;
    background-color: #fff;
    border-top: 1px dashed #86888d;
}
.r_features-box h4 {
    font-size: .9em;
    font-weight: 700;
    margin-block: 15px;
    color: var(--r_blue);
    text-transform: uppercase;
}
.r_features-list {
    display: flex;
    flex-wrap: wrap;
    margin: 15px auto;
    padding: 0;
    list-style: none;
    gap: 3%;
}
.r_features-item {
    width: calc(33.3333333333% - (6% / 3));
    margin-block: 5px;
    padding: 8px 12px;
    background-color: #f6f6f6;
    border: 1px solid #d0d0d0;
    border-radius: 5px;
}
.r_features-item-1 {
    width: 100%;
}
.r_features-item p {
    width: 100%;
    margin: 0;
    font-size: .8em;
    font-weight: 600;
}



/* -- Siding - Features & Benefits -- */

#r_about_section {
    background: #fff;
    text-align: center;
    color: #fff;
    border-top: 2px solid #d0d0d0;
}
.r_about-list {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin: 45px auto;
    padding: 0;
    list-style: none;
    gap: 3%;
}
.r_about-item {
    width: calc(25% - (9% / 4));
    margin-block: 20px;
    padding-inline: 5px;
    border-radius: 10px;
}
.r_about-icon {
    display: block;
    width: 70px;
    height: 70px;
    margin: 10px auto 35px;
    padding: 12px;
    fill: var(--r_gaf-red);
    background-color: #fff;
    border-radius: 50%;
    box-shadow: 0 4px 8px rgba(0, 0, 0, .2);
    transition: all .33s;
}
.r_about-item:hover .r_about-icon {
    box-shadow: none;
    fill: var(--r_blue);
    transform: scale(1.1) rotate(8deg);
}
.r_about-item:nth-of-type(even):hover .r_about-icon {
    transform: scale(1.1) rotate(-8deg);
}
.r_about-item h3 {
    font-size: 1em;
    text-transform: uppercase;
}
.r_about-item p {
    font-size: .85em;
    color: #46484d;
}



/* -- Responsiveness -- */

@media (max-width: 1200px) {
    .r_products-item {
        width: calc(50% - (3% / 2));
    }

    .r_about-item {
        width: calc(33.33333333% - (6% / 3));
    }
}

@media (max-width: 850px) {
    .r_about-item {
        width: calc(50% - (3% / 2));
    }
}

@media (max-width: 750px) {
    .r_products-item {
        width: 100%;
    }
}

@media (max-width: 550px) {
    .r_about-item {
        max-width: 400px;
        width: 100%;
        margin-inline: auto;
    }
}

@media (max-width: 480px) {
    .r_text-center .r_site-button {
        margin-left: 0;
    }
}

@media (max-width: 400px) {
    .r_features-item {
        width: 100%;
    }
}