@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Oswald:wght@400;500;600;700&family=Lato:ital,wght@0,300;0,400;0,700;1,400&family=Rajdhani:wght@500;600;700&display=swap');

/* =============================================
   GLOBAL LAYOUT + POLISH
   ============================================= */
* { 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; }
img { max-width: 100%; height: auto; }
a { text-decoration: none; transition: color 0.2s ease; }

/* === STICKY NAVBAR === */
.navbar-hebrew.fixed-top,
.navbar.fixed-top {
  position: sticky !important;
  top: 0 !important;
  z-index: 1050;
}

/* === CATEGORY BAR STICKY BELOW NAV === */
.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; }

/* === READING PROGRESS === */
.progress-bar-top {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3px;
  z-index: 9999;
  background: transparent;
}

/* === POST GRID LAYOUT === */
.article-body-wrap {
  display: grid;
  grid-template-columns: 1fr 300px;
  max-width: 1200px;
  margin: 0 auto;
  padding: 28px 20px;
  gap: 32px;
  align-items: start;
}

/* === ARTICLE HEADER === */
.article-header {
  padding: 32px 0 24px;
}
.article-header .container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}
.breadcrumb {
  font-size: 0.82rem;
  margin-bottom: 12px;
}

/* === ARTICLE MAIN COLUMN === */
.article-main {
  overflow: hidden;
}
.article-featured-img {
  width: 100%;
  max-height: 480px;
  object-fit: cover;
  display: block;
}
.article-content {
  padding: 32px 36px;
}
.article-title {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 12px;
}
.article-subtitle {
  font-size: 1.12rem;
  line-height: 1.6;
  margin-bottom: 16px;
}
.article-meta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 16px;
  font-size: 0.85rem;
  margin-top: 12px;
}

/* === CONTENT TYPOGRAPHY === */
.content-area {
  font-size: 1.05rem;
  line-height: 1.8;
}
.content-area h2 {
  margin-top: 2.2rem;
  margin-bottom: 0.8rem;
  padding-bottom: 0.5rem;
  font-size: 1.4rem;
}
.content-area h3 {
  margin-top: 1.6rem;
  margin-bottom: 0.6rem;
  font-size: 1.15rem;
}
.content-area p {
  margin-bottom: 1.4rem;
}
.content-area img {
  border-radius: 8px;
  margin: 1.5rem 0;
  box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.content-area ul, .content-area ol {
  margin-bottom: 1.4rem;
  padding-left: 1.5rem;
}
.content-area li {
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.content-area pre {
  overflow-x: auto;
  padding: 20px;
  border-radius: 8px;
  margin: 1.5rem 0;
  font-size: 0.88rem;
  line-height: 1.5;
}

/* === POST NAVIGATION === */
.post-nav {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-top: 32px;
  padding: 0 36px 32px;
}
.post-nav a {
  display: block;
  padding: 16px 20px;
  border-radius: 10px;
  text-decoration: none;
  transition: all 0.25s ease;
}
.nav-label {
  font-size: 0.72rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
  display: block;
}
.nav-title {
  font-size: 0.92rem;
  display: block;
  line-height: 1.35;
}

/* === RELATED === */
.related-section {
  padding: 28px 36px 36px;
  border-top: 1px solid rgba(0,0,0,0.06);
}
.related-section h4 {
  margin-bottom: 18px;
  font-size: 1.05rem;
}
.related-row {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 12px;
  border-radius: 8px;
  margin-bottom: 10px;
  transition: background 0.2s;
}
.related-row:hover {
  background: rgba(0,0,0,0.02);
}
.related-row img {
  width: 100px;
  height: 65px;
  object-fit: cover;
  border-radius: 6px;
  flex-shrink: 0;
}
.related-info h6 {
  margin: 0 0 4px;
  font-size: 0.9rem;
  line-height: 1.3;
}
.related-excerpt {
  font-size: 0.8rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* === SIDEBAR (POST PAGE) === */
.article-sidebar {
  position: relative;
}
.sidebar-sticky {
  position: sticky;
  top: 95px;
  max-height: calc(100vh - 110px);
  overflow-y: auto;
  scrollbar-width: thin;
}
.article-sidebar .sidebar-widget {
  margin-bottom: 20px;
  overflow: hidden;
}
.sidebar-widget-title {
  font-size: 0.82rem;
  padding: 14px 16px;
  font-weight: 700;
  display: flex;
  align-items: center;
  margin: 0;
}
.sidebar-toc a {
  display: block;
  padding: 9px 16px;
  font-size: 0.86rem;
  border-left: 3px solid transparent;
  transition: all 0.2s;
  line-height: 1.3;
}
.sidebar-recent a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 16px;
  text-decoration: none;
  transition: background 0.2s;
}
.sidebar-recent a:hover {
  background: rgba(0,0,0,0.02);
}
.sidebar-recent .num {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: #fff;
  flex-shrink: 0;
}
.sidebar-recent .recent-title {
  font-size: 0.88rem;
  line-height: 1.3;
}
.sidebar-cats a {
  display: flex;
  justify-content: space-between;
  padding: 10px 16px;
  font-size: 0.88rem;
  text-decoration: none;
  transition: background 0.2s;
}
.sidebar-cats a:hover {
  background: rgba(0,0,0,0.02);
}
.sidebar-cats .cat-count {
  font-size: 0.72rem;
  padding: 2px 8px;
  border-radius: 10px;
}

/* === FLOATING SHARE === */
.floating-share {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.floating-share a, .floating-share span {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.9rem;
  transition: transform 0.2s, box-shadow 0.2s;
  cursor: pointer;
  text-decoration: none;
}
.floating-share a:hover, .floating-share span:hover {
  transform: scale(1.12);
  box-shadow: 0 4px 14px rgba(0,0,0,0.15);
}

/* === HEADER SHARE === */
.header-share {
  display: flex;
  gap: 6px;
  margin-left: auto;
}
.header-share a, .header-share span {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  transition: all 0.2s;
  cursor: pointer;
}

/* === BLOG INDEX LAYOUT === */
.featured-section {
  overflow: hidden;
  margin-bottom: 28px;
}
.article-feed {
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* === MOBILE === */
@media (max-width: 992px) {
  .article-body-wrap {
    grid-template-columns: 1fr !important;
    padding: 16px 12px;
    gap: 20px;
  }
  .article-sidebar { display: none; }
  .article-content { padding: 20px 16px; }
  .article-title { font-size: 1.65rem !important; }
  .post-nav { padding: 0 16px 24px; grid-template-columns: 1fr; }
  .related-section { padding: 20px 16px; }
  .article-header { padding: 20px 0 16px; }
  .floating-share { display: none !important; }
  .featured-main { min-height: 280px !important; }
  .navbar, .navbar-hebrew { padding: 0 12px !important; }
}
@media (max-width: 576px) {
  .article-title { font-size: 1.4rem !important; }
  .article-content { padding: 16px 12px; }
  .content-area { font-size: 0.98rem; }
}


:root {
  --brand-font: 'Bebas Neue', sans-serif;
  --heading-font: 'Oswald', sans-serif;
  --nav-font: 'Rajdhani', sans-serif;
  --body-font: 'Lato', sans-serif;
  --primary: #1b5e20; --primary-dark: #0d3b12; --accent: #ffd600;
  --surface: #ffffff; --bg: #f0f0eb; --text: #1a1a1a; --text-muted: #6b6b6b;
}
body { font-family: var(--body-font); background: var(--bg); color: var(--text); line-height: 1.65; }
h1,h2,h3,h4,h5,h6 { font-family: var(--heading-font); text-transform: uppercase; letter-spacing: 0.3px; font-weight: 700; color: #111; line-height: 1.15; }

.navbar, .navbar-hebrew { background: linear-gradient(135deg, #0d3b12 0%, #1b5e20 60%, #2e7d32 100%) !important; border-bottom: 3px solid var(--accent); padding: 0 24px !important; min-height: 56px; box-shadow: 0 2px 12px rgba(0,0,0,0.25); }
.navbar .navbar-brand { font-family: var(--brand-font) !important; font-size: 1.7rem !important; letter-spacing: 2px !important; color: #fff !important; text-transform: uppercase; line-height: 56px; }
.navbar a.nav-link, .navbar .nav-item a { font-family: var(--nav-font) !important; font-weight: 600 !important; font-size: 0.95rem !important; text-transform: uppercase !important; letter-spacing: 1px !important; color: rgba(255,255,255,0.8) !important; }
.navbar a:hover { color: var(--accent) !important; }

.cat-bar, .categories-nav, .category-bar { background: #111; border-bottom: 1px solid #222; }
.cat-bar a, .cat-bar-link, .category-bar a, .categories-nav a { font-family: var(--nav-font); font-weight: 600; text-transform: uppercase; font-size: 0.78rem; letter-spacing: 1.2px; color: #999; padding: 10px 16px; display: inline-block; border-bottom: 2px solid transparent; transition: all 0.2s; }
.cat-bar a:hover, .cat-bar-link:hover, .cat-bar-link.active, .category-bar a:hover, .categories-nav a:hover { color: var(--accent); border-bottom-color: var(--accent); background: rgba(255,214,0,0.05); }

.featured-main { min-height: 480px; position: relative; background: linear-gradient(135deg, #0d3b12 0%, #1b5e20 30%, #2e7d32 60%, #1b5e20 100%) !important; background-size: 400% 400%; animation: grassShimmer 8s ease infinite; }
@keyframes grassShimmer { 0%,100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.featured-main::before { content: ''; position: absolute; inset: 0; background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E"); opacity: 0.5; }
.featured-main::after { content: ''; position: absolute; bottom: 0; left: 0; right: 0; height: 70%; background: linear-gradient(transparent, rgba(0,0,0,0.85)); }
.featured-main .featured-title { font-family: var(--heading-font) !important; font-size: 2.4rem !important; text-transform: uppercase; letter-spacing: 0.5px; line-height: 1.05; color: #fff; text-shadow: 0 2px 12px rgba(0,0,0,0.4); }
.featured-main .featured-category { background: var(--accent); color: #111; font-family: var(--nav-font); font-weight: 700; font-size: 0.7rem; text-transform: uppercase; letter-spacing: 1.5px; padding: 4px 14px; border-radius: 2px; }

.featured-side .article-item, .featured-list .article-item, .featured-list-item { border-left: 3px solid var(--primary); padding: 14px 16px; transition: border-color 0.2s; }
.featured-side .article-item:hover, .featured-list-item:hover { border-left-color: var(--accent); }

.article-row, .post-card { background: var(--surface); border-left: 4px solid var(--primary); margin-bottom: 16px; padding: 20px; border-radius: 0 8px 8px 0; transition: all 0.2s; box-shadow: 0 1px 3px rgba(0,0,0,0.04); }
.article-row:hover, .post-card:hover { border-left-color: var(--accent); box-shadow: 0 4px 16px rgba(0,0,0,0.08); transform: translateX(2px); }
.article-row h3, .post-card h3 { font-family: var(--heading-font); font-size: 1.15rem; text-transform: uppercase; letter-spacing: 0.3px; margin-bottom: 6px; }
.article-row h3 a { color: #111; text-decoration: none; }
.article-row h3 a:hover { color: var(--primary); }
.article-row .text-muted { font-family: var(--nav-font); font-size: 0.8rem; color: var(--text-muted); letter-spacing: 0.5px; }

.sidebar-widget { background: var(--surface); border-radius: 8px; border-top: 3px solid var(--primary); box-shadow: 0 1px 4px rgba(0,0,0,0.05); margin-bottom: 20px; overflow: hidden; }
.sidebar-widget h4, .sidebar-widget h3, .sidebar-widget .sidebar-widget-title { font-family: var(--heading-font) !important; color: #fff !important; background: var(--primary) !important; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.82rem !important; padding: 12px 16px; margin: 0 !important; }
.sidebar-widget a { color: #333; font-family: var(--body-font); font-size: 0.9rem; }
.sidebar-widget a:hover { color: var(--primary); }
.sidebar-widget li { padding: 10px 16px; border-bottom: 1px solid #f0f0f0; }
.sidebar-widget .badge { background: var(--primary); font-family: var(--nav-font); font-size: 0.7rem; }

footer, .site-footer, .footer-hebrew { background: #111 !important; color: #aaa; padding-top: 40px; }
.footer-accent-bar { background: linear-gradient(90deg, var(--primary), var(--accent), var(--primary)) !important; height: 4px !important; }
footer h5, footer h4 { font-family: var(--heading-font) !important; color: var(--accent) !important; text-transform: uppercase; letter-spacing: 1.5px; font-size: 0.85rem !important; margin-bottom: 16px; }
footer .footer-brand { font-family: var(--brand-font) !important; font-size: 1.4rem !important; letter-spacing: 2px; color: #fff !important; }
footer a { color: #888; transition: color 0.2s; }
footer a:hover { color: var(--accent); }

.btn-primary { background: var(--primary); border-color: var(--primary); font-family: var(--nav-font); text-transform: uppercase; letter-spacing: 1px; font-weight: 600; border-radius: 3px; padding: 8px 24px; }
.btn-primary:hover { background: var(--accent); border-color: var(--accent); color: #111; }
.badge, .category-badge { font-family: var(--nav-font); text-transform: uppercase; letter-spacing: 1px; font-size: 0.65rem; font-weight: 600; }
a { color: var(--primary); }

/* === TOTAL FOOTBALL — SINGLE POST === */
.article-header { background: linear-gradient(180deg, #f0f0eb 0%, #fff 100%); border-bottom: 3px solid #1b5e20; }
.article-title { font-family: 'Oswald', sans-serif !important; text-transform: uppercase !important; letter-spacing: 0.5px; color: #111 !important; }
.article-subtitle { font-family: 'Lato', sans-serif; color: #555; font-style: italic; }
.cat-tag { background: #ffd600 !important; color: #111 !important; font-family: 'Rajdhani', sans-serif; font-weight: 700; text-transform: uppercase; letter-spacing: 1.5px; border-radius: 2px !important; }
.article-meta { font-family: 'Rajdhani', sans-serif; text-transform: uppercase; letter-spacing: 0.5px; }
.article-main { border-radius: 0 8px 8px 0 !important; border-left: 5px solid #1b5e20; }
.article-featured-img { border-bottom: 4px solid #1b5e20; }
.content-area h2 { font-family: 'Oswald', sans-serif !important; text-transform: uppercase; color: #1b5e20; border-bottom: 2px solid #ffd600; }
.content-area h3 { font-family: 'Oswald', sans-serif !important; text-transform: uppercase; color: #333; }
.content-area blockquote { border-left: 4px solid #ffd600; background: rgba(255,214,0,0.08); font-family: 'Lato', sans-serif; font-style: italic; font-size: 1.1rem; }
.content-area a { color: #1b5e20; font-weight: 600; }
.content-area a:hover { color: #ffd600; }
.progress-bar-top .bar { background: #ffd600 !important; }
.sidebar-toc a.active { border-left-color: #ffd600 !important; color: #1b5e20 !important; font-weight: 600; }
.sidebar-recent .num { background: #1b5e20 !important; }
.sidebar-cats .cat-count { background: rgba(27,94,32,0.1); color: #1b5e20; }
.post-nav a { background: #f0f0eb; border: 1px solid #ddd; }
.post-nav a:hover { border-color: #1b5e20; background: rgba(27,94,32,0.03); }
.nav-label { font-family: 'Rajdhani', sans-serif !important; color: #1b5e20; font-weight: 600; }
.nav-title { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.88rem; color: #333; }
.related-section h4 { font-family: 'Oswald', sans-serif !important; text-transform: uppercase; color: #1b5e20; }
.related-info h6 a { font-family: 'Oswald', sans-serif; text-transform: uppercase; font-size: 0.85rem; color: #111; }
.related-info h6 a:hover { color: #1b5e20; }
.floating-share .share-wa { background: #25D366; color: #fff; }
.floating-share .share-fb { background: #1877F2; color: #fff; }
.floating-share .share-tw { background: #1DA1F2; color: #fff; }
.floating-share .share-cp { background: #1b5e20; color: #fff; }
.header-share a, .header-share span { color: #1b5e20; }
