/* ============================================================
   GOALTERRA AFRICA CMS - Design System v2.0
   ============================================================ */

/* --- Variables CSS --- */
:root {
  --primary: #e74c3c;
  --primary-dark: #c0392b;
  --primary-light: #f1948a;
  --secondary: #1a1a2e;
  --secondary-mid: #16213e;
  --secondary-light: #0f3460;
  --accent: #f39c12;
  --accent-dark: #d68910;
  --success: #2ecc71;
  --warning: #f1c40f;
  --danger: #e74c3c;
  --info: #3498db;
  --dark: #1a1a2e;
  --mid: #2c3e50;
  --gray: #7f8c8d;
  --light-gray: #bdc3c7;
  --light: #f5f6fa;
  --white: #ffffff;
  --border: #e8ecf0;

  --font-main: 'Inter', 'Segoe UI', system-ui, sans-serif;
  --font-heading: 'Montserrat', 'Segoe UI', sans-serif;

  --radius-sm: 6px;
  --radius: 10px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;

  --shadow-sm: 0 1px 4px rgba(0,0,0,.08);
  --shadow: 0 4px 16px rgba(0,0,0,.1);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.15);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.2);

  --transition: all .3s cubic-bezier(.4,0,.2,1);
  --transition-fast: all .15s ease;

  --header-h: 64px;
  --ticker-h: 40px;
  --sidebar-w: 280px;
}

/* --- Dark Mode Variables --- */
[data-theme="dark"] {
  --primary: #e74c3c;
  --primary-dark: #c0392b;
  --primary-light: #f1948a;
  --secondary: #f1f1f5;
  --secondary-mid: #d8d8e0;
  --secondary-light: #a0a0b0;
  --header-bg: #11111a;
  --header-text: rgba(255,255,255,.85);
  --accent: #f39c12;
  --accent-dark: #d68910;
  --success: #2ecc71;
  --warning: #f1c40f;
  --danger: #e74c3c;
  --info: #3498db;
  --dark: #f1f1f5;
  --mid: #d8d8e0;
  --gray: #a0a0b0;
  --light-gray: #7a7a8a;
  --light: #151520;
  --white: #1e1e2d;
  --border: rgba(255,255,255,.1);

  --shadow-sm: 0 1px 4px rgba(0,0,0,.25);
  --shadow: 0 4px 16px rgba(0,0,0,.35);
  --shadow-lg: 0 12px 40px rgba(0,0,0,.45);
  --shadow-xl: 0 24px 64px rgba(0,0,0,.55);
}

/* --- Dark Mode Background Overrides --- */
[data-theme="dark"] #gt-loader { background: var(--header-bg); }
[data-theme="dark"] .gt-header { background: var(--header-bg); }
[data-theme="dark"] .gt-mobile-nav { background: var(--header-bg); }
[data-theme="dark"] .gt-search-overlay { background: rgba(10,10,20,.98); }
[data-theme="dark"] .gt-footer { background: var(--header-bg); }
[data-theme="dark"] .gt-ticker { background: var(--header-bg); }
[data-theme="dark"] .gt-widget-title { background: var(--header-bg); color: #fff; }
[data-theme="dark"] .breaking-strip { background: var(--header-bg); }
[data-theme="dark"] .reading-mode-overlay { background: var(--white); }
[data-theme="dark"] .reading-mode-header { background: var(--header-bg); }
[data-theme="dark"] .gt-live-section { background: var(--header-bg); }
[data-theme="dark"] .gt-btn-secondary { background: var(--header-bg); color: #fff; }
[data-theme="dark"] .gt-btn-secondary:hover { background: var(--mid); }

/* --- Reset --- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; overflow-x: hidden; }
body {
  font-family: var(--font-main);
  color: var(--mid);
  background: var(--light);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  min-width: 320px;
}
img, iframe, video, embed, object { max-width: 100%; height: auto; display: block; }
table { max-width: 100%; display: block; overflow-x: auto; }
img[src=""], img:not([src]) { visibility: hidden; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, textarea, select { font-family: inherit; }

/* --- LOADER --- */
#gt-loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--secondary);
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 20px;
  transition: opacity .5s ease, visibility .5s ease;
}
#gt-loader.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { font-size: 2rem; font-weight: 900; color: #fff; letter-spacing: -1px; }
.loader-logo span { color: var(--primary); }
.loader-bar {
  width: 200px; height: 3px; background: rgba(255,255,255,.1);
  border-radius: var(--radius-full); overflow: hidden;
}
.loader-bar-fill {
  height: 100%; background: linear-gradient(90deg, var(--primary), var(--accent));
  border-radius: var(--radius-full); animation: loadProgress 1.5s ease forwards;
}
@keyframes loadProgress { from { width: 0; } to { width: 100%; } }

/* --- LIVE SCOREBOARD --- */
.live-header {
  background: var(--secondary);
  padding: 32px 0 0;
}
.live-header-inner {
  display: flex;
  align-items: flex-end;
  gap: 20px;
  padding-bottom: 28px;
  flex-wrap: wrap;
}
.live-header-icon {
  width: 56px;
  height: 56px;
  background: var(--primary);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  flex-shrink: 0;
}
.live-header-title { font-size: 1.8rem; font-weight: 900; color: #fff; font-family: var(--font-heading); }
.live-header-meta { color: rgba(255,255,255,.6); font-size: .88rem; margin-top: 4px; }
.live-header-count { display: inline-flex; align-items: center; gap: 6px; color: var(--primary-light); }
.live-header-count .dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: blink 1s infinite; }
.live-sync-btn {
  margin-left: auto;
  display: flex; align-items: center; gap: 6px;
  padding: 10px 18px;
  background: rgba(255,255,255,.1);
  color: rgba(255,255,255,.8);
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 9px;
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  transition: .2s;
}
.live-sync-btn:hover { background: rgba(255,255,255,.2); }
.live-comp-filter {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 2px 12px;
  scrollbar-width: none;
}
.live-comp-filter::-webkit-scrollbar { display: none; }
.live-comp-pill {
  padding: 10px 18px;
  border-radius: 10px 10px 0 0;
  font-size: .8rem;
  font-weight: 700;
  white-space: nowrap;
  transition: .2s;
  color: rgba(255,255,255,.65);
  background: rgba(255,255,255,.08);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.live-comp-pill:hover { background: rgba(255,255,255,.15); color: #fff; }
.live-comp-pill.active { background: #fff; color: var(--secondary); }
.live-comp-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px;
  background: var(--primary);
  color: #fff;
  font-size: .65rem;
  padding: 2px 7px;
  border-radius: 20px;
}

.live-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 24px;
  background: var(--white);
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.live-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px;
  font-size: .85rem;
  font-weight: 700;
  transition: .2s;
  text-align: center;
  text-decoration: none;
  color: var(--gray);
}
.live-tab.active { color: #fff; }
.live-tab-count {
  font-size: .72rem;
  padding: 2px 8px;
  border-radius: 20px;
}

.match-comp-group { margin-bottom: 24px; }
.match-comp-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  background: var(--white);
  border-radius: 10px 10px 0 0;
  border: 1px solid var(--border);
  border-bottom: none;
}
.match-comp-name { font-size: .85rem; font-weight: 800; color: var(--dark); }
.match-comp-count { margin-left: auto; font-size: .75rem; color: var(--gray); }
.match-card {
  display: flex;
  align-items: center;
  padding: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  transition: .2s;
  gap: 16px;
  text-decoration: none;
  color: inherit;
}
.match-card:hover { background: var(--light); }
.match-card-status {
  width: 60px;
  text-align: center;
  flex-shrink: 0;
  font-size: .7rem;
  font-weight: 800;
}
.match-card-status.live { color: var(--primary); display: flex; align-items: center; justify-content: center; gap: 3px; }
.match-card-status.live .dot { width: 6px; height: 6px; background: var(--primary); border-radius: 50%; animation: blink 1s infinite; }
.match-card-status.ht { color: var(--warning); }
.match-card-status.ft { color: var(--success); }
.match-card-status.scheduled { color: var(--gray); font-size: .8rem; }
.match-team { flex: 1; display: flex; align-items: center; gap: 12px; min-width: 0; }
.match-team.home { justify-content: flex-end; }
.match-team-name { font-size: .88rem; font-weight: 700; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; line-height: 1.3; letter-spacing: .2px; }
.match-team-name.home { text-align: right; }
.match-card:hover .match-team-name { color: var(--primary); }
.match-team-logo { width: 32px; height: 32px; object-fit: contain; flex-shrink: 0; }
.match-team-logo-fallback { width: 32px; height: 32px; background: var(--light); border-radius: 50%; flex-shrink: 0; }
.match-score-box {
  width: 80px;
  text-align: center;
  flex-shrink: 0;
}
.match-score {
  font-size: 1.3rem;
  font-weight: 900;
}
.match-score.live { color: var(--primary); }
.match-score.ft { color: var(--dark); }
.match-score.scheduled { font-size: .88rem; color: var(--light-gray); }
.match-card-arrow { color: var(--light-gray); font-size: .75rem; flex-shrink: 0; }

/* Live match expanded stats */
.match-stats-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-top: none;
  font-size: .72rem;
  color: var(--gray);
}
.match-stat-item { flex: 1; text-align: center; }
.match-stat-bar {
  height: 4px;
  background: var(--border);
  border-radius: 2px;
  overflow: hidden;
  margin: 4px 0;
  display: flex;
}
.match-stat-bar-fill { height: 100%; background: var(--primary); }
.match-stat-bar-fill.home { background: var(--primary); }
.match-stat-bar-fill.away { background: var(--info); }

/* --- LIVE TICKER --- */
.gt-ticker {
  background: var(--primary);
  height: var(--ticker-h);
  display: none; align-items: center;
  overflow: hidden; position: relative;
}
.gt-ticker-label {
  background: var(--primary-dark);
  color: #fff; font-size: .7rem; font-weight: 800;
  letter-spacing: 1px; text-transform: uppercase;
  padding: 0 16px; height: 100%;
  display: flex; align-items: center; gap: 6px; white-space: nowrap;
}
.gt-ticker-label .dot { width: 8px; height: 8px; background: var(--white); border-radius: 50%; animation: blink 1s infinite; }
@keyframes blink { 0%,100%{opacity:1;} 50%{opacity:.3;} }
.gt-ticker-track { flex: 1; overflow: hidden; position: relative; }
.gt-ticker-items {
  display: flex; gap: 0; animation: tickerScroll 30s linear infinite;
  white-space: nowrap;
}
.gt-ticker-item {
  color: #fff; font-size: .82rem; font-weight: 600;
  padding: 0 24px; display: flex; align-items: center; gap: 8px;
}
.gt-ticker-item::after { content: '•'; color: rgba(255,255,255,.4); margin-left: 24px; }
@keyframes tickerScroll { from { transform: translateX(100%); } to { transform: translateX(-100%); } }

/* --- BREAKING NEWS BAR --- */
.gt-breaking-bar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: #fff;
  padding: 10px 0;
  box-shadow: 0 2px 12px rgba(231,76,60,.35);
}
.gt-breaking-bar-inner {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
  text-decoration: none;
}
.gt-breaking-label {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.2);
  padding: 4px 10px;
  border-radius: var(--radius-sm);
  font-size: .68rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: .5px;
  flex-shrink: 0;
  animation: blink 1.2s infinite;
}
.gt-breaking-text {
  font-weight: 700;
  font-size: .9rem;
  line-height: 1.4;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.gt-breaking-arrow {
  margin-left: auto;
  font-size: .8rem;
  opacity: .8;
  flex-shrink: 0;
}

/* --- HEADER --- */
.gt-header {
  background: var(--secondary);
  height: var(--header-h);
  position: sticky; top: 0; z-index: 1000;
  box-shadow: 0 2px 20px rgba(0,0,0,.3);
}
.gt-header-inner {
  max-width: 1320px; margin: 0 auto; padding: 0 24px;
  height: 100%; display: flex; align-items: center; gap: 24px;
}
.gt-logo {
  font-size: 1.5rem; font-weight: 900; color: #fff;
  letter-spacing: -0.5px; white-space: nowrap; flex-shrink: 0;
  font-family: var(--font-heading);
}
.gt-logo span { color: var(--primary); }
.gt-logo-img { height: 48px; width: auto; }

.gt-nav { flex: 1; display: none; align-items: center; }
.gt-nav-list { display: flex; align-items: center; gap: 4px; }
.gt-nav-item { position: relative; }
.gt-nav-link {
  color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 600;
  padding: 9px 14px; border-radius: var(--radius-sm);
  transition: var(--transition-fast); display: flex; align-items: center; gap: 5px;
  white-space: nowrap;
}
.gt-nav-link:hover, .gt-nav-link.active { color: #fff; background: rgba(255,255,255,.1); }
.gt-nav-link.active::after {
  content: ''; position: absolute; bottom: -4px; left: 50%; transform: translateX(-50%);
  width: 20px; height: 3px; background: var(--primary); border-radius: var(--radius-full);
}
.gt-nav-link .arrow { font-size: .6rem; transition: transform .2s; display:inline-flex; align-items:center; margin-left:2px; }
.gt-nav-item:hover .arrow { transform: rotate(180deg); }

/* Dropdown */
.gt-dropdown {
  position: absolute; top: calc(100% + 8px); left: 0;
  background: var(--secondary-mid); border-radius: var(--radius);
  min-width: 220px; padding: 8px; z-index: 100;
  box-shadow: var(--shadow-lg); border: 1px solid rgba(255,255,255,.05);
  opacity: 0; visibility: hidden; transform: translateY(-8px);
  transition: var(--transition);
}
.gt-nav-item:hover .gt-dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.gt-dropdown-link {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 14px; border-radius: var(--radius-sm);
  color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500;
  transition: var(--transition-fast);
}
.gt-dropdown-link:hover { background: rgba(255,255,255,.08); color: #fff; }
.gt-dropdown-link .icon { font-size: 1.05rem; width: 22px; text-align: center; }

.gt-header-actions { display: flex; align-items: center; gap: 8px; flex-shrink: 0; min-width: 0; }
.gt-lang-btn {
  display: flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  font-size: .82rem; font-weight: 600; transition: var(--transition-fast);
}
.gt-lang-btn:hover { background: rgba(255,255,255,.15); color: #fff; }
.gt-search-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition-fast);
}
.gt-search-btn:hover { background: var(--primary); color: #fff; }
.gt-theme-btn {
  width: 36px; height: 36px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.8);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--transition-fast);
}
.gt-theme-btn:hover { background: var(--primary); color: #fff; }
.gt-menu-btn { display: none; align-items: center; justify-content: center; padding: 8px; font-size: 1.25rem; color: rgba(255,255,255,.85); flex-shrink: 0; }
.gt-menu-btn:hover { color: #fff; }

.gt-login-btn { display: inline-flex; align-items: center; gap: 6px; }
.gt-login-btn i { font-size: .85rem; }

/* --- MOBILE NAV --- */
.gt-mobile-nav {
  position: fixed; inset: 0; z-index: 1500;
  background: var(--secondary); padding: 80px 24px 24px;
  overflow-y: auto; transform: translateX(-100%);
  transition: transform .35s cubic-bezier(.4,0,.2,1);
}
.gt-mobile-nav.open { transform: translateX(0); }
.gt-mobile-close {
  position: absolute; top: 20px; right: 24px;
  width: 40px; height: 40px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem;
}
.gt-mobile-nav-link {
  display: flex; align-items: center; gap: 12px;
  padding: 16px 0; color: rgba(255,255,255,.85);
  font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid rgba(255,255,255,.08);
}
.gt-mobile-nav-link:hover { color: #fff; }
.gt-mobile-nav-link .gt-badge { margin-left: auto; }
.gt-mobile-nav-link .icon { font-size: 1.1rem; width: 28px; text-align: center; }

/* --- SEARCH OVERLAY --- */
.gt-search-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(10,10,20,.95); backdrop-filter: blur(10px);
  display: flex; align-items: flex-start; justify-content: center;
  padding-top: 80px;
  opacity: 0; visibility: hidden; transition: var(--transition);
}
.gt-search-overlay.open { opacity: 1; visibility: visible; }
.gt-search-box { width: 100%; max-width: 700px; padding: 0 24px; }
.gt-search-input {
  width: 100%; padding: 20px 24px; font-size: 1.3rem; font-weight: 600;
  background: rgba(255,255,255,.08); border: 2px solid rgba(255,255,255,.2);
  border-radius: var(--radius-lg); color: #fff; outline: none; transition: var(--transition);
}
.gt-search-input::placeholder { color: rgba(255,255,255,.4); }
.gt-search-input:focus { border-color: var(--primary); background: rgba(255,255,255,.12); }
.gt-search-close {
  position: absolute; top: 24px; right: 24px;
  width: 44px; height: 44px; border-radius: 50%;
  background: rgba(255,255,255,.1); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; transition: var(--transition-fast);
}
.gt-search-close:hover { background: var(--primary); }

/* --- LAYOUT --- */
.gt-container { width: 100%; max-width: 1320px; margin: 0 auto; padding: 0 24px; }
.gt-container-sm { max-width: 860px; margin: 0 auto; padding: 0 24px; }
.gt-section { padding: 60px 0; }
.gt-section-sm { padding: 40px 0; }

.gt-grid-main { display: grid; grid-template-columns: 1fr var(--sidebar-w); gap: 32px; align-items: start; }
.gt-grid-main > * { min-width: 0; }
.gt-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.gt-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.gt-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 24px; }
.flex-1 { flex: 1; min-width: 0; }
.truncate { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }

/* --- SECTION TITLES --- */
.gt-section-title {
  display: flex; align-items: flex-end; justify-content: space-between;
  margin-bottom: 28px; border-bottom: 2px solid var(--border); padding-bottom: 14px;
}
.gt-section-title h2 {
  font-size: 1.6rem; font-weight: 900; color: var(--dark);
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-heading);
}
.gt-section-title h2::before {
  content: ''; width: 5px; height: 28px; background: var(--primary);
  border-radius: var(--radius-full); display: block;
}
.gt-view-all { font-size: .9rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 4px; transition: var(--transition-fast); padding-bottom: 4px; }
.gt-view-all:hover { gap: 8px; color: var(--primary-dark); }

/* --- CARDS --- */
.gt-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm);
  transition: var(--transition); border: 1px solid var(--border);
}
.gt-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }

/* Article Card */
.gt-article-card { display: flex; flex-direction: column; border-radius: var(--radius-lg); overflow: hidden; }
.gt-article-card .img-wrap {
  position: relative; overflow: hidden; aspect-ratio: 16/9;
}
.gt-article-card .img-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .5s ease;
}
.gt-article-card:hover .img-wrap img { transform: scale(1.06); }
.gt-cat-badge {
  display: inline-block;
  position: absolute; top: 12px; left: 12px;
  padding: 5px 12px; border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: .5px; color: #fff;
  white-space: nowrap;
  width: auto;
}
.gt-breaking-badge {
  position: absolute; top: 12px; right: 12px;
  background: var(--primary); color: #fff;
  padding: 5px 12px; border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 800; text-transform: uppercase;
  animation: blink 1s infinite;
}
.gt-article-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 14px; }
.gt-article-title {
  font-size: 1.15rem; font-weight: 800; color: var(--dark);
  line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2;
  line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
  transition: color .2s; font-family: var(--font-heading);
}
.gt-article-card:hover .gt-article-title { color: var(--primary); }
.gt-article-excerpt { font-size: .98rem; color: var(--gray); line-height: 1.6; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.gt-article-meta {
  display: flex; align-items: center; justify-content: space-between;
  font-size: .87rem; color: var(--light-gray); margin-top: auto;
}
.gt-article-meta-left { display: flex; align-items: center; gap: 14px; }
.gt-article-author { display: flex; align-items: center; gap: 6px; }
.gt-author-avatar {
  width: 28px; height: 28px; border-radius: 50%; object-fit: cover;
  background: var(--light-gray);
}

/* Hero Card */
.gt-hero-card { position: relative; border-radius: var(--radius-xl); overflow: hidden; aspect-ratio: 16/8; }
.gt-hero-card img { width: 100%; height: 100%; object-fit: cover; }
.gt-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.85) 0%, rgba(0,0,0,.2) 60%, transparent 100%);
}
.gt-hero-content { position: absolute; bottom: 0; left: 0; right: 0; padding: 32px; }
.gt-hero-content .gt-cat-badge { position: static; display: inline-flex; margin-bottom: 12px; }
.gt-hero-title {
  font-size: 2.2rem; font-weight: 900; color: #fff; line-height: 1.25;
  text-shadow: 0 2px 8px rgba(0,0,0,.4); margin-bottom: 12px;
  font-family: var(--font-heading);
}
.gt-hero-meta { display: flex; align-items: center; gap: 16px; color: rgba(255,255,255,.7); font-size: .9rem; }
.hero-fallback-bg { width: 100%; height: 100%; background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); }
.hero-empty-state { background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); display: flex; align-items: center; justify-content: center; }
.hero-empty-state-inner { text-align: center; color: rgba(255,255,255,.5); }
.hero-empty-state-icon { font-size: 3rem; margin-bottom: 12px; }

/* --- HOME SIDE ARTICLES --- */
.home-side-articles { display: flex; flex-direction: column; gap: 16px; }
.home-live-widget { box-shadow: var(--shadow-sm); }
.live-dot { width: 8px; height: 8px; background: var(--primary); border-radius: 50%; animation: blink 1s infinite; }
.home-live-list { padding: 12px; }
.home-live-row { display: flex; align-items: center; gap: 8px; padding: 8px; border-radius: 8px; transition: var(--transition-fast); margin-bottom: 4px; }
.home-live-row:hover { background: var(--light); }
.home-live-logo { width: 24px; height: 24px; object-fit: contain; flex-shrink: 0; }
.home-live-team { font-size: .85rem; font-weight: 700; flex: 1; min-width: 0; }
.home-live-team.away { text-align: right; }
.home-live-score { font-size: .92rem; font-weight: 900; color: var(--primary); }
.home-live-minute { font-size: .72rem; color: var(--primary); font-weight: 800; }
.home-side-card { display: flex; flex-direction: row; height: 100px; overflow: hidden; transition: var(--transition); }
.home-side-card:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.home-side-card-img { width: 130px; height: 100%; object-fit: cover; flex-shrink: 0; }
.home-side-card-body { padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; gap: 4px; flex: 1; min-width: 0; }
.home-side-card-cat { font-size: .72rem; font-weight: 800; text-transform: uppercase; }
.home-side-card-title { font-size: .9rem; font-weight: 700; color: var(--dark); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.home-side-card-meta { font-size: .78rem; color: var(--light-gray); }

/* Match Card */
.gt-match-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 20px; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition);
}
.gt-match-card:hover { box-shadow: var(--shadow); }
.gt-match-top {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 16px; font-size: .82rem; color: var(--gray);
}
.gt-match-status-live {
  display: flex; align-items: center; gap: 5px;
  color: var(--primary); font-weight: 700; font-size: .82rem;
}
.gt-match-status-live .dot { width: 7px; height: 7px; background: var(--primary); border-radius: 50%; animation: blink 1s infinite; }
.gt-match-teams { display: flex; align-items: center; gap: 12px; }
.gt-match-team { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 8px; min-width: 0; }
.gt-match-team img { width: 48px; height: 48px; object-fit: contain; }
.gt-match-team-name { font-size: .88rem; font-weight: 700; color: var(--dark); text-align: center; }
.gt-match-score {
  display: flex; align-items: center; gap: 8px;
  font-size: 2rem; font-weight: 900; color: var(--dark); flex-shrink: 0;
}
.gt-match-score .sep { color: var(--light-gray); font-weight: 300; }
.gt-match-score.live .score { color: var(--primary); }
.gt-match-time { font-size: .82rem; color: var(--gray); text-align: center; margin-top: 12px; }

/* Standing Table */
.gt-standing-table { width: 100%; border-collapse: collapse; font-size: .88rem; }
.gt-standing-table th {
  text-align: center; padding: 10px 8px; font-weight: 700;
  color: var(--gray); font-size: .78rem; text-transform: uppercase;
  letter-spacing: .5px; border-bottom: 2px solid var(--border);
}
.gt-standing-table th:first-child, .gt-standing-table td:first-child { text-align: left; }
.gt-standing-table td { padding: 10px 8px; text-align: center; border-bottom: 1px solid var(--border); }
.gt-standing-table tr:hover td { background: var(--light); }
.gt-standing-table tr.highlight td { background: rgba(231,76,60,.05); border-left: 3px solid var(--primary); }
.gt-team-cell { display: flex; align-items: center; gap: 10px; }
.gt-team-cell img { width: 24px; height: 24px; object-fit: contain; }
.gt-form-badges { display: flex; gap: 3px; }
.gt-form-badge { width: 20px; height: 20px; border-radius: 4px; font-size: .65rem; font-weight: 800; display: flex; align-items: center; justify-content: center; color: #fff; }
.gt-form-badge.W { background: var(--success); }
.gt-form-badge.D { background: var(--warning); color: var(--dark); }
.gt-form-badge.L { background: var(--danger); }

/* Sidebar match tabs */
.home-match-tabs { display: flex; border-bottom: 1px solid var(--border); }
.home-match-tab {
  flex: 1; padding: 12px 4px; text-align: center;
  font-size: .7rem; font-weight: 800; color: var(--gray);
  background: none; border: none; cursor: pointer; transition: var(--transition-fast);
  text-transform: uppercase; letter-spacing: .5px;
}
.home-match-tab:hover { color: var(--primary); }
.home-match-tab.active { color: var(--primary); border-bottom: 2px solid var(--primary); background: rgba(231,76,60,.05); }
.home-match-panel { padding: 12px; }
.home-match-row {
  display: block; padding: 12px 0; border-bottom: 1px solid var(--border);
  transition: var(--transition-fast);
}
.home-match-row:last-child { border-bottom: none; }
.home-match-row:hover { background: var(--light); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: var(--radius-sm); }
.home-match-row-top { display: flex; justify-content: space-between; font-size: .72rem; color: var(--light-gray); margin-bottom: 8px; }
.home-match-row-top .home-match-live { color: var(--primary); font-weight: 800; animation: blink 1s infinite; }
.home-match-row-teams { display: flex; align-items: center; justify-content: space-between; gap: 8px; }
.home-match-row-team { display: flex; align-items: center; gap: 8px; flex: 1; min-width: 0; }
.home-match-row-team img { width: 22px; height: 22px; object-fit: contain; }
.home-match-row-team span { font-size: .85rem; font-weight: 700; color: var(--dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.home-match-row-team:last-child { justify-content: flex-end; }
.home-match-row-team:last-child span { text-align: right; }
.home-match-row-score { font-size: 1.1rem; font-weight: 900; color: var(--primary); flex-shrink: 0; }
.home-match-row-time { font-size: .95rem; font-weight: 800; color: var(--dark); flex-shrink: 0; }
.home-match-empty { text-align: center; padding: 24px; color: var(--light-gray); font-size: .85rem; }

/* Sidebar popular tabs */
.home-popular-tabs { display: flex; border-bottom: 1px solid var(--border); }
.home-popular-tab {
  flex: 1; padding: 12px 4px; text-align: center;
  font-size: .7rem; font-weight: 800; color: var(--gray);
  background: none; border: none; cursor: pointer; transition: var(--transition-fast);
  text-transform: uppercase; letter-spacing: .5px;
}
.home-popular-tab:hover { color: var(--primary); }
.home-popular-tab.active { color: var(--primary); border-bottom: 2px solid var(--primary); background: rgba(231,76,60,.05); }
.home-popular-panel { padding: 12px; }

/* --- SIDEBAR --- */
.gt-sidebar { display: flex; flex-direction: column; gap: 28px; }
.gt-widget { background: var(--white); border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.gt-widget-title {
  background: var(--secondary); color: #fff;
  font-size: .95rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 1px; padding: 16px 20px;
  display: flex; align-items: center; gap: 10px;
}
.gt-widget-body { padding: 18px; }

/* Small Article */
.gt-article-sm {
  display: flex; gap: 14px; padding: 14px 0;
  border-bottom: 1px solid var(--border); transition: var(--transition-fast);
}
.gt-article-sm:first-child { padding-top: 0; }
.gt-article-sm:last-child { border-bottom: none; padding-bottom: 0; }
.gt-article-sm:hover .gt-article-sm-title { color: var(--primary); }
.gt-article-sm-img { width: 82px; height: 62px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.gt-article-sm-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 5px; }
.gt-article-sm-title { font-size: 1rem; font-weight: 700; color: var(--dark); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.gt-article-sm-meta { font-size: .85rem; color: var(--light-gray); }

/* --- HERO SECTION --- */
.gt-hero { padding: 32px 0 0; }
.gt-hero-grid { display: grid; grid-template-columns: 1fr 400px; gap: 28px; align-items: start; }

/* Home Hero (capture exact) */
.home-hero { padding: 24px 0; }
.home-hero-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; }
.home-hero-main {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  aspect-ratio: 16/10; min-height: 420px; display: block;
}
.home-hero-main img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-hero-main:hover img { transform: scale(1.04); }
.home-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
}
.home-hero-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 28px;
  color: #fff; display: flex; flex-direction: column; gap: 10px;
}
.home-hero-cat {
  display: inline-flex; align-self: flex-start;
  background: var(--primary); color: #fff; padding: 4px 10px;
  border-radius: var(--radius-full); font-size: .7rem; font-weight: 800;
  text-transform: uppercase; letter-spacing: .5px;
}
.home-hero-title {
  font-size: 1.85rem; font-weight: 800; color: #fff; line-height: 1.2;
  font-family: var(--font-heading); transition: color .2s;
}
.home-hero-main:hover .home-hero-title { color: var(--primary); }
.home-hero-excerpt { font-size: 1rem; color: rgba(255,255,255,.85); line-height: 1.6; }
.home-hero-meta {
  display: flex; align-items: center; gap: 14px; flex-wrap: wrap;
  font-size: .85rem; color: rgba(255,255,255,.7);
}
.home-hero-meta .author { display: flex; align-items: center; gap: 6px; color: #fff; }
.home-hero-meta .author img { width: 24px; height: 24px; border-radius: 50%; object-fit: cover; }

.home-hero-side { display: grid; grid-template-columns: 1fr 1fr; grid-template-rows: 1fr 1fr; gap: 20px; }
.home-hero-side-card {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
  display: block; min-height: 0;
}
.home-hero-side-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-hero-side-card:hover img { transform: scale(1.04); }
.home-hero-side-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,.88) 0%, rgba(0,0,0,.3) 50%, transparent 100%);
}
.home-hero-side-content {
  position: absolute; bottom: 0; left: 0; right: 0; padding: 16px;
  color: #fff; display: flex; flex-direction: column; gap: 8px;
}
.home-hero-side-cat {
  display: inline-flex; align-self: flex-start;
  padding: 3px 8px; border-radius: var(--radius-full);
  font-size: .65rem; font-weight: 800; text-transform: uppercase;
  color: #fff; letter-spacing: .5px;
}
.home-hero-side-title {
  font-size: .95rem; font-weight: 700; color: #fff; line-height: 1.3;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}
.home-hero-side-meta {
  font-size: .78rem; color: rgba(255,255,255,.7); display: flex; gap: 10px; flex-wrap: wrap;
}

/* --- HOME SECTIONS --- */
.home-section { padding: 52px 0; }
.home-section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 28px; gap: 16px; flex-wrap: wrap; border-bottom: 2px solid var(--border); padding-bottom: 14px; }
.home-section-title { display: flex; align-items: center; gap: 12px; font-size: 1.6rem; font-weight: 900; color: var(--dark); font-family: var(--font-heading); }
.home-section-title::before { content: ''; width: 5px; height: 28px; background: var(--primary); border-radius: var(--radius-full); display: block; }
.home-section-link { font-size: .9rem; font-weight: 700; color: var(--primary); display: flex; align-items: center; gap: 4px; transition: var(--transition-fast); padding-bottom: 4px; }
.home-section-link:hover { gap: 8px; color: var(--primary-dark); }

/* Featured large card (top story) */
.home-top-story { display: grid; grid-template-columns: 1.25fr 1fr; gap: 28px; align-items: stretch; background: var(--white); border-radius: var(--radius-xl); overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border); }
.home-top-story:hover { box-shadow: var(--shadow-lg); }
.home-top-story-img { position: relative; overflow: hidden; min-height: 460px; }
.home-top-story-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-top-story:hover .home-top-story-img img { transform: scale(1.04); }
.home-top-story-body { padding: 36px; display: flex; flex-direction: column; justify-content: center; gap: 18px; }
.home-top-story-label {
  position: absolute; top: 20px; left: 20px; z-index: 2;
  background: var(--primary); color: #fff; padding: 6px 14px; border-radius: var(--radius-full);
  font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1px;
  box-shadow: 0 4px 12px rgba(0,0,0,.2);
}
.home-top-story-cat { display: inline-flex; align-self: flex-start; padding: 5px 12px; border-radius: var(--radius-full); font-size: .75rem; font-weight: 800; text-transform: uppercase; color: #fff; }
.home-top-story-title { font-size: 2.5rem; font-weight: 900; color: var(--dark); line-height: 1.15; font-family: var(--font-heading); transition: color .2s; }
.home-top-story:hover .home-top-story-title { color: var(--primary); }
.home-top-story-excerpt { font-size: 1.08rem; color: var(--gray); line-height: 1.7; }
.home-top-story-meta { display: flex; align-items: center; gap: 18px; font-size: .9rem; color: var(--light-gray); flex-wrap: wrap; }
.home-top-story-meta .author { display: flex; align-items: center; gap: 8px; font-weight: 600; color: var(--dark); }
.home-top-story-meta .author img { width: 28px; height: 28px; border-radius: 50%; object-fit: cover; }

/* Breaking news strip */
.breaking-strip { background: var(--secondary); color: #fff; padding: 14px 0; }
.breaking-strip-inner { display: flex; align-items: center; gap: 16px; }
.breaking-strip-label { background: var(--primary); color: #fff; padding: 4px 10px; border-radius: var(--radius-full); font-size: .72rem; font-weight: 800; text-transform: uppercase; white-space: nowrap; animation: blink 1s infinite; }
.breaking-strip-title { font-weight: 700; font-size: .95rem; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.breaking-strip-link { color: var(--primary); font-size: .85rem; font-weight: 700; white-space: nowrap; }

/* Latest news vertical list (capture exact) */
.home-latest-list-vertical { display: flex; flex-direction: column; gap: 0; }
.home-latest-item {
  display: flex; gap: 18px; padding: 18px 0;
  border-bottom: 1px solid var(--border); transition: var(--transition-fast);
  align-items: flex-start;
}
.home-latest-item:first-child { padding-top: 0; }
.home-latest-item:last-child { border-bottom: none; padding-bottom: 0; }
.home-latest-item:hover { background: var(--light); margin: 0 -12px; padding-left: 12px; padding-right: 12px; border-radius: var(--radius-lg); }
.home-latest-item-img {
  width: 180px; height: 120px; border-radius: var(--radius-sm);
  object-fit: cover; flex-shrink: 0;
}
.home-latest-item-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 8px; justify-content: center; }
.home-latest-item-cat { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.home-latest-item-title { font-size: 1.15rem; font-weight: 700; color: var(--dark); line-height: 1.4; transition: color .2s; }
.home-latest-item:hover .home-latest-item-title { color: var(--primary); }
.home-latest-item-meta { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; font-size: .85rem; color: var(--light-gray); }

/* Category grid section */
.home-cat-grid { display: grid; grid-template-columns: 1.15fr 1fr; gap: 28px; }
.home-cat-main { display: flex; flex-direction: column; gap: 16px; }
.home-cat-list { display: flex; flex-direction: column; gap: 14px; }
.home-cat-card { display: flex; gap: 14px; padding: 14px; background: var(--white); border-radius: var(--radius-lg); border: 1px solid var(--border); box-shadow: var(--shadow-sm); transition: var(--transition); }
.home-cat-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); border-color: var(--primary); }
.home-cat-card-img { width: 120px; height: 86px; border-radius: var(--radius-sm); object-fit: cover; flex-shrink: 0; }
.home-cat-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 6px; justify-content: center; }
.home-cat-card-cat { font-size: .72rem; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; }
.home-cat-card-title { font-size: 1.05rem; font-weight: 700; color: var(--dark); line-height: 1.35; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; transition: color .2s; }
.home-cat-card:hover .home-cat-card-title { color: var(--primary); }
.home-cat-card-meta { font-size: .82rem; color: var(--light-gray); display: flex; gap: 10px; flex-wrap: wrap; }
.home-cat-main-card { display: flex; flex-direction: column; overflow: hidden; }
.home-cat-main-img { position: relative; aspect-ratio: 16/10; overflow: hidden; }
.home-cat-main-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-cat-main-card:hover .home-cat-main-img img { transform: scale(1.04); }
.home-cat-main-body { padding: 22px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.home-cat-main-title { font-size: 1.35rem; font-weight: 800; color: var(--dark); line-height: 1.25; font-family: var(--font-heading); transition: color .2s; }
.home-cat-main-card:hover .home-cat-main-title { color: var(--primary); }
.home-cat-main-excerpt { font-size: 1rem; color: var(--gray); line-height: 1.6; flex: 1; }
.home-cat-main-meta { font-size: .85rem; color: var(--light-gray); display: flex; gap: 14px; flex-wrap: wrap; }

/* --- VIDEOS SECTION --- */
.home-video-card { overflow: hidden; position: relative; }
.home-video-thumb { position: relative; aspect-ratio: 16/9; overflow: hidden; }
.home-video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.home-video-card:hover .home-video-thumb img { transform: scale(1.05); }
.home-video-play {
  position: absolute; inset: 0; background: rgba(0,0,0,.3);
  display: flex; align-items: center; justify-content: center;
}
.home-video-play span {
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(255,255,255,.95); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; padding-left: 4px; transition: var(--transition-fast);
}
.home-video-card:hover .home-video-play span { transform: scale(1.1); background: var(--white); }
.home-video-duration {
  position: absolute; bottom: 10px; right: 10px;
  background: rgba(0,0,0,.8); color: #fff; font-size: .75rem;
  font-weight: 700; padding: 4px 8px; border-radius: 4px;
}
.home-video-body { padding: 16px; }
.home-video-title { font-size: 1rem; font-weight: 700; color: var(--dark); line-height: 1.4; transition: color .2s; }
.home-video-card:hover .home-video-title { color: var(--primary); }
.home-video-meta { font-size: .82rem; color: var(--light-gray); margin-top: 6px; }

/* --- LIVE SCORES SECTION --- */
.gt-live-section { background: var(--secondary); padding: 48px 0; }
.gt-live-section .gt-section-title h2 { color: #fff; }
.gt-live-section .gt-section-title h2::before { background: var(--primary); }
.gt-live-section .gt-view-all { color: var(--accent); }
.gt-live-matches { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.gt-live-matches .gt-match-card { background: var(--secondary-mid); border-color: rgba(255,255,255,.08); }
.gt-live-matches .gt-match-team-name { color: rgba(255,255,255,.9); }
.gt-live-matches .gt-match-score { color: #fff; }
.gt-live-matches .gt-match-time { color: rgba(255,255,255,.5); }

/* --- PARTNERS --- */
.home-partners { padding: 40px 0; background: var(--light); border-bottom: 1px solid var(--border); }
.home-partners-title {
  text-align: center; font-size: .8rem; font-weight: 800;
  color: var(--light-gray); text-transform: uppercase;
  letter-spacing: 1.5px; margin-bottom: 24px;
}
.home-partners-grid {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 40px;
}
.home-partner {
  opacity: .6; transition: .2s; filter: grayscale(100%);
  display: flex; align-items: center; justify-content: center;
}
.home-partner:hover { opacity: 1; filter: none; }
.home-partner img { height: 44px; width: auto; max-width: 140px; object-fit: contain; }
.home-partner span { font-size: .9rem; font-weight: 700; color: var(--gray); }

/* --- FOOTER --- */
.gt-footer { background: var(--secondary); color: rgba(255,255,255,.7); }
.gt-footer-top { padding: 72px 0 48px; }
.gt-footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 48px; }
.gt-footer-logo { font-size: 1.6rem; font-weight: 900; color: #fff; margin-bottom: 14px; font-family: var(--font-heading); }
.gt-footer-logo span { color: var(--primary); }
.gt-footer-desc { font-size: 1rem; line-height: 1.75; margin-bottom: 22px; color: rgba(255,255,255,.75); }
.gt-footer-social { display: flex; gap: 12px; }
.gt-social-btn {
  width: 42px; height: 42px; border-radius: var(--radius-sm);
  background: rgba(255,255,255,.08); color: rgba(255,255,255,.7);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: var(--transition-fast);
}
.gt-social-btn:hover { background: var(--primary); color: #fff; transform: translateY(-3px); }
.gt-footer-heading { font-size: .9rem; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px; color: #fff; margin-bottom: 18px; }
.gt-footer-links { display: flex; flex-direction: column; gap: 10px; }
.gt-footer-link { font-size: .95rem; transition: var(--transition-fast); display: flex; align-items: center; gap: 8px; color: rgba(255,255,255,.75); }
.gt-footer-link:hover { color: var(--primary); padding-left: 4px; }
.gt-footer-newsletter-form { display: flex; gap: 8px; margin-top: 12px; }
.gt-footer-newsletter-text { font-size: .95rem; line-height: 1.6; color: rgba(255,255,255,.7); margin-bottom: 10px; }
.gt-footer-contact-block { margin-top: 24px; }
.gt-footer-input {
  flex: 1; padding: 12px 16px; border-radius: var(--radius);
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.1);
  color: #fff; font-size: .9rem; outline: none; transition: var(--transition-fast);
}
.gt-footer-input::placeholder { color: rgba(255,255,255,.4); }
.gt-footer-input:focus { border-color: var(--primary); background: rgba(255,255,255,.12); }
.gt-footer-submit {
  padding: 12px 18px; border-radius: var(--radius);
  background: var(--primary); color: #fff; font-weight: 700; font-size: .9rem;
  transition: var(--transition-fast);
}
.gt-footer-submit:hover { background: var(--primary-dark); }
.gt-footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08); padding: 20px 0;
  font-size: .85rem;
}
.gt-footer-bottom-inner { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; width: 100%; }
.gt-footer-copyright { font-size: .85rem; }
.gt-footer-copyright strong { color: #fff; }
.gt-footer-bottom-links { display: flex; gap: 20px; flex-wrap: wrap; }
.gt-footer-bottom-links a:hover { color: var(--primary); }
.gt-footer-newsletter-text { font-size: .9rem; margin-bottom: 12px; }
.gt-footer-contact-block { margin-top: 20px; }
.ad-footer-inner { text-align: center; }

/* --- BUTTONS --- */
.gt-btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 24px; border-radius: var(--radius);
  font-weight: 700; font-size: .88rem; transition: var(--transition);
  cursor: pointer; border: 2px solid transparent;
}
.gt-btn-primary { background: var(--primary); color: #fff; }
.gt-btn-primary:hover { background: var(--primary-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(231,76,60,.35); }
.gt-btn-outline { background: transparent; border-color: var(--primary); color: var(--primary); }
.gt-btn-outline:hover { background: var(--primary); color: #fff; }
.gt-btn-secondary { background: var(--secondary); color: #fff; }
.gt-btn-secondary:hover { background: var(--mid); }
.gt-btn-sm { padding: 7px 16px; font-size: .8rem; }
.gt-btn-lg { padding: 14px 32px; font-size: 1rem; }
.gt-btn-block { width: 100%; justify-content: center; }

/* --- FORMS --- */
.gt-form-group { display: flex; flex-direction: column; gap: 6px; margin-bottom: 20px; }
.gt-label { font-size: .85rem; font-weight: 700; color: var(--dark); }
.gt-input, .gt-textarea, .gt-select {
  padding: 11px 16px; border: 2px solid var(--border); border-radius: var(--radius);
  font-size: .9rem; color: var(--dark); background: var(--white);
  outline: none; transition: var(--transition-fast); width: 100%;
}
.gt-input:focus, .gt-textarea:focus, .gt-select:focus { border-color: var(--primary); box-shadow: 0 0 0 3px rgba(231,76,60,.1); }
.gt-textarea { resize: vertical; min-height: 120px; line-height: 1.6; }

/* --- BADGES --- */
.gt-badge { display: inline-flex; align-items: center; padding: 4px 12px; border-radius: var(--radius-full); font-size: .8rem; font-weight: 700; }
.gt-badge-red { background: rgba(231,76,60,.12); color: var(--primary); }
.gt-badge-green { background: rgba(46,204,113,.12); color: #27ae60; }
.gt-badge-blue { background: rgba(52,152,219,.12); color: #2980b9; }
.gt-badge-gold { background: rgba(243,156,18,.12); color: #d68910; }
.gt-badge-gray { background: var(--light); color: var(--gray); }

/* --- PAGINATION --- */
.gt-pagination { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 32px 0; }
.gt-page-btn {
  width: 42px; height: 42px; border-radius: var(--radius);
  display: flex; align-items: center; justify-content: center;
  font-size: .92rem; font-weight: 700; border: 2px solid var(--border);
  color: var(--dark); transition: var(--transition-fast);
}
.gt-page-btn:hover, .gt-page-btn.active { background: var(--primary); color: #fff; border-color: var(--primary); }

/* --- BREADCRUMB --- */
.gt-breadcrumb { display: flex; align-items: center; gap: 8px; font-size: .85rem; color: var(--gray); padding: 16px 0; flex-wrap: wrap; }
.gt-breadcrumb a:hover { color: var(--primary); }
.gt-breadcrumb .sep { color: var(--light-gray); }
.gt-breadcrumb .current { color: var(--dark); font-weight: 600; }

/* --- TOASTS / ALERTS --- */
.gt-toast-container { position: fixed; bottom: 24px; right: 24px; z-index: 5000; display: flex; flex-direction: column; gap: 10px; }
.gt-toast {
  min-width: 300px; padding: 14px 18px; border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg); display: flex; align-items: center; gap: 12px;
  animation: slideInRight .3s ease; color: #fff; font-size: .92rem; font-weight: 600;
}
.gt-toast-success { background: #27ae60; }
.gt-toast-error { background: var(--primary); }
.gt-toast-info { background: var(--info); }
.gt-toast-warning { background: var(--accent); color: var(--dark); }
@keyframes slideInRight { from { transform: translateX(100px); opacity: 0; } to { transform: translateX(0); opacity: 1; } }

/* --- PLAYER CARD --- */
.gt-player-card {
  background: var(--white); border-radius: var(--radius-lg);
  overflow: hidden; box-shadow: var(--shadow-sm); border: 1px solid var(--border);
  transition: var(--transition); text-align: center;
}
.gt-player-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); }
.gt-player-img-wrap { position: relative; background: linear-gradient(135deg, var(--secondary) 0%, var(--secondary-light) 100%); height: 180px; overflow: hidden; }
.gt-player-img-wrap img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.gt-player-position { position: absolute; top: 12px; right: 12px; padding: 4px 10px; border-radius: var(--radius-full); background: var(--primary); color: #fff; font-size: .7rem; font-weight: 800; text-transform: uppercase; }
.gt-player-body { padding: 16px; }
.gt-player-name { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: 4px; }
.gt-player-team { font-size: .78rem; color: var(--gray); }
.gt-player-stats { display: flex; gap: 0; margin-top: 12px; border-top: 1px solid var(--border); padding-top: 12px; }
.gt-player-stat { flex: 1; display: flex; flex-direction: column; align-items: center; gap: 2px; }
.gt-player-stat + .gt-player-stat { border-left: 1px solid var(--border); }
.gt-player-stat-val { font-size: 1.1rem; font-weight: 900; color: var(--dark); }
.gt-player-stat-label { font-size: .65rem; color: var(--gray); text-transform: uppercase; letter-spacing: .5px; }

/* --- AD UNIT --- */
.ad-unit { background: var(--light); border-radius: var(--radius); padding: 4px; overflow: hidden; max-width: 100%; }
.ad-unit iframe, .ad-unit img, .ad-unit ins, .ad-unit div { max-width: 100% !important; height: auto; }

/* --- ARTICLE HERO IMAGE --- */
.article-hero-image { width: 100%; max-height: 520px; overflow: hidden; margin-bottom: 0; }
.article-hero-image img { width: 100%; height: 100%; max-height: 520px; object-fit: cover; }

/* --- ARTICLE TITLE --- */
.article-title { font-size: 2rem; font-weight: 900; color: var(--dark); line-height: 1.25; font-family: var(--font-heading); margin-bottom: 20px; }

/* --- ARTICLE EXCERPT --- */
.article-excerpt { font-size: 1.05rem; color: var(--gray); line-height: 1.7; border-left: 4px solid var(--primary); padding-left: 16px; margin-bottom: 24px; font-style: italic; }

/* --- ARTICLE META --- */
.article-meta { display: flex; align-items: center; gap: 16px; padding: 16px; background: var(--light); border-radius: 12px; margin-bottom: 28px; flex-wrap: wrap; }
.article-meta-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 2px solid var(--border); background: var(--white); }
.article-meta-avatar-fallback {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 1.2rem;
  display: flex; align-items: center; justify-content: center;
}
.article-meta-info { flex: 1; min-width: 140px; }
.article-meta-name { font-weight: 800; color: var(--dark); font-size: 1rem; }
.article-meta-date { font-size: .85rem; color: var(--gray); }
.article-share { display: flex; gap: 8px; flex-shrink: 0; margin-left: auto; flex-wrap: wrap; justify-content: flex-end; }
.article-share-btn { width: 38px; height: 38px; border-radius: 8px; color: #fff; display: flex; align-items: center; justify-content: center; font-size: .9rem; transition: var(--transition-fast); }
.article-share-btn:hover { transform: translateY(-2px); box-shadow: 0 4px 12px rgba(0,0,0,.2); }
.article-share-btn.facebook { background: #3b5998; }
.article-share-btn.twitter { background: #000; }
.article-share-btn.whatsapp { background: #25d366; }
.article-share-btn.telegram { background: #0088cc; }
.article-share-btn.linkedin { background: #0077b5; }
.article-share-btn.copy { background: var(--light); color: var(--dark); border: 1px solid var(--border); cursor: pointer; }
.article-share-btn.bookmark { background: var(--white); color: var(--gray); border: 1px solid var(--border); cursor: pointer; }
.article-share-btn.bookmark.active { background: var(--primary); color: #fff; border-color: var(--primary); }
.article-share-btn.bookmark.active i { font-weight: 900; }

/* --- PAGE TITLE BAR --- */
.page-title-bar { padding: 40px 0 32px; background: var(--light); border-bottom: 1px solid var(--border); margin-bottom: 28px; }
.page-title-bar-title { font-family: var(--font-heading); font-size: 2rem; font-weight: 900; color: var(--dark); margin-bottom: 8px; }
.page-title-bar-sub { font-size: 1rem; color: var(--gray); }

/* --- READING MODE --- */
.reading-mode-btn {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  background: var(--light);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-size: .78rem;
  font-weight: 700;
  color: var(--dark);
  cursor: pointer;
  transition: var(--transition-fast);
}
.reading-mode-btn:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.reading-mode-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: var(--white);
  z-index: 10000;
  display: none;
  flex-direction: column;
  padding: 0;
}
.reading-mode-overlay.active { display: flex; }
.reading-mode-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 24px;
  border-bottom: 1px solid var(--border);
  background: var(--light);
  position: sticky;
  top: 0;
  z-index: 10;
}
.reading-mode-close, .reading-mode-actions button {
  padding: 8px 14px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--dark);
  font-weight: 700;
  font-size: .85rem;
  cursor: pointer;
  transition: var(--transition-fast);
}
.reading-mode-close:hover, .reading-mode-actions button:hover { background: var(--primary); color: #fff; border-color: var(--primary); }
.reading-mode-actions { display: flex; gap: 8px; }
.reading-mode-content {
  flex: 1;
  overflow-y: auto;
  padding: 40px 24px;
  max-width: 760px;
  margin: 0 auto;
  font-size: 18px;
  line-height: 1.8;
  color: var(--dark);
}
.reading-mode-content .reading-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 900;
  margin-bottom: 16px;
  line-height: 1.25;
}
.reading-mode-content .reading-excerpt {
  font-size: 1.15rem;
  color: var(--gray);
  margin-bottom: 28px;
  line-height: 1.6;
}
.reading-mode-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 24px 0; }
.reading-mode-content p { margin-bottom: 20px; }
.reading-mode-content h2, .reading-mode-content h3 { font-family: var(--font-heading); margin: 32px 0 16px; }

/* --- ARTICLE CONTENT --- */
.article-content { overflow-wrap: break-word; word-break: break-word; }
.article-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 16px 0; }
.article-content iframe { max-width: 100%; height: auto; aspect-ratio: 16/9; }
.article-content table { width: 100%; overflow-x: auto; display: block; border-collapse: collapse; }
.article-content table td, .article-content table th { border: 1px solid var(--border); padding: 8px; font-size: .9rem; }
.article-content h2 { font-size: 1.4rem; margin: 28px 0 14px; color: var(--dark); font-family: var(--font-heading); }
.article-content h3 { font-size: 1.15rem; margin: 22px 0 12px; color: var(--dark); font-family: var(--font-heading); }
.article-content p { margin-bottom: 16px; }
.article-content ul, .article-content ol { padding-left: 24px; margin-bottom: 16px; }
.article-content li { margin-bottom: 6px; }

/* --- ARTICLE TAGS --- */
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 28px; padding-top: 20px; border-top: 1px solid var(--border); }
.article-tags-label { font-size: .85rem; font-weight: 700; color: var(--gray); margin-right: 4px; }
.article-tag { padding: 6px 14px; border-radius: 20px; font-size: .82rem; font-weight: 700; background: var(--light); color: var(--gray); transition: var(--transition-fast); }
.article-tag:hover { background: var(--primary); color: #fff; }

/* --- ARTICLE BADGES --- */
.article-badges { display: flex; align-items: center; gap: 10px; margin-bottom: 16px; flex-wrap: wrap; }
.article-cat-badge { position: static; display: inline-flex; }

/* --- ARTICLE AUTHOR BOX --- */
.article-author-box { background: var(--light); border-radius: 14px; padding: 24px; margin-top: 28px; display: flex; gap: 18px; align-items: center; }
.article-author-box img { width: 72px; height: 72px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--white); background: var(--white); box-shadow: var(--shadow-sm); }
.article-author-box-fallback {
  width: 72px; height: 72px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary); color: #fff; font-weight: 800; font-size: 1.5rem;
  display: flex; align-items: center; justify-content: center;
  border: 3px solid var(--white); box-shadow: var(--shadow-sm);
}
.article-author-box-name { font-weight: 800; color: var(--dark); margin-bottom: 6px; font-size: 1.05rem; }
.article-author-box-bio { font-size: .95rem; color: var(--gray); line-height: 1.6; }

/* --- ARTICLE RELATED & COMMENTS --- */
.article-related { margin-top: 40px; }
.article-comments { margin-top: 40px; }

/* --- SIDEBAR MATCHES --- */
.sidebar-matches { padding: 8px 0; }
.sidebar-match-row { display: flex; align-items: center; gap: 8px; padding: 10px 14px; border-bottom: 1px solid var(--border); transition: var(--transition-fast); }
.sidebar-match-row:hover { background: var(--light); }
.sidebar-match-team { font-size: .75rem; font-weight: 700; color: var(--dark); flex: 1; }
.sidebar-match-team.home { text-align: right; }
.sidebar-match-score { font-size: .85rem; font-weight: 900; padding: 0 6px; }
.sidebar-match-footer { padding: 10px 14px; }

/* --- ARTICLE RELATED --- */
.article-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.article-related-card { display: flex; height: 90px; overflow: hidden; transition: var(--transition); }
.article-related-card:hover { transform: translateY(-2px); }
.article-related-card img { width: 120px; object-fit: cover; flex-shrink: 0; }
.article-related-card-body { padding: 10px 14px; display: flex; flex-direction: column; justify-content: center; gap: 4px; min-width: 0; }
.article-related-card-cat { font-size: .65rem; font-weight: 800; text-transform: uppercase; }
.article-related-card-title { font-size: .82rem; font-weight: 700; color: var(--dark); line-height: 1.3; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* --- COMMENTS --- */
.comment-card { background: var(--white); border-radius: 12px; border: 1px solid var(--border); padding: 20px; }
.comment-header { display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
.comment-avatar { width: 40px; height: 40px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: .9rem; flex-shrink: 0; }
.comment-author { font-weight: 800; font-size: .88rem; color: var(--dark); }
.comment-date { font-size: .72rem; color: var(--light-gray); }
.comment-text { font-size: .88rem; color: var(--mid); line-height: 1.6; }
.comments-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 32px; }
.comments-empty { color: var(--gray); font-size: .88rem; margin-bottom: 24px; }
.comment-form { background: var(--white); border-radius: 14px; border: 1px solid var(--border); padding: 24px; }
.comment-form-title { font-size: .95rem; font-weight: 800; color: var(--dark); margin-bottom: 20px; }
.comment-form-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; margin-bottom: 14px; }

/* --- ALERTS --- */
.alert-success { padding: 16px; background: #d5f5e3; border-left: 4px solid #2ecc71; border-radius: 10px; margin-bottom: 20px; font-weight: 600; color: #27ae60; }
.alert-error { padding: 16px; background: #fde8e8; border-left: 4px solid var(--primary); border-radius: 10px; margin-bottom: 20px; font-weight: 600; color: var(--primary); }

/* --- FEATURED HERO --- */
.featured-hero { padding: 32px 0; background: var(--white); border-bottom: 1px solid var(--border); }
.featured-breadcrumb { padding: 0; margin-bottom: 12px; }
.featured-cat-badge { position: static; display: inline-flex; margin-bottom: 12px; }
.featured-excerpt { font-size: .95rem; color: var(--gray); line-height: 1.7; margin-bottom: 20px; }
.featured-meta { display: flex; align-items: center; gap: 16px; font-size: .82rem; color: var(--light-gray); flex-wrap: wrap; }
.featured-image-wrap { border-radius: 16px; overflow: hidden; aspect-ratio: 16/10; }
.featured-image-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s; }
.featured-article-layout:hover .featured-image-wrap img { transform: scale(1.04); }

/* --- FEATURED ARTICLE (actualites) --- */
.featured-article-layout { display: grid; grid-template-columns: 1fr 420px; gap: 32px; align-items: center; }
.featured-article-layout h1 { font-size: 2rem; font-weight: 900; color: var(--dark); line-height: 1.25; font-family: var(--font-heading); margin-bottom: 16px; }

/* --- CATEGORY HERO --- */
.category-hero { border-bottom: 1px solid var(--border); padding: 40px 0; }
.category-hero-inner { display: flex; align-items: center; gap: 16px; margin-top: 12px; flex-wrap: wrap; }
.category-hero-icon { width: 52px; height: 52px; border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; flex-shrink: 0; }
.category-hero-info { flex: 1; min-width: 200px; }
.category-hero-title { font-size: 1.6rem; font-weight: 900; color: var(--dark); font-family: var(--font-heading); }
.category-hero-desc { color: var(--gray); font-size: .88rem; margin-top: 4px; }
.category-hero-count { margin-left: auto; font-size: .82rem; color: var(--gray); }

/* --- SEARCH HERO --- */
.search-hero { background: var(--light); border-bottom: 1px solid var(--border); padding: 24px 0; }
.search-results-count { margin-top: 8px; font-size: .9rem; color: var(--gray); }

/* --- ARTICLES FILTER BAR --- */
.articles-filter-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; gap: 16px; flex-wrap: wrap; }
.articles-count { font-size: .85rem; color: var(--gray); }
.articles-count strong { color: var(--dark); }
.articles-filter-actions { display: flex; align-items: center; gap: 8px; }
.search-form { display: flex; gap: 6px; }
.search-form-input { padding: 8px 14px; border: 2px solid var(--border); border-radius: 8px; font-size: .82rem; outline: none; transition: var(--transition-fast); font-family: inherit; min-width: 140px; }
.search-form-input:focus { border-color: var(--primary); }
.search-form-btn { padding: 8px 14px; background: var(--primary); color: #fff; border: none; border-radius: 8px; cursor: pointer; font-size: .82rem; font-weight: 700; }
.sort-select { padding: 8px 12px; border: 2px solid var(--border); border-radius: 8px; font-size: .82rem; color: var(--dark); outline: none; cursor: pointer; background: var(--white); }

/* --- ARTICLES GRID --- */
.articles-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 32px; }
.ad-card { padding: 16px; display: flex; flex-direction: column; justify-content: center; align-items: center; background: var(--light); border: 1px dashed var(--border); }
.article-fallback-img { width: 100%; height: 100%; background: linear-gradient(135deg, var(--secondary), var(--secondary-light)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; color: rgba(255,255,255,.3); }
.article-card-stats { display: flex; align-items: center; gap: 8px; font-size: .75rem; color: var(--light-gray); }

/* --- EMPTY STATE --- */
.empty-state { text-align: center; padding: 60px; background: var(--white); border-radius: 16px; border: 1px solid var(--border); }
.empty-state-icon { font-size: 3rem; margin-bottom: 12px; }
.empty-state-title { font-weight: 800; color: var(--dark); margin-bottom: 8px; }
.empty-state-text { color: var(--gray); margin-bottom: 20px; }

/* --- CATEGORIES LIST --- */
.categories-list { padding: 8px 0; }
.category-row { display: flex; align-items: center; justify-content: space-between; padding: 10px 16px; transition: var(--transition-fast); }
.category-row:hover, .category-row.active { background: var(--light); }
.category-row-left { display: flex; align-items: center; gap: 8px; }
.category-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }
.category-name { font-size: .85rem; font-weight: 600; color: var(--dark); }
.category-row.active .category-name { font-weight: 800; color: var(--primary); }
.category-count { font-size: .72rem; color: var(--light-gray); background: var(--light); padding: 2px 8px; border-radius: 20px; }

/* --- TAGS CLOUD --- */
.tags-cloud { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-pill { padding: 5px 12px; border-radius: 20px; font-size: .75rem; font-weight: 700; background: var(--light); color: var(--gray); transition: var(--transition-fast); }
.tag-pill:hover, .tag-pill.active { background: var(--primary); color: #fff; }

/* --- PAGE HERO --- */
.page-hero { background: var(--light); border-bottom: 1px solid var(--border); padding: 28px 0; }
.page-hero-title { font-size: 1.9rem; font-weight: 900; color: var(--dark); margin-top: 12px; font-family: var(--font-heading); }

/* --- CMS PAGE CONTENT --- */
.cms-page-content { background: var(--white); border-radius: 16px; border: 1px solid var(--border); padding: 36px; line-height: 1.8; font-size: 1rem; color: var(--dark); overflow-wrap: break-word; word-break: break-word; }
.cms-page-content img { max-width: 100%; height: auto; border-radius: var(--radius); margin: 16px 0; }
.cms-page-content h2 { font-size: 1.5rem; font-weight: 800; color: var(--dark); margin: 28px 0 12px; font-family: var(--font-heading); }
.cms-page-content h3 { font-size: 1.25rem; font-weight: 700; color: var(--dark); margin: 20px 0 10px; }
.cms-page-content p { margin-bottom: 16px; }
.cms-page-content ul, .cms-page-content ol { padding-left: 24px; margin-bottom: 16px; }
.cms-page-content li { margin-bottom: 6px; }
.cms-page-content blockquote { border-left: 4px solid var(--primary); padding: 14px 20px; background: var(--light); border-radius: 0 10px 10px 0; margin: 20px 0; font-style: italic; color: var(--gray); }
.cms-page-content table { width: 100%; overflow-x: auto; display: block; border-collapse: collapse; }
.cms-page-content table td, .cms-page-content table th { border: 1px solid var(--border); padding: 8px; font-size: .9rem; }

/* --- PAGE ACTUALITÉS / CATÉGORIE --- */

/* Hero article à la une */
.featured-hero {
  background: linear-gradient(135deg, rgba(231,76,60,.06) 0%, rgba(26,26,46,.02) 100%);
  padding: 32px 0 28px;
  border-bottom: 1px solid var(--border);
}
.featured-hero .featured-article-layout {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 32px;
  align-items: start;
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 22px;
  box-shadow: var(--shadow);
  border: 1px solid var(--border);
  transition: var(--transition);
}
.featured-article-layout:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}
.featured-hero .featured-article-layout h1 {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--dark);
  line-height: 1.24;
  margin: 10px 0 14px;
  letter-spacing: -0.3px;
}
.featured-breadcrumb { margin-bottom: 14px; }
.featured-cat-badge {
  display: inline-flex;
  margin-bottom: 8px;
  font-size: .72rem;
  padding: 4px 10px;
  border-radius: 20px;
  color: #fff;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .4px;
}
.featured-excerpt {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 18px;
}
.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 16px 22px;
  font-size: .88rem;
  color: var(--gray);
  font-weight: 500;
}
.featured-image-wrap {
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 16/10;
  max-width: 380px;
  max-height: 240px;
  margin-left: auto;
  background: var(--light);
  box-shadow: var(--shadow-sm);
}
.featured-image-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.featured-article-layout:hover .featured-image-wrap img {
  transform: scale(1.04);
}

/* Titre de page */
.page-title-bar {
  background: linear-gradient(135deg, rgba(231,76,60,.08) 0%, rgba(26,26,46,.04) 100%);
  padding: 34px 0 28px;
  border-bottom: 1px solid var(--border);
  margin-bottom: 8px;
}
.page-title-bar-title {
  font-family: var(--font-heading);
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}
.page-title-bar-sub {
  font-size: 1rem;
  color: var(--gray);
}

/* Hero catégorie */
.category-hero {
  background: linear-gradient(135deg, rgba(231,76,60,.08) 0%, rgba(26,26,46,.04) 100%);
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--border);
}
.category-hero-inner {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  margin-top: 18px;
}
.category-hero-icon {
  width: 64px;
  height: 64px;
  border-radius: var(--radius-lg);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: #fff;
  flex-shrink: 0;
}
.category-hero-info { flex: 1; min-width: 220px; }
.category-hero-title {
  font-family: var(--font-heading);
  font-size: 1.9rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}
.category-hero-desc {
  font-size: 1rem;
  color: var(--gray);
  max-width: 600px;
}
.category-hero-count {
  margin-left: auto;
  background: var(--white);
  padding: 10px 18px;
  border-radius: var(--radius-full);
  font-weight: 700;
  font-size: .85rem;
  color: var(--dark);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}

/* Filtres et tri */
.articles-filter-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 28px;
  flex-wrap: wrap;
}
.articles-count {
  font-size: .95rem;
  color: var(--gray);
}
.articles-count strong { color: var(--dark); font-weight: 800; }
.articles-filter-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}
.search-form {
  display: flex;
  align-items: center;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-full);
  overflow: hidden;
  padding: 4px 4px 4px 14px;
}
.search-form-input {
  border: none;
  background: transparent;
  padding: 8px 10px;
  outline: none;
  font-size: .88rem;
  min-width: 160px;
  color: var(--dark);
}
.search-form-btn {
  background: var(--primary);
  color: #fff;
  border-radius: 50%;
  width: 34px;
  height: 34px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: .9rem;
  transition: var(--transition-fast);
}
.search-form-btn:hover { background: var(--primary-dark); }
.sort-select {
  padding: 10px 14px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  font-size: .88rem;
  color: var(--dark);
  outline: none;
  cursor: pointer;
}

/* Liste articles verticale */
.articles-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-bottom: 36px;
}
.article-list-item {
  display: grid;
  grid-template-columns: 200px 1fr;
  gap: 18px;
  align-items: center;
  position: relative;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 12px;
  transition: var(--transition);
}
.article-list-item:hover {
  box-shadow: var(--shadow);
  border-color: transparent;
  transform: translateY(-2px);
}
.article-list-img {
  width: 200px;
  height: 140px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  background: var(--light);
  flex-shrink: 0;
}
.article-list-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.article-list-item:hover .article-list-img img { transform: scale(1.04); }
.article-list-body {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding-right: 8px;
}
.article-list-cat {
  display: inline-block;
  width: auto;
  align-self: flex-start;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: .68rem;
  font-weight: 800;
  text-transform: uppercase;
  color: #fff;
  letter-spacing: .4px;
}
.article-list-title {
  font-family: var(--font-heading);
  font-size: 1.12rem;
  font-weight: 800;
  color: var(--dark);
  line-height: 1.35;
  transition: color .2s;
}
.article-list-item:hover .article-list-title { color: var(--primary); }
.article-bookmark-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white);
  border: 1px solid var(--border);
  color: var(--gray);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  z-index: 2;
}
.article-bookmark-btn:hover { color: var(--primary); border-color: var(--primary); }
.article-bookmark-btn.active { color: var(--primary); border-color: var(--primary); }
.article-bookmark-btn.active i { font-weight: 900; }
.article-list-excerpt {
  font-size: .9rem;
  color: var(--gray);
  line-height: 1.55;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  box-orient: vertical;
  overflow: hidden;
}
.article-list-meta {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  font-size: .78rem;
  color: var(--gray);
  margin-top: 4px;
}

/* Publicité entre posts */
.ad-card-list {
  padding: 18px;
  background: var(--white);
  border: 1px dashed var(--border);
  border-radius: var(--radius);
  text-align: center;
  margin-bottom: 4px;
}
.ad-label {
  font-size: .65rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--light-gray);
  margin-bottom: 8px;
  font-weight: 700;
}

/* Recherche hero */
.search-hero {
  background: var(--light);
  padding: 40px 0 32px;
  border-bottom: 1px solid var(--border);
}
.search-results-count {
  font-size: 1.1rem;
  color: var(--gray);
  margin-top: 14px;
}
.search-results-count strong { color: var(--dark); }

/* --- AUTHOR PAGE --- */
.author-hero {
  display: flex;
  align-items: center;
  gap: 24px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 32px;
  margin-bottom: 28px;
  box-shadow: var(--shadow-sm);
}
.author-hero-avatar {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid var(--border);
  flex-shrink: 0;
}
.author-hero-avatar-fallback {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-size: 2.5rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.author-hero-info { flex: 1; min-width: 0; }
.author-hero-name {
  font-family: var(--font-heading);
  font-size: 1.7rem;
  font-weight: 900;
  color: var(--dark);
  margin-bottom: 6px;
}
.author-hero-role {
  font-size: .9rem;
  color: var(--primary);
  font-weight: 700;
  margin-bottom: 10px;
}
.author-hero-bio {
  font-size: .95rem;
  color: var(--gray);
  line-height: 1.6;
}
.author-section-title {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 18px;
}

/* Comments replies & likes */
.comment-card { position: relative; }
.comment-reply { border-left: 3px solid var(--primary); margin-top: 12px; }
.comment-meta { flex: 1; }
.comment-actions { display: flex; gap: 8px; align-items: center; margin-left: auto; }
.comment-like-btn, .comment-reply-btn {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 5px 10px;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  background: var(--white);
  color: var(--gray);
  font-size: .78rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition-fast);
}
.comment-like-btn:hover, .comment-reply-btn:hover { border-color: var(--primary); color: var(--primary); }
.comment-like-btn.liked { background: var(--primary); color: #fff; border-color: var(--primary); }
.comment-reply-form-wrapper { margin-top: 12px; }
.comment-form-actions { display: flex; gap: 10px; }
.comment-form-reply { padding: 16px; margin-top: 8px; }

/* Empty state */
.empty-state {
  text-align: center;
  padding: 70px 30px;
  background: var(--white);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
}
.empty-state-icon { font-size: 3.5rem; margin-bottom: 16px; }
.empty-state-title {
  font-family: var(--font-heading);
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--dark);
  margin-bottom: 8px;
}
.empty-state-text {
  color: var(--gray);
  margin-bottom: 22px;
}

/* --- MOBILE RESPONSIVE --- */
@media (max-width: 1200px) {
  .gt-grid-4 { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 1024px) {
  .gt-hero-grid { grid-template-columns: 1fr; }
  .gt-grid-main { grid-template-columns: 1fr; }
  .featured-hero .featured-article-layout { grid-template-columns: 1fr; }
  .featured-image-wrap { max-width: 100%; max-height: 300px; margin-left: 0; }
  .gt-footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .gt-sidebar { display: grid; grid-template-columns: 1fr 1fr; }
  .home-top-story { grid-template-columns: 1fr; }
  .home-top-story-img { min-height: 300px; }
  .home-top-story-title { font-size: 1.9rem; }
  .home-cat-grid { grid-template-columns: 1fr; }
  .home-latest-grid { grid-template-columns: 1fr; }
  .home-cat-main-title { font-size: 1.2rem; }
  .home-cat-card-img { width: 100px; height: 72px; }
  .home-hero-grid { grid-template-columns: 1fr; }
  .home-hero-side { grid-template-columns: 1fr 1fr; grid-template-rows: auto; }
  .home-hero-main { min-height: 340px; }
  .home-hero-title { font-size: 1.6rem; }
  .home-hero-side-card { aspect-ratio: 16/10; }
}

@media (max-width: 768px) {
  :root { --header-h: 60px; }
  .gt-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .gt-grid-2 { grid-template-columns: 1fr; }
  .gt-grid-4 { grid-template-columns: repeat(2, 1fr); }
  .page-hero-title { font-size: 1.6rem; }
  .cms-page-content { padding: 24px; }
  .gt-nav { display: none; }
  .gt-menu-btn { display: flex; }
  .gt-header { padding: 0 12px; }
  .gt-header-inner { padding: 0 12px; gap: 8px; }
  .gt-logo { font-size: 1.25rem; min-width: 0; overflow: hidden; text-overflow: ellipsis; }
  .gt-logo-img { height: 40px; }
  .gt-header-actions { gap: 4px; flex-wrap: nowrap; overflow: hidden; }
  .gt-lang-text { display: none; }
  .gt-lang-btn { padding: 6px 8px; }
  .gt-login-btn { padding: 6px 10px; font-size: .75rem; }
  .gt-hero-title { font-size: 1.6rem; }
  .gt-hero-content { padding: 24px; }
  .gt-hero-meta { font-size: .85rem; }
  .gt-footer-grid { grid-template-columns: 1fr; }
  .gt-footer-top { padding: 48px 0 32px; }
  .gt-footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .gt-footer-bottom-links { flex-wrap: wrap; justify-content: center; gap: 12px; font-size: .78rem; }
  .gt-sidebar { grid-template-columns: 1fr; }
  .gt-section { padding: 40px 0; }
  .featured-article-layout { grid-template-columns: 1fr; gap: 24px; }
  .featured-article-layout h1 { font-size: 1.7rem; }
  .featured-hero { padding: 24px 0; }
  .category-hero { padding: 28px 0; }
  .category-hero-title { font-size: 1.4rem; }
  .category-hero-count { margin-left: 0; }
  .articles-grid { grid-template-columns: repeat(2, 1fr); }
  .article-list-item { grid-template-columns: 160px 1fr; gap: 14px; }
  .article-list-img { width: 160px; height: 110px; }
  .article-list-title { font-size: 1rem; }
  .article-hero-image { max-height: 320px; }
  .article-hero-image img { max-height: 320px; }
  .article-title { font-size: 1.75rem; }
  .article-excerpt { font-size: 1rem; }
  .article-meta { gap: 14px; padding: 14px; flex-wrap: wrap; }
  .article-meta-avatar { width: 48px; height: 48px; }
  .home-section { padding: 36px 0; }
  .home-section-title { font-size: 1.3rem; }
  .home-top-story-img { min-height: 260px; }
  .home-top-story-title { font-size: 1.6rem; }
  .home-top-story-body { padding: 24px; }
  .home-cat-card-img { width: 90px; height: 68px; }
  .home-cat-card-title { font-size: .95rem; }
  .home-latest-main-title { font-size: 1.25rem; }
  .home-cat-main-title { font-size: 1.15rem; }
  .home-hero { padding: 16px 0; overflow: hidden; }
  .home-hero-grid { grid-template-columns: 1fr; gap: 16px; }
  .home-hero-main { min-height: 220px; aspect-ratio: 16/10; }
  .home-hero-content { padding: 16px; gap: 6px; }
  .home-hero-cat { font-size: .6rem; padding: 3px 8px; }
  .home-hero-title { font-size: 1.15rem; line-height: 1.25; }
  .home-hero-excerpt { font-size: .85rem; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
  .home-hero-meta { font-size: .75rem; gap: 10px; }
  .home-hero-side { grid-template-columns: 1fr 1fr; gap: 12px; }
  .home-hero-side-card { aspect-ratio: 16/10; min-height: 120px; }
  .home-hero-side-content { padding: 10px; gap: 4px; }
  .home-hero-side-cat { font-size: .55rem; padding: 2px 6px; }
  .home-hero-side-title { font-size: .78rem; -webkit-line-clamp: 2; line-clamp: 2; }
  .home-hero-side-meta { display: none; }
  .home-latest-item-img { width: 140px; height: 95px; }
  .home-latest-item-title { font-size: 1rem; }
  .article-meta-avatar-fallback { width: 48px; height: 48px; font-size: 1.1rem; }
  .article-meta-info { min-width: 100px; }
  .article-author-box { flex-direction: row; align-items: center; padding: 20px; }
  .article-author-box img { width: 64px; height: 64px; }
  .article-author-box-fallback { width: 64px; height: 64px; font-size: 1.3rem; }
  .article-related-grid { grid-template-columns: 1fr; }
  .comment-form-grid { grid-template-columns: 1fr; }
  .gt-standing-table { font-size: .82rem; }
  .gt-standing-table th, .gt-standing-table td { padding: 8px 6px; }
  .gt-team-cell img { width: 20px; height: 20px; }
  .gt-form-badge { width: 18px; height: 18px; font-size: .6rem; }
  /* Ticker mobile */
  .gt-ticker-label { padding: 0 10px; font-size: .6rem; letter-spacing: .5px; }
  .gt-ticker-item { font-size: .75rem; padding: 0 14px; }
  /* Breaking bar mobile */
  .gt-breaking-text { font-size: .8rem; }
  .gt-breaking-label { font-size: .6rem; padding: 3px 8px; }
  /* Match cards mobile */
  .match-card { padding: 12px; gap: 10px; }
  .match-card-status { width: 44px; font-size: .65rem; }
  .match-team-name { font-size: .8rem; }
  .match-team-logo { width: 26px; height: 26px; }
  .match-team-logo-fallback { width: 26px; height: 26px; }
  .match-score-box { width: 60px; }
  .match-score { font-size: 1.1rem; }
  /* Live section mobile */
  .gt-live-section { padding: 32px 0; }
  .gt-live-matches { grid-template-columns: 1fr; }
  .gt-match-teams { gap: 8px; }
  .gt-match-team img { width: 36px; height: 36px; }
  .gt-match-team-name { font-size: .8rem; }
  .gt-match-score { font-size: 1.5rem; }
  /* Table overflow */
  .gt-standing-table { display: block; overflow-x: auto; -webkit-overflow-scrolling: touch; }
  /* Search overlay mobile */
  .gt-search-input { font-size: 1rem; padding: 16px 18px; }
  .gt-search-box { padding: 0 16px; }
  .gt-search-overlay { padding-top: 60px; }
  .gt-search-close { top: 16px; right: 16px; width: 38px; height: 38px; font-size: 1.1rem; }
}

@media (max-width: 480px) {
  :root { --header-h: 54px; }
  .gt-grid-3 { grid-template-columns: 1fr; }
  .gt-grid-4 { grid-template-columns: 1fr; }
  .gt-container { padding: 0 12px; }
  .gt-header-inner { padding: 0 6px; gap: 6px; }
  .gt-logo { font-size: 1.05rem; max-width: 120px; }
  .gt-logo-img { height: 32px; }
  .gt-login-text { display: none; }
  .gt-login-btn { padding: 5px 6px; font-size: .7rem; }
  .gt-search-btn { width: 32px; height: 32px; font-size: .9rem; }
  .gt-theme-btn { width: 32px; height: 32px; font-size: .9rem; }
  .gt-menu-btn { padding: 4px; font-size: 1.15rem; }
  .gt-header-actions { gap: 3px; }
  .gt-hero-content { padding: 20px; }
  .gt-hero-title { font-size: 1.4rem; }
  .gt-hero-meta { font-size: .82rem; }
  .home-side-card { height: 92px; }
  .home-side-card-img { width: 110px; }
  .home-side-card-body { padding: 10px 14px; }
  .home-side-card-cat { font-size: .68rem; }
  .home-side-card-title { font-size: .85rem; }
  .home-live-team { font-size: .78rem; }
  .home-live-score { font-size: .88rem; }
  .featured-article-layout h1 { font-size: 1.45rem; }
  .featured-hero { padding: 20px 0; }
  .category-hero { padding: 24px 0; }
  .category-hero-icon { width: 44px; height: 44px; font-size: 1.2rem; }
  .category-hero-title { font-size: 1.25rem; }
  .articles-filter-bar { flex-direction: column; align-items: flex-start; gap: 12px; }
  .articles-filter-actions { width: 100%; }
  .search-form { flex: 1; }
  .search-form-input { width: 100%; }
  .articles-grid { grid-template-columns: 1fr; }
  .article-list-item { grid-template-columns: 1fr; gap: 10px; padding: 10px; }
  .article-list-img { width: 100%; height: 170px; }
  .article-list-title { font-size: 1.05rem; }
  .article-list-excerpt { font-size: .88rem; }
  .author-hero { flex-direction: column; text-align: center; padding: 24px; }
  .author-hero-avatar, .author-hero-avatar-fallback { width: 90px; height: 90px; }
  .author-hero-name { font-size: 1.4rem; }
  .match-card { flex-wrap: wrap; gap: 8px 6px; padding: 12px; }
  .match-card-status { width: 50px; }
  .match-score-box { order: 0; width: 100%; text-align: center; margin-bottom: 6px; }
  .match-team { flex: 1 1 45%; min-width: 0; }
  .match-team.home { order: 1; justify-content: flex-start; }
  .match-team.away { order: 2; justify-content: flex-end; }
  .match-team-name { max-width: 100%; font-size: .78rem; }
  .match-team-name.home { text-align: left; }
  .match-team-logo { width: 24px; height: 24px; }
  .match-team-logo-fallback { width: 24px; height: 24px; }
  .match-card-arrow { display: none; }
  .match-stats-row { flex-direction: column; gap: 8px; }
  .live-sync-btn { margin-left: 0; width: 100%; justify-content: center; }
  .live-header-inner { flex-direction: column; align-items: flex-start; gap: 14px; }
  .live-header-title { font-size: 1.5rem; }
  .empty-state { padding: 40px 24px; }
  .article-hero-image { max-height: 240px; }
  .article-hero-image img { max-height: 240px; }
  .article-title { font-size: 1.55rem; }
  .article-excerpt { font-size: 1rem; }
  .article-meta { flex-direction: column; align-items: flex-start; gap: 12px; padding: 12px; }
  .article-share { margin-left: 0; width: 100%; justify-content: flex-start; }
  .page-title-bar { padding: 28px 0 22px; }
  .page-title-bar-title { font-size: 1.5rem; }
  .article-author-box { flex-direction: row; align-items: center; gap: 14px; padding: 18px; }
  .article-author-box img { width: 56px; height: 56px; }
  .article-author-box-fallback { width: 56px; height: 56px; font-size: 1.2rem; }
  .article-author-box-name { font-size: 1rem; }
  .article-author-box-bio { font-size: .9rem; }
  .page-hero-title { font-size: 1.35rem; }
  .cms-page-content { padding: 20px; border-radius: 12px; }
  .gt-article-sm { gap: 10px; }
  .gt-article-sm-img { width: 68px; height: 52px; }
  .gt-article-sm-title { font-size: .88rem; }
  .home-section { padding: 28px 0; }
  .home-section-title { font-size: 1.15rem; }
  .home-section-title::before { height: 20px; }
  .home-top-story-img { min-height: 220px; }
  .home-top-story-title { font-size: 1.25rem; }
  .home-top-story-excerpt { font-size: .95rem; }
  .home-top-story-body { padding: 20px; gap: 12px; }
  .home-cat-card { padding: 12px; gap: 12px; }
  .home-cat-card-img { width: 80px; height: 60px; }
  .home-cat-card-title { font-size: .88rem; }
  .breaking-strip-title { font-size: .85rem; }
  .home-latest-main-title { font-size: 1.1rem; }
  .home-cat-main-title { font-size: 1.05rem; }
  .home-cat-main-body { padding: 16px; }
  .home-latest-main-body { padding: 16px; }
  .home-hero-main { min-height: 200px; }
  .home-hero-title { font-size: 1.1rem; }
  .home-hero-excerpt { display: none; }
  .home-hero-content { padding: 14px; }
  .home-hero-side { grid-template-columns: 1fr; gap: 12px; }
  .home-hero-side-card { aspect-ratio: 16/9; min-height: 140px; }
  .home-hero-side-title { font-size: .9rem; }
  .home-hero-side-content { padding: 14px; }
  .home-latest-item { gap: 12px; }
  .home-latest-item-img { width: 100px; height: 70px; }
  .home-latest-item-title { font-size: .92rem; }
  .home-latest-item-meta { font-size: .78rem; gap: 8px; }
  /* Ticker & breaking mobile small */
  .gt-ticker-label { padding: 0 8px; font-size: .55rem; }
  .gt-ticker-item { font-size: .7rem; padding: 0 10px; }
  .gt-breaking-bar-inner { gap: 8px; }
  .gt-breaking-text { font-size: .75rem; }
  .gt-breaking-label { font-size: .55rem; padding: 2px 6px; }
  /* Match cards small */
  .match-card { padding: 10px 8px; gap: 6px; }
  .match-card-status { width: 36px; font-size: .6rem; }
  .match-team-name { font-size: .75rem; }
  .match-team-logo { width: 22px; height: 22px; }
  .match-team-logo-fallback { width: 22px; height: 22px; }
  .match-score-box { width: 50px; }
  .match-score { font-size: .95rem; }
  .match-comp-name { font-size: .78rem; }
  /* Live header small */
  .live-header-title { font-size: 1.3rem; }
  .live-tabs { flex-wrap: wrap; }
  .live-tab { padding: 10px 8px; font-size: .75rem; }
  /* Footer small */
  .gt-footer-top { padding: 36px 0 24px; }
  .gt-footer-desc { font-size: .88rem; }
  .gt-footer-newsletter-form { flex-direction: column; }
  .gt-footer-input { font-size: .85rem; }
  .gt-footer-submit { width: 100%; text-align: center; justify-content: center; display: flex; }
  .gt-footer-bottom-links { gap: 8px; font-size: .72rem; }
  /* Section headers small */
  .home-section-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .gt-section-title { flex-direction: column; align-items: flex-start; gap: 10px; }
  .gt-section-title h2 { font-size: 1.2rem; }
}

/* --- ARTICLES SIMILAIRES responsive --- */
@media (max-width: 900px) {
  .gt-related-grid { grid-template-columns: repeat(2,1fr) !important; }
}
@media (max-width: 540px) {
  .gt-related-grid { grid-template-columns: 1fr !important; }
}

/* --- GLOBAL overflow prevention --- */
video, iframe, embed, object { max-width: 100%; height: auto; }
table { max-width: 100%; }
pre, code { overflow-x: auto; word-wrap: break-word; }

/* --- MATCH PAGE responsive --- */
@media (max-width: 480px) {
  [style*="grid-template-columns:1fr auto 1fr"] { gap: 8px !important; }
  [style*="font-size:3.5rem"] { font-size: 2.5rem !important; }
  [style*="font-size:1.8rem"][style*="font-family:'Montserrat'"] { font-size: 1.4rem !important; }
  [style*="width:72px;height:72px"] { width: 48px !important; height: 48px !important; }
  [style*="font-size:1.1rem;font-weight:900;color:#fff;font-family:'Montserrat'"] { font-size: .88rem !important; }
}

/* --- COMPETITION TABS responsive --- */
@media (max-width: 600px) {
  [style*="overflow-x:auto;scrollbar-width:none"] { -webkit-overflow-scrolling: touch; }
  [style*="grid-template-columns:1fr auto 1fr"][style*="max-width:600px"] { max-width: 100% !important; gap: 8px !important; }
}

/* --- PROFILE PAGE responsive --- */
@media (max-width: 768px) {
  .profile-header { flex-direction: column; text-align: center; }
  .profile-stats { flex-wrap: wrap; justify-content: center; }
  .profile-stat { min-width: 80px; }
}

/* ═══════════════════════════════════════════════════════
   MOBILE-FIRST INLINE STYLE OVERRIDES
   Fixes for inline-styled grids/flex used across pages
   ═══════════════════════════════════════════════════════ */

/* --- Tablet (≤1024px) --- */
@media (max-width: 1024px) {
  /* Inline 2-col grids (sidebar + main, etc.) */
  [style*="grid-template-columns:1fr 340px"],
  [style*="grid-template-columns: 1fr 340px"],
  [style*="grid-template-columns:1fr 320px"],
  [style*="grid-template-columns: 1fr 320px"],
  [style*="grid-template-columns:1fr 300px"],
  [style*="grid-template-columns: 1fr 300px"],
  [style*="grid-template-columns:1fr 360px"],
  [style*="grid-template-columns: 1fr 360px"] {
    grid-template-columns: 1fr !important;
  }
}

/* --- Mobile (≤768px) --- */
@media (max-width: 768px) {
  /* Container padding */
  .gt-container { padding-left: 14px; padding-right: 14px; }

  /* Force inline grids to stack */
  [style*="display:grid"][style*="grid-template-columns:repeat(auto-fill,minmax(280px"],
  [style*="display:grid"][style*="grid-template-columns: repeat(auto-fill, minmax(280px"],
  [style*="display:grid"][style*="grid-template-columns:repeat(auto-fill,minmax(300px"],
  [style*="display:grid"][style*="grid-template-columns: repeat(auto-fill, minmax(300px"] {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)) !important;
  }

  /* Force flex-row layouts to wrap (flex + inline-flex) */
  [style*="display:"][style*="flex"][style*="gap:24px"],
  [style*="display:"][style*="flex"][style*="gap: 24px"],
  [style*="display:"][style*="flex"][style*="gap:20px"],
  [style*="display:"][style*="flex"][style*="gap: 20px"],
  [style*="display:"][style*="flex"][style*="gap:16px"],
  [style*="display:"][style*="flex"][style*="gap: 16px"] {
    flex-wrap: wrap !important;
  }

  /* Quiz page */
  [style*="display:grid"][style*="grid-template-columns:repeat(auto-fill,minmax(260px"] {
    grid-template-columns: 1fr !important;
  }

  /* Comparator player boxes side by side → stacked */
  [style*="display:grid"][style*="grid-template-columns:1fr auto 1fr"],
  [style*="display:grid"][style*="grid-template-columns: 1fr auto 1fr"] {
    grid-template-columns: 1fr !important;
    gap: 16px !important;
  }

  /* Video cards grid */
  [style*="display:grid"][style*="grid-template-columns:repeat(auto-fill,minmax(280px"] {
    grid-template-columns: 1fr 1fr !important;
  }

  /* Inline large font sizes */
  [style*="font-size:2rem"], [style*="font-size: 2rem"],
  [style*="font-size:2.2rem"], [style*="font-size: 2.2rem"],
  [style*="font-size:2.3rem"], [style*="font-size: 2.3rem"],
  [style*="font-size:2.4rem"], [style*="font-size: 2.4rem"],
  [style*="font-size:2.5rem"], [style*="font-size: 2.5rem"] {
    font-size: 1.5rem !important;
  }
  [style*="font-size:1.8rem"], [style*="font-size: 1.8rem"],
  [style*="font-size:1.9rem"], [style*="font-size: 1.9rem"] {
    font-size: 1.35rem !important;
  }
  [style*="font-size:1.5rem"], [style*="font-size: 1.5rem"],
  [style*="font-size:1.6rem"], [style*="font-size: 1.6rem"] {
    font-size: 1.2rem !important;
  }

  /* Tables inside pages */
  [style*="overflow-x:auto"] { -webkit-overflow-scrolling: touch; }
  table[style*="width:100%"], .gt-table, .gt-standing-table { display: block; overflow-x: auto; }

  /* Inline paddings too large on mobile */
  [style*="padding:48px"], [style*="padding: 48px"] { padding: 24px !important; }
  [style*="padding:36px 0"], [style*="padding: 36px 0"] { padding: 24px 0 !important; }
  [style*="padding:40px"], [style*="padding: 40px"] { padding: 20px !important; }

  /* Article slider section */
  .gt-article-slider-wrap { overflow-x: auto !important; -webkit-overflow-scrolling: touch !important; scroll-snap-type: x mandatory; }
  .gt-article-slider-wrap > * { min-width: 260px !important; scroll-snap-align: start; }

  /* Breadcrumb wrap */
  .gt-breadcrumb { flex-wrap: wrap; font-size: .78rem; }

  /* Section headers */
  [style*="display:"][style*="flex"][style*="justify-content:space-between"] {
    flex-wrap: wrap !important;
    gap: 10px !important;
  }

  /* Images max-width safety */
  img { max-width: 100%; height: auto; }
}

/* --- Small phone (≤480px) --- */
@media (max-width: 480px) {
  .gt-container { padding-left: 10px; padding-right: 10px; }

  /* All inline grids → 1 col */
  [style*="display:grid"][style*="grid-template-columns:repeat(auto-fill"],
  [style*="display:grid"][style*="grid-template-columns: repeat(auto-fill"] {
    grid-template-columns: 1fr !important;
  }
  [style*="display:grid"][style*="grid-template-columns:1fr 1fr"],
  [style*="display:grid"][style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }

  /* Video card grid → single col */
  [style*="display:grid"][style*="grid-template-columns:repeat(auto-fill,minmax(280px"] {
    grid-template-columns: 1fr !important;
  }

  /* Inline padding reductions */
  [style*="padding:24px"], [style*="padding: 24px"] { padding: 16px !important; }
  [style*="padding:28px"], [style*="padding: 28px"] { padding: 14px !important; }
  [style*="padding:32px"], [style*="padding: 32px"] { padding: 16px !important; }

  /* Font reductions for big inline headings */
  [style*="font-size:1.5rem"] { font-size: 1.15rem !important; }
  [style*="font-size:1.4rem"] { font-size: 1.1rem !important; }
  [style*="font-size:1.3rem"] { font-size: 1.05rem !important; }
  [style*="font-size:1.2rem"] { font-size: 1rem !important; }
  [style*="font-size:1.1rem"] { font-size: .95rem !important; }

  /* Gap reductions */
  [style*="gap:24px"], [style*="gap: 24px"] { gap: 14px !important; }
  [style*="gap:20px"], [style*="gap: 20px"] { gap: 12px !important; }

  /* Border-radius reductions for large values */
  [style*="border-radius:16px"], [style*="border-radius: 16px"] { border-radius: 12px !important; }
  [style*="border-radius:20px"], [style*="border-radius: 20px"] { border-radius: 12px !important; }

  /* Buttons and links: bigger touch targets */
  a[style*="padding:4px 10px"], a[style*="padding: 4px 10px"] { padding: 6px 12px !important; }
  button[style*="padding:4px"], button[style*="padding: 4px"] { padding: 8px !important; }

  /* Forms */
  input[style*="padding:9px"], input[style*="padding: 9px"],
  select[style*="padding:9px"], select[style*="padding: 9px"] {
    padding: 10px 12px !important;
    font-size: .85rem !important;
  }

  /* Flex form filters stack */
  form[style*="display:flex"][style*="gap:8px"],
  form[style*="display:flex"][style*="gap: 8px"] {
    flex-direction: column !important;
  }
  form[style*="display:flex"] input[style*="flex:1"],
  form[style*="display:flex"] input[style*="flex: 1"] {
    min-width: 100% !important;
  }

  /* Live feed sidebar hidden on small screens (show only main content) */
  .gt-grid-main { grid-template-columns: 1fr !important; }
  .gt-sidebar { order: 2; }
}

/* ═══════════════════════════════════════════════════════
   OVERFLOW PREVENTION (global)
   ═══════════════════════════════════════════════════════ */
html { overflow-x: hidden; }
body { overflow-x: hidden; max-width: 100vw; }
.flex-1, .gt-grid-main > *, [class*="grid"] > *, .gt-container > * { min-width: 0; }

/* Extra mobile safety: force grids to single column and prevent overflow */
@media (max-width: 480px) {
  [class*="grid"] { grid-template-columns: 1fr !important; }
  .gt-container > * { max-width: 100%; }
  .gt-widget, .gt-card, .gt-box { max-width: 100%; overflow-wrap: break-word; }
  .gt-header, .gt-footer, .gt-ticker, .gt-breaking-bar, .breaking-strip { max-width: 100vw; }
  input, select, textarea { max-width: 100%; }
  form { max-width: 100%; }
  .gt-standing-table, .gt-table { display: block; overflow-x: auto; white-space: nowrap; }
  .home-match-row-team span, .match-team-name, .gt-match-team-name { white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
}

/* --- MOBILE COMPATIBILITY BOOST (home & public pages) --- */
@media (max-width: 768px) {
  .gt-africa-header { flex-wrap: wrap; gap: 12px; margin-bottom: 20px; padding-bottom: 12px; }
  .gt-africa-title { font-size: 1.05rem; gap: 8px; }
  .gt-africa-title .gt-title-icon { width: 30px; height: 30px; }
  .gt-africa-title .gt-title-icon svg { width: 16px; height: 16px; }
  .gt-africa-link { font-size: .75rem; padding: 5px 10px; }
  .gt-breaking-ticker .gt-ticker-inner { height: 38px; }
  .gt-breaking-ticker .gt-ticker-label { font-size: .62rem; padding: 0 12px 0 14px; padding-right: 18px; }
  .gt-breaking-ticker .gt-ticker-item { font-size: .75rem; padding: 0 16px; }
  .gt-news-item { gap: 10px; padding: 10px 0; }
  .gt-news-num { width: 24px; height: 24px; font-size: .72rem; }
  .gt-news-img { width: 72px; height: 54px; }
  .gt-news-title { font-size: .88rem; }
  .gt-news-cat { font-size: .62rem; }
  .gt-news-meta { font-size: .7rem; gap: 6px; }
  .gt-news-meta img { width: 16px; height: 16px; }
  .gt-comp-card { padding: 14px 8px; }
  .gt-competitions-section > .gt-container > div[style*="display:grid"] { grid-template-columns: repeat(auto-fill, minmax(110px, 1fr)) !important; gap: 10px !important; }
  .gt-slider-header { flex-wrap: wrap; gap: 12px; margin-bottom: 16px; }
  .gt-slider-title { font-size: 1rem; gap: 8px; }
  .gt-slider-title-icon { width: 30px; height: 30px; }
  .gt-slider-title-icon svg { width: 15px; height: 15px; }
  .gt-slider-nav button { width: 30px; height: 30px; font-size: .8rem; }
  .gt-africa-pattern { width: 160px; }
  [style*="grid-template-columns:repeat(4,1fr)"], [style*="grid-template-columns: repeat(4, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="grid-template-columns:repeat(3,1fr)"], [style*="grid-template-columns: repeat(3, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
  [style*="grid-template-columns:repeat(5,1fr)"], [style*="grid-template-columns: repeat(5, 1fr)"],
  [style*="grid-template-columns:repeat(6,1fr)"], [style*="grid-template-columns: repeat(6, 1fr)"] { grid-template-columns: repeat(2, 1fr) !important; }
}

@media (max-width: 480px) {
  .gt-africa-title { font-size: .95rem; }
  .gt-africa-link { font-size: .7rem; padding: 4px 8px; }
  .gt-news-img { width: 60px; height: 45px; }
  .gt-news-title { font-size: .82rem; }
  .gt-news-item { align-items: flex-start; }
  .gt-breaking-ticker .gt-ticker-label { font-size: .55rem; padding: 0 8px 0 10px; padding-right: 14px; }
  .gt-breaking-ticker .gt-ticker-item { font-size: .7rem; padding: 0 12px; }
  .gt-slider-card { flex: 0 0 85% !important; min-width: 140px !important; }
  .gt-slider-track { gap: 10px !important; }
  [style*="grid-template-columns:repeat(4,1fr)"], [style*="grid-template-columns: repeat(4, 1fr)"],
  [style*="grid-template-columns:repeat(3,1fr)"], [style*="grid-template-columns: repeat(3, 1fr)"],
  [style*="grid-template-columns:repeat(2,1fr)"], [style*="grid-template-columns: repeat(2, 1fr)"],
  [style*="grid-template-columns:1fr 1fr"], [style*="grid-template-columns: 1fr 1fr"] { grid-template-columns: 1fr !important; }
  [style*="font-size:1.3rem"] { font-size: 1.05rem !important; }
  [style*="font-size:1.2rem"] { font-size: 1rem !important; }
  [style*="font-size:1.05rem"] { font-size: .9rem !important; }
  .gt-comp-card { padding: 12px 6px; }
  .gt-comp-card img { width: 44px !important; height: 44px !important; }
  .gt-comp-card p { font-size: .75rem !important; }
}

/* Animations d'entrée */
.fade-up { animation: fadeUp .5s ease forwards; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-in { animation: fadeIn .4s ease forwards; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
