/*
Theme Name: The Rivet Collective
Description: Professional network for independent riveted trailer repair and modification shops.
Version: 2.8.2
Requires at least: 6.6
Requires PHP: 8.0
License: GPL-2.0-or-later
Text Domain: rivet-collective
*/
:root{--ink:#253528;--cream:#f5f4eb;--rust:#405d3d;--blue:#405d3d;--muted:#596453;--line:#d6ddcd;--gutter:clamp(20px,4vw,64px)}
*{box-sizing:border-box}html{scroll-behavior:smooth;scroll-padding-top:110px}body{margin:0;background:var(--cream);color:var(--ink);font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;line-height:1.7;font-size:16px}a{color:inherit;text-underline-offset:4px}img{max-width:100%}button,input,textarea,select{font:inherit}button,a,input,textarea,select{-webkit-tap-highlight-color:transparent}a:focus-visible,button:focus-visible,input:focus-visible,textarea:focus-visible,select:focus-visible,summary:focus-visible{outline:3px solid #63834b;outline-offset:4px}button{cursor:pointer}p{max-width:68ch;margin:0 0 1.25em}h1,h2,h3,h4{line-height:1.15;letter-spacing:-.035em;color:inherit;overflow-wrap:break-word}h1{font-size:clamp(42px,5.2vw,76px);margin:20px 0 28px;font-weight:720}h2{font-size:clamp(30px,3.5vw,48px);margin:12px 0 24px}h3{font-size:23px;margin:16px 0 12px;letter-spacing:-.02em}h4{font-size:19px}h1 em{font-style:normal;color:#d1dfb7}.site-header{display:flex;align-items:center;justify-content:space-between;gap:32px;position:sticky;top:0;z-index:100;background:#f9f8f0f5;border-bottom:1px solid var(--line);padding:10px max(var(--gutter),calc((100% - 1280px)/2));backdrop-filter:blur(12px)}.brand{display:inline-block;flex-shrink:0}.collective-logo{display:block;width:115px;height:68px;object-fit:contain}#primary-navigation{display:flex;align-items:center;justify-content:flex-end;gap:clamp(14px,1.8vw,26px)}#primary-navigation a{font-size:14px;font-weight:620;text-decoration:none;white-space:nowrap;padding:10px 0}#primary-navigation a:hover,#primary-navigation a[aria-current]{color:#405d3d;text-decoration:underline}#primary-navigation .button{padding:11px 17px}.nav-toggle{display:none;background:transparent;border:1px solid var(--line);border-radius:7px;color:var(--ink);padding:10px 14px;min-height:44px}.button,.rc-btn{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;background:var(--blue);color:#fff;padding:13px 22px;text-decoration:none;border:1px solid var(--blue);border-radius:7px;font-weight:650;font-size:15px;line-height:1.4;transition:background .15s}.button:hover,.rc-btn:hover{background:#2c4729;color:#fff}.button.light{background:transparent;color:var(--ink);border-color:#a7b49c}.button.light:hover{background:#e9eedf;color:var(--ink)}.actions{display:flex;gap:12px;align-items:center;flex-wrap:wrap;margin:26px 0}.eyebrow{font-size:11px;font-weight:700;letter-spacing:.15em;text-transform:uppercase;color:var(--rust);margin-bottom:18px}.intro{font-size:18px;color:var(--muted);line-height:1.8}.caption{font-size:11px;letter-spacing:.12em}.photo-hero{position:relative;isolation:isolate;min-height:660px;display:flex;align-items:center;gap:30px;padding:80px max(var(--gutter),calc((100% - 1280px)/2));background:#233228;color:#fff}.hero-background{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;object-position:center 48%;z-index:-2}.photo-hero:before{content:'';position:absolute;inset:0;background:linear-gradient(90deg,#0e1a13ee,#102018b3 52%,#17271938);z-index:-1}.hero-copy{max-width:740px}.photo-hero p{color:#f2f3e9;max-width:57ch;font-size:18px}.photo-hero .eyebrow{color:#dce5c9}.photo-hero .caption{font-size:11px}.photo-hero .button,.join .button{background:#cedeb7;color:#1c321f;border-color:#cedeb7}.photo-hero .button:hover,.join .button:hover{background:#e1ebd2}.photo-hero .button.light,.join .button.light{background:#1b2a1c40;color:#fff;border-color:#d7dfd0}.hero-note{margin-left:auto;align-self:flex-end;padding:20px 0 20px 25px;border-left:1px solid #ffffff70;min-width:180px}.hero-note span{font-size:11px;letter-spacing:.12em}.hero-note b{display:block;margin-top:12px;font-size:19px;line-height:1.5}.strip{display:flex;flex-wrap:wrap;justify-content:center;gap:18px 45px;padding:22px var(--gutter);background:#e5ead9;border-bottom:1px solid var(--line);font-size:12px;letter-spacing:.1em;text-transform:uppercase;font-weight:650}.strip span:before{content:'+';margin-right:10px;color:#405d3d}section.block{width:100%;max-width:1408px;margin-inline:auto;padding:clamp(48px,6vw,88px) var(--gutter)}.split{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:clamp(32px,6vw,80px);align-items:center}.split>*{min-width:0}.visitor-paths{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:28px}.visitor-paths article{background:#fff;border:1px solid var(--line);border-radius:14px;padding:clamp(25px,3vw,40px)}.visitor-paths h2{font-size:29px}.visitor-paths a{display:inline-block;color:#405d3d;font-weight:650;margin:8px 22px 0 0}.story-photo{display:block;width:100%;height:320px;object-fit:cover;border-radius:12px;margin-bottom:32px}.principles{list-style:none;padding:0;margin:0}.principles li{display:flex;gap:22px;padding:25px 0;border-bottom:1px solid var(--line)}.principles span{min-width:38px;height:38px;display:grid;place-items:center;background:#e6ecd9;border-radius:8px;font-size:13px;color:#405d3d}.principles strong{font-size:18px}.principles p{font-size:15px;color:var(--muted);margin:7px 0 0}.board-intro{display:flex;justify-content:space-between;align-items:center;gap:40px;margin-bottom:32px}.board-intro .intro{max-width:510px}.board-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.board-card{min-width:0;background:#fff;border:1px solid var(--line);border-radius:12px;overflow:hidden}.board-card>img{display:block;width:100%;height:260px;object-fit:cover;object-position:center 30%;background:#e5eadb}.board-detail{padding:24px}.board-role{font-size:10px;color:#405d3d;text-transform:uppercase;letter-spacing:.08em;display:block}.board-detail h3{font-size:22px}.board-detail p{font-size:14px;color:var(--muted);margin:0}.board-source{font-size:13px;margin-top:24px}.dark{background:#263a2b;color:#fff;border-radius:18px}.dark .intro,.card p{color:#e0e7d6}.dark .eyebrow{color:#d1dfbb}.cards{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:22px;margin-top:35px}.card{padding:28px;background:#344936;border:1px solid #ffffff26;border-radius:12px;min-width:0}.card-icon{display:grid;place-items:center;width:44px;height:44px;font-size:24px;background:#4b6244;border-radius:9px;margin-bottom:22px;color:#e0ebcf}.number{font-size:11px;letter-spacing:.1em;color:#d7e3c7}.card p{font-size:15px;margin:0}.hub{background:#e8eddf;border-radius:18px}.hub-box{padding:28px;background:#fff;border:1px solid var(--line);border-radius:14px}.hub-heading{display:flex;justify-content:space-between;align-items:center;gap:12px;font-weight:650;padding-bottom:18px;border-bottom:1px solid var(--line)}.pill{font-size:10px;background:#edf2e4;color:#405d3d;padding:5px 10px;border-radius:20px;white-space:nowrap}.hub-row{display:flex;gap:16px;padding:20px 0;border-bottom:1px solid var(--line)}.hub-row b{font-size:16px}.hub-row small{display:block;color:var(--muted);font-size:14px;margin-top:3px}.dot{color:#405d3d;flex-shrink:0;background:#edf2e4;width:32px;height:32px;display:grid;place-items:center;border-radius:8px}.membership-section{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:40px}.join{padding:75px var(--gutter);text-align:center;background:#263a2b;color:#fff}.join .eyebrow{color:#d8e4c8}.join .intro{color:#e1e7d7;margin-inline:auto}.join .actions{justify-content:center}.join h2{margin-inline:auto;max-width:780px}.site-footer,footer{display:flex;flex-wrap:wrap;justify-content:space-between;gap:28px;padding:45px max(var(--gutter),calc((100% - 1280px)/2));border-top:1px solid var(--line);background:#f9f8f0;font-size:14px;color:var(--muted)}.site-credit{flex-basis:100%;border-top:1px solid var(--line);padding-top:20px;font-size:13px}.site-credit a{color:#405d3d;font-weight:650}.content{padding:50px var(--gutter);max-width:1280px;margin-inline:auto}.community-page{padding-top:35px;min-height:65vh}.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}.skip-link:focus{position:fixed!important;width:auto;height:auto;clip:auto;top:10px;left:10px;background:#fff;padding:12px;z-index:200}.rc-entry,.rc-application{max-width:850px;margin:28px auto!important}.rc-entry h3,.rc-application h2{font-size:32px}.rc-entry .rc-meta{margin-top:24px}.rc-form label{font-weight:650;display:block;margin-top:20px}.rc-form input,.rc-form textarea,.rc-form select{font-size:16px!important;min-height:46px;background:#fff!important;color:#253528!important;border-color:#afbd9f!important}.rc-form-errors{padding:20px;background:#fff2ec;border:1px solid #ab533e;border-radius:8px;margin:22px 0}.rc-form-errors h3{font-size:20px;margin-top:0}.rc-field-error{color:#923c28;font-size:14px;margin:6px 0}.rc-form [aria-invalid]{border-color:#ab533e!important}.rc-banner{background:linear-gradient(110deg,#263a2b,#526b47)}.rc-nav a.active{background:#e5edd8;color:#405d3d}.rc-nav a,.rc-meta{color:#53634c}.rc-notice{background:#edf2e4;border-color:#cbd7ba}.rc-tag,.rc-avatar{background:#e8efdc;color:#405d3d}.rc-community .rc-panel{border-color:var(--line);border-radius:14px}.rc-community .rc-form button,.rc-community .rc-btn{background:#405d3d}.rc-community .rc-nav a{min-height:44px;display:inline-flex;align-items:center}.shop-map-wrap{top:110px!important}.events-hero,.education-hero{padding-inline:max(var(--gutter),calc((100% - 1280px)/2))!important;border-radius:0!important}.events-section,.events-invite,.education-body,.education-contribute{padding-inline:max(var(--gutter),calc((100% - 1280px)/2))!important}.education-hero h1,.events-hero h1{font-size:clamp(38px,4.5vw,62px)}.education-card,.public-shop{box-shadow:0 5px 20px #25352804}.education-grid>*{min-width:0}.education-prose{max-width:70ch;margin:auto;line-height:1.9}.education-prose h3{margin-top:32px;line-height:1.35}.education-filters a{min-height:44px}.education-contribute input,.education-contribute textarea,.education-contribute select{font-size:16px}.shop-reset,.shop-on-map,.shop-links a{min-height:44px;display:inline-flex;align-items:center}.shop-search input{min-height:48px}.shop-map-note,.shop-directory-note{font-size:14px!important}.shop-directory-note a{color:#405d3d;font-weight:650}.event-card>*{min-width:0}.event-card,.education-card,.public-shop{overflow-wrap:anywhere}.rc-form .rc-meta{font-weight:400}.rc-community .actions .button.light{background:transparent}.rc-community input,.rc-community textarea{max-width:100%}
@media(max-width:1100px){.hero-note{display:none}.board-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.board-card>img{height:310px}.board-intro{align-items:start}}
@media(max-width:1050px){.site-header{flex-wrap:wrap;gap:0;padding-block:10px}.collective-logo{width:98px;height:58px}.nav-ready .nav-toggle{display:inline-flex;gap:16px;align-items:center;margin-left:auto}#primary-navigation{width:100%;flex-wrap:wrap;justify-content:flex-start;gap:4px 20px;padding:12px 0}#primary-navigation a{padding:10px;min-height:44px}.nav-ready #primary-navigation{display:none}.nav-ready.nav-open #primary-navigation{display:flex}.nav-ready.nav-open #primary-navigation a{width:calc(50% - 10px)}.site-header .button{justify-content:flex-start}.split,.membership-section{grid-template-columns:1fr}.cards{grid-template-columns:1fr}.dark,.hub{border-radius:0}.photo-hero{min-height:600px;padding-block:55px}.board-intro{display:block}.visitor-paths h2{font-size:26px}}
@media(max-width:650px){html{scroll-padding-top:95px}.photo-hero{min-height:620px}.photo-hero h1{font-size:clamp(39px,9vw,55px)}.photo-hero .hero-background{object-position:45% center}.photo-hero:before{background:#112016c9}.photo-hero p{font-size:17px}.actions{gap:12px}.hero-copy .actions .button{width:100%}.visitor-paths,.board-grid{grid-template-columns:1fr}.board-card>img{height:310px}.story-photo{height:260px}.hub-box{padding:20px}.hub-heading{flex-wrap:wrap}.membership-section{gap:8px}.shop-search>div{flex-wrap:wrap}.shop-search input{flex-basis:100%}.public-shop{padding:22px}.education-hero,.events-hero{padding-block:45px!important}.events-empty{display:block}.events-symbol{display:none}.education-contribute,.events-invite{padding-block:40px!important}.education-card{padding:23px}.site-footer,footer{flex-direction:column}.site-credit{margin-top:0}.community-page{padding-inline:16px}.rc-community .rc-panel{padding:22px}.rc-entry h3,.rc-application h2{font-size:28px}.rc-community .rc-nav{gap:4px}.rc-community .rc-banner{padding:25px}.rc-community .rc-banner h2{font-size:32px}.education-body{padding-top:35px!important}.education-prose{font-size:16px!important}.strip{gap:10px 24px}.rc-community .actions{align-items:stretch}.rc-community .actions .rc-btn{width:100%}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*{transition:none!important}}

.owner-directory-intro{padding-bottom:0}.owner-shops-page .public-shops{padding-top:35px}.shop-breadcrumb{display:flex;flex-wrap:wrap;gap:10px;margin-bottom:36px;font-size:14px}.shop-profile h1{font-size:clamp(36px,4.5vw,62px)}.shop-profile .actions{margin-bottom:38px}.shop-profile-grid{display:grid;grid-template-columns:minmax(0,1.7fr) minmax(0,1fr);gap:28px;align-items:start}.shop-profile-panel{background:#fff;border:1px solid var(--line);border-radius:14px;padding:clamp(22px,3vw,36px);margin-bottom:28px;min-width:0}.shop-profile-panel h2{font-size:29px}.shop-profile address{font-style:normal;margin-bottom:22px}.shop-profile figure{margin:0 0 25px}.shop-profile figure img{width:100%;height:270px;object-fit:cover;border-radius:9px}.shop-profile figcaption,.shop-fact-source,.shop-photo-caption{font-size:13px;color:var(--muted);line-height:1.65}.shop-profile ul{padding-left:22px}.shop-profile li{margin-bottom:9px}.public-shop h3 a{text-decoration:none}.public-shop h3 a:hover{text-decoration:underline}@media(max-width:800px){.shop-profile-grid{grid-template-columns:1fr}.shop-profile .actions .button{flex-grow:1}.shop-breadcrumb{margin-bottom:24px}}

.hero-shop-path{font-size:14px!important;margin:25px 0 0!important}.hero-shop-path a{color:#e4edda;text-decoration-thickness:1px}.owner-education{background:#e9eedf}.owner-lesson-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,320px),1fr));gap:25px;margin:30px 0}.owner-lesson-card{background:#fff;border:1px solid var(--line);border-radius:14px;padding:30px;min-width:0}.owner-lesson-card h3{font-size:27px}.owner-lesson-card h3 a{text-decoration:none}.owner-lesson-card h3 a:hover{text-decoration:underline}.owner-lesson-byline{font-size:13px;color:var(--muted)}.visitor-paths{scroll-margin-top:100px}#primary-navigation .member-entrance{font-size:13px}@media(max-width:1050px){.nav-ready.nav-open #primary-navigation .member-entrance{width:100%;white-space:normal}.nav-ready.nav-open #primary-navigation a{white-space:normal}}@media(max-width:650px){.owner-lesson-card{padding:23px}.photo-hero .eyebrow{font-size:11px;line-height:1.7}.photo-hero{min-height:650px}.hero-shop-path{font-size:14px!important}}

.shop-interest-action-wrap{margin-top:30px}.dark .shop-interest-action{background:#d1dfb7;border-color:#d1dfb7;color:var(--ink)}


.rc-workspace-education .public-review-note{max-width:72ch;margin:24px auto;padding:22px;border-left:4px solid #60774f;background:#edf0e5;border-radius:6px}.rc-workspace-education .public-review-note h2{font-size:21px;margin:0 0 12px}.rc-workspace-education .public-review-note p{font-size:15px;margin:0}

/* Keep the community invitation visible alongside the sticky navigation. */
.site-header{gap:16px}
.header-facebook{order:3;display:inline-flex;align-items:center;gap:9px;flex-shrink:0;min-height:44px;padding:8px 11px;border:1px solid #c9d5c4;border-radius:7px;background:#fff;text-decoration:none;color:var(--ink);font-size:13px;font-weight:650;line-height:1.3}
.header-facebook img{display:block;width:28px;height:28px;flex-shrink:0}
.header-facebook .facebook-label{display:block;font-weight:500}
.header-facebook:hover{background:#edf2e8;border-color:#405d3d}
.header-facebook:focus-visible{outline:3px solid #0866ff;outline-offset:3px}
@media(min-width:1401px){#primary-navigation{gap:14px}#primary-navigation a{font-size:13px}#primary-navigation .button{padding:10px 12px}}
@media(max-width:1400px){.site-header{flex-wrap:wrap;gap:8px;padding-block:10px}.collective-logo{width:98px;height:58px}.header-facebook{order:0;margin-left:auto}.nav-ready .nav-toggle{display:inline-flex;gap:8px;align-items:center;margin-left:0}#primary-navigation{width:100%;flex-wrap:wrap;justify-content:flex-start;gap:4px 20px;padding:12px 0}#primary-navigation a{padding:10px;min-height:44px;white-space:normal}.nav-ready #primary-navigation{display:none}.nav-ready.nav-open #primary-navigation{display:flex}.nav-ready.nav-open #primary-navigation a{width:calc(50% - 10px)}.nav-ready.nav-open #primary-navigation .member-entrance{width:100%}}
@media(max-width:480px){.site-header{padding-inline:14px;gap:6px}.site-header .collective-logo{width:72px;height:48px}.header-facebook{padding:7px;gap:6px;font-size:12px}.nav-ready .nav-toggle{padding:8px;gap:5px;font-size:12px}}
