/* animations */
@keyframes arrow {
    0%   {opacity:0; transform: translateY(-30px);}
    100% {opacity:1; transform: translateY(0px);}
}
#guides .link-text:hover img,
#guides .link-text:focus-visible img,
#promos a:hover .link-text img,
#promos a:focus-visible .link-text img {
    margin-left: .5rem;
}
#guides .article:hover img,
#guides .article:focus-visible img,
#promos a:hover img,
#promos a:focus-visible img {
    transform: scale(105%);
}
/* animations end */
#home {
    overflow: hidden;
}
#home .hidden {
    display: none !important;
}
#home .width-restrict {
    margin: 0 auto;
    max-width: 1920px;
}
#home .button-container button:hover,
#home .button-container button:focus-visible {
    color: white;
}
/* Panel 3 */
#guides {
    padding: 2rem 0rem;
    background-image: url(https://assets.corsair.com/image/upload/f_auto,q_auto/akamai/hybris/homepage/refresh/hp-bg-pattern-guides.png);
    background-size: cover;
}
#guides h2,
#guides .subhead-link,
#guides .button-container {
    padding-left: 1rem;
    padding-right: 1rem;
}
#guides h2 {
    font-size: 2.5rem;
    text-align: center;
    line-height: 1;
    margin-bottom: .5rem;
}
#guides .link-text {
    display: flex;
    justify-content: center;
    text-transform: uppercase;
    color: #ECE81A;
    font-size: .75rem;
}
#guides .link-text img {
    object-fit: contain;
    margin-left: .25rem;
    height: 12px;
    margin-top: 3px;
    transition: 200ms;
}
#guides .button-container {
    display: flex;
    margin-top: 2rem;
    margin-bottom: 2rem;
}
#guides .button-container button {
    width: 50%;
    text-transform: uppercase;
    font-size: 0.875rem;
    padding-bottom: 1rem;
    letter-spacing: .1rem;
    line-height: 1;
    transition: 200ms;
    color: #a0a0a0;
    border-bottom: 1px solid #a0a0a0;
}
#guides .button-container button.active {
    border-bottom: 1px solid #ECE81A;
    color: white;
}
#guides .article-group {
    position: relative;
    height: 400px;
}
#guides .article-container {
    gap: 1rem;
    overflow-x: scroll;
    padding-bottom: .25rem;
    display: flex;
    position: absolute;
    top: 0;
    opacity: 0;
    pointer-events: none;
    height: 100%;
    width: 100%;
    transition: 500ms cubic-bezier(0.75, 0, 0.45, 1)
}
#guides #featuredArticles {
    transform: translateX(-100%);
}
#guides #latestArticles {
    transform: translateX(100%);
}
#guides .article-container.active {
    opacity: 1;
    pointer-events: inherit;
    transform: translateX(0%) !important;
}
/* Custom scrollbar for WebKit browsers */
#guides .article-container::-webkit-scrollbar {
    height: 5px;
}
#guides .article-container::-webkit-scrollbar-thumb {
    background-color: #a0a0a0bf;
    border-radius: 10px;
}

#guides .article-container::-webkit-scrollbar-track {
    background: transparent;
}
#guides .article-container::-webkit-scrollbar-button {
    display: none;
}
#guides .article {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    width: 75%;
    flex: 0 0 75%;
}
#guides .article img {
    max-height: 360px;
    height: 70%;
    width: 100%;
    object-fit: cover;
    border-radius: 2px 2px 0px 0px;
    transition: 750ms;
}
#guides .article .text-container {
    padding: 1rem 1rem 2rem 1rem;
    background-color: #0C0D0D;
    flex-grow: 1;
    z-index: 1;
}
#guides .article h3 {
    font-size: 1rem;
    text-transform: uppercase;
    color: #a0a0a0;
    margin-bottom: .5rem;
}
#guides .article p {
    line-height: 1.25;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}
/* Panel 4 */
#why-buy {
    display: flex;
    padding: 2rem;
    margin: 0 auto;
    max-width: 1920px;
    flex-direction: column;
}
#why-buy h2 {
    font-size: 2.25rem;
    line-height: 1;
}
#why-buy .copy-container {
    margin-bottom: 2rem;
    text-align: center;
}
#why-buy .copy-container .link-text {
    display: flex;
    text-transform: uppercase;
    color: #ECE81A;
    margin-top: 0.5rem;
    font-size: .75rem;
    justify-content: center;
}
#why-buy .copy-container .link-text img {
    object-fit: contain;
    margin-left: .25rem;
    height: 12px;
    margin-top: 3px;
    transition: 200ms;
}
#why-buy .copy-container .link-text:hover img,
#why-buy .copy-container .link-text:focus-visible img {
    margin-left: .5rem;
}
#why-buy .why-buy-link {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}
#why-buy .why-buy-link p {
    padding: 0.75rem;
    text-transform: uppercase;
    line-height: 1.2;
}
#why-buy .why-buy-link img {
    width: 80px;
    transition: 200ms;
    border: 2px solid transparent;
    border-radius: 50%;
}
#why-buy .why-buy-link:hover img,
#why-buy .why-buy-link:focus-visible img {
    border: 2px solid #ECE81A;
}
/* Panel 5 */
#promos {
    padding: 1rem;
    background-image: url(https://assets.corsair.com/image/upload/f_auto,q_auto/akamai/hybris/homepage/refresh/hp-bg-pattern-guides.png);
    background-size: cover;
}
#promos .width-restrict {
    display: flex;
    gap: 1rem;
    flex-direction: column;
    padding-bottom: 1rem;
}
#promos h2 {
    font-size: 1.15rem;
    line-height: 1;
    margin-bottom: .25rem;
}
#promos p {
    font-size: .85rem;
}
#promos .link-text {
    display: flex;
    text-transform: uppercase;
    color: #ECE81A;
    margin-top: 0.5rem;
    font-size: .75rem;
}
#promos .right-column {
    gap: 1rem;
    display: flex;
    flex-direction: column;
}
#promos .left-column {
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
#promos .left-column > img {
    height: inherit;
    object-fit: cover;
    transition: 750ms;
}
#promos .left-column div,
#promos .right-column .promo-container div {
    padding: 1rem;
    background: linear-gradient(166.24deg, #27293D 5.82%, #1D1C29 93.28%);
}
#promos .right-column .promo-container div {
    align-content: end;
}
#promos .right-column .promo-container > img {
    flex: 1;
    object-fit: cover;
    transition: 750ms;
}
#promos .promo-container {
    display: flex;
    flex-direction: column-reverse;
    overflow: hidden;
}
#promos .copy-container {
    z-index: 1;
}
#promos .copy-container .link-text img {
    object-fit: contain;
    margin-left: .25rem;
    height: 12px;
    margin-top: 3px;
    transition: 200ms;
}

@media (min-width: 767px) {
    #guides {
        padding: 4rem 2rem;
    }
    #guides .article-group {
        height: 450px;
    }
    #guides h2,
    #guides .subhead-link,
    #guides .button-container {
        padding-left: 0;
        padding-right: 0;
    }
    #guides .article-container {
        overflow: hidden;
    }
    #guides .article {
        width: calc(33.334% - 0.67rem);
        flex: none;
    }
    #guides h2 {
        font-size: 4rem;
    }
    #guides .article p {
        font-size: 1.25rem;
    }
    #promos .left-column div,
    #promos .right-column .promo-container div,
    #promos {
        padding: 2rem;
    }
    #guides .button-container {
        margin-top: 2rem;
    }
    #guides .button-container button {
        font-size: 1.5rem;
    }
    #guides .link-text.subhead-link,
    #why-buy .copy-container .link-text,
    #promos a,
    #promos .link-text {
        font-size: 1rem;
    }
    #guides .link-text.subhead-link img,
    #why-buy .copy-container .link-text img,
    #promos .copy-container .link-text img {
        height: unset;
        margin-top: 0;
    }
    #why-buy .why-buy-link {
        width: 40%;
        margin-left: auto;
    }
    #why-buy .copy-container {
        width: 100%;
    }
    #why-buy {
        flex-wrap: wrap;
        flex-direction: row;
    }
    #promos h2 {
        font-size: 2rem;
    }
    #promos p {
        font-size: 1rem;
    }
    #promos .promo-image {
        max-height: 400px;
    }
    #promos .width-restrict {
        max-width: 800px;
    }
}
@media (min-width: 1280px) {
    #guides .article p {
        font-size: 1.75rem;
    }
    #guides .article-group {
        height: 550px;
    }
    #why-buy .why-buy-link {
        width: 18%;
        margin: 0;
    }
    #promos .width-restrict {
        max-width: 1920px;
        height: 900px;
        flex-direction: row;
    }
    #promos .left-column,
    #promos .right-column {
        width: 100%;
    }
    #promos .promo-container {
        height: calc(50% - 0.5rem);
        display: flex;
        flex-direction: row;
    }
    #promos .right-column .promo-container div {
        width: 40%;
    }
    #promos .left-column .copy-container p {
        max-width: 80%;
    }
    #promos .promo-image {
        max-height: unset;
    }
    #why-buy {
        flex-direction: row;
        flex-wrap: unset;
    }
    #why-buy h2 {
        max-width: 400px;
    }
    #why-buy .why-buy-link p {
        max-width: 150px;
    }
    #why-buy .copy-container {
        padding-right: 1rem;
        margin-bottom: 0;
        text-align: left;
        width: 28%;
    }
    #why-buy .copy-container .link-text {
        justify-content: left;
    }
    #promos .right-column .promo-container > img {
        max-width: 575px;
    }
}

main {
    overflow-x: hidden;
}