/*
Theme Name: Roadbike
Description: A mobile-first Malaysian road cycling guide and community classifieds theme.
Version: 1.0.0
Requires at least: 6.6
Requires PHP: 8.1
Text Domain: roadbike
*/
:root{--paper:#faf9f5;--white:#fff;--ink:#18251f;--muted:#68736b;--green:#174b35;--deep:#103725;--lime:#def28a;--line:#e2e6de;--soft:#f0f3e9;--radius:18px;--max:1180px}
*{box-sizing:border-box}html{scroll-behavior:smooth}body{margin:0;background:var(--paper);color:var(--ink);font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:16px;line-height:1.65;-webkit-font-smoothing:antialiased}img{max-width:100%;height:auto;display:block}a{color:var(--green);text-decoration:none}a:hover{text-decoration:underline}button,input,textarea,select{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{cursor:pointer}a:focus-visible,button:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible,summary:focus-visible{outline:3px solid #92b22f;outline-offset:4px}h1,h2,h3,h4{line-height:1.15;letter-spacing:-.045em;font-weight:750;margin:0 0 16px}h1{font-size:clamp(36px,5vw,66px)}h2{font-size:clamp(27px,3vw,36px)}h3{font-size:22px}p{margin:0 0 18px}.wrap{max-width:var(--max);margin:0 auto;padding:0 24px}.icon{width:22px;height:22px;flex-shrink:0;display:inline-block;vertical-align:middle;fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}.skip-link{position:fixed;top:-100px;left:20px;background:var(--green);color:white;padding:12px;z-index:99}.skip-link:focus{top:10px}.site-header{border-bottom:1px solid var(--line);background:var(--paper);position:relative;z-index:10}.header-inner{height:84px;display:flex;align-items:center;gap:34px}.wordmark{font-size:28px;font-weight:800;letter-spacing:-1.6px;color:var(--deep);line-height:1;white-space:nowrap}.wordmark span{color:#749421}.wordmark:hover{text-decoration:none}.desktop-nav{display:flex;align-items:center;gap:30px;margin:auto;font-size:14px;font-weight:600}.desktop-nav a{color:var(--ink)}.header-actions{display:flex;align-items:center;gap:10px}.icon-button{display:flex;align-items:center;justify-content:center;width:44px;height:44px;border:0;background:transparent;color:var(--ink)}.menu-button{display:none}.menu-panel{border-top:1px solid var(--line);padding:16px 24px;background:var(--paper)}.menu-panel a{display:block;padding:10px 0;font-weight:600}[hidden]{display:none!important}.button{display:inline-flex;align-items:center;justify-content:center;gap:10px;padding:13px 21px;min-height:48px;border:1px solid var(--green);border-radius:9px;background:var(--green);color:#fff;font-weight:650;line-height:1.3;font-size:15px;text-decoration:none}.button:hover{background:var(--deep);color:#fff;text-decoration:none}.button-lime{background:var(--lime);color:var(--deep);border-color:var(--lime)}.button-lime:hover{background:#d3e878;color:var(--deep)}.button-outline{background:transparent;color:var(--green);border-color:#ccd7cd}.button-small{padding:10px 14px;min-height:44px;font-size:14px}.eyebrow{display:block;font-size:11px;letter-spacing:.15em;text-transform:uppercase;font-weight:700;color:var(--green);margin-bottom:16px}.hero{padding-top:44px}.hero-layout{display:grid;grid-template-columns:.9fr 1.1fr;gap:50px;align-items:center}.hero-copy h1{max-width:540px}.hero-copy p{color:var(--muted);font-size:18px;max-width:400px}.hero-image{border-radius:22px;overflow:hidden;position:relative;aspect-ratio:1.28}.hero-image img{width:100%;height:100%;object-fit:cover;object-position:65% center}.photo-caption{position:absolute;bottom:16px;left:16px;right:16px;color:#fff;font-size:11px;text-shadow:0 1px 3px #000}.hero-actions{display:flex;gap:10px;margin-top:28px}.hero-note{display:flex;align-items:center;gap:8px;font-size:12px!important;margin-top:20px;color:var(--muted)}.section{padding-top:56px}.section-heading{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:22px}.section-heading h2{margin:0}.section-heading .eyebrow{margin-bottom:8px}.text-link{font-size:14px;font-weight:650;white-space:nowrap}.intro-section{display:grid;grid-template-columns:1fr 1.5fr;gap:50px;align-items:start}.intro-copy p{color:var(--muted);max-width:320px}.guide-list{display:grid;gap:12px}.guide-row{display:flex;gap:16px;align-items:center;padding:18px;background:var(--white);border:1px solid var(--line);border-radius:12px;color:var(--ink);min-height:88px}.guide-row:hover{border-color:#a2bda6;text-decoration:none}.guide-icon{width:48px;height:48px;background:var(--soft);color:var(--green);display:flex;align-items:center;justify-content:center;border-radius:10px;flex-shrink:0}.guide-row h3{font-size:17px;margin:0 0 5px;letter-spacing:-.02em}.guide-row p{font-size:13px;color:var(--muted);margin:0;line-height:1.5}.guide-row>.icon{margin-left:auto}.bike-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px}.bike-card{border:1px solid var(--line);border-radius:var(--radius);background:var(--white);overflow:hidden;transition:transform .2s,border-color .2s}.bike-card:hover{transform:translateY(-3px);border-color:#acbcad}.bike-card a{color:inherit;text-decoration:none}.bike-card-media{position:relative;aspect-ratio:1.55;background:#e9eee4;overflow:hidden}.bike-card-media img{width:100%;height:100%;object-fit:cover}.bike-card-body{padding:18px 20px}.bike-card h3{font-size:20px;margin:0 0 8px}.price{font-size:21px;font-weight:750;color:var(--green);letter-spacing:-.025em}.bike-meta{font-size:13px;color:var(--muted);margin:6px 0 0;display:flex;align-items:center;gap:6px}.bike-meta .icon{width:15px;height:15px}.pill{display:inline-flex;align-items:center;gap:6px;padding:5px 9px;border-radius:6px;font-size:10px;font-weight:700;line-height:1.3;background:var(--soft);color:var(--green)}.bike-card-media .pill{position:absolute;top:12px;left:12px;background:rgba(255,255,255,.94)}.demo-pill{background:#fff7e4;color:#775929}.split-section{display:grid;grid-template-columns:1fr 1fr;gap:24px}.feature-panel{padding:30px;border-radius:var(--radius);background:var(--soft);display:flex;flex-direction:column;align-items:flex-start;gap:4px}.feature-panel h2{font-size:28px}.feature-panel p{color:var(--muted)}.feature-panel.dark{background:var(--green);color:#fff}.feature-panel.dark .eyebrow,.feature-panel.dark p{color:#d6e1d4}.feature-panel.dark a{color:var(--lime)}.funding-strip{margin:44px 0 0;padding:18px 22px;border:1px solid var(--line);border-radius:12px;display:flex;align-items:center;gap:16px;font-size:13px;background:#f4f6ee}.funding-strip p{margin:0}.funding-strip a{font-weight:650}.funding-strip .icon{color:var(--green)}.site-footer{margin-top:56px;border-top:1px solid var(--line);padding:34px 0;color:var(--muted);font-size:12px}.footer-inner{display:flex;justify-content:space-between;gap:24px}.footer-links{display:flex;flex-wrap:wrap;gap:18px}.bottom-nav{display:none}.page-header{padding:44px 0 30px}.page-header h1{font-size:clamp(34px,4vw,48px);margin-bottom:12px}.page-header p{color:var(--muted);max-width:620px}.page-header .section-heading{margin-bottom:0}.page-main{min-height:55vh}.panel{background:var(--white);border:1px solid var(--line);border-radius:var(--radius);padding:28px}.soft-panel{background:var(--soft);padding:24px;border-radius:var(--radius);margin-bottom:24px}.soft-panel p:last-child{margin-bottom:0}.muted{color:var(--muted);font-size:14px}.filters{padding:22px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);margin-bottom:26px}.filters-search{display:flex;gap:10px;margin-bottom:16px}.filters-search input{flex:1;min-width:0}.filter-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:12px}.filter-grid label{font-size:12px;font-weight:650}.filter-grid select,.filter-grid input{margin-top:6px;width:100%;padding:10px;min-height:44px}.filter-footer{display:flex;align-items:center;gap:16px;margin-top:16px}.results-note{font-size:13px;color:var(--muted);margin-bottom:18px}.empty-state{text-align:center;padding:52px 20px;border:1px dashed #b8c9b9;border-radius:var(--radius);background:var(--soft)}.empty-state p{max-width:450px;margin:0 auto 20px;color:var(--muted)}.pagination{display:flex;gap:10px;justify-content:center;margin-top:32px}.page-numbers{padding:8px 16px;border:1px solid var(--line);border-radius:8px}.page-numbers.current{background:var(--green);color:#fff}.bike-detail{display:grid;grid-template-columns:1.15fr 1fr;gap:44px;align-items:start}.breadcrumbs{display:flex;align-items:center;gap:8px;padding:24px 0;font-size:12px;color:var(--muted)}.bike-gallery-main{border-radius:var(--radius);overflow:hidden;aspect-ratio:1.35;background:#e9eee4}.bike-gallery-main img{width:100%;height:100%;object-fit:cover}.gallery-thumbs{display:flex;gap:10px;margin-top:12px}.gallery-thumbs button{padding:0;border:2px solid transparent;border-radius:8px;overflow:hidden;background:var(--soft);width:70px;height:56px}.gallery-thumbs button[aria-pressed=true]{border-color:var(--green)}.gallery-thumbs img{width:100%;height:100%;object-fit:cover}.detail-heading h1{font-size:38px;margin:14px 0 10px}.detail-heading .price{font-size:28px}.detail-heading .bike-meta{margin-top:10px}.spec-grid{display:grid;grid-template-columns:1fr 1fr;border-top:1px solid var(--line);margin:24px 0}.spec-grid div{padding:14px 0;border-bottom:1px solid var(--line);font-size:14px}.spec-grid dt{font-size:11px;text-transform:uppercase;letter-spacing:.08em;color:var(--muted)}.spec-grid dd{margin:3px 0 0;font-weight:600}.before-buy{padding:22px;border-radius:var(--radius);background:var(--soft);margin:24px 0}.before-buy h2{font-size:22px}.before-buy a{display:flex;align-items:center;gap:12px;padding:12px 0;border-top:1px solid #d9e0d0;font-size:14px;font-weight:600}.contact-box{border-top:1px solid var(--line);padding-top:20px}.contact-box .button{width:100%}.detail-description{max-width:740px;padding-top:38px}.detail-description h2{font-size:26px}.detail-description .content-body{white-space:normal}.content-body{font-size:17px;line-height:1.85}.content-body h2{font-size:28px;margin-top:36px}.content-body h3{margin-top:28px}.content-body ul,.content-body ol{padding-left:24px}.content-body li{margin-bottom:10px}.content-body a{text-decoration:underline}.article-layout{display:grid;grid-template-columns:minmax(0,740px) 300px;gap:64px;align-items:start}.article-aside{position:sticky;top:24px}.article-aside h3{font-size:22px}.article-hero{border-radius:var(--radius);overflow:hidden;margin-bottom:28px;max-height:420px}.article-hero img{width:100%;object-fit:cover}.reading-meta{font-size:12px;color:var(--muted)}.archive-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:22px}.article-card{padding:26px;border:1px solid var(--line);border-radius:var(--radius);background:var(--white);display:flex;flex-direction:column;align-items:flex-start}.article-card h2{font-size:24px}.article-card p{font-size:14px;color:var(--muted);flex:1}.article-card .guide-icon{margin-bottom:22px}.learn-tabs{display:flex;gap:8px;margin-bottom:24px;flex-wrap:wrap}.learn-tabs a{padding:10px 16px;min-height:44px;border:1px solid var(--line);border-radius:8px;font-size:14px}.learn-tabs a.active{background:var(--green);color:white;border-color:var(--green)}.affiliate-box{border:1px solid #d9e2ca;background:var(--soft);padding:26px;border-radius:var(--radius);margin:32px 0}.affiliate-box .disclosure{font-size:13px;line-height:1.7}.rb-form{display:grid;gap:20px;max-width:900px}.rb-form label{display:block;font-size:14px;font-weight:600}.rb-form input:not([type=checkbox]),.rb-form select,.rb-form textarea{width:100%;margin-top:7px}.rb-form .check{display:flex;align-items:flex-start;gap:9px;font-size:13px;font-weight:400}.check input{width:18px;height:18px;flex-shrink:0;margin-top:3px}.check a{text-decoration:underline}.rb-form .button{justify-self:start}.form-grid{display:grid;grid-template-columns:1fr 1fr;gap:18px}.full-width{grid-column:1/-1}input,textarea,select{padding:12px 14px;border:1px solid #d2dbd1;border-radius:8px;background:var(--white);color:var(--ink);min-height:48px}textarea{resize:vertical}input[type=file]{font-size:13px}.honeypot{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}.notice{padding:16px 20px;border:1px solid #eed5c2;background:#fff3e8;border-radius:10px;margin-bottom:24px;font-size:14px}.notice-success{background:#eef6e8;border-color:#d1e5c7}.account-grid{display:grid;grid-template-columns:1.2fr 1fr;gap:30px;max-width:950px}.account-grid .soft-panel{align-self:start}.dashboard-bike{display:flex;align-items:center;justify-content:space-between;gap:20px;margin-bottom:14px}.dashboard-bike h3{margin-top:10px}.dashboard-bike p{margin-bottom:0}.actions{display:flex;gap:8px;flex-wrap:wrap}.actions form{margin:0}.local-banner{padding:8px 20px;background:#f0f3e9;text-align:center;font-size:11px;color:var(--green);border-bottom:1px solid var(--line)}.search-page-form{display:flex;gap:10px;margin-bottom:24px}.search-page-form input{flex:1;min-width:0}
@media(max-width:1000px){.desktop-nav{gap:18px}.header-inner{gap:16px}.bike-grid,.archive-grid{grid-template-columns:repeat(2,1fr)}.hero-layout{gap:26px}.hero h1{font-size:48px}.filter-grid{grid-template-columns:repeat(3,1fr)}.article-layout{grid-template-columns:minmax(0,1fr) 260px;gap:30px}.bike-detail{gap:26px}.detail-heading h1{font-size:32px}}
@media(max-width:700px){body{font-size:15px;padding-bottom:calc(74px + env(safe-area-inset-bottom))}.wrap{padding:0 20px}.header-inner{height:68px;gap:12px;justify-content:space-between}.wordmark{font-size:26px}.desktop-nav,.header-sell{display:none}.menu-button{display:flex}.header-actions{gap:0}.hero{padding-top:28px}.hero-layout{display:flex;flex-direction:column;gap:0;align-items:stretch}.hero-copy h1{font-size:42px;line-height:1.08;max-width:340px;margin-bottom:14px}.hero-copy .eyebrow{font-size:10px;margin-bottom:12px}.hero-copy>p{font-size:15px;margin-bottom:18px;max-width:290px}.hero-image{aspect-ratio:2.08;border-radius:14px;margin-top:22px}.hero-image img{object-position:center 60%}.photo-caption{font-size:9px;bottom:10px;left:12px}.hero-actions{margin-top:0;display:grid;grid-template-columns:1fr 1fr;gap:9px}.hero-actions .button{font-size:13px;padding:13px 10px}.hero-note{display:none}.section{padding-top:34px}.intro-section{display:block}.intro-copy h2{font-size:25px;margin-bottom:12px}.intro-copy .eyebrow,.intro-copy>p{display:none}.guide-list{gap:9px}.guide-row{padding:13px;gap:12px;min-height:76px;border-radius:11px}.guide-row h3{font-size:14px;margin-bottom:3px}.guide-row p{font-size:11px}.guide-icon{width:42px;height:42px}.guide-row>.icon{width:16px}.section-heading{margin-bottom:16px;gap:10px}.section-heading h2{font-size:25px}.section-heading .text-link{font-size:11px}.section-heading .eyebrow{font-size:9px}.bike-grid,.archive-grid{grid-template-columns:1fr;gap:16px}.bike-card-media{aspect-ratio:1.85}.bike-card-body{padding:16px 18px}.bike-card h3{font-size:19px}.split-section{grid-template-columns:1fr;gap:16px}.feature-panel{padding:24px}.feature-panel h2{font-size:25px}.funding-strip{margin-top:30px;padding:16px;gap:12px;font-size:11px}.funding-strip .icon{width:20px}.site-footer{margin-top:34px;padding:26px 0}.footer-inner{display:block}.footer-links{gap:14px;margin-top:18px}.bottom-nav{display:flex;position:fixed;bottom:0;left:0;right:0;background:rgba(250,249,245,.98);backdrop-filter:blur(12px);border-top:1px solid var(--line);padding:8px 10px calc(8px + env(safe-area-inset-bottom));z-index:20;justify-content:space-around}.bottom-nav a{min-height:48px;min-width:64px;padding:5px 10px;display:flex;align-items:center;flex-direction:column;gap:3px;font-size:10px;color:var(--muted);font-weight:600;position:relative}.bottom-nav a.active{color:var(--green)}.bottom-nav a.active:after{content:'';position:absolute;bottom:0;width:18px;height:3px;background:var(--green);border-radius:5px}.bottom-nav a:hover{text-decoration:none}.bottom-nav .icon{width:21px;height:21px}.page-header{padding:28px 0 22px}.page-header h1{font-size:34px}.page-header p{font-size:14px}.page-header .section-heading{align-items:flex-start}.page-header .button{font-size:11px;padding:11px 10px;min-height:44px}.filters{padding:16px;border-radius:13px}.filters-search .button{padding:12px}.filter-grid{grid-template-columns:repeat(2,1fr);gap:12px}.filter-grid select,.filter-grid input{font-size:13px;min-height:44px;padding:10px;width:100%}.bike-detail{display:block}.breadcrumbs{padding:16px 0}.detail-heading{padding-top:20px}.detail-heading h1{font-size:30px}.detail-heading .price{font-size:26px}.bike-gallery-main{aspect-ratio:1.5}.spec-grid{margin:22px 0}.spec-grid div{font-size:13px}.before-buy{padding:18px;margin:20px 0}.before-buy a{font-size:13px}.contact-box .button{min-height:52px}.article-layout{display:block}.article-aside{position:static;margin-top:28px}.content-body{font-size:16px}.content-body h2{font-size:25px}.article-card{padding:22px}.article-card h2{font-size:23px}.panel{padding:20px;border-radius:13px}.form-grid,.account-grid{grid-template-columns:1fr}.rb-form{gap:18px}.rb-form .button{width:100%}.dashboard-bike{display:block}.dashboard-bike .actions{margin-top:18px}.local-banner{font-size:10px;padding:6px 15px}.learn-tabs{gap:6px}.learn-tabs a{padding:9px 12px;font-size:12px}.detail-description{padding-top:28px}.soft-panel{padding:20px}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}
.screen-reader-text{position:absolute!important;width:1px;height:1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
