/* ChairsideSource Marketplace
   Steel-grey ground, white tag cards, one teal accent.
   Archivo (semi-condensed) for equipment names and prices, Source Sans 3 for reading. */

:root {
  --steel: #e7ebed;
  --steel-2: #d5dbdf;
  --paper: #ffffff;
  --ink: #10202b;
  --ink-2: #4a5a66;
  --ink-3: #75838d;
  --teal: #0e6e5c;
  --teal-ink: #08493d;
  --teal-wash: #dcefe9;
  --flag: #b4232a;
  --line: #c7d0d5;
  --radius-tag: 10px;
  --radius-ctl: 6px;
  --shadow-tag: 0 1px 0 #c3cbd0, 0 6px 18px -12px rgba(16, 32, 43, .45);
  --display: "Archivo", "Arial Narrow", system-ui, sans-serif;
  --body: "Source Sans 3", -apple-system, "Segoe UI", sans-serif;
  --max: 1240px;
}

* { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body.mkt {
  margin: 0;
  background: var(--steel);
  color: var(--ink);
  font: 400 1.0625rem/1.55 var(--body);
}
.mkt :where(a:not(.btn)) { color: var(--teal); }
.mkt :where(a:not(.btn)):hover { color: var(--teal-ink); }
.mkt :focus-visible { outline: 3px solid var(--teal); outline-offset: 2px; border-radius: 3px; }
.mkt img { max-width: 100%; display: block; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.sr { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--ink); color: #fff; padding: 8px 12px; z-index: 50; }
.skip:focus { left: 8px; }

/* ---------- top bar ---------- */
.mbar { background: var(--ink); color: #fff; }
.mbar .wrap { display: flex; align-items: center; gap: 20px; height: 92px; }
.mbar .brand { display: flex; align-items: center; gap: 14px; color: #fff; text-decoration: none; flex: none; }
.mbar .brand .mark { width: 60px; height: 60px; flex: none; transition: transform .25s ease; filter: drop-shadow(0 4px 10px rgba(0,0,0,.35)); }
.mbar .brand:hover .mark { transform: rotate(-6deg); }
.mbar .brand .bt { display: flex; flex-direction: column; line-height: 1; }
.mbar .brand b { font: 800 1.85rem/1 var(--display); font-stretch: 86%; letter-spacing: -.02em; }
.mbar .brand b i { font-style: normal; color: #9fd8c9; }
.mbar .brand .bt > span { font: 700 1.02rem/1 var(--display); font-stretch: 100%; letter-spacing: .01em; color: #9fd8c9; margin-top: 5px; }
@media (prefers-reduced-motion: reduce) { .mbar .brand .mark { transition: none; } }
.mbar nav { display: flex; gap: 18px; margin-left: auto; }
.mbar nav a { color: #cbd6dc; text-decoration: none; font-size: .95rem; }
.mbar nav a:hover, .mbar nav a[aria-current] { color: #fff; }
.btn {
  white-space: nowrap;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: 600 .98rem var(--body); text-decoration: none; cursor: pointer;
  border-radius: var(--radius-ctl); border: 1px solid transparent; padding: 10px 16px; line-height: 1.1;
}
.btn-sell { background: #9fd8c9; color: var(--ink); }
.btn-sell:hover { background: #fff; color: var(--ink); }
.btn-primary { background: var(--teal); color: #fff; }
.btn-primary:hover { background: var(--teal-ink); color: #fff; }
.btn-quiet { background: var(--paper); color: var(--ink); border-color: var(--line); }
.btn-quiet:hover { border-color: var(--ink-2); color: var(--ink); }
@media (max-width: 720px) { .mbar nav { display: none; } .mbar .btn-sell { margin-left: auto; padding: 8px 12px; font-size: .9rem; } .mbar .wrap { height: 74px; gap: 10px; padding: 0 14px; } .mbar .brand { gap: 9px; } .mbar .brand .mark { width: 46px; height: 46px; } .mbar .brand b { font-size: 1.32rem; } .mbar .brand .bt > span { font-size: .86rem; margin-top: 3px; } }

/* ---------- board head ---------- */
.board-head { padding: 44px 0 30px; position: relative; overflow: hidden; }
.board-head::before {
  content: ""; position: absolute; pointer-events: none;
  right: max(10px, calc((100vw - var(--max)) / 2 + 300px)); top: 14px; width: 330px; height: 330px;
  background: url("data:image/svg+xml,%3Csvg%20xmlns%3D%22http%3A//www.w3.org/2000/svg%22%20viewBox%3D%220%200%2064%2064%22%3E%3Cpath%20d%3D%22M21%205h33a7%207%200%200%201%207%207v40a7%207%200%200%201-7%207H21a4%204%200%200%201-2.9-1.2L4.6%2034.9a4.2%204.2%200%200%201%200-5.8L18.1%206.2A4%204%200%200%201%2021%205z%22%20fill%3D%22none%22%20stroke%3D%22%230E6E5C%22%20stroke-width%3D%221.1%22/%3E%3Ccircle%20cx%3D%2214.5%22%20cy%3D%2232%22%20r%3D%223.3%22%20fill%3D%22none%22%20stroke%3D%22%230E6E5C%22%20stroke-width%3D%221.1%22/%3E%3Cg%20fill%3D%22none%22%20stroke%3D%22%230E6E5C%22%20stroke-width%3D%221.6%22%20stroke-linecap%3D%22round%22%20stroke-linejoin%3D%22round%22%3E%3Cpath%20d%3D%22M27.5%2017.5l4%202.4%22/%3E%3Cpath%20d%3D%22M32.5%2023l5%2013.5h11.5l5%206%22/%3E%3Cpath%20d%3D%22M43%2036.5v8.5%22/%3E%3Cpath%20d%3D%22M35%2047.5h16%22/%3E%3Cpath%20d%3D%22M41%2014h12M47%2014v-4%22/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat; opacity: .22; transform: rotate(-10deg);
}
.board-head .wrap { position: relative; }
@media (max-width: 860px) { .board-head::before { width: 150px; height: 150px; right: -40px; top: -28px; opacity: .16; } }
.board-head .wrap { display: grid; grid-template-columns: minmax(0, 1.15fr) minmax(0, .85fr); gap: 40px; align-items: center; }
.board-head h1 {
  margin: 0; font: 800 clamp(1.9rem, 3.6vw, 2.9rem)/1.02 var(--display); font-stretch: 82%;
  letter-spacing: -.02em; max-width: 19ch; text-wrap: balance;
}
.board-head p { margin: 12px 0 0; color: var(--ink-2); max-width: 52ch; font-size: 1.1rem; }
.board-head p.also { margin-top: 10px; font-size: .95rem; }
.finder { background: var(--paper); border-radius: var(--radius-tag); padding: 14px; box-shadow: var(--shadow-tag); }
.finder label { display: block; font-weight: 600; font-size: .95rem; margin: 0 0 6px 2px; }
.finder .q { display: flex; gap: 8px; }
.finder input[type=search] {
  flex: 1; min-width: 0; font: 400 1.05rem var(--body); padding: 11px 12px;
  border: 1px solid var(--line); border-radius: var(--radius-ctl); background: #f7f9fa; color: var(--ink);
}
.finder input[type=search]:focus { border-color: var(--teal); background: #fff; outline: none; box-shadow: 0 0 0 3px var(--teal-wash); }
.finder small { display: block; margin-top: 10px; color: var(--ink-3); font-size: .9rem; }
@media (max-width: 860px) { .board-head .wrap { grid-template-columns: 1fr; gap: 22px; } }

/* ---------- category rail ---------- */
.rail { border-top: 1px solid var(--steel-2); border-bottom: 1px solid var(--steel-2); background: #eef1f2; position: sticky; top: 0; z-index: 5; }
.rail .wrap { display: flex; gap: 6px; overflow-x: auto; padding-top: 10px; padding-bottom: 10px; scrollbar-width: thin; }
.chip {
  flex: none; font: 600 .93rem var(--body); color: var(--ink-2); background: transparent;
  border: 1px solid transparent; border-radius: 999px; padding: 7px 13px; cursor: pointer; white-space: nowrap;
}
.chip:hover { color: var(--ink); background: var(--paper); }
.chip[aria-pressed=true] { background: var(--ink); color: #fff; }
.chip .n { font-weight: 400; opacity: .7; margin-left: 4px; }

/* ---------- board ---------- */
.board { padding: 26px 0 64px; }
.board .wrap { display: grid; grid-template-columns: 220px minmax(0, 1fr); gap: 32px; }
.filters h2 { font: 700 1rem var(--display); margin: 0 0 12px; }
.filters fieldset { border: 0; padding: 0; margin: 0 0 22px; }
.filters legend { font-weight: 600; font-size: .95rem; margin-bottom: 6px; }
.filters label { display: flex; gap: 8px; align-items: center; font-size: .95rem; color: var(--ink-2); padding: 3px 0; cursor: pointer; }
.filters input[type=number], .filters select {
  width: 100%; font: 400 .95rem var(--body); padding: 7px 8px; border: 1px solid var(--line);
  border-radius: var(--radius-ctl); background: var(--paper); color: var(--ink);
}
.filters .range { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; }
.filters .reset { background: none; border: 0; color: var(--teal); font: 600 .93rem var(--body); padding: 0; cursor: pointer; }
.results-bar { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; margin-bottom: 14px; flex-wrap: wrap; }
.results-bar .count { font: 700 1.05rem var(--display); }
.results-bar select { font: 400 .95rem var(--body); padding: 6px 8px; border: 1px solid var(--line); border-radius: var(--radius-ctl); background: var(--paper); }
.filter-toggle { display: none; }
@media (max-width: 860px) {
  .board .wrap { grid-template-columns: 1fr; }
  .filters { display: none; background: var(--paper); padding: 16px; border-radius: var(--radius-tag); }
  .filters.open { display: block; }
  .filter-toggle { display: inline-flex; }
}

/* ---------- listing tag cards ---------- */
.grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 18px; list-style: none; margin: 0; padding: 0; }
.tag {
  position: relative; background: var(--paper); border-radius: var(--radius-tag); box-shadow: var(--shadow-tag);
  display: flex; flex-direction: column; overflow: hidden;
}
.tag > a.cover { position: absolute; inset: 0; z-index: 1; }
.tag > a.cover:focus-visible { outline-offset: -3px; }
.tag .ph { aspect-ratio: 4 / 3; background: #dfe5e8; position: relative; }
.tag .ph img { width: 100%; height: 100%; object-fit: cover; }
.tag .ph .pcount { position: absolute; right: 8px; bottom: 8px; background: rgba(16,32,43,.78); color: #fff; font-size: .8rem; padding: 2px 7px; border-radius: 4px; }
.tag .featured { position: absolute; left: 0; top: 12px; background: var(--teal); color: #fff; font: 700 .78rem var(--display); padding: 4px 10px 4px 8px; border-radius: 0 4px 4px 0; }
/* the price ticket: a punched tag hanging off the photo */
.ticket {
  position: absolute; left: 12px; bottom: -16px; z-index: 2;
  background: var(--ink); color: #fff; font: 700 1.12rem/1 var(--display); font-stretch: 85%;
  padding: 8px 12px 8px 24px; border-radius: 4px 6px 6px 4px;
  clip-path: polygon(10px 0, 100% 0, 100% 100%, 10px 100%, 0 50%);
}
.ticket::before { content: ""; position: absolute; left: 10px; top: 50%; width: 6px; height: 6px; margin-top: -3px; border-radius: 50%; background: #dfe5e8; }
.ticket.offer { background: var(--paper); color: var(--ink); box-shadow: inset 0 0 0 1.5px var(--ink); }
.tag .body { padding: 26px 14px 14px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.tag h3 { margin: 0; font: 700 1.08rem/1.2 var(--display); font-stretch: 90%; letter-spacing: -.005em; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.tag .where { color: var(--ink-2); font-size: .93rem; }
.tag .foot { margin-top: auto; padding-top: 8px; display: flex; justify-content: space-between; gap: 8px; font-size: .86rem; color: var(--ink-3); }
.tag .cond { color: var(--ink-2); font-weight: 600; }
.tag .left.soon { color: var(--flag); font-weight: 600; }
.tag { transition: transform .15s ease, box-shadow .15s ease; cursor: pointer; }
.tag:hover { transform: translateY(-3px); box-shadow: 0 1px 0 #c3cbd0, 0 14px 28px -14px rgba(16, 32, 43, .55); }
.tag:hover h3 { color: var(--teal-ink); }
.tag .more {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  margin: 0; padding: 10px 14px; border-top: 1px solid var(--steel-2);
  background: var(--teal-wash); color: var(--teal-ink); font: 700 .93rem var(--body);
}
.tag .more svg { flex: none; transition: transform .15s ease; }
.tag:hover .more { background: var(--teal); color: #fff; }
.tag:hover .more svg { transform: translateX(3px); }
.tag:has(a.cover:focus-visible) .more { background: var(--teal); color: #fff; }
@media (prefers-reduced-motion: reduce) { .tag, .tag .more svg { transition: none; } .tag:hover { transform: none; } }

/* ---------- page numbers ---------- */
.pager { display: flex; align-items: center; justify-content: center; gap: 8px; flex-wrap: wrap; margin: 30px 0 4px; }
.pager:empty { display: none; }
.pager .nums { display: flex; gap: 6px; flex-wrap: wrap; }
.pager .pg {
  min-width: 42px; height: 42px; padding: 0 12px; display: inline-flex; align-items: center; justify-content: center;
  border-radius: var(--radius-ctl); background: var(--paper); color: var(--ink); text-decoration: none;
  font: 700 1rem var(--display); box-shadow: inset 0 0 0 1px var(--line);
}
.pager a.pg:hover { box-shadow: inset 0 0 0 1.5px var(--ink); color: var(--ink); }
.pager .pg[aria-current=page] { background: var(--ink); color: #fff; box-shadow: none; }
.pager .pg.off { color: var(--ink-3); background: transparent; }
.pager .gap { align-self: center; color: var(--ink-3); padding: 0 2px; }
@media (max-width: 520px) { .pager .step { flex-basis: calc(50% - 4px); } .pager .nums { order: -1; flex-basis: 100%; justify-content: center; } .tag .more { padding: 8px 10px; font-size: .85rem; } }

.empty { background: var(--paper); border-radius: var(--radius-tag); padding: 32px; text-align: left; }
.empty h3 { margin: 0 0 6px; font: 700 1.3rem var(--display); }
.empty p { margin: 0 0 14px; color: var(--ink-2); }

/* ---------- sell band ---------- */
.sell-band { background: var(--teal); color: #fff; }
.sell-band .wrap { display: grid; grid-template-columns: minmax(0,1fr) auto; gap: 24px; align-items: center; padding-top: 34px; padding-bottom: 34px; }
.sell-band h2 { margin: 0; font: 800 clamp(1.5rem, 3vw, 2.2rem)/1.05 var(--display); font-stretch: 85%; }
.sell-band p { margin: 8px 0 0; color: #d6efe8; max-width: 60ch; }
.sell-band .btn { background: #fff; color: var(--teal-ink); }
@media (max-width: 700px) { .sell-band .wrap { grid-template-columns: 1fr; } }

/* ---------- detail drawer ---------- */
.drawer { position: fixed; inset: 0; z-index: 40; display: none; }
.drawer.open { display: block; }
.drawer .scrim { position: absolute; inset: 0; background: rgba(16, 32, 43, .55); }
.drawer .panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(760px, 100%); background: var(--paper);
  overflow-y: auto; box-shadow: -20px 0 40px -20px rgba(0,0,0,.4); animation: slidein .22s ease-out;
}
@keyframes slidein { from { transform: translateX(40px); opacity: .6; } }
@media (prefers-reduced-motion: reduce) { .drawer .panel { animation: none; } }
.panel .top { position: sticky; top: 0; background: var(--paper); display: flex; justify-content: space-between; align-items: center; padding: 12px 20px; border-bottom: 1px solid var(--steel-2); z-index: 2; }
.panel .close { background: none; border: 1px solid var(--line); border-radius: var(--radius-ctl); font: 600 .95rem var(--body); padding: 6px 12px; cursor: pointer; }
.gallery .main { aspect-ratio: 4 / 3; background: #dfe5e8; }
.gallery .main img { width: 100%; height: 100%; object-fit: contain; background: #10202b; }
.gallery .thumbs { display: flex; gap: 6px; padding: 8px 20px 0; overflow-x: auto; }
.gallery .thumbs button { flex: none; width: 72px; height: 54px; padding: 0; border: 2px solid transparent; border-radius: 4px; overflow: hidden; cursor: pointer; background: #dfe5e8; }
.gallery .thumbs button[aria-current=true] { border-color: var(--teal); }
.gallery .thumbs img { width: 100%; height: 100%; object-fit: cover; }
.dbody { padding: 18px 20px 40px; }
.dbody h2 { margin: 0; font: 800 clamp(1.4rem, 3vw, 2rem)/1.1 var(--display); font-stretch: 85%; letter-spacing: -.01em; }
.dprice { margin: 12px 0 4px; font: 800 1.7rem var(--display); font-stretch: 85%; }
.dmeta { color: var(--ink-2); font-size: .95rem; }
.specs { width: 100%; border-collapse: collapse; margin: 18px 0; font-size: .97rem; }
.specs th { text-align: left; font-weight: 600; color: var(--ink-2); width: 38%; padding: 7px 10px 7px 0; vertical-align: top; }
.specs td { padding: 7px 0; }
.specs tr + tr th, .specs tr + tr td { border-top: 1px solid var(--steel-2); }
.desc { white-space: pre-line; max-width: 66ch; }
.contact { background: var(--steel); border-radius: var(--radius-tag); padding: 16px; margin: 22px 0; }
.contact h3 { margin: 0 0 4px; font: 700 1.1rem var(--display); }
.contact p { margin: 0 0 12px; color: var(--ink-2); font-size: .95rem; }
.contact .row { display: flex; flex-wrap: wrap; gap: 8px; }
.before { border-left: 3px solid var(--ink); padding: 2px 0 2px 14px; margin: 20px 0; }
.before h3 { margin: 0 0 6px; font: 700 1.05rem var(--display); }
.before ol { margin: 0; padding-left: 20px; color: var(--ink-2); }
.before li { margin: 3px 0; }
.fine { color: var(--ink-3); font-size: .88rem; }

/* ---------- slim footer ---------- */
.mfoot { background: var(--ink); color: #9fb0ba; font-size: .9rem; padding: 26px 0; }
.mfoot .wrap { display: flex; flex-wrap: wrap; gap: 14px 24px; justify-content: space-between; }
.mfoot a { color: #cbd6dc; }
.mfoot nav { display: flex; flex-wrap: wrap; gap: 16px; }

/* ---------- sell page ---------- */
.sell-hero { padding: 56px 0 40px; }
.sell-hero .wrap { display: grid; grid-template-columns: minmax(0,1.1fr) minmax(0,.9fr); gap: 48px; align-items: center; }
.sell-hero h1 { margin: 0; font: 800 clamp(2.2rem, 5vw, 4rem)/.98 var(--display); font-stretch: 80%; letter-spacing: -.02em; max-width: 13ch; }
.sell-hero p.lede { margin: 16px 0 24px; font-size: 1.15rem; color: var(--ink-2); max-width: 46ch; }
.sell-hero .ctas { display: flex; flex-wrap: wrap; gap: 10px; }
.mock { position: relative; justify-self: center; width: min(340px, 100%); }
.mock .tag { transform: rotate(-2.5deg); }
.mock .tag + .tag { position: absolute; width: 78%; right: -18px; bottom: -34px; transform: rotate(4deg); }
@media (max-width: 860px) { .sell-hero .wrap { grid-template-columns: 1fr; } .mock { margin-bottom: 40px; } }
.steps { padding: 40px 0; background: var(--paper); }
.steps h2, .faq h2, .sells h2 { margin: 0 0 18px; font: 800 1.7rem var(--display); font-stretch: 85%; }
.steps ol { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(3, minmax(0,1fr)); gap: 28px; counter-reset: s; }
.steps li { counter-increment: s; }
.steps li::before { content: counter(s); display: inline-grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: var(--ink); color: #fff; font: 700 1rem var(--display); margin-bottom: 10px; }
.steps h3 { margin: 0 0 4px; font: 700 1.15rem var(--display); }
.steps p { margin: 0; color: var(--ink-2); }
@media (max-width: 760px) { .steps ol { grid-template-columns: 1fr; } }
.sells { padding: 40px 0; }
.sells ul { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.sells li a { display: block; background: var(--paper); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; text-decoration: none; color: var(--ink); font-weight: 600; }
.sells li a:hover { border-color: var(--ink); }
.faq { padding: 40px 0 64px; }
.faq details { background: var(--paper); border-radius: var(--radius-ctl); padding: 0 16px; margin-bottom: 8px; max-width: 820px; }
.faq summary { cursor: pointer; font-weight: 600; padding: 14px 0; }
.faq details p { margin: 0 0 14px; color: var(--ink-2); }

/* ---------- small phones ---------- */
@media (max-width: 520px) { .grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; } .tag .body { padding: 22px 10px 10px; } .tag h3 { font-size: .98rem; } .ticket { font-size: .95rem; left: 8px; } .tag .where { font-size: .85rem; } .tag .foot { flex-direction: column; gap: 2px; } }

/* ---------- plain index of every live listing (for search engines and no-JS visitors) ---------- */
.lindex { padding: 0 0 48px; }
.lindex h2 { font: 700 1.05rem var(--display); margin: 0 0 8px; color: var(--ink-2); }
.lindex ul { columns: 3 260px; column-gap: 28px; margin: 0; padding: 0; list-style: none; font-size: .93rem; }
.lindex li { break-inside: avoid; padding: 3px 0; color: var(--ink-3); }
.lindex a { color: var(--ink-2); }

/* very narrow phones: keep the logo whole, shorten the button */
@media (max-width: 380px) { .mbar .brand .mark { width: 40px; height: 40px; } .mbar .brand b { font-size: 1.16rem; } .mbar .brand .bt > span { font-size: .8rem; } .mbar .btn-sell { padding: 8px 10px; font-size: .85rem; } }

/* listings without photos (jobs, practices, wanted posts) */
.tag .ph .ph-none {
  position: absolute; inset: 0; display: grid; place-items: center; text-align: center; padding: 18px;
  background: linear-gradient(150deg, #0e6e5c, #10202b); color: #dcefe9;
  font: 800 1.25rem/1.15 var(--display); font-stretch: 88%;
}
.tag .ph .ph-none small { display: block; font: 600 .85rem var(--body); color: #9fd8c9; margin-top: 6px; }

.chip.zero { color: var(--ink-3); font-weight: 500; }
.chip.zero .n { display: none; }

/* ---------- classified categories directory (left column) ---------- */
.dir { background: var(--paper); border-radius: var(--radius-tag); box-shadow: var(--shadow-tag); overflow: hidden; margin: 0 0 26px; border-top: 4px solid var(--ink); }
.dir .dir-title { margin: 0; padding: 12px 14px 10px; font: 800 1.05rem var(--display); text-align: center; border-bottom: 1px solid var(--steel-2); }
.dir a { display: block; text-decoration: none; }
.dir a span { color: inherit; opacity: .7; font-weight: 400; }
.dir .dir-all { padding: 10px 14px; color: var(--ink); font-weight: 600; border-bottom: 1px solid var(--steel-2); }
.dir .dir-head { background: var(--ink); color: #fff; padding: 8px 14px; font-weight: 600; font-size: .95rem; }
.dir .dir-head.is-none { background: #2a3b47; color: #c5d1d8; }
.dir .dir-head:hover, .dir .dir-head[aria-current] { background: var(--teal); color: #fff; }
.dir ul { list-style: none; margin: 0; padding: 6px 0 10px; }
.dir li a { padding: 3px 14px 3px 16px; color: var(--teal); font-size: .95rem; }
.dir li a:hover { color: var(--teal-ink); text-decoration: underline; }
.dir li a[aria-current], .dir .dir-all[aria-current] { color: var(--teal-ink); font-weight: 700; background: var(--teal-wash); }
.dir .dir-sec + .dir-sec .dir-head { border-top: 1px solid rgba(255,255,255,.08); }
.board .wrap { grid-template-columns: 250px minmax(0, 1fr); }
@media (max-width: 860px) { .board .wrap { grid-template-columns: 1fr; } .filters .dir { box-shadow: none; border: 1px solid var(--steel-2); } }

/* ---------- hero headline: "from the source!" leans forward ---------- */
.board-head h1 { max-width: none; }
.board-head h1 .h-a { display: block; }
.board-head h1 .h-src {
  position: relative; display: inline-block; margin-top: .08em; padding: 0 .12em 0 .5em;
  font-style: italic; font-weight: 900; font-stretch: 125%; letter-spacing: -.01em;
  background: linear-gradient(100deg, #08493d 0%, #0e6e5c 38%, #2fa58a 62%, #0e6e5c 100%);
  background-size: 220% 100%; background-position: 100% 0;
  -webkit-background-clip: text; background-clip: text; color: transparent;
  animation: cs-forward 1.6s cubic-bezier(.2,.7,.2,1) .3s 1 both;
}
/* speed streaks trailing behind the words */
.board-head h1 .h-src::before {
  content: ""; position: absolute; left: -.9em; top: 22%; width: 1.25em; height: 56%;
  background:
    linear-gradient(90deg, transparent, #2fa58a) 0 0 / 100% 12% no-repeat,
    linear-gradient(90deg, transparent, #0e6e5c) .35em 45% / 75% 12% no-repeat,
    linear-gradient(90deg, transparent, #9fd8c9) .15em 90% / 90% 12% no-repeat;
  border-radius: 2px; opacity: .85;
}
@keyframes cs-forward {
  from { background-position: 0% 0; transform: translateX(-.25em); opacity: .4; }
  to { background-position: 100% 0; transform: none; opacity: 1; }
}
@media (prefers-reduced-motion: reduce) { .board-head h1 .h-src { animation: none; } }
@media (max-width: 520px) { .board-head h1 .h-src { font-stretch: 112%; padding-left: .45em; } }

/* MKT11: listing page photos at a standard size */
.lgrid>div:first-child:has(>img){display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;align-content:start}
.lgrid>div:first-child>img{width:100%!important;aspect-ratio:4/3;object-fit:cover;margin:0!important;border-radius:8px!important;background:#10202b}
.lgrid>div:first-child>img:first-child{grid-column:1/-1;object-fit:contain;max-height:min(62vh,520px)}
