/* 604list: blocky editorial theme */

:root {
	--ink: #111111;
	--bone: #F2EEE6;
	--white: #FFFFFF;
	--accent: #FF5B2E;
	--lime: #D4F25A;
	--blue: #7FA7FF;
	--pink: #FFB4E1;
	--muted: #4A4A4A;
	--line: #D9D4CA;
	--display: 'Bricolage Grotesque', 'Helvetica Neue', Arial, sans-serif;
	--body: 'Inter', system-ui, -apple-system, 'Segoe UI', sans-serif;
	--mono: 'JetBrains Mono', ui-monospace, Menlo, monospace;
	--wrap: 1280px;
	--shadow: 6px 6px 0 var(--ink);
	--shadow-sm: 4px 4px 0 var(--ink);
	--shadow-lg: 8px 8px 0 var(--ink);
}

*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; }
body { margin: 0; background: var(--bone); color: var(--ink); font-family: var(--body); font-size: 17px; line-height: 1.6; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--ink); text-underline-offset: 3px; }
a:hover { color: var(--muted); }
input, select, textarea, button { font: inherit; color: inherit; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.screen-reader-text, .sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link:focus { position: fixed; top: 8px; left: 8px; z-index: 1000; width: auto; height: auto; clip: auto; background: var(--ink); color: var(--bone); padding: 12px 16px; }
.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

.wrap { max-width: var(--wrap); margin: 0 auto; padding-left: 24px; padding-right: 24px; }
.section { border-bottom: 2px solid var(--ink); }
.section-pad { padding-top: 72px; padding-bottom: 72px; }
.section-dark { background: var(--ink); color: var(--bone); }
.section-dark a { color: var(--bone); }
.section-white { background: var(--white); }
.section-lime { background: var(--lime); }
.section-accent { background: var(--accent); }
.stack { display: flex; flex-direction: column; gap: 24px; }
.row-between { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 16px; }
.grid { display: grid; gap: 24px; }
.grid-auto-280 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }
.grid-auto-220 { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }
.grid-split { grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; }

/* Type */
.kicker { margin: 0; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.08em; }
.mono { font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.05em; }
.display-xl { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(52px, 8.5vw, 128px); line-height: 0.9; letter-spacing: -0.05em; }
.display-l { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(44px, 7vw, 104px); line-height: 0.92; letter-spacing: -0.045em; }
.h-section { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4.5vw, 64px); line-height: 1; letter-spacing: -0.04em; }
.h-block { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); line-height: 1.05; letter-spacing: -0.03em; }
.lede { margin: 0; font-size: clamp(19px, 1.8vw, 24px); line-height: 1.45; max-width: 780px; }
.muted { color: var(--muted); }
.section-dark .muted { color: #D9D4CA; }
.link-mono { font-family: var(--mono); font-size: 14px; text-transform: uppercase; padding: 12px 0; display: inline-block; }

/* Buttons and chips */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 48px; padding: 12px 20px; border: 2px solid var(--ink); font-weight: 600; font-size: 16px; text-decoration: none; cursor: pointer; transition: transform .08s ease, box-shadow .08s ease; }
.btn:hover { transform: translate(-1px, -1px); }
.btn:active { transform: translate(2px, 2px); box-shadow: none !important; }
.btn-accent { background: var(--accent); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ink { background: var(--ink); color: var(--bone); }
.btn-ink:hover { color: var(--bone); }
.btn-white { background: var(--white); color: var(--ink); box-shadow: var(--shadow-sm); }
.btn-ink-shadow { background: var(--ink); color: var(--bone); box-shadow: 4px 4px 0 var(--accent); }
.btn-ink-shadow:hover { color: var(--bone); }
.chip { display: inline-flex; align-items: center; gap: 6px; border: 2px solid var(--ink); background: var(--white); padding: 8px 12px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; text-decoration: none; color: var(--ink); line-height: 1.2; }
.chip-lime { background: var(--lime); }
.chip-ink { background: var(--ink); color: var(--bone); }
.chip-accent { background: var(--accent); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; }
.chip-btn { cursor: pointer; min-height: 44px; padding: 10px 16px; }
.chip-btn[aria-pressed="true"] { background: var(--ink); color: var(--bone); box-shadow: 4px 4px 0 var(--accent); }
.chip-plain { display: inline-block; border: 2px solid var(--ink); background: var(--white); padding: 12px 18px; font-weight: 600; text-decoration: none; }

/* Blocks */
.block { border: 2px solid var(--ink); background: var(--white); padding: 28px; }
.block-shadow { box-shadow: var(--shadow); }
.block-lime { background: var(--lime); }
.block-bone { background: var(--bone); }
.block-dashed { border-style: dashed; }
.block > h3, .block .h3 { margin: 0 0 12px; font-family: var(--display); font-weight: 800; font-size: 28px; letter-spacing: -0.02em; line-height: 1.1; }
.block p { margin: 0 0 12px; }
.block p:last-child { margin-bottom: 0; }
.note-block { border: 2px dashed var(--ink); background: var(--white); padding: 20px; margin: 24px 0; }

/* Header */
.site-header { background: var(--bone); border-bottom: 2px solid var(--ink); position: relative; z-index: 20; }
.site-header .wrap { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; padding-top: 16px; padding-bottom: 16px; }
.logo { display: flex; align-items: center; gap: 8px; text-decoration: none; color: var(--ink); }
.logo-604 { background: var(--ink); color: var(--bone); font-family: var(--mono); font-weight: 500; font-size: 15px; padding: 6px 8px; }
.logo-list { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; }
.main-nav ul { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 4px; }
.main-nav a { display: block; padding: 12px 14px; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.04em; text-decoration: none; border: 2px solid transparent; }
.main-nav .current-menu-item > a, .main-nav .current-menu-ancestor > a, .main-nav a[aria-current="page"] { border-color: var(--ink); background: var(--white); }
.nav-toggle { display: none; }

@media (max-width: 760px) {
	.nav-toggle { display: inline-flex; background: var(--white); border: 2px solid var(--ink); padding: 10px 14px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; min-height: 44px; cursor: pointer; }
	.main-nav { flex-basis: 100%; display: none; }
	.main-nav.is-open { display: block; }
	.main-nav ul { flex-direction: column; }
	.header-cta { display: none; }
}

/* Area marquee */
.marquee-band { background: var(--ink); color: var(--bone); border-bottom: 2px solid var(--ink); overflow: hidden; white-space: nowrap; }
.marquee-track { display: inline-flex; width: max-content; animation: marquee 40s linear infinite; }
.marquee-band:hover .marquee-track, .marquee-band:focus-within .marquee-track { animation-play-state: paused; }
.marquee-track a { display: inline-flex; align-items: center; gap: 18px; padding: 14px 0 14px 18px; color: var(--bone); text-decoration: none; font-family: var(--mono); font-size: 14px; text-transform: uppercase; letter-spacing: 0.1em; }
.marquee-track a span { color: var(--accent); }
@keyframes marquee { from { transform: translateX(0); } to { transform: translateX(-50%); } }
@media (prefers-reduced-motion: reduce) { .marquee-track { animation: none; } html { scroll-behavior: auto; } }

/* Hero */
.hero { padding-top: 72px; padding-bottom: 64px; }
.hero-tag { align-self: flex-start; background: var(--lime); border: 2px solid var(--ink); padding: 6px 10px; }
.stat-row { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; max-width: 1000px; }
.stat { border: 2px solid var(--ink); background: var(--white); padding: 18px 20px; }
.stat:first-child { background: var(--lime); }
.stat b { display: block; font-family: var(--display); font-weight: 800; font-size: 40px; letter-spacing: -0.03em; line-height: 1.1; }
.stat span { font-family: var(--mono); font-size: 13px; text-transform: uppercase; }

/* Search form */
.search-box { display: flex; flex-wrap: wrap; border: 2px solid var(--ink); box-shadow: var(--shadow-lg); background: var(--white); max-width: 1000px; }
.search-box .field { flex: 3 1 300px; display: flex; flex-direction: column; gap: 4px; padding: 14px 20px; border-right: 2px solid var(--ink); }
.search-box .field-area { flex: 2 1 220px; }
.search-box label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; letter-spacing: 0.06em; }
.search-box input, .search-box select { border: 0; outline: none; font-size: 20px; padding: 4px 0; background: transparent; width: 100%; }
.search-box button { flex: 1 1 160px; display: flex; align-items: center; justify-content: center; gap: 10px; background: var(--ink); color: var(--bone); border: 0; font-weight: 600; font-size: 18px; min-height: 72px; cursor: pointer; }
.search-box.compact { box-shadow: var(--shadow-sm); margin: 16px 0; }
.search-box.compact input, .search-box.compact select { font-size: 17px; }
.search-box.compact button { min-height: 56px; font-size: 16px; }
@media (max-width: 700px) { .search-box .field { border-right: 0; border-bottom: 2px solid var(--ink); } }

/* Category tiles (home) */
.cat-tile { text-decoration: none; color: var(--ink); border: 2px solid var(--ink); box-shadow: var(--shadow); padding: 24px; display: flex; flex-direction: column; gap: 14px; min-height: 200px; background: var(--white); }
.cat-tile:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 8px 8px 0 var(--ink); }
.cat-tile .top { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 13px; }
.cat-tile .name { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; line-height: 1.05; }
.cat-tile .subs { font-size: 15px; line-height: 1.5; }
.cat-tile.t-accent { background: var(--accent); }
.cat-tile.t-lime { background: var(--lime); }
.cat-tile.t-ink { background: var(--ink); color: var(--bone); box-shadow: 6px 6px 0 var(--accent); }

/* Area tiles */
.area-tile { text-decoration: none; color: var(--ink); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 20px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 16px; background: var(--white); }
.area-tile:hover { color: var(--ink); transform: translate(-2px, -2px); }
.area-tile .name { font-family: var(--display); font-weight: 800; font-size: 26px; letter-spacing: -0.03em; line-height: 1.05; }
.area-tile .count { display: flex; justify-content: space-between; align-items: center; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.area-tile.t-ink { background: var(--ink); color: var(--bone); box-shadow: 5px 5px 0 var(--accent); }
.area-tile.t-accent { background: var(--accent); }
.area-tile.t-lime { background: var(--lime); }
.area-tile.t-blue { background: var(--blue); }
.area-tile.t-pink { background: var(--pink); }
.area-tile.t-bone { background: var(--bone); }

/* Most-read list */
.ranked { list-style: none; margin: 0; padding: 0; border-top: 2px solid var(--bone); }
.ranked li { border-bottom: 2px solid var(--bone); }
.ranked a { display: flex; align-items: center; gap: 20px; padding: 22px 0; color: var(--bone); text-decoration: none; }
.ranked .n { font-family: var(--mono); font-size: 14px; width: 32px; }
.ranked .t { flex: 1; font-family: var(--display); font-weight: 700; font-size: 28px; letter-spacing: -0.02em; line-height: 1.15; }
.ranked .y { font-family: var(--mono); font-size: 13px; text-transform: uppercase; color: #D9D4CA; }
.ranked a:hover .t { text-decoration: underline; }

/* Forms */
.form-card { background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow-lg); padding: 28px; display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 16px; }
.form-card .full { grid-column: 1 / -1; }
.form-card .f { display: flex; flex-direction: column; gap: 6px; }
.form-card label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.form-card input, .form-card select, .form-card textarea { border: 2px solid var(--ink); padding: 12px; font-size: 16px; background: var(--bone); width: 100%; border-radius: 0; }
.form-card textarea { resize: vertical; min-height: 120px; }
.form-card button { grid-column: 1 / -1; background: var(--ink); color: var(--bone); border: 2px solid var(--ink); padding: 16px; font-weight: 600; font-size: 17px; cursor: pointer; min-height: 52px; }
.form-card .consent { grid-column: 1 / -1; display: flex; gap: 10px; align-items: flex-start; font-family: var(--body); text-transform: none; font-size: 14px; }
.form-card .consent input { width: auto; margin-top: 4px; }
.form-notice { grid-column: 1 / -1; margin: 0; border: 2px solid var(--ink); background: var(--lime); padding: 12px 14px; font-weight: 600; }
@media (max-width: 560px) { .form-card { grid-template-columns: 1fr; } }
.inline-form { display: flex; flex-wrap: wrap; border: 2px solid var(--ink); box-shadow: var(--shadow-lg); background: var(--white); }
.inline-form input[type=email] { flex: 1 1 220px; border: 0; padding: 18px 20px; font-size: 18px; outline: none; background: transparent; }
.inline-form button { background: var(--ink); color: var(--bone); border: 0; padding: 18px 26px; font-weight: 600; font-size: 17px; cursor: pointer; min-height: 60px; }
.inline-form .consent { flex-basis: 100%; border-top: 2px solid var(--ink); padding: 10px 20px; font-size: 13px; display: flex; gap: 8px; align-items: flex-start; }

/* Post cards */
.post-card { text-decoration: none; color: var(--ink); background: var(--white); border: 2px solid var(--ink); box-shadow: var(--shadow); display: flex; flex-direction: column; }
.post-card:hover { color: var(--ink); transform: translate(-2px, -2px); }
.post-card .media { aspect-ratio: 16 / 10; border-bottom: 2px solid var(--ink); overflow: hidden; background: var(--lime); }
.post-card .media img { width: 100%; height: 100%; object-fit: cover; }
.post-card .body { padding: 22px; display: flex; flex-direction: column; gap: 10px; flex: 1; }
.post-card .title { font-family: var(--display); font-weight: 700; font-size: 24px; line-height: 1.12; letter-spacing: -0.02em; }
.post-card .ex { font-size: 15px; line-height: 1.55; color: var(--muted); }
.post-feature { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); background: var(--white); text-decoration: none; color: var(--ink); }
.post-feature:hover { color: var(--ink); }
.post-feature .media { min-height: 420px; border-right: 2px solid var(--ink); background: var(--lime); overflow: hidden; }
.post-feature .media img { width: 100%; height: 100%; object-fit: cover; }
.post-feature .body { padding: 40px; display: flex; flex-direction: column; justify-content: space-between; gap: 32px; }
.post-feature h2 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(36px, 4vw, 60px); line-height: 0.98; letter-spacing: -0.04em; }

/* Listing cards */
.listing-card { text-decoration: none; color: var(--ink); background: var(--white); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 22px; display: flex; flex-direction: column; gap: 12px; min-height: 190px; }
.listing-card:hover { color: var(--ink); transform: translate(-2px, -2px); box-shadow: 7px 7px 0 var(--ink); }
.listing-card .head { display: flex; align-items: center; gap: 14px; }
.listing-card .name { font-family: var(--display); font-weight: 700; font-size: 22px; letter-spacing: -0.02em; line-height: 1.1; }
.listing-card .summary { font-size: 15px; line-height: 1.5; color: var(--muted); flex: 1; margin: 0; }
.listing-card .foot { display: flex; justify-content: space-between; align-items: center; gap: 8px; font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.listing-card .loc { border: 2px solid var(--ink); padding: 3px 8px; background: var(--bone); }
.listing-card .tag-featured { border: 2px solid var(--ink); padding: 3px 8px; background: var(--lime); }
.logo-tile { width: 64px; height: 64px; flex: 0 0 64px; object-fit: contain; border: 2px solid var(--ink); background: var(--white); }
.monogram { display: inline-flex; align-items: center; justify-content: center; font-family: var(--display); font-weight: 800; font-size: 28px; color: var(--ink); }
.listing-card[hidden] { display: none; }

/* Category page */
.cat-hero { padding-top: 32px; padding-bottom: 56px; }
.breadcrumbs { font-family: var(--mono); font-size: 13px; text-transform: uppercase; display: flex; flex-wrap: wrap; gap: 8px; }
.breadcrumbs span[aria-hidden] { opacity: .6; }
.term-intro { font-size: 19px; line-height: 1.65; max-width: 900px; }
.term-intro img { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); width: 100%; max-height: 380px; object-fit: cover; margin: 8px 0 28px; }
.term-intro h2, .term-intro h3 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.05; margin: 28px 0 12px; font-size: 32px; }
.term-intro ol, .term-intro ul { padding-left: 1.2em; }
.term-intro p { margin: 0 0 14px; }
.top-pick { text-decoration: none; color: var(--ink); border: 2px solid var(--bone); box-shadow: 6px 6px 0 var(--bone); padding: 28px; display: flex; flex-direction: column; gap: 14px; background: var(--white); }
.top-pick:hover { color: var(--ink); transform: translate(-2px, -2px); }
.top-pick.p1 { background: var(--accent); }
.top-pick.p2 { background: var(--lime); }
.top-pick .rank { font-family: var(--display); font-weight: 800; font-size: 72px; line-height: .8; }
.top-pick .name { font-family: var(--display); font-weight: 800; font-size: 30px; letter-spacing: -0.03em; line-height: 1.05; }
.filter-bar { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: flex-end; gap: 20px; }
.filter-input { display: flex; flex-direction: column; gap: 6px; flex: 0 1 360px; }
.filter-input label { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.filter-input input { border: 2px solid var(--ink); box-shadow: var(--shadow-sm); padding: 12px 14px; font-size: 16px; background: var(--white); }
.empty-note { border: 2px dashed var(--ink); padding: 24px; font-size: 18px; margin: 0; }
.guide { font-size: 17px; line-height: 1.7; }
.guide h2, .guide h3, .guide h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.02em; line-height: 1.1; margin: 36px 0 12px; }
.guide h2 { font-size: clamp(32px, 4vw, 52px); letter-spacing: -0.04em; }
.guide h3 { font-size: 30px; }
.guide h4 { font-size: 24px; }
.guide > :first-child { margin-top: 0; }
.guide ul { list-style: none; padding: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.guide ul li { border: 2px solid var(--ink); background: var(--bone); padding: 8px 14px; font-weight: 600; }
.guide ol { padding-left: 1.2em; }
.guide p { margin: 0 0 16px; max-width: 860px; }
details.faq { border-bottom: 2px solid var(--ink); padding: 18px 0; }
details.faq summary { font-family: var(--display); font-weight: 700; font-size: 22px; cursor: pointer; }
details.faq p { margin: 12px 0 0; }

/* Single listing */
.biz-hero { padding-top: 32px; padding-bottom: 56px; }
.biz-logo { width: 140px; height: 140px; flex: 0 0 140px; object-fit: contain; border: 2px solid var(--ink); box-shadow: 8px 8px 0 var(--accent); background: var(--white); }
.biz-logo.monogram { font-size: 72px; }
.biz-head { display: flex; flex-wrap: wrap; gap: 32px; align-items: flex-end; }
.biz-head .text { flex: 1 1 480px; display: flex; flex-direction: column; gap: 16px; }
.gallery-band { background: var(--ink); border-bottom: 2px solid var(--ink); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 220px; gap: 16px; padding-top: 40px; padding-bottom: 40px; }
.gallery-grid img { width: 100%; height: 100%; object-fit: cover; border: 2px solid var(--bone); }
.gallery-grid img:first-child { grid-column: span 2; grid-row: span 2; }
.gallery-grid.n1 img:first-child { grid-column: span 3; }
@media (max-width: 640px) { .gallery-grid { grid-template-columns: 1fr 1fr; grid-auto-rows: 160px; } .gallery-grid img:first-child { grid-column: span 2; grid-row: span 1; } }
.biz-body { display: flex; flex-wrap: wrap; gap: 40px; align-items: flex-start; padding-top: 56px; padding-bottom: 72px; }
.biz-main { flex: 999 1 560px; min-width: 0; }
.biz-side { flex: 1 1 300px; display: flex; flex-direction: column; gap: 20px; }
.facts { border: 2px solid var(--ink); background: var(--white); box-shadow: var(--shadow); }
.facts .hd { background: var(--ink); color: var(--bone); padding: 14px 20px; font-family: var(--mono); font-size: 13px; text-transform: uppercase; letter-spacing: 0.06em; }
.facts dl { margin: 0; padding: 8px 20px 20px; display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr); }
.facts dt, .facts dd { padding: 12px 0; border-bottom: 1px solid var(--line); margin: 0; }
.facts dt { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.facts dd { font-weight: 600; overflow-wrap: anywhere; }
.facts dl > :nth-last-child(-n+2) { border-bottom: 0; }

/* Content (listing body, posts, pages) */
.content { font-size: 18px; line-height: 1.7; }
.content > :first-child { margin-top: 0; }
.content h1, .content h2, .content h3, .content h4 { font-family: var(--display); font-weight: 800; letter-spacing: -0.03em; line-height: 1.08; margin: 40px 0 14px; }
.content h1, .content h2 { font-size: clamp(30px, 3.4vw, 42px); }
.content h3 { font-size: 28px; }
.content h4 { font-size: 22px; }
.content p { margin: 0 0 18px; }
.content a { text-decoration: underline; }
.content img { border: 2px solid var(--ink); }
.content figure { margin: 24px 0; }
.content figcaption, .content .wp-caption-text { font-family: var(--mono); font-size: 12px; text-transform: uppercase; margin-top: 8px; color: var(--muted); }
.content blockquote { margin: 28px 0; padding: 20px 24px; border: 2px solid var(--ink); background: var(--lime); font-family: var(--display); font-size: 24px; line-height: 1.3; }
.content ul, .content ol { padding-left: 1.3em; margin: 0 0 18px; }
.content table { border-collapse: collapse; width: 100%; margin: 24px 0; font-size: 16px; }
.content th, .content td { border: 2px solid var(--ink); padding: 10px 12px; text-align: left; }
.content iframe { max-width: 100%; }
.content .alignleft { float: left; margin: 6px 24px 16px 0; }
.content .alignright { float: right; margin: 6px 0 16px 24px; }
.content .aligncenter { margin-left: auto; margin-right: auto; }
.legacy-block { margin: 0 0 8px; }
.legacy-hr, .content hr { border: 0; border-top: 2px solid var(--ink); margin: 32px 0; }
.legacy-image img { width: 100%; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 12px; margin: 24px 0; }
.photo-grid img { width: 100%; aspect-ratio: 4 / 3; object-fit: cover; }

/* WPBakery output, when the plugin is active: tame its spacing into the theme. */
.content .vc_row { margin-left: 0 !important; margin-right: 0 !important; }
.content .vc_column_container > .vc_column-inner { padding-left: 0 !important; padding-right: 0 !important; }
.content .wpb_content_element { margin-bottom: 20px; }
.content .vc_btn3 { border-radius: 0 !important; border: 2px solid var(--ink) !important; background: var(--ink) !important; color: var(--bone) !important; text-decoration: none; }
.content .vc_separator .vc_sep_line { border-color: var(--ink) !important; border-top-width: 2px !important; }

/* Single post */
.post-hero { padding-top: 40px; padding-bottom: 40px; }
.post-hero .media { border: 2px solid var(--ink); box-shadow: 10px 10px 0 var(--ink); overflow: hidden; max-height: 560px; }
.post-hero .media img { width: 100%; height: 100%; object-fit: cover; }
.post-body { max-width: 760px; margin: 0 auto; padding: 56px 24px 72px; }

/* Pagination */
.pagination { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; padding: 0 24px 72px; }
.pagination .page-numbers { display: inline-flex; min-width: 48px; min-height: 48px; align-items: center; justify-content: center; border: 2px solid var(--ink); background: var(--white); text-decoration: none; font-family: var(--mono); padding: 0 12px; }
.pagination .page-numbers.current { background: var(--ink); color: var(--bone); }

/* Footer */
.site-footer { background: var(--ink); color: var(--bone); }
.site-footer a { color: var(--bone); }
.site-footer .wrap { padding-top: 64px; padding-bottom: 40px; display: flex; flex-direction: column; gap: 48px; }
.footer-word { font-family: var(--display); font-weight: 800; font-size: clamp(64px, 14vw, 200px); letter-spacing: -0.06em; line-height: .8; }
.footer-cols { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 32px; font-size: 15px; line-height: 1.7; }
.footer-cols h2 { font-family: var(--mono); font-size: 12px; font-weight: 400; text-transform: uppercase; color: var(--accent); margin: 0 0 8px; }
.footer-cols ul { list-style: none; margin: 0; padding: 0; }
.footer-legal { border-top: 1px solid var(--muted); padding-top: 20px; display: flex; flex-wrap: wrap; justify-content: space-between; gap: 12px; font-family: var(--mono); font-size: 12px; color: #BDB7AC; }

/* WP Job Manager leftovers we don't use */
.single_job_listing .meta, .job-manager-application-wrapper, .job_application { display: none !important; }

/* ---------- Directory index (/all-vancouver-business-types/) ---------- */
.dir-tools { display: flex; flex-wrap: wrap; align-items: flex-end; gap: 16px 24px; }
.dir-filter { flex: 1 1 520px; max-width: 720px; }
.dir-filter input { font-size: 20px; padding: 18px 20px; box-shadow: var(--shadow); }
.dir-status { margin: 0 0 18px; min-height: 1em; }
.dir-popular { list-style: none; margin: 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 14px; }
.dir-popular a { display: flex; flex-direction: column; justify-content: space-between; gap: 18px; min-height: 120px; padding: 18px; border: 2px solid var(--ink); background: var(--bone); text-decoration: none; color: var(--ink); box-shadow: var(--shadow-sm); transition: transform .12s, box-shadow .12s; }
.dir-popular a:hover { transform: translate(-2px, -2px); box-shadow: var(--shadow); }
.dir-popular a.is-accent { background: var(--accent); }
.dir-popular a.is-lime { background: var(--lime); }
.dir-popular .t { font-family: var(--display, inherit); font-weight: 800; font-size: 22px; line-height: 1.05; }
.dir-popular .n { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.dir-jump { gap: 8px; }
.dir-jump .chip { text-decoration: none; }
.dir-groups { columns: 3 300px; column-gap: 20px; }
.dir-group { break-inside: avoid; margin: 0 0 20px; border: 2px solid var(--ink); background: var(--white); box-shadow: var(--shadow-sm); scroll-margin-top: 100px; }
.dir-group header { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding: 14px 16px; border-bottom: 2px solid var(--ink); background: var(--ink); color: var(--bone); }
.dir-group.is-lime header { background: var(--lime); color: var(--ink); }
.dir-group h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: 22px; line-height: 1.1; }
.dir-group h3 a { color: inherit; text-decoration: none; }
.dir-group header .chip { background: var(--bone); color: var(--ink); }
.dir-list { list-style: none; margin: 0; padding: 6px 0; }
.dir-list a { display: flex; justify-content: space-between; gap: 12px; padding: 9px 16px; text-decoration: none; color: var(--ink); font-weight: 500; }
.dir-list a:hover { background: var(--lime); }
.dir-list .n { font-family: var(--mono); font-size: 13px; color: var(--muted, #666); }
.dir-az { display: flex; flex-wrap: wrap; gap: 4px; }
.dir-az a { display: inline-grid; place-items: center; width: 34px; height: 34px; border: 2px solid var(--ink); font-family: var(--mono); font-weight: 700; text-decoration: none; color: var(--ink); background: var(--bone); }
.dir-az a:hover { background: var(--accent); }
.dir-letters { columns: 4 220px; column-gap: 24px; }
.dir-letter { break-inside: avoid; margin-bottom: 20px; scroll-margin-top: 100px; }
.dir-letter h3 { margin: 0 0 4px; font-family: var(--display); font-weight: 800; font-size: 32px; border-bottom: 2px solid var(--ink); }
.dir-letter .dir-list a { padding-left: 0; padding-right: 0; }
[data-cat-item][hidden], [data-cat-group][hidden], [data-cat-section][hidden] { display: none !important; }
body.is-filtering .dir-jump, body.is-filtering .dir-az { display: none; }

/* ---------- Contact page ---------- */
.contact-wrap { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 48px; align-items: start; padding-top: 64px; padding-bottom: 88px; }
.form-notice.is-error { background: var(--accent); }

/* ---------- Category top 3 (one featured) ---------- */
.top3-grid { display: grid; grid-template-columns: minmax(0, 1.6fr) minmax(0, 1fr); gap: 24px; align-items: stretch; }
.top3-grid.solo { grid-template-columns: minmax(0, 1fr); max-width: 860px; }
.t3-feature { background: var(--bone); color: var(--ink); border: 2px solid var(--bone); box-shadow: 8px 8px 0 var(--accent); display: flex; flex-direction: column; }
.section-dark .t3-feature a:not(.btn) { color: var(--ink); }
.t3-photo { display: block; aspect-ratio: 16 / 7; overflow: hidden; border-bottom: 2px solid var(--ink); background: var(--ink); }
.t3-photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.t3-body { padding: 28px; display: flex; flex-direction: column; gap: 18px; flex: 1; }
.t3-flag { background: var(--accent); color: var(--ink); font-weight: 700; }
.t3-feature .chip { color: var(--ink); }
.t3-head { display: flex; align-items: center; gap: 16px; }
.t3-logo { width: 88px; height: 88px; flex-basis: 88px; }
.t3-feature h3 { margin: 0; font-family: var(--display); font-weight: 800; font-size: clamp(30px, 3.4vw, 48px); line-height: 1; letter-spacing: -0.04em; }
.t3-feature h3 a { text-decoration: none; }
.t3-summary { margin: 0; font-size: 18px; line-height: 1.5; }
.section-dark .t3-feature .btn-white { color: var(--ink); }
.t3-rest { display: grid; grid-template-rows: 1fr 1fr; gap: 24px; }
.t3-card { display: flex; gap: 18px; padding: 24px; background: var(--white); color: var(--ink); text-decoration: none; border: 2px solid var(--bone); box-shadow: 6px 6px 0 var(--bone); transition: transform .12s; }
.section-dark a.t3-card { color: var(--ink); }
.t3-card:hover { transform: translate(-2px, -2px); }
.t3-card.is-lime { background: var(--lime); }
.t3-rank { font-family: var(--display); font-weight: 800; font-size: 64px; line-height: .8; flex: 0 0 auto; }
.t3-card-body { display: flex; flex-direction: column; gap: 12px; min-width: 0; }
.t3-card .name { font-family: var(--display); font-weight: 800; font-size: 26px; line-height: 1.05; letter-spacing: -0.03em; }
.t3-card .t3-summary { font-size: 15px; }
.t3-card .mono { font-size: 12px; text-transform: uppercase; margin-top: auto; }
@media (max-width: 900px) {
	.top3-grid { grid-template-columns: minmax(0, 1fr); }
	.t3-rest { grid-template-rows: none; }
}

/* ---------- Priority categories & sub-category tiles ---------- */
.sub-tile { text-decoration: none; color: var(--ink); border: 2px solid var(--ink); box-shadow: 5px 5px 0 var(--ink); padding: 20px; min-height: 120px; display: flex; flex-direction: column; justify-content: space-between; gap: 12px; background: var(--bone); transition: transform .12s; }
.sub-tile:hover { color: var(--ink); transform: translate(-2px, -2px); }
.sub-tile.t-accent { background: var(--accent); }
.sub-tile.t-lime { background: var(--lime); }
.sub-tile .name { font-family: var(--display); font-weight: 800; font-size: 24px; line-height: 1.05; letter-spacing: -0.03em; }
.sub-tile .blurb { font-size: 15px; line-height: 1.4; }
.sub-tile .count { font-family: var(--mono); font-size: 12px; text-transform: uppercase; }
.dir-list li.is-prio a { font-weight: 700; background: color-mix(in srgb, var(--lime) 55%, transparent); }

/* ---------- Paid (sponsored) placements ---------- */
.tag-sponsored { align-self: flex-start; display: inline-block; font-family: var(--mono); font-size: 11px; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; background: var(--accent); color: var(--ink); border: 2px solid var(--ink); padding: 3px 8px; line-height: 1.2; }
.listing-card.is-paid { background: var(--ink); color: var(--bone); border-color: var(--ink); box-shadow: 5px 5px 0 var(--accent); }
.listing-card.is-paid:hover { color: var(--bone); box-shadow: 7px 7px 0 var(--accent); }
.listing-card.is-paid .summary { color: #D9D4CA; }
.listing-card.is-paid .loc { background: transparent; color: var(--bone); border-color: var(--bone); }
.listing-card.is-paid .logo-tile { border-color: var(--bone); }
.t3-feature.is-paid { box-shadow: 8px 8px 0 var(--lime); }
.t3-feature .t3-sponsored { background: var(--ink); color: var(--bone); border-color: var(--ink); font-weight: 700; }
.section-dark a.t3-card.is-paid, .t3-card.is-paid { background: var(--bone); color: var(--ink); border-color: var(--accent); box-shadow: 6px 6px 0 var(--accent); }
.t3-card .tag-sponsored { margin-bottom: 2px; }
