/* FREE SAILING — class-calendar.html only.
   Reuses .row/.chip/.card/.lens/.cl-facts/.empty from site.css and classes.css
   wherever the shape already exists; this file is only the parts that don't. */

.cc-pick{ display:flex; flex-direction:column; gap:10px; }
.cc-pick-label{ font-size:12px; font-weight:700; letter-spacing:.04em; color:var(--ink-40); }
.cc-pick-row{ display:flex; gap:10px; flex-wrap:wrap; }
.cc-pick-row input[type=search]{
  flex:1 1 260px; min-width:200px; height:44px; padding:0 14px; border-radius:var(--r-s);
  border:1px solid var(--line); font-size:15px; background:#fff; color:var(--ink);
}
.cc-pick-row input[type=search]:focus{ outline:2px solid var(--cyan); outline-offset:1px; }

.cc-lenses{ display:flex; gap:8px; flex-wrap:wrap; margin-top:16px; }

/* -------------------------------------------------------------- browse lens
   One heading, then a plain list of classes that lens groups into — reusing
   .k-lane's spacing rhythm rather than inventing a second card shape. */
.cc-group{ margin-top:26px; }
.cc-group:first-child{ margin-top:0; }
.cc-group h2{ font-size:18px; color:var(--navy); letter-spacing:-.015em; }
.cc-group .sub{ margin-top:4px; font-size:13px; color:var(--ink-40); }
.cc-chiplist{ margin-top:12px; display:flex; flex-wrap:wrap; gap:8px; }
.cc-chiplist a{
  display:inline-flex; align-items:baseline; gap:6px; padding:8px 12px; border-radius:999px;
  border:1px solid var(--line); font-size:14px; color:var(--navy); text-decoration:none;
  background:#fff; transition:border-color .15s var(--ease), background .15s var(--ease);
}
.cc-chiplist a:hover, .cc-chiplist a:focus-visible{ border-color:var(--cyan); background:var(--pale); }
.cc-chiplist a b{ font-weight:700; }
.cc-chiplist a span{ color:var(--ink-40); font-size:12px; font-variant-numeric:tabular-nums; }

.cc-near-btn{ margin-top:2px; }
.cc-near-note{ margin-top:12px; font-size:13.5px; color:var(--ink-40); }

/* ------------------------------------------------------------------ a class */
.cc-hd{ display:flex; align-items:flex-start; justify-content:space-between; gap:16px; flex-wrap:wrap; }
.cc-hd h1{ font-size:clamp(24px,3vw,32px); color:var(--navy); letter-spacing:-.02em; }
.cc-hd .chips{ display:flex; gap:6px; flex-wrap:wrap; margin-top:8px; }
.cc-hd-go{ display:flex; gap:8px; flex-wrap:wrap; }
.cc-alias{ margin-top:8px; font-size:13.5px; color:var(--ink-40); }

.cc-facts{ margin-top:18px; display:grid; grid-template-columns:repeat(auto-fit,minmax(140px,1fr));
  gap:16px 24px; padding-top:18px; border-top:1px solid var(--line-2); }
.cc-facts dt{ font-size:11px; letter-spacing:.1em; text-transform:uppercase; color:var(--cyan-text); font-weight:700; }
.cc-facts dd{ margin:5px 0 0; font-size:15px; color:var(--navy); }
.cc-facts dd a{ color:var(--navy); text-decoration:underline; text-underline-offset:2px; }

.cc-sec{ margin-top:34px; }
.cc-sec h2{ font-size:19px; color:var(--navy); letter-spacing:-.015em; }
.cc-sec .sub{ margin-top:4px; font-size:13.5px; color:var(--ink-40); max-width:60ch; }

.cc-past{ margin-top:12px; }
.cc-past .row{ opacity:.72; }
.cc-past .row .when b, .cc-past .row .bd h3{ color:var(--ink-40); }

.cc-mkt{ margin-top:12px; display:grid; grid-template-columns:repeat(auto-fill,minmax(220px,1fr)); gap:12px; }
.cc-mkt a{
  display:block; padding:13px 15px; border-radius:var(--r-s); border:1px solid var(--line);
  background:#fff; text-decoration:none; color:inherit;
}
.cc-mkt a:hover, .cc-mkt a:focus-visible{ border-color:var(--cyan); }
.cc-mkt .t{ font-size:14px; color:var(--navy); font-weight:700; line-height:1.3; }
.cc-mkt .m{ margin-top:6px; font-size:12.5px; color:var(--ink-40); display:flex; justify-content:space-between; gap:10px; }

.cc-switch{ margin-top:38px; padding-top:22px; border-top:1px solid var(--line-2); }
.cc-switch p{ font-size:13.5px; color:var(--ink-40); }
.cc-switch a{ color:var(--cyan-text); font-weight:700; text-decoration:none; }
.cc-switch a:hover{ text-decoration:underline; }

@media (max-width:640px){
  .cc-mkt{ grid-template-columns:1fr 1fr; }
}
