/*
  The section sites: Jobs, Rentals, Buy Local, Events, Classifieds, Civic.

  The brand matches the Ghost site (Splash): League Spartan in capitals for the
  name, headings, nav, buttons and labels; Source Serif 4 for reading; black,
  white, yellow and pink, square corners, heavy black rules.

  To restyle, change the tokens in :root and the section colors under
  "Section colors". Nothing else in this file names a color or a typeface.
  Both fonts are served from this site (fonts/, with their licenses).

  Contrast rules the tokens are built around:
  - Yellow is a background, never text on white. Text on yellow is black.
  - Pink carries black text at any size. White or yellow on pink is only for
    very large type (section titles), never for body text or buttons.
*/
@font-face {
  font-family: "League Spartan";
  src: url("fonts/league-spartan-latin-wght-normal.0a37cd9b7365.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "League Spartan";
  src: url("fonts/league-spartan-latin-ext-wght-normal.8d2f864920c2.woff2") format("woff2-variations");
  font-weight: 100 900; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-opsz-normal.e9192c2fe0a3.woff2") format("woff2-variations");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-ext-opsz-normal.33ba75072ebc.woff2") format("woff2-variations");
  font-weight: 200 900; font-style: normal; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-opsz-italic.66c33f6b248f.woff2") format("woff2-variations");
  font-weight: 200 900; font-style: italic; font-display: swap;
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329,
    U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: "Source Serif 4";
  src: url("fonts/source-serif-4-latin-ext-opsz-italic.3ff52c8f866c.woff2") format("woff2-variations");
  font-weight: 200 900; font-style: italic; font-display: swap;
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+1E00-1E9F, U+1EF2-1EFF,
    U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}

:root {
  /* The four brand colors */
  --black: #000000;
  --white: #ffffff;
  --yellow: #F6C717;
  --pink: #FF3B97;
  /* Lighter stripes of each, for photo placeholders */
  --yellow-tint: #F9D451;
  --pink-tint: #FF62AB;
  --black-tint: #222222;

  /* Roles. Templates and rules below use these, not the colors above. */
  --paper: var(--white);
  --ink: var(--black);
  --ink-soft: #4d4d4d;       /* secondary text: 8.5:1 on white */
  --wash: #F4F4F4;           /* quiet surfaces: empty states, days outside the month */
  --today: #FFF6D6;          /* today on the calendar */
  --accent: var(--yellow);   /* buttons, active nav, Featured highlights */
  --on-accent: var(--black);
  --hot: var(--pink);        /* filters in use, promo boxes, Featured headers */
  --on-hot: var(--black);
  --pin: var(--pink);        /* map dots */
  --bar: var(--black);       /* top strip, nav, footer, filter headings */
  --on-bar: var(--white);
  --mast: var(--pink);       /* masthead behind the name */
  --on-mast: var(--yellow);

  --font-head: "League Spartan", "Arial Black", "Helvetica Neue", Arial, sans-serif;
  --font-body: "Source Serif 4", Georgia, "Times New Roman", serif;
  --head-case: uppercase;
  --rule: 3px;               /* borders on inputs, buttons, cards, rows */
  --rule-heavy: 4px;         /* boxes and section edges */
  --radius: 0;
  --measure: 66ch;
  --gutter: clamp(16px, 4vw, 24px);
  color-scheme: light;
}

/* ── Section colors: the band under the nav ──────────────────────────── */
body { --band: var(--accent); --band-ink: var(--black); --band-title: var(--black); --band-kicker: var(--black); --feature: var(--hot); }
.sec-jobs, .sec-employers, .sec-classifieds { --band: var(--yellow); }
.sec-rentals { --band: var(--black); --band-ink: var(--white); --band-title: var(--pink); --band-kicker: var(--yellow); }
.sec-events  { --band: var(--black); --band-ink: var(--white); --band-title: var(--yellow); --band-kicker: var(--pink); }
.sec-local   { --band: var(--pink); --band-title: var(--white); --feature: var(--yellow); }
.sec-council { --band: var(--pink); }

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; }
body {
  margin: 0; background: var(--paper); color: var(--ink);
  font: 400 1.0625rem/1.55 var(--font-body); font-optical-sizing: auto;
}
a { color: inherit; text-decoration-thickness: 2px; text-underline-offset: 0.18em; }
a:hover { text-decoration-thickness: 3px; }
:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; box-shadow: 0 0 0 7px var(--accent); }
h1, h2, h3 { margin: 0; font-family: var(--font-head); text-transform: var(--head-case); line-height: 0.95; }
p { margin: 0; }
.wrap { max-width: 1248px; margin-inline: auto; padding-inline: var(--gutter); }
.visually-hidden, .skip:not(:focus) {
  position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;
}
.skip:focus { position: fixed; top: 8px; left: 8px; z-index: 10; background: var(--accent); color: var(--on-accent); padding: 10px 14px; border: var(--rule) solid var(--ink); }

/* Small capitals used for labels, tags and buttons */
.lbl, .kicker, legend, .tag, .age, .ev-tix, .piece, .button, button, .view-tabs a, .chips a, .featured-tag, .new, .pager,
.back, .facts-grid dt, .day-head, .cal th, .cal-num, .cal-more, .pinned-head {
  font-family: var(--font-head); text-transform: var(--head-case);
}

/* ── The frame: matches the Ghost site ───────────────────────────────────
   Top strip, masthead, section nav, sign-up band and footer use the Ghost
   theme's own rules (collage/built/frame.css). These lines carry over what
   the theme sets in its own page head for The Collage, and the few things
   the theme gets from its global resets, which the sections don't load. */
:root, body {
  --sp-font-display: var(--font-head);
  --sp-font-ui: var(--font-head);
  --sp-font-text: var(--font-body);
  --sp-hl-weight: 800; --sp-hl-track: -0.02em; --sp-hl-scale: 0.8;
}
.sp-masthead__inner { justify-content: center; }
.sp-mh-solid .sp-wordmark {
  border: 0; color: var(--yellow); font-weight: 900; letter-spacing: -0.01em;
  white-space: nowrap; font-size: clamp(2.25rem, 9vw, 8.5rem);
}
.sp-footer .sp-wordmark.sp-wordmark--footer {
  font-size: clamp(1.75rem, 4vw, 3.25rem); background: none; border: 0 !important;
  color: var(--yellow); padding: 0; font-weight: 900; letter-spacing: -0.01em;
}
.sp-nav__list, .sp-footer-nav { list-style: none; margin: 0; padding: 0; }
.sp-header p, .sp-footer p, .sp-signup p { margin: 0; }
.sp-header a, .sp-nav a, .sp-footer a, .sp-signup a { text-decoration-thickness: 0.08em; }
.sp-signup + .sp-footer { margin-top: 0; border-top: 0; }
.sp-signup__form { align-items: center; gap: 12px 16px; }
.sp-signup__pitch { flex: 1 1 16rem; font-size: 1.0625rem; }
.sp-footer__desc { max-width: 34rem; }
.sp-footer__desc + .sp-footer__desc { font-size: 0.9375rem; }

/* ── Section band ────────────────────────────────────────────────────── */
.band { background: var(--band); color: var(--band-ink); border-bottom: var(--rule-heavy) solid var(--ink); padding-block: 36px 32px; }
.band-row { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px 32px; }
.band-text { flex: 1 1 520px; min-width: 0; }
.kicker { color: var(--band-kicker); font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.08em; margin-bottom: 6px; }
.band h1 {
  color: var(--band-title); font-weight: 900; letter-spacing: -0.03em; line-height: 0.88;
  font-size: clamp(3.25rem, 1.6rem + 6.4vw, 6rem); overflow-wrap: anywhere;
}
.band-intro { margin-top: 14px; font-size: 1.25rem; line-height: 1.4; font-weight: 600; max-width: 38em; }
.band .facts { margin-top: 10px; font-size: 1rem; }
.band .facts a { text-decoration-color: currentColor; }
.band-compact { padding-block: 18px 16px; }
.band-compact h1 { font-size: clamp(2.25rem, 1.5rem + 3vw, 3.25rem); }
.band .button-dark { border-color: var(--band-ink); }

/* ── Inputs and buttons ──────────────────────────────────────────────── */
.lbl { display: block; font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.07em; margin-bottom: 6px; }
input[type=search], input[type=text], input[type=email], input[type=url], input[type=number], textarea, select {
  font: 400 1rem/1.3 var(--font-body); color: var(--ink); background: var(--paper);
  border: var(--rule) solid var(--ink); border-radius: var(--radius); min-height: 48px; padding: 10px 12px; max-width: 100%;
}
textarea { min-height: 0; }
input::placeholder, textarea::placeholder { color: var(--ink-soft); }
button, .button {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 48px; padding: 4px 22px 0;
  font-weight: 800; font-size: 1rem; letter-spacing: 0.05em; line-height: 1.1; text-align: center; max-width: 100%; cursor: pointer;
  border: var(--rule) solid var(--ink); border-radius: var(--radius);
  background: var(--accent); color: var(--on-accent); text-decoration: none;
}
button:hover, .button:hover { background: var(--ink); color: var(--paper); }
.button-quiet { background: var(--paper); color: var(--ink); }
.button-dark { background: var(--ink); color: var(--paper); }
.button-dark:hover { background: var(--accent); color: var(--on-accent); }
.button-small { min-height: 42px; padding-inline: 16px; font-size: 0.875rem; }

.search-box { margin-top: 28px; }
.search { display: flex; align-items: flex-end; gap: 14px; padding: 20px; border: var(--rule-heavy) solid var(--ink); }
.search-field { flex: 1 1 auto; min-width: 0; }
.search input { width: 100%; font-size: 1.0625rem; }
.band-compact + .search-box { margin-top: 22px; }

/* ── Layout: filters beside results ──────────────────────────────────── */
.layout { display: grid; grid-template-columns: 264px minmax(0, 1fr); gap: 0 32px; align-items: start; padding-top: 28px; }
.filters > summary { display: none; }
.filters-body { display: flex; flex-direction: column; gap: 22px; font-size: 1rem; }
fieldset { border: 0; margin: 0; padding: 0; min-width: 0; }
legend { padding: 0; }
.filters legend {
  float: left; width: 100%; background: var(--bar); color: var(--on-bar);
  padding: 9px 12px 6px; font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.07em; margin-bottom: 8px;
}
.filters legend + * { clear: both; }
.opt { display: grid; grid-template-columns: 20px 1fr auto; gap: 10px; align-items: center; padding: 4px 0; min-height: 34px; cursor: pointer; line-height: 1.25; }
.opt input { margin: 0; width: 18px; height: 18px; accent-color: var(--ink); }
.opt .n { color: var(--ink-soft); font-variant-numeric: tabular-nums; font-size: 0.9375rem; }
.opt-empty { color: var(--ink-soft); }
.opt-solo { margin-top: 8px; }
.filters select { width: 100%; clear: both; }
.apply-filters { width: 100%; }
.js .apply-filters { display: none; }

/* Promo boxes: list your shop, post an ad */
.promo { border: var(--rule-heavy) solid var(--ink); background: var(--hot); color: var(--on-hot); padding: 18px; }
.sec-local .promo, .sec-classifieds .promo { background: var(--accent); color: var(--on-accent); }
.promo h2 { font-weight: 900; font-size: 1.5rem; margin-bottom: 8px; }
.promo p { font-size: 0.9375rem; line-height: 1.4; margin-bottom: 14px; }
.results .promo { margin-top: 36px; }

/* ── Results ─────────────────────────────────────────────────────────── */
.results-head { display: flex; align-items: center; justify-content: space-between; gap: 12px 20px; flex-wrap: wrap; margin-bottom: 18px; }
.results-head h2 { font-weight: 800; font-size: 1.25rem; letter-spacing: 0.03em; line-height: 1.1; }
.sort { display: flex; gap: 10px; align-items: center; font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.07em; }
.sort select { min-height: 42px; padding-block: 6px; font-family: var(--font-body); text-transform: none; letter-spacing: 0; font-weight: 400; }
.chips { list-style: none; margin: 0 0 18px; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.chips a {
  display: inline-flex; gap: 10px; align-items: center; min-height: 40px; padding: 4px 12px 0;
  border: var(--rule) solid var(--ink); background: var(--hot); color: var(--on-hot);
  font-weight: 800; font-size: 0.875rem; letter-spacing: 0.05em; text-decoration: none;
}
.chips a:hover { background: var(--ink); color: var(--paper); }
.chips a.clear { background: var(--paper); }

.tag { display: inline-block; padding: 4px 8px 1px; border: 2px solid var(--ink); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.06em; line-height: 1.2; }
.tag-plain { border-color: transparent; padding-inline: 0; }
.tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.new, .featured-tag {
  display: inline-block; padding: 3px 7px 1px; border: 2px solid var(--ink); background: var(--accent); color: var(--on-accent);
  font-weight: 800; font-size: 0.75rem; letter-spacing: 0.06em; line-height: 1.2; vertical-align: 0.2em; white-space: nowrap;
}
.featured-tag { background: var(--feature); }
/* Shared by a member in the forum's Now Hiring: black label, so it never reads as paid */
.community-tag { display: inline-block; padding: 4px 8px 2px; background: var(--ink); color: var(--paper);
  font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 0.75rem;
  letter-spacing: 0.05em; line-height: 1.2; }

.rows { list-style: none; margin: 0; padding: 0; }
.row {
  display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 14px 20px;
  padding: 18px 0; border-top: var(--rule) solid var(--ink);
}
.row:last-child { border-bottom: var(--rule) solid var(--ink); }
.row-main { flex: 1 1 360px; min-width: 0; }
.row-head { font-weight: 800; font-size: 1.375rem; line-height: 1; letter-spacing: 0.005em; }
.row-title { text-decoration: none; overflow-wrap: anywhere; }
.row-title:hover, .row-title:focus-visible { text-decoration: underline; }
.row-employer { display: block; margin-top: 6px; font-weight: 700; font-size: 1rem; text-decoration: none; }
.row-employer:hover { text-decoration: underline; }
.row-pay { font-variant-numeric: tabular-nums; }

/* Featured (paid) listings: a boxed block above the results, always labeled */
.pinned { margin-bottom: 26px; }
.pinned-box { border: var(--rule-heavy) solid var(--ink); }
.pinned-head { background: var(--feature); border-bottom: var(--rule-heavy) solid var(--ink); padding: 9px 14px 6px; font-weight: 800; font-size: 0.875rem; letter-spacing: 0.07em; }
.rows-featured .row { padding-inline: 18px; }
.rows-featured .row:first-child { border-top: 0; }
.rows-featured .row:last-child { border-bottom: 0; }
.rows-featured .row-head { font-size: 1.5rem; }
.pinned-note { color: var(--ink-soft); font-size: 0.875rem; padding-top: 8px; }
.featured-line { margin-bottom: 14px; display: flex; gap: 10px; align-items: center; flex-wrap: wrap; font-size: 0.9375rem; }
.featured-line .featured-tag { vertical-align: 0; }

.pager { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 26px; font-weight: 800; font-size: 0.875rem; letter-spacing: 0.06em; }
.pager a { display: inline-flex; align-items: center; min-height: 44px; padding: 4px 16px 0; border: var(--rule) solid var(--ink); text-decoration: none; }
.pager a:hover { background: var(--ink); color: var(--paper); }
.pager .off { visibility: hidden; }

.empty { border: var(--rule) solid var(--ink); background: var(--wash); padding: 20px; max-width: var(--measure); }
.empty ul { padding-left: 1.1em; margin: 12px 0 0; display: grid; gap: 6px; }

/* ── Detail pages ────────────────────────────────────────────────────── */
.back { padding-top: 24px; font-weight: 800; font-size: 0.875rem; letter-spacing: 0.06em; }
.back a { text-decoration: none; }
.back a::before { content: "← "; }
.back a:hover { text-decoration: underline; }
.job-head { padding-block: 16px 28px; border-bottom: var(--rule-heavy) solid var(--ink); }
.job-head h1, .page h1, .product-info h1 {
  font-weight: 900; letter-spacing: -0.02em; line-height: 0.92;
  font-size: clamp(2.25rem, 1.4rem + 3.4vw, 4rem); max-width: 22ch; text-wrap: balance; overflow-wrap: anywhere;
}
.job-employer { font-size: 1.25rem; font-weight: 700; margin-top: 14px; }
.notice { margin-top: 18px; padding: 12px 16px; background: var(--accent); color: var(--on-accent); border: var(--rule) solid var(--ink); max-width: var(--measure); }
.facts-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, max-content)); gap: 18px 44px; margin: 26px 0 0; }
.facts-grid div { min-width: 0; }
.facts-grid dt { font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.07em; }
.facts-grid dd { margin: 4px 0 0; font-weight: 600; font-size: 1.125rem; }
.facts-grid .pay { font-variant-numeric: tabular-nums; }
.apply { margin-top: 26px; display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: center; }
.apply-note { color: var(--ink-soft); font-size: 0.9375rem; }
.description { max-width: var(--measure); padding-top: 30px; line-height: 1.65; overflow-wrap: anywhere; }
.description > :first-child { margin-top: 0; }
.description p, .description ul, .description ol { margin: 0 0 1em; }
.description h2, .description h3, .description h4 { font-size: 1.25rem; font-weight: 800; margin: 1.6em 0 0.5em; line-height: 1.1; }
.description li { margin-bottom: 0.3em; }
.description table { border-collapse: collapse; display: block; overflow-x: auto; }
.description td, .description th { border: 2px solid var(--ink); padding: 4px 8px; text-align: left; }
.more { padding-top: 52px; }
.more h2 { font-size: 1.75rem; font-weight: 900; padding-bottom: 16px; }
.more > p { padding-top: 16px; }

.page { padding-top: 4px; }
.page > h1 { padding-top: 28px; }
.back + h1, .back + .featured-line { margin-top: 18px; }
.lede { font-size: 1.1875rem; margin: 14px 0 28px; max-width: var(--measure); }
.letters { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; }
.letters a { display: inline-flex; align-items: center; justify-content: center; min-width: 44px; min-height: 44px; padding-top: 3px; border: var(--rule) solid var(--ink); text-decoration: none; }
.letters a:hover { background: var(--accent); }
.letter { display: grid; grid-template-columns: 64px minmax(0, 1fr); padding: 18px 0; border-top: var(--rule) solid var(--ink); scroll-margin-top: 12px; }
.letter h2 { font-weight: 900; font-size: 2.5rem; }
.letter ul { list-style: none; margin: 0; padding: 0; columns: 3 250px; column-gap: 40px; }
.letter li { display: flex; justify-content: space-between; gap: 12px; padding: 3px 0; break-inside: avoid; }
.letter .n { color: var(--ink-soft); font-variant-numeric: tabular-nums; }
.narrow { max-width: 760px; }
.feedback { display: grid; gap: 8px; max-width: 560px; }
.feedback label { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.07em; margin-top: 12px; }
.feedback textarea, .feedback input[type=email] { width: 100%; }
.feedback button { justify-self: start; margin-top: 14px; }
.hp { position: absolute; left: -9999px; }
.error { color: #b3001b; font-weight: 700; }

/* ── Buy Local ───────────────────────────────────────────────────────── */
.tiles {
  list-style: none; margin: 0; padding: 0;
  display: grid; grid-template-columns: repeat(auto-fill, minmax(196px, 1fr)); gap: 30px 20px;
}
.tile { display: flex; flex-direction: column; gap: 4px; min-width: 0; font-size: 0.9375rem; }
.tile-link { text-decoration: none; display: block; }
.tile-photo { display: block; position: relative; aspect-ratio: 1; border: var(--rule) solid var(--ink); overflow: hidden; margin-bottom: 8px; }
/* One of a kind / limited edition / commission: a label on the photo's corner */
.piece { display: inline-block; padding: 5px 8px 2px; font-weight: 800; font-size: 0.75rem; letter-spacing: 0.05em; line-height: 1.15;
  background: var(--pink); color: var(--black); text-decoration: none; }
.tile-photo .piece { position: absolute; top: 0; left: 0; border-right: var(--rule) solid var(--ink); border-bottom: var(--rule) solid var(--ink); }
.piece-limited { background: var(--yellow); }
.piece-commission { background: var(--black); color: var(--white); }
.piece-note { margin-top: 10px; font-size: 0.9375rem; }
.piece-note .piece { margin-right: 6px; border: 2px solid var(--ink); }
.tile:nth-child(3n+1) .tile-photo { background: repeating-linear-gradient(135deg, var(--yellow) 0 18px, var(--yellow-tint) 18px 36px); }
.tile:nth-child(3n+2) .tile-photo { background: repeating-linear-gradient(135deg, var(--pink) 0 18px, var(--pink-tint) 18px 36px); }
.tile:nth-child(3n) .tile-photo { background: repeating-linear-gradient(135deg, var(--black) 0 18px, var(--black-tint) 18px 36px); }
.tile-photo img { width: 100%; height: 100%; object-fit: cover; display: block; background: var(--paper); }
.tile-title { display: block; font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1.1875rem; line-height: 1.02; overflow-wrap: anywhere; }
.tile-link:hover .tile-title, .tile-link:focus-visible .tile-title { text-decoration: underline; }
.tile-maker { line-height: 1.35; }
.tile-price { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 900; font-size: 1.375rem; font-variant-numeric: tabular-nums; margin-top: 2px; }
.tile-price s, .product-price s { color: var(--ink-soft); font-weight: 500; font-size: 0.75em; }
.tile-out .tile-photo img { opacity: 0.5; }
.out { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.06em; color: var(--ink-soft); }
.pinned-tiles .tiles { padding: 18px; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 22px 18px; }
.maker-name .featured-tag { margin-left: 8px; }

.product-cols { display: grid; grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr); gap: 28px clamp(24px, 4vw, 56px); padding-top: 20px; align-items: start; }
.photos { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.photos img { width: 100%; height: auto; display: block; border: var(--rule) solid var(--ink); aspect-ratio: 1; object-fit: cover; background: var(--wash); }
.photos img:first-child { grid-column: 1 / -1; aspect-ratio: auto; max-height: 80vh; object-fit: contain; }
.no-photo { grid-column: 1 / -1; border: var(--rule) solid var(--ink); padding: 64px 24px; background: repeating-linear-gradient(135deg, var(--yellow) 0 18px, var(--yellow-tint) 18px 36px); font-weight: 600; }
.product-maker { font-size: 1.125rem; font-weight: 700; margin-top: 14px; }
.product-price { font-family: var(--font-head); text-transform: var(--head-case); font-size: 2.25rem; font-weight: 900; line-height: 1; font-variant-numeric: tabular-nums; margin-top: 20px; }
.product-info .apply { margin-top: 18px; }
.product-info .facts-grid { padding-top: 22px; border-top: var(--rule) solid var(--ink); }
.product-info .description { padding-top: 22px; }

.maker-list { list-style: none; margin: 0; padding: 0; }
.maker-list li { display: grid; grid-template-columns: minmax(0, 1.2fr) minmax(0, 1fr) 104px; gap: 4px 24px; align-items: baseline; padding: 16px 0; border-top: var(--rule) solid var(--ink); }
.maker-list li:last-child { border-bottom: var(--rule) solid var(--ink); }
.maker-list .maker-featured { background: var(--feature); padding-inline: 14px; }
.maker-list a { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1.375rem; line-height: 1; text-decoration: none; }
.maker-list a:hover { text-decoration: underline; }
.maker-list .n { font-variant-numeric: tabular-nums; white-space: nowrap; text-align: right; color: var(--ink-soft); }
.maker-what { font-size: 0.9375rem; }
.maker-links { display: flex; flex-wrap: wrap; gap: 12px 24px; align-items: center; margin-bottom: 40px; }

.join input:not([type=checkbox]), .join select { width: 100%; }
.join .hint { color: var(--ink-soft); font-size: 0.9375rem; margin-top: -4px; }
.join .optional { text-transform: none; font-family: var(--font-body); font-weight: 400; letter-spacing: 0; color: var(--ink-soft); }
.join .terms { margin-top: 22px; padding: 18px; border: var(--rule-heavy) solid var(--ink); background: var(--accent); }
.join .terms legend { float: left; width: 100%; margin-bottom: 8px; font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1.125rem; }
.join .terms ul { clear: both; margin: 0 0 14px; padding-left: 1.1em; display: grid; gap: 6px; font-size: 0.9375rem; }
.join .agree { margin-top: 0; font-weight: 700; grid-template-columns: 20px 1fr; }
.join .error { margin-top: -2px; }

/* ── Classifieds: ad cards ───────────────────────────────────────────── */
.ads { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 18px; }
.ad { position: relative; display: flex; flex-direction: column; gap: 8px; border: var(--rule) solid var(--ink); padding: 14px; background: var(--paper); }
.ad-link { display: flex; flex-direction: column; gap: 10px; text-decoration: none; }
.ad-link::after { content: ""; position: absolute; inset: 0; }   /* the whole card is the link */
.ad-thumb { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; display: block; border: var(--rule) solid var(--ink); }
.ad-nothumb { background: repeating-linear-gradient(135deg, var(--yellow) 0 18px, var(--yellow-tint) 18px 36px); }
.ad:nth-child(even) .ad-nothumb { background: repeating-linear-gradient(135deg, var(--pink) 0 18px, var(--pink-tint) 18px 36px); }
.ad-meta { order: -1; font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 0.75rem; letter-spacing: 0.07em; }
.ad-main { display: flex; flex-direction: column; gap: 6px; }
.ad-title { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1.3125rem; line-height: 1.02; overflow-wrap: anywhere; }
.ad:hover .ad-title, .ad-link:focus-visible .ad-title { text-decoration: underline; }
.ad-price { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 900; font-size: 1.625rem; line-height: 1; font-variant-numeric: tabular-nums; }
.ad-date { font-size: 0.875rem; margin-top: auto; }
.ads-featured { padding: 18px; }
.ads-featured .ad { background: var(--paper); }
.ad-photo { max-width: 100%; max-height: 70vh; display: block; border: var(--rule) solid var(--ink); }

/* ── Rentals ─────────────────────────────────────────────────────────── */
.rents, .meetings { list-style: none; margin: 0; padding: 0; }
.rent, .meeting { display: grid; gap: 6px 24px; padding: 18px 0; border-top: var(--rule) solid var(--ink); }
.rent:last-child, .meeting:last-child { border-bottom: var(--rule) solid var(--ink); }
.rent { grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr) minmax(150px, auto); align-items: center; }
.rent-prop { display: block; font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1.375rem; line-height: 1; text-decoration: none; margin-bottom: 6px; }
.rent-prop:hover { text-decoration: underline; }
.rent-plan { display: block; font-weight: 600; }
.rent-main > .rent-plan:first-child { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1.25rem; line-height: 1.05; }
.rent-city { font-weight: 400; }
.rent-beds { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.04em; }
.rent-size { display: block; font-family: var(--font-body); text-transform: none; font-weight: 400; letter-spacing: 0; }
.rent-price { text-align: right; font-family: var(--font-head); text-transform: var(--head-case); font-weight: 900; font-size: 1.625rem; line-height: 1; font-variant-numeric: tabular-nums; }
.rent-avail { display: block; margin-top: 6px; font-family: var(--font-body); text-transform: none; font-weight: 400; font-size: 0.9375rem; line-height: 1.3; }
.rents-featured .rent { padding-inline: 18px; }
.rents-featured .rent:first-child { border-top: 0; }
.rents-featured .rent:last-child { border-bottom: 0; }

/* ── Civic: council minutes ──────────────────────────────────────────── */
.council { padding-top: 0; }
.body-pick { display: flex; gap: 12px; align-items: center; margin: 0 0 22px; flex-wrap: wrap; }
.body-pick label { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.07em; }
.meeting { grid-template-columns: 120px minmax(0, 1fr) auto; align-items: baseline; }
.meeting-date { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1rem; font-variant-numeric: tabular-nums; }
.meeting-title { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1.375rem; line-height: 1; text-decoration: none; }
.meeting-title:hover { text-decoration: underline; }
.meeting-kind { display: block; margin-top: 4px; }
.meeting-docs { display: flex; gap: 8px; flex-wrap: wrap; }
.meeting-docs a { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.06em; padding: 6px 10px 3px; border: 2px solid var(--ink); text-decoration: none; }
.meeting-docs a:hover { background: var(--accent); }
.points, .summary ul { list-style: square; }
.points { margin: 10px 0 0; padding-left: 1.1em; display: grid; gap: 4px; font-size: 0.9375rem; }
.summary { border: var(--rule-heavy) solid var(--ink); margin: 28px 0; }
.summary h2 { background: var(--accent); border-bottom: var(--rule-heavy) solid var(--ink); padding: 10px 16px 7px; font-weight: 900; font-size: 1.375rem; }
.summary ul { margin: 0; padding: 18px 20px 0 38px; display: grid; gap: 10px; }
.summary .pinned-note { padding: 14px 20px 18px; }
.minutes-text { margin-top: 24px; border-top: var(--rule) solid var(--ink); padding-top: 16px; }
.minutes-text summary { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; letter-spacing: 0.05em; cursor: pointer; }

/* ── Events: days, calendar; maps (Events and Rentals) ───────────────── */
.view-tabs { display: flex; }
.view-tabs a {
  display: inline-flex; align-items: center; min-height: 44px; padding: 4px 16px 0;
  border: var(--rule) solid var(--ink); background: var(--paper); text-decoration: none;
  font-weight: 800; font-size: 0.9375rem; letter-spacing: 0.05em;
}
.view-tabs a + a { border-left: 0; }
.view-tabs a:hover { background: var(--wash); }
.view-tabs a[aria-current] { background: var(--accent); color: var(--on-accent); }
.results-head .view-tabs { margin-left: auto; }
.day { margin-top: 30px; }
.day:first-of-type { margin-top: 0; }
.day-head { background: var(--bar); color: var(--on-bar); padding: 11px 14px 8px; font-weight: 800; font-size: 1.25rem; letter-spacing: 0.04em; line-height: 1; }
.day-head b { color: var(--accent); font-weight: 800; }
.evs { list-style: none; margin: 0; padding: 0; }
.ev { display: grid; grid-template-columns: 104px minmax(0, 1fr) auto; gap: 4px 16px; align-items: baseline; padding: 16px 4px; border-bottom: var(--rule) solid var(--ink); }
.ev-time { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1.0625rem; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ev-title { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1.375rem; line-height: 1.02; text-decoration: none; overflow-wrap: anywhere; }
.ev-title:hover { text-decoration: underline; }
.ev-meta { display: block; margin-top: 4px; font-size: 0.9375rem; }
.ev-price { font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; text-align: right; }
.ev-side { display: flex; flex-direction: column; align-items: flex-end; gap: 8px; }
.ev-tix { display: inline-block; padding: 7px 12px 4px; border: 2px solid var(--ink); background: var(--accent); color: var(--on-accent);
  font-weight: 800; font-size: 0.8125rem; letter-spacing: 0.05em; line-height: 1.1; text-decoration: none; white-space: nowrap; }
.ev-tix:hover { background: var(--ink); color: var(--paper); }
/* Who an event is for: age limits in black, kid-friendly in yellow, all ages outlined */
.age { display: inline-block; vertical-align: 0.25em; margin-left: 6px; padding: 3px 7px 1px; border: 2px solid var(--ink);
  font-weight: 800; font-size: 0.6875rem; letter-spacing: 0.06em; line-height: 1.2; white-space: nowrap; }
.age-21, .age-18 { background: var(--ink); color: var(--paper); }
.age-kids { background: var(--yellow); color: var(--black); }
.day-now { border: var(--rule-heavy) solid var(--ink); background: var(--accent); }
.day-now .day-head { background: transparent; color: var(--on-accent); border-bottom: var(--rule-heavy) solid var(--ink); font-weight: 900; }
.day-now .evs { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 14px; padding: 16px; }
.day-now .ev { display: flex; flex-direction: column; gap: 4px; background: var(--paper); border: var(--rule) solid var(--ink); padding: 14px; }
.day-now .ev-time { order: 3; font-family: var(--font-body); text-transform: none; font-weight: 400; font-size: 0.9375rem; white-space: normal; }
.day-now .ev-title { font-size: 1.25rem; }
.day-now .ev-meta { margin-top: 0; }
.day-now .ev-price { text-align: left; font-size: 0.875rem; }
.day-now .ev-side { order: 4; align-items: flex-start; }
.cal-nav { margin: 0 0 16px; padding-top: 0; }
.cal-wrap { overflow-x: auto; }
.cal { width: 100%; min-width: 760px; border-collapse: collapse; table-layout: fixed; }
.cal th { background: var(--bar); color: var(--on-bar); text-align: left; font-weight: 800; font-size: 0.875rem; letter-spacing: 0.07em; padding: 10px 8px 7px; border: var(--rule) solid var(--ink); }
.cal abbr { text-decoration: none; }
.cal td { vertical-align: top; height: 132px; padding: 8px; border: var(--rule) solid var(--ink); font-size: 0.8125rem; }
.cal-out { background: var(--wash); }
.cal-today { background: var(--today); }
.cal-num { display: block; font-weight: 900; font-size: 1.25rem; line-height: 1; margin-bottom: 8px; font-variant-numeric: tabular-nums; }
.cal-today .cal-num { display: inline-flex; align-items: center; justify-content: center; min-width: 34px; height: 34px; padding-top: 3px; background: var(--hot); border: var(--rule) solid var(--ink); }
.cal-past .cal-num { color: var(--ink-soft); }
.cal-ev {
  display: block; padding: 4px 6px; margin-bottom: 5px; border: 2px solid var(--ink); background: var(--paper);
  font-weight: 600; line-height: 1.2; text-decoration: none;
  overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical;
}
.cal-ev:hover { background: var(--accent); }
.cal-more { font-weight: 800; font-size: 0.75rem; letter-spacing: 0.06em; }
.cal-list { margin-top: 32px; }
.map { height: min(68vh, 620px); min-height: 360px; border: var(--rule-heavy) solid var(--ink); background: var(--today); z-index: 0; }
.map-small { height: 320px; min-height: 0; margin-top: 32px; }
.map-note { padding-left: 0; }
.leaflet-container { font-family: var(--font-body); }
.leaflet-container .leaflet-popup-content-wrapper { border-radius: var(--radius); border: var(--rule) solid var(--ink); box-shadow: none; }
.leaflet-container .leaflet-popup-tip { border: var(--rule) solid var(--ink); box-shadow: none; }
.map-pop { font-family: var(--font-body); font-size: 0.9375rem; line-height: 1.35; min-width: 210px; color: var(--ink); }
.map-pop strong { display: block; margin-bottom: 4px; font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; font-size: 1.125rem; line-height: 1; }
.map-pop p { margin: 0 0 6px; color: var(--ink-soft); }
.map-pop ul { list-style: none; margin: 8px 0; padding: 0; display: grid; gap: 8px; }
.map-pop li span { display: block; color: var(--ink-soft); }
.leaflet-container .map-pop a { color: var(--ink); text-decoration: underline; text-decoration-thickness: 2px; }

/* ── Narrow screens ──────────────────────────────────────────────────── */
@media (max-width: 860px) {
  .product-cols { grid-template-columns: minmax(0, 1fr); }
  .layout { grid-template-columns: minmax(0, 1fr); padding-top: 20px; }
  .filters { margin-bottom: 22px; }
  .filters > summary {
    display: inline-flex; align-items: center; gap: 10px; cursor: pointer; min-height: 48px; padding: 4px 18px 0;
    border: var(--rule) solid var(--ink); font-family: var(--font-head); text-transform: var(--head-case); font-weight: 800; letter-spacing: 0.05em;
  }
  .filters[open] > summary { margin-bottom: 14px; background: var(--ink); color: var(--paper); }
  .filters .count { background: var(--hot); color: var(--on-hot); padding: 2px 8px 0; border: 2px solid var(--paper); font-size: 0.8125rem; }
  .filters-body { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 20px 24px; }
  .apply-filters { grid-column: 1 / -1; }
  .pinned-tiles .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 600px) {
  body { font-size: 1rem; }
  .band { padding-block: 26px 24px; }
  .band-intro { font-size: 1.125rem; }
  .band-row > .button { width: 100%; }
  .search { flex-direction: column; align-items: stretch; padding: 14px; }
  .row-head { font-size: 1.25rem; }
  .row > .button { width: 100%; }
  .letter { grid-template-columns: 1fr; gap: 8px; }
  .cal-wrap { display: none; }
  .cal-list { margin-top: 0; }
  .ev { grid-template-columns: 76px minmax(0, 1fr); padding-inline: 0; }
  .ev-side { grid-column: 2; flex-direction: row; align-items: center; justify-content: space-between; }
  .ev-price { text-align: left; }
  .results-head .view-tabs { margin-left: 0; }
  .ads { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .ad { padding: 10px; }
  .ad-title { font-size: 1.0625rem; }
  .ad-price { font-size: 1.25rem; }
  .ads-featured { padding: 12px; }
  .rent { grid-template-columns: minmax(0, 1fr); }
  .rent-price { text-align: left; }
  .rent-avail { display: inline; margin-left: 8px; }
  .meeting { grid-template-columns: minmax(0, 1fr); }
  .tiles, .pinned-tiles .tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 24px 14px; }
  .pinned-tiles .tiles { padding: 12px; }
  .tile-title { font-size: 1.0625rem; }
  .maker-list li { grid-template-columns: minmax(0, 1fr) 84px; }
  .maker-what { grid-column: 1; grid-row: 2; }
}
@media (prefers-reduced-motion: no-preference) {
  html { scroll-behavior: smooth; }
}
@media print {
  .sp-utility, .sp-nav, .sp-signup, .filters, .sp-footer, .search-box, .pager, .apply { display: none; }
  .sp-masthead, .band { background: none; color: #000; }
}
.layout-single { padding-top: 28px; }
.pinned-tiles .pinned-box .tiles { margin: 0; }

/* Members and supporters */
.members .notice { border-left: var(--rule-heavy) solid var(--accent); padding-left: 14px; }
.plan-left { display: grid; gap: 18px; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); margin: 8px 0 32px; }
.plan-left section { border: var(--rule) solid var(--ink); padding: 16px 18px; }
.plan-left h2 { font-weight: 800; font-size: 1.125rem; margin-bottom: 6px; }
.my-posts { list-style: none; padding: 0; margin: 0 0 28px; display: grid; gap: 0; }
.my-posts li { display: grid; grid-template-columns: 1fr auto; gap: 4px 16px; padding: 14px 0; border-bottom: var(--rule) solid var(--ink); }
.my-posts .my-title { font-weight: 700; }
.my-posts .my-meta { grid-column: 1; color: var(--ink-soft); font-size: 0.9375rem; }
.my-posts form { grid-column: 2; grid-row: 1 / span 2; align-self: center; }
.sign-out { margin-top: 12px; }
.supporter-list { list-style: none; padding: 0; margin: 8px 0 32px; display: grid; gap: 16px; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); }
.supporter-list a { display: grid; place-items: center; min-height: 110px; padding: 16px; border: var(--rule) solid var(--ink); text-decoration: none; }
.supporter-list img { max-width: 100%; max-height: 72px; object-fit: contain; }
.supporter-list .supporter-name { font-family: var(--font-head); font-weight: 800; font-size: 1.125rem; text-align: center; }
.patron-names { max-width: var(--measure); line-height: 1.7; }
.supporter-logo { max-width: 240px; max-height: 96px; object-fit: contain; margin-top: 28px; }
.maker-leave { margin-top: 28px; color: var(--ink-soft); font-size: 0.9375rem; }
