/* -- General -- */

:root {
    --r_cert-blue: #005eb8;
    --r_dark-blue: #00448a;
}
.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: 400;
    color: #111;
}

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

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

.r_link {
    display: block;
    max-width: fit-content;
    width: 100%;
    font-size: .85em;
    font-weight: 600;
    text-align: center;
    margin-block: 30px 20px;
    padding: 8px 15px;
    text-decoration: none;
    background-color: transparent;
    border: 2px solid var(--r_cert-blue);
    color: var(--r_dark-blue);
    border-radius: 5px;
    transition: background-color .2s, color .2s;
}
.r_link:hover,
.r_link:focus {
    background-color: var(--r_cert-blue);
    color: #fff;
    text-decoration: none;
}
.r_link-light {
    color: #fff;
    border-color: #fff;
}
.r_link-light:hover,
.r_link-light:focus {
    background-color: #fff;
    color:  var(--r_cert-blue);
}



/* -- Hero -- */

.r_hero-logo-wrapper {
    background: linear-gradient(135deg, var(--r_dark-blue) 25%, var(--r_cert-blue) 75%);
    padding: 30px;
}
.r_hero-logo {
    display: block;
    max-width: 250px;
    width: 100%;
    height: auto;
}
.r_hero-wrapper {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row-reverse;
    min-height: 550px;
    height: 100%;
    background-color: #F6F4F0;
}
.r_hero-col-left {
    width: 55%;
    background-image: url(/imageserver/Reusable/certainteed_siding/hero_bg.webp);
    background-size: cover;
    background-position: center;
}
.r_hero-col-right {
    width: 45%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.r_hero-content {
    max-width: 700px;
    width: 100%;
    margin-left: auto;
}
.r_h1 {
    margin-block: 10px 15px;
    font-size: 2.35em;
    font-weight: 300;
    line-height: 1.15em;
}
.r_h1-sup {
    display: block;
    font-size: .7em;
    margin-bottom: 10px;
    line-height: 1.15em;
    color: var(--r_cert-blue);
    font-weight: 600;
}
.r_hero-content p {
    font-size: .9em;
}



/* -- Products -- */

.r_h2 {
    margin-block: 20px 15px;
    font-size: 2em;
    font-weight: 600;
    line-height: 1.15em;
}
.r_products-list {
    display: flex;
    flex-wrap: wrap;
    margin: 40px auto 20px;
    padding: 0;
    list-style: none;
    gap: 2%;
}
.r_products-item {
    width: 23.5%;
    margin-block: 20px;
    box-shadow: 3px 3px 4px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    text-align: left;
    background-color: #F6F4F0;
}
.r_products-img {
    display: block;
    max-width: 600px;
    width: 100%;
    height: auto;
}
.r_products-body {
    padding: 30px 30px 0;
}
.r_h3 {
    font-size: 1.2em;
    line-height: 1.15em;
    font-weight: 600;
    margin: 10px 0 15px;
}
.r_h3-thin {
    font-weight: 300;
}
.r_products-body p {
    font-size: .85em;
}
.r_products-item .r_link {
    margin: 30px 30px 45px;
}



/* -- ColorView -- */

.r_colorview-wrapper {
    display: flex;
    flex-wrap: wrap;
}
.r_colorview-col-left {
    width: 45%;
    background-image: url(/imageserver/Reusable/certainteed_siding/colorview_bg.webp);
    background-size: cover;
    background-position: center;
}
.r_colorview-col-right {
    width: 55%;
    background: linear-gradient(135deg, var(--r_dark-blue) 25%, var(--r_cert-blue) 75%);
}
.r_colorview-content {
    max-width: 700px;
    width: 100%;
}
.r_colorview-content h2 {
    color: #fff;
}
.r_colorview-content .r_h2-highlight {
    font-weight: 800;
    font-style: italic;
}
.r_h2-sup {
    display: block;
    font-size: .7em;
    margin-bottom: 10px;
    line-height: 1.15em;
    color: #fff;
    font-weight: 300;
}
.r_colorview-content p {
    color: #fff;
}



/* -- Responsiveness -- */

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

@media (max-width: 981px) {
    .r_hero-wrapper {
        min-height: auto;
    }
    .r_hero-col-left,
    .r_hero-col-right {
        width: 100%;
    }
    .r_hero-col-left {
        height: 350px;
    }
    .r_hero-content {
        margin-inline: auto;
    }

    .r_products-item {
        width: 49%;
    }

    .r_colorview-col-left,
    .r_colorview-col-right {
        width: 100%;
    }
    .r_colorview-col-left {
        height: 350px;
    }
    .r_colorview-content {
        margin-inline: auto;
    }
}

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

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

@media (max-width: 480px) {
    .r_space-around {
        padding-inline: 20px;
    }
    .r_text-center {
        text-align: left;
    }

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

    .r_hero-col-left {
        height: 250px;
    }

    .r_colorview-col-left {
        height: 250px;
    }
}