/* Homepage styles are scoped so the shared header and footer retain their theme. */
.site-content:has(> .csa-home){padding:0;min-height:0}
.csa-home{--home-ink:#103e2d;--home-muted:#52675b;--home-paper:#faf8ee;--home-line:#d5dfd2;color:var(--home-ink);background:var(--home-paper);font-family:Inter,Arial,Helvetica,sans-serif;font-size:16px;line-height:1.65;overflow-wrap:break-word}
.csa-home *{box-sizing:border-box;min-width:0}
.csa-home h1,.csa-home h2,.csa-home h3,.csa-home p{margin:0}
.csa-home h1,.csa-home h2,.csa-home h3{color:var(--home-ink);font-family:inherit;line-height:1.15;letter-spacing:-.035em;text-wrap:balance}
.csa-home a{color:inherit;text-decoration:none}
.csa-home button,.csa-home input{font:inherit}
.csa-home a,.csa-home button,.csa-home input{touch-action:manipulation}
.csa-home :is(a,button,input):focus-visible{outline:3px solid #a66d17;outline-offset:4px}
.csa-home [hidden]{display:none!important}
.csa-home .home-kicker,.csa-home .eyebrow{font-size:.7rem;font-weight:700;letter-spacing:.12em;line-height:1.6;color:var(--home-muted)}
.csa-home .home-hero{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);align-items:center;gap:clamp(32px,5vw,76px);max-width:1280px;margin:0 auto;padding:64px 40px 56px;height:auto;position:relative}
.csa-home .home-intro{max-width:570px}
.csa-home .home-intro h1{font-size:clamp(2.4rem,4.7vw,4.1rem);font-weight:700;line-height:1.08;letter-spacing:-.055em;margin:18px 0 22px}
.csa-home .home-summary{font-size:clamp(1rem,1.3vw,1.12rem);line-height:1.75;color:var(--home-muted);max-width:44ch}
.csa-home .home-search{margin-top:28px}
.csa-home .home-search label{display:block;font-size:.84rem;font-weight:600;margin-bottom:9px}
.csa-home .home-search-row{display:flex;align-items:stretch;border:1px solid #a7b9a7;border-radius:10px;background:white;padding:5px;gap:6px;box-shadow:0 5px 20px #103e2d06}
.csa-home .home-search input{flex:1;width:100%;border:0;background:transparent;padding:12px 10px;color:var(--home-ink);font-size:1rem;line-height:1.4;border-radius:6px}
.csa-home .home-search input::placeholder{color:#65776b;opacity:1}
.csa-home .home-search button{display:inline-flex;align-items:center;justify-content:center;gap:10px;flex-shrink:0;min-height:48px;padding:12px 18px;border:0;border-radius:7px;background:var(--home-ink);color:white;font-size:.9rem;font-weight:600;cursor:pointer}
.csa-home .home-search button:hover{background:#1d5742}
.csa-home .home-actions{display:flex;flex-wrap:wrap;gap:8px 22px;margin-top:14px}
.csa-home .home-link{display:inline-flex;align-items:center;gap:14px;min-height:44px;font-size:.88rem;font-weight:650;text-decoration:underline;text-underline-offset:5px}
.csa-home .home-link.secondary{color:#52675b}
.csa-home .home-category-jump{display:inline-flex;align-items:center;gap:12px;min-height:44px;font-size:.82rem;color:var(--home-muted);margin-top:10px}
.csa-home .home-spotlight{background:#eef1e6;border:1px solid var(--home-line);border-radius:18px;overflow:hidden;align-self:stretch;display:flex;flex-direction:column;justify-content:center;padding:22px;position:relative}
.csa-home .home-gallery-heading{display:flex;align-items:center;justify-content:space-between;gap:16px}
.csa-home .home-gallery-count{font-size:.78rem;color:var(--home-muted);font-variant-numeric:tabular-nums;white-space:nowrap}
.csa-home .home-gallery-frame{width:100%;aspect-ratio:4/3;position:relative;margin:12px 0;display:grid;place-items:center;overflow:hidden;isolation:isolate}
.csa-home .home-gallery-frame img{display:block;width:100%;height:100%;object-fit:contain;object-position:center;position:absolute;inset:0;max-width:100%;max-height:100%;filter:drop-shadow(0 15px 12px #103e2d12)}
.csa-home .home-gallery-controls{display:grid;grid-template-columns:44px minmax(60px,1fr) 44px auto;align-items:center;gap:8px;margin:0 0 20px}
.csa-home .home-gallery-controls button{min-width:44px;min-height:44px;padding:8px;border:1px solid #a9baa7;border-radius:9px;background:#fafcf5;color:var(--home-ink);cursor:pointer;line-height:1.2;font-size:1.15rem}
.csa-home .home-gallery-controls button:hover{background:#e0e8d6}
.csa-home .home-gallery-controls #home-gallery-pause{font-size:.75rem;padding:8px 10px;white-space:nowrap}
.csa-home .home-gallery-status{text-align:center;font-size:.73rem;color:var(--home-muted);line-height:1.4}
.csa-home .home-gallery-caption{display:flex;justify-content:space-between;align-items:center;gap:16px;padding-top:20px;border-top:1px solid #cad7c5}
.csa-home .home-gallery-caption h2{font-size:1.28rem;margin-top:6px}
.csa-home .home-gallery-caption a{display:inline-flex;align-items:center;gap:10px;min-height:44px;font-size:.85rem;font-weight:650;white-space:nowrap;text-decoration:underline;text-underline-offset:4px}
.csa-home .home-gallery-note{margin-top:13px;font-size:.73rem;color:var(--home-muted);line-height:1.65}
.csa-home .marketplace,.csa-home .recent-listings{max-width:1280px;margin:0 auto;padding:52px 40px 64px;scroll-margin-top:24px}
.csa-home .marketplace{border-top:1px solid var(--home-line)}
.csa-home .section-head,.csa-home .recent-listings-head{display:flex;justify-content:space-between;align-items:flex-end;gap:28px;margin-bottom:28px}
.csa-home .section-head h2,.csa-home .recent-listings-head h2{font-size:clamp(1.8rem,3vw,2.6rem);margin-top:12px;max-width:22ch}
.csa-home .section-head>p{max-width:38ch;font-size:.93rem;color:var(--home-muted);line-height:1.75}
.csa-home .category-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.csa-home .category-grid a{position:relative;display:flex;flex-direction:column;align-items:flex-start;justify-content:space-between;gap:18px;padding:22px 22px 44px;min-height:170px;border:1px solid var(--home-line);background:white;border-radius:12px}
.csa-home .category-grid a:hover{background:#eef2e5;border-color:#8ba184}
.csa-home .category-grid span{font-size:.65rem;line-height:1.6;letter-spacing:.07em;color:var(--home-muted)}
.csa-home .category-grid h3{font-size:1.08rem;line-height:1.35;font-weight:650}
.csa-home .category-grid b{position:absolute;right:18px;bottom:12px;font-size:1.1rem}
.csa-home .recent-listings{padding-top:52px;background:#f0f3e9;border-radius:18px}
.csa-home .recent-listings-head p{font-size:.93rem;color:var(--home-muted);margin-top:12px}
.csa-home .primary{display:inline-flex;align-items:center;justify-content:center;gap:18px;min-height:48px;padding:12px 18px;background:var(--home-ink);color:white;border-radius:8px;font-size:.88rem;font-weight:600;flex-shrink:0}
.csa-home .primary:hover{background:#1d5742}
.csa-home .recent-listings-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:20px}
.csa-home .recent-listing-card{background:white;border:1px solid var(--home-line);border-radius:12px;overflow:hidden;display:flex;flex-direction:column}
.csa-home .recent-listing-image{display:block;aspect-ratio:4/3;background:#e9ede3;overflow:hidden}
.csa-home .recent-listing-image img{display:block;width:100%;height:100%;object-fit:contain}
.csa-home .recent-listing-info{padding:20px;display:flex;flex-direction:column;flex:1}
.csa-home .recent-listing-info h3{font-size:1.03rem;line-height:1.5;letter-spacing:-.015em}
.csa-home .recent-listing-info h3 a:hover{text-decoration:underline}
.csa-home .recent-listing-info p{font-size:.87rem;color:var(--home-muted);margin:10px 0 18px}
.csa-home .recent-listing-info>div{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;border-top:1px solid var(--home-line);padding-top:10px;margin-top:auto}
.csa-home .recent-listing-info strong{font-size:1rem}
.csa-home .recent-listing-info>div a{display:inline-flex;align-items:center;min-height:44px;font-size:.82rem;text-decoration:underline;text-underline-offset:4px}
.csa-home .recent-listings-empty{padding:24px;background:white;border-radius:10px}
.csa-home .recent-listings-empty a{display:inline-flex;align-items:center;min-height:44px;font-weight:600;text-decoration:underline}
.csa-home .sell{max-width:1200px;margin:56px auto;padding:42px;border-radius:16px;background:var(--home-ink);color:#faf8ee;display:flex;flex-direction:column;align-items:flex-start;gap:20px}
.csa-home .sell .eyebrow{color:#dcef9c}
.csa-home .sell h2{color:inherit;font-size:clamp(1.8rem,3.2vw,2.7rem);max-width:25ch}
.csa-home .sell p{font-size:1rem;line-height:1.75;max-width:65ch;color:#e1e9dc}
.csa-home .sell>a{display:inline-flex;align-items:center;justify-content:center;min-height:48px;padding:12px 20px;background:#f5c953;color:#103e2d;border-radius:8px;font-size:.9rem;font-weight:700}
@media(min-width:1600px){.csa-home .home-hero{padding-top:76px;padding-bottom:76px}}
@media(max-width:1000px){.csa-home .home-hero{gap:28px;padding-inline:28px}.csa-home .home-intro h1{font-size:3.1rem}.csa-home .home-spotlight{padding:18px}.csa-home .home-gallery-controls{grid-template-columns:44px minmax(60px,1fr) 44px}.csa-home #home-gallery-pause{grid-column:1/-1;justify-self:center;min-width:140px}.csa-home .marketplace,.csa-home .recent-listings{padding-inline:28px}.csa-home .category-grid{grid-template-columns:repeat(3,minmax(0,1fr))}.csa-home .recent-listings-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.csa-home .sell{margin-inline:28px}}
@media(max-width:760px){.csa-home .home-hero{grid-template-columns:minmax(0,1fr);padding:34px 22px 40px;gap:30px}.csa-home .home-intro{max-width:none}.csa-home .home-intro h1{font-size:clamp(2.25rem,7.8vw,3.3rem);margin:14px 0 18px;line-height:1.1}.csa-home .home-summary{font-size:1rem;max-width:50ch}.csa-home .home-search{margin-top:22px}.csa-home .home-spotlight{max-width:560px;width:100%;justify-self:center;padding:18px}.csa-home .home-gallery-frame{aspect-ratio:4/3;max-height:none}.csa-home .home-gallery-controls{grid-template-columns:44px minmax(60px,1fr) 44px auto}.csa-home #home-gallery-pause{grid-column:auto;min-width:0}.csa-home .marketplace,.csa-home .recent-listings{padding:36px 22px 42px}.csa-home .section-head,.csa-home .recent-listings-head{display:flex;flex-direction:column;align-items:flex-start;gap:16px;margin-bottom:22px}.csa-home .section-head h2,.csa-home .recent-listings-head h2{font-size:1.9rem}.csa-home .section-head>p{max-width:none}.csa-home .category-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}.csa-home .category-grid a{min-height:155px;padding:18px 16px 38px;gap:14px}.csa-home .category-grid h3{font-size:1rem}.csa-home .category-grid span{font-size:.63rem;letter-spacing:.03em}.csa-home .sell{margin:34px 22px;padding:28px;gap:18px}.csa-home .sell h2{font-size:1.95rem}.csa-home .sell br{display:none}.main-header{height:auto;min-height:0}.main-header .header-flex{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:8px 16px}.main-header .main-nav{order:3;flex-basis:100%;display:flex;justify-content:flex-start;gap:16px}.main-header .main-nav .nav-link{font-size:.9rem;min-height:44px;display:inline-flex;align-items:center}.main-header .user-actions{margin-left:auto}.main-header .btn-primary-emerald{font-size:.82rem;min-height:44px;display:inline-flex;align-items:center}}
@media(max-width:460px){.csa-home .home-gallery-controls{grid-template-columns:44px minmax(60px,1fr) 44px}.csa-home #home-gallery-pause{grid-column:1/-1;justify-self:center;min-width:148px}.csa-home .recent-listings-grid{grid-template-columns:1fr}.csa-home .home-search-row{flex-wrap:wrap;gap:0}.csa-home .home-search input{flex-basis:100%;min-height:48px}.csa-home .home-search button{width:100%}.csa-home .home-actions{gap:8px 24px}.csa-home .home-gallery-caption{align-items:flex-start}.csa-home .home-gallery-caption h2{font-size:1.15rem}.csa-home .category-grid a{min-height:165px}.csa-home .sell{padding:25px}.csa-home .sell h2{font-size:1.8rem}}
@media(max-width:350px){.csa-home .home-hero{padding-inline:16px}.csa-home .marketplace,.csa-home .recent-listings{padding-inline:16px}.csa-home .home-spotlight{padding:14px}.csa-home .home-gallery-caption{flex-wrap:wrap;gap:6px}.csa-home .category-grid h3{font-size:.93rem}.csa-home .sell{margin-inline:16px}}
@media(prefers-reduced-motion:reduce){.csa-home *{scroll-behavior:auto!important;animation:none!important;transition:none!important}}
/* The shared site theme uses !important for form sizes and heading colours. */
.site-content .csa-home .home-search input{font-size:16px!important;border-radius:6px!important}
.site-content .csa-home .sell h2{color:#faf8ee!important}
@media(max-width:760px){.main-header .header-flex{height:auto;min-height:0;padding-top:12px!important;padding-bottom:12px!important}.main-header .main-nav .nav-link{font-size:14px!important}.main-header .user-actions .btn-primary-emerald{font-size:13px!important}.main-header .logo a{font-size:22px}}
