/* Facts First — cost-of-living visuals. Uses the site's article variables
   (--paper, --ink, --muted, --sans, --rule) with fallbacks so it also works standalone. */
.ff-col { --ffc-ink: var(--ink, #111); --ffc-muted: var(--muted, #444); --ffc-paper: var(--paper, #f4f1ea);
  --ffc-sans: var(--sans, "Helvetica Neue", Helvetica, Arial, sans-serif); --ffc-rule: var(--rule, #1a1a1a);
  position: relative; margin: 0 0 22px; max-width: 100%; color: var(--ffc-ink); }
.ff-col * { box-sizing: border-box; }
.ff-col figure { margin: 0; }
.ff-col .ff-col-hed { font-family: var(--ffc-sans); font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-weight: 800;
  border-top: 3px solid var(--ffc-rule); padding-top: 6px; margin: 0 0 4px; }
.ff-col .ff-col-dek { font-size: 15px; line-height: 1.4; margin: 0 0 10px; }
.ff-col figcaption, .ff-col .ff-col-src { font-style: italic; font-size: 13px; color: var(--ffc-muted); margin: 8px 0 0; line-height: 1.4; }
.ff-col .ff-col-banner { border: 3px solid #b00020; background: #fde8eb; color: #6d0013; padding: 10px 12px; margin: 0 0 10px;
  font-family: var(--ffc-sans); font-size: 13px; line-height: 1.35; }
.ff-col .ff-col-banner strong { display: block; font-size: clamp(17px, 4.6vw, 24px); font-weight: 900; letter-spacing: .03em; color: #b00020; margin-bottom: 2px; }
.ff-col .ff-col-sr { position: absolute !important; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0 0 0 0); clip-path: inset(50%); white-space: nowrap; border: 0; }
.ff-col .ff-col-error { font-family: var(--ffc-sans); font-size: 14px; border: 1px solid var(--ffc-rule); padding: 10px; }
/* table look matches table.ff in article pages */
.ff-col table.ff { width: 100%; border-collapse: collapse; font-size: 14px; margin: 0; }
.ff-col table.ff th, .ff-col table.ff td { border-bottom: 1px solid #ccc; padding: 5px 6px; text-align: left; }
.ff-col table.ff thead th { font-family: var(--ffc-sans); font-size: 10.5px; letter-spacing: .06em; text-transform: uppercase; }
.ff-col table.ff .num { text-align: right; font-variant-numeric: tabular-nums; white-space: nowrap; }
.ff-col table.ff tr.is-focus { background: #e9e0cc; }
.ff-col table.ff caption { caption-side: top; text-align: left; font-style: italic; font-size: 13px; margin: 0 0 6px; color: var(--ffc-muted); }
.ff-col .ff-col-tblwrap { overflow-x: auto; -webkit-overflow-scrolling: touch; max-width: 100%; }
.ff-col details { margin: 10px 0 0; font-family: var(--ffc-sans); font-size: 13px; }
.ff-col details summary { cursor: pointer; font-weight: 700; padding: 6px 0; }
/* bars grow in only when motion is OK */
@media (prefers-reduced-motion: no-preference) {
  .ff-col .ff-col-bar { transform-box: fill-box; transform-origin: 0 50%; animation: ffcol-grow .55s ease-out both; }
  @keyframes ffcol-grow { from { transform: scaleX(0); } to { transform: scaleX(1); } }
}
/* map */
.ff-col.ff-col-map .ff-col-mapwrap { position: relative; max-width: 620px; margin: 0 auto; }
.ff-col .ff-col-town { cursor: pointer; outline: none; }
.ff-col .ff-col-town .ff-col-halo { opacity: 0; }
.ff-col .ff-col-town:focus .ff-col-halo, .ff-col .ff-col-town:hover .ff-col-halo, .ff-col .ff-col-town.is-active .ff-col-halo { opacity: 1; }
.ff-col .ff-col-town:focus-visible .ff-col-halo { stroke: #b00020; }
.ff-col .ff-col-tip { position: absolute; z-index: 3; pointer-events: none; background: #fff; border: 1px solid var(--ffc-rule); box-shadow: 0 4px 14px rgba(0,0,0,.18);
  padding: 8px 10px; font-family: var(--ffc-sans); font-size: 12.5px; line-height: 1.35; min-width: 170px; max-width: 230px; }
.ff-col .ff-col-tip b { display: block; font-size: 14px; }
.ff-col .ff-col-tip table { border-collapse: collapse; width: 100%; margin-top: 4px; }
.ff-col .ff-col-tip td { padding: 1px 0; }
.ff-col .ff-col-tip td + td { text-align: right; font-variant-numeric: tabular-nums; }
.ff-col .ff-col-scale { font-family: var(--ffc-sans); font-size: 12px; margin: 10px auto 0; max-width: 620px; }
.ff-col .ff-col-scale-t { font-weight: 700; display: block; margin-bottom: 4px; }
.ff-col .ff-col-scale ol { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 12px; margin: 0; padding: 0; }
.ff-col .ff-col-scale li { font-size: 12px; margin: 0; line-height: 1.3; display: flex; align-items: center; gap: 5px; white-space: nowrap; font-variant-numeric: tabular-nums; }
.ff-col .ff-col-scale .sw { width: 22px; height: 14px; border: 1px solid #111; display: inline-block; }
@media print { .ff-col .ff-col-bar { animation: none; } }
.ff-col .ff-col-banner.is-draft { border-color: #8a5a00; background: #fbf0d9; color: #4d3200; }
.ff-col .ff-col-banner.is-draft strong { color: #8a5a00; }
.ff-col .ff-col-notes { font-family: var(--ffc-sans); font-size: 13px; line-height: 1.4; color: #222; margin: 8px 0 0; border-left: 3px solid var(--ffc-rule); padding: 2px 0 2px 10px; }
.ff-col .ff-col-notes p { margin: 0 0 3px; font-size: 13px; line-height: 1.4; }
.ff-col.ff-col-map .ff-col-notes { max-width: 620px; margin-left: auto; margin-right: auto; }
.ff-col table.ff tbody.ff-col-ref th[scope="rowgroup"] { font-family: var(--ffc-sans); font-size: 10.5px; letter-spacing: .1em; text-transform: uppercase; border-top: 2px solid var(--ffc-rule); padding-top: 10px; }
.ff-col table.ff tr.is-ref th, .ff-col table.ff tr.is-ref td { font-style: italic; color: #333; }
