/*
Theme Name: LFS Track Hub
Theme URI: https://lfstrackhub.com/
Author: LFS Track Hub
Description: Independent community track-building hub for Live for Speed. Lightweight responsive theme, ready for a future mod database plugin.
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 8.0
Text Domain: lfstrackhub
License: GPL-2.0-or-later
*/
:root{--red:#eb2029;--ink:#17232d;--muted:#637181;--paper:#f1f5f8;--line:#e2e8ed;--radius:11px}*{box-sizing:border-box}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,system-ui,-apple-system,'Segoe UI',Arial,sans-serif;line-height:1.5}a{color:inherit;text-decoration:none}a:hover{color:var(--red)}img{max-width:100%;height:auto}.wrap{width:min(1460px,calc(100% - 48px));margin-inline:auto}.site-header{background:#fff;box-shadow:0 2px 15px #14233110;position:relative;z-index:10}.header-inner{min-height:94px;display:flex;align-items:center;gap:24px}.brand{display:flex;align-items:center;flex:0 0 295px}.brand img{width:285px;display:block;mix-blend-mode:multiply}.nav{display:flex;align-items:center;gap:19px;flex:1;justify-content:center;flex-wrap:wrap}.nav a{font-size:12px;font-weight:800;letter-spacing:.035em;text-transform:uppercase;white-space:nowrap}.nav a:hover,.nav .current-menu-item a{color:var(--red)}.header-actions{display:flex;align-items:center;gap:14px}.login{font-weight:750;font-size:12px;text-transform:uppercase}.btn{border:0;display:inline-flex;align-items:center;justify-content:center;gap:9px;border-radius:6px;padding:12px 21px;font-weight:800;font-size:13px;cursor:pointer}.btn-red{background:var(--red);color:#fff}.btn-red:hover{background:#cb151f;color:#fff}.btn-outline{color:#fff;border:1px solid #fff8;background:transparent}.btn-outline:hover{background:#ffffff20;color:#fff}.mobile-menu{display:none}.hero{position:relative;min-height:345px;background:linear-gradient(90deg,#0b1720f5 0%,#10202ce6 45%,#142531aa 74%,#13232ac9 100%),url('assets/track-hero.jpg') center 48%/cover;color:#fff;overflow:hidden}.hero:after{content:'';position:absolute;inset:auto -5% -115px auto;width:40%;height:170px;border-top:8px solid var(--red);transform:skewY(-14deg);opacity:.85}.hero-inner{position:relative;z-index:1;display:grid;grid-template-columns:minmax(0,1fr) 320px;gap:60px;align-items:center;padding:54px 0}.hero h1{font-size:clamp(34px,4.2vw,62px);letter-spacing:-.045em;line-height:1.08;margin:0 0 14px;font-weight:900}.hero h1 span{color:#ff3940}.hero p{font-size:17px;max-width:680px;margin:0 0 22px;color:#e4ebf0}.search-form{display:flex;width:min(700px,100%);background:#fff;border-radius:6px;overflow:hidden;box-shadow:0 6px 18px #0003}.search-form input{min-width:0;flex:1;padding:16px 19px;border:0;font:inherit;outline-offset:-3px}.search-form button{border-radius:0;padding-inline:32px}.search-hint{margin-top:10px;color:#c9d3da;font-size:12px}.feature-hero{background:#07141bbd;border-left:5px solid var(--red);padding:22px;border-radius:5px}.eyebrow{font-size:11px;letter-spacing:.09em;font-weight:850;text-transform:uppercase;color:#a9b8c3}.feature-hero h2{font-size:25px;line-height:1.2;margin:8px 0}.feature-hero p{font-size:13px;line-height:1.6}.categories{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:13px;margin:18px auto 28px}.category-card{background:#fff;border:1px solid var(--line);border-radius:var(--radius);overflow:hidden;box-shadow:0 3px 11px #1829370b;transition:transform .2s,box-shadow .2s}.category-card:hover{transform:translateY(-3px);box-shadow:0 8px 22px #1829371c}.category-art{height:104px;display:flex;align-items:center;justify-content:center;background:linear-gradient(135deg,#e6edf2,#bdcbd4);position:relative;overflow:hidden}.category-art:before{content:'';width:160px;height:160px;border:16px solid #ffffff40;border-radius:50%;position:absolute;right:-50px;top:-90px}.category-art svg{width:56px;height:56px;stroke:#e91e28;stroke-width:2;fill:none;filter:drop-shadow(0 3px 2px #ffffffa0)}.category-body{padding:15px;min-height:104px}.category-body h3{font-size:14px;font-weight:900;margin:0 0 6px;text-transform:uppercase}.category-body p{font-size:12px;color:var(--muted);margin:0}.home-columns{display:grid;grid-template-columns:1.2fr 1fr 1fr;gap:22px;margin-bottom:35px}.panel{min-width:0}.panel-heading{display:flex;justify-content:space-between;align-items:center;gap:10px;margin-bottom:13px}.panel-heading h2{margin:0;font-size:19px;letter-spacing:-.02em;text-transform:uppercase}.panel-heading h2:before{content:'▣';color:var(--red);margin-right:9px}.panel-heading a{font-size:12px;font-weight:700}.placeholder-card,.mod-card{background:#fff;border:1px solid var(--line);border-radius:8px;overflow:hidden}.placeholder-cover{height:185px;background:linear-gradient(145deg,#364b5a,#152632);display:grid;place-items:center;color:#d9e3e9}.placeholder-cover svg{width:90px;height:90px;stroke:#e7edf0;stroke-width:1.2;fill:none}.placeholder-content{padding:17px}.placeholder-content h3{margin:0 0 7px}.placeholder-content p{margin:0;color:var(--muted);font-size:13px}.empty-item{background:#fff;border:1px solid var(--line);border-radius:8px;padding:16px;margin-bottom:10px;display:flex;gap:13px;align-items:center}.empty-icon{width:58px;height:54px;border-radius:6px;display:grid;place-items:center;background:#edf2f5;color:var(--red);font-size:26px;flex:none}.empty-item strong{display:block;font-size:14px}.empty-item small{color:var(--muted);font-size:12px}.info-strip{background:#15232c;color:#f0f4f6;padding:22px 0}.info-inner{display:grid;grid-template-columns:repeat(4,1fr);gap:25px}.info-inner div{display:flex;gap:12px;align-items:center}.info-inner b{font-size:14px}.info-inner small{display:block;color:#b6c4cd;font-size:12px}.info-inner .ico{color:#fff;font-size:27px}.footer{background:#101b23;color:#c3d0d8;padding:24px 0;font-size:13px}.footer-inner{display:flex;justify-content:space-between;gap:20px;flex-wrap:wrap}.footer a{text-decoration:underline}.content-area{min-height:50vh;padding:40px 0}.content-card{background:#fff;border:1px solid var(--line);border-radius:10px;padding:30px;max-width:950px;margin:0 auto}.content-card h1{margin-top:0}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.archive-grid article{background:#fff;padding:20px;border:1px solid var(--line);border-radius:9px}.archive-grid h2{font-size:18px}.wp-block-image img{height:auto}.screen-reader-text{position:absolute;clip:rect(1px,1px,1px,1px);overflow:hidden;width:1px;height:1px}.screen-reader-text:focus{clip:auto;position:static;width:auto;height:auto}@media(max-width:1180px){.header-inner{flex-wrap:wrap;padding:12px 0}.brand{flex-basis:240px}.brand img{width:235px}.nav{order:3;width:100%;flex-basis:100%;padding-bottom:10px}.categories{grid-template-columns:repeat(3,1fr)}.home-columns{grid-template-columns:1fr 1fr}.home-columns .panel:first-child{grid-column:1/-1}}@media(max-width:700px){.wrap{width:min(100% - 28px,1460px)}.header-inner{min-height:70px;justify-content:space-between}.brand{flex:0 1 205px}.brand img{width:200px}.mobile-menu{display:block;background:none;border:1px solid var(--line);border-radius:5px;padding:7px 11px;font-size:21px}.nav{display:none;flex-direction:column;align-items:stretch;gap:0}.nav.is-open{display:flex}.nav a{display:block;padding:12px 0;border-top:1px solid var(--line)}.header-actions{gap:8px}.header-actions .login{display:none}.header-actions .btn{padding:10px 12px;font-size:11px}.hero-inner{display:block;padding:40px 0}.hero h1{font-size:37px}.hero p{font-size:14px}.feature-hero{margin-top:25px}.categories{grid-template-columns:repeat(2,1fr);gap:10px}.category-art{height:82px}.category-body{min-height:95px;padding:12px}.home-columns,.info-inner,.archive-grid{grid-template-columns:1fr}.home-columns .panel:first-child{grid-column:auto}.info-inner{gap:18px}.content-card{padding:20px}.search-form input{padding:12px}.search-form button{padding:12px}}
