/**
@media screen and (min-width: 1083px) and (max-width: 1135px) {
#hero-2 .m-hero-item>div>div, .c-hero>div>div {
    max-width: 396px !important;
    top: 44%;}
}
**/

@media (min-width: 768px) and (max-width: 875px) {
    .home-hero #hero-2 .m-hero-item>div>div {
        top: 135% !important;
    }
}

@media screen and (max-width: 386px) {
    #hero-1 .c-heading-1 {
        line-height: 30px !important;
    }
}

@media (min-width: 768px) and (max-width: 1083px) {
    .home-hero .m-hero-item>div>div {
        top: 125% !important;
    }
}

@media screen and (max-width: 1083px) {
    #hero-1 .c-heading-1 {
        line-height: 50px;
    }
    .game-pass .m-hero-item>div picture {
        display: block !important;
    }
    .game-pass .m-hero-item>div picture>img {
        width: 180px;
    }
    .game-pass .m-hero-item>div .c-call-to-action {
        margin-top: 0;
    }
    .game-pass section.m-hero-item>div {
        height: 300px;
    }
    .gamesSection .c-carousel {
        padding-left: 15px;
    }
}

.xgp.icons {
    margin: 0;
    padding-top: 16px;
    padding-bottom: 24px;
    width: 100% !important;
}

.icons ul {
    display: flex;
    justify-content: center;
}

.icons li {
    width: 30%;
    max-width: 120px;
    text-align: center;
    margin: 0 2%;
}
.icons li a {
    width: 100%;
    margin: 0;
}
.icons a p {
    padding-top: 6px;
}
.icons li img {
    width: 80%;
    max-width: 80px;
}

.gamesSection .c-carousel .m-product-placement-item.f-size-large picture {
    height: 408px;
    overflow: hidden;
}
.gamesSection .rotator-heading {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
}

.gamesSection .c-carousel .m-product-placement-item a [class^="c-heading"]{
    min-height: 4em;
}
@media screen and (max-width: 1084px) {
    .gamesSection .c-heading-3 {
        padding-left: 15px;
    }
}

@media screen and (min-width: 767px) {
    .game-pass .m-hero-item .c-group>a.c-call-to-action~.f-lightweight {
        padding-left: 20px !important;
        padding-right: 0 !important;
    }
}


/* Badge alignment */

@media (max-width: 539px) {
    li:nth-child(1) strong,
    li:nth-child(3) strong,
    li:nth-child(7) strong,
    li:nth-child(8) strong {
        top: 0px !important;
    }
}


/* Truncated CTA */

@media screen and (max-width: 350px) {
    .game-pass section.m-hero-item>div div {
        width: 300px;
    }
}


/* VFI */

.m-hero.sl-hero section:focus {
    border: 3px dotted #9bf00b;
}

@media only screen and (max-width: 767px) {
    .home-hero .m-hero-item>div>div {
        top: 45vw !important;
    }
}

@media screen and (min-width: 350px) and (max-width: 385px) {
    .home-hero .m-hero-item>div>div>div {
        padding-top: 0px !important;
    }
}

.game-pass section.m-hero-item {
    margin: 0 !important;
}

.game-pass .m-hero-item .vidPlayPause {
    top: 16vw;
    right: 93vw;
}

.game-pass .c-group {
    margin-top: 16px !important;
}

@media screen and (max-width: 350px) {
    ul.heroList {
        height: 153vw !important;
    }
}

.find-games .m-image {
    padding-top: 0;
}

.find-games .m-banner {
    padding-top: 0;
    margin-top: -6.5%;
}

@media screen and (min-width: 768px) {
    .find-games .m-banner {
        margin-top: -10%;
    }
}

@media screen and (min-width: 1400px) {
    .find-games .m-banner {
        max-width: 1400px !important;
    }
}

@media screen and (min-width: 1084px) {
    .find-games .m-banner {
        margin-top: -10%;
        transform: translateY(0px);
        /* negative margin messes with stacking order somehow. This brings it back to the front of the previous element. */
    }
    .find-games .m-banner h2 {
        max-width: 60%;
        margin-left: auto;
        margin-right: auto;
    }
}

@media screen and (min-width: 1400px) {
    .find-games .m-banner h2 {
        max-width: 60%;
    }
}

.find-games .m-image img {
    width: 100%;
    max-width: 1920px;
    margin-left: auto;
    margin-right: auto;
    display: block;
}

.find-games .m-hero-item>picture img,
.live-gold .m-hero-item>picture img {
    top: 0;
    transform: none;
}

.game-pass-pivot .c-pivot {
    margin-top: 0;
}

.game-pass-pivot .c-pivot>[role="tablist"] {
    padding-top: 48px;
    justify-content: center;
}

.featured-games {
    display: none;
}
/*
.game-pass-pivot .c-pivot>section[aria-hidden="true"].loading {
    display: block;
}
*/

/* onload and onresize calculations don't work on rotators when display:none */
/* this hides them visually so calculations will apply */
/* aria-hidden="true" effectively hides them from screen readers */
.game-pass-pivot .c-pivot>section[aria-hidden="true"] {
    display: block;
    opacity: 0;
    height: 0;
    visibility: hidden;
}

.game-pass-pivot.theme-light .c-pivot>[role="tablist"]>[role="tab"] {
    color: #000;
}