/* pSEO Base Styles — shared across all static article pages */
* { box-sizing: border-box; margin: 0; padding: 0; }
body { font-family: system-ui, -apple-system, sans-serif; background: #120014; color: white; line-height: 1.6; }
.container { max-width: 56rem; margin: 0 auto; padding: 1.5rem; }
h1 { font-size: 2.5rem; font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 1.5rem; }
@media (min-width: 768px) { h1 { font-size: 3.5rem; } }
a { color: white; }
a:hover { color: rgba(255,255,255,0.8); }

/* CTA */
.cta { background: #120014; border: 2px solid rgba(255,255,255,0.2); border-radius: 2rem; padding: 4rem 2rem; text-align: center; margin-top: 4rem; }
.cta-title { font-size: 2rem; font-weight: 900; margin-bottom: 1rem; }
.cta-button { display: inline-block; padding: 1rem 2.5rem; border-radius: 1rem; background: white; color: #120014; font-weight: 900; text-decoration: none; font-size: 1rem; transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease; }
.cta-button:hover { background: rgba(255,255,255,0.92); color: #120014 !important; transform: translateY(-1px); }

/* Cards & Grids */
.card { background: rgba(255,255,255,0.08); border-radius: 1.5rem; border: 1px solid rgba(255,255,255,0.15); padding: 1.5rem; }
.grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 1rem; }
.badge-img { width: 2rem; height: 2rem; object-fit: contain; }

/* Sections */
.section { margin-bottom: 3rem; }
.section-title { font-size: 1.5rem; font-weight: 900; margin-bottom: 1.5rem; }

/* Stats */
.stat-box { background: rgba(255,255,255,0.05); border-radius: 1rem; padding: 1rem; text-align: center; border: 1px solid rgba(255,255,255,0.1); }
.stat-value { font-size: 1.5rem; font-weight: 900; color: white; }
.stat-label { font-size: 0.7rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 0.25rem; }

/* Tables */
table { width: 100%; text-align: left; border-collapse: collapse; }
th { padding: 0.75rem 1rem; background: rgba(255,255,255,0.08); font-weight: 800; font-size: 0.65rem; color: rgba(255,255,255,0.5); text-transform: uppercase; letter-spacing: 0.15em; border-bottom: 1px solid rgba(255,255,255,0.1); }
td { padding: 0.75rem 1rem; border-bottom: 1px solid rgba(255,255,255,0.08); color: rgba(255,255,255,0.9); font-size: 0.9rem; }
.table-wrapper { overflow-x: auto; border-radius: 1rem; border: 1px solid rgba(255,255,255,0.15); background: rgba(0,0,0,0.2); }

/* FDR colours */
.fdr-1, .fdr-2 { background: rgba(16,185,129,0.2); color: #10b981; }
.fdr-3 { background: rgba(251,191,36,0.2); color: #fbbf24; }
.fdr-4 { background: rgba(244,114,182,0.2); color: #f472b6; }
.fdr-5 { background: rgba(239,68,68,0.2); color: #ef4444; }

/* Tags */
.tag { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 9999px; font-size: 0.75rem; font-weight: 700; }

/* Related Links */
.related-links { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.related-link { padding: 0.5rem 1rem; border-radius: 0.75rem; background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.15); color: rgba(255,255,255,0.8); text-decoration: none; font-size: 0.85rem; font-weight: 600; }
.related-link:hover { background: rgba(255,255,255,0.15); color: white; }

/* FAQ Accordion */
.faq-accordion { display:flex; flex-direction:column; gap:0.75rem; }
.faq-accordion details { background:linear-gradient(135deg, #37003c, #2d0030); border-radius:1rem; border:1px solid rgba(255,255,255,0.1); overflow:hidden; transition:border-color 0.3s; }
.faq-accordion details:hover { border-color:rgba(255,255,255,0.2); }
.faq-accordion details[open] { border-color:rgba(255,255,255,0.2); }
.faq-accordion summary { padding:1.25rem 1.5rem; cursor:pointer; font-size:1.05rem; font-weight:600; color:white; list-style:none; display:flex; justify-content:space-between; align-items:center; }
.faq-accordion summary::-webkit-details-marker { display:none; }
.faq-accordion summary::after { content:'+'; font-size:1.5rem; font-weight:300; color:rgba(255,255,255,0.6); transition:transform 0.3s; }
.faq-accordion details[open] summary::after { content:'\2212'; }
.faq-accordion .faq-answer { padding:0 1.5rem 1.25rem; color:rgba(255,255,255,0.9); line-height:1.7; border-top:1px solid rgba(255,255,255,0.05); }

/* Last Refreshed */
.last-refreshed { margin-bottom: 1rem; display: flex; justify-content: flex-end; align-items: center; gap: 0.45rem; padding: 0.35rem 0; color: rgba(255,255,255,0.6); font-size: 0.72rem; font-weight: 500; letter-spacing: 0.03em; font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace; }

/* Wiki Layout */
.wiki-layout { display: grid; grid-template-columns: 16.5rem minmax(0, 1fr); gap: 1.25rem; align-items: start; }
.wiki-sidebar { position: sticky; top: 6rem; padding: 1rem; border-radius: 1rem; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.12); }
.wiki-sidebar-title { font-size: 0.72rem; font-weight: 900; color: rgba(255,255,255,0.5); letter-spacing: 0.12em; text-transform: uppercase; margin-bottom: 0.8rem; }
.wiki-sidebar a { display: block; padding: 0.5rem 0.65rem; border-radius: 0.65rem; color: rgba(255,255,255,0.82); text-decoration: none; font-size: 0.88rem; font-weight: 700; }
.wiki-sidebar a:hover { background: rgba(255,255,255,0.12); color: white; }
.wiki-mobile-nav { display: none; margin: 0 0 1rem; overflow-x: auto; padding-bottom: 0.25rem; }
.wiki-mobile-nav a { flex: 0 0 auto; }
@media (max-width: 1024px) {
  .wiki-layout { display: block; }
  .wiki-sidebar { display: none; }
  .wiki-mobile-nav { display: flex; gap: 0.5rem; }
}

/* Captain Picks article header */
header { text-align: center; margin-bottom: 4rem; padding-top: 5rem; }
.intro { font-size: 1.1rem; color: rgba(255,255,255,0.8); max-width: 38rem; margin: 0 auto 2rem; }

/* Captain Podium */
.captain-podium-static { margin: 0 0 3rem; }
.podium-row { display: flex; justify-content: center; align-items: flex-end; gap: 0; min-height: 260px; }
.podium-player { width: 180px; display: flex; flex-direction: column; align-items: center; }
.podium-center { transform: scale(1.15); z-index: 2; }
.podium-side { z-index: 1; }
.podium-side:first-child { margin-right: -20px; }
.podium-side:last-child { margin-left: -20px; }
.podium-image-frame { width: 170px; height: 220px; display: flex; align-items: flex-end; justify-content: center; }
.podium-image-frame img { width: 100%; height: 100%; object-fit: contain; object-position: bottom; filter: drop-shadow(0 10px 24px rgba(0,0,0,0.45)); }
.podium-fallback { width: 130px; height: 160px; border-radius: 14px; background: rgba(255,255,255,0.1); }
.podium-meta { margin-top: 0.35rem; text-align: center; }
.podium-name { font-size: 0.9rem; font-weight: 900; letter-spacing: -0.01em; }
.podium-fixture { font-size: 0.7rem; color: rgba(255,255,255,0.7); font-weight: 700; }
@media (max-width: 640px) {
  .podium-player { width: 120px; }
  .podium-image-frame { width: 115px; height: 145px; }
  .podium-side:first-child { margin-right: -10px; }
  .podium-side:last-child { margin-left: -10px; }
  .podium-name { font-size: 0.72rem; }
  .podium-fixture { font-size: 0.6rem; }
}

/* GW Review section-title override */
.section-title::after { content: ''; flex: 1; height: 2px; background: rgba(255,255,255,0.1); }
