/* PWC Racing Hub — styles scoped to the two plugin shortcodes. */
.pwch-home,.pwch-sponsor-page{--pwch-bg:#0b1019;--pwch-panel:#131c29;--pwch-ink:#f4f8fd;--pwch-dim:#9caabd;--pwch-blue:#31a8ff;--pwch-border:#2a3647;font-family:Inter,system-ui,-apple-system,'Segoe UI',sans-serif;color:var(--pwch-ink);font-size:16px;line-height:1.5}
.pwch-home *,.pwch-sponsor-page *{box-sizing:border-box}
.pwch-home a,.pwch-sponsor-page a{text-decoration:none}
.pwch-home a:focus-visible,.pwch-home button:focus-visible,.pwch-home input:focus-visible,.pwch-home select:focus-visible,.pwch-sponsor-page a:focus-visible{outline:3px solid #8bd0ff;outline-offset:3px}
.pwch-home h1,.pwch-home h2,.pwch-home h3,.pwch-home p,.pwch-sponsor-page h1,.pwch-sponsor-page p{margin:0}
.pwch-home h1,.pwch-home h2,.pwch-home h3,.pwch-sponsor-page h1{color:var(--pwch-ink);line-height:1.03}
/* Kadence wraps shortcode pages in a constrained, padded content box. Center the
   entire homepage on the viewport, rather than trying to make just the hero
   bleed outside the clipped .pwch-home element. This fixes the cut-off headline. */
.pwch-home{background:var(--pwch-bg);width:100vw;max-width:none;margin-left:calc(50% - 50vw);overflow:hidden;isolation:isolate}
.pwch-bleed{position:relative;width:100%;max-width:none;margin-left:0}
.pwch-shell{max-width:1320px;margin:0 auto;padding-left:clamp(20px,5vw,64px);padding-right:clamp(20px,5vw,64px)}
.pwch-hero{background:radial-gradient(ellipse at 82% 18%,#124a7e55 0,transparent 43%),linear-gradient(132deg,#091019 0%,#0c1523 58%,#09101a 100%);min-height:535px;overflow:hidden}
.pwch-hero:before{content:"";position:absolute;inset:0;background:repeating-linear-gradient(120deg,transparent 0,transparent 145px,#ffffff07 147px,#ffffff07 148px,transparent 151px);pointer-events:none}
.pwch-hero-grid{min-height:535px;display:grid;grid-template-columns:minmax(0,1.05fr) minmax(290px,.95fr);align-items:center;gap:35px;position:relative}
.pwch-hero-content{padding:65px 0 72px;position:relative;z-index:2}
.pwch-eyebrow,.pwch-kicker{font-weight:800;letter-spacing:.16em;font-size:11px;color:var(--pwch-blue)}
.pwch-eyebrow{display:flex;align-items:center;gap:11px;margin-bottom:22px}
.pwch-eyebrow i{width:17px;height:2px;background:var(--pwch-blue)}
.pwch-hero h1{font-size:clamp(46px,5.6vw,82px);font-weight:950;letter-spacing:-.06em;line-height:.99;max-width:800px}
.pwch-hero h1 span,.pwch-home h2 em,.pwch-sponsor-page h1 em{font-style:normal;color:var(--pwch-blue)}
.pwch-hero-content>p{max-width:535px;color:#bcc8d7;font-size:17px;line-height:1.72;margin-top:25px}
.pwch-hero-actions{display:flex;gap:12px;flex-wrap:wrap;margin-top:30px}
.pwch-btn{display:inline-flex;align-items:center;justify-content:center;gap:22px;min-height:49px;padding:12px 22px;border-radius:3px;font-size:12px;font-weight:900;letter-spacing:.065em;transition:transform .2s,background .2s}
.pwch-btn:hover{transform:translateY(-2px)}
.pwch-btn-primary{background:var(--pwch-blue);color:#061320!important}
.pwch-btn-primary:hover{background:#67c1ff}
.pwch-btn-outline{border:1px solid #6b829b;color:#eaf3ff!important}
.pwch-btn-outline:hover{border-color:#eaf3ff}
.pwch-hero-art{position:relative;height:100%;min-height:485px;overflow:hidden}
.pwch-art-number{position:absolute;right:2%;top:2%;font-size:clamp(190px,23vw,390px);line-height:1;font-weight:950;letter-spacing:-.13em;color:#172c43;opacity:.68;transform:skew(-9deg)}
.pwch-art-ribbon{position:absolute;width:85%;height:115px;right:-9%;background:linear-gradient(90deg,#006fb0,#24b5fd 42%,#00528b);transform:rotate(-27deg) skew(15deg);box-shadow:20px 30px 60px #0009}
.pwch-art-ribbon-a{top:37%}.pwch-art-ribbon-b{top:59%;right:-5%;height:25px;background:#ecf6ff}
.pwch-art-checkers{position:absolute;inset:14% -9% 13% 20%;opacity:.3;transform:rotate(-26deg);background-color:transparent;background-image:linear-gradient(45deg,#eaf5ff 25%,transparent 25%),linear-gradient(-45deg,#eaf5ff 25%,transparent 25%),linear-gradient(45deg,transparent 75%,#eaf5ff 75%),linear-gradient(-45deg,transparent 75%,#eaf5ff 75%);background-size:42px 42px;background-position:0 0,0 21px,21px -21px,-21px 0}
.pwch-art-caption{position:absolute;right:5%;bottom:13%;text-align:right;font-weight:900;letter-spacing:-.055em;font-size:clamp(32px,3.6vw,56px);line-height:1.06;text-shadow:0 7px 40px #000c}
.pwch-art-caption span{color:var(--pwch-blue)}
.pwch-strip{background:#09699f}.pwch-strip-inner{display:flex;gap:24px;align-items:center;justify-content:space-between;padding-top:14px;padding-bottom:14px;color:white;font-size:10px;letter-spacing:.15em;font-weight:900;flex-wrap:wrap}.pwch-strip-inner b{color:#8fd6ff}
.pwch-content{padding-top:42px;padding-bottom:90px}
.pwch-sponsor-slot{border:1px dashed #3a536b;background:linear-gradient(120deg,#101c2b,#142334);min-height:110px;display:flex;flex-direction:column;align-items:center;justify-content:center;padding:13px 20px;margin:0 0 78px;text-align:center;gap:7px}
.pwch-ad-caption{font-size:9px;letter-spacing:.18em;color:#8197a9;font-weight:800}
.pwch-ad-empty{display:flex;flex-direction:column;gap:1px}
.pwch-ad-empty strong{font-size:clamp(13px,1.7vw,21px);letter-spacing:.045em;color:#cbd9e6}
.pwch-ad-empty span{font-size:12px;color:#738da3}
.pwch-sponsor-slot img{max-height:170px;max-width:100%;width:auto;object-fit:contain}
.pwch-section-heading{display:flex;justify-content:space-between;gap:32px;align-items:end;margin-bottom:28px}
.pwch-section-heading h2{font-size:clamp(36px,4.3vw,56px);font-weight:950;letter-spacing:-.055em;margin:10px 0 12px}
.pwch-section-heading p{font-size:14px;color:var(--pwch-dim);line-height:1.65;max-width:640px}
.pwch-text-link{font-weight:900;color:var(--pwch-blue)!important;font-size:11px;letter-spacing:.09em;white-space:nowrap}
.pwch-text-link span{padding-left:8px}
.pwch-filter{background:var(--pwch-panel);border:1px solid var(--pwch-border);display:grid;grid-template-columns:1.15fr 1fr 1fr auto;align-items:end;gap:12px;padding:20px;margin-bottom:24px}
.pwch-filter label{display:flex;flex-direction:column;gap:7px;min-width:0}.pwch-filter label span{font-size:10px;letter-spacing:.1em;color:#afbdd0;font-weight:850}
.pwch-filter input,.pwch-filter select{appearance:auto;width:100%;height:46px;min-width:0;box-sizing:border-box;background:#0b1523;border:1px solid #35475c;color:#f4f8fd;border-radius:2px;font:inherit;font-size:13px;padding:10px}
.pwch-filter input::placeholder{color:#8191a5}
.pwch-filter button{border:0;border-radius:2px;background:var(--pwch-blue);height:46px;padding:0 19px;color:#081625;font-weight:900;font-size:11px;letter-spacing:.065em;cursor:pointer;white-space:nowrap}
.pwch-filter button:hover{background:#68c3ff}
.pwch-event-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pwch-race-card{border:1px solid var(--pwch-border);background:linear-gradient(145deg,#172434,#111b28);min-width:0;padding:22px;display:flex;align-items:flex-start;gap:15px;position:relative;min-height:148px;transition:border-color .18s,transform .18s}
.pwch-race-card:hover{border-color:#3297ce;transform:translateY(-2px)}
.pwch-date-badge{width:60px;min-width:60px;height:69px;border:1px solid #39607b;display:flex;flex-direction:column;align-items:center;justify-content:center;background:#0b1c2f}
.pwch-date-badge span{font-size:10px;color:var(--pwch-blue);font-weight:900;letter-spacing:.11em}.pwch-date-badge strong{font-size:29px;line-height:1.1;color:white}
.pwch-series{color:var(--pwch-blue);font-size:9px;letter-spacing:.08em;font-weight:850;text-transform:uppercase}
.pwch-race-card h3{margin:7px 0!important;font-size:18px!important;font-weight:850!important;line-height:1.3!important}
.pwch-race-card h3 a{color:#f6f9ff!important}.pwch-race-card h3 a:hover{color:#6cc9ff!important}
.pwch-race-card p{font-size:12px;color:#a3b1bf;line-height:1.5}
.pwch-event-arrow{position:absolute;right:15px;top:10px;color:#5f9dbd!important;font-size:21px}
.pwch-no-events{background:#121d2b;border:1px solid var(--pwch-border);text-align:center;padding:48px 22px;margin-bottom:0}.pwch-empty-mark{font-size:48px;color:var(--pwch-blue);font-weight:900;letter-spacing:-.1em}.pwch-no-events h3{font-size:24px!important;margin:8px 0!important}.pwch-no-events p{font-size:14px;color:#a1b1c1;max-width:540px;margin:10px auto 18px}.pwch-admin-hint{font-style:italic;color:#8bcafa!important}
.pwch-events-section{margin-bottom:75px;scroll-margin-top:30px}
.pwch-expansion{padding:12px 0 65px}
.pwch-future-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px}
.pwch-future-grid article{border-top:2px solid #267cb1;background:#132030;padding:27px;min-height:227px;display:flex;flex-direction:column}
.pwch-future-index{font-size:12px;color:var(--pwch-blue);font-weight:900}.pwch-future-grid h3{font-size:21px!important;letter-spacing:-.02em!important;margin:22px 0 12px!important}.pwch-future-grid p{color:#aebccc;font-size:13px;line-height:1.65}.pwch-coming{font-size:9px;letter-spacing:.15em;font-weight:900;color:#7290a9;margin-top:auto;padding-top:20px}
.pwch-sponsor-cta{background:linear-gradient(100deg,#18304a,#0f2031);border:1px solid #274564;padding:40px 42px;display:flex;justify-content:space-between;align-items:center;gap:35px}
.pwch-sponsor-cta h2{font-size:clamp(28px,3.2vw,43px);font-weight:950;letter-spacing:-.045em;margin:13px 0}.pwch-sponsor-cta p{color:#b4c6d6;font-size:13px;max-width:550px}
.pwch-sponsor-page{max-width:1000px;padding-top:100px;padding-bottom:100px}.pwch-sponsor-page h1{font-size:clamp(46px,6vw,78px);letter-spacing:-.06em;font-weight:950;margin:14px 0 30px}.pwch-sponsor-page p{max-width:720px;color:#a3b4c5;font-size:17px;line-height:1.8;margin-bottom:24px}.pwch-sponsor-page .pwch-btn{background:#19283a;margin-top:20px}
/* Strip Kadence's page container padding/background only for our shortcode
   homepage. Keep header navigation and other site pages under normal Kadence control. */
body:has(.pwch-home) #inner-wrap{background:#0b1019}
body:has(.pwch-home) .content-container{padding-top:0!important;padding-bottom:0!important}
body:has(.pwch-home) .content-bg{background:transparent!important;box-shadow:none!important;padding:0!important}
body:has(.pwch-home) .site-main,body:has(.pwch-home) .content-area{margin-top:0!important;margin-bottom:0!important;padding-top:0!important;padding-bottom:0!important}
body:has(.pwch-home) .entry-content{margin-top:0!important;margin-bottom:0!important}
body:has(.pwch-home) .entry-content>.wp-block-shortcode{margin:0!important}
/* WordPress themes may insert a page title and white wrappers. Hide the title only on plugin homepage. */
body.home:has(.pwch-home) .entry-header,body.home:has(.pwch-home) .page-header{display:none}
body:has(.pwch-home) .entry-content,body:has(.pwch-home) .site-main{margin-top:0;margin-bottom:0}
body:has(.pwch-home) .entry-content>*{max-width:none}
body:has(.pwch-home) .content-area{padding-top:0;padding-bottom:0}
@media(max-width:1060px){.pwch-event-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.pwch-filter{grid-template-columns:repeat(2,minmax(0,1fr))}.pwch-filter button{grid-column:1 / -1}.pwch-strip-inner{gap:16px}.pwch-hero-grid{grid-template-columns:1.15fr .85fr}.pwch-hero-art{min-height:425px}}
@media(max-width:720px){.pwch-hero{min-height:0}.pwch-hero-grid{grid-template-columns:1fr;min-height:0;gap:0}.pwch-hero-content{padding:67px 0 25px}.pwch-hero h1{font-size:clamp(43px,10.5vw,69px)}.pwch-hero-content>p{font-size:15px}.pwch-hero-art{min-height:200px;height:200px;opacity:.78}.pwch-art-number{font-size:240px;top:-52px}.pwch-art-caption{bottom:12%;right:7%;font-size:32px}.pwch-art-ribbon-a{top:30%}.pwch-art-ribbon-b{top:58%}.pwch-strip-inner{justify-content:center;font-size:9px;gap:9px}.pwch-strip-inner b:nth-of-type(2){display:none}.pwch-content{padding-top:25px;padding-bottom:40px}.pwch-sponsor-slot{margin-bottom:55px;min-height:92px}.pwch-section-heading{display:block}.pwch-section-heading h2{font-size:40px}.pwch-section-heading>.pwch-text-link{display:inline-block;margin-top:14px}.pwch-filter{grid-template-columns:1fr}.pwch-filter button{grid-column:auto}.pwch-event-grid,.pwch-future-grid{grid-template-columns:1fr}.pwch-race-card{min-height:125px}.pwch-future-grid article{min-height:190px}.pwch-sponsor-cta{padding:30px 23px;display:block}.pwch-sponsor-cta .pwch-btn{margin-top:25px}.pwch-future-grid article{padding:24px}.pwch-sponsor-page{padding-top:60px;padding-bottom:60px}}
@media(prefers-reduced-motion:reduce){.pwch-home *{transition:none!important;scroll-behavior:auto!important}}
