/* ============================================================
   HERBCEO.COM — MAIN STYLESHEET
   Retro/classic cannabis directory aesthetic
   ============================================================ */

/* -- VARIABLES ------------------------------------------------- */
:root {
  --cream:        #f5f0e8;
  --cream-dark:   #ede7d9;
  --cream-darker: #e0d8c8;
  --ink:          #1e1e18;
  --ink-mid:      #3d3d30;
  --ink-light:    #6b6b58;
  --green:        #2d5a27;
  --green-light:  #3d7a35;
  --green-pale:   #e8f0e6;
  --amber:        #b85c00;
  --amber-pale:   #fdf0e0;
  --red:          #8b1a1a;
  --rule:         #c8c0aa;
  --tag-bg:       #ddd8cc;
  --white:        #ffffff;
  --shadow:       rgba(30,30,24,0.08);

  --font-body:    'Source Sans 3', 'Georgia', serif;
  --font-head:    'Bitter', 'Georgia', serif;
  --font-mono:    'IBM Plex Mono', 'Courier New', monospace;
}

/* -- RESET & BASE ---------------------------------------------- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { font-size: 16px; scroll-behavior: smooth; }

body {
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--green); text-decoration: none; }
a:hover { color: var(--green-light); text-decoration: underline; }
p { margin-bottom: 1rem; }
ul, ol { padding-left: 1.5rem; margin-bottom: 1rem; }
h1,h2,h3,h4,h5,h6 { font-family: var(--font-head); color: var(--ink); line-height: 1.2; margin-bottom: 0.5rem; }

/* -- SITE WRAPPER --------------------------------------------- */
.site { display: flex; flex-direction: column; min-height: 100vh; }
.site-content { flex: 1; }

/* -- HEADER ---------------------------------------------------- */
.site-header {
  background: var(--green);
  border-bottom: 3px solid var(--amber);
  position: sticky;
  top: 0;
  z-index: 100;
}
.header-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}
.site-branding a {
  display: flex;
  flex-direction: column;
  text-decoration: none;
}
.site-name {
  font-family: var(--font-head);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  line-height: 1;
}
.site-tagline {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: rgba(255,255,255,0.6);
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-top: 2px;
}
.main-nav { display: flex; align-items: center; gap: 1.5rem; }
.main-nav a {
  color: rgba(255,255,255,0.85);
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: color 0.15s, border-color 0.15s;
}
.main-nav a:hover,
.main-nav a.current {
  color: #fff;
  border-bottom-color: var(--amber);
  text-decoration: none;
}

/* -- FOOTER ---------------------------------------------------- */
.site-footer {
  background: var(--ink);
  border-top: 3px solid var(--amber);
  color: rgba(255,255,255,0.55);
  font-size: 0.8rem;
  padding: 2rem;
  text-align: center;
}
.site-footer a { color: rgba(255,255,255,0.7); }
.site-footer a:hover { color: #fff; }
.footer-inner { max-width: 1200px; margin: 0 auto; }
.footer-links { display: flex; justify-content: center; gap: 1.5rem; margin-bottom: 0.75rem; flex-wrap: wrap; }

/* -- HOMEPAGE -------------------------------------------------- */
.hc-homepage { max-width: 1200px; margin: 0 auto; }

/* Hero */
.hc-hero {
  background: var(--green);
  padding: 3.5rem 2rem 3rem;
  border-bottom: 2px solid rgba(255,255,255,0.1);
}
.hc-hero-inner { max-width: 680px; margin: 0 auto; text-align: center; }
.hc-hero h1 {
  color: #fff;
  font-size: 2rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}
.hc-hero-sub {
  color: rgba(255,255,255,0.8);
  font-size: 1rem;
  margin-bottom: 1.75rem;
  line-height: 1.5;
}

/* Search */
.hc-search { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-bottom: 1.25rem; justify-content: center; }
.hc-search-box {
  display: flex;
  flex: 1;
  min-width: 280px;
  background: #fff;
  border-radius: 3px;
  border: 2px solid transparent;
  overflow: hidden;
}
.hc-search-box:focus-within { border-color: var(--amber); }
#hc-search-input {
  flex: 1;
  border: none;
  padding: 0.7rem 1rem;
  font-size: 0.95rem;
  font-family: var(--font-body);
  outline: none;
  background: transparent;
}
#hc-state-select {
  border: none;
  border-left: 1px solid var(--rule);
  padding: 0.7rem 0.75rem;
  font-size: 0.88rem;
  font-family: var(--font-body);
  background: #fff;
  outline: none;
  cursor: pointer;
  color: var(--ink-mid);
}
.hc-search-btn {
  background: var(--amber);
  color: #fff;
  border: none;
  padding: 0.7rem 1.6rem;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-radius: 3px;
  cursor: pointer;
  font-family: var(--font-body);
  white-space: nowrap;
  transition: background 0.15s;
}
.hc-search-btn:hover { background: #9e4f00; }
.hc-browse-hint { font-size: 0.82rem; color: rgba(255,255,255,0.6); }
.hc-browse-hint a { color: rgba(255,255,255,0.85); text-decoration: underline; }
.hc-browse-hint a:hover { color: #fff; }

/* Stats bar */
.hc-stats {
  background: var(--cream-darker);
  border-bottom: 1px solid var(--rule);
  padding: 0.55rem 2rem;
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  font-size: 0.82rem;
  color: var(--ink-mid);
  font-family: var(--font-mono);
}
.hc-stats strong { color: var(--ink); font-weight: 600; }

/* Main layout */
.hc-main {
  display: grid;
  grid-template-columns: 210px 1fr;
  align-items: start;
  padding: 2rem;
  gap: 0;
}

/* Sidebar */
.hc-sidebar {
  padding-right: 2rem;
  border-right: 1px solid var(--rule);
  position: sticky;
  top: 72px;
}
.hc-sidebar-section { margin-bottom: 1.75rem; }
.hc-sidebar-heading {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 0.5rem;
  padding-bottom: 0.3rem;
  border-bottom: 1px solid var(--rule);
}
.hc-sidebar a {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  padding: 0.22rem 0;
  font-size: 0.85rem;
  color: var(--ink-mid);
  text-decoration: none;
  border-bottom: 1px dotted transparent;
}
.hc-sidebar a:hover { color: var(--green); border-bottom-color: var(--green); text-decoration: none; }
.hc-count {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--ink-light);
  flex-shrink: 0;
  margin-left: 0.5rem;
}

/* Content */
.hc-content { padding-left: 2rem; }

/* Section headers */
.hc-section-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.35rem;
  margin-bottom: 1rem;
  margin-top: 2rem;
}
.hc-content > .hc-section-header:first-child { margin-top: 0; }
.hc-section-title {
  font-family: var(--font-head);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--ink);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hc-section-more {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--green);
  text-decoration: none;
}
.hc-section-more:hover { text-decoration: underline; }

/* Category grid */
.hc-cat-group { margin-bottom: 1.5rem; }
.hc-cat-group-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
}
.hc-cat-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 0.5rem;
}
.hc-cat-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0.8rem 0.4rem 0.65rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
  text-decoration: none !important;
  color: var(--ink) !important;
  transition: border-color 0.15s, box-shadow 0.15s, background 0.15s;
}
.hc-cat-card:hover {
  border-color: var(--green);
  background: var(--green-pale);
  box-shadow: 0 2px 6px var(--shadow);
  text-decoration: none !important;
}
.hc-cat-icon { font-size: 1.4rem; line-height: 1; margin-bottom: 0.35rem; }
.hc-cat-name {
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 0.2rem;
  color: var(--ink);
}
.hc-cat-count {
  font-family: var(--font-mono);
  font-size: 0.6rem;
  color: var(--ink-light);
}

/* State grid */
.hc-state-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.5rem;
}
.hc-state-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-size: 0.85rem;
  color: var(--ink-mid);
  text-decoration: none;
  transition: border-color 0.15s, color 0.15s;
}
.hc-state-pill:hover { border-color: var(--green); color: var(--green); text-decoration: none; }
.hc-sc { font-family: var(--font-mono); font-size: 0.7rem; color: var(--ink-light); }

/* CTA block */
.hc-cta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: wrap;
  background: var(--amber-pale);
  border: 1px solid var(--amber);
  border-left: 4px solid var(--amber);
  border-radius: 3px;
  padding: 1.25rem 1.5rem;
  margin-top: 2rem;
}
.hc-cta-text {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--amber);
  margin-bottom: 0.2rem;
}
.hc-cta-sub { font-size: 0.82rem; color: var(--ink-mid); }
.hc-cta-btn {
  background: var(--amber);
  color: var(--white) !important;
  padding: 0.65rem 1.4rem;
  border-radius: 3px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-decoration: none !important;
  white-space: nowrap;
  transition: background 0.15s;
  font-family: var(--font-body);
}
.hc-cta-btn:hover { background: #9e4f00; text-decoration: none !important; }

/* -- CATEGORY ARCHIVE PAGE ------------------------------------- */
.archive-header {
  background: var(--green);
  padding: 2.5rem 2rem;
  border-bottom: 3px solid var(--amber);
}
.archive-header-inner { max-width: 1200px; margin: 0 auto; }
.archive-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.25rem;
}
.archive-tagline {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.75);
  margin: 0;
}
.archive-meta {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: rgba(255,255,255,0.55);
  margin-top: 0.5rem;
}

/* Listing grid on archive */
.listing-grid-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.listing-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 1rem;
}
.listing-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.1rem 1.25rem;
  text-decoration: none;
  color: var(--ink);
  display: block;
  transition: border-color 0.15s, box-shadow 0.15s;
}
.listing-card:hover {
  border-color: var(--green);
  box-shadow: 0 2px 8px var(--shadow);
  text-decoration: none;
  color: var(--ink);
}
.listing-card-name {
  font-family: var(--font-head);
  font-size: 1rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.2rem;
  line-height: 1.2;
}
.listing-card:hover .listing-card-name { color: var(--green-light); }
.listing-card-dba {
  font-size: 0.78rem;
  color: var(--ink-light);
  margin-bottom: 0.5rem;
  font-style: italic;
}
.listing-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
  margin-top: 0.5rem;
}
.listing-tag {
  display: inline-block;
  background: var(--tag-bg);
  color: var(--ink-mid);
  font-family: var(--font-mono);
  font-size: 0.62rem;
  padding: 0.15rem 0.45rem;
  border-radius: 2px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.listing-tag.green { background: var(--green-pale); color: var(--green); }
.listing-tag.amber { background: var(--amber-pale); color: var(--amber); }
.listing-card-location {
  font-size: 0.8rem;
  color: var(--ink-light);
  margin-top: 0.4rem;
}

/* Pagination */
.hc-pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.35rem;
  padding: 2rem;
  flex-wrap: wrap;
}
.hc-pagination a,
.hc-pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 36px;
  height: 36px;
  padding: 0 0.5rem;
  border: 1px solid var(--rule);
  border-radius: 2px;
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: var(--ink-mid);
  text-decoration: none;
  background: var(--white);
  transition: border-color 0.15s, background 0.15s;
}
.hc-pagination a:hover { border-color: var(--green); color: var(--green); text-decoration: none; }
.hc-pagination .current { background: var(--green); color: #fff; border-color: var(--green); }

/* -- SINGLE LISTING PAGE --------------------------------------- */
.listing-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem; display: grid; grid-template-columns: 1fr 300px; gap: 2rem; align-items: start; }
.listing-main {}
.listing-sidebar {}

.listing-header {
  border-bottom: 2px solid var(--green);
  padding-bottom: 1rem;
  margin-bottom: 1.5rem;
}
.listing-title {
  font-family: var(--font-head);
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 0.15rem;
}
.listing-dba {
  font-size: 0.9rem;
  color: var(--ink-light);
  font-style: italic;
  margin-bottom: 0.75rem;
}
.listing-cats { display: flex; gap: 0.4rem; flex-wrap: wrap; }
.listing-cat-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  background: var(--green-pale);
  color: var(--green);
  border: 1px solid var(--green);
  border-radius: 2px;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 0.2rem 0.6rem;
  text-decoration: none;
}
.listing-cat-badge:hover { background: var(--green); color: #fff; text-decoration: none; }

.listing-narrative {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--ink-mid);
  margin-bottom: 2rem;
}
.listing-narrative p { margin-bottom: 0.85rem; }

/* License box */
.hc-license-box {
  background: var(--amber-pale);
  border: 1px solid var(--amber);
  border-left: 4px solid var(--amber);
  border-radius: 3px;
  padding: 1rem 1.25rem;
  margin-bottom: 1.5rem;
}
.hc-license-box h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--amber);
  margin-bottom: 0.75rem;
}
.hc-license-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.hc-license-table tr { border-bottom: 1px dotted var(--rule); }
.hc-license-table tr:last-child { border-bottom: none; }
.hc-license-table td { padding: 0.3rem 0; vertical-align: top; }
.hc-license-table td:first-child { color: var(--ink-light); width: 40%; font-size: 0.78rem; font-family: var(--font-mono); text-transform: uppercase; letter-spacing: 0.03em; }
.hc-license-table td:last-child { color: var(--ink); font-weight: 500; }

/* Contact sidebar */
.listing-contact-box {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.25rem;
  margin-bottom: 1rem;
}
.listing-contact-box h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}
.listing-contact-row {
  display: flex;
  gap: 0.6rem;
  font-size: 0.85rem;
  color: var(--ink-mid);
  margin-bottom: 0.5rem;
  align-items: flex-start;
}
.listing-contact-label {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  min-width: 60px;
  padding-top: 2px;
}

/* Hours box */
.listing-hours-box {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.25rem;
  margin-bottom: 1rem;
  font-size: 0.82rem;
}
.listing-hours-box h4 {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--ink-light);
  margin-bottom: 0.75rem;
  padding-bottom: 0.4rem;
  border-bottom: 1px solid var(--rule);
}
.listing-hours-row { display: flex; justify-content: space-between; padding: 0.2rem 0; border-bottom: 1px dotted var(--rule); color: var(--ink-mid); }
.listing-hours-row:last-child { border-bottom: none; }
.listing-hours-day { font-weight: 600; color: var(--ink); }

/* Map */
.listing-map { border-radius: 3px; overflow: hidden; border: 1px solid var(--rule); margin-bottom: 1rem; }
.listing-map iframe { display: block; width: 100%; }

/* Prev/next */
.listing-nav {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--rule);
  font-size: 0.82rem;
}
.listing-nav a {
  color: var(--green);
  text-decoration: none;
  max-width: 45%;
}
.listing-nav a:hover { text-decoration: underline; }
.listing-nav-label {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--ink-light);
  display: block;
  margin-bottom: 0.2rem;
}

/* -- BLOG ------------------------------------------------------ */
.blog-wrap { max-width: 900px; margin: 0 auto; padding: 2rem; }
.blog-header {
  border-bottom: 2px solid var(--green);
  padding-bottom: 0.75rem;
  margin-bottom: 2rem;
}
.blog-header h1 {
  font-size: 1.5rem;
  font-family: var(--font-head);
  color: var(--ink);
}
.blog-post-list { display: flex; flex-direction: column; gap: 1.5rem; }
.blog-post-card {
  background: var(--white);
  border: 1px solid var(--rule);
  border-radius: 3px;
  padding: 1.25rem 1.5rem;
  display: block;
  text-decoration: none;
  color: var(--ink);
  transition: border-color 0.15s, box-shadow 0.15s;
}
.blog-post-card:hover { border-color: var(--green); box-shadow: 0 2px 8px var(--shadow); text-decoration: none; }
.blog-post-title {
  font-family: var(--font-head);
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 0.35rem;
  line-height: 1.3;
}
.blog-post-card:hover .blog-post-title { color: var(--green-light); }
.blog-post-meta {
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-light);
  margin-bottom: 0.6rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.blog-post-excerpt { font-size: 0.88rem; color: var(--ink-mid); line-height: 1.55; }

/* Single post */
.single-post-wrap { max-width: 780px; margin: 0 auto; padding: 2rem; }
.single-post-header { margin-bottom: 2rem; padding-bottom: 1rem; border-bottom: 2px solid var(--green); }
.single-post-title { font-family: var(--font-head); font-size: 2rem; font-weight: 700; color: var(--ink); line-height: 1.2; margin-bottom: 0.5rem; }
.single-post-meta { font-family: var(--font-mono); font-size: 0.72rem; color: var(--ink-light); text-transform: uppercase; letter-spacing: 0.05em; }
.single-post-content { font-size: 1rem; line-height: 1.75; color: var(--ink-mid); }
.single-post-content h2 { font-size: 1.3rem; color: var(--ink); margin: 1.75rem 0 0.6rem; }
.single-post-content h3 { font-size: 1.1rem; color: var(--ink); margin: 1.5rem 0 0.5rem; }
.single-post-content p { margin-bottom: 1.1rem; }
.single-post-content a { color: var(--green); text-decoration: underline; }
.single-post-content img { border-radius: 3px; margin: 1rem 0; }
.single-post-content blockquote {
  border-left: 4px solid var(--amber);
  padding: 0.75rem 1.25rem;
  margin: 1.5rem 0;
  background: var(--amber-pale);
  font-style: italic;
  color: var(--ink-mid);
}

/* -- SEARCH PAGE ----------------------------------------------- */
.search-wrap { max-width: 1200px; margin: 0 auto; padding: 2rem; }
.search-header { margin-bottom: 1.5rem; border-bottom: 2px solid var(--green); padding-bottom: 0.75rem; }
.search-header h1 { font-size: 1.3rem; color: var(--ink); }
.search-count { font-family: var(--font-mono); font-size: 0.75rem; color: var(--ink-light); margin-top: 0.25rem; }

/* -- UTILITY --------------------------------------------------- */
.hc-breadcrumb {
  background: var(--cream-dark);
  border-bottom: 1px solid var(--rule);
  padding: 0.5rem 2rem;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--ink-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}
.hc-breadcrumb { max-width: 100%; }
.hc-breadcrumb a { color: var(--ink-light); text-decoration: none; }
.hc-breadcrumb a:hover { color: var(--green); }
.hc-breadcrumb span { color: var(--ink-mid); }

.no-results {
  text-align: center;
  padding: 4rem 2rem;
  color: var(--ink-light);
  font-size: 0.95rem;
}
.no-results h2 { font-size: 1.2rem; color: var(--ink-mid); margin-bottom: 0.5rem; }

/* -- RESPONSIVE ------------------------------------------------ */
@media (max-width: 1024px) {
  .hc-cat-grid { grid-template-columns: repeat(4, 1fr); }
  .listing-wrap { grid-template-columns: 1fr 260px; }
}

@media (max-width: 900px) {
  .listing-wrap { grid-template-columns: 1fr; }
  .listing-sidebar { order: -1; display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
  .listing-map { grid-column: 1 / -1; }
}

@media (max-width: 768px) {
  .header-inner { padding: 0 1rem; }
  .main-nav { gap: 1rem; }
  .main-nav a { font-size: 0.72rem; letter-spacing: 0.04em; }
  .hc-hero { padding: 2rem 1rem; }
  .hc-hero h1 { font-size: 1.4rem; }
  .hc-stats { padding: 0.5rem 1rem; gap: 1rem; }
  .hc-main { grid-template-columns: 1fr; padding: 1rem; }
  .hc-sidebar { position: static; border-right: none; border-bottom: 1px solid var(--rule); padding-right: 0; padding-bottom: 1.25rem; margin-bottom: 1.5rem; display: grid; grid-template-columns: repeat(3, 1fr); gap: 1rem; }
  .hc-sidebar-section { margin-bottom: 0; }
  .hc-content { padding-left: 0; }
  .hc-cat-grid { grid-template-columns: repeat(3, 1fr); }
  .listing-grid-wrap { padding: 1rem; }
  .listing-wrap { padding: 1rem; }
  .blog-wrap, .single-post-wrap, .search-wrap { padding: 1rem; }
  .hc-breadcrumb { padding: 0.5rem 1rem; }
}

@media (max-width: 480px) {
  .hc-cat-grid { grid-template-columns: repeat(2, 1fr); }
  .hc-sidebar { grid-template-columns: 1fr 1fr; }
  .single-post-title { font-size: 1.5rem; }
  .archive-title { font-size: 1.4rem; }
  .listing-title { font-size: 1.4rem; }
  .listing-sidebar { grid-template-columns: 1fr; }
}
