/* =========================================
   SPONSORS PAGE
   VERSION CONTROL
   ========================================= */

/* DEFAULT: PC ONLY */



.hg-sponsors-mobile-horizontal-holder,
.hg-sponsors-mobile-vertical-holder {
    display: none;
}


/* =========================================
   PC DESKTOP VERSION
   ========================================= */

.hg-sponsor-section {
    position: relative;
    width: 100%;
    max-width: 1700px;
    height: 700px;
    margin: 0 auto;
    overflow: hidden;
}


/* LARGE RUNNERS WHITEBOARD */

.hg-sponsor-whiteboard {
    display: block;
    position: absolute;
    top: 0;
    left: -60px;
    width: calc(100% + 60px);
    height: 110%;
    object-fit: fill;
    transform: none;
}


/* ABOUT US TEXT */

.hg-about-us-text {
    position: absolute;
    top: 95px;
    left: 38%;
    width: 55%;
}

.hg-about-us-heading {
    margin: 0 0 30px;
    font-size: 48px;
    letter-spacing: 3px;
    text-align: center;
    color: #111;
}

.hg-about-us-text p {
    margin: 0 0 20px;
    font-size: 21px;
    line-height: 1.45;
}


/* EMPTY SPACE ON THE LEFT FOR THE CARD */

.hg-sponsor-card-box {
    position: absolute;
    top: 0;
    left: 0;
    width: 32%;
    height: 95%;
    background: transparent;
}


/* CARD */

.hg-sponsor-card {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: auto;
    transform: translate(-50%, -50%) scale(0.75);
    transform-origin: center;
    z-index: 2;
}


/* LOGO INSIDE THE CARD */

.hg-sponsor-card-logo {
    position: absolute;
    top: 42%;
    left: 50%;
    width: 48%;
    height: auto;
    transform: translate(-50%, -50%) scale(0.75);
    transform-origin: center;
    z-index: 3;
}





/* =========================================
   MOBILE VERTICAL
   767px AND BELOW
   ========================================= */

@media (max-width: 767px) {

    .hg-sponsors-pc-holder,
    .hg-sponsors-mobile-horizontal-holder {
        display: none;
    }

    .hg-sponsors-mobile-vertical-holder {
        display: block;
    }

    .hg-sponsor-mobile-vertical-section {
        position: relative;
        width: 100%;
        height: auto;
        min-height: 0;
        margin: 0 auto;
        overflow: hidden;
    }

    /* VERTICAL WHITEBOARD */

    .hg-sponsor-mobile-vertical-whiteboard {
        display: block;
        position: relative;
        width: 100%;
        height: 400px;
        max-width: 100%;
        object-fit: fill;
        z-index: 1;
    }

    /* CONTENT OVERLAY */

    /* TEXT */

    .hg-sponsor-mobile-vertical-text {
        position: absolute;
        top: 10%;
        left: 58%;
        width: 55%;
        margin: 0;
        padding: 0;
        transform: translateX(-33%);
        z-index: 2;
    }

    .hg-sponsor-mobile-vertical-heading {
        margin: 0 0 10px;
        font-size: 22px;
        letter-spacing: 1px;
        text-align: center;
        color: #111;
    }

    .hg-sponsor-mobile-vertical-text p {
        margin: 0 0 8px;
        font-size: 8px;
        line-height: 1.3;
    }

    /* =========================================
       MOBILE VERTICAL CARD
       ========================================= */

    .hg-sponsor-mobile-vertical-card-box {
        position: relative;
        width: 33%;
        height: 180px;
        margin: -220px auto 0 10px;
        z-index: 2;
    }

    .hg-sponsor-mobile-vertical-card {
        position: absolute;
        top: -100px;
        left: 0;
        width: 100%;
        height: 100%;
        object-fit: contain;
        transform: scaleY(1.3);
        transform-origin: center;
        z-index: 2;
    }

    .hg-sponsor-mobile-vertical-card-logo {
        position: absolute;
        top: -16%;
        left: 50%;
        width: 52%;
        height: auto;
        transform: translate(-50%, -50%);
        z-index: 3;
    }

}

@media (min-width: 480px) and (max-width: 767px) and (orientation: landscape) {

    .hg-sponsors-pc-holder,
    .hg-sponsors-mobile-vertical-holder {
        display: none;
    }

    .hg-sponsors-mobile-horizontal-holder {
        display: block;
    }

    .hg-sponsor-mobile-horizontal-section {
        position: relative;
        width: 100%;
        height: 550px;
        margin: 0 auto;
        overflow: hidden;
    }

    .hg-sponsor-mobile-horizontal-whiteboard {
        display: block;
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 550px;
        object-fit: fill;
        z-index: 1;
    }

    .hg-sponsor-mobile-horizontal-text {
        position: absolute;
        top: 45px;
        right: 7%;
        width: 55%;
        z-index: 2;
    }

    .hg-sponsor-mobile-horizontal-heading {
        margin: 0 0 -10px;
        font-size: 40px;
        letter-spacing: 2px;
        text-align: center;
        color: #111;
    }

    .hg-sponsor-mobile-horizontal-text p {
        margin: 0 0 10px;
        font-size: 17px;
        line-height: .9;
    }

    .hg-sponsor-mobile-horizontal-card-box {
        position: absolute;
        top: 0;
        left: -20px;
        width: 50%;
        height: 70%;
        z-index: 2;
    }

    .hg-sponsor-mobile-horizontal-card {
        position: absolute;
        top: 62%;
        left: 45%;
        width: 119%;
        height: 600px;
        object-fit: fill;
        transform: translate(-50%, -50%) scale(0.51);
        transform-origin: center;
        z-index: 2;
    }

    .hg-sponsor-mobile-horizontal-card-logo {
        position: absolute;
        top: 55%;
        left: 45%;
        width: 27%;
        height: auto;
        transform: translate(-50%, -50%);
        z-index: 3;
    }

}
