/*
Theme Name: Standings Today
Theme URI: https://standingstoday.com
Description: Child theme of Kadence for standingstoday.com — premium typography, header, cards, tables and footer for a live standings site. Lightweight: no fonts loaded, no JavaScript.
Author: Standings Today
Template: kadence
Version: 1.1.0
Text Domain: standingstoday-child
*/

/* ---------- 1. Design tokens (Kadence globals overridden) ---------- */
:root{
  --st-navy:#0a1628; --st-navy-2:#122346; --st-gold:#d4af37; --st-gold-2:#b8962e; --st-blue:#1d4ed8; --st-ink:#0f172a; --st-muted:#64748b;
  --st-line:#e5e7eb; --st-bg:#f4f6f9; --st-card:#ffffff; --st-radius:16px; --st-shadow:0 10px 30px -12px rgba(10,22,40,.18),0 1px 2px rgba(10,22,40,.05);
  --global-palette1:var(--st-blue); --global-palette2:var(--st-navy); --global-palette3:var(--st-ink); --global-palette4:#334155; --global-palette5:var(--st-muted);
  --global-palette7:#f8fafc; --global-palette8:var(--st-bg); --global-palette9:#ffffff;
  --global-heading-font-family:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --global-body-font-family:"Segoe UI",system-ui,-apple-system,"Helvetica Neue",Arial,sans-serif;
  --global-content-width:1240px;
}
body{background:var(--st-bg);color:var(--st-ink);-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}
h1,h2,h3,h4{letter-spacing:-.015em;color:var(--st-ink)}
a{color:var(--st-blue)}a:hover{color:var(--st-navy)}

/* ---------- 2. Header ---------- */
.site-header{background:linear-gradient(180deg,#ffffff,#f7f9fc);box-shadow:0 1px 0 var(--st-line),0 8px 24px -18px rgba(10,22,40,.35)}
.site-header .site-branding img{max-height:44px;width:auto}
.site-header .main-navigation .primary-menu-container>ul>li>a{font-weight:600;font-size:.95rem;color:#334155;padding:.9em .75em;position:relative;transition:color .15s}
.site-header .main-navigation .primary-menu-container>ul>li>a:after{content:"";position:absolute;left:.75em;right:.75em;bottom:.55em;height:2px;border-radius:2px;background:var(--st-gold);transform:scaleX(0);transform-origin:left;transition:transform .18s}
.site-header .main-navigation .primary-menu-container>ul>li>a:hover,.site-header .main-navigation .primary-menu-container>ul>li.current-menu-item>a,.site-header .main-navigation .primary-menu-container>ul>li.current-menu-ancestor>a{color:var(--st-navy);background:transparent}
.site-header .main-navigation .primary-menu-container>ul>li>a:hover:after,.site-header .main-navigation .primary-menu-container>ul>li.current-menu-item>a:after{transform:scaleX(1)}
.site-header .main-navigation .primary-menu-container>ul>li>a:focus-visible{outline:2px solid var(--st-blue);outline-offset:-2px;border-radius:6px}
.mobile-toggle-open-container .menu-toggle-open{border-radius:10px}
.mobile-navigation ul li a{font-weight:600}

/* ---------- 3. Content card ---------- */
.content-style-boxed .entry.single-entry,.content-style-boxed .entry-content-wrap{border-radius:var(--st-radius)}
.entry.single-entry{box-shadow:var(--st-shadow)!important;border:1px solid #eef1f5;background:var(--st-card)}
.content-area{margin-top:2.2rem;margin-bottom:3rem}
.entry-header .entry-title{font-size:clamp(1.6rem,1.2rem + 1.6vw,2.4rem);font-weight:800;line-height:1.15;text-align:center;margin-bottom:.4em}
.entry-header .entry-title:after{content:"";display:block;width:56px;height:4px;border-radius:4px;margin:.55em auto 0;background:linear-gradient(90deg,var(--st-blue),var(--st-gold))}
.entry-content>p,.entry-content>ul,.entry-content>ol{font-size:1.02rem;line-height:1.7;color:#1f2937}
.entry-content h2{font-size:clamp(1.25rem,1rem + .9vw,1.6rem);font-weight:800;margin:2.2em 0 .7em}
.entry-content h3{font-size:1.12rem;font-weight:700}
.entry-content .wp-block-table.sth-facts table{border-collapse:separate;border-spacing:0;border:1px solid var(--st-line);border-radius:12px;overflow:hidden;max-width:820px;margin:0 auto 1.6em}
.entry-content .wp-block-table.sth-facts th{background:#f1f5f9;width:34%;font-weight:700;text-align:left;padding:.7em .9em;border-bottom:1px solid var(--st-line)}
.entry-content .wp-block-table.sth-facts td{padding:.7em .9em;border-bottom:1px solid var(--st-line)}
.entry-content .wp-block-table.sth-facts tr:last-child th,.entry-content .wp-block-table.sth-facts tr:last-child td{border-bottom:0}
.wp-block-buttons .wp-block-button__link{border-radius:999px;font-weight:600}

/* ---------- 4. Plugin surfaces: make them feel native to the theme ---------- */
.sth-wrap,.sth-vpage{--sth-accent:var(--st-blue);--sth-border:var(--st-line);--sth-head:#f1f5f9;--sth-muted:var(--st-muted);--sth-text:var(--st-ink)}
.sth-quick{border-radius:var(--st-radius)}
.sth-nav .sth-tabs li.is-active a{color:var(--st-navy)}
.sth-tabs a{font-weight:600}
.sth-table th{letter-spacing:.04em}
.sth-share{border-radius:999px}

/* ---------- 5. Footer (markup in functions.php) ---------- */
.st-foot{background:linear-gradient(180deg,var(--st-navy-2),var(--st-navy));color:#cbd5e1;border-top:4px solid var(--st-gold);margin-top:2.5rem;font-size:.93rem;line-height:1.6}
.st-foot a{color:#e2e8f0;text-decoration:none;transition:color .15s}.st-foot a:hover{color:var(--st-gold)}
.st-foot-in{max-width:var(--global-content-width);margin:0 auto;padding:3rem 1.25rem 2.2rem;display:grid;grid-template-columns:1.6fr 1fr 1.2fr 1fr;gap:2.5rem}
.st-foot-logo{display:inline-block;background:#fff;padding:.45rem .75rem;border-radius:10px;line-height:0}
.st-foot-logo.is-light{background:transparent;padding:0}
.st-foot-logo img{max-height:36px;width:auto;height:auto;display:block}
.st-foot-name{font-weight:800;font-size:1.25rem;color:#fff;letter-spacing:-.01em}
.st-foot-brand p{margin:.9rem 0 0;max-width:34ch;color:#cbd5e1}
.st-foot-social{display:flex;gap:.6rem;margin-top:1.2rem}
.st-foot-social a{width:38px;height:38px;border-radius:10px;display:inline-flex;align-items:center;justify-content:center;background:rgba(255,255,255,.07);border:1px solid rgba(255,255,255,.1)}
.st-foot-social a:hover{background:rgba(212,175,55,.16);border-color:rgba(212,175,55,.5)}
.st-foot-social svg{width:18px;height:18px;fill:currentColor}
.st-foot-col h2{color:#fff;font-size:.8rem;font-weight:700;text-transform:uppercase;letter-spacing:.1em;margin:0 0 1rem}
.st-foot-col ul{list-style:none;margin:0;padding:0}.st-foot-col li{margin:0 0 .5rem}
.st-foot-bottom{border-top:1px solid rgba(255,255,255,.08)}
.st-foot-bottom .st-foot-in{display:flex;justify-content:space-between;align-items:center;gap:1rem;padding:1rem 1.25rem}
.st-foot-bottom p{margin:0;font-size:.83rem;color:#94a3b8}
.st-foot-top{font-size:.83rem;font-weight:600;white-space:nowrap;padding:.45em .9em;border-radius:999px;border:1px solid rgba(255,255,255,.14)}
.st-foot-top:hover{border-color:var(--st-gold)}
@media (max-width:900px){.st-foot-in{grid-template-columns:1fr 1fr;gap:2rem}.st-foot-brand{grid-column:1/-1}}
@media (max-width:600px){.st-foot-in{gap:1.6rem 1.2rem;padding:2.2rem 1rem 1.6rem}.st-foot-bottom .st-foot-in{flex-direction:column;text-align:center}}

/* ---------- 6. Utilities ---------- */
.scroll-up-wrap .scroll-up{border-radius:12px;background:var(--st-navy);color:#fff}
::selection{background:rgba(212,175,55,.35)}
@media (prefers-reduced-motion:reduce){*{transition:none!important}}

/* ---------- 7. Responsive ---------- */
@media (max-width:1024px){.content-area{margin-top:1.6rem}.entry-content-wrap{padding:1.5rem}}
@media (max-width:767px){
  .content-area{margin-top:0;margin-bottom:2rem}
  .content-style-boxed .entry.single-entry{border-radius:0;border-left:0;border-right:0;box-shadow:none!important}
  .entry-content-wrap{padding:1.1rem .9rem}
  .entry-header .entry-title{font-size:1.45rem}
  .entry-content>p,.entry-content>ul,.entry-content>ol{font-size:.98rem}
}
