/* Town shell = T-final (Evan lock 2026-11-17 1:32 AM ET). Shared by every /{state}/{paper}/{town}/ page.
   Loads after /this-weekend-d.css (locked D + D-calm2 rules, live). Source: LOCKED-T-2026-11-17/assets/mockup-t.css, verbatim
   except the month-group selector: the mockup listed .twd-sec-2026-12/-2027-01/-2027-04; every month group now carries
   .twd-sec-month so any month gets the same two columns. Generated pages: town-shell-2026-11-19/work/gen_town.py (gated). */
/* Town shell (Mockup T). Extends mockup-d.css. Same tokens, masthead, row/Details pattern. */
.nameplate h1.region-intent .dia {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: var(--ink);
  transform: rotate(45deg);
  margin: 0 0.35em .22em;
  vertical-align: middle;
  flex-shrink: 0;
}

/* Type chips under WHO. Approved type words only. Horizontal scroll on a narrow screen. */
.twd-tools { flex-direction: column; align-items: center; gap: 10px; }
.twd-types { display: flex; gap: 6px; max-width: 100%; overflow-x: auto; scrollbar-width: none; padding: 0 2px 2px; }
.twd-types::-webkit-scrollbar { display: none; }
.twd-types button {
  flex: 0 0 auto; min-height: 44px; padding: 0 12px; cursor: pointer;
  background: var(--cream); color: var(--ink); border: 1.5px solid var(--ink);
  font: 700 13px/1 "Barlow Condensed", sans-serif; letter-spacing: .08em; text-transform: uppercase;
}
.twd-types button .n { font-weight: 600; color: var(--mute); margin-left: 4px; }
.twd-types button[aria-pressed="true"] { background: var(--ink); color: var(--cream); }
.twd-types button[aria-pressed="true"] .n { color: var(--cream); }

/* Date + time rail for groups that are not This weekend */
.twd-row.twd-dated { grid-template-columns: 76px minmax(0,1fr) 76px; }
.twd-rail .d {
  display: block; margin: 0 0 2px;
  font: 700 12px/1.15 "Barlow Condensed", sans-serif;
  letter-spacing: .08em; text-transform: uppercase; color: var(--mute);
}
.twd-rail .t { display: block; font: 700 15px/1.15 "Barlow Condensed", sans-serif; letter-spacing: .02em; color: var(--ink); }
.twd-rail:empty { visibility: hidden; }

.twd-status button.twd-reset { min-height: 44px; }

/* Month groups stay one column so date order is obvious. */
@media (min-width: 900px) {
  .twd-row.twd-dated { grid-template-columns: 88px minmax(0,1fr) 96px; }
  .twd-sec-weekend .twd-list { display: grid; grid-template-columns: repeat(4, minmax(0,1fr)); gap: 0 24px; }
  .twd-sec-weekend .twd-varyhead { grid-column: 1 / -1; }
  .twd-sec-weekend .twd-row.twd-band { grid-template-columns: 1fr; grid-template-areas: "side" "rail" "body"; padding: 16px 0; }
  .twd-sec-weekend .twd-band .twd-thumb { aspect-ratio: 16 / 9; }
  .twd-sec-weekend .twd-band .twd-more-btn { display: none !important; }
  .js .twd-sec-weekend .twd-band .twd-more { display: block; }
  .twd-sec-weekend .twd-band .twd-rail { margin: 10px 0 4px; }
  .twd-sec-weekend .twd-band .twd-rail:empty { display: none; visibility: visible; }
  .twd-sec-weekend .twd-band .twd-title { font-size: 20px; }
  .twd-sec-weekend .twd-band .twd-hook { font-size: 15px; }
}

@media (min-width: 900px) {
  .twd-sec-nov .twd-list,
  .twd-sec-month .twd-list,
  .twd-sec-still .twd-list {
    display: grid;
    grid-template-columns: repeat(2, minmax(0,1fr));
    gap: 0 32px;
  }
}

@media (min-width: 900px) {
  .twd-types { flex-wrap: wrap; overflow: visible; justify-content: center; max-width: 1180px; }
}

/* T-final parity: the live town chrome's inline child style sets h1.region-intent letter-spacing -.01em; the locked T-final heading has none. */
body.fgw-t h1.region-intent { letter-spacing: normal !important; }
