/* ===========================================================================
   StreamArena — main stylesheet
   ---------------------------------------------------------------------------
   The design follows the layout of sports streaming portals: a dark ground,
   light tiles in a grid, green clocks, a teal text section.

   WHY THE COLOURS ARE IN VARIABLES:
   a change of look (e.g. a different brand colour) is then a change in one
   place.
   =========================================================================== */

/* ---------------------------------------------------------------------------
   FONT
   ---------------------------------------------------------------------------
   Caprasimo is under the SIL Open Font License 1.1 — it may be used and
   self-hosted freely. We keep it locally (not from the Google CDN) so that the
   site works even with a strict CSP and without external requests.
   The 'Cooper Black' fallback is present on Windows/Mac, so the logo looks
   good even while the font is loading.
   --------------------------------------------------------------------------- */
@font-face {
    font-family: 'Caprasimo';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/caprasimo-latin.woff2') format('woff2');
    unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA,
                   U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122,
                   U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
    font-family: 'Caprasimo';
    font-style: normal;
    font-weight: 400;
    font-display: swap;
    src: url('../fonts/caprasimo-latin-ext.woff2') format('woff2');
    unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,
                   U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF,
                   U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

/* ---------------------------------------------------------------------------
   VARIABLES
   --------------------------------------------------------------------------- */
:root {
    --bg:            #000;
    --panel:         #1f1f1f;   /* header top bar */
    --panel-2:       #222;      /* grid, footer */
    --panel-border:  #333;

    --tile-bg:       #f7f9fa;
    --tile-border:   #e1e4e8;
    --tile-text:     #1a1a1a;

    --brand-blue:    #006fd1;   /* logo, accents */
    --btn-blue:      #306695;   /* utility buttons, search button */
    --btn-blue-hi:   #3b7aa6;
    --live-blue:     #3a8ec4;   /* the big live button */
    --live-blue-hi:  #4a9cd2;
    --green:         #5ea904;   /* clocks */
    --green-border:  #336600;
    --teal:          #009999;   /* text section, hover in the footer */
    --teal-hi:       #00b3b3;

    --text:          #eee;
    --text-dim:      #aaa;
    --text-faint:    #777;

    --radius:        5px;
    --wrap:          1000px;
}

/* ---------------------------------------------------------------------------
   RESET
   --------------------------------------------------------------------------- */
* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

html, body { height: 100%; margin: 0; }

body {
    background-color: var(--bg);
    color: var(--text);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main { flex: 1; }

img, svg { max-width: 100%; }

a { color: var(--teal); }

/* Accessibility: skip to content, visible only on keyboard focus */
.skip-link {
    position: absolute; left: -9999px; top: 0; z-index: 100;
    background: var(--teal); color: #fff; padding: 10px 16px;
    font-weight: bold; text-decoration: none;
}
.skip-link:focus { left: 0; }

/* ---------------------------------------------------------------------------
   WRAPPER
   --------------------------------------------------------------------------- */
.header-wrapper {
    max-width: var(--wrap);
    margin: 0 auto;
    padding: 10px;
}

/* ===========================================================================
   TOP BAR (logo, search, clocks)
   =========================================================================== */
.header-top {
    background-color: var(--panel);
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 15px;
    margin-bottom: 15px;
    gap: 20px;
    flex-wrap: wrap;
}

/* --- logo ---------------------------------------------------------------- */
.header-logo {
    text-decoration: none;
    display: flex;
    align-items: baseline;
    gap: 15px;
    white-space: nowrap;
}

/* Two words in two colours — the same principle as on sports portals,
   but our own name. A brand change = a change of these two classes. */
.logo-brand-1 {
    font-family: 'Caprasimo', 'Cooper Black', serif;
    font-size: 64px;
    color: var(--brand-blue);
    text-transform: uppercase;
    line-height: 1;
    text-shadow: 2px 2px 0 #000;
}

.logo-brand-2 {
    font-family: 'Caprasimo', 'Cooper Black', serif;
    font-size: 64px;
    color: #fff;
    line-height: 1;
    text-shadow: 2px 2px 0 #000;
}

/* --- search -------------------------------------------------------------- */
.header-search-container {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 5px;
    flex: 1;
    max-width: 350px;
}

.header-search-form {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 5px;
    width: 100%;
}

.header-search-input {
    width: 100%;
    padding: 8px 10px;
    border: none;
    border-radius: 3px;
    font-size: 14px;
    font-family: inherit;
}

.header-search-btn {
    background-color: var(--btn-blue);
    color: #fff;
    border: none;
    padding: 6px 20px;
    border-radius: 3px;
    font-weight: bold;
    cursor: pointer;
    font-size: 13px;
    font-family: inherit;
    transition: background 0.2s;
}
.header-search-btn:hover { background-color: var(--btn-blue-hi); }

/* --- clocks -------------------------------------------------------------- */
/* Two time zones side by side (the user's local one and GMT) — sports portals
   have it that way, because matches are given in various zones. */
.header-time {
    background-color: var(--green);
    padding: 10px 15px;
    border-radius: var(--radius);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    color: #fff;
    font-weight: bold;
    min-width: 175px;
    font-size: 13px;
    box-shadow: inset 0 2px 4px rgba(0,0,0,0.2);
}

.clock-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.clock-display {
    font-variant-numeric: tabular-nums;
    letter-spacing: .02em;
}

.clock-zone { font-size: 11px; opacity: .85; }

.header-time select {
    padding: 3px;
    border-radius: 3px;
    border: 1px solid var(--green-border);
    font-size: 13px;
    background-color: #fff;
    color: #000;
    font-family: inherit;
}

/* ===========================================================================
   WELCOME BLOCK (white box + utility buttons + the big live button)
   =========================================================================== */
.header-index-panel {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    grid-template-rows: auto auto;
    gap: 12px;
    margin-bottom: 15px;
}

.welcome-box {
    background-color: #fff;
    color: #000;
    border-radius: var(--radius);
    padding: 15px 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    grid-column: 1 / 2;
    grid-row: 1 / 2;
}

.welcome-box h2 { font-size: 16px; margin-bottom: 5px; font-weight: bold; }
.welcome-box p  { font-size: 14px; font-weight: bold; }

.utility-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    grid-column: 2 / 3;
    grid-row: 1 / 2;
}

.utility-grid a {
    background-color: var(--btn-blue);
    color: #fff;
    text-decoration: none;
    font-size: 13px;
    padding: 10px 5px;
    border-radius: 4px;
    font-weight: bold;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s;
}
.utility-grid a:hover { background-color: var(--btn-blue-hi); }

.live-action-wrapper { grid-column: 1 / -1; grid-row: 2 / 3; }

.btn-live-action {
    display: block;
    background-color: var(--live-blue);
    color: #fff;
    text-decoration: none;
    padding: 15px;
    border-radius: var(--radius);
    font-weight: bold;
    font-size: 16px;
    text-align: center;
    transition: background 0.2s;
    text-transform: uppercase;
}
.btn-live-action:hover { background-color: var(--live-blue-hi); }

/* ===========================================================================
   TOP MENU (on subpages)
   =========================================================================== */
.header-menu-nav {
    display: flex;
    background: linear-gradient(180deg, #4d4d4d 0%, #3a3a3a 48%, #2a2a2a 52%, #1a1a1a 100%);
    border-radius: 6px;
    border: 1px solid #000;
    margin-bottom: 15px;
    overflow-x: auto;
}

.menu-item {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 7px 5px;
    text-decoration: none;
    color: #fff;
    font-size: 11px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
    border-right: 1px solid #000;
    border-left: 1px solid #555;
    transition: background-color 0.2s;
    text-transform: uppercase;
    white-space: nowrap;
}
.menu-item:first-child { border-left: none; border-radius: 6px 0 0 6px; }
.menu-item:last-child  { border-right: none; border-radius: 0 6px 6px 0; }
.menu-item:hover { background-color: rgba(255,255,255,0.1); }

/* ===========================================================================
   SPORTS GRID
   =========================================================================== */


   /* Link to our own page about the competition. Same shape as the CTA
   buttons so the column stays aligned, but deliberately quieter: outline
   only, no fill. An internal guide link must not compete with — or be
   mistaken for — a paid partner button sitting in the neighbouring row.
   The arrow points forward into the site, not out of it. */
.listing-guide-link {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    border: 1px solid var(--teal);
    color: var(--teal);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .04em;
    text-decoration: none;
    white-space: nowrap;
    transition: background-color .2s, color .2s;
}
.listing-guide-link:hover {
    background-color: var(--teal);
    color: #fff;
}
.listing-guide-arrow {
    display: inline-block;
    margin-left: 5px;
    font-size: 13px;
    line-height: 1;
    transform: translateY(1px);
}
.listing-guide-link:hover .listing-guide-arrow { transform: translate(2px, 1px); }

.home-container {
    max-width: var(--wrap);
    margin: 20px auto;
    padding: 0 10px;
}

.grid-wrapper {
    /* Same width as the header and the other panels. Without this the grid
       is the only thing on the page that stretches across the whole window —
       the header, the listing, the text and the footer all hold --wrap. */
    max-width: var(--wrap);
    margin: 20px auto;
    padding: 10px;
    background-color: var(--panel-2);
    border-radius: 8px;
    border: 1px solid var(--panel-border);
}

   .hmenu {

        background: url('/assets/img/sprite_sa.png') no-repeat;
    }

    /* Individual background positions from the original mapping */
    .hmenu.afl          { background-position: 0 0; }
    .hmenu.athletics    { background-position: 0 -68px; }
    .hmenu.badminton    { background-position: 0 -136px; }
    .hmenu.baseball     { background-position: 0 -204px; }
    .hmenu.basketball   { background-position: 0 -272px; }
    .hmenu.boxing       { background-position: 0 -340px; }
    .hmenu.cricket      { background-position: 0 -408px; }
    .hmenu.cycling      { background-position: 0 -476px; }
    .hmenu.darts        { background-position: 0 -544px; }
    .hmenu.formula_1    { background-position: 0 -612px; }
    .hmenu.gaelic       { background-position: 0 -680px; }
    .hmenu.golf         { background-position: 0 -748px; }
    .hmenu.handball     { background-position: 0 -816px; }
    .hmenu.horse_racing { background-position: 0 -884px; }
    .hmenu.ice_hockey   { background-position: 0 -952px; }
    .hmenu.moto_gp      { background-position: 0 -1020px; }
    .hmenu.motorsports  { background-position: 0 -1088px; }
    .hmenu.nascar       { background-position: 0 -1156px; }
    .hmenu.nfl          { background-position: 0 -1224px; }
    .hmenu.nine_balls   { background-position: 0 -1292px; }
    .hmenu.others       { background-position: 0 -1360px; }
    .hmenu.rugby        { background-position: 0 -1428px; }
    .hmenu.soccer       { background-position: 0 -1496px; }
    .hmenu.table_tennis { background-position: 0 -1564px; }
    .hmenu.tennis       { background-position: 0 -1632px; }
    .hmenu.tv_box       { background-position: 0 -1700px; }
    .hmenu.tv_shows     { background-position: 0 -1768px; }
    .hmenu.ufc          { background-position: 0 -1836px; }
    .hmenu.volleyball   { background-position: 0 -1904px; }
    .hmenu.water_sport  { background-position: 0 -1972px; }
    .hmenu.whistle      { background-position: -68px 0; }
    .hmenu.winter_sport { background-position: -68px -68px; }
    .hmenu.wwe          { background-position: -68px -136px; }

/* Unified container for the 300x250 advertisement slot.
   Positioned in the grid according to the original layout. */
.banner-slot {
    grid-column: 6 / 9;
    grid-row: 3 / 6;
    width: 300px;
    height: 250px;
    justify-self: center;
    align-self: center;
    background: linear-gradient(180deg, #18283b 0%, #0f0f12 100%);
    border: 3px solid var(--brand-blue, #007bff);
    border-radius: 8px;
    box-sizing: border-box;
    overflow: hidden;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4);
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

/* Elevate the entire box on hover to indicate interactivity */
.banner-slot:hover {
    transform: translateY(-3px);
    border-color: #4fa3e3;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.3);
}

/* Make the link cover the entire slot area and center the text */
.banner-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 20px;
    box-sizing: border-box;
    font-family: 'Caprasimo', 'Cooper Black', serif;
    font-size: 24px;
    line-height: 1.3;
    color: #ffffff;
    text-transform: uppercase;
    text-decoration: none;
    text-align: center;
    text-shadow: 3px 3px 0 #000;
    transition: color 0.2s ease;
}

/* Classic yellow/gold text highlight on hover for the retro sports vibe */
.banner-link:hover {
    color: #ffcc00;
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(8, 1fr);
    gap: 8px;
    grid-auto-flow: dense;
}

.tile {
    background-color: var(--tile-bg);
    border: 1px solid var(--tile-border);
    border-radius: 6px;
    text-decoration: none;
    color: var(--tile-text);
    font-weight: bold;
    font-size: 11px;
    font-family: Arial, Helvetica, sans-serif;
    text-align: center;
    
    /* Reduced vertical padding and removed fixed min-height to make tiles shorter */
    padding: 6px 4px;
    min-height: auto;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: transform 0.1s, box-shadow 0.2s, background-color 0.2s,
                color 0.2s, border-color 0.2s;
}

.tile:hover {
    transform: scale(1.03);
    box-shadow: 0 5px 12px rgba(0,0,0,0.15);
    background-color: #111;
    border-color: #111;
    color: #fff;
}

/* Icon frame. Same dimensions as the PNG sprite in the original, but it
   holds an SVG that scales and takes its colour from currentColor. */
.hmenu_img {
    width: 56px;
    height: 56px;
    margin-bottom: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hmenu {
    width: 56px;
    height: 56px;
    display: block;
    color: #1a1a1a;
    transition: color 0.2s;
}

.tile:hover .hmenu { color: #fff; }

/* ===========================================================================
   LISTING (Live Today / competitions)
   =========================================================================== */
.listing-section {
    max-width: var(--wrap);
    margin: 20px auto;
    padding: 0 10px;
}

.listing-panel {
    background-color: var(--panel-2);
    border: 1px solid var(--panel-border);
    border-radius: 8px;
    padding: 12px;
}

.listing-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--panel-border);
    flex-wrap: wrap;
}

.listing-head h2 {
    font-size: 15px;
    text-transform: uppercase;
    letter-spacing: .04em;
    color: var(--teal);
}

.listing-head .listing-note {
    font-size: 11px;
    color: var(--text-faint);
}

.listing-row {
    display: grid;
    grid-template-columns: 62px 1fr auto;
    align-items: center;
    gap: 12px;
    padding: 9px 4px;
    border-bottom: 1px solid #2c2c2c;
}
.listing-row:last-child { border-bottom: none; }

.listing-time {
    font-variant-numeric: tabular-nums;
    font-weight: bold;
    color: var(--text-dim);
    font-size: 12px;
    text-align: center;
}

.listing-main { min-width: 0; }

.listing-league {
    font-weight: bold;
    color: #fff;
    font-size: 13px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.listing-league .hmenu_img {
    width: 20px; height: 20px; margin: 0;
}
.listing-league .hmenu { width: 20px; height: 20px; color: var(--teal); }

.listing-where {
    font-size: 11px;
    color: var(--text-faint);
    margin-top: 2px;
}

/* Inactive click-through. Deliberately NOT a link — it never sends anyone
   into the void. Once 'link' is filled in the data, a .cta is rendered
   instead. */
.listing-link-pending {
    display: inline-block;
    padding: 6px 14px;
    border-radius: 4px;
    background-color: #2a2a2a;
    border: 1px dashed #444;
    color: var(--text-faint);
    font-size: 11px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .04em;
    white-space: nowrap;
}

/* ===========================================================================
   TEXT SECTION (SEO content under the grid)
   =========================================================================== */
.category-text-content {
    margin: 40px auto 20px auto;
    padding-top: 25px;
    text-align: center;
    color: #ccc;
    font-size: 14px;
    line-height: 1.6;
    font-family: Arial, Helvetica, sans-serif;
    border-top: 1px dashed var(--panel-border);
    position: relative;
    max-width: var(--wrap);
}

/* Small teal block crossing the dashed line */
.category-text-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: var(--teal);
    border-radius: 2px;
}

.category-text-content h1,
.category-text-content h2,
.category-text-content h3 {
    color: var(--teal);
    margin-top: 20px;
    margin-bottom: 12px;
    line-height: 1.3;
}
.category-text-content h1 { font-size: 22px; }
.category-text-content h2 { font-size: 18px; }
.category-text-content h3 { font-size: 15px; }

.category-text-content strong { color: var(--teal); }

.category-text-content a {
    color: var(--teal);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.2s;
}
.category-text-content a:hover { color: var(--teal-hi); text-decoration: underline; }

.category-text-content p { margin: 0 auto 14px; max-width: 860px; }

.category-text-content ul,
.category-text-content ol {
    text-align: left;
    max-width: 860px;
    margin: 0 auto 14px;
    padding-left: 22px;
}
.category-text-content li { margin-bottom: 6px; }

.category-text-content blockquote {
    max-width: 860px;
    margin: 0 auto 14px;
    padding: 10px 16px;
    border-left: 3px solid var(--teal);
    background: #1a1a1a;
    text-align: left;
    font-size: 13px;
    color: var(--text-dim);
}

/* ===========================================================================
   TABLES (comparison of services)
   =========================================================================== */
.table-scroll { overflow-x: auto; margin: 0 auto 18px; }

table.cmp {
    width: 100%;
    border-collapse: collapse;
    font-size: 12.5px;
    text-align: left;
    background: #1a1a1a;
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    overflow: hidden;
    min-width: 620px;
}

table.cmp th {
    background: #262626;
    color: var(--teal);
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: .05em;
    padding: 9px 10px;
    border-bottom: 1px solid var(--panel-border);
    white-space: nowrap;
}

table.cmp td {
    padding: 9px 10px;
    border-bottom: 1px solid #262626;
    color: #ddd;
    vertical-align: top;
}

table.cmp tr:last-child td { border-bottom: none; }
table.cmp tbody tr:hover { background: #212121; }

table.cmp .svc-name { font-weight: bold; color: #fff; white-space: nowrap; }

/* The "we verify this" marker on services whose availability can change */
.verify-flag {
    display: inline-block;
    margin-left: 6px;
    padding: 1px 6px;
    border-radius: 3px;
    background: #3a2f10;
    border: 1px solid #6b5518;
    color: #d9b44a;
    font-size: 9.5px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: .05em;
    vertical-align: middle;
    white-space: nowrap;
}

/* ===========================================================================
   CTA BUTTONS
   =========================================================================== */
.cta {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 1px;
    background: linear-gradient(180deg, #3a8ec4, #2c6f9c);
    color: #fff;
    text-decoration: none;
    padding: 9px 18px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 13px;
    transition: filter .2s;
    white-space: nowrap;
}
.cta:hover { filter: brightness(1.12); }
.cta-sub { font-size: 10px; font-weight: normal; opacity: .8; }
.cta-sm { padding: 6px 14px; font-size: 12px; }

.cta-pending {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 4px;
    background: #2a2a2a;
    border: 1px dashed #444;
    color: var(--text-faint);
    font-size: 11px;
    white-space: nowrap;
}

/* ===========================================================================
   SERVICE CARDS
   =========================================================================== */
.svc-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 12px;
    margin: 0 auto 20px;
}

.svc-card {
    background: #1a1a1a;
    border: 1px solid var(--panel-border);
    border-radius: 6px;
    padding: 14px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.svc-card h3 {
    color: #fff;
    font-size: 15px;
    margin: 0;
}

.svc-card .svc-meta {
    font-size: 11.5px;
    color: var(--text-faint);
    line-height: 1.5;
}

.svc-card .svc-meta b { color: var(--text-dim); font-weight: bold; }

.svc-card .svc-foot { margin-top: auto; padding-top: 6px; }

/* ===========================================================================
   HIGHLIGHTED FACTS (callout)
   =========================================================================== */
.callout {
    max-width: 860px;
    margin: 0 auto 16px;
    padding: 12px 16px;
    border-radius: 6px;
    background: #14201a;
    border: 1px solid #2a4a38;
    border-left: 3px solid var(--green);
    text-align: left;
    font-size: 13px;
    color: #cfe6d8;
}

.callout strong { color: #8fd6a8; }

.callout.warn {
    background: #201a14;
    border-color: #4a3a2a;
    border-left-color: #d9a44a;
    color: #e6d8cf;
}
.callout.warn strong { color: #e8c07a; }

/* ===========================================================================
   FAQ
   =========================================================================== */
.faq { max-width: 860px; margin: 0 auto 20px; text-align: left; }

.faq details {
    background: #1a1a1a;
    border: 1px solid var(--panel-border);
    border-radius: 5px;
    margin-bottom: 7px;
}

.faq summary {
    padding: 11px 14px;
    cursor: pointer;
    font-weight: bold;
    color: #ddd;
    font-size: 13.5px;
    list-style: none;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: '+ '; color: var(--teal); font-weight: bold; }
.faq details[open] summary::before { content: '− '; }
.faq details[open] summary { color: #fff; }

.faq .faq-body {
    padding: 0 14px 12px;
    font-size: 13px;
    color: #bbb;
    line-height: 1.6;
}

/* ===========================================================================
   BREADCRUMBS
   =========================================================================== */
.crumbs {
    max-width: var(--wrap);
    margin: 0 auto 12px;
    padding: 0 10px;
    font-size: 11.5px;
    color: var(--text-faint);
}
.crumbs a { color: var(--text-faint); text-decoration: none; }
.crumbs a:hover { color: var(--teal); }
.crumbs span { margin: 0 6px; color: #444; }

/* ===========================================================================
   FOOTER
   =========================================================================== */
.site-footer {
    max-width: var(--wrap);
    width: 100%;
    margin: 20px auto 15px auto;
    background-color: var(--panel-2);
    border-radius: 8px;
    padding: 20px;
    color: var(--text-dim);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 13px;
    margin-top: auto;
    text-align: center;
}

.footer-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.footer-copyright { color: #ddd; font-weight: bold; }

.footer-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-langs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 5px;
    font-size: 12px;
}

.lang-prefix { color: var(--text-faint); }

.site-footer a {
    color: #bbb;
    text-decoration: none;
    transition: color 0.2s ease;
}
.site-footer a:hover { color: var(--teal); text-decoration: underline; }

.footer-langs a.active-lang { color: var(--teal); font-weight: bold; }

.dot-separator { color: #444; font-size: 10px; }

/* Footer: a notice that the site does not broadcast anything. Important for
   credibility. */
.footer-disclaimer {
    max-width: 760px;
    font-size: 11px;
    color: var(--text-faint);
    line-height: 1.6;
    border-top: 1px solid #2c2c2c;
    padding-top: 12px;
}

/* ===========================================================================
   RESPONSIVENESS
   =========================================================================== */
@media (max-width: 768px) {
    .header-top {
        flex-direction: column;
        padding: 15px 10px;
        gap: 15px;
    }

    .header-logo {
        flex-direction: column;
        align-items: center;
        gap: 0;
    }

    .logo-brand-1, .logo-brand-2 { font-size: 15vw; }

    /* On mobile the search, the utility buttons and the clocks are hidden —
       the same as in the original. The main content (the sports grid) stays. */
    .header-search-container,
    .utility-grid,
    .live-action-wrapper,
    .header-time { display: none !important; }

    .header-index-panel {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
        gap: 0;
    }

    .welcome-box { grid-column: 1 / -1; grid-row: 1 / 2; }

    .categories-grid { grid-template-columns: repeat(4, 1fr); }

    /* On mobile the slot takes the full width (300 px would be pointlessly
       narrow), but in height it stays at 250 px. The width/height from the
       base must be overridden, otherwise it would stay 300x250 here too. */
    .banner-slot {
        grid-column: 1 / -1;
        grid-row: 7;
        width: auto;
        max-width: none;
        height: auto;
        min-height: 250px;
        justify-self: stretch;
        margin: 5px 0;
        border: 1px solid var(--panel-border);
    }

    /* A tile is narrow on mobile (~78 px at 4 columns), so a fixed
       min-height from the base would pull it tall. We let it hug the content. */
    .tile { font-size: 10px; padding: 8px 3px; min-height: 0; }

    .hmenu_img {
        width: 56px; height: 56px;
        flex-shrink: 0;
        transform: scale(0.8);
        margin-bottom: 0;
    }
    .hmenu { transform: none; }

    .listing-row {
        grid-template-columns: 1fr;
        gap: 6px;
    }
    .listing-time { text-align: left; }
    .listing-link-pending { justify-self: start; }

    .menu-item { font-size: 10px; padding: 6px 3px; }
}

@media (max-width: 420px) {
    .categories-grid { grid-template-columns: repeat(3, 1fr); }
}

/* ---------------------------------------------------------------------------
   PRINT
   --------------------------------------------------------------------------- */
@media print {
    body { background: #fff; color: #000; }
    .header-top, .header-menu-nav, .site-footer, .banner-slot { display: none; }
}
