/* /swingchecker-video-link.css */
.swingchecker-video-link{display:inline-flex!important;align-items:center;gap:8px}.swingchecker-video-link img{width:42px;height:auto;flex:0 0 auto;filter:drop-shadow(0 3px 7px rgba(0,0,0,.22))}.drawer .swingchecker-video-link img{width:46px}.sc2-inline-brand{display:inline-flex;align-items:center;gap:.32em;vertical-align:middle}.sc2-inline-brand img{width:2.6em;max-width:74px;height:auto;vertical-align:middle;filter:drop-shadow(0 3px 7px rgba(0,0,0,.22))}.sc2-card-patch{display:block;width:min(220px,58vw);height:auto;margin:0 0 12px;filter:drop-shadow(0 8px 18px rgba(0,0,0,.3))}@media(max-width:600px){.swingchecker-video-link img{width:38px}.drawer .swingchecker-video-link img{width:42px}.sc2-inline-brand img{width:2.3em}}

/* /academy-elite.css */

/* AHD Academy identity system — v4.12.28 */
.ahd-academy-ribbon{display:flex;align-items:center;justify-content:center;gap:10px;min-height:34px;padding:7px 16px;background:linear-gradient(120deg,#121110 0%,#2a1218 55%,#5a1424 100%);color:#f4ecdf;border-bottom:1px solid rgba(201,174,126,.38);font-size:10px;font-weight:900;letter-spacing:.12em;text-transform:uppercase;white-space:nowrap;overflow:hidden;position:relative;z-index:18}
.ahd-academy-ribbon a{color:#f4ecdf;text-decoration:none;font-weight:950}.ahd-academy-ribbon b{color:#c9ae7e}.ahd-academy-ribbon i{width:4px;height:4px;border-radius:50%;background:#9e1b32;display:inline-block;flex:0 0 auto}.ahd-academy-ribbon .method{color:#c9ae7e;letter-spacing:.1em}
.ahd-academy-program-tag{display:inline-flex;align-items:center;gap:8px;padding:7px 10px;border:1px solid rgba(201,174,126,.42);border-radius:999px;background:rgba(17,15,12,.72);color:#f2dfbd;font-size:10px;font-weight:950;letter-spacing:.15em;text-transform:uppercase}
.ahd-academy-program-tag:before{content:"";width:6px;height:6px;border-radius:50%;background:#9e1b32;box-shadow:0 0 0 3px rgba(158,27,50,.18)}
@media(max-width:900px){.ahd-academy-ribbon{justify-content:flex-start;overflow-x:auto;scrollbar-width:none;padding-left:14px;padding-right:14px}.ahd-academy-ribbon::-webkit-scrollbar{display:none}.ahd-academy-ribbon .method{display:none}}

/* v4.17.7: fit the academy ribbon on phones (no cut-off) */
@media(max-width:600px){.ahd-academy-ribbon{justify-content:center;gap:7px;padding-left:8px;padding-right:8px;letter-spacing:.07em;font-size:9.5px}.ahd-academy-ribbon i{width:3px;height:3px}}
@media(max-width:380px){.ahd-academy-ribbon{gap:5px;letter-spacing:.03em;font-size:9px}}
@media(max-width:900px){.ahd-academy-ribbon i:last-of-type{display:none}}

/* /softball-yellow.css */
/* AHD softball / fastpitch theme — Oct 23, 2026.
   Everything softball wears the optic yellow of the fastpitch ball.
   Yellow is used as a fill, a border or text on dark backgrounds only; on light backgrounds
   text stays dark (ink on yellow) so it stays readable. */
:root{--sb-y:#e3ec34;--sb-y2:#c8d11d;--sb-y3:#f4f8b0;--sb-ink:#191b04;--sb-glow:rgba(227,236,52,.38)}

/* ---------- 1. Softball tool bricks (Tools page grid + quick wall) ---------- */
:is(.tools-grid,.tw-wall,.ahd-tools-strip,.tool-list) a:is([href*="/tools/softball-"],[href*="/tools/riseball-lay-off-trainer"],[href*="/tools/slap-hitting-timing-trainer"]){
  background:var(--sb-y)!important;background-image:none!important;color:var(--sb-ink)!important;
  border-color:var(--sb-y2)!important;border-top-color:var(--sb-ink)!important;
  box-shadow:0 10px 26px var(--sb-glow)!important;
  --b:var(--sb-ink);--t:var(--sb-y)}
:is(.tools-grid,.tw-wall,.ahd-tools-strip,.tool-list) a:is([href*="/tools/softball-"],[href*="/tools/riseball-lay-off-trainer"],[href*="/tools/slap-hitting-timing-trainer"]) :is(b,strong,span,small,p,em,h2,h3,h4,div){color:var(--sb-ink)!important}
:is(.tools-grid,.tw-wall) a:is([href*="/tools/softball-"],[href*="/tools/riseball-lay-off-trainer"],[href*="/tools/slap-hitting-timing-trainer"]) i.tg{background:var(--sb-ink)!important;color:var(--sb-y)!important}
.tools-grid a:is([href*="/tools/softball-"],[href*="/tools/riseball-lay-off-trainer"],[href*="/tools/slap-hitting-timing-trainer"]) b::before{background:var(--sb-ink)!important;color:var(--sb-y)!important;border-color:var(--sb-ink)!important}
:is(.tools-grid,.tw-wall) a:is([href*="/tools/softball-"],[href*="/tools/riseball-lay-off-trainer"],[href*="/tools/slap-hitting-timing-trainer"]):is(:hover,:focus-visible){background:#eef55a!important;outline:3px solid var(--sb-ink)!important;outline-offset:2px}
/* the "Play →" line and any red text inside the yellow brick */
.tools-grid a:is([href*="/tools/softball-"],[href*="/tools/riseball-lay-off-trainer"],[href*="/tools/slap-hitting-timing-trainer"]) :is(.go,.play,u,ins){color:var(--sb-ink)!important;text-decoration-color:var(--sb-ink)}

/* ---------- 2. Softball pages: body.ahd-softball ---------- */
/* hero: yellow accents, yellow underline band, yellow primary button */
body.ahd-softball :is(.cp-hero,.article-hero,.local-hero,.funnel-hero,.hub-hero){box-shadow:inset 0 -7px 0 var(--sb-y)!important}
body.ahd-softball :is(.cp-eyebrow,.local-eyebrow,.local-kicker,.funnel-eyebrow,.funnel-kicker,.article-head .tag,.cp-h1-sub){color:var(--sb-y)!important}
body.ahd-softball :is(.cp-hero,.article-hero,.funnel-hero,.local-hero.dark) :is(h1 em,h1 .ed-acc,h1 span:not(.cp-h1-name)){color:var(--sb-y)!important}
body.ahd-softball .cp-hero .cp-chips li{border-color:var(--sb-y)!important;color:#fff!important}
body.ahd-softball .cp-hero .cp-chips li:first-child{background:var(--sb-y)!important;color:var(--sb-ink)!important;border-color:var(--sb-y)!important}
body.ahd-softball :is(.cp-btn.free,.local-btn.primary,.hub-hero .cp-btn.free){background:var(--sb-y)!important;color:var(--sb-ink)!important;border-color:var(--sb-y)!important}
body.ahd-softball :is(.cp-btn.free,.local-btn.primary):is(:hover,:focus-visible){background:#fff!important;color:var(--sb-ink)!important}
body.ahd-softball .cp-hero .cp-btn.ghost{border-color:var(--sb-y)!important}
/* a fastpitch badge on the hero */
body.ahd-softball :is(.cp-hero-in,.article-head,.funnel-hero>div:first-child,.local-copy){position:relative}
body.ahd-softball :is(.cp-hero-in,.article-head)::after{content:"FASTPITCH";position:absolute;top:0;right:0;transform:translateY(-6px);padding:5px 10px 5px 26px;border-radius:999px;background:var(--sb-y) radial-gradient(circle at 12px 50%,#fff 0 2px,transparent 2.5px);color:var(--sb-ink);font:900 10.5px/1 Inter,system-ui,sans-serif;letter-spacing:.16em;box-shadow:0 6px 18px var(--sb-glow);pointer-events:none}
@media(max-width:600px){body.ahd-softball :is(.cp-hero-in,.article-head)::after{display:none}}

/* hero accent words, coach-certification money band */
body.ahd-softball .local-hero h1 span,body.ahd-softball .pbh h2 :is(em,b){color:var(--sb-y)!important}
body.ahd-softball .pbh{box-shadow:inset 0 -6px 0 var(--sb-y)}
body.ahd-softball .pbh .pbh-t.win{background:var(--sb-y)!important;border-color:var(--sb-y)!important}
body.ahd-softball .pbh .pbh-t.win :is(b,span){color:var(--sb-ink)!important}
body.ahd-softball .pbh .pbh-kick{border-color:var(--sb-y)!important;color:var(--sb-y)!important}
body.ahd-softball .pbh .pbh-cta{background:var(--sb-y)!important;color:var(--sb-ink)!important;border-color:var(--sb-y)!important}

/* cards and sections on softball pages */
body.ahd-softball :is(.cp-card,.tool-card,.cp-promise,.cp-how,.local-section .local-card,.hub-check,.cp-unsure){border-top:6px solid var(--sb-y)!important}
body.ahd-softball :is(.cp-card,.cp-promise,.cp-how) :is(h2,h3)::after{content:"";display:block;width:46px;height:5px;border-radius:3px;background:var(--sb-y);margin-top:8px;box-shadow:0 0 0 1px var(--sb-y2)}
body.ahd-softball .tool-seg input:checked+span{background:var(--sb-ink)!important;color:var(--sb-y)!important;border-color:var(--sb-ink)!important;box-shadow:inset 0 -3px 0 var(--sb-y)}
body.ahd-softball :is(.tool-go,.prt-btns button:first-child){background:var(--sb-y)!important;color:var(--sb-ink)!important;border-color:var(--sb-y2)!important}
body.ahd-softball .tool-result{border-left:6px solid var(--sb-y)!important}
body.ahd-softball .prt-overlay :is(h2,h3,strong) em,body.ahd-softball .prt-overlay .acc{color:var(--sb-y)!important}
body.ahd-softball .local-section.dark{box-shadow:inset 0 6px 0 var(--sb-y)}
body.ahd-softball .film-strip{border-color:var(--sb-y)!important}

/* ---------- 3. Softball Backspin posts (editorial layout) ---------- */
body.ahd-softball.ed-post{--ed-sand:var(--sb-y);--ed-sand2:var(--sb-y2)}
body.ahd-softball.ed-post .article-body>h2::before{background:var(--sb-y)!important;box-shadow:0 0 0 1px var(--sb-y2)}
body.ahd-softball.ed-post .article-body>h2.ed-num>.ed-n{display:inline-block;background:var(--sb-y);color:var(--sb-ink)!important;padding:0 .22em;border-radius:6px;margin-right:.3em}
body.ahd-softball.ed-post .article-body li::marker{color:#7d8410}
body.ahd-softball.ed-post .article-body ol>li:has(>b){border-left-color:var(--sb-y)!important}
body.ahd-softball.ed-post .article-body ol>li>b{color:var(--sb-y)!important}
body.ahd-softball.ed-post .article-body ol>li::before{color:var(--sb-y)!important}
body.ahd-softball.ed-post .article-body blockquote,body.ahd-softball.ed-post .ahd-quick-answer{border-left-color:var(--sb-y)!important}
body.ahd-softball.ed-post .article-body .big-line{box-shadow:inset 0 -.42em 0 var(--sb-y3)}
body.ahd-softball.ed-post .key-takeaways{border-top:6px solid var(--sb-y)!important}
body.ahd-softball.ed-post .ahd-author{border-top-color:var(--sb-y)!important}
body.ahd-softball.ed-post .ed-band{box-shadow:inset 0 6px 0 var(--sb-y)}
body.ahd-softball .bx-card{border-color:var(--sb-y)!important}
body.ahd-softball .bx-kick{color:var(--sb-y)!important}

/* softball posts in the blog hub and keep-reading strips */
.post-card:has(a.read:is([href*="softball"],[href*="fastpitch"],[href*="rise-ball"],[href*="drop-ball"],[href*="slap"]):not([href*="baseball-softball"],[href*="baseball-and-fastpitch"])){border-left:6px solid var(--sb-y)!important;position:relative}
.post-card:has(a.read:is([href*="softball"],[href*="fastpitch"],[href*="rise-ball"],[href*="drop-ball"],[href*="slap"]):not([href*="baseball-softball"],[href*="baseball-and-fastpitch"])) .tag{background:var(--sb-y);color:var(--sb-ink)!important;padding:2px 7px;border-radius:5px;display:inline-block}

/* ---------- 4. Softball notes inside lessons, coach editions and posts ---------- */
.ahd-sb-note{position:relative;margin:16px 0!important;padding:12px 14px 12px 16px!important;background:#fbfde3!important;border:1px solid var(--sb-y2)!important;border-left:7px solid var(--sb-y)!important;border-radius:10px!important;color:#22240a!important}
.ahd-sb-note>strong:first-child,.ahd-sb-note .sb-lbl{display:inline-block;background:var(--sb-y);color:var(--sb-ink)!important;font:900 11px/1 Inter,system-ui,sans-serif;letter-spacing:.12em;text-transform:uppercase;padding:5px 8px;border-radius:5px;margin-right:6px;vertical-align:2px}
:is(.dark,[data-theme=dark]) .ahd-sb-note,.ahd-dark .ahd-sb-note{background:linear-gradient(120deg,#121110 0%,#2a1218 55%,#5a1424 100%)!important;color:#f4f8d6!important}

/* ---------- 5. Shared tools switched to fastpitch ---------- */
.tool-seg input[value="softball"]+span,.tool-seg input[value="fastpitch"]+span{border-color:var(--sb-y2)!important}
.tool-seg input:is([value="softball"],[value="fastpitch"]):checked+span{background:var(--sb-y)!important;color:var(--sb-ink)!important;border-color:var(--sb-y2)!important}
body.ahd-sb-mode .tool-card{border-top:6px solid var(--sb-y)!important;box-shadow:0 12px 30px var(--sb-glow)!important}
body.ahd-sb-mode :is(.tool-go,.prt-btns button:first-child){background:var(--sb-y)!important;color:var(--sb-ink)!important;border-color:var(--sb-y2)!important}

@media (prefers-reduced-motion:no-preference){.tools-grid a:is([href*="/tools/softball-"],[href*="/tools/riseball-lay-off-trainer"],[href*="/tools/slap-hitting-timing-trainer"]){transition:background .15s,transform .15s}}
