/*
 * MIX365 SHOW SCHEDULE
 * Exact homepage hero and unified section effects.
 */

/* ==========================================================
   PAGE AND VICE THEME WRAPPER
   ========================================================== */

body.mix365-schedule-exact-home {
    background: #030304 !important;
}

body.mix365-schedule-exact-home
.qw-totalcontainer,

body.mix365-schedule-exact-home
#canvas,

body.mix365-schedule-exact-home
.dhrk-ajax-content {
    background: #030304 !important;
}

body.mix365-schedule-exact-home
.dhrk-ajax-content {
    padding: 0 !important;
}

/* Same transparent header treatment as homepage. */

body.mix365-schedule-exact-home
.qw-header-fixed {
    position: absolute;
    z-index: 100;

    background: transparent !important;
    box-shadow: none !important;
}

body.mix365-schedule-exact-home.qw-scrolled
.qw-header-fixed {
    position: fixed;

    background:
        rgba(3, 3, 4, 0.92) !important;

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
}

/* Remove normal footer, retain native Vice player. */

body.mix365-schedule-exact-home
.vice-footerwidgets,

body.mix365-schedule-exact-home
.dhrk-pagefooter,

body.mix365-schedule-exact-home
.site-footer,

body.mix365-schedule-exact-home
footer:not(#QWplayerbar) {
    display: none !important;
}

body.mix365-schedule-exact-home
#QWplayerbar {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}

/* ==========================================================
   EXACT HOMEPAGE HERO
   ========================================================== */

.mix365-schedule-home-hero {
    width: 100vw !important;

    margin-left:
        calc(50% - 50vw);

    margin-right:
        calc(50% - 50vw);
}

/*
 * SCHEDULE is longer than MIX365, so this uses the same
 * homepage typography at a fitting size.
 */

.mix365-schedule-home-hero
.mix365-glitch-title {
    font-size:
        clamp(62px, 10.5vw, 150px);
}

.mix365-schedule-home-hero
.mix365-hero-subtitle {
    max-width: 700px;

    margin-right: auto;
    margin-left: auto;
}

/* ==========================================================
   REMOVE THE OLD IMITATION EFFECTS
   ========================================================== */

.mix365-schedule-motion-canvas,
.mix365-schedule-background-video {
    display: none !important;
}

#mix365SchedulePage {
    width: 100%;

    margin: 0;

    overflow: visible;

    background: #030304;
}

/* ==========================================================
   EXACT HOMEPAGE UNIFIED SECTION BACKGROUND
   ========================================================== */

#mix365ScheduleContent {
    position: relative !important;
    isolation: isolate !important;

    width: 100vw;

    margin-left:
        calc(50% - 50vw);

    margin-right:
        calc(50% - 50vw);

    overflow: hidden !important;

    padding: 0;

    color: #ffffff;

    background-color:
        #050506 !important;

    background-image:
        radial-gradient(
            circle at 18% 30%,
            rgba(231, 0, 65, 0.10),
            transparent 31%
        ),
        radial-gradient(
            circle at 82% 70%,
            rgba(255,255,255,0.035),
            transparent 28%
        ) !important;

    border-top:
        1px solid
        rgba(255,255,255,0.065);
}

/*
 * The real homepage unified script inserts:
 *
 * .mix365-section-effects-canvas
 * .mix365-section-effects-glow
 * .mix365-section-scanlines
 * .mix365-section-vignette
 */

#mix365ScheduleContent
.mix365-section-effects-canvas {
    opacity: 0.62 !important;
}

#mix365ScheduleContent
.mix365-schedule-shell {
    position: relative !important;
    z-index: 4 !important;

    width:
        min(1320px, calc(100% - 42px));

    margin: 0 auto;

    padding:
        115px 0 145px;

    text-align: center;
}

/* ==========================================================
   SECTION HEADING
   ========================================================== */

.mix365-schedule-section-heading {
    width: min(780px, 100%);

    margin:
        0 auto 65px;

    text-align: center;
}

.mix365-schedule-section-kicker {
    margin:
        0 0 13px;

    color: #ff154f;

    font-size: 11px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: 0.19em;
    text-transform: uppercase;
}

.mix365-schedule-section-heading h2 {
    margin: 0;

    color: #ffffff;

    font-size:
        clamp(44px, 6vw, 84px);

    line-height: 0.94;
    font-weight: 950;
    letter-spacing: -0.055em;
    text-transform: uppercase;
}

.mix365-schedule-section-heading > p:last-child {
    width: min(650px, 100%);

    margin:
        25px auto 0;

    color:
        rgba(255,255,255,0.68);

    font-size: 16px;
    line-height: 1.75;
}

/* ==========================================================
   CENTRED CONTROLS
   ========================================================== */

#mix365ScheduleContent
.mix365-schedule-week {
    width: min(680px, 100%);

    justify-content: center;

    margin:
        0 auto 42px;
}

#mix365ScheduleContent
.mix365-week-copy {
    align-items: center;
    text-align: center;
}

#mix365ScheduleContent
.mix365-schedule-toolbar {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 24px;

    margin-bottom: 34px;
}

#mix365ScheduleContent
.mix365-schedule-tabs {
    width: 100%;

    justify-content: center;
}

#mix365ScheduleContent
.mix365-schedule-view {
    align-self: center;

    margin:
        0 auto;
}

#mix365ScheduleContent
.mix365-schedule-status {
    text-align: center;
}

/* ==========================================================
   CENTRED SCHEDULE CARDS
   ========================================================== */

#mix365ScheduleContent
.mix365-schedule-results {
    grid-template-columns:
        repeat(
            auto-fit,
            minmax(270px, 310px)
        );

    justify-content: center;
    align-items: stretch;
}

#mix365ScheduleContent
.mix365-schedule-card {
    width: 100%;
    max-width: 310px;

    margin: 0 auto;

    text-align: left;

    border-color:
        rgba(255,255,255,0.12) !important;

    background:
        linear-gradient(
            145deg,
            rgba(25,26,30,0.92),
            rgba(5,5,7,0.96)
        ) !important;
}

#mix365ScheduleContent
.mix365-schedule-card:hover {
    border-color:
        rgba(255,18,81,0.72) !important;

    box-shadow:
        0 32px 82px
        rgba(0,0,0,0.58),

        0 0 36px
        rgba(255,0,67,0.12) !important;
}

#mix365ScheduleContent
.mix365-schedule-results.is-list {
    width: min(1040px, 100%);

    margin:
        0 auto;
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

@media (max-width: 800px) {
    .mix365-schedule-home-hero
    .mix365-glitch-title {
        font-size:
            clamp(54px, 14vw, 95px);
    }

    #mix365ScheduleContent
    .mix365-schedule-tabs {
        justify-content: flex-start;
    }
}

@media (max-width: 520px) {
    .mix365-schedule-home-hero
    .mix365-glitch-title {
        font-size:
            clamp(43px, 13vw, 68px);

        letter-spacing:
            -0.055em;
    }

    #mix365ScheduleContent
    .mix365-schedule-shell {
        width:
            calc(100% - 24px);

        padding:
            80px 0 105px;
    }

    .mix365-schedule-section-heading {
        margin-bottom: 45px;
    }
}
