/* CORA shops directory. Annual Appeal (EOY26) look.
   Upload to CMS > Assets > themes/coramtb/assets/trail-shops/trail-shops.css
   Every rule is scoped to .cs so the site theme cannot restyle it.
   Font: Azo Sans via the Adobe Fonts web project ("azo-sans-web"). */

.cs{
  --paper:#F5F4EC; --card:#FFFEF8; --hair:#DDDCD5; --ink:#221D1B;
  --purple:#362D7B; --purple-hover:#2A2361; --teal:#47A08D; --teal-text:#407C70;
  --mint:#84D5BB; --orange:#E05F22; --lavender:#B59FD6; --muted:#5E5650; --on-dark:#CFC9C0;
  font-family:"azo-sans-web",sans-serif; font-weight:500; line-height:1.5;
  color:var(--ink); background:var(--paper);
  max-width:1180px; margin:0 auto; padding:24px 20px 56px;
}
.cs *,.cs *::before,.cs *::after{box-sizing:border-box}
.cs p,.cs h1,.cs h2,.cs h3,.cs ul,.cs li{margin:0;padding:0;list-style:none;font-family:inherit}
.cs a{color:var(--purple);font-weight:700;text-decoration:underline;text-underline-offset:3px}
.cs a:hover{color:var(--purple-hover)}
.cs :focus-visible{outline:3px solid var(--orange);outline-offset:2px;border-radius:6px}

/* four-color rule: purple 4 : teal 3 : orange 1.6 : ink 3 */
.cs .rule{display:flex;width:112px;height:6px;margin-top:14px;border-radius:3px;overflow:hidden}
.cs .rule i{display:block;height:100%}
.cs .rule i:nth-child(1){flex:4;background:var(--purple)}
.cs .rule i:nth-child(2){flex:3;background:var(--teal)}
.cs .rule i:nth-child(3){flex:1.6;background:var(--orange)}
.cs .rule i:nth-child(4){flex:3;background:var(--ink)}
.cs .on-dark .rule i:nth-child(4),.cs .hero .rule i:nth-child(4),.cs .cta .rule i:nth-child(4){background:var(--paper)}
.cs .hero .rule i:nth-child(1),.cs .cta .rule i:nth-child(1){background:var(--lavender)}

.cs .eyebrow{font-weight:700;text-transform:uppercase;letter-spacing:.18em;font-size:13px;color:var(--teal-text)}
.cs .on-dark .eyebrow,.cs .hero .eyebrow,.cs .cta .eyebrow{color:var(--mint)}
.cs h1,.cs h2{font-weight:900;letter-spacing:-.015em;line-height:1.04}

/* hero panel. Default is the purple panel alone.
   For the photo version add class "has-photo" to .hero and set --cs-hero-photo on .cs, e.g. url(...) */
.cs [hidden]{display:none!important}
.cs .hero{position:relative;border-radius:18px;overflow:hidden}
.cs .hero-panel{background:var(--purple);color:var(--paper);padding:40px 44px 44px;border-radius:18px}
.cs .hero h1{font-size:clamp(34px,5.4vw,56px);color:var(--paper);margin-top:10px}
.cs .hero p.lede{margin-top:14px;font-size:18px;color:var(--paper);max-width:52ch}
.cs .hero.has-photo{min-height:340px;display:flex;align-items:flex-end;background:var(--cs-hero-photo,none) center/cover,var(--ink)}
.cs .hero.has-photo .hero-panel{margin:56px 0 0 32px;width:calc(100% - 64px);max-width:640px;border-radius:18px 18px 0 0}

/* stat band */
.cs .stats{background:var(--ink);color:var(--paper);border-radius:18px;margin-top:28px;padding:28px 32px;
  display:grid;grid-template-columns:repeat(3,1fr);gap:24px}
.cs .stat b{display:block;font-weight:900;font-size:clamp(40px,6vw,64px);line-height:1;color:var(--mint)}
.cs .stat:nth-child(2) b{color:var(--orange)}
.cs .stat span{display:block;margin-top:8px;font-weight:700;color:var(--on-dark)}

/* section heading */
.cs .sec{margin-top:48px}
.cs .sec h2{font-size:clamp(28px,4vw,40px);margin-top:8px}

/* controls */
.cs .controls{margin-top:24px;background:var(--card);border:1px solid var(--hair);border-radius:14px;padding:18px}
.cs .search-row{display:flex;gap:10px;flex-wrap:wrap}
.cs .search{flex:1 1 260px;font:inherit;font-weight:500;font-size:16px;padding:12px 14px;border:1px solid #8c867f;
  border-radius:10px;background:#fff;color:var(--ink)}
.cs .btn{font:inherit;font-weight:700;font-size:16px;cursor:pointer;border:0;border-radius:10px;padding:12px 18px;
  background:var(--purple);color:var(--paper);text-decoration:none;display:inline-block}
.cs .btn:hover{background:var(--purple-hover);color:var(--paper)}
.cs .btn.ghost{background:transparent;color:var(--purple);border:2px solid var(--purple)}
.cs .btn.ghost:hover{background:var(--purple);color:var(--paper)}
.cs .chip-group{margin-top:14px;display:flex;flex-wrap:wrap;gap:8px;align-items:center}
.cs .chip-label{font-weight:700;text-transform:uppercase;letter-spacing:.18em;font-size:12px;color:var(--muted);margin-right:4px}
.cs .chip{font:inherit;font-weight:700;font-size:14px;cursor:pointer;padding:8px 14px;border-radius:999px;
  border:1.5px solid var(--hair);background:#fff;color:var(--ink)}
.cs .chip:hover{border-color:var(--purple)}
.cs .chip[aria-pressed="true"]{background:var(--purple);border-color:var(--purple);color:var(--paper)}
.cs .status{margin-top:14px;font-weight:700;color:var(--muted)}

/* map */
.cs .map-wrap{margin-top:20px;border:1px solid var(--hair);border-radius:14px;overflow:hidden;background:var(--card)}
.cs #cs-map{height:460px;width:100%}
.cs .legend{display:flex;flex-wrap:wrap;gap:16px;padding:10px 14px;border-top:1px solid var(--hair);font-size:14px;font-weight:700;color:var(--muted)}
.cs .map-note{padding:0 14px 12px;font-size:13px;color:var(--muted)}
.cs .trail{font-size:14px;font-weight:700;color:var(--teal-text)}
.cs .legend span::before{content:"";display:inline-block;width:12px;height:12px;border-radius:50%;margin-right:6px;vertical-align:-1px;background:var(--c)}
/* Leaflet sets its own fonts (Helvetica Neue, Lucida Console). Force Azo Sans everywhere inside the map. */
.cs .leaflet-container,.cs .leaflet-container *,.cs .leaflet-bar a,.cs .leaflet-control-attribution,.cs .leaflet-tooltip{font-family:"azo-sans-web",sans-serif}
.cs .leaflet-bar a{font-weight:900}
.cs .legend .ln::before{width:24px;height:0;border-radius:0;border-top:4px solid var(--c);background:none;vertical-align:3px}
.cs .legend .ln.dash::before{border-top-style:dashed}
.cs .leaflet-popup-content{font-weight:500;margin:12px 14px}
.cs .leaflet-popup-content b{font-weight:900;display:block}
.cs .leaflet-popup-content a{font-weight:700}

/* cards */
.cs .grid{margin-top:20px;display:grid;grid-template-columns:repeat(auto-fill,minmax(300px,1fr));gap:16px}
.cs .shop{background:var(--card);border:1px solid var(--hair);border-left:5px solid var(--c,var(--purple));
  border-radius:12px;padding:16px 18px;display:flex;flex-direction:column;gap:6px}
.cs .shop h3{font-weight:900;font-size:20px;letter-spacing:-.01em;line-height:1.15}
.cs .shop h3 a{color:var(--ink);text-decoration:none}
.cs .shop h3 a:hover{text-decoration:underline;color:var(--purple)}
.cs .head{display:flex;gap:14px;align-items:center}
.cs .logo{flex:0 0 92px;width:92px;height:64px;border-radius:8px;background:#fff;border:1px solid var(--hair);
  display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative}
.cs .logo img{max-width:100%;max-height:100%;width:auto;height:auto;object-fit:contain;padding:5px;display:block}
.cs .logo .mono{font-weight:900;font-size:22px;letter-spacing:.02em;color:var(--paper);background:var(--purple);
  position:absolute;inset:0;display:flex;align-items:center;justify-content:center}
.cs .logo.has .mono{display:none}
.cs .tags{display:flex;flex-wrap:wrap;gap:2px 12px}
.cs .tag{font-weight:700;text-transform:uppercase;letter-spacing:.12em;font-size:11px;color:var(--teal-text)}
.cs .addr{color:var(--muted);font-size:15px}
.cs .note{font-size:15px}
.cs .dist{font-weight:900;color:var(--orange)}
.cs .actions{margin-top:auto;padding-top:8px;display:flex;flex-wrap:wrap;gap:14px;font-size:15px}
.cs .actions button{font:inherit;font-weight:700;background:none;border:0;padding:0;color:var(--purple);
  text-decoration:underline;text-underline-offset:3px;cursor:pointer}
.cs .empty{grid-column:1/-1;padding:32px;text-align:center;background:var(--card);border:1px dashed var(--hair);border-radius:12px;font-weight:700}

/* cta panel */
.cs .cta{margin-top:48px;background:var(--purple);color:var(--paper);border-radius:18px;padding:36px 40px;
  display:flex;flex-wrap:wrap;gap:24px;align-items:center;justify-content:space-between}
.cs .cta h2{color:var(--paper);font-size:clamp(26px,3.6vw,36px);margin-top:8px}
.cs .cta p{margin-top:10px;max-width:52ch}
.cs .cta .btn{background:var(--paper);color:var(--purple)}
.cs .cta .btn:hover{background:#fff;color:var(--purple-hover)}

.cs .closing{margin-top:40px;display:flex;align-items:center}

@media (max-width:700px){
  .cs{padding:16px 14px 40px}
  .cs .hero-panel{padding:28px 22px 30px}
  .cs .hero.has-photo{min-height:260px}
  .cs .hero.has-photo .hero-panel{margin-left:0;width:100%;max-width:none}
  .cs .stats{grid-template-columns:1fr;padding:22px}
  .cs #cs-map{height:340px}
  .cs .cta{padding:28px 22px}
  .cs .grid{grid-template-columns:1fr}
}
@media (prefers-reduced-motion:reduce){.cs *{scroll-behavior:auto!important}}
