/* ============================================================
   Sydney Local — design tokens
   Ink navy + eucalyptus paper + tram gold + Yarra teal
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Fraunces:opsz,wght@9..144,400;9..144,500;9..144,600;9..144,700&family=Inter:wght@400;500;600;700&display=swap');

:root {
  --ink: #14202B;
  --ink-soft: #2A3A47;
  --paper: #EEF0EC;
  --paper-raised: #F7F8F5;
  --gold: #C99A3B;
  --gold-dark: #A97F2C;
  --teal: #2F5C56;
  --teal-tint: #E4ECE9;
  --line: #D8D5CB;
  --text: #1D2430;
  --text-muted: #5B6570;
  --white: #FFFFFF;

  --serif: 'Fraunces', Georgia, serif;
  --sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;

  --max-width: 1180px;
  --radius: 3px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--sans);
  background: var(--paper);
  color: var(--text);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: var(--teal); text-decoration: none; }
a:hover { text-decoration: underline; }

:focus-visible {
  outline: 2px solid var(--gold-dark);
  outline-offset: 2px;
}

h1, h2, h3 {
  font-family: var(--serif);
  color: var(--ink);
  margin: 0 0 0.4em;
  line-height: 1.15;
  font-weight: 600;
}

p { margin: 0 0 1em; max-width: 62ch; }

.wrap {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 24px;
}

/* ---------- Masthead ---------- */

.masthead {
  background: var(--ink);
  color: var(--paper);
  border-bottom: 3px solid var(--gold);
}

.masthead-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  max-width: var(--max-width);
  margin: 0 auto;
  gap: 20px;
  flex-wrap: wrap;
}

.brand {
  font-family: var(--serif);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.2px;
}

.brand span { color: var(--gold); }

.brand-tagline {
  font-size: 0.8rem;
  color: #A9B3BC;
  margin-top: 2px;
  font-family: var(--sans);
}

.masthead nav {
  display: flex;
  gap: 22px;
  font-size: 0.92rem;
}

.masthead nav a {
  color: #D7DCE0;
}
.masthead nav a:hover { color: var(--gold); text-decoration: none; }

/* ---------- Breadcrumb ---------- */

.breadcrumb {
  font-size: 0.85rem;
  color: var(--text-muted);
  padding: 14px 0;
}
.breadcrumb a { color: var(--teal); }
.breadcrumb .sep { margin: 0 8px; color: var(--line); }

/* ---------- Hero (homepage) ---------- */

.hero {
  border-bottom: 1px solid var(--line);
  padding: 64px 0 52px;
}

.hero h1 {
  font-size: clamp(2rem, 4.2vw, 3.1rem);
  max-width: 16ch;
}

.hero .lede {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 52ch;
}

/* Search / finder */

.finder {
  display: flex;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
  background: var(--paper-raised);
  border: 1px solid var(--line);
  padding: 14px;
  border-radius: var(--radius);
  max-width: 640px;
}

.finder select {
  flex: 1 1 200px;
  padding: 11px 12px;
  font-family: var(--sans);
  font-size: 0.95rem;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
}

.btn {
  display: inline-block;
  background: var(--gold);
  color: var(--ink);
  font-weight: 600;
  border: none;
  padding: 11px 22px;
  border-radius: var(--radius);
  cursor: pointer;
  font-size: 0.95rem;
  font-family: var(--sans);
}
.btn:hover { background: var(--gold-dark); text-decoration: none; }

.btn-outline {
  display: inline-block;
  background: transparent;
  color: var(--teal);
  border: 1px solid var(--teal);
  padding: 10px 20px;
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.9rem;
}
.btn-outline:hover { background: var(--teal-tint); text-decoration: none; }

/* ---------- Section headers ---------- */

.section {
  padding: 48px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 24px;
  gap: 16px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: 1.65rem;
}

.section-head .count {
  color: var(--text-muted);
  font-size: 0.9rem;
}

/* ---------- Directory list (categories / suburbs) ---------- */

.directory-list {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--line);
}

.directory-list a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  border-bottom: 1px solid var(--line);
  border-right: 1px solid var(--line);
  color: var(--text);
  font-size: 0.97rem;
}

.directory-list a:nth-child(3n) { border-right: none; }

.directory-list a:hover {
  background: var(--paper-raised);
  color: var(--teal);
  text-decoration: none;
}

.directory-list a .arrow {
  color: var(--line);
  font-size: 0.85rem;
}
.directory-list a:hover .arrow { color: var(--gold-dark); }

@media (max-width: 820px) {
  .directory-list { grid-template-columns: repeat(2, 1fr); }
  .directory-list a:nth-child(3n) { border-right: 1px solid var(--line); }
  .directory-list a:nth-child(2n) { border-right: none; }
}
@media (max-width: 540px) {
  .directory-list { grid-template-columns: 1fr; }
  .directory-list a { border-right: none !important; }
}

/* ---------- Region groups (suburbs by region) ---------- */

.region-block { margin-bottom: 30px; }

.region-block h3 {
  font-family: var(--sans);
  font-size: 0.78rem;
  text-transform: none;
  color: var(--teal);
  font-weight: 700;
  border-bottom: 2px solid var(--teal);
  display: inline-block;
  padding-bottom: 4px;
  margin-bottom: 14px;
}

.pill-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.pill-row a {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 7px 13px;
  font-size: 0.87rem;
  border-radius: 20px;
  color: var(--text);
}
.pill-row a:hover {
  border-color: var(--teal);
  color: var(--teal);
  text-decoration: none;
  background: var(--teal-tint);
}

/* ---------- Category / Suburb combo page ---------- */

.page-hero {
  padding: 36px 0 30px;
  border-bottom: 1px solid var(--line);
}

.page-hero h1 {
  font-size: clamp(1.7rem, 3.4vw, 2.5rem);
}

.page-hero .meta-line {
  color: var(--text-muted);
  font-size: 0.95rem;
}

.layout {
  display: grid;
  grid-template-columns: 2.1fr 1fr;
  gap: 40px;
  padding: 40px 0 60px;
  align-items: start;
}

@media (max-width: 860px) {
  .layout { grid-template-columns: 1fr; }
}

/* Empty state / listings */

.listing-empty {
  border: 1px dashed var(--line);
  background: var(--paper-raised);
  padding: 36px 28px;
  border-radius: var(--radius);
  text-align: left;
}

.listing-empty h3 {
  font-size: 1.15rem;
  margin-bottom: 8px;
}

.listing-empty p {
  color: var(--text-muted);
  margin-bottom: 18px;
}

.listing-row {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 18px 20px;
  margin-bottom: 12px;
  background: var(--white);
}

.listing-row h4 {
  font-family: var(--sans);
  font-size: 1.02rem;
  margin: 0 0 4px;
  color: var(--ink);
}

.listing-row .addr {
  color: var(--text-muted);
  font-size: 0.88rem;
}

/* Sidebar */

.sidebar-box {
  border: 1px solid var(--line);
  background: var(--paper-raised);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 22px;
}

.sidebar-box h3 {
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--ink);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid var(--line);
}

.sidebar-box ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.sidebar-box li {
  border-bottom: 1px solid var(--line);
}
.sidebar-box li:last-child { border-bottom: none; }

.sidebar-box a {
  display: block;
  padding: 9px 0;
  font-size: 0.9rem;
  color: var(--text);
}
.sidebar-box a:hover { color: var(--teal); text-decoration: none; }

/* ---------- Hub pages (all suburbs for a category / all categories for a suburb) ---------- */

.hub-hero {
  padding: 44px 0 36px;
  border-bottom: 1px solid var(--line);
}

.hub-hero h1 { font-size: clamp(1.9rem, 3.6vw, 2.7rem); }

/* ---------- Footer ---------- */

footer {
  background: var(--ink);
  color: #C7CDD2;
  padding: 48px 0 28px;
  margin-top: 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr repeat(3, 1fr);
  gap: 32px;
  margin-bottom: 32px;
}

@media (max-width: 780px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

footer h4 {
  color: var(--white);
  font-family: var(--sans);
  font-size: 0.85rem;
  font-weight: 700;
  margin: 0 0 14px;
}

footer ul { list-style: none; margin: 0; padding: 0; }
footer li { margin-bottom: 8px; }
footer a { color: #A9B3BC; font-size: 0.88rem; }
footer a:hover { color: var(--gold); text-decoration: none; }

.footer-brand p {
  color: #98A2AB;
  font-size: 0.88rem;
  max-width: 34ch;
}

.footer-bottom {
  border-top: 1px solid #2B3A45;
  padding-top: 20px;
  font-size: 0.82rem;
  color: #7C8790;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}

/* ---------- Dummy / sample listing cards ---------- */

.listing-section-label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
  flex-wrap: wrap;
  gap: 8px;
}

.listing-section-label h2 {
  font-size: 1.25rem;
  margin: 0;
}

.sample-tag {
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--teal);
  background: var(--teal-tint);
  border: 1px solid var(--teal);
  padding: 3px 9px;
  border-radius: 20px;
}

.listing-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 18px;
}

@media (max-width: 900px) {
  .listing-grid { grid-template-columns: 1fr; }
}

.listing-card {
  border: 1px solid var(--line);
  border-radius: 6px;
  overflow: hidden;
  background: var(--white);
  display: flex;
  flex-direction: column;
}

/* top "advertise here" banner — an actual image now, so it's a single
   file to swap out for a business's real logo once they sign up */
.lc-banner-wrap {
  position: relative;
  border-bottom: 3px solid var(--gold);
  line-height: 0;
}

.lc-banner-link { display: block; }

.lc-banner-img {
  display: block;
  width: 100%;
  height: auto;
}

.lc-banner-cta {
  position: absolute;
  right: 10px;
  bottom: 10px;
  font-family: var(--sans);
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--ink);
  background: var(--gold);
  padding: 6px 11px;
  border-radius: 3px;
  line-height: 1.2;
}
.lc-banner-cta:hover { background: var(--gold-dark); text-decoration: none; }

.lc-strip {
  background: var(--paper-raised);
  border-bottom: 1px solid var(--line);
  padding: 6px 14px;
  display: flex;
  justify-content: space-between;
  font-size: 0.68rem;
  color: var(--text-muted);
  font-family: var(--sans);
}

.lc-body {
  padding: 16px;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.lc-name {
  font-family: var(--sans);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--ink);
  margin: 0 0 4px;
}

.lc-verified {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--teal);
  margin-bottom: 8px;
}

.lc-verified .check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 15px;
  height: 15px;
  border-radius: 50%;
  background: var(--teal);
  color: #fff;
  font-size: 0.62rem;
  line-height: 1;
}

.lc-stars { color: var(--gold-dark); letter-spacing: 1px; }

.lc-address {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.lc-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 14px;
  max-width: none;
}

.lc-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
}

.lc-btn {
  flex: 1;
  text-align: center;
  padding: 9px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--sans);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.lc-btn-call {
  background: var(--teal);
  color: #fff;
}
.lc-btn-call:hover { background: #274d47; text-decoration: none; color: #fff; }

.lc-btn-outline {
  border: 1px solid var(--line);
  color: var(--text);
  background: var(--white);
}
.lc-btn-outline:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }

.lc-btn-website {
  background: var(--gold);
  color: var(--ink);
}
.lc-btn-website:hover { background: var(--gold-dark); text-decoration: none; color: var(--ink); }

.lc-social-row {
  display: flex;
  gap: 8px;
}

.lc-icon {
  width: 34px;
  height: 34px;
  border: 1px solid var(--line);
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  flex-shrink: 0;
}
.lc-icon:hover { border-color: var(--teal); color: var(--teal); text-decoration: none; }

.listing-disclaimer {
  font-size: 0.85rem;
  color: var(--text-muted);
  border-top: 1px dashed var(--line);
  padding-top: 14px;
  margin-bottom: 32px;
}



.text-center { text-align: center; }
.mt-0 { margin-top: 0; }

/* ---------- Listing tiers: Premium / Sponsored / Free ---------- */
.tier-block { margin-bottom: 30px; }

.tier-title {
  text-align: center;
  font-size: 1.55rem;
  letter-spacing: 0.02em;
  margin: 6px 0 22px;
  padding-bottom: 14px;
  position: relative;
}
.tier-title::after {
  content: '';
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 56px;
  height: 3px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
}

.lc-free .lc-body { padding: 18px; }
.lc-free .lc-address { margin-bottom: 14px; }

/* ---------- Article-style content on pages ---------- */
.layout main h2, .hub-article h2 {
  font-size: 1.28rem;
  margin: 30px 0 10px;
}
.layout main > p:first-child { margin-top: 0; }

.content-list {
  margin: 0 0 16px;
  padding-left: 20px;
}
.content-list li {
  margin-bottom: 7px;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.faq-item { margin-bottom: 16px; }
.faq-item h3 {
  font-family: var(--sans);
  font-size: 1rem;
  margin: 0 0 4px;
}
.faq-item p { margin: 0; color: var(--text-muted); font-size: 0.94rem; }

.hub-article { padding-bottom: 40px; }
.hub-article .group-title { font-size: 1.2rem; margin: 30px 0 4px; }
.hub-article .group-blurb { color: var(--text-muted); font-size: 0.92rem; margin: 0 0 12px; }
