/***** NASM Homepage Hero Section *****/

.nasm-homepage-hero {
    position: relative;
    margin: 0 auto;
    line-height: 0;
    /* height: 764px; */
    height: 680px;
    overflow: hidden;
}

.hs_sms_opt_in.hs-sms_opt_in.hs-fieldtype-booleancheckbox.field.hs-form-field label span {
    font-size: 14px;
    text-transform: none;
}

.nasm-homepage-hero.light-theme .hero-mobile-img.light-theme,
.nasm-homepage-hero.dark-theme .hero-mobile-img.dark-theme {
    visibility: hidden;
}

.nasm-homepage-hero.light-theme .hero-desktop-img.light-theme,
.nasm-homepage-hero.dark-theme .hero-desktop-img.dark-theme {
    display: none;
}

.nasm-homepage-hero .homepage-hero-content {
    position: absolute;
    /* top: 20%; */
    /* top: 15%; */
    top: 8%;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    width: 92%;
}

.nasm-homepage-hero .homepage-hero-content .hero-sup-heading,
.nasm-homepage-hero .homepage-hero-content .hero-sub-heading,
.nasm-homepage-hero .homepage-hero-content .hero-main-heading {
    font-family: "peridot-pe-variable", sans-serif;
    text-align: center;
}

.nasm-homepage-hero.light-theme .homepage-hero-content .hero-sup-heading,
.nasm-homepage-hero.light-theme .homepage-hero-content .hero-sub-heading,
.nasm-homepage-hero.light-theme .homepage-hero-content .hero-main-heading {
    color: var(--brand-color-dark);
}

.nasm-homepage-hero.dark-theme .homepage-hero-content .hero-sup-heading,
.nasm-homepage-hero.dark-theme .homepage-hero-content .hero-sub-heading,
.nasm-homepage-hero.dark-theme .homepage-hero-content .hero-main-heading {
    color: var(--ui-color-light);
}

.nasm-homepage-hero .homepage-hero-content .hero-sup-heading,
.nasm-homepage-hero .homepage-hero-content .hero-sub-heading {
    font-size: 13px;
    /* font-size: 0.8125rem; */
    font-size: 1rem;
    font-weight: 400;
    font-variation-settings: 'wght' 400;
    letter-spacing: 0.08em;
    line-height: normal;
}

.nasm-homepage-hero .homepage-hero-content .hero-sup-heading {
    text-transform: uppercase;
}

.nasm-homepage-hero .homepage-hero-content .hero-sub-heading {
    line-height: 22px;
    width: 80%;
    margin: 0 auto;
}

.nasm-homepage-hero .homepage-hero-content .hero-main-heading {
    margin: 20px 0 10px;
    font-size: 2.5rem;
    font-style: normal;
    font-weight: 800;
    font-variation-settings: 'wght' 800, 'wdth' 60;
    line-height: 2.5rem;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.homepage-hero-content a.nasm-primary-btn,
.homepage-hero-content button.nasm-primary-btn {
    /* margin-top: 275px; */
    margin-top: 192px;
    height: 50px;
}

.homepage-hero-content a.nasm-primary-btn.fill-right-btn::before {
    height: 50px;
}

/* Tablet Portrait */
@media only screen and (min-width: 768px) {
    .nasm-homepage-hero {
        height: auto;
    }

    /* Active Theme */
    .nasm-homepage-hero.light-theme .hero-mobile-img.light-theme,
    .nasm-homepage-hero.dark-theme .hero-mobile-img.dark-theme {
        display: none;
    }

    /* Active Theme */
    .nasm-homepage-hero.light-theme .hero-desktop-img.light-theme,
    .nasm-homepage-hero.dark-theme .hero-desktop-img.dark-theme {
        display: inline;
        visibility: hidden;
    }
    
    .nasm-homepage-hero .homepage-hero-content {
        /* top: 20%; */
        top: 16%;
        width: 45%;
        margin: 0 0 0 30px;
    }

    .nasm-homepage-hero.right-aligned .homepage-hero-content {
        margin: 0 30px 0 0;
        left: unset;
    }

    .nasm-homepage-hero .homepage-hero-content .hero-sup-heading,
    .nasm-homepage-hero .homepage-hero-content .hero-sub-heading,
    .nasm-homepage-hero .homepage-hero-content .hero-main-heading {
        text-align: left;
    }

    .homepage-hero-content a.nasm-primary-btn,
    .homepage-hero-content button.nasm-primary-btn {
        margin-top: 5%;
        width: 60%;
    }

    .nasm-homepage-hero .homepage-hero-content .hero-sub-heading {
        margin: 0;
        width: auto;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 1024px) {
    .nasm-homepage-hero .homepage-hero-content {
        width: 400px;
        top: 20%;
    }

    .nasm-homepage-hero .homepage-hero-content .hero-main-heading {
        font-size: 3rem;
        line-height: 3rem;
    }

    .nasm-homepage-hero .homepage-hero-content .hero-sup-heading {
        font-size: 11px;
    }

    .nasm-homepage-hero .homepage-hero-content .hero-sub-heading {
        font-size: 14px;
    }

    .homepage-hero-content a.nasm-primary-btn,
    .homepage-hero-content button.nasm-primary-btn {
        margin-top: 10%;
        /* width: 35%; */
        width: 200px;
    }
}

/* Desktop */
@media only screen and (min-width: 1440px) {
    .nasm-homepage-hero {
        /* height: 810px; */
        height: 775px;
    }

    .nasm-homepage-hero.dark-theme {
        /* Remove the comment below after the - Kickoff Countdown promo ends */
        /* background-position-y: -40px; */
    }

    .nasm-homepage-hero .homepage-hero-content {
        /* top: 300px; */
        top: 260px;
        width: 580px;
        margin: 0 0 0 60px;
    }

    .nasm-homepage-hero.right-aligned .homepage-hero-content {
        margin: 0 60px 0 0;
    }

    .nasm-homepage-hero .homepage-hero-content .hero-main-heading {
        font-size: 4rem;
        line-height: 4rem;
    }

    .nasm-homepage-hero .homepage-hero-content .hero-sup-heading {
        font-size: 13px;
    }

    .nasm-homepage-hero .homepage-hero-content .hero-sub-heading {
        font-size: 16px;
    }

    .homepage-hero-content a.nasm-primary-btn,
    .homepage-hero-content button.nasm-primary-btn {
        margin-top: 48px;
        width: auto;
        max-width: 40%;
    }
}

/***** NASM Hero USP Section *****/

.nasm-hero-usp {
    height: 13rem;
    background-color: var(--brand-color-dark);
    color: var(--ui-color-light);
    text-transform: uppercase;
    overflow-x: auto;
    white-space: nowrap;
}

.hero-usp-wrapper {
    width: 56rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.hero-usp-wrapper a {
    color: var(--ui-color-light);
}

.hero-usp-column p.usp-gray a {
    font-size: 14px;
}

.usp-divider {
    height: 100%;
    border-left: 1px solid var(--ui-color-light);
    transition: all 0.5s ease-in 1s;
}

.hero-usp-column {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-flow: column;
    transform: translateY();
    transition: all 0.5s ease-in 1s;
}

.hero-usp-column p {
    font-family: "peridot-pe-variable", sans-serif;
    font-size: 0.8rem;
    font-weight: 300;
    font-variation-settings: 'wght' 300;
    letter-spacing: 0.08rem;
}

.hero-usp-column h4 {
    font-family: "peridot-pe-variable", sans-serif;
    font-size: 1.5rem;
    font-weight: 600;
    font-variation-settings: 'wght' 600, 'wdth' 80;
    letter-spacing: 0.04rem;
}

.nasm-hero-usp a:focus-visible {
    border: 2px solid var(--ui-color-light);
    border-radius: 0.5rem;
}

/* Tablet Portrait */
@media only screen and (min-width: 768px) {
    .nasm-hero-usp {
        height: 6.25rem;
    }

    .hero-usp-wrapper {
        width: 100%;
    }

    .hero-usp-column p {
        font-size: 0.75rem;
    }

    .hero-usp-column h4 {
        font-size: 1rem;
    }

    .usp-divider {
        height: 50%;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 1024px) {
    .hero-usp-column p {
        font-size: 14px;
    }

    .hero-usp-column p a {
        font-size: 14px;
        /* attempt to define 8% as px */
        letter-spacing: 1.3px;
    }

    .hero-usp-wrapper h4 a {
        font-size: 30px;
        font-variation-settings: 'wght' 800, 'wdth' 60;
    }

    .hero-usp-column h4 {
        font-size: 1.25rem;
    }
}

/* Desktop */
@media only screen and (min-width: 1440px) {
    .hero-usp-column p {
        font-size: 0.75rem;
    }

    .hero-usp-column h4 {
        font-size: 1.5rem;
    }
}

/* Max Desktop */
@media only screen and (min-width: 1920px) {
    .nasm-hero-usp {
        height: 100px;
    }

    .usp-divider {
        height: 50px;
    }

    .hero-usp-column p {
        font-size: 11px;
    }

    .hero-usp-column h4 {
        font-size: 22px;
    }
}

/***** Homepage Marquee Section *****/

@keyframes marquee-animation {
    0% {
        transform: translateX(-50%);
    }

    100% {
        transform: translateX(0%);
    }
}

/***** NASM Featured Products Section *****/

.nasm-featured-products {
    padding: 100px 0 70px;
    background-color: var(--ui-color-light);
}

.nasm-featured-products .products-filter-container {
    text-align: center;
    margin-bottom: 60px;
}

.products-filter-button,
.products-filter-container h2 {
    color: var(--ui-color-off-dark);
    font-family: "peridot-pe-variable", sans-serif;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.63px;
    line-height: 100%;
}

.products-filter-container h2 {
    font-size: 2rem;
    font-weight: 600;
    font-variation-settings: 'wght' 800, 'wdth' 70;
    color: var(--brand-color-dark);
}

.products-filter-button.active {
    color: var(--ui-color-dark);
    padding: 7px 14px;
    line-height: 1rem;
    background-color: var(--brand-color-highlight);
    border-radius: 63px;
}

.nasm-featured-products .featured-products-container {
    display: flex;
    gap: 20px;
    margin-left: 20px;
    padding-bottom: 10px;
    max-width: 1440px;
    white-space: nowrap;
    overflow-x: auto;
}

.featured-products-container .featured-product,
.featured-product .featured-product-image,
.featured-product .featured-product-details {
    /* width: 295px; */
    width: 69.45vw;
}

.featured-product .featured-product-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2rem;
    overflow: hidden;
}

.featured-product-marquee {
    --marquee-gap: 0.2rem;
    display: flex;
    overflow: hidden;
    user-select: none;
    gap: var(--marquee-gap);
    position: absolute;
    top: 40%;
    width: 100%;
    color: var(--brand-color-highlight);
    background-color: transparent;
    opacity: 0;
    transition: opacity 0.5s ease-in;
}

.marquee-product-reverse {
    top: 47%;
}

.featured-product-marquee .featured-product-marquee-content {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-around;
    min-width: 100%;
    gap: var(--marquee-gap);
    white-space: nowrap;
    animation: marquee-animation 120s linear infinite;
}

.featured-product-marquee-content.marquee-reverse {
    animation-direction: reverse;
}

/* Featured Product Hover Marquee Animation */
@keyframes marquee-animation {
    from {
        transform: translateX(calc(-100% - var(--marquee-gap)));
    }

    to {
        transform: translateX(0);
    }
}

.featured-product-marquee-content li {
    display: inline-block;
    margin: 0;
    font-family: "peridot-pe-variable", sans-serif;
    font-size: 40px;
    font-weight: 800;
    font-variation-settings: 'wght' 700, 'wdth' 60;
    font-style: normal;
    text-transform: uppercase;
    letter-spacing: 0.08rem;
    line-height: 40px;
}

.featured-product .featured-product-image a.nasm-primary-btn.fill-right-btn {
    position: absolute;
    z-index: 9999;
    bottom: 5vh;
    width: 50%;
    right: 0;
    left: 0;
    margin: auto;
}

.featured-product .featured-product-image a.nasm-primary-btn.fill-right-btn::before {
    content: "";
    width: 0;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
}

.featured-product .featured-product-image a.nasm-primary-btn.fill-right-btn:hover::before,
.featured-product .featured-product-image a.nasm-primary-btn.fill-right-btn:active::before,
.featured-product .featured-product-image a.nasm-primary-btn.fill-right-btn:focus::before {
    width: 100%;
}

.featured-product .featured-product-image a.nasm-primary-btn.fill-right-btn:hover span {
    color: var(--brand-color-black);
    background-color: transparent;
}

.featured-product .featured-product-image a.nasm-primary-btn.fill-right-btn span {
    position: relative;
}

.featured-product-details .featured-product-flag p {
    font-family: "peridot-pe-variable", sans-serif;
    font-size: 0.8125rem;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1.04px;
    line-height: 24px;
    color: var(--brand-color-dark);
    background: var(--brand-color-highlight);
    width: 140px;
    margin: 20px auto;
}

.featured-product-details .featured-product-title {
    font-family: "peridot-pe-variable", sans-serif;
    font-size: 1.5rem;
    font-weight: 500;
    font-variation-settings: 'wght' 900, 'wdth' 60;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 0.28px;
    line-height: 100%;
    color: var(--brand-color-dark);
    margin: 20px auto;
}

.featured-product-details .featured-product-description {
    width: 90%;
    margin: 0 auto;
}

.featured-product-details .featured-product-description p {
    font-family: "peridot-pe-variable", sans-serif;
    font-weight: 300;
    font-variation-settings: 'wght' 300;
    font-size: 1rem;
    text-align: center;
    color: var(--ui-color-dark);
    margin: 0;
    white-space: normal;
}

/* Tablet Portrait */
@media (min-width: 768px) {

    .featured-products-container .featured-product,
    .featured-product .featured-product-image,
    .featured-product .featured-product-details {
        width: 51.45vw;
    }

    .featured-product-details .featured-product-description {
        width: 85%;
    }

    .products-filter-container h2 {
        font-size: 2rem;
    }
}

/* Tablet Landscape */
@media (min-width: 1024px) {
    .products-filter-button {
        font-size: 1.125rem;
    }

    .featured-products-container .featured-product,
    .featured-product .featured-product-image,
    .featured-product .featured-product-details {
        /* width: 39.063vw; */
        width: 450px;
    }

    .products-filter-container h2 {
        font-size: 48px;
    }

    .featured-product .featured-product-image:hover .featured-product-marquee {
        opacity: 1;
    }

    
    .featured-product-details .featured-product-title {
        font-size: 30px;
    }

    .featured-product-details .featured-product-flag p {
        font-size: 14px;
    }

    .featured-product-details .featured-product-description p {
        font-size: 18px;
    }
}

/* Desktop */
@media (min-width: 1440px) {
    .products-filter-button {
        font-size: 20px;
    }   

    .nasm-featured-products .featured-products-container {
        justify-content: center;
        overflow-x: unset;
        margin-right: auto;
        margin-left: auto;
    }

    .featured-products-container .featured-product,
    .featured-product .featured-product-image,
    .featured-product .featured-product-details {
        width: 450px;
    }


    .featured-product-details .featured-product-description {
        width: 350px;
    }

}

/***** NASM Featured Certification Section *****/

.nasm-featured-certification {
    background-color: var(--brand-color-dark);
}

.nasm-featured-certification .featured-certification-container {
    display: flex;
    flex-direction: column;
}

.featured-certification-container .featured-certification-content-wrapper {
    position: relative;
}

.featured-certification-content-wrapper .featured-certification-content {
    margin: 40px auto 80px;
    width: 88%;
}

.featured-certification-content .nasm-site-logo {
    width: 74px;
}

.featured-certification-content .featured-sup-heading,
.featured-certification-content .featured-main-heading,
.featured-certification-content .featured-sub-heading {
    font-family: "peridot-pe-variable", sans-serif;
    color: var(--ui-color-light);
}

.featured-certification-content .featured-sup-heading,
.featured-certification-content .featured-sub-heading {
    font-size: 13px;
    font-size: 1rem;
    font-weight: 400;
    font-variation-settings: 'wght' 300;
    letter-spacing: 0.08rem;
}

.featured-certification-content .featured-sup-heading {
    text-transform: uppercase;
    margin-top: 16px;
    margin-bottom: 16px;
}

.featured-certification-content .featured-main-heading {
    font-size: 30px;
    font-size: 1.875rem;
    font-weight: 800;
    font-variation-settings: 'wght' 700, 'wdth' 64;
    line-height: 30px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin: 16px 0 20px;
}

.featured-certification-content .featured-sub-heading {
    line-height: 22px;
    width: 80%;
}

.featured-certification-content a.nasm-primary-btn,
.featured-certification-content button.nasm-primary-btn {
    width: fit-content;
    margin-top: 20px;
    padding: 0px 30px;
}

.featured-certification-container .featured-certification-img-wrapper {
    position: relative;
    order: -1;
    background: url("/images/nasmlibraries/pages/home/featured-category/blackfriday-home-elite-logged-out_431x346_optimized.jpg?sfvrsn=9eb14216_2") no-repeat center bottom #123257;
    background-size: cover;
}

.featured-certification-img-wrapper .featured-certification-img-desktop {
    display: none;
}

.featured-certification-img-wrapper .featured-certification-img-mobile {
    width: 100%;
    display: block;
    visibility: hidden;
    max-block-size: fit-content;
}

/* Tablet Portrait */
@media only screen and (min-width: 768px) {
    .nasm-featured-certification .featured-certification-container {
        flex-direction: row;
    }

    .featured-certification-container .featured-certification-content-wrapper,
    .featured-certification-container .featured-certification-img-wrapper {
        flex-basis: 50%;
    }

    .featured-certification-content-wrapper .featured-certification-content {
        margin: 3.3898305084746vh auto 0 45px;
        width: 80%;
    }

    .featured-certification-content .featured-main-heading {
        font-size: 2rem;
        font-style: normal;
        line-height: 100%;
    }

    .featured-certification-content .featured-sub-heading {
        width: 98%;
    }

    .featured-certification-container .featured-certification-img-wrapper {
        order: 0;
        background: url("/images/nasmlibraries/pages/home/featured-category/blackfriday-home-elite-logged-out_721x901_optimized.jpg?sfvrsn=560afab7_2") no-repeat center bottom #123257;
        background-size: cover;
    }

    .featured-certification-img-wrapper .featured-certification-img-desktop {
        display: block;
        visibility: hidden;
    }

    .featured-certification-img-wrapper .featured-certification-img-mobile {
        display: none;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 1024px) {
    .featured-certification-content-wrapper .featured-certification-content {
        width: 384px;
        margin: 120px auto 0 60px;
    }
    .featured-certification-content .featured-main-heading {
        font-size: 2.5rem;
    }

    
    .featured-certification-content .featured-sub-heading {
        line-height: 28px;
    }
}

/* Desktop */
@media only screen and (min-width: 1440px) {
    .nasm-featured-certification .featured-certification-container {
        max-width: 1440px;
        margin: 0 auto;
    }

    .featured-certification-container .featured-certification-content-wrapper,
    .featured-certification-container .featured-certification-img-wrapper {
        flex-basis: 720px;
    }

    .featured-certification-content-wrapper .featured-certification-content {
        top: 190px;
        left: 60px;
        width: 550px;
    }

    .featured-certification-content .featured-sup-heading,
    .featured-certification-content .featured-sub-heading {
        font-size: 15px;
        width: 500px;
    }

    .featured-certification-content .featured-main-heading {
        font-size: 48px;
        line-height: 48px;
        margin: 24px 0 30px;
    }

    .featured-certification-content a.nasm-primary-btn, 
    .featured-certification-content button.nasm-primary-btn {
        margin-top: 30px;
    }
}

/***** NASM Homepage Video *****/

#homepage-video {
    width: 100%;
    color: var(--brand-color-dark);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-flow: column;
}

.video-container {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
    transition: all 1.5s ease-in;
}

.video-container video {
    width: 100%;
    aspect-ratio: 16 / 9;
    transition: all 2.5s ease-in;
}

.video-container:hover {
    cursor: pointer;
}

.video-container.zoom.video-fullscreen .video-controls {
    display: none;
    top: 0;
}

.video-controls {
    width: 100%;
    height: 90%;
    top: initial;
    position: absolute;
}

.video-buttons {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#video-play-pause {
    height: 100%;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

#video-play-pause img {
    height: 2rem;
    width: 2rem;
    font-size: 2rem;
    color: var(--ui-color-light);
}

.button-hidden {
    opacity: 0;
}

.video-text-container {
    width: 100%;
    aspect-ratio: 16 / 9;
    display: flex;
    align-items: center;
}

.video-text-wrapper {
    /* width: 20.5rem; */
    width: 100%;
    margin: 0 auto;
}

.video-text-container p {
    font-family: "peridot-pe-variable", sans-serif;
    font-size: 2.25rem;
    font-variation-settings: 'wght' 900, 'wdth' 60;
    text-align: left;
    line-height: 2rem;
}

.video-text-line1,
.video-text-line2,
.video-text-line3 {
    text-wrap: nowrap;
    overflow: hidden;
}

.video-text-line1 p {
    /* Animation */
    transform: translateY(100%);
    transition: all 1s ease;
}

.video-text-line2 p {
    /* Animation */
    transform: translateY(100%);
    transition: all 1s ease 0.3s;
}

.video-text-line3 p {
    /* Animation */
    transform: translateY(100%);
    transition: all 1s ease 0.6s;
}

.slide-in-place {
    transform: translateY(0) !important;
}

.slide-out {
    /* Animation */
    transform: translateY(100%) !important;
    transition: transform 1s ease;
}

.fade-out-fast {
    opacity: 0;
    transition: opacity 0.5s ease;
}

.video-container.video-fullscreen {
    width: 100%;
    top: 0;
    left: 0;
    margin: 0;
    border-radius: 0;
}

/* Tablet Portrait */
@media only screen and (min-width: 768px) {
    .video-text-wrapper {
        width: 70%;
    }

    .video-text-container p {
        width: 33rem;
        font-size: 3rem;
        line-height: 3rem;
    }

    .video-text-wrapper {
        /* width: 33rem; */
        width: 26rem;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 1024px) {
    #homepage-video {
        display: block;
    }

    .video-container {
        top: 50%;
        left: 49%;
        margin-top: -5.25rem;
        margin-left: -8.65rem;
        position: absolute;
        scale: 1;
        width: 7rem;
        will-change: transform;
        border-radius: 1rem;
        overflow: hidden;
    }

    .video-text-container {
        top: 1rem;
    }

    .video-text-wrapper {
        width: 54rem;
        height: auto;
    }

    .video-text-container p {
        width: 54rem;
        font-size: 5rem;
        line-height: 5rem;
        letter-spacing: -0.16rem;
    }

    .video-text-line1,
    .video-text-line2,
    .video-text-line3 {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .video-text-line1 p :first-child {
        margin-right: 7rem;
    }
}

/* Desktop */
@media only screen and (min-width: 1440px) {
    .video-container { 
        margin-top: -108rem;
        margin-left: -200rem;
        width: 145px;
        scale: 1;
    }

    .video-text-container p {
        width: 1225px;
        font-size: 120px;
        line-height: 120px;
        letter-spacing: -2.56px;
    }

    .video-text-wrapper {
        width: 1225px;
        height: auto;
    }

    .video-text-line1 p :first-child {
        margin-right: 136px;
    }
}

/***** NASM Additional USPs *****/

#homepage-promo {
    height: 13rem;
    background-color: var(--brand-color-dark);
    color: var(--ui-color-light);
    text-transform: uppercase;
    overflow-x: auto;
    white-space: nowrap;
}

.promo-wrapper {
    width: 36rem;
    height: 100%;
    display: flex;
    align-items: center;
}

.promo-wrapper a {
    color: var(--ui-color-light);
}

.promo-divider {
    height: 50%;
    border-left: 1px solid var(--ui-color-light);
    /* Animation: .fade-expand-top-bottom */
    transition: opacity 0.5s ease-in, height 0.5s ease-in;
}

.promo-left,
.promo-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-flow: column;
    /* Animation: .fade-in */
    transform: translateY(1.5rem);
    opacity: 0;
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.promo-left p,
.promo-right p {
    font-family: "peridot-pe-variable", sans-serif;
    font-size: 1rem;
    font-weight: 300;
    font-variation-settings: 'wght' 300;
    letter-spacing: 0.08rem;
}

.promo-left h4,
.promo-right h4 {
    font-family: "peridot-pe-variable", sans-serif;
    font-size: 2rem;
    font-weight: 900;
    font-variation-settings: 'wght' 700, 'wdth' 60;
    font-style: normal;
    letter-spacing: 0.1rem;
}

.promo-left h4 a,
.promo-right h4 a {
    color: var(--ui-color-light);
}

#homepage-promo a:focus-visible {
    border: 2px solid var(--ui-color-light);
    border-radius: 0.5rem;
}

/* Tablet Portrait */
@media only screen and (min-width: 768px) {
    .promo-wrapper {
        width: 100%;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 1024px) {
    #homepage-promo {
        height: 19.5rem;
    }

    .promo-left h4,
    .promo-right h4 {
        margin-top: 1rem;
        font-size: 2rem;
    }
}

/* Desktop */
@media only screen and (min-width: 1440px) {
}

/***** NASM Homepage Lead Form Section *****/

#homepage-get-started {
    font-family: "peridot-pe-variable", sans-serif;
    color: var(--ui-color-light);
    text-transform: uppercase;
    margin: 64px 0;
}

.homepage-get-started-wrapper {
    margin: 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-flow: column;
    border-radius: 2.5rem;
    background-image: url("/images/nasmlibraries/pages/home/homepage-get-started/purple-gradient-bg-mobile.png?sfvrsn=8eb12839_2");
    background-repeat: no-repeat;
    background-size: cover;
}

/* Get Started Contents */
.get-started-contents {
    width: 100%;
    height: 20rem;
    display: flex;
    justify-content: center;
    margin-top: 2rem;
}

.get-started-contents-img {
    height: 430px;
    margin-top: -1.5rem;
    position: absolute;
    z-index: 2;
    /* Animations */
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.5s ease-in, transform 0.5s ease-in;
}

.get-started-contents-text h3 {
    font-size: 4rem;
    font-weight: 700;
    font-variation-settings: 'wght' 700, 'wdth' 70;
    line-height: 100%;
}

.get-started-contents-text {
    display: flex;
    width: 91.5%;
    margin-top: 4rem;
    position: absolute;
    font-size: 2.95rem;
    font-family: "peridot-pe-variable", sans-serif;
    font-style: normal;
    line-height: 3.3rem;
    align-items: center;
    justify-content: center;
    flex-flow: column;
    color: var(--ui-color-light);
    overflow: hidden;
}

.get-started-contents-text h3:first-child {
    display: flex;
    margin-left: 3rem;
    gap: 5rem;
    /* Animate opacity fade-in */
    opacity: 0;
    transform: translateX(1.5rem);
    transition: opacity 0.5s ease-in 1s, transform 0.5s ease-in 1s;
}

.get-started-contents-text h3:nth-child(2) {
    margin-right: 0rem;
    z-index: 5;
    /* Animate opacity fade-in */
    opacity: 0;
    transform: translateX(-1.5rem);
    transition: opacity 0.5s ease-in 1s, transform 0.5s ease-in 1s;
}

.get-started-contents-text h3:nth-child(3) {
    margin-left: 10.5rem;
    /* Animate opacity fade-in */
    opacity: 0;
    transform: translateX(1.5rem);
    transition: opacity 0.5s ease-in 1s, transform 0.5s ease-in 1s;
}

/* Get Started Form */
.pdp-learnmore-text {
    width: 100%;
    margin-bottom: 2rem;
    padding: 0 1rem;
    display: flex;
    justify-content: center;
    flex-flow: column;
    align-items: center;
    z-index: 3;
    /* Animate opacity fade-in */
    opacity: 0;
    transform: translateY(1.5rem);
    transition: opacity 0.5s ease-in 1s, transform 0.5s ease-in 1s;
}

.pdp-learnmore-text h3 {
    width: 20rem;
    font-size: 1.75rem;
    font-family: "peridot-pe-variable", sans-serif;
    font-weight: 900;
    font-variation-settings: 'wght' 800, 'wdth' 60;
    font-style: normal;
    text-align: center;
    line-height: 1.75rem;
    letter-spacing: 0.2rem;
}

.pdp-learnmore-text p {
    max-width: 28rem;
    font-size: 1rem;
    text-align: center;
}

.pdp-learnmore-text .hsform {
    width: 100%;
    margin-top: 0.75rem;
}

.pdp-learnmore-text .hs-richtext {
    display: none;
}

.pdp-learnmore-text .no-list.hs-error-msgs {
    font-size: 15.5px;
    font-weight: 500;
    font-variation-settings: 'wght' 500;
    letter-spacing: 0.02rem;
}

.pdp-learnmore-text .no-list.hs-error-msgs.inputs-list {
    color: #ff4040;
}

.pdp-learnmore-text ul.no-list.hs-error-msgs.inputs-list a {
    color: #ff4040;
    text-decoration: underline;
}

.pdp-learnmore-text select option {
    color: #000000;
}

.pdp-learnmore-text .input {
    border-bottom: 1px solid white;
    margin-top: 1.5rem;
}

.pdp-learnmore-text .hs-input {
    width: 100%;
    font-size: 1.2rem;
    font-weight: 400;
    font-variation-settings: 'wght' 400;
    font-family: "peridot-pe-variable", sans-serif;
    color: var(--ui-color-light);
    line-height: 1.75rem;
    letter-spacing: 0.12rem;
    text-transform: none;
    fill: none;
    background: transparent;
    border: none;
}

.pdp-learnmore-text .hs-input::placeholder {
    text-transform: uppercase;
    color: var(--ui-color-light);
}

.pdp-learnmore-text .hs-button {
    width: 100%;
    height: 3.1rem;
    margin-top: 2.125rem;
    padding: 0;
    font-family: "peridot-pe-variable", sans-serif;
    font-size: 1rem;
    font-weight: 400;
    font-variation-settings: 'wght' 400;
    color: var(--ui-color-dark);
    background: white;
    border: none;
    cursor: pointer;
    outline: inherit;
    letter-spacing: 0.03rem;
}

.pdp-learnmore-text .hs-button:hover,
.pdp-learnmore-text .hs-button:active {
    background: var(--brand-color-highlight);
}

.pdp-learnmore-text .hs-button:focus {
    background: var(--ui-color-off-light);
}

.pdp-learnmore-text .hs-button:disabled,
.pdp-learnmore-text .hs-button[disabled] {
    background: var(--ui-color-mid-light);
    color: var(--ui-color-light);
}

.hsform .hs_new_primaryinterestline {
    display: none;
}
.pdp-learnmore-text .hs-richtext{
    display: block;
    margin: 0;
    }
    .pdp-learnmore-text .hs-richtext p{
    display: block;
    font-size: 12px;
    text-align: left;
    }
    .pdp-learnmore-text .hs-richtext p a{
    color: var(--brand-color-highlight);
    }
    .hs_sms_opt_in .input{
    border: none;
    }

/* Tablet Portrait */
@media only screen and (min-width: 768px) {

    /* Get Started Section */
    .homepage-get-started-wrapper {
        height: 64rem;
    }

    /* Get Started Contents */
    .get-started-contents {
        width: 100%;
        height: 27rem;
        display: flex;
        justify-content: center;
        margin-top: 1rem;
    }

    .get-started-contents-img {
        height: 430px;
        margin-top: 0rem;
    }

    .get-started-contents-text {
        margin-top: 4.5rem;
        font-size: 4rem;
    }

    .get-started-contents-text h3 {
        margin-top: 1rem;
        font-variation-settings: 'wght' 800, 'wdth' 70, 'ital' 0;
        letter-spacing: 0.12rem;
        font-size: 5rem;
    }

    .get-started-contents-text h3:first-child {
        margin-left: 5rem;
        gap: 4rem;
    }

    .get-started-contents-text h3:nth-child(2) {
        margin-right: -0.5rem;
    }

    .get-started-contents-text h3:nth-child(3) {
        margin-left: 15rem;
    }

    /* Get Started Form */
    .pdp-learnmore-text {
        margin-bottom: 2rem;
    }

    .pdp-learnmore-text h3 {
        font-size: 2.5rem;
        line-height: 2.5rem;
        width: 40rem;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 1024px) {

    /* Get Started Section */
    .homepage-get-started {
        margin: 10rem 0;
    }

    .homepage-get-started-wrapper {
        height: 44rem;
        flex-flow: row-reverse;
        justify-content: space-between;
        margin: 2rem;
        padding: 2.75rem;
        background-image: url("/images/nasmlibraries/pages/home/homepage-get-started/purple-gradient-bg-desktop.png?sfvrsn=9a3c6cab_2");
    }

    /* Get Started Contents */
    .get-started-contents {
        width: 55%;
        margin-top: 0;
        margin-top: -1rem;
    }

    .get-started-contents-img {
        height: 502.797px;
        margin-top: -5rem;
    }

    .get-started-contents-text {
        width: 50%;
        font-size: 4.25rem;
        margin-top: 2rem;
    }

    .get-started-contents-text h3:first-child {
        gap: 7rem;
        margin-left: 6.75rem;
    }

    .get-started-contents-text h3:nth-child(2) {
        margin-top: 1.75rem;
        margin-right: 2.5rem;
    }

    .get-started-contents-text h3:nth-child(3) {
        margin-top: 1.75rem;
        margin-left: 17rem;
    }

    /* Get Started Form */
    .pdp-learnmore-text {
        width: 42%;
        margin: 0;
    }

    .pdp-learnmore-text h3 {
        width: 100%;
        margin-bottom: 1rem;
        font-size: 2rem;
        line-height: 2rem;
        text-align: left;
    }

    .pdp-learnmore-text p {
        text-align: left;
    }

    .pdp-learnmore-text .hs-richtext p{
        font-size: 14px;
        }

    .pdp-learnmore-text .hs-form-private {
        display: flex;
        flex-flow: row wrap;
    }

    .pdp-learnmore-text .hs-form-field {
        width: 100%;
    }

    .pdp-learnmore-text .hs-input {
        font-size: 16px;
        line-height: 1.75rem;
        letter-spacing: 0.08rem;
    }

    .pdp-learnmore-text .input {
        margin-top: 1rem;
    }

    .pdp-learnmore-text .hs-button {
        height: 2.25rem;
        font-size: 20px;
        letter-spacing: 0.6px;
        font-weight: 500;
        font-variation-settings: 'wght' 400;
        margin-top: 1.75rem;
    }

    .pdp-learnmore-text .hs-submit {
        width: 100%;
    }

    .pdp-learnmore-text .hs-firstname {
        width: 50%;
        padding-right: 0.5rem;
    }

    .pdp-learnmore-text .hs-lastname {
        width: 50%;
        padding-left: 1rem;
    }
}

/* Desktop */
@media only screen and (min-width: 1440px) {

    /* Get Started Section */
    #homepage-get-started {
        margin: 140px 0;
    }

    .homepage-get-started-wrapper {
        width: 1360px;
        height: 765px;
        margin: 40px auto;
        padding-left: 44px;
        padding-right: 22px;
    }

    /* ALIGNMENT CHANGE - REMOVE CODE COMMENT & LEAVE CSS AFTER 02/20/24 */

    .pdp-learnmore-text .hs-form {
        margin-left: 0;
    }

    .pdp-learnmore-text p {
        max-width: unset;
    }

    /* END ALIGNMENT CHANGE */

    /* Get Started Contents */
    .get-started-contents {
        width: 773px;
        margin-top: 0;
        margin-top: -160px;
    }

    .get-started-contents-img {
        height: 903px;
        margin-top: -76px;
        margin-left: 4px;
        max-block-size: 110%;
    }

    .get-started-contents-text {
        width: 60%;
        font-size: 90px;
        margin-top: 125px;
        line-height: 96px;
        -webkit-text-stroke: 1.5px;
    }

    .get-started-contents-text h3 {
        margin-top: 8px;
        line-height: 94px;
        font-size: 6rem;
    }

    .get-started-contents-text h3:first-child {
        width: 576px;
        gap: 193px;
        margin-left: 192px;
    }

    .get-started-contents-text h3:nth-child(2) {
        width: 773px;
        margin-top: 16px;
        margin-right: 0px;
        margin-left: 350px;
        letter-spacing: 0.2rem;
    }

    .get-started-contents-text h3:nth-child(3) {
        width: 257px;
        margin-top: 10px;
        margin-left: 475px;
    }

    /* Get Started Form */
    .pdp-learnmore-text {
        width: 40%;
        margin-top: -2rem;
    }

    .pdp-learnmore-text h3 {
        width: 30rem;
        font-size: 48px;
        line-height: 44px;
        text-align: left;
    }

    .pdp-learnmore-text .hsform {
        margin-top: -8px;
    }

    .pdp-learnmore-text .hs-input {
        font-size: 16px;
        line-height: 24px;
        letter-spacing: 1.28px;
        margin-top: 12px;
    }

    .pdp-learnmore-text .hs-button {
        height: 50px;
        margin-top: 40px;
    }
}


/***** NASM Homepage Lead Form Section *****/

#homepage-products {
    position: relative;
    width: 100%;
    font-size: 0;
    margin: 0;
    padding: 0;
}

.productsContent {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding-top: 45px;
    max-width: 1366px;
    overflow: hidden;
    text-align: center;
    min-height: 420px;
}

.productsContent p.txt {
    display: inline-block;
    font-family: "Kanit", sans-serif;
    font-weight: 900;
    color: #0095da;
    font-size: 4.102564102564102vw !important;
    margin: 0 auto;
    padding: 6.7948717948717947vw 0 1.282051282051282vw 2vw;
    margin: 1.128205128205128vw 0 6.41025641025641vw;
    line-height: 1.3;
    text-align: center;
    background-image: url(/images/2022/pages/homepage/yellow-bar.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: 21.53846153846154vw 4.615384615384616vw;
}

.productsContent h2.head {
    font-family: Kanit, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #123157;
    font-size: 6.153846153846154vw !important;
    margin: 0;
    padding: 0;
    line-height: 1;
    text-align: center;
}

.productsScroller {
    position: relative;
    width: 90%;
    margin: 0 auto;
    display: block;
    text-align: initial;
}

.productsScroller div.productTile {
    position: relative;
    width: 20%;
    padding: 0 0 6.944444444444445vw;
    display: inline-block;
    background-color: #f2f1f2;
    border-bottom: 9px solid #256ca8;
    cursor: pointer;
}

.productsScroller div.productTile img {
    width: 100%;
    margin-bottom: 6.944444444444445vw;
}

.productsScroller div.productTile h4 {
    font-family: Kanit, sans-serif;
    font-weight: 900;
    font-style: normal;
    font-size: 5.128205128205128vw !important;
    color: #193254;
    margin: 0;
    padding: 0;
    padding-top: 1.318vw;
    padding-top: 4.59vw;
    padding-bottom: 2.34375vw;
    text-align: center;
    text-transform: uppercase;
    cursor: pointer;
}

.productsScroller div.productTile h4 a {
    font-family: Kanit, sans-serif;
    font-weight: 900;
    font-style: normal;
    color: #193254;
    text-decoration: none;
}

.productsScroller div.productTile.dblSpace h4 {
    padding-top: 0;
    padding-bottom: 1.3671875vw;
}

.productsScroller div.productTile p {
    font-family: Roboto;
    font-weight: 400;
    font-size: 3.8461538461538463vw !important;
    color: #444444;
    margin: 0;
    padding: 0;
    padding: 0 1.7vw;
    text-align: center;
    min-height: 20.256410256410255vw;
    padding: 0 10vw;
    cursor: pointer;
}

.productsScroller div.productTile p a {
    font-family: Roboto;
    font-weight: 400;
    color: #444444;
    text-decoration: none;
}

@media screen and (min-width: 768px) {
    .productsContent {
        padding: 5.859375vw 0 3.964844vw;
    }

    .productsContent p.txt {
        font-size: 2.1484375vw !important;
        background-size: 16.796875vw 3.41796875vw;
        padding: 0.68359375vw 0 0.48828125vw 1.9vw;
    }

    .productsContent h2.head {
        font-size: 6.789063vw !important;
    }

    .productsScroller {
        width: 100%;
        margin: 0;
        display: flex;
    }

    .productsScroller div.productTile {
        width: 26.66015625vw;
        padding: 0 0 2.44140625vw;
    }

    .productsScroller div.productTile img {
        margin-bottom: 3.41796875vw;
    }

    .productsScroller div.productTile h4 {
        font-size: 1.953125vw !important;
        padding-top: 1.318vw;
        padding-bottom: 2.34375vw;
    }

    .productsScroller div.productTile.dblSpace h4 {
        padding-bottom: 1.3671875vw;
    }

    .productsScroller div.productTile p {
        min-height: 5.055556vw;
        font-size: 1.246484375vw !important;
        padding: 0 1.7vw;
    }
}

@media screen and (min-width: 1024px) {
    .productsContent {
        padding: 1.46484375vw 0 3.468521vw;
    }

    .productsContent p.txt {
        font-size: 1.610541727672035vw !important;
        background-size: 12.591508052708638vw 2.562225475841874vw;
        padding: 0.5124450951683748vw 0 0.36603221083455345vw 1.42vw;
        margin: 2.9282576866764276vw 0 6.588579795021962vw;
    }

    .productsContent h2.head {
        font-size: 6.588579795021962vw !important;
    }

    .productsScroller div.productTile {
        width: 19.98535871156662vw;
        padding: 0 0 1.8301610541727673vw;
    }

    .productsScroller div.productTile img {
        margin-bottom: 2.562225475841874vw;
    }

    .productsScroller div.productTile h4 {
        font-size: 1.4641288433382138vw !important;
        padding-top: 0.9882vw;
        padding-bottom: 1.7569546120058566vw;
    }

    .productsScroller div.productTile.dblSpace h4 {
        padding-bottom: 0.9882vw;
    }

    .productsScroller div.productTile p {
        font-size: 1.0980966325036603vw !important;
        padding: 0 1.5710541727672035vw;
    }
}

@media screen and (min-width: 1366px) {
    .productsContent {
        padding: 0 0 33px;
    }

    .productsContent p.txt {
        font-size: 22px !important;
        background-size: 172px 35px;
        padding: 7px 0 5px 20px;
        margin: 40px 0 90px;
    }

    .productsContent h2.head {
        font-size: 90px !important;
    }

    .productsScroller div.productTile {
        width: 273px;
        padding: 0 0 25px;
    }

    .productsScroller div.productTile img {
        margin-bottom: 35px;
    }

    .productsScroller div.productTile h4 {
        font-size: 20px !important;
        padding-top: 13px;
        padding-bottom: 24px;
    }

    .productsScroller div.productTile.dblSpace h4 {
        padding-bottom: 14px;
    }

    .productsScroller div.productTile p {
        font-size: 15px !important;
        padding: 0 20px;
        min-height: 69px;
    }
}

/* the slides */
.slick-slide {
    margin: 0 11px;
}

/* the parent */
.slick-list {
    margin: 0 -11px;
}

.homepage-products .productsList-slider-controls {
    position: relative;
    width: 102px;
    margin: 30px auto 0;
}

.productsList-slider-controls .slick-arrow {
    font-size: 18px;
}

.productsList-slider-controls .slick-arrow,
.productsList-slider-controls .slick-arrow:hover,
.productsList-slider-controls .slick-arrow:active,
.productsList-slider-controls .slick-arrow:focus {
    color: #bebebe !important;
    /* Bootstrap override */
}

.productsList-slider-controls .btn-arrow-left.slick-arrow {
    margin-right: 15px;
}

.productsList-slider-controls .btn-arrow-right.slick-arrow {
    margin-left: 15px;
}

.productsList-slider-controls .slick-prev:before,
.productsList-slider-controls .slick-next:before {
    color: #45d2ed;
}

/* Brendon's Changes */
.homepage-products {
    margin-top: 4rem;
}

.products-banner {
    width: 100%;
    height: auto;
    font-size: 0.8rem;
    font-family: "peridot-pe-variable", sans-serif;
    font-weight: 500;
    font-variation-settings: 'wght' 500;
    letter-spacing: 0.1rem;
    color: var(--ui-color-dark);
    display: flex;
    justify-content: space-between;
    padding: 3.5rem 0.75rem 1.75rem 0.75rem;
    text-transform: uppercase;
    /* Animate opacity fade-in */
    opacity: 0;
    transition: opacity 1s ease-in;
}

.products-title {
    width: 100%;
    font-size: 2.5rem;
    font-family: "peridot-pe-variable", sans-serif;
    font-style: normal;
    font-weight: 900;
    font-variation-settings: 'wght' 900;
    color: var(--brand-color-dark);
    position: absolute;
    z-index: 2;
    margin-top: 4.75rem;
    text-transform: uppercase;
    display: flex;
    overflow: hidden;
    white-space: nowrap;
    --gap: 1rem;
    /* Animate opacity fade-in */
    opacity: 0;
    transition: opacity 1s ease-in;
}

.products-title-content {
    flex-shrink: 0;
    display: flex;
    justify-content: space-around;
    min-width: 100%;
    /* animation: scroll 10s linear infinite; */
    animation: scroll 15s linear infinite;
}

.productsContent {
    max-width: none;
    margin: 0;
    padding-top: 0;
    padding-left: 0.75rem;
}

@keyframes scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(calc(-100% - var(--gap)));
    }
}

/* Tablet Portrait */
@media only screen and (min-width: 768px) {
    .products-title {
        margin-top: 3.5rem;
        font-size: 4rem;
    }

    .products-banner {
        font-size: 1rem;
        padding: 2.25rem 0.75rem 2.25rem 0.75rem;
        font-weight: 400;
        font-variation-settings: 'wght' 400;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 1024px) {
    .products-title {
        font-size: 4rem;
        margin-top: 1.8rem;
    }

    .products-banner {
        font-size: 0.75rem;
        padding: 1rem 1.5rem 2.25rem 1.5rem;
    }

    .productsContent {
        padding-top: 0;
        padding-left: 1.5rem;
    }
}

/* Desktop */
@media only screen and (min-width: 1440px) {
    .products-title {
        /* font-size: 4rem; */
        font-size: 64px;
        /* margin-top: 2.5rem; */
        margin-top: 35px;
    }

    .products-banner {
        /* font-size: 0.75rem; */
        font-size: 12px;
        /* padding: 1rem 1.5rem 3rem 1.5rem; */
        padding: 16px 24px 48px;
        max-width: 1920px;
        margin: 0 auto;
    }

    .productsContent {
        max-width: 1920px;
        margin: 0 auto;
    }
}

/***** NASM Trusted Brands Section *****/

#homepage-brands {
    margin: 6rem 0 6rem 0;
}

.homepage-brands-title {
    display: flex;
    align-items: center;
    justify-content: center;
}

.homepage-brands-title h3 {
    font-size: 2rem;
    font-family: "peridot-pe-variable", sans-serif;
    font-weight: 800;
    font-variation-settings: 'wght' 800, 'wdth' 60;
    font-style: normal;
    letter-spacing: 0.08rem;
    color: var(--brand-color-dark);
    line-height: 100%;
    text-transform: uppercase;
    text-align: center;
}

.homepage-brands-logo-grid {
    display: flex;
    justify-content: space-between;
    gap: 0.5rem;
    flex-wrap: wrap;
    padding: 2rem 3.25rem 2rem 3.25rem;
}

.logo-grid-cell {
    width: 35%;
    height: 5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-grid-cell:nth-child(1) {
    /* Animations */
    transition: all 0.5s ease-out;
    transform: translateY(1.5rem);
    opacity: 0;
}

.logo-grid-cell:nth-child(2) {
    /* Animations */
    transition: all 0.5s ease-out 0.1s;
    transform: translateY(1.5rem);
    opacity: 0;
}

.logo-grid-cell:nth-child(3) {
    /* Animations */
    transition: all 0.5s ease-out 0.2s;
    transform: translateY(1.5rem);
    opacity: 0;
}

.logo-grid-cell:nth-child(4) {
    /* Animations */
    transition: all 0.5s ease-out 0.3s;
    transform: translateY(1.5rem);
    opacity: 0;
}

.logo-grid-cell:nth-child(5) {
    /* Animations */
    transition: all 0.5s ease-out 0.4s;
    transform: translateY(1.5rem);
    opacity: 0;
}

.logo-grid-cell:nth-child(6) {
    /* Animations */
    transition: all 0.5s ease-out 0.5s;
    transform: translateY(1.5rem);
    opacity: 0;
}

.homepage-brands-logo-grid img {
    width: 90%;
}

/* Tablet Portrait */
@media only screen and (min-width: 768px) {
    .homepage-brands {
        margin: 10rem 0 10rem 0;
    }

    .homepage-brands-title h3 {
        font-size: 2.5rem;
    }
    .homepage-brands-logo-grid {
        gap: 4.5rem;
        padding: 6rem;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 1024px) {
    .homepage-brands-title h3 {
        font-size: 48px;
    }

    .homepage-brands-logo-grid {
        justify-content: space-evenly;
        gap: 0rem;
        flex-wrap: nowrap;
        padding: 1.5rem 0 1.5rem 0;
    }

    .logo-grid-cell {
        width: 35%;
    }

    .homepage-brands-logo-grid img {
        width: 70%;
    }
}

/* Desktop */
@media only screen and (min-width: 1440px) {
    .homepage-brands-title h3 {
        width: 720px;
        font-size: 48px;
    }

    .homepage-brands-logo-grid {
        justify-content: center;
        padding: 72px 0 72px 0;
    }
}

/***** NASM Homepage Collage Section *****/

#homepage-collage {
    width: 100%;
    line-height: 0;
    display: flex;
    flex-direction: column;
}

.homepage-collage-row1,
.homepage-collage-row3 {
    display: flex;
}

/* Image style to fill in remaining space as page grows */
.collage-img-small {
    flex-grow: 1;
    aspect-ratio: 1 / 1;
}

/* Image fill into parent div at aspect ratio from design */
.collage-img-small img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1 / 1;
}

.collage-img-big img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 2 / 1;
}

/* Hide desktop images */
.collage-img-desktop {
    display: none;
}

.homepage-collage-row2 {
    display: flex;
}

.collage-img-title {
    width: 100%;
    color: var(--brand-color-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    flex-flow: column;
    padding: 1rem 0 1rem 0;
    aspect-ratio: 3 / 1;
    /* Animations */
    transition: all 0.5s ease-in 0.8s;
    transform: translateY(1.5rem);
    opacity: 0;
}

.collage-img-title h2 {
    font-size: 5.5rem;
    font-family: "peridot-pe-variable", sans-serif;
    font-weight: 900;
    font-variation-settings: 'wght' 800, 'wdth' 60;
    font-style: normal;
    line-height: normal;
    text-transform: uppercase;
}

.collage-img-title p {
    width: 100%;
    font-size: 1em;
    font-family: "peridot-pe-variable", sans-serif;
    font-weight: 500;
    font-variation-settings: 'wght' 500;
    letter-spacing: 0.08rem;
    line-height: 0.875rem;
    text-transform: uppercase;
}

/* Tablet Portrait */
@media only screen and (min-width: 768px) {
    .collage-img-title h2 {
        font-size: 3.8rem;
    }

    .collage-img-title p {
        font-size: 0.9rem;
    }
}

/* Tablet Landscape */
@media only screen and (min-width: 1024px) {

    /* Show desktop images */
    .collage-img-desktop {
        display: block;
    }

    .homepage-collage-row2 div {
        width: 100%;
        overflow: hidden;
        border: none;
    }

    .collage-img-big img {
        width: 100%;
        height: 100%;
        aspect-ratio: 2 / 1;
    }

    .collage-img-title {
        gap: 0rem;
    }

    .collage-img-title h2 {
        font-size: 80px;
    }

    .collage-img-title p {
        font-size: 14px;
        line-height: 14px;
        margin-top: 8px;
    }
}

/* Desktop */
@media only screen and (min-width: 1440px) {
    .collage-img-title h2 {
        font-size: 80px;
        line-height: 80px;
    }
}