/*
Theme Name: LiveScoresWire
Theme URI: https://livescoreswire.com
Author: LiveScoresWire
Description: Sports news theme with live scores. Each post shows the live scoreboard, tournaments and venues for its sport (football, cricket, NFL, NBA, MLB, tennis, golf, F1, MMA, rugby) in the right sidebar, refreshed every minute.
Version: 1.0.7
Requires at least: 6.4
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: livescoreswire
*/

:root {
	--bg: #f3f5f9;
	--surface: #ffffff;
	--ink: #0f172a;
	--ink-2: #334155;
	--muted: #64748b;
	--line: #e2e8f0;
	--navy: #0b1530;
	--navy-2: #132044;
	--brand: #e11d48;
	--brand-ink: #be123c;
	--live: #16a34a;
	--soon: #2563eb;
	--radius: 12px;
	--shadow: 0 1px 2px rgba(15, 23, 42, .06), 0 4px 16px rgba(15, 23, 42, .05);
	--font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
	--display: "Barlow Condensed", "Inter", system-ui, sans-serif;
	--wrap: 1240px;
	--sidebar: 340px;
}

/* Base */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; overflow-x: clip; }
body { margin: 0; background: var(--bg); color: var(--ink); font: 16px/1.6 var(--font); overflow-x: clip; }
h1, h2, h3, .lsw-card__title, .lsw-latest a { overflow-wrap: break-word; }
iframe, video, embed { max-width: 100%; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand); }
h1, h2, h3, h4 { line-height: 1.2; margin: 0 0 .5em; }
button, input { font: inherit; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.lsw-skip:focus { position: fixed !important; top: 8px; left: 8px; width: auto; height: auto; clip: auto; background: #fff; padding: 8px 12px; z-index: 100; }
.lsw-wrap { width: 100%; max-width: var(--wrap); margin: 0 auto; padding: 0 16px; }

/* Live dot and pills */
.lsw-dot { display: inline-block; width: 8px; height: 8px; border-radius: 50%; background: var(--brand); box-shadow: 0 0 0 0 rgba(225, 29, 72, .6); animation: lsw-pulse 1.6s infinite; flex: none; }
@keyframes lsw-pulse { 70% { box-shadow: 0 0 0 7px rgba(225, 29, 72, 0); } 100% { box-shadow: 0 0 0 0 rgba(225, 29, 72, 0); } }
@media (prefers-reduced-motion: reduce) { .lsw-dot { animation: none; } .lsw-ticker__list { animation: none !important; } }
.lsw-pill { display: inline-flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; letter-spacing: .03em; text-transform: uppercase; padding: 2px 7px; border-radius: 999px; background: #eef2f7; color: var(--ink-2); white-space: nowrap; }
.lsw-pill--live { background: var(--brand); color: #fff; }
.lsw-pill--soon { background: #e8efff; color: var(--soon); text-transform: none; letter-spacing: 0; }

/* Ticker */
.lsw-ticker { background: var(--navy); color: #dbe4ff; font-size: 13px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.lsw-ticker__inner { display: flex; align-items: center; gap: 12px; height: 38px; }
.lsw-ticker__label { display: inline-flex; align-items: center; gap: 6px; font-weight: 700; color: #fff; text-transform: uppercase; font-size: 12px; letter-spacing: .06em; flex: none; }
.lsw-ticker__track { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 24px, #000 calc(100% - 24px), transparent); }
.lsw-ticker__list { display: flex; gap: 28px; margin: 0; padding: 0; list-style: none; width: max-content; animation: lsw-scroll 240s linear infinite; }
.lsw-ticker__track:hover .lsw-ticker__list { animation-play-state: paused; }
@keyframes lsw-scroll { from { transform: translateX(0); } to { transform: translateX(-50%); } }
.lsw-tick { display: inline-flex; align-items: center; gap: 6px; white-space: nowrap; }
.lsw-tick__lg { font-size: 10px; font-weight: 700; color: #8ea2d8; text-transform: uppercase; }
.lsw-tick__st { color: #8ea2d8; }
.lsw-tick--in { color: #fff; font-weight: 600; }

/* Header */
.lsw-header { background: var(--navy-2); color: #fff; position: sticky; top: 0; z-index: 50; box-shadow: 0 2px 12px rgba(0, 0, 0, .18); }
.lsw-header__inner { display: flex; align-items: center; gap: 20px; min-height: 64px; }
.lsw-logo { display: inline-flex; align-items: center; gap: 8px; color: #fff; }
.lsw-logo:hover { color: #fff; }
.lsw-logo__text { font: 700 26px/1 var(--display); letter-spacing: .01em; text-transform: uppercase; }
.lsw-logo__text b { color: var(--brand); }
.custom-logo { max-height: 44px; width: auto; }
.lsw-brand { flex: 1; min-width: 0; }
/* Header leaderboard ad: hidden by default, shown only on desktop (>=1200px) centered between logo and search */
.lsw-header-ad { display: none; }
@media (min-width: 1200px) {
	.lsw-header__inner > .lsw-brand { flex: 0 0 auto; }
	.lsw-header-ad { display: flex; flex: 1 1 auto; justify-content: center; align-items: center; min-width: 0; overflow: hidden; }
	.lsw-header-ad iframe, .lsw-header-ad ins, .lsw-header-ad > * { max-width: 100%; border: 0; }
}
/* Menu: its own full-width row so every category fits */
.lsw-nav { background: var(--navy); border-top: 1px solid rgba(255, 255, 255, .06); }
.lsw-nav__list { display: flex; flex-wrap: wrap; gap: 2px; margin: 0; padding: 6px 0; list-style: none; }
.lsw-nav__list a { display: block; padding: 7px 12px; border-radius: 8px; font-size: 14px; font-weight: 600; color: #c9d4f3; white-space: nowrap; }
.lsw-nav__list a:hover, .lsw-nav__list .current-menu-item > a, .lsw-nav__list .current-cat > a { color: #fff; background: rgba(255, 255, 255, .1); }
.lsw-nav__list .current-menu-item > a { box-shadow: inset 0 -2px 0 var(--brand); }
.lsw-search--menu { display: none; }
.lsw-search input { width: 220px; padding: 8px 12px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .15); background: rgba(255, 255, 255, .08); color: #fff; }
.lsw-search input::placeholder { color: #9fb0dc; }
.lsw-search input:focus { outline: 2px solid var(--brand); background: rgba(255, 255, 255, .14); }
.lsw-menu-toggle, .lsw-burger { display: none; }

/* Layout */
.lsw-main { padding: 24px 0 48px; }
.lsw-layout { display: grid; grid-template-columns: minmax(0, 1fr) var(--sidebar); gap: 28px; align-items: start; }
.lsw-content, .lsw-article { min-width: 0; }

/* Cards */
.lsw-card { background: var(--surface); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.lsw-card:hover { transform: translateY(-2px); box-shadow: 0 2px 4px rgba(15, 23, 42, .06), 0 10px 28px rgba(15, 23, 42, .09); }
.lsw-card__media { display: block; aspect-ratio: 16 / 9; background: linear-gradient(135deg, var(--navy-2), #1e3a8a); overflow: hidden; }
.lsw-card__media img { width: 100%; height: 100%; object-fit: cover; }
.lsw-card__ph { display: block; width: 100%; height: 100%; }
.lsw-card__body { padding: 14px 16px 16px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.lsw-card__title { font-size: 17px; font-weight: 700; margin: 0; line-height: 1.3; }
.lsw-card__excerpt { margin: 0; color: var(--ink-2); font-size: 15px; }
.lsw-meta { display: inline-flex; flex-wrap: wrap; gap: 6px; color: var(--muted); font-size: 12.5px; margin-top: auto; }
.lsw-badge { align-self: flex-start; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: #fff; background: var(--brand); padding: 3px 8px; border-radius: 6px; }
.lsw-badge:hover { color: #fff; filter: brightness(1.1); }
.lsw-badge--football { background: #15803d; }
.lsw-badge--cricket { background: #0e7490; }
.lsw-badge--nfl { background: #1d4ed8; }
.lsw-badge--nba { background: #c2410c; }
.lsw-badge--mlb { background: #b91c1c; }
.lsw-badge--tennis { background: #65a30d; }
.lsw-badge--golf { background: #047857; }
.lsw-badge--formula-1 { background: #dc2626; }
.lsw-badge--boxing-mma { background: #7c2d12; }
.lsw-badge--rugby { background: #6d28d9; }
.lsw-badge--other-sports { background: #475569; }

/* Home hero */
.lsw-hero { display: grid; grid-template-columns: 1.6fr 1fr 1fr; grid-template-rows: auto auto; gap: 16px; margin-bottom: 32px; }
.lsw-card--lead { grid-row: span 2; }
.lsw-hero .lsw-card--lead .lsw-card__title { font: 700 30px/1.1 var(--display); text-transform: none; }
.lsw-card--side .lsw-card__title { font-size: 15px; }
.lsw-hero .lsw-card--lead .lsw-card__media { aspect-ratio: auto; flex: 1; min-height: 260px; }

/* Home page (full width, no sidebar) */
.lsw-home { display: flex; flex-direction: column; }
.lsw-home-intro { margin: 4px 0 18px; }
.lsw-home-intro__title { font: 700 30px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 4px; color: var(--ink); }
.lsw-home-intro__text { margin: 0; color: var(--muted); font-size: 15px; max-width: 820px; }
@media (max-width: 700px) { .lsw-home-intro__title { font-size: 24px; } .lsw-home-intro__text { font-size: 14px; } }
.lsw-hero2 { display: grid; grid-template-columns: 2fr 1fr 1fr; grid-auto-rows: minmax(220px, 1fr); gap: 14px; margin-bottom: 36px; }
.lsw-hero2 .lsw-ocard--lead { grid-row: span 2; }
/* Fewer than 5 stories: lead + stacked column */
.lsw-hero2:has(> :nth-child(2):last-child), .lsw-hero2:has(> :nth-child(3):last-child) { grid-template-columns: 2fr 1fr; }
.lsw-hero2 > .lsw-ocard--side:nth-child(2):last-child { grid-row: span 2; }
.lsw-hero2:has(> :only-child) { grid-template-columns: 1fr; }
.lsw-ocard { position: relative; border-radius: var(--radius); overflow: hidden; background: linear-gradient(135deg, var(--navy-2), #1e3a8a); box-shadow: var(--shadow); isolation: isolate; min-height: 220px; }
.lsw-ocard__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .4s ease; }
.lsw-ocard:hover .lsw-ocard__img { transform: scale(1.04); }
.lsw-ocard::after { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(5, 10, 25, 0) 30%, rgba(5, 10, 25, .55) 60%, rgba(5, 10, 25, .92)); }
.lsw-ocard__body { position: absolute; left: 0; right: 0; bottom: 0; padding: 16px 18px; display: flex; flex-direction: column; gap: 8px; color: #fff; }
.lsw-ocard__title { margin: 0; font-size: 18px; line-height: 1.25; text-shadow: 0 1px 2px rgba(0, 0, 0, .35); }
.lsw-ocard__title a:hover { color: #fff; text-decoration: underline; text-decoration-thickness: 2px; }
.lsw-ocard--lead .lsw-ocard__body { padding: 26px 28px; }
.lsw-ocard--lead .lsw-ocard__title { font: 700 40px/1.05 var(--display); }
.lsw-ocard .lsw-meta { color: rgba(255, 255, 255, .8); margin-top: 0; }
.lsw-stretch::after { content: ""; position: absolute; inset: 0; }
.lsw-latest-block { display: grid; grid-template-columns: minmax(0, 2fr) minmax(0, 1fr); gap: 28px; align-items: start; }
.lsw-latest-block > :only-child { grid-column: 1 / -1; }
.lsw-latest-block > :only-child .lsw-tiles { grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); }
.lsw-latest-block__side { position: sticky; top: 130px; }
.lsw-tiles { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.lsw-tile { position: relative; display: flex; flex-direction: column; justify-content: flex-end; min-height: 84px; padding: 12px 14px; border-radius: var(--radius); color: #fff; background: var(--tile, #475569); overflow: hidden; box-shadow: var(--shadow); transition: transform .15s ease; }
.lsw-tile::before { content: ""; position: absolute; right: -18px; top: -18px; width: 70px; height: 70px; border-radius: 50%; background: rgba(255, 255, 255, .14); }
.lsw-tile:hover { color: #fff; transform: translateY(-2px); }
.lsw-tile__name { font: 700 20px/1.1 var(--display); text-transform: uppercase; letter-spacing: .02em; }
.lsw-tile__count { font-size: 12px; opacity: .85; }
.lsw-tile--football, .lsw-sport--football { --tile: #15803d; }
.lsw-tile--cricket, .lsw-sport--cricket { --tile: #0e7490; }
.lsw-tile--nfl, .lsw-sport--nfl { --tile: #1d4ed8; }
.lsw-tile--nba, .lsw-sport--nba { --tile: #c2410c; }
.lsw-tile--mlb, .lsw-sport--mlb { --tile: #b91c1c; }
.lsw-tile--tennis, .lsw-sport--tennis { --tile: #65a30d; }
.lsw-tile--golf, .lsw-sport--golf { --tile: #047857; }
.lsw-tile--formula-1, .lsw-sport--formula-1 { --tile: #dc2626; }
.lsw-tile--boxing-mma, .lsw-sport--boxing-mma { --tile: #7c2d12; }
.lsw-tile--rugby, .lsw-sport--rugby { --tile: #6d28d9; }
.lsw-tile--other-sports, .lsw-sport--other-sports { --tile: #475569; }
.lsw-sport .lsw-section__title::after { background: var(--tile, var(--brand)); }
.lsw-sport .lsw-section__more { color: var(--tile, var(--brand)); }
.lsw-sport__grid { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: 18px; }
.lsw-card--feature .lsw-card__title { font: 700 28px/1.1 var(--display); }
.lsw-sport__list { display: flex; flex-direction: column; gap: 12px; }
.lsw-mini { display: grid; grid-template-columns: 96px 1fr; gap: 12px; align-items: center; background: var(--surface); border-radius: var(--radius); padding: 10px; box-shadow: var(--shadow); }
.lsw-mini__media { display: block; aspect-ratio: 1; border-radius: 8px; overflow: hidden; background: linear-gradient(135deg, var(--navy-2), #1e3a8a); }
.lsw-mini__media img { width: 100%; height: 100%; object-fit: cover; }
.lsw-mini__title { font-size: 15px; line-height: 1.3; margin: 0 0 4px; }
.lsw-more { display: flex; justify-content: center; margin: 8px 0 12px; }
.lsw-more a { display: inline-block; padding: 12px 28px; border-radius: 999px; background: var(--brand); color: #fff; font-weight: 700; box-shadow: var(--shadow); }
.lsw-more a:hover { color: #fff; background: var(--brand-ink); }
@media (max-width: 1100px) {
	.lsw-hero2, .lsw-hero2:has(> :nth-child(2):last-child), .lsw-hero2:has(> :nth-child(3):last-child) { grid-template-columns: 1fr 1fr; grid-auto-rows: minmax(200px, auto); }
	.lsw-hero2 .lsw-ocard--lead { grid-column: 1 / -1; grid-row: auto; min-height: 380px; }
	.lsw-hero2 > .lsw-ocard--side:nth-child(2):last-child { grid-column: 1 / -1; grid-row: auto; }
	.lsw-latest-block { grid-template-columns: minmax(0, 1fr); }
	.lsw-latest-block__side { position: static; }
	.lsw-tiles { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); }
}
@media (max-width: 700px) {
	.lsw-hero2 { gap: 10px; margin-bottom: 24px; grid-auto-rows: minmax(170px, auto); }
	.lsw-hero2 .lsw-ocard--lead { min-height: 320px; }
	.lsw-ocard--lead .lsw-ocard__body { padding: 18px; }
	.lsw-ocard--lead .lsw-ocard__title { font-size: 28px; }
	.lsw-ocard--side .lsw-ocard__title { font-size: 14.5px; }
	.lsw-ocard--side .lsw-ocard__body { padding: 12px; gap: 6px; }
	.lsw-ocard--side .lsw-meta { display: none; }
	.lsw-sport__grid { grid-template-columns: minmax(0, 1fr); }
	.lsw-card--feature .lsw-card__title { font-size: 24px; }
	.lsw-mini { grid-template-columns: 84px 1fr; }
	.lsw-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Sections */
.lsw-section { margin-bottom: 32px; }
.lsw-section__head { display: flex; align-items: baseline; justify-content: space-between; border-bottom: 3px solid var(--ink); margin-bottom: 16px; }
.lsw-section__title { font: 700 24px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0; padding-bottom: 6px; position: relative; }
.lsw-section__title::after { content: ""; position: absolute; left: 0; right: 0; bottom: -3px; height: 3px; background: var(--brand); }
.lsw-section__more { font-size: 13px; font-weight: 700; color: var(--brand); }
.lsw-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.lsw-grid .lsw-card__title { font-size: 15px; }

/* Lists (archives, search) */
.lsw-list { display: flex; flex-direction: column; gap: 16px; }
.lsw-card--row { flex-direction: row; }
.lsw-card--row .lsw-card__media { width: 260px; flex: none; aspect-ratio: 16 / 10; }
.lsw-card--row .lsw-card__title { font-size: 19px; }
.lsw-list .lsw-card--lead .lsw-card__title { font: 700 32px/1.1 var(--display); }
.lsw-page-head { margin-bottom: 20px; }
.lsw-page-title { font: 700 40px/1.05 var(--display); text-transform: uppercase; margin: 6px 0 8px; }
.lsw-page-desc { color: var(--ink-2); }
.lsw-crumbs { font-size: 13px; color: var(--muted); }
.lsw-crumbs a { color: var(--ink-2); }
.lsw-pagination { margin-top: 24px; }
.lsw-pagination .nav-links { display: flex; gap: 6px; flex-wrap: wrap; }
.lsw-pagination .page-numbers { min-width: 38px; height: 38px; display: inline-flex; align-items: center; justify-content: center; padding: 0 10px; border-radius: 8px; background: var(--surface); box-shadow: var(--shadow); font-weight: 600; }
.lsw-pagination .current { background: var(--brand); color: #fff; }

/* Article */
.lsw-article { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 28px 36px 32px; }
.lsw-article__head { display: flex; flex-direction: column; gap: 10px; margin-bottom: 18px; }
.lsw-article__title { font: 700 44px/1.05 var(--display); margin: 0; letter-spacing: -.005em; }
.lsw-article__dek { font-size: 19px; color: var(--ink-2); margin: 0; }
.lsw-article__byline { display: flex; flex-wrap: wrap; align-items: center; gap: 10px; font-size: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--line); }
.lsw-article__author { font-weight: 700; }
.lsw-article__media { margin: 0 -36px 22px; }
.lsw-article__media img { width: 100%; }
.lsw-prose { font-size: 18px; line-height: 1.75; color: #1e293b; }
.lsw-prose > * { margin: 0 0 1.1em; }
.lsw-prose h2 { font: 700 30px/1.15 var(--display); margin: 1.6em 0 .5em; padding-left: 12px; border-left: 4px solid var(--brand); }
.lsw-prose h3 { font-size: 21px; margin: 1.4em 0 .4em; }
.lsw-prose a { color: var(--brand-ink); text-decoration: underline; text-underline-offset: 2px; }
.lsw-prose figure, .lsw-prose .wp-block-image { margin: 1.4em -36px; }
.lsw-prose figure img { width: 100%; }
.lsw-prose figcaption { font-size: 13px; color: var(--muted); padding: 6px 36px 0; }
.lsw-prose blockquote { margin: 1.4em 0; padding: 4px 0 4px 18px; border-left: 4px solid var(--line); font-style: italic; color: var(--ink-2); }
.lsw-prose ul, .lsw-prose ol { padding-left: 1.3em; }
.lsw-prose ul li::marker { color: var(--brand); }
.lsw-prose table { width: 100%; border-collapse: collapse; font-size: 15px; display: block; overflow-x: auto; }
.lsw-prose th, .lsw-prose td { border-bottom: 1px solid var(--line); padding: 8px; text-align: left; }
.lsw-prose em:only-child { color: var(--muted); font-size: 15px; }
.lsw-article__foot { display: flex; flex-direction: column; gap: 16px; padding-top: 18px; border-top: 1px solid var(--line); margin-top: 8px; }
.lsw-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.lsw-tags a { font-size: 13px; font-weight: 600; padding: 5px 10px; border-radius: 999px; background: #eef2f7; color: var(--ink-2); }
.lsw-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; font-size: 13px; font-weight: 700; }
.lsw-share a { padding: 7px 12px; border-radius: 8px; color: #fff; }
.lsw-share a:hover { color: #fff; filter: brightness(1.1); }
.lsw-share__x { background: #0f1419; }
.lsw-share__facebook { background: #1877f2; }
.lsw-share__whatsapp { background: #16a34a; }
.lsw-share__telegram { background: #229ed9; }
.lsw-related { margin: 32px 0 0; }
.lsw-related .lsw-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
@media (max-width: 1100px) { .lsw-related .lsw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }

/* Sidebar widgets */
.lsw-sidebar { display: flex; flex-direction: column; gap: 20px; min-width: 0; }
.lsw-side-ad { display: flex; justify-content: center; align-items: center; min-height: 250px; overflow: hidden; }
.lsw-side-ad iframe { max-width: 100%; border: 0; }
.lsw-widget { background: var(--surface); border-radius: var(--radius); box-shadow: var(--shadow); padding: 16px; }
.lsw-widget__title { font: 700 20px/1.2 var(--display); text-transform: uppercase; letter-spacing: .02em; margin: 0 0 12px; }
.lsw-scores { padding: 0; overflow: hidden; }
.lsw-scores__head { display: flex; align-items: center; justify-content: space-between; gap: 8px; background: var(--navy-2); color: #fff; padding: 14px 16px; }
.lsw-scores__head .lsw-widget__title { margin: 0; }
.lsw-scores__empty, .lsw-scores__foot { margin: 0; padding: 12px 16px; color: var(--muted); font-size: 13px; }
.lsw-scores__foot { border-top: 1px solid var(--line); font-size: 12px; }
.lsw-league { border-top: 1px solid var(--line); }
.lsw-league:first-of-type { border-top: 0; }
.lsw-league__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; padding: 10px 16px; cursor: pointer; list-style: none; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: .04em; color: var(--ink-2); background: #f8fafc; }
.lsw-league__name::-webkit-details-marker { display: none; }
.lsw-league__name::after { content: "\25BE"; color: var(--muted); margin-left: auto; transition: transform .15s; }
.lsw-league:not([open]) .lsw-league__name::after { transform: rotate(-90deg); }
.lsw-league__events { list-style: none; margin: 0; padding: 0; }
.lsw-ev { padding: 10px 16px 12px; border-top: 1px solid #f1f5f9; display: flex; flex-direction: column; gap: 5px; }
.lsw-ev--in { background: linear-gradient(90deg, rgba(225, 29, 72, .06), transparent 60%); box-shadow: inset 3px 0 0 var(--brand); }
.lsw-ev__top { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-size: 12px; color: var(--muted); }
.lsw-ev__status { display: inline-flex; align-items: center; gap: 6px; }
.lsw-ev__clock { font-weight: 600; color: var(--brand-ink); }
.lsw-ev__title { text-align: right; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsw-ev__name { font-weight: 700; font-size: 14px; }
.lsw-team { display: flex; align-items: center; gap: 8px; font-size: 14px; }
.lsw-team__logo { width: 20px; height: 20px; object-fit: contain; flex: none; }
.lsw-team__logo--blank { border-radius: 50%; background: #e2e8f0; }
.lsw-team__name { flex: 1; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.lsw-team__score { font-weight: 700; font-variant-numeric: tabular-nums; text-align: right; max-width: 55%; }
.lsw-ev--post .lsw-team:not(.is-winner) { color: var(--muted); }
.lsw-team.is-winner .lsw-team__name { font-weight: 700; }
.lsw-ev__detail { font-size: 12.5px; color: var(--ink-2); }
.lsw-ev__venue, .lsw-tour__venues { display: flex; align-items: flex-start; gap: 4px; font-size: 12px; color: var(--muted); }
.lsw-ev__venue svg, .lsw-tour__venues svg { margin-top: 3px; flex: none; color: var(--brand); }
.lsw-board { list-style: none; margin: 0; padding: 0; font-size: 13.5px; }
.lsw-board li { display: flex; gap: 8px; padding: 2px 0; }
.lsw-board__pos { width: 18px; color: var(--muted); font-weight: 700; text-align: right; }
.lsw-board__name { flex: 1; }
.lsw-board__score { font-weight: 700; font-variant-numeric: tabular-nums; }
.lsw-tours { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; }
.lsw-tour { padding: 10px 0; border-top: 1px solid var(--line); display: flex; flex-direction: column; gap: 4px; }
.lsw-tour:first-child { border-top: 0; padding-top: 0; }
.lsw-tour__name { display: flex; align-items: center; justify-content: space-between; gap: 8px; font-weight: 700; font-size: 14px; }
.lsw-latest { margin: 0; padding: 0; list-style: none; counter-reset: lsw; }
.lsw-latest li { counter-increment: lsw; display: grid; grid-template-columns: 28px 1fr; gap: 0 8px; padding: 10px 0; border-top: 1px solid var(--line); font-weight: 600; font-size: 14.5px; line-height: 1.35; }
.lsw-latest li:first-child { border-top: 0; padding-top: 0; }
.lsw-latest li::before { content: counter(lsw); grid-row: span 2; font: 700 24px/1 var(--display); color: var(--brand); }
.lsw-latest .lsw-meta { margin-top: 4px; font-weight: 400; }

/* Footer */
.lsw-footer { background: var(--navy); color: #b8c4e6; font-size: 14px; }
.lsw-footer__grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 32px; padding-top: 40px; padding-bottom: 28px; }
.lsw-logo--footer .lsw-logo__text { font-size: 24px; }
.lsw-footer__title { font: 700 16px/1.2 var(--display); text-transform: uppercase; letter-spacing: .06em; color: #fff; }
.lsw-footer__links { list-style: none; margin: 0; padding: 0; columns: 2; gap: 16px; }
.lsw-footer__links li { padding: 3px 0; }
.lsw-footer a:hover { color: #fff; }
.lsw-footer__bottom { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; padding-top: 16px; padding-bottom: 20px; border-top: 1px solid rgba(255, 255, 255, .08); font-size: 13px; color: #8ea2d8; }

/* Search form (get_search_form) */
.search-form { display: flex; gap: 8px; margin: 12px 0; }
.search-form label { flex: 1; }
.search-form .search-field { width: 100%; padding: 10px 12px; border: 1px solid var(--line); border-radius: 8px; }
.search-form .search-submit { padding: 10px 16px; border: 0; border-radius: 8px; background: var(--brand); color: #fff; font-weight: 700; cursor: pointer; }

/* Responsive */
@media (max-width: 1100px) {
	.lsw-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
	.lsw-hero { grid-template-columns: 1fr 1fr; }
	.lsw-card--lead { grid-column: span 2; grid-row: auto; }
	.lsw-search input { width: 150px; }
}
@media (max-width: 900px) {
	.lsw-main { padding: 16px 0 32px; }
	.lsw-layout { grid-template-columns: minmax(0, 1fr); gap: 20px; }
	/* Header: logo + menu button; the menu opens as a grid of sports */
	.lsw-header__inner { min-height: 56px; gap: 8px; }
	.lsw-logo__text { font-size: 22px; }
	.lsw-header__inner > .lsw-search { display: none; }
	.lsw-burger { display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center; cursor: pointer; border-radius: 10px; flex: none; }
	.lsw-burger:hover { background: rgba(255, 255, 255, .08); }
	.lsw-burger span, .lsw-burger span::before, .lsw-burger span::after { display: block; width: 22px; height: 2px; background: #fff; position: relative; transition: transform .2s, background .2s; }
	.lsw-burger span::before, .lsw-burger span::after { content: ""; position: absolute; left: 0; }
	.lsw-burger span::before { top: -7px; }
	.lsw-burger span::after { top: 7px; }
	.lsw-menu-toggle:checked ~ .lsw-header__inner .lsw-burger span { background: transparent; }
	.lsw-menu-toggle:checked ~ .lsw-header__inner .lsw-burger span::before { transform: translateY(7px) rotate(45deg); }
	.lsw-menu-toggle:checked ~ .lsw-header__inner .lsw-burger span::after { transform: translateY(-7px) rotate(-45deg); }
	.lsw-nav { display: none; max-height: calc(100vh - 56px); overflow-y: auto; }
	.lsw-menu-toggle:checked ~ .lsw-nav { display: block; }
	.lsw-nav__list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; padding: 12px 0 8px; }
	.lsw-nav__list a { padding: 11px 12px; background: rgba(255, 255, 255, .06); font-size: 15px; overflow: hidden; text-overflow: ellipsis; }
	.lsw-search--menu { display: block; padding-bottom: 14px; }
	.lsw-search--menu input { width: 100%; padding: 11px 14px; }
	/* Ticker */
	.lsw-ticker__inner { height: 34px; gap: 8px; }
	.lsw-ticker__label { font-size: 11px; }
	/* Home */
	.lsw-hero { gap: 12px; margin-bottom: 24px; }
	.lsw-hero .lsw-card--lead .lsw-card__media { min-height: 0; aspect-ratio: 16 / 9; flex: none; }
	.lsw-hero .lsw-card--lead .lsw-card__title { font-size: 26px; }
	.lsw-section { margin-bottom: 24px; }
	.lsw-section__title { font-size: 21px; }
	/* Article */
	.lsw-article { padding: 18px 16px 22px; border-radius: 10px; }
	.lsw-article__media, .lsw-prose figure, .lsw-prose .wp-block-image { margin-left: -16px; margin-right: -16px; }
	.lsw-prose figcaption { padding: 6px 16px 0; }
	.lsw-article__title { font-size: 32px; }
	.lsw-article__dek { font-size: 17px; }
	.lsw-page-title { font-size: 34px; }
	.lsw-share a { flex: 1 1 calc(50% - 8px); text-align: center; padding: 10px; }
	.lsw-share span { flex-basis: 100%; }
	/* Footer */
	.lsw-footer__grid { grid-template-columns: 1fr; gap: 20px; padding-top: 28px; }
	.lsw-footer__links li { padding: 6px 0; }
}
@media (max-width: 600px) {
	.lsw-wrap { padding: 0 12px; }
	.lsw-hero { grid-template-columns: 1fr; }
	.lsw-card--lead { grid-column: auto; }
	.lsw-hero .lsw-card--side { flex-direction: row; }
	.lsw-hero .lsw-card--side .lsw-card__media { width: 112px; flex: none; aspect-ratio: 1; }
	.lsw-hero .lsw-card--side .lsw-card__body { padding: 10px 12px; }
	.lsw-grid, .lsw-related .lsw-grid { grid-template-columns: 1fr; gap: 12px; }
	.lsw-grid .lsw-card { flex-direction: row; }
	.lsw-grid .lsw-card__media { width: 112px; flex: none; aspect-ratio: 1; }
	.lsw-grid .lsw-card__body { padding: 10px 12px; }
	.lsw-card--row .lsw-card__media { width: 112px; aspect-ratio: 1; }
	.lsw-card--row .lsw-card__title, .lsw-grid .lsw-card__title { font-size: 15px; }
	.lsw-card--row .lsw-card__body { padding: 10px 12px; }
	.lsw-badge { font-size: 10px; padding: 2px 6px; }
	.lsw-list .lsw-card--lead .lsw-card__title { font-size: 26px; }
	.lsw-page-title { font-size: 30px; }
	.lsw-article__title { font-size: 28px; }
	.lsw-prose { font-size: 17px; line-height: 1.7; }
	.lsw-prose h2 { font-size: 24px; }
	.lsw-prose h3 { font-size: 19px; }
	.lsw-widget { padding: 14px; border-radius: 10px; }
	.lsw-scores { padding: 0; }
	.lsw-team, .lsw-board { font-size: 14px; }
}
