
/* ==================================================
   BOXXHEADGAMING — EDITORIAL ARTICLE
================================================== */

.bx-article-page {
    width: min(1380px, calc(100% - 48px));
    margin: 0 auto;
    padding: 46px 0 80px;
}


.bx-article {
    color: #f2f2f2;
}


/* ------------------------------------------
   CATEGORY / BACK
------------------------------------------ */

.bx-article-top {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}


.bx-article-back {
    color: #ef2424 !important;
    text-decoration: none;
}


.bx-article-back:hover {
    text-decoration: underline;
}


.bx-article-category {
    color: #8f8f8f;
    border-left: 1px solid #444;
    padding-left: 14px;
}


/* ------------------------------------------
   HEADLINE
------------------------------------------ */

.bx-article-header {
    max-width: 1100px;
    margin-bottom: 30px;
}


.bx-article-header h1 {
    color: #ffffff !important;
    margin: 0;
    font-size: clamp(42px, 6vw, 82px);
    line-height: .96;
    letter-spacing: -.035em;
    font-weight: 900;
    text-transform: none;
}


.bx-article-deck {
    max-width: 850px;
    margin: 24px 0 0;
    color: #bcbcbc !important;
    font-size: 20px;
    line-height: 1.55;
}


.bx-article-byline {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 9px;
    margin-top: 25px;
    padding-top: 16px;
    border-top: 1px solid #333;
    color: #969696;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .07em;
    text-transform: uppercase;
}


.bx-article-byline > span:first-child {
    color: #ffffff;
}


.bx-byline-divider {
    color: #ef2424 !important;
}


/* ------------------------------------------
   HERO IMAGE
------------------------------------------ */

.bx-article-hero {
    margin: 0 0 40px;
    width: 100%;
    overflow: hidden;
    background: #111;
    border-top: 3px solid #ef2424;
}


.bx-article-hero img {
    display: block;
    width: 100%;
    max-height: 720px;
    object-fit: cover;
}


/* ------------------------------------------
   ARTICLE GRID
------------------------------------------ */

.bx-article-layout {
    display: grid;
    grid-template-columns:
        minmax(0, 780px)
        minmax(230px, 300px);
    gap: 72px;
    justify-content: center;
    align-items: start;
}


/* ------------------------------------------
   ARTICLE BODY
------------------------------------------ */

.bx-article-body {
    min-width: 0;
    color: #d5d5d5 !important;
    font-family:
        Arial,
        Helvetica,
        sans-serif;
    font-size: 18px;
    line-height: 1.76;
}


.bx-article-body p {
    color: #d5d5d5 !important;
    margin: 0 0 25px !important;
}


.bx-article-body > p:first-child {
    color: #eeeeee !important;
    font-size: 21px;
    line-height: 1.65;
}


.bx-article-body h2 {
    color: #ffffff !important;
    margin:
        52px
        0
        18px !important;
    padding-top: 16px;
    border-top: 1px solid #373737;
    font-size: clamp(27px, 3vw, 36px);
    line-height: 1.1;
    letter-spacing: -.018em;
    font-weight: 900;
}


.bx-article-body h2::before {
    content: "";
    display: block;
    width: 44px;
    height: 4px;
    margin-bottom: 15px;
    background: #ef2424;
}


.bx-article-body h3 {
    color: #ffffff !important;
    margin: 36px 0 14px !important;
    font-size: 23px;
    line-height: 1.2;
}


.bx-article-body strong {
    color: #ffffff !important;
    font-weight: 800;
}


.bx-article-body em {
    color: #eeeeee;
}


.bx-article-body ul {
    margin:
        5px
        0
        28px
        0 !important;
    padding: 0 !important;
    list-style: none !important;
}


.bx-article-body li {
    position: relative;
    margin: 0 0 11px;
    padding-left: 22px;
    color: #d5d5d5 !important;
}


.bx-article-body li::before {
    content: "";
    position: absolute;
    left: 1px;
    top: .73em;
    width: 7px;
    height: 2px;
    background: #ef2424;
}


/* ------------------------------------------
   SIDEBAR
------------------------------------------ */

.bx-article-rail {
    position: sticky;
    top: 30px;
}


.bx-rail-box {
    padding: 22px 0 0;
    border-top: 3px solid #ef2424;
}


.bx-rail-label {
    margin-bottom: 14px;
    color: #ef2424;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .15em;
}


.bx-rail-box strong {
    display: block;
    color: #ffffff;
    font-size: 24px;
    line-height: 1.05;
}


.bx-rail-box p {
    margin: 13px 0 0;
    color: #949494 !important;
    font-size: 14px;
    line-height: 1.55;
}


/* ------------------------------------------
   SOURCE
------------------------------------------ */

.bx-article-source {
    max-width: 780px;
    margin:
        58px
        auto
        0;
    padding-top: 18px;
    border-top: 1px solid #333;
    display: flex;
    gap: 18px;
    align-items: center;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
}


.bx-article-source span {
    color: #777;
}


.bx-article-source a {
    color: #ef2424 !important;
    text-decoration: none;
}


.bx-article-source a:hover {
    text-decoration: underline;
}


/* ------------------------------------------
   ARTICLE END MARK
------------------------------------------ */

.bx-article-end {
    max-width: 780px;
    margin: 45px auto 0;
    padding-top: 20px;
    border-top: 1px solid #333;
}


.bx-article-end span {
    color: #555;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .18em;
}


/* ------------------------------------------
   TABLET
------------------------------------------ */

@media (max-width: 950px) {

    .bx-article-layout {
        grid-template-columns: minmax(0, 760px);
        gap: 35px;
    }

    .bx-article-rail {
        position: static;
    }

    .bx-rail-box {
        max-width: 500px;
    }

}


/* ------------------------------------------
   MOBILE
------------------------------------------ */

@media (max-width: 650px) {

    .bx-article-page {
        width: calc(100% - 26px);
        padding-top: 30px;
    }

    .bx-article-header h1 {
        font-size: 42px;
    }

    .bx-article-deck {
        font-size: 17px;
    }

    .bx-article-body {
        font-size: 17px;
        line-height: 1.7;
    }

    .bx-article-body > p:first-child {
        font-size: 18px;
    }

    .bx-article-hero {
        margin-bottom: 30px;
    }

}



/* ==================================================
   BOXXHEAD ARTICLE DARK MODE — FINAL OVERRIDE
================================================== */

html,
body {
    background: #090909 !important;
    background-color: #090909 !important;
    color: #eeeeee !important;
}

body {
    margin: 0 !important;
    min-height: 100vh !important;
}


/* Main article background */

.bx-article-page,
.bx-article,
.bx-article-layout,
.bx-article-header,
.bx-article-body,
.bx-article-rail {
    background: transparent !important;
}


/* Prevent old white content containers */

.article-shell,
.article-page,
main,
article {
    background-color: transparent !important;
}


/* Header */

.bx-article-header h1 {
    color: #ffffff !important;
}


/* Article text */

.bx-article-body {
    color: #d7d7d7 !important;
}

.bx-article-body p,
.bx-article-body li {
    color: #d7d7d7 !important;
}

.bx-article-body strong {
    color: #ffffff !important;
}

.bx-article-body h2,
.bx-article-body h3 {
    color: #ffffff !important;
}


/* Byline */

.bx-article-byline {
    color: #999999 !important;
}

.bx-article-byline span:first-child {
    color: #ffffff !important;
}


/* Hero */

.bx-article-hero {
    background: #111111 !important;
}


/* Sidebar */

.bx-rail-box {
    background: transparent !important;
    color: #ffffff !important;
}

.bx-rail-box p {
    color: #a7a7a7 !important;
}


/* Source area */

.bx-article-source {
    background: transparent !important;
    color: #aaaaaa !important;
}


/* Kill any inherited white boxes */

.bx-article-page *,
.bx-article * {
    box-shadow: none;
}

.bx-article-body p,
.bx-article-body ul,
.bx-article-body li,
.bx-article-body h2,
.bx-article-body h3 {
    background: transparent !important;
}


/* Keep images clean */

.bx-article-hero img {
    display: block !important;
    width: 100% !important;
}


/* Mobile */

@media (max-width: 650px) {

    html,
    body {
        background: #090909 !important;
    }

    .bx-article-page {
        background: #090909 !important;
    }

}


/* ==================================================
   ARTICLE SHARE BAR
================================================== */

.bx-share-block {
    max-width: 1100px;
    margin: 22px 0 34px;
    padding: 16px 0;
    border-top: 1px solid #333;
    border-bottom: 1px solid #333;
}

.bx-share-label {
    margin-bottom: 12px;
    color: #858585;
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .16em;
}

.bx-share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.bx-share-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 38px;
    padding: 0 14px;
    border: 1px solid #474747;
    background: #111 !important;
    color: #ffffff !important;
    font-family: inherit;
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .06em;
    text-decoration: none !important;
    cursor: pointer;
    border-radius: 0;
}

.bx-share-btn:hover {
    border-color: #ef2424;
    background: #ef2424 !important;
    color: #ffffff !important;
}

@media (max-width: 650px) {

    .bx-share-buttons {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
    }

    .bx-share-btn {
        width: 100%;
    }

}


/* Main smart share button */

.bx-share-main {
    background: #ef2424 !important;
    border-color: #ef2424 !important;
    color: #fff !important;
}

.bx-share-main:hover {
    background: #fff !important;
    border-color: #fff !important;
    color: #090909 !important;
}

/* Native SHARE only appears when supported */

.bx-native-share {
    display: none !important;
}

.bx-native-share.bx-share-supported {
    display: inline-flex !important;
}

@media (max-width: 650px) {
    .bx-native-share.bx-share-supported {
        display: flex !important;
    }
}

/* ==================================================
   BOXXHEAD ARTICLE — MOBILE FINAL PASS
================================================== */

@media (max-width: 650px) {

    .bx-article-page {
        width: calc(100% - 22px) !important;
        padding: 24px 0 55px !important;
    }

    .bx-article-top {
        margin-bottom: 14px !important;
    }

    .bx-article-header {
        margin-bottom: 22px !important;
    }

    .bx-article-header h1 {
        font-size: clamp(36px, 10vw, 48px) !important;
        line-height: .98 !important;
        letter-spacing: -.025em !important;
    }

    .bx-article-deck {
        margin-top: 16px !important;
        font-size: 17px !important;
        line-height: 1.45 !important;
    }

    .bx-article-byline {
        font-size: 10px !important;
        line-height: 1.5 !important;
        gap: 6px !important;
    }

    .bx-article-hero {
        width: calc(100% + 22px) !important;
        margin-left: -11px !important;
        margin-bottom: 28px !important;
        border-top-width: 2px !important;
    }

    .bx-article-hero img {
        width: 100% !important;
        max-height: none !important;
        object-fit: cover !important;
    }

    .bx-article-layout {
        display: block !important;
    }

    .bx-article-body {
        width: 100% !important;
        font-size: 17px !important;
        line-height: 1.68 !important;
    }

    .bx-article-body > p:first-child {
        font-size: 18px !important;
        line-height: 1.6 !important;
    }

    .bx-article-body p {
        margin-bottom: 21px !important;
    }

    .bx-article-body h2 {
        margin-top: 42px !important;
        font-size: 28px !important;
        line-height: 1.08 !important;
    }

    .bx-article-body h3 {
        font-size: 22px !important;
    }

    .bx-article-body li {
        margin-bottom: 10px !important;
        padding-left: 20px !important;
    }

    /* SHARE BUTTONS */

    .bx-share-block {
        margin: 18px 0 28px !important;
        padding: 13px 0 !important;
    }

    .bx-share-buttons {
        display: grid !important;
        grid-template-columns: repeat(2, minmax(0,1fr)) !important;
        gap: 8px !important;
    }

    .bx-share-btn {
        width: 100% !important;
        min-height: 46px !important;
        padding: 0 10px !important;
        font-size: 11px !important;
    }

    .bx-native-share.bx-share-supported {
        display: flex !important;
    }

    /* SIDEBAR BECOMES BOTTOM CARD */

    .bx-article-rail {
        position: static !important;
        margin-top: 42px !important;
    }

    .bx-rail-box {
        max-width: none !important;
        padding-top: 18px !important;
    }

    .bx-article-source {
        margin-top: 42px !important;
    }

}


/* Small phone */

@media (max-width: 390px) {

    .bx-article-page {
        width: calc(100% - 18px) !important;
    }

    .bx-article-header h1 {
        font-size: 34px !important;
    }

    .bx-share-buttons {
        grid-template-columns: 1fr !important;
    }

}


/* ==========================================================
   BOXXHEAD SMART RELATED STORIES
========================================================== */

.bx-related {
    width: 100%;
    margin-top: 56px;
    padding-top: 32px;
    border-top: 1px solid rgba(255,255,255,.14);
}

.bx-related-heading {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 24px;
    margin-bottom: 22px;
}

.bx-related-kicker {
    display: block;
    margin-bottom: 5px;
    color: #e31616;
    font-size: 12px;
    line-height: 1;
    font-weight: 900;
    letter-spacing: .18em;
}

.bx-related-heading h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(25px, 3vw, 38px);
    line-height: 1;
    font-weight: 950;
    letter-spacing: -.035em;
}

.bx-related-category-link {
    flex: 0 0 auto;
    color: rgba(255,255,255,.78);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
    transition:
        color .18s ease,
        transform .18s ease;
}

.bx-related-category-link:hover {
    color: #fff;
    transform: translateX(3px);
}

.bx-related-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
}

.bx-related-card {
    min-width: 0;
    overflow: hidden;
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.045),
            rgba(255,255,255,.018)
        );
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    transition:
        transform .2s ease,
        border-color .2s ease,
        background .2s ease;
}

.bx-related-card:hover {
    transform: translateY(-3px);
    border-color: rgba(227,22,22,.55);
    background:
        linear-gradient(
            180deg,
            rgba(255,255,255,.065),
            rgba(255,255,255,.025)
        );
}

.bx-related-image {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #111;
}

.bx-related-image img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .25s ease;
}

.bx-related-card:hover .bx-related-image img {
    transform: scale(1.025);
}

.bx-related-placeholder {
    display: flex;
    width: 100%;
    height: 100%;
    align-items: center;
    justify-content: center;
    background:
        radial-gradient(
            circle at 50% 45%,
            rgba(227,22,22,.22),
            rgba(0,0,0,.2) 48%,
            #080808 100%
        );
}

.bx-related-placeholder span {
    color: rgba(255,255,255,.22);
    font-size: 42px;
    font-weight: 950;
    letter-spacing: -.08em;
}

.bx-related-copy {
    padding: 17px 18px 19px;
}

.bx-related-meta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px 12px;
    margin-bottom: 10px;
    color: rgba(255,255,255,.52);
    font-size: 10px;
    font-weight: 900;
    letter-spacing: .1em;
    text-transform: uppercase;
}

.bx-related-meta span {
    color: #e31616;
}

.bx-related-copy h3 {
    margin: 0;
    color: #fff;
    font-size: 19px;
    line-height: 1.14;
    font-weight: 900;
    letter-spacing: -.025em;
}

.bx-related-copy h3 a {
    color: inherit;
    text-decoration: none;
}

.bx-related-copy p {
    margin: 10px 0 0;
    color: rgba(255,255,255,.66);
    font-size: 13px;
    line-height: 1.55;
}

.bx-related-read {
    display: inline-block;
    margin-top: 15px;
    color: rgba(255,255,255,.84);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: .08em;
    text-decoration: none;
}

.bx-related-read:hover {
    color: #e31616;
}

@media (max-width: 760px) {

    .bx-related {
        margin-top: 42px;
        padding-top: 26px;
    }

    .bx-related-heading {
        align-items: flex-start;
        flex-direction: column;
        gap: 11px;
    }

    .bx-related-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .bx-related-card {
        border-radius: 12px;
    }

    .bx-related-copy {
        padding: 15px 16px 17px;
    }

    .bx-related-copy h3 {
        font-size: 18px;
    }

}

@media (prefers-reduced-motion: reduce) {

    .bx-related-card,
    .bx-related-image img,
    .bx-related-category-link {
        transition: none;
    }

}


/* /BOXXHEAD SMART RELATED STORIES */
