/*
Theme Name:  MatchPreview
Theme URI:   https://matchpreview.com.ng
Author:      Ime Okon
Author URI:  https://matchpreview.com.ng
Description: A football news and match preview theme for MatchPreview.com.ng — built in the style of Football Insider with deep forest green and electric lime branding.
Version:     1.0.8
License:     GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: matchpreview
Tags:        football, sports, news, two-columns, custom-header, custom-menu
*/

/* ─── RESET & BASE ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --green-dark:   #0D2B1A;
  --green-mid:    #1a4d2e;
  --green-light:  #f8fdf4;
  --lime:         #C2FF3F;
  --lime-hover:   #aaed2e;
  --white:        #ffffff;
  --off-white:    #f5f5f5;
  --body-text:    #222222;
  --muted:        #888888;
  --border:       #e8e8e8;
  --tag-bg:       #f0f0f0;
  --link:         #0D2B1A;
  --font-body:    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-serif:   Georgia, 'Times New Roman', serif;
  --max-width:    1200px;
  --article-max:  860px;
}

html { font-size: 16px; scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--off-white); color: var(--body-text); line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--link); text-decoration: none; }
a:hover { text-decoration: underline; }
ul, ol { list-style: none; }

/* ─── SCREEN READER TEXT ────────────────────────────────────────────────────── */
.sr-only {
  position: absolute; width: 1px; height: 1px;
  padding: 0; margin: -1px; overflow: hidden;
  clip: rect(0,0,0,0); border: 0;
}

/* ─── SITE WRAPPER ──────────────────────────────────────────────────────────── */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* ════════════════════════════════════════════════════════════════════════════
   HEADER
════════════════════════════════════════════════════════════════════════════ */
.site-header {
  background: var(--green-dark);
  position: sticky; top: 0; z-index: 100;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.header-primary {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
  height: 58px;
  display: flex; align-items: center; justify-content: space-between;
}

/* Logo */
.site-logo a {
  font-size: 18px; font-weight: 700; color: var(--lime);
  letter-spacing: -0.4px; text-decoration: none;
}
.site-logo a span { color: var(--white); }

/* Primary Nav */
.primary-nav { display: flex; align-items: center; gap: 2px; }
.primary-nav a {
  color: rgba(255,255,255,0.75); font-size: 13px;
  padding: 7px 12px; border-radius: 5px;
  text-decoration: none; transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}
.primary-nav a:hover,
.primary-nav a.current-menu-item { background: rgba(194,255,63,0.12); color: var(--lime); }
.primary-nav .menu-subscribe {
  background: var(--lime); color: var(--green-dark) !important;
  font-weight: 600; margin-left: 8px; border-radius: 5px;
}
.primary-nav .menu-subscribe:hover { background: var(--lime-hover); }

/* Hamburger (mobile) */
.menu-toggle {
  display: none; background: none; border: none;
  color: var(--white); cursor: pointer; padding: 8px; font-size: 24px;
}



/* ════════════════════════════════════════════════════════════════════════════
   HOMEPAGE
════════════════════════════════════════════════════════════════════════════ */

/* ── Hero Feature ── */
.hero-section { background: var(--white); border-bottom: 1px solid var(--border); }
.hero-inner { max-width: var(--max-width); margin: 0 auto; padding: 32px 24px; }

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 340px;
  grid-template-rows: auto auto;
  gap: 24px;
}

.hero-main { grid-column: 1; grid-row: 1 / 3; }
.hero-main .post-card { height: 100%; }
.hero-main .post-card-image { aspect-ratio: 1200 / 630; height: auto; }

.hero-side { grid-column: 2; grid-row: 1; }
.hero-side2 { grid-column: 2; grid-row: 2; }

/* ── Post Card ── */
.post-card { background: var(--white); border: 1px solid var(--border); border-radius: 6px; overflow: hidden; transition: box-shadow 0.15s; display: flex; flex-direction: column; }
.post-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.08); }
.post-card-image { aspect-ratio: 1200 / 630; overflow: hidden; background: var(--green-dark); }
.post-card-image img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform 0.3s; }
.post-card:hover .post-card-image img { transform: scale(1.03); }
.post-card-body { padding: 16px; flex: 1; display: flex; flex-direction: column; }
.post-card-category { font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; font-weight: 700; color: var(--green-dark); margin-bottom: 7px; }
.post-card-title { font-family: var(--font-serif); font-size: 17px; font-weight: 700; line-height: 1.3; color: #111; margin-bottom: 8px; }
.post-card-title a { color: #111; text-decoration: none; }
.post-card-title a:hover { color: var(--green-dark); text-decoration: underline; }
.post-card-excerpt { font-size: 13px; color: var(--muted); line-height: 1.5; flex: 1; }
.post-card-meta { display: flex; align-items: center; gap: 8px; margin-top: 12px; padding-top: 10px; border-top: 1px solid var(--border); font-size: 11px; color: var(--muted); }
.post-card-meta .dot { color: #ccc; }

/* Exclusive badge on cards */
.post-card-badge { display: inline-block; background: var(--lime); color: var(--green-dark); font-size: 9px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 2px 7px; border-radius: 3px; margin-bottom: 8px; }

/* ── Section Headers ── */
.section-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; padding-bottom: 10px; border-bottom: 2px solid var(--green-dark); }
.section-title { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: var(--green-dark); }
.section-link { font-size: 12px; font-weight: 600; color: var(--green-dark); text-decoration: none; }
.section-link:hover { color: var(--green-mid); text-decoration: underline; }

/* ── Content Sections ── */
.content-section { max-width: var(--max-width); margin: 0 auto; padding: 40px 24px; }

.posts-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.posts-grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }

/* ── World Cup Section ── */
.worldcup-section { background: var(--green-dark); padding: 40px 0; }
.worldcup-inner { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.worldcup-section .section-header { border-bottom-color: var(--lime); }
.worldcup-section .section-title { color: var(--lime); }
.worldcup-section .section-link { color: rgba(255,255,255,0.7); }
.worldcup-section .section-link:hover { color: var(--lime); }
.worldcup-section .post-card { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.1); }
.worldcup-section .post-card:hover { box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.worldcup-section .post-card-category { color: var(--lime); }
.worldcup-section .post-card-title a { color: var(--white); }
.worldcup-section .post-card-title a:hover { color: var(--lime); }
.worldcup-section .post-card-excerpt { color: rgba(255,255,255,0.5); }
.worldcup-section .post-card-meta { border-top-color: rgba(255,255,255,0.1); color: rgba(255,255,255,0.4); }

/* ── Ticker / Breaking Bar ── */
.breaking-bar { background: var(--lime); padding: 0; overflow: hidden; height: 36px; display: flex; align-items: center; }
.breaking-label { background: var(--green-dark); color: var(--lime); font-size: 11px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 0 16px; height: 36px; display: flex; align-items: center; white-space: nowrap; flex-shrink: 0; }
.breaking-ticker { overflow: hidden; flex: 1; }
.breaking-ticker-inner { display: flex; gap: 48px; animation: ticker 30s linear infinite; width: max-content; }
.breaking-ticker a { color: var(--green-dark); font-size: 12px; font-weight: 600; text-decoration: none; white-space: nowrap; }
.breaking-ticker a:hover { text-decoration: underline; }
@keyframes ticker { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }

/* ── Sidebar Layout ── */
.with-sidebar { display: grid; grid-template-columns: 1fr 300px; gap: 32px; }
.sidebar-widget { margin-bottom: 28px; }
.sidebar-widget-title { font-family: var(--font-serif); font-size: 15px; font-weight: 700; color: var(--green-dark); padding-bottom: 8px; border-bottom: 2px solid var(--green-dark); margin-bottom: 14px; }

/* ── Sidebar Post List ── */
.sidebar-post { display: flex; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border); }
.sidebar-post:last-child { border-bottom: none; }
.sidebar-post-thumb { width: 64px; height: 48px; object-fit: cover; object-position: top center; border-radius: 4px; flex-shrink: 0; background: var(--green-dark); }
.sidebar-post-title { font-size: 13px; font-weight: 600; line-height: 1.35; color: #111; }
.sidebar-post-title a { color: inherit; text-decoration: none; }
.sidebar-post-title a:hover { color: var(--green-dark); text-decoration: underline; }
.sidebar-post-date { font-size: 11px; color: var(--muted); margin-top: 4px; }

/* ════════════════════════════════════════════════════════════════════════════
   SINGLE ARTICLE
════════════════════════════════════════════════════════════════════════════ */
.article-wrapper { max-width: var(--article-max); margin: 0 auto; background: var(--white); }

/* ── Article Header ── */
.article-header { padding: 32px 40px 0; }
.article-breadcrumb { font-size: 11px; color: var(--muted); margin-bottom: 14px; display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.article-breadcrumb a { color: var(--green-dark); font-weight: 500; text-decoration: none; }
.article-breadcrumb a:hover { text-decoration: underline; }
.article-breadcrumb .sep { color: #ccc; }
.article-badge { display: inline-block; background: var(--lime); color: var(--green-dark); font-size: 10px; font-weight: 700; letter-spacing: 0.8px; text-transform: uppercase; padding: 3px 9px; border-radius: 3px; margin-bottom: 12px; }
.article-title { font-family: var(--font-serif); font-size: 30px; font-weight: 700; line-height: 1.22; color: #111; margin-bottom: 22px; }

/* ── Author Row ── */
.article-author-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 0 40px 18px; border-bottom: 1px solid var(--border); flex-wrap: wrap; }
.author-identity { display: flex; align-items: center; gap: 12px; }
.author-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--green-dark); color: var(--lime); font-weight: 700; font-size: 15px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.author-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-name { font-size: 13px; font-weight: 600; color: #111; }
.author-role { font-size: 11px; color: var(--muted); margin-top: 2px; }
.author-date { font-size: 11px; color: var(--muted); margin-top: 3px; }

/* ── Share Buttons ── */
.share-buttons { display: flex; gap: 8px; align-items: center; flex-shrink: 0; }
.share-btn { display: inline-flex; align-items: center; gap: 5px; padding: 7px 13px; border-radius: 20px; font-size: 12px; font-weight: 600; text-decoration: none; border: none; cursor: pointer; transition: opacity 0.15s; }
.share-btn:hover { opacity: 0.85; text-decoration: none; }
.share-btn.whatsapp { background: #25D366; color: #fff; }
.share-btn.twitter  { background: #111; color: #fff; }
.share-btn.facebook { background: #1877F2; color: #fff; }
.share-btn svg { width: 14px; height: 14px; fill: currentColor; }

/* ── Hero Image ── */
.article-hero { margin: 0 0 0; }
.article-hero img { width: 100%; height: auto; aspect-ratio: 1200 / 630; object-fit: cover; object-position: top center; display: block; }
.article-hero-caption { font-size: 11px; color: var(--muted); padding: 6px 40px; border-bottom: 1px solid var(--border); }

/* ── Article Body ── */
.article-body { padding: 28px 40px 48px; }
.article-body p { font-size: 16px; line-height: 1.8; color: var(--body-text); margin-bottom: 20px; }
.article-body p:first-child > strong:first-child { font-size: 17px; }
.article-body strong { font-weight: 600; color: var(--green-dark); }
.article-body h2 { font-family: var(--font-serif); font-size: 22px; font-weight: 700; color: #111; margin: 36px 0 14px; line-height: 1.3; }
.article-body h3 { font-family: var(--font-serif); font-size: 18px; font-weight: 700; color: #111; margin: 24px 0 10px; }
.article-body a { color: var(--green-dark); text-decoration: underline; text-decoration-color: var(--lime); text-decoration-thickness: 2px; }
.article-body a:hover { color: var(--green-mid); }
.article-body ul, .article-body ol { margin: 0 0 20px 24px; list-style: disc; }
.article-body li { font-size: 16px; line-height: 1.8; margin-bottom: 6px; }
.article-body blockquote { border-left: 4px solid var(--lime); padding: 12px 20px; margin: 24px 0; background: var(--green-light); border-radius: 0 6px 6px 0; font-style: italic; color: #444; }

/* ── Related Article Card (in-body) ── */
.related-card { margin: 28px 0; border-left: 4px solid var(--lime); background: var(--green-light); padding: 14px 18px; border-radius: 0 6px 6px 0; display: flex; gap: 14px; align-items: flex-start; }
.related-card-thumb { width: 80px; height: 60px; border-radius: 4px; overflow: hidden; flex-shrink: 0; background: var(--green-dark); }
.related-card-thumb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.related-card-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--green-dark); font-weight: 700; margin-bottom: 5px; }
.related-card-title { font-size: 14px; font-weight: 600; color: #111; line-height: 1.4; }
.related-card-title a { color: inherit; text-decoration: none; }
.related-card-title a:hover { color: var(--green-dark); text-decoration: underline; }

/* ── Tags ── */
.article-tags { padding: 0 40px 28px; padding-top: 24px; border-top: 1px solid var(--border); margin: 0 0 0; }
.article-tags-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; color: var(--muted); font-weight: 500; margin-bottom: 10px; }
.article-tags-list { display: flex; flex-wrap: wrap; gap: 8px; }
.article-tags-list a { background: var(--tag-bg); color: #333; font-size: 12px; padding: 5px 13px; border-radius: 20px; text-decoration: none; transition: background 0.15s, color 0.15s; }
.article-tags-list a:hover { background: var(--green-dark); color: var(--lime); }

/* ── Author Bio ── */
.author-bio { margin: 0 40px 40px; padding: 20px; background: var(--green-light); border: 1px solid #d0ebc0; border-radius: 8px; }
.author-bio-header { display: flex; align-items: center; gap: 14px; margin-bottom: 12px; }
.author-bio-avatar { width: 54px; height: 54px; border-radius: 50%; background: var(--green-dark); color: var(--lime); font-weight: 700; font-size: 17px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; overflow: hidden; }
.author-bio-avatar img { width: 100%; height: 100%; object-fit: cover; }
.author-bio-name { font-size: 15px; font-weight: 700; color: #111; }
.author-bio-role { font-size: 12px; color: var(--green-dark); font-weight: 500; margin-top: 2px; }
.author-bio-text { font-size: 13px; color: #555; line-height: 1.65; }

/* ── More Articles (below single post) ── */
.more-articles { max-width: var(--article-max); margin: 0 auto; padding: 0 0 48px; }
.more-articles-inner { padding: 0 0; }
.more-articles .section-header { padding: 0; }

/* ════════════════════════════════════════════════════════════════════════════
   LINEUP TABLE (custom shortcode output)
════════════════════════════════════════════════════════════════════════════ */
.lineup-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 24px 0; }
.lineup-team { background: var(--green-light); border: 1px solid #d0ebc0; border-radius: 8px; overflow: hidden; }
.lineup-team-header { background: var(--green-dark); color: var(--lime); font-size: 13px; font-weight: 700; padding: 10px 16px; }
.lineup-team-body { padding: 12px 16px; }
.lineup-player { display: flex; align-items: center; gap: 10px; padding: 7px 0; border-bottom: 1px solid #e0f0d0; font-size: 13px; }
.lineup-player:last-child { border-bottom: none; }
.lineup-number { width: 22px; height: 22px; background: var(--green-dark); color: var(--lime); border-radius: 50%; font-size: 10px; font-weight: 700; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.lineup-name { font-weight: 500; color: #111; }
.lineup-pos { font-size: 11px; color: var(--muted); margin-left: auto; }

/* ── Odds Box ── */
.odds-box { background: var(--green-dark); color: var(--white); border-radius: 8px; padding: 20px; margin: 24px 0; }
.odds-box-title { font-size: 13px; font-weight: 700; color: var(--lime); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 14px; }
.odds-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,0.08); }
.odds-row:last-child { border-bottom: none; }
.odds-label { font-size: 13px; color: rgba(255,255,255,0.7); }
.odds-value { font-size: 17px; font-weight: 700; color: var(--lime); }

/* ── Prediction Box ── */
.prediction-box { background: var(--lime); border-radius: 8px; padding: 18px 20px; margin: 24px 0; display: flex; align-items: center; gap: 16px; }
.prediction-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; color: var(--green-dark); }
.prediction-score { font-size: 26px; font-weight: 700; color: var(--green-dark); font-family: var(--font-serif); }
.prediction-desc { font-size: 13px; color: var(--green-dark); }

/* ════════════════════════════════════════════════════════════════════════════
   FOOTER
════════════════════════════════════════════════════════════════════════════ */
.site-footer { background: var(--green-dark); color: var(--white); margin-top: auto; }
.footer-top { max-width: var(--max-width); margin: 0 auto; padding: 48px 24px 32px; display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; align-items: start; }
.footer-brand .footer-logo { font-size: 20px; font-weight: 700; color: var(--lime); letter-spacing: -0.4px; margin-bottom: 12px; }
.footer-brand .footer-logo span { color: var(--white); }
.footer-brand p { font-size: 13px; color: rgba(255,255,255,0.5); line-height: 1.65; max-width: 260px; }
.footer-col-title { font-size: 11px; text-transform: uppercase; letter-spacing: 0.9px; font-weight: 700; color: var(--lime); margin-bottom: 14px; }
.footer-col ul,
.footer-col .menu { display: flex; flex-direction: column; gap: 8px; list-style: none; margin: 0; padding: 0; }
.footer-col ul li,
.footer-col .menu li { margin: 0; padding: 0; }
.footer-col ul a,
.footer-col .menu a { font-size: 13px; color: rgba(255,255,255,0.55); text-decoration: none; transition: color 0.15s; display: inline-block; line-height: 1.5; }
.footer-col ul a:hover,
.footer-col .menu a:hover { color: var(--lime); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); }
.footer-bottom-inner { max-width: var(--max-width); margin: 0 auto; padding: 16px 24px; display: flex; align-items: center; justify-content: space-between; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.35); }
.footer-bottom-links { display: flex; gap: 20px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.35); text-decoration: none; }
.footer-bottom-links a:hover { color: var(--lime); }

/* ════════════════════════════════════════════════════════════════════════════
   PAGINATION
════════════════════════════════════════════════════════════════════════════ */
.pagination { display: flex; justify-content: center; gap: 6px; padding: 32px 0; }
.pagination a, .pagination span {
  display: inline-flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 5px;
  font-size: 14px; font-weight: 500; text-decoration: none;
  border: 1px solid var(--border); color: #444; transition: all 0.15s;
}
.pagination a:hover { background: var(--green-dark); color: var(--lime); border-color: var(--green-dark); }
.pagination .current { background: var(--green-dark); color: var(--lime); border-color: var(--green-dark); }

/* ════════════════════════════════════════════════════════════════════════════
   RESPONSIVE
════════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .hero-grid { grid-template-columns: 1fr 1fr; }
  .hero-side2 { grid-column: 1 / 3; display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
  .footer-top { grid-template-columns: 1fr 1fr; gap: 28px; }
  .posts-grid-4 { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .primary-nav { display: none; flex-direction: column; position: absolute; top: 58px; left: 0; right: 0; background: var(--green-dark); padding: 12px; z-index: 200; }
  .primary-nav.is-open { display: flex; }
  .primary-nav a { padding: 10px 16px; border-radius: 5px; }
  .menu-toggle { display: block; }
  .hero-grid { grid-template-columns: 1fr; }
  .hero-main .post-card-image { aspect-ratio: 1200 / 630; height: auto; }
  .hero-side, .hero-side2 { grid-column: 1; }
  .hero-side2 { display: block; }
  .posts-grid-3, .posts-grid-4 { grid-template-columns: 1fr; }
  .with-sidebar { grid-template-columns: 1fr; }
  .article-header, .article-author-row, .article-hero-caption,
  .article-body, .article-tags, .author-bio { padding-left: 20px; padding-right: 20px; }
  .article-title { font-size: 22px; }
  .article-author-row { flex-direction: column; gap: 12px; }
  .lineup-grid { grid-template-columns: 1fr; }
  .footer-top { grid-template-columns: 1fr; gap: 24px; }
  .footer-bottom-inner { flex-direction: column; gap: 8px; text-align: center; }
}

@media (max-width: 480px) {
  .share-buttons .share-btn span { display: none; }
  .share-btn { padding: 7px 10px; }
  .prediction-box { flex-direction: column; text-align: center; gap: 6px; }
}

/* ════════════════════════════════════════════════════════════════════════════
   MATCH INTELLIGENCE SHORTCODE
════════════════════════════════════════════════════════════════════════════ */
.mi-box {
    background: var(--green-dark);
    border-radius: 10px;
    overflow: hidden;
    margin: 28px 0;
    font-family: var(--font-body);
}

.mi-header {
    background: rgba(0,0,0,0.25);
    color: var(--lime);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 8px;
}
.mi-icon { font-size: 14px; }

.mi-matchup {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 20px 24px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.mi-team {
    font-size: 20px;
    font-weight: 700;
    color: var(--white);
    text-align: center;
    flex: 1;
}
.mi-home { text-align: right; }
.mi-away { text-align: left; }
.mi-vs {
    background: var(--lime);
    color: var(--green-dark);
    font-size: 11px;
    font-weight: 900;
    padding: 5px 10px;
    border-radius: 4px;
    letter-spacing: 1px;
    flex-shrink: 0;
}

.mi-table {
    width: 100%;
    border-collapse: collapse;
}
.mi-table tr {
    border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mi-table tr:last-child { border-bottom: none; }
.mi-label {
    padding: 9px 20px;
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255,255,255,0.45);
    font-weight: 600;
    width: 38%;
}
.mi-value {
    padding: 9px 20px 9px 0;
    font-size: 13px;
    color: var(--white);
    font-weight: 500;
}

.mi-odds {
    display: flex;
    border-top: 1px solid rgba(255,255,255,0.08);
}
.mi-odds-cell {
    flex: 1;
    text-align: center;
    padding: 14px 8px;
    border-right: 1px solid rgba(255,255,255,0.08);
}
.mi-odds-cell:last-child { border-right: none; }
.mi-odds-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    color: rgba(255,255,255,0.45);
    margin-bottom: 5px;
    font-weight: 600;
}
.mi-odds-value {
    font-size: 22px;
    font-weight: 700;
    color: var(--lime);
}

.mi-prediction {
    padding: 14px 20px;
    background: rgba(194,255,63,0.08);
    border-top: 1px solid rgba(194,255,63,0.15);
}
.mi-prediction-inner {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}
.mi-prediction-label {
    font-size: 10px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    color: rgba(255,255,255,0.45);
    font-weight: 700;
}
.mi-prediction-value {
    font-size: 15px;
    font-weight: 700;
    color: var(--white);
}
.mi-prediction-score {
    font-size: 18px;
    font-weight: 900;
    color: var(--lime);
    font-family: var(--font-serif);
}
.mi-confidence {
    font-size: 10px;
    font-weight: 700;
    color: #fff;
    padding: 3px 9px;
    border-radius: 20px;
    letter-spacing: 0.4px;
    margin-left: auto;
}

/* Ticker separator dot */
.ticker-sep { color: rgba(13,43,26,0.4); font-size: 10px; }

/* ── Responsive MI ── */
@media (max-width: 600px) {
    .mi-team { font-size: 15px; }
    .mi-odds-value { font-size: 18px; }
    .mi-prediction-inner { gap: 8px; }
    .mi-confidence { margin-left: 0; }
}

/* ── Auto tag links (in article body) ── */
.article-body a.auto-tag-link {
    color: var(--green-dark);
    text-decoration: underline;
    text-decoration-color: var(--lime);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    font-weight: 500;
    transition: color 0.15s;
}
.article-body a.auto-tag-link:hover {
    color: var(--green-mid);
    text-decoration-color: var(--green-mid);
}

/* ════════════════════════════════════════════════════════════════════════════
   RELATED POST CARD
════════════════════════════════════════════════════════════════════════════ */
.article-body .rp-card,
.rp-card {
    margin: 28px 0;
    border: 1px solid var(--border);
    border-left: 4px solid var(--lime);
    border-radius: 0 8px 8px 0;
    background: var(--green-dark);
    overflow: hidden;
    transition: box-shadow 0.15s, transform 0.15s;
    display: block !important;
}
.article-body .rp-card:hover,
.rp-card:hover {
    box-shadow: 0 4px 16px rgba(0,0,0,0.2);
    transform: translateY(-1px);
}
.article-body .rp-card-link,
.rp-card-link {
    display: flex !important;
    align-items: center !important;
    gap: 0 !important;
    text-decoration: none !important;
    color: inherit !important;
    padding: 0 !important;
    margin: 0 !important;
}
/* Override article-body ul/ol/li styles that might affect card */
.article-body .rp-card ul,
.article-body .rp-card ol,
.article-body .rp-card li {
    list-style: none !important;
    margin: 0 !important;
    padding: 0 !important;
}
.article-body .rp-thumb,
.rp-thumb {
    width: 120px !important;
    min-width: 120px !important;
    height: 90px !important;
    overflow: hidden !important;
    flex-shrink: 0 !important;
    background: rgba(0,0,0,0.3) !important;
    margin: 0 !important;
    padding: 0 !important;
}
.article-body .rp-thumb img,
.rp-thumb img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: top center !important;
    display: block !important;
    transition: transform 0.3s !important;
    margin: 0 !important;
}
.article-body .rp-card:hover .rp-thumb img,
.rp-card:hover .rp-thumb img {
    transform: scale(1.05) !important;
}
.rp-thumb-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(194,255,63,0.2);
}
.rp-thumb-placeholder svg {
    width: 32px;
    height: 32px;
}
.article-body .rp-body,
.rp-body {
    flex: 1 !important;
    padding: 14px 16px !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 5px !important;
    min-width: 0 !important;
    margin: 0 !important;
}
.article-body .rp-label,
.rp-label {
    font-size: 10px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.9px !important;
    color: var(--lime) !important;
    display: block !important;
}
.article-body .rp-title,
.rp-title {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: var(--white) !important;
    line-height: 1.35 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    transition: color 0.15s !important;
    text-decoration: none !important;
}
.article-body .rp-card:hover .rp-title,
.rp-card:hover .rp-title {
    color: var(--lime) !important;
}
.article-body .rp-meta,
.rp-meta {
    font-size: 11px !important;
    color: rgba(255,255,255,0.4) !important;
    display: block !important;
}
.article-body .rp-arrow,
.rp-arrow {
    padding: 0 16px !important;
    flex-shrink: 0 !important;
    color: rgba(255,255,255,0.25) !important;
    transition: color 0.15s, transform 0.15s !important;
    margin: 0 !important;
}
.article-body .rp-arrow svg,
.rp-arrow svg {
    width: 20px !important;
    height: 20px !important;
    display: block !important;
}
.article-body .rp-card:hover .rp-arrow,
.rp-card:hover .rp-arrow {
    color: var(--lime) !important;
    transform: translateX(3px) !important;
}

/* Mobile */
@media (max-width: 480px) {
    .article-body .rp-thumb,
    .rp-thumb {
        width: 90px !important;
        min-width: 90px !important;
        height: 75px !important;
    }
    .article-body .rp-title,
    .rp-title { font-size: 13px !important; }
    .article-body .rp-arrow,
    .rp-arrow { padding: 0 10px !important; }
}
