/*
Theme Name: Racket Sports Times
Theme URI: https://racketsportstimes.com/
Author: Racket Sports Times
Description: Mobile-first editorial and community theme for racket sports.
Version: 3.2.11
Text Domain: rst
*/

:root{
  --ink:#0b1118;
  --ink-soft:#17212d;
  --paper:#f3f6f9;
  --surface:#fff;
  --muted:#617080;
  --line:#dce3ea;
  --red:#c8102e;
  --red-dark:#a80c25;
  --red-bright:#ff4355;
  --blue:#1b6ca8;
  --max:1180px;
  --shadow:0 12px 34px rgba(11,17,24,.08);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,ui-sans-serif,-apple-system,BlinkMacSystemFont,"Segoe UI",Arial,sans-serif;line-height:1.55}
a{color:inherit;text-decoration:none}
img{display:block;max-width:100%;height:auto}
button,input{font:inherit}
.wrap{width:min(calc(100% - 32px),var(--max));margin-inline:auto}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

.site-header{position:sticky;top:0;z-index:50;background:rgba(255,255,255,.96);border-bottom:1px solid rgba(11,17,24,.09);backdrop-filter:blur(16px);box-shadow:0 6px 24px rgba(11,17,24,.05)}
.header-row{min-height:66px;display:flex;align-items:center;justify-content:space-between;gap:20px}
.site-wordmark{display:flex;align-items:center;gap:.38rem;color:var(--ink);font-size:clamp(.73rem,2.4vw,1.08rem);font-weight:900;letter-spacing:.055em;line-height:1;white-space:nowrap}
.site-wordmark .wordmark-rst{display:grid;place-items:center;width:34px;height:34px;border-radius:50%;background:var(--ink);color:#fff;font-size:.7rem;font-style:italic;letter-spacing:-.04em}
.site-wordmark strong{color:var(--red);font-weight:950}
.menu-toggle{min-height:42px;padding:0 14px;border:1px solid #cbd4dd;border-radius:999px;background:#fff;color:var(--ink);font-size:.78rem;font-weight:850;cursor:pointer}
.main-nav{display:none}
.main-nav.is-open{position:absolute;display:grid;top:calc(100% + 1px);left:16px;right:16px;gap:4px;padding:12px;background:#fff;border:1px solid var(--line);border-radius:0 0 16px 16px;box-shadow:var(--shadow)}
.main-nav a{padding:12px;border-radius:10px;font-size:.9rem;font-weight:800}
.main-nav a:hover{background:var(--paper);color:var(--red)}

.hero-minimal{background:#050608;color:#fff}
.hero-stage{min-height:330px;display:grid;grid-template-columns:132px minmax(0,1fr);align-items:center;gap:clamp(22px,6vw,70px);padding-block:32px}
.hero-logo img{width:132px;aspect-ratio:1;object-fit:contain;border-radius:50%;filter:drop-shadow(0 16px 28px rgba(237,27,47,.16))}
.hero-copy{max-width:760px}
.hero-kicker,.section-label,.eyebrow{display:block;margin:0 0 10px;color:var(--red);font-size:.68rem;font-weight:900;letter-spacing:.14em;text-transform:uppercase}
.hero-minimal .hero-kicker,.community-rail .section-label,.newsletter .eyebrow{color:var(--red-bright)}
.hero h1{max-width:760px;margin:0;font-size:clamp(2.55rem,6.4vw,5.25rem);line-height:.91;letter-spacing:-.058em}
.hero-copy>p:last-child{max-width:650px;margin:17px 0 0;color:#b7c0cb;font-size:clamp(.94rem,1.7vw,1.12rem)}

.section{padding:38px 0}
.section-head{display:flex;align-items:end;justify-content:space-between;gap:16px;margin-bottom:18px}
.section-head h2,.community-rail h2,.discovery-heading h2{margin:0;font-size:clamp(1.65rem,4vw,2.35rem);line-height:1.05;letter-spacing:-.035em}
.section-link,.text-link{color:var(--red);font-size:.82rem;font-weight:900;white-space:nowrap}
.news-priority{background:var(--paper);border-bottom:1px solid var(--line)}
.story-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.story-card{min-width:0;overflow:hidden;background:var(--surface);border:1px solid var(--line);border-radius:15px;box-shadow:0 7px 22px rgba(11,17,24,.055);transition:transform .2s ease,box-shadow .2s ease}
.story-card:hover{transform:translateY(-3px);box-shadow:var(--shadow)}
.story-media{display:block;aspect-ratio:4/3;overflow:hidden;background:#dfe6ed}
.story-media img{width:100%;height:100%;object-fit:cover;transition:transform .35s ease}
.story-card:hover .story-media img{transform:scale(1.035)}
.story-media-fallback{display:grid;place-items:center;background:linear-gradient(135deg,#101923,#314152);color:rgba(255,255,255,.9)}
.story-media-fallback span{font-size:3.6rem;font-weight:950;font-style:italic}
.story-media-fallback.theme-2{background:linear-gradient(135deg,#65121d,#ed1b2f)}
.story-media-fallback.theme-3{background:linear-gradient(135deg,#102f49,#1b6ca8)}
.story-media-fallback.theme-4{background:linear-gradient(135deg,#322042,#78559a)}
.story-body{padding:12px}
.story-topline{display:flex;align-items:center;justify-content:space-between;gap:8px;color:#7a8794;font-size:.59rem;font-weight:800;text-transform:uppercase;letter-spacing:.035em}
.badge{color:var(--red);font-size:.62rem;font-weight:950;letter-spacing:.09em;text-transform:uppercase}
.story-card h3{margin:.45rem 0;font-size:.94rem;line-height:1.15;letter-spacing:-.022em}
.story-excerpt{display:none;margin:.5rem 0 0;color:var(--muted);font-size:.78rem;line-height:1.45}
.story-byline{display:flex;align-items:center;gap:8px;margin-top:12px;color:#344250;font-size:.68rem;font-weight:750}
.story-byline img{width:28px;height:28px;border-radius:50%}
.story-byline span{display:grid}.story-byline small{color:#7a8794;font-weight:600}

.community-rail{padding:30px 0;background:var(--ink);color:#fff}
.community-rail-inner{display:grid;gap:20px}
.community-rail h2{max-width:620px;color:#fff}
.community-actions{display:flex;align-items:center;flex-wrap:wrap;gap:16px}
.button,.newsletter button,.home-tournament-search button{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:0 20px;border:0;border-radius:10px;background:var(--red);color:#fff;font-weight:900;cursor:pointer;transition:background .2s ease}
.button:hover,.newsletter button:hover,.home-tournament-search button:hover{background:var(--red-dark)}
.community-rail .text-link{color:#fff}

.home-discovery{padding:34px 0;background:#fff;border-bottom:1px solid var(--line)}
.discovery-inner{display:grid;gap:16px}
.home-tournament-search>div{display:grid;grid-template-columns:1fr auto;gap:8px}
.home-tournament-search input{width:100%;min-width:0;min-height:52px;padding:0 16px;border:1px solid #cbd4dd;border-radius:10px;background:#fff;color:var(--ink);box-shadow:0 5px 18px rgba(11,17,24,.05)}
.sports-strip{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.chip{display:flex;align-items:center;justify-content:center;min-height:40px;padding:7px 8px;border:1px solid var(--line);border-radius:999px;background:var(--paper);color:#273544;font-size:.7rem;font-weight:850;text-align:center}
.chip:hover{border-color:var(--red);color:var(--red);background:#fff}

.newsletter-section{background:var(--paper)}
.newsletter{display:grid;gap:22px;padding:26px;background:linear-gradient(135deg,#101820,#271015);border:1px solid #47232a;border-radius:20px;color:#fff;box-shadow:0 16px 40px rgba(11,17,24,.16)}
.newsletter h2{margin:.1em 0;font-size:clamp(1.75rem,4vw,2.5rem);line-height:1.05}
.newsletter p{margin:.5em 0 0;color:#c3ccd5}
.newsletter form{display:grid;gap:9px;align-self:center}
.newsletter input{width:100%;min-height:50px;padding:0 15px;border:1px solid #fff;border-radius:10px;background:#fff;color:var(--ink)}

.site-footer{margin-top:0;padding:42px 0 22px;background:#0b1118;border-top:4px solid var(--red);color:#aeb8c3}
.footer-grid{display:grid;gap:25px}
.footer-title{margin-bottom:7px;color:#fff;font-weight:900;letter-spacing:.035em}
.site-footer a{color:#fff}
.site-footer .footer-accent{color:var(--red-bright)}
.operator-disclosure{margin-top:28px;padding-top:16px;border-top:1px solid #293442;color:#7f8a97;font-size:.74rem}

.article{max-width:760px;margin:auto;padding:48px 0;color:var(--ink)}
.article>.badge{display:block;margin-bottom:12px}
.article h1{margin:0 0 20px;font-size:clamp(2.35rem,7vw,4.4rem);line-height:.98;letter-spacing:-.05em}
.article-meta{display:flex;align-items:center;gap:10px;margin-bottom:26px}
.article-meta img{width:40px;height:40px;border-radius:50%}
.article-meta p{display:grid;margin:0}.article-meta span{color:var(--muted);font-size:.82rem}
.article-featured{margin:0 0 32px}.article-featured img{width:100%;border-radius:16px}
.article-content{font-size:1.06rem;line-height:1.55}
.article-content h2{margin:1.45em 0 .45em;font-size:1.65rem;line-height:1.15}
.article-content h3{margin:1.2em 0 .35em;line-height:1.2}
.article-content p{margin:.82em 0}
.article-content ul,.article-content ol{margin:.75em 0 1em;padding-left:1.35em}
.article-content li{margin:.28em 0}
.article-content a{color:var(--blue);text-decoration:underline;text-underline-offset:3px}
.article-actions{display:flex;flex-wrap:wrap;gap:9px;margin-top:34px;padding-block:20px;border-block:1px solid var(--line)}
.article-actions button,.article-actions a{min-height:42px;padding:9px 14px;border:1px solid #cbd4dd;border-radius:999px;background:#fff;color:var(--ink);font-size:.78rem;font-weight:850;cursor:pointer}
.article-actions button:hover,.article-actions a:hover{border-color:var(--red);color:var(--red)}
.author-box{display:flex;gap:15px;margin-top:32px;padding:22px;background:#fff;border:1px solid var(--line);border-radius:15px}
.author-box>img{width:64px;height:64px;border-radius:50%}
.author-box>div{display:grid;align-content:start}.author-box p{margin:.35em 0;color:var(--muted)}

@media(min-width:720px){
  .menu-toggle{display:none}
  .main-nav{display:flex;align-items:center;gap:6px}
  .main-nav a{padding:10px}
  .hero-stage{min-height:360px;grid-template-columns:185px minmax(0,1fr);padding-block:38px}
  .hero-logo img{width:185px}
  .section{padding:48px 0}
  .story-grid{gap:18px}
  .story-body{padding:18px}
  .story-card h3{font-size:1.18rem}
  .story-excerpt{display:block}
  .story-topline{font-size:.66rem}
  .community-rail-inner{grid-template-columns:1fr auto;align-items:center}
  .discovery-inner{grid-template-columns:.6fr 1.4fr;align-items:end}
  .sports-strip{grid-column:1/-1;display:flex;flex-wrap:wrap}
  .chip{padding-inline:16px}
  .newsletter{grid-template-columns:1fr minmax(330px,.8fr);align-items:center;padding:34px}
  .newsletter form{grid-template-columns:1fr auto}
  .footer-grid{grid-template-columns:2fr 1fr 1fr 1fr}
}

@media(min-width:1024px){
  .header-row{min-height:74px}
  .story-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
  .hero-stage{grid-template-columns:210px minmax(0,1fr)}
  .hero-logo img{width:210px}
}

@media(max-width:480px){
  .wrap{width:min(calc(100% - 24px),var(--max))}
  .site-wordmark{gap:.27rem;font-size:.67rem;letter-spacing:.035em}
  .site-wordmark .wordmark-rst{width:31px;height:31px;font-size:.65rem}
  .hero-stage{min-height:300px;grid-template-columns:1fr;justify-items:center;gap:10px;padding-block:20px 26px;text-align:center}
  .hero-logo img{width:116px}
  .hero h1{font-size:2.45rem}
  .hero-kicker{margin-bottom:8px;font-size:.59rem}
  .hero-copy>p:last-child{margin:12px auto 0;font-size:.88rem}
  .section{padding:30px 0}
  .section-head{margin-bottom:14px}
  .section-label{font-size:.59rem}
  .story-card h3{font-size:.88rem}
  .story-media-fallback span{font-size:2.9rem}
  .story-body{padding:10px}
  .community-rail{padding:26px 0}
  .community-actions .button{width:100%}
  .home-tournament-search>div{grid-template-columns:1fr}
  .sports-strip{grid-template-columns:repeat(2,minmax(0,1fr))}
}

@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important}}

/* Compact, readable story-card headlines. */
.story-card h2{margin:12px 0 16px;font-size:1.5rem;font-weight:700;line-height:1.15;letter-spacing:normal}
.story-card h2 a,.story-card h3 a{line-height:inherit}
@media(min-width:720px){.story-card h2{font-size:1.625rem}}

/* Matching compact homepage sponsor and briefing boxes. */
.home{--promo-height:260px}
.home .newsletter{height:var(--promo-height);padding:18px 22px;gap:12px;border-radius:18px}
.home .newsletter .eyebrow{margin-bottom:6px}
.home .newsletter h2{font-size:1.5rem;line-height:1.1;margin:0}
.home .newsletter p{font-size:.875rem;line-height:1.4;margin:7px 0 0}
.home .newsletter input,.home .newsletter button{min-height:44px}
.home .rst-spotlight-section{padding:24px 0 0;background:var(--paper)}
.home .rst-spotlight-wrap{width:min(calc(100% - 32px),var(--max));margin-inline:auto}
.home .rst-sponsor-spotlight.rst-sponsor-banner{height:var(--promo-height);padding:24px 0 0;border-radius:18px}
.home .rst-sponsor-banner .rst-sponsored-label{height:24px}
.home .rst-sponsor-spotlight.rst-sponsor-banner img{width:100%;height:100%;min-height:0;max-height:none;aspect-ratio:auto;object-fit:contain;background:#000}
.home .newsletter-section{padding:24px 0}
@media(min-width:720px){.home{--promo-height:160px}.home .newsletter{grid-template-columns:1fr minmax(310px,.8fr);gap:20px}}
@media(max-width:480px){.home .rst-spotlight-wrap{width:min(calc(100% - 24px),var(--max))}}

/* Content-sized homepage hero. */
.home .hero-stage{min-height:0;padding-block:24px;grid-template-columns:150px minmax(0,1fr);gap:32px}
.home .hero-logo img{width:150px}
.home .hero-copy{max-width:none}
.home .hero h1{max-width:none;font-size:clamp(2.2rem,4.4vw,3.5rem);line-height:1.02;letter-spacing:-.04em}
.home .hero-copy>p:last-child{max-width:760px;margin-top:12px;font-size:1rem;line-height:1.45}
@media(max-width:719px){.home .hero-stage{grid-template-columns:90px minmax(0,1fr);gap:20px}.home .hero-logo img{width:90px}}
@media(max-width:480px){.home .hero-stage{grid-template-columns:1fr;gap:10px;padding-block:18px;text-align:center}.home .hero-logo img{width:80px}.home .hero h1{font-size:2rem}.home .hero-copy>p:last-child{font-size:.875rem;margin-top:10px}}
