/* =========================================================
   TGF HOME
   Component : Anti-Doping Banner
   File      : home-antidoping.css
========================================================= */


/* =========================================================
   01. SECTION
========================================================= */

.home-antidoping-section {
    width: 100%;
    margin: 0;
    padding: 34px 0px 30px;

    box-sizing: border-box;
}


/* =========================================================
   02. CUSTOM 1550 PX CONTAINER
========================================================= */

.home-antidoping-container {
    width: 100%;
    max-width: 1550px;

    margin: 0 auto;
    padding: 0;

    box-sizing: border-box;
}


/* =========================================================
   03. BANNER
========================================================= */

.home-antidoping-banner {
    display: block;

    width: 100%;
    max-width: 1550px;

    margin: 0 auto;

    overflow: hidden;

    border-radius: 7px;

    background: #ffffff;

    box-shadow:
        0 12px 30px rgba(5, 27, 58, .10);

    text-decoration: none;
}


/* =========================================================
   04. IMAGE
========================================================= */

.home-antidoping-banner img {
    display: block;

    width: 100%;
    height: auto;

    margin: 0;

    border: 0;
}


/* =========================================================
   05. HOVER
========================================================= */

.home-antidoping-banner:hover {
    transform: translateY(-2px);

    box-shadow:
        0 16px 36px rgba(5, 27, 58, .14);
}


/* =========================================================
   06. FOCUS
========================================================= */

.home-antidoping-banner:focus-visible {
    outline: 3px solid rgba(244, 183, 25, .40);
    outline-offset: 3px;
}


/* =========================================================
   07. TABLET
========================================================= */

@media (max-width: 1024px) {

    .home-antidoping-container {
        width: calc(100% - 40px);
    }

}


/* =========================================================
   08. MOBILE
========================================================= */

@media (max-width: 640px) {

    .home-antidoping-section {
        padding: 22px 14px;
    }

    .home-antidoping-container {
        width: calc(100vw - 24px);
    }

    .home-antidoping-banner:hover {
        transform: none;
    }

}

/* =========================================================
   09. PREMIUM ENHANCEMENTS
========================================================= */

/*
|--------------------------------------------------------------------------
| Section Atmosphere
|--------------------------------------------------------------------------
*/

.home-antidoping-section {
    position: relative;

    background:
        linear-gradient(180deg,
            rgba(255, 255, 255, 0) 0%,
            rgba(239, 244, 249, .52) 50%,
            rgba(255, 255, 255, 0) 100%);
}


/*
|--------------------------------------------------------------------------
| Premium Accent Lines
|--------------------------------------------------------------------------
*/

.home-antidoping-section::before,
.home-antidoping-section::after {
    content: "";

    position: absolute;
    left: 50%;

    width: min(1550px, calc(100% - 40px));
    height: 1px;

    transform: translateX(-50%);

    pointer-events: none;

    background:
        linear-gradient(90deg,
            transparent 0%,
            rgba(11, 44, 95, .06) 14%,
            rgba(244, 183, 25, .30) 50%,
            rgba(11, 44, 95, .06) 86%,
            transparent 100%);
}

.home-antidoping-section::before {
    top: 8px;
}

.home-antidoping-section::after {
    bottom: 8px;
}


/*
|--------------------------------------------------------------------------
| Banner Premium Border
|--------------------------------------------------------------------------
*/

.home-antidoping-banner {
    position: relative;

    border: 1px solid rgba(11, 44, 95, .08);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}


/*
|--------------------------------------------------------------------------
| Inner Highlight
|--------------------------------------------------------------------------
*/

.home-antidoping-banner::after {
    content: "";

    position: absolute;
    inset: 0;

    border-radius: inherit;

    pointer-events: none;

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, .88),
        inset 0 -1px 0 rgba(6, 27, 58, .03);
}


/*
|--------------------------------------------------------------------------
| Image Transition
|--------------------------------------------------------------------------
*/

.home-antidoping-banner img {
    transition:
        transform .35s ease,
        filter .35s ease;
}


/*
|--------------------------------------------------------------------------
| Premium Hover
|--------------------------------------------------------------------------
*/

.home-antidoping-banner:hover {
    transform: translateY(-3px);

    border-color: rgba(244, 183, 25, .28);

    box-shadow:
        0 22px 52px rgba(5, 27, 58, .14),
        0 5px 14px rgba(5, 27, 58, .06);
}

.home-antidoping-banner:hover img {
    transform: scale(1.004);

    filter:
        saturate(1.025) contrast(1.01);
}


/* =========================================================
   10. PREMIUM TABLET
========================================================= */

@media (max-width: 1024px) {

    .home-antidoping-section::before,
    .home-antidoping-section::after {
        width: calc(100% - 40px);
    }

}


/* =========================================================
   11. PREMIUM MOBILE
========================================================= */

@media (max-width: 640px) {

    .home-antidoping-section::before,
    .home-antidoping-section::after {
        width: calc(100% - 28px);
    }

    .home-antidoping-banner {
        box-shadow:
            0 10px 26px rgba(5, 27, 58, .10);
    }

    .home-antidoping-banner:hover img {
        transform: none;
        filter: none;
    }

}