@import url('https://fonts.googleapis.com/css2?family=Open+Sans:wght@300;400;500;600;700;800&display=swap');


/* =========================================================
   RPG — TEXT SELECTION
   ========================================================= */

::selection {
    background: #c8102e;
    color: #ffffff;
}

::-moz-selection {
    background: #c8102e;
    color: #ffffff;
}


/* =========================================================
   RPG — GLOBAL TYPOGRAPHY
   ========================================================= */

body,
button,
input,
select,
textarea {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}


/* =========================================================
   RPG — SPECIAL HEADINGS / GAME CONTENT
   ========================================================= */

.rpg-pgn h1,
.rpg-pgn h2,
.rpg-pgn h3,
.rpg-pgn .teamname,
.rpg-pgn .label,
.rpg-pgn .record,
.rpg-pgn .num {
    font-family: "Roboto Condensed", "Arial Narrow", Arial, sans-serif !important;
    font-weight: 700;
}


/* =========================================================
   RPG — GLOBAL ARTICLE TYPOGRAPHY
   Applies automatically to ALL old + new WordPress posts
   ========================================================= */


/* MAIN ARTICLE TEXT */

.single-post .entry-content > p,
.single-post .entry-content > ul,
.single-post .entry-content > ol,
.single-post .entry-content > blockquote,
.single-post .entry-content > .wp-block-group p,
.single-post .entry-content > .wp-block-columns p,
.single-post .entry-content .wp-block-list li {
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
    font-size: 17px;
    line-height: 1.72;
    font-weight: 400;
    letter-spacing: 0;
}


/* LIST ITEMS */

.single-post .entry-content li {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
    line-height: 1.65;
}


/* ARTICLE TITLE */

.single-post .entry-title,
.single-post h1.entry-title {
    font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.12;
    letter-spacing: -0.02em;
}


/* ARTICLE HEADINGS */

.single-post .entry-content h2,
.single-post .entry-content h3,
.single-post .entry-content h4,
.single-post .entry-content h5,
.single-post .entry-content h6 {
    font-family: "Roboto Condensed", "Arial Narrow", Arial, Helvetica, sans-serif !important;
    font-weight: 700 !important;
    line-height: 1.2;
    letter-spacing: -0.01em;
}


/* BLOCKQUOTES */

.single-post .entry-content blockquote,
.single-post .entry-content .wp-block-quote {
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
    font-style: normal;
}


/* TABLES */

.single-post .entry-content table,
.single-post .entry-content table td,
.single-post .entry-content table th {
    font-family: "Open Sans", Arial, Helvetica, sans-serif;
}


/* IMAGE CAPTIONS */

.single-post .entry-content figcaption,
.single-post .entry-content .wp-caption-text {
    font-family: "Open Sans", Arial, Helvetica, sans-serif !important;
    font-size: 13px;
    line-height: 1.45;
}


/* =========================================================
   RPG — FORCE DISABLE BROKEN THEME PRELOADER
   Prevents white-screen overlay for public visitors
   ========================================================= */

#preloader,
.twp-preloader,
#preloader #status,
#preloader .theme-preloader-clock,
.twp-preloader #status,
.twp-preloader .theme-preloader-clock {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    pointer-events: none !important;

    width: 0 !important;
    height: 0 !important;
    min-width: 0 !important;
    min-height: 0 !important;

    margin: 0 !important;
    padding: 0 !important;

    overflow: hidden !important;
    position: absolute !important;

    top: -99999px !important;
    left: -99999px !important;

    z-index: -999999 !important;
}


/* =========================================================
   RPG — FORCE MAIN SITE VISIBILITY
   Safety rule in case theme loader leaves content hidden
   ========================================================= */

html,
body,
#page,
.site,
.site-content,
#content,
.content-area,
.site-main,
main,
article,
.entry-content {
    visibility: visible !important;
    opacity: 1 !important;
}


/* Prevent theme from locking page scrolling */

html,
body {
    overflow-x: hidden;
}


/* =========================================================
   RPG — MOBILE ARTICLE TYPOGRAPHY
   ========================================================= */

@media (max-width: 767px) {

    .single-post .entry-content > p,
    .single-post .entry-content > ul,
    .single-post .entry-content > ol,
    .single-post .entry-content > blockquote,
    .single-post .entry-content > .wp-block-group p,
    .single-post .entry-content > .wp-block-columns p,
    .single-post .entry-content .wp-block-list li {
        font-size: 16px;
        line-height: 1.68;
    }

    .single-post .entry-title,
    .single-post h1.entry-title {
        line-height: 1.15;
    }
}

/* =========================================================
   RPG PLAYER STATS — MASTER STYLE v1.0
   EuroLeague / Basket League
   ========================================================= */

#rpg-player-stats-2526 {
    --rpg-text: #17171b;
    --rpg-muted: #626269;
    --rpg-panel: #f4f4f6;
    --rpg-white: #ffffff;
    --rpg-border: #dedee1;
    --rpg-head: #151519;
    --rpg-red: #c8102e;
    --rpg-red-soft: #fff1f3;

    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    color: var(--rpg-text) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    line-height: 1.45 !important;
}

#rpg-player-stats-2526 *,
#rpg-player-stats-2526 *::before,
#rpg-player-stats-2526 *::after {
    box-sizing: border-box !important;
}


/* =========================================================
   WRAPPER
   ========================================================= */

#rpg-player-stats-2526 .wrap {
    width: 100% !important;
    max-width: 1320px !important;
    min-width: 0 !important;

    margin: 0 auto !important;
    padding: 24px !important;
}


/* =========================================================
   HERO
   ========================================================= */

#rpg-player-stats-2526 .hero {
    width: 100% !important;

    background: #151519 !important;
    color: #ffffff !important;

    padding: 28px 24px !important;
    margin: 0 0 22px 0 !important;

    border-top: 5px solid #c8102e !important;
}

#rpg-player-stats-2526 .eyebrow {
    margin: 0 0 8px 0 !important;

    color: #d8d8dc !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 12px !important;
    font-weight: 700 !important;

    letter-spacing: 1.5px !important;
}

#rpg-player-stats-2526 h1 {
    margin: 0 0 8px 0 !important;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 34px !important;
    font-weight: 800 !important;
    line-height: 1.05 !important;
}

#rpg-player-stats-2526 .hero h2 {
    margin: 0 0 14px 0 !important;

    color: #ffffff !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    font-weight: 700 !important;
}


/* =========================================================
   BADGES
   ========================================================= */

#rpg-player-stats-2526 .badges {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 8px !important;
}

#rpg-player-stats-2526 .badge {
    display: inline-block !important;

    padding: 7px 11px !important;

    background: #2b2b31 !important;
    color: #ffffff !important;

    font-size: 13px !important;
    font-weight: 700 !important;

    border-radius: 0 !important;
}

#rpg-player-stats-2526 .badge.red {
    background: #c8102e !important;
    color: #ffffff !important;
}


/* =========================================================
   INTRO
   ========================================================= */

#rpg-player-stats-2526 .intro {
    width: 100% !important;

    margin: 0 0 24px 0 !important;

    background: #ffffff !important;
    color: #17171b !important;

    font-size: 16px !important;
    line-height: 1.6 !important;
}


/* =========================================================
   SECTIONS
   ========================================================= */

#rpg-player-stats-2526 .section {
    width: 100% !important;
    max-width: none !important;
    min-width: 0 !important;

    margin: 0 0 32px 0 !important;
}

#rpg-player-stats-2526 .section h3 {
    width: 100% !important;

    margin: 0 0 8px 0 !important;
    padding: 0 0 7px 0 !important;

    background: #ffffff !important;
    color: #17171b !important;

    border-bottom: 3px solid #c8102e !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 22px !important;
    font-weight: 800 !important;
    line-height: 1.2 !important;
}

#rpg-player-stats-2526 .sub {
    margin: 0 0 10px 0 !important;

    background: #ffffff !important;
    color: #626269 !important;

    font-size: 13px !important;
}


/* =========================================================
   SEASON LEADER CARDS
   ========================================================= */

#rpg-player-stats-2526 .cards {
    width: 100% !important;

    display: grid !important;
    grid-template-columns: repeat(6, minmax(0, 1fr)) !important;
    gap: 10px !important;
}

#rpg-player-stats-2526 .card {
    min-width: 0 !important;

    padding: 14px !important;

    background: #f4f4f6 !important;
    color: #17171b !important;

    border-top: 4px solid #c8102e !important;
}

#rpg-player-stats-2526 .card .k {
    color: #626269 !important;

    font-size: 11px !important;
    font-weight: 800 !important;

    text-transform: uppercase !important;
}

#rpg-player-stats-2526 .card .v {
    margin: 3px 0 1px 0 !important;

    color: #17171b !important;

    font-size: 23px !important;
    font-weight: 800 !important;
    line-height: 1.1 !important;
}

#rpg-player-stats-2526 .card .n {
    color: #17171b !important;

    font-size: 13px !important;
    font-weight: 700 !important;
}


/* =========================================================
   TABLE SCROLLER
   ========================================================= */

#rpg-player-stats-2526 .scroller {
    width: 100% !important;
    max-width: 100% !important;

    overflow-x: auto !important;
    overflow-y: visible !important;

    -webkit-overflow-scrolling: touch !important;

    background: #ffffff !important;
}


/* =========================================================
   TABLE
   ========================================================= */

#rpg-player-stats-2526 table.sortable {
    width: 100% !important;
    min-width: 920px !important;

    margin: 0 !important;

    border-collapse: collapse !important;
    border-spacing: 0 !important;

    table-layout: auto !important;

    background: #ffffff !important;
    color: #17171b !important;

    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
}


/* =========================================================
   TABLE HEADER
   ========================================================= */

#rpg-player-stats-2526 table.sortable thead,
#rpg-player-stats-2526 table.sortable thead tr {
    background: #151519 !important;
}

#rpg-player-stats-2526 table.sortable th {
    padding: 10px !important;

    background: #151519 !important;
    color: #ffffff !important;

    border: 1px solid #333338 !important;

    text-align: center !important;
    vertical-align: middle !important;

    font-weight: 800 !important;
    white-space: nowrap !important;

    cursor: pointer !important;
    user-select: none !important;
}

#rpg-player-stats-2526 table.sortable th:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 5 !important;

    min-width: 220px !important;

    background: #151519 !important;
    color: #ffffff !important;

    text-align: left !important;
}


/* =========================================================
   TABLE BODY
   ========================================================= */

#rpg-player-stats-2526 table.sortable td {
    padding: 9px !important;

    background: #ffffff !important;
    color: #17171b !important;

    border: 1px solid #dedee1 !important;

    text-align: center !important;
    vertical-align: middle !important;

    white-space: nowrap !important;
}

#rpg-player-stats-2526 table.sortable tbody tr:nth-child(even) td {
    background: #f4f4f6 !important;
}


/* PLAYER COLUMN */

#rpg-player-stats-2526 table.sortable tbody td:first-child {
    position: sticky !important;
    left: 0 !important;
    z-index: 3 !important;

    min-width: 220px !important;

    background: #ffffff !important;
    color: #c8102e !important;

    text-align: left !important;

    font-weight: 700 !important;
}

#rpg-player-stats-2526 table.sortable tbody tr:nth-child(even) td:first-child {
    background: #f4f4f6 !important;
}


/* =========================================================
   SORT ARROWS
   ========================================================= */

#rpg-player-stats-2526 .arrow {
    margin-left: 3px !important;

    color: inherit !important;

    font-size: 10px !important;
    font-weight: 700 !important;
}


/* =========================================================
   ACTIVE SORTED COLUMN
   ONLY THE SELECTED COLUMN BECOMES RED
   ========================================================= */

#rpg-player-stats-2526 table.sortable th.active-sort-col {
    background: #c8102e !important;
    color: #ffffff !important;
}

#rpg-player-stats-2526 table.sortable td.active-sort-col {
    background: #fff1f3 !important;
    color: #c8102e !important;

    font-weight: 800 !important;
}

#rpg-player-stats-2526 table.sortable tbody tr:nth-child(even) td.active-sort-col {
    background: #fff1f3 !important;
    color: #c8102e !important;
}


/* If PLAYER is sorted, keep player names readable */

#rpg-player-stats-2526 table.sortable tbody td:first-child.active-sort-col {
    background: #fff1f3 !important;
    color: #c8102e !important;
}


/* =========================================================
   NOTE
   ========================================================= */

#rpg-player-stats-2526 .note {
    width: 100% !important;

    margin: 8px 0 0 0 !important;
    padding: 10px 12px !important;

    background: #f4f4f6 !important;
    color: #626269 !important;

    border-left: 3px solid #c8102e !important;

    font-size: 12px !important;
    line-height: 1.6 !important;
}


/* =========================================================
   SCOPE
   ========================================================= */

#rpg-player-stats-2526 .scope {
    width: 100% !important;

    padding: 18px 20px !important;

    background: #151519 !important;
    color: #ffffff !important;

    border-left: 5px solid #c8102e !important;

    font-size: 13px !important;
    line-height: 1.7 !important;
}

#rpg-player-stats-2526 .scope strong {
    color: #ffffff !important;
    font-weight: 800 !important;
}


/* =========================================================
   DARK THEME PROTECTION
   We intentionally keep statistical surface light
   ========================================================= */

body.dark-mode #rpg-player-stats-2526,
body.dark #rpg-player-stats-2526,
.dark-mode #rpg-player-stats-2526,
[data-theme="dark"] #rpg-player-stats-2526 {
    color: #17171b !important;
}

body.dark-mode #rpg-player-stats-2526 .intro,
body.dark #rpg-player-stats-2526 .intro,
.dark-mode #rpg-player-stats-2526 .intro,
[data-theme="dark"] #rpg-player-stats-2526 .intro,

body.dark-mode #rpg-player-stats-2526 .section,
body.dark #rpg-player-stats-2526 .section,
.dark-mode #rpg-player-stats-2526 .section,
[data-theme="dark"] #rpg-player-stats-2526 .section,

body.dark-mode #rpg-player-stats-2526 .section h3,
body.dark #rpg-player-stats-2526 .section h3,
.dark-mode #rpg-player-stats-2526 .section h3,
[data-theme="dark"] #rpg-player-stats-2526 .section h3 {
    background: #ffffff !important;
    color: #17171b !important;
}


/* =========================================================
   TABLET
   ========================================================= */

@media (max-width: 900px) {

    #rpg-player-stats-2526 .cards {
        grid-template-columns: repeat(3, minmax(0, 1fr)) !important;
    }

}


/* =========================================================
   MOBILE
   ========================================================= */

@media (max-width: 680px) {

    #rpg-player-stats-2526 .wrap {
        padding: 14px !important;
    }

    #rpg-player-stats-2526 .hero {
        padding: 22px 18px !important;
    }

    #rpg-player-stats-2526 h1 {
        font-size: 28px !important;
    }

    #rpg-player-stats-2526 .hero h2 {
        font-size: 19px !important;
    }

    #rpg-player-stats-2526 .section h3 {
        font-size: 20px !important;
    }

    #rpg-player-stats-2526 .cards {
        grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    }

    #rpg-player-stats-2526 table.sortable {
        font-size: 12px !important;
    }

    #rpg-player-stats-2526 table.sortable th,
    #rpg-player-stats-2526 table.sortable td {
        padding: 8px !important;
    }

    #rpg-player-stats-2526 table.sortable th:first-child,
    #rpg-player-stats-2526 table.sortable td:first-child {
        min-width: 170px !important;
    }

}