/* Event cards intentionally load after the legacy responsive stylesheet. */
#set1-tab2 .news-main {
    display: grid !important;
    grid-template-columns: minmax(0, 1.45fr) minmax(360px, 1fr) !important;
    gap: 18px !important;
    align-items: stretch;
}

#set1-tab2 .news-left,
#set1-tab2 .news-right {
    width: auto;
    max-width: none !important;
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
}

#set1-tab2 .news-left:hover {
    transform: none;
    box-shadow: none;
}

#set1-tab2 .news-right {
    display: grid !important;
    grid-template-columns: 1fr !important;
    grid-template-rows: repeat(3, minmax(150px, 1fr));
    gap: 14px !important;
    height: 100%;
    align-self: stretch;
}

.hf-event-feature,
.hf-event-side {
    border: 1px solid rgba(209, 159, 80, .28);
    border-radius: 6px;
    background: rgba(9, 9, 9, .88);
    overflow: hidden;
}

.hf-event-feature {
    height: 100%;
    box-sizing: border-box;
}

.hf-event-feature-image {
    position: relative;
    height: 282px;
    overflow: hidden;
}

.hf-event-feature-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(5, 5, 5, .62));
    pointer-events: none;
}

.hf-event-feature-image > img,
.hf-event-side-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .35s ease;
}

.hf-event-feature:hover .hf-event-feature-image > img,
.hf-event-side:hover .hf-event-side-image img {
    transform: scale(1.025);
}

.hf-event-feature-image > .hf-event-pill {
    position: absolute;
    z-index: 2;
    top: 18px;
    left: 18px;
}

.hf-event-feature-body {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) minmax(285px, .85fr);
    gap: 22px;
    padding: 20px 24px;
}

.hf-event-kind,
.hf-event-timer-wrap > span,
.hf-event-side-meta > span:nth-child(2) {
    color: #d19f50;
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1.5px;
}

.hf-event-copy h3 {
    margin: 6px 0;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 23px;
    line-height: 1.2;
    letter-spacing: 0;
}

.hf-event-copy p,
.hf-event-side-copy p {
    margin: 0;
    color: rgba(255, 255, 255, .55);
    font-size: 13px;
    line-height: 1.55;
}

.hf-event-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hf-event-side-copy p {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.hf-event-range {
    margin-top: 12px;
    color: rgba(255, 255, 255, .72);
    font-family: var(--font-heading);
    font-size: 12px;
    text-transform: uppercase;
}

.hf-event-range i {
    margin-right: 7px;
    color: #d19f50;
}

.hf-event-explore {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 14px;
    color: #e32231;
    font-family: var(--font-heading);
    font-size: 12px;
    text-decoration: none;
}

.hf-event-explore:hover {
    color: #fff;
}

.hf-event-timer {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 7px;
    margin-top: 12px;
}

.hf-event-tba {
    margin-top: 12px;
    padding: 18px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 5px;
    color: rgba(255, 255, 255, .48);
    font-size: 13px;
    text-align: center;
}

.hf-event-timer > div {
    min-width: 0;
    padding: 13px 4px 10px;
    border: 1px solid rgba(255, 255, 255, .11);
    border-radius: 5px;
    text-align: center;
}

.hf-event-timer strong {
    display: block;
    color: #fff;
    font-family: var(--font-heading);
    font-size: 29px;
    font-weight: 500;
    line-height: 1;
    letter-spacing: 0;
}

.hf-event-timer small {
    display: block;
    margin-top: 8px;
    color: #d19f50;
    font-size: 8px;
    font-weight: 700;
}

.hf-event-side {
    display: grid;
    grid-template-columns: 38% minmax(0, 1fr);
    min-height: 145px;
}

.hf-event-side-image {
    display: block;
    min-height: 145px;
    overflow: hidden;
}

.hf-event-side-copy {
    min-width: 0;
    padding: 15px 16px;
}

.hf-event-side-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: rgba(255, 255, 255, .45);
    font-size: 9px;
    text-transform: uppercase;
}

.hf-event-side-copy h4 {
    margin: 10px 0 7px;
    font-family: var(--font-heading);
    font-size: 15px;
    line-height: 1.25;
    letter-spacing: 0;
}

.hf-event-side-copy h4 a {
    color: #fff;
    text-decoration: none;
}

.hf-event-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 24px;
    box-sizing: border-box;
    padding: 4px 8px;
    border: 1px solid rgba(255, 255, 255, .13);
    border-radius: 3px;
    background: rgba(255, 255, 255, .07);
    color: rgba(255, 255, 255, .7);
    font-size: 9px;
    font-weight: 700;
    white-space: nowrap;
}

.hf-event-pill.live,
.hf-event-pill.ending {
    border-color: rgba(227, 34, 49, .7);
    background: rgba(189, 9, 23, .3);
    color: #fff;
}

.hf-event-pill.live i {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #ff2637;
    box-shadow: 0 0 8px rgba(255, 38, 55, .8);
}

.hf-event-pill.ended {
    opacity: .58;
}

.hf-event-empty {
    display: grid;
    place-items: center;
    min-height: 320px;
    gap: 10px;
    color: rgba(255, 255, 255, .38);
}

.hf-event-empty i {
    color: #d19f50;
    font-size: 28px;
}

@media (max-width: 1100px) {
    #set1-tab2 .news-main {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    #set1-tab2 .news-right {
        grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)) !important;
        grid-template-rows: auto;
        height: auto;
    }

    .hf-event-side {
        grid-template-columns: 38% minmax(0, 1fr);
    }

    .hf-event-side-image {
        height: auto;
    }
}

@media (max-width: 700px) {
    .discord-float {
        width: 46px;
        height: 46px;
        justify-content: center;
        padding: 0;
        right: 12px;
        bottom: 12px;
    }

    .discord-float span {
        display: none;
    }

    .hf-event-feature-image {
        height: 220px;
    }

    .hf-event-feature-body {
        grid-template-columns: 1fr;
        padding: 20px;
    }

    #set1-tab2 .news-right {
        grid-template-columns: minmax(0, 1fr) !important;
    }

    .hf-event-side {
        grid-template-columns: 36% minmax(0, 1fr);
    }

    .hf-event-timer strong {
        font-size: 23px;
    }
}

@media (max-width: 460px) {
    .hf-event-side {
        grid-template-columns: 1fr;
    }

    .hf-event-side-image {
        height: 160px;
    }

    .hf-event-feature-body {
        padding: 17px;
    }

    .hf-event-timer {
        gap: 4px;
    }

    .hf-event-timer strong {
        font-size: 19px;
    }
}
