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


/* === RESET & BASE === */
* { box-sizing: border-box; margin: 0; }
html { scroll-behavior: smooth; }
body { margin: 0; overflow-x: hidden; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; padding-top: 0 !important; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: color 0.2s ease, background 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease; }

/* === STICKY NAV (not fixed — no body padding needed) === */
.navbar-hebrew.fixed-top,
.navbar.fixed-top,
.navbar.bg-primary {
  position: sticky !important;
  top: 0 !important;
  z-index: 1050;
}

/* === CATEGORY BAR === */
.cat-bar {
  position: sticky;
  top: 52px;
  z-index: 100;
}
.cat-bar-inner {
  display: flex;
  align-items: center;
  gap: 0;
  overflow-x: auto;
  scrollbar-width: none;
  -ms-overflow-style: none;
  white-space: nowrap;
}
.cat-bar-inner::-webkit-scrollbar { display: none; }

/* === ARTICLE FEED ROW === */
.article-row {
  display: flex;
  gap: 16px;
  padding: 18px 0;
  border-bottom: 1px solid var(--border, #e2e8f0);
  align-items: flex-start;
  transition: background 0.2s ease;
}
.article-row:hover {
  background: var(--bg-light, #f8fafc);
}
.article-row .thumb {
  width: 180px;
  min-width: 180px;
  height: 120px;
  object-fit: cover;
  border-radius: 8px;
}
.article-row .no-thumb {
  width: 180px;
  min-width: 180px;
  height: 120px;
  border-radius: 8px;
  background: var(--bg-light, #f1f5f9);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--text-muted, #94a3b8);
}
.article-row .info { flex: 1; }
.article-row .cat-label {
  display: inline-block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.8px;
  margin-bottom: 4px;
}
.article-row h3 {
  font-size: 1.05rem;
  line-height: 1.35;
  margin-bottom: 6px;
  font-weight: 700;
}
.article-row .excerpt {
  font-size: 0.85rem;
  line-height: 1.55;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-row .meta {
  font-size: 0.75rem;
}

/* === SECTION DIVIDER === */
.section-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  margin: 24px 0 8px;
}
.section-divider h2 {
  font-size: 0.9rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1px;
  white-space: nowrap;
}
.section-divider .line {
  flex: 1;
  height: 1px;
  background: var(--border, #e2e8f0);
}

/* === SIDEBAR === */
.sidebar-widget {
  margin-bottom: 24px;
  border-radius: 10px;
  overflow: hidden;
}
.sidebar-widget-title {
  padding: 10px 16px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 1.2px;
}
.sidebar-widget-list {
  list-style: none;
  padding: 0;
  margin: 0;
}
.sidebar-widget-list li a {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 16px;
  font-size: 0.85rem;
  transition: all 0.15s ease;
}
.sidebar-widget-list .count {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
  font-weight: 600;
}
.sidebar-numbered {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: sidebar-counter;
}
.sidebar-numbered li {
  counter-increment: sidebar-counter;
}
.sidebar-numbered li a {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 10px 16px;
  font-size: 0.85rem;
  line-height: 1.4;
  transition: all 0.15s ease;
}
.sidebar-numbered li a::before {
  content: counter(sidebar-counter);
  font-weight: 800;
  font-size: 0.8rem;
  min-width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

/* === FEATURED SECTION === */
.featured-section {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 1px;
  margin-top: 0;
  overflow: hidden;
}
.featured-main {
  position: relative;
  min-height: 380px;
  overflow: hidden;
}
.featured-main img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.featured-main:hover img { transform: scale(1.04); }
.featured-main .overlay {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  padding: 2.5rem 1.5rem 1.5rem;
  z-index: 1;
}
.featured-main .overlay h2 {
  font-size: 1.5rem;
  line-height: 1.25;
  margin-bottom: 8px;
  color: #fff;
}
.featured-main .overlay p {
  font-size: 0.88rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.85);
}
.featured-main .overlay .cat-label {
  display: inline-block;
  padding: 3px 10px;
  font-size: 0.68rem;
  font-weight: 700;
  border-radius: 3px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 10px;
  color: #fff;
}

/* Featured side list */
.featured-list {
  display: flex;
  flex-direction: column;
}
.featured-list-item {
  flex: 1;
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid var(--border, #e2e8f0);
  transition: background 0.2s ease;
}
.featured-list-item:last-child { border-bottom: none; }
.featured-list-item:hover { background: var(--bg-light, #f8fafc); }
.featured-list-item .thumb {
  width: 80px;
  height: 60px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.featured-list-item .info h4 {
  font-size: 0.88rem;
  line-height: 1.35;
  margin-bottom: 4px;
  font-weight: 700;
}
.featured-list-item .meta {
  font-size: 0.72rem;
}

/* === NO-IMAGE FEATURED FALLBACK === */
.no-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, var(--primary, #1a56db) 0%, var(--primary-dark, #1e40af) 100%);
}

/* === PAGINATION === */
.pagination .page-link {
  border-radius: 8px;
  margin: 0 2px;
  font-weight: 600;
  font-size: 0.85rem;
  padding: 6px 14px;
  border: none;
}
.pagination .page-item.active .page-link {
  box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

/* === POST PAGE SHARED === */
.main-content {
  max-width: 800px;
  margin: 0 auto;
  padding: 32px 20px;
}
.page-content {
  line-height: 1.8;
  font-size: 1.05rem;
}
.page-content h2 {
  margin-top: 2rem;
  margin-bottom: 0.8rem;
  font-size: 1.4rem;
}
.page-content h3 {
  margin-top: 1.4rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.page-content p {
  margin-bottom: 1.4rem;
}
.page-content img {
  width: 100%;
  height: auto;
  border-radius: 8px;
  margin: 1.5rem 0;
}
.page-content a {
  text-decoration: underline;
  text-underline-offset: 2px;
}
.page-content blockquote {
  padding: 16px 24px;
  margin: 1.5rem 0;
  border-radius: 6px;
  font-style: italic;
}
.page-content pre {
  padding: 20px;
  border-radius: 8px;
  overflow-x: auto;
  font-size: 0.88rem;
  margin: 1.5rem 0;
}

/* === FOOTER FIX === */
.footer-hebrew { margin-top: 0 !important; }

/* === RESPONSIVE === */
@media (max-width: 991px) {
  .featured-section { grid-template-columns: 1fr; }
  .featured-main { min-height: 260px; }
  .article-row .thumb { width: 120px; min-width: 120px; height: 85px; }
}
@media (max-width: 576px) {
  .article-row { flex-direction: column; }
  .article-row .thumb { width: 100%; min-width: 100%; height: 180px; }
  .featured-main .overlay h2 { font-size: 1.2rem; }
}



/* ============================================
   TOTAL FOOTBALL — Sports Editorial
   Aesthetic: L'Equipe meets The Athletic
   ============================================ */

:root {
  --primary: #1b5e20 !important;
  --primary-dark: #0d3813 !important;
  --primary-light: #4caf50 !important;
  --accent: #ffd600;
  --text-dark: #0a1a0c !important;
  --text-main: #1a2e1c !important;
  --text-muted: #5a7a5e !important;
  --bg-white: #fafdf5 !important;
  --bg-light: #f0f5ec !important;
  --border: #d4e5d0 !important;
  --heading-font: 'Bebas Neue', sans-serif !important;
  --body-font: 'Barlow', sans-serif !important;
}

body {
  font-family: 'Barlow', sans-serif !important;
  background: #fafdf5 !important;
  color: #1a2e1c;
}

/* --- NAVBAR --- */
.navbar-hebrew {
  background: linear-gradient(180deg, #0d2b10 0%, #122e14 100%) !important;
  border-top: 4px solid #ffd600 !important;
  padding: 0 !important;
}
.navbar-hebrew .container { padding-top: 0.6rem; padding-bottom: 0.6rem; }
.navbar-hebrew .brand-text {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.6rem !important;
  letter-spacing: 3px;
  color: #ffd600 !important;
}
.navbar-hebrew .navbar-brand span[style*="background"] {
  background: #ffd600 !important;
  color: #0d2b10 !important;
  font-family: 'Bebas Neue', sans-serif !important;
}
.navbar-hebrew .nav-link {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 600 !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.75) !important;
}
.navbar-hebrew .nav-link:hover { color: #ffd600 !important; }

/* --- CATEGORY BAR --- */
.cat-bar {
  background: #fff !important;
  border-bottom: 3px solid #1b5e20 !important;
}
.cat-bar-link {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700 !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.78rem !important;
  color: #1a2e1c !important;
  border-bottom: 3px solid transparent !important;
  margin-bottom: -3px !important;
  padding: 10px 16px !important;
}
.cat-bar-link:hover,
.cat-bar-link.active {
  color: #1b5e20 !important;
  border-bottom-color: #ffd600 !important;
}

/* --- FEATURED --- */
.featured-section {
  border-radius: 0;
  border: none;
  background: #0d2b10;
  gap: 2px;
  margin-top: 0 !important;
}
.featured-main .overlay {
  background: linear-gradient(to top, rgba(13,43,16,0.95) 0%, rgba(13,43,16,0.5) 50%, transparent 100%) !important;
}
.featured-main .overlay .cat-label {
  background: #ffd600 !important;
  color: #0d2b10 !important;
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 800;
}
.featured-main .overlay h2 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 2rem !important;
  letter-spacing: 1px;
  text-transform: uppercase;
}
.featured-list { background: #f0f5ec; }
.featured-list-item { border-color: #d4e5d0 !important; }
.featured-list-item:hover { background: #e5ede1 !important; }
.featured-list-item .info h4 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.featured-list-item .meta { color: #5a7a5e; }

/* --- SECTION DIVIDER --- */
.section-divider h2 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.1rem !important;
  letter-spacing: 2px;
  color: #1b5e20;
}
.section-divider .line { background: #d4e5d0 !important; }

/* --- ARTICLE FEED --- */
.article-row .cat-label { color: #1b5e20 !important; }
.article-row h3 {
  font-family: 'Barlow Condensed', sans-serif !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.article-row .excerpt { color: #3d5e40; font-family: 'Barlow', sans-serif; }
.article-row .meta { color: #5a7a5e; }
.article-row:hover { background: #f0f5ec !important; }
.article-row .thumb { border-radius: 4px; }

/* --- SIDEBAR --- */
.sidebar-widget {
  background: #f0f5ec;
  border: 1px solid #d4e5d0;
}
.sidebar-widget-title {
  background: #1b5e20 !important;
  color: #ffd600 !important;
  font-family: 'Bebas Neue', sans-serif !important;
  letter-spacing: 2px;
  font-size: 0.85rem !important;
}
.sidebar-widget-list li a { color: #1a2e1c; border-bottom: 1px solid #d4e5d0; }
.sidebar-widget-list li a:hover { background: #e5ede1; color: #1b5e20; }
.sidebar-widget-list .count { background: #1b5e20; color: #fff; }
.sidebar-numbered li a { color: #1a2e1c; border-bottom: 1px solid #d4e5d0; }
.sidebar-numbered li a:hover { background: #e5ede1; }
.sidebar-numbered li a::before {
  background: #ffd600;
  color: #0d2b10;
  font-family: 'Bebas Neue', sans-serif;
}

/* --- PAGINATION --- */
.pagination .page-link { background: #f0f5ec; color: #1b5e20; }
.pagination .page-item.active .page-link { background: #1b5e20; color: #ffd600; }

/* --- FOOTER --- */
.footer-hebrew > div:first-child { background: #ffd600 !important; height: 4px !important; }
.footer-hebrew > div:nth-child(2) { background: #0d2b10 !important; }
.footer-hebrew h5 { font-family: 'Bebas Neue', sans-serif !important; letter-spacing: 2px; }

/* --- POST PAGE --- */
.navbar.bg-primary {
  background: linear-gradient(180deg, #0d2b10 0%, #122e14 100%) !important;
  border-top: 4px solid #ffd600;
  padding: 10px 0;
}
.navbar.bg-primary .navbar-brand {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 1.6rem;
  letter-spacing: 3px;
  color: #ffd600 !important;
}
.navbar.bg-primary .nav-link {
  font-family: 'Barlow Condensed', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.75) !important;
}
.navbar.bg-primary .nav-link:hover { color: #ffd600 !important; }
.main-content > h1 {
  font-family: 'Bebas Neue', sans-serif !important;
  font-size: 2.6rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: #0d2b10;
  border-left: 5px solid #ffd600;
  padding-left: 18px;
  margin-bottom: 20px;
}
.page-content { font-family: 'Barlow', sans-serif; color: #1a2e1c; }
.page-content h2 {
  font-family: 'Barlow Condensed', sans-serif !important;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: #1b5e20;
  border-bottom: 2px solid #ffd600;
  padding-bottom: 6px;
}
.page-content h3 { font-family: 'Barlow Condensed', sans-serif !important; color: #2e7d32; }
.page-content blockquote { border-left: 4px solid #ffd600; background: #f0f5ec; color: #1a2e1c; }
.page-content a { color: #1b5e20; }
.page-content pre { background: #0d2b10; color: #c8e6c9; }
.footer { background: #0d2b10 !important; border-top: 4px solid #ffd600; }
