/*
Theme Name: HelloHabesha
Theme URI: https://hellohabesha.co.uk
Author: HelloHabesha
Description: Custom WordPress theme for HelloHabesha - a digital studio and UK Habesha community hub. Includes the full business/community directory (churches, mosques, organisations, businesses) with front-end owner management and an admin approval workflow, plus portfolio, services, events, and guide content types. Rebuilt with the same brand identity as the previous site rather than a pixel-exact clone.
Version: 1.1.0
Requires at least: 6.0
Requires PHP: 7.4
Text Domain: hh-theme
*/

/* ── TOKENS (carried over from the previous site's brand palette) ─── */
:root {
  --blue:  #0C509A;
  --green: #09733C;
  --gold:  #FCB905;
  --red:   #D71B1E;

  --ink:     #18304E; /* headings, body copy */
  --mid:     #4B5E78; /* secondary text */
  --border:  #D7DEE7; /* hairlines, dividers */
  --surface: #EEF1F5; /* alternate section background */
  --bg:      #FFFFFF;

  --font:         'Inter', system-ui, sans-serif;
  --font-display: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-eth:     'Noto Sans Ethiopic', sans-serif;

  --max: 1200px;
  --header-h: 80px;
  --radius: 12px;
}

/* ── RESET ─────────────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { font-size: 16px; scroll-behavior: smooth; -webkit-font-smoothing: antialiased; }
body { font-family: var(--font); background: var(--bg); color: var(--ink); line-height: 1.6; overflow-x: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-display); font-weight: 800; color: var(--ink); line-height: 1.2; }
p { color: var(--mid); }
img { display: block; max-width: 100%; height: auto; }
a { color: inherit; text-decoration: none; }
button { cursor: pointer; background: none; border: none; font: inherit; color: inherit; }
ul, ol { list-style: none; }
:focus-visible { outline: 2px solid var(--blue); outline-offset: 2px; }
.skip-link { position: absolute; left: -9999px; top: 0; background: var(--ink); color: #fff; padding: 10px 16px; z-index: 999; }
.skip-link:focus { left: 10px; top: 10px; }

/* ── LAYOUT ────────────────────────────────────────────────────────── */
.site-wrap {
  max-width: 1200px;
  margin: 0 auto;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background: var(--bg);
  box-shadow: 0 0 32px rgba(24,48,78,0.05);
  position: relative;
}
.hh-container { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.hh-section { padding: 72px 0; }
.hh-section-alt { background: var(--surface); }
.hh-eyebrow { display: inline-block; font-size: 12px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); background: var(--ink); padding: 5px 14px; border-radius: 100px; margin-bottom: 16px; }
.hh-section-title { font-size: clamp(1.6rem, 3vw, 2.4rem); margin-bottom: 14px; }
.hh-section-desc { max-width: 640px; font-size: 16px; }

/* ── BUTTONS (min 44px touch target - mobile-first) ─────────────────── */
.hh-btn, .hh-btn-sm, .btn-cta {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: var(--ink); color: #fff; border-radius: 8px; font-weight: 700;
  padding: 14px 28px; min-height: 48px; transition: opacity .2s, transform .2s;
}
.hh-btn:hover, .btn-cta:hover { opacity: .85; }
.hh-btn-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.hh-btn-outline:hover { border-color: var(--ink); }
.hh-btn-sm { padding: 10px 16px; min-height: 40px; font-size: 13.5px; border-radius: 6px; }
.hh-btn-sm-outline { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }

@media (max-width: 640px) {
  .hh-hero-actions .hh-btn,
  .hh-hero-actions .btn-cta { width: 100%; }
}

/* ── HEADER ────────────────────────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  width: 100%;
  max-width: 100%;
  height: var(--header-h);
  z-index: 100;
  background: var(--bg);
  transition: background 0.3s, box-shadow 0.3s;
}
.site-header.solid {
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 1px 12px rgba(0,0,0,.06);
}

.header-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: relative;
}

.hh-logo-link { display: flex; align-items: center; z-index: 1; }
.hh-logo-link img { height: 60px; width: auto; display: block; }
.hh-logo-text { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--ink); }

/* Desktop nav — centred absolutely (matches Astro) */
.desktop-nav {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  display: flex;
  gap: 40px;
  align-items: center;
}

.nav-link {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mid);
  transition: color .15s, border-color .15s;
  position: relative;
  padding-top: 6px;
  padding-bottom: 6px;
  border-bottom: 1.5px solid transparent;
  white-space: nowrap;
}
.nav-link:hover,
.nav-link.is-active,
.nav-link[aria-current="page"] {
  color: var(--blue);
  border-bottom-color: var(--blue);
}

/* Resources dropdown */
.nav-dropdown { position: relative; }
.nav-dropdown-btn {
  display: flex; align-items: center; gap: 5px;
  background: none; border: none;
  border-bottom: 1.5px solid transparent;
  padding-top: 6px; padding-bottom: 6px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  color: var(--mid);
  transition: color .15s, border-color .15s;
}
.nav-dropdown-btn:hover,
.nav-dropdown-btn.open { color: var(--blue); border-bottom-color: var(--blue); }
.nav-chevron { transition: transform .2s; flex-shrink: 0; }
.nav-dropdown-btn.open .nav-chevron { transform: rotate(180deg); }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 16px);
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  background: var(--bg);
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 8px;
  min-width: 240px;
  z-index: 200;
  box-shadow: 0 16px 48px rgba(24,48,78,.14);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity .2s, transform .2s, visibility .2s;
}
.nav-dropdown-menu.open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}
.nav-dropdown-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  transition: background .15s;
  color: var(--ink);
}
.nav-dropdown-item:hover { background: var(--surface); }
.nav-dd-icon {
  width: 36px; height: 36px;
  background: var(--surface);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  color: var(--blue);
}
.nav-dropdown-item strong { display: block; font-size: 13px; font-weight: 700; color: var(--ink); }
.nav-dropdown-item small { display: block; font-size: 11px; color: var(--mid); margin-top: 1px; font-weight: 400; }

/* Right actions */
.header-actions { display: flex; align-items: center; gap: 12px; z-index: 1; margin-left: 20px; }

/* ── Inline expanding search widget ─────────────────────────────────── */
.nav-search-widget {
  position: relative;
  display: flex;
  align-items: center;
}

/* The visible toggle button (magnifier icon only) */
.nav-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 8px;
  color: var(--ink);
  border: 1px solid var(--border);
  background: transparent;
  cursor: pointer;
  transition: background .2s, border-color .2s;
  white-space: nowrap;
}
.nav-search-toggle:hover { background: var(--surface); border-color: var(--ink); }

/* The expanding form (hidden by default, shown via .is-open) */
.nav-search-form {
  display: flex;
  align-items: center;
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  overflow: hidden;
  opacity: 0;
  pointer-events: none;
  transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease;
  background: #fff;
  border: 1.5px solid var(--blue);
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(12,80,154,0.12);
}
.nav-search-widget.is-open .nav-search-form {
  width: 280px;
  opacity: 1;
  pointer-events: auto;
}
.nav-search-widget.is-open .nav-search-toggle {
  opacity: 0;
  pointer-events: none;
}
.nav-search-input {
  flex: 1;
  border: none;
  outline: none;
  background: transparent;
  padding: 0 14px;
  height: 40px;
  font-size: 14px;
  font-family: var(--font);
  color: var(--ink);
  min-width: 0;
}
.nav-search-input::placeholder { color: var(--mid); }
/* Remove native browser search clear button */
.nav-search-input::-webkit-search-cancel-button { display: none; }
.nav-search-submit {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  background: var(--blue);
  border: none;
  border-radius: 0 8px 8px 0;
  color: #fff;
  cursor: pointer;
  transition: background .15s;
}
.nav-search-submit:hover { background: var(--ink); }


.btn-cta {
  background: transparent;
  border: 1px solid var(--ink);
  border-radius: 8px;
  padding: 10px 22px;
  font-size: 12px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--ink);
  font-weight: 500;
  transition: all .2s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
}
.btn-cta:hover { background: var(--ink); color: #ffffff; }

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 32px;
  padding: 2px;
  z-index: 310;
  position: relative;
  cursor: pointer;
  background: none;
  border: none;
}
.bar {
  display: block;
  height: 1.5px;
  background: var(--ink);
  border-radius: 2px;
  transition: transform .28s cubic-bezier(.4,0,.2,1), opacity .28s, background .2s;
}
.hamburger.open .bar:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
.hamburger.open .bar:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open .bar:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

/* Mobile backdrop */
.mobile-overlay {
  display: none;
  position: fixed; inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 200;
  opacity: 0;
  transition: opacity .35s cubic-bezier(.4,0,.2,1);
  backdrop-filter: blur(2px);
}
.mobile-overlay.open { display: block; opacity: 1; }

/* Mobile drawer — slides from left */
.mobile-menu {
  display: none;
  flex-direction: column;
  position: fixed;
  top: 0; left: 0;
  width: 300px;
  max-width: 85vw;
  height: 100dvh;
  background: #ffffff;
  z-index: 250;
  box-shadow: 12px 0 48px rgba(0,0,0,.18);
  overflow-y: auto;
}
.mobile-menu.open {
  display: flex !important;
}

.mobile-menu-header {
  display: flex;
  align-items: center;
  padding: 0 28px;
  height: var(--header-h);
  border-bottom: 1px solid var(--border);
  flex-shrink: 0;
}
.mobile-menu-header img { height: 50px; width: auto; }

.mobile-nav-links {
  display: flex; flex-direction: column;
  padding: 16px 0; flex: 1;
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px 28px;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: .02em;
  color: var(--mid);
  border-bottom: 1px solid var(--border);
  transition: color .15s, background .15s;
}
.mobile-nav-link:hover { color: var(--ink); background: var(--surface); }
.mnav-ico { flex-shrink: 0; color: var(--mid); }

.mobile-nav-section-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: .14em;
  text-transform: uppercase;
  color: var(--mid);
  padding: 22px 28px 8px;
  background: var(--surface);
  border-bottom: 1px solid var(--border);
}

.mobile-drawer-info {
  padding: 24px 28px 20px;
  border-top: 1px solid var(--border);
}
.mobile-drawer-contact-label {
  font-size: 9px; font-weight: 700;
  letter-spacing: .18em; text-transform: uppercase;
  color: var(--mid); margin-bottom: 10px;
}
.mobile-drawer-contact-link {
  display: block; font-size: 12.5px;
  color: var(--mid); margin-bottom: 2px;
  padding: 12px 0;
  transition: color .15s;
}
.mobile-drawer-contact-link:hover { color: var(--ink); }
.mobile-drawer-social { display: flex; gap: 10px; margin-top: 18px; }
.mobile-social-link {
  display: inline-flex; align-items: center; justify-content: center;
  width: 34px; height: 34px;
  border: 1px solid var(--border);
  color: var(--mid);
  border-radius: 4px;
  transition: background .15s, color .15s, border-color .15s;
}
.mobile-social-link:hover { background: var(--ink); color: #fff; border-color: var(--ink); }

.mobile-drawer-cta {
  padding: 20px 28px;
  padding-bottom: max(20px, env(safe-area-inset-bottom, 20px));
  border-top: 1px solid var(--border);
  flex-shrink: 0;
}

@media (max-width: 1140px) {
  .desktop-nav, .header-actions { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { display: flex; }
}

/* ── FOOTER ────────────────────────────────────────────────────────── */
.site-footer {
  position: relative;
  background: var(--navy-900);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 64px 0 118px; /* bottom space so content clears the tibeb band */
  width: 100%;
}
/* Tibeb decorative border */
.footer-tibeb {
  position: absolute;
  bottom: 0; left: 0;
  width: 100%; height: 96px;
  background-image: url('assets/images/tibeb-pattern.png');
  background-repeat: repeat-x;
  background-size: auto 96px;
  background-position: center;
  opacity: 0.22; /* subtle branding texture, not competing with links */
  filter: brightness(0) invert(1);
  pointer-events: none;
}
.footer-inner {
  max-width: var(--max);
  margin: 0 auto;
  padding: 0 40px;
}
.site-footer a { color: rgba(255, 255, 255, 0.85); text-decoration: none; }
.site-footer a:hover { color: var(--gold); }

/* Row 1: brand + newsletter */
.footer-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px 80px;
  padding-bottom: 44px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  flex-wrap: wrap;
}
.footer-brand { max-width: 340px; flex: 1 1 280px; }
.footer-brand-logo { height: 46px; width: auto; filter: brightness(0) invert(1); }
.footer-tagline {
  font-size: 14px;
  color: var(--navy-200);
  line-height: 1.6;
  margin: 16px 0 20px;
}
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.18);
  color: var(--navy-200);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}
.footer-social a:hover { background: var(--gold); color: var(--navy-900); border-color: var(--gold); }

/* Newsletter capture */
.footer-newsletter-block { flex: 1 1 80px; max-width: 440px; }
.footer-nl-title {
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px;
}
.footer-nl-sub { font-size: 13.5px; color: var(--navy-200); line-height: 1.6; margin: 0 0 16px; }
.footer-nl-row { display: flex; gap: 8px; flex-wrap: wrap; }
.footer-nl-row input {
  flex: 1 1 200px;
  min-width: 0;
  padding: 12px 14px;
  font: inherit;
  font-size: 14px;
  color: #fff;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
}
.footer-nl-row input::placeholder { color: rgba(255, 255, 255, 0.4); }
.footer-nl-row input:focus { outline: none; border-color: var(--gold); background: rgba(255, 255, 255, 0.1); }
.footer-nl-btn {
  padding: 12px 22px;
  min-width: 110px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 14px;
  color: var(--navy-900);
  background: var(--gold);
  border: none;
  border-radius: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.15s, transform 0.15s;
}
.footer-nl-btn:hover { background: #fff; transform: translateY(-1px); }
.footer-nl-btn:disabled { opacity: 0.6; cursor: default; transform: none; }
.footer-nl-status { font-size: 12.5px; margin: 10px 0 0; min-height: 1.1em; color: var(--navy-200); }

/* Row 2: sitemap columns */
.footer-links-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding: 44px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
.footer-col { display: flex; flex-direction: column; }
.footer-col-head {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin: 0 0 16px;
}
.footer-col a {
  display: block;
  font-size: 13px;
  color: var(--navy-200);
  margin-bottom: 10px;
  transition: color 0.15s;
}
.footer-col a:hover { color: var(--gold); }
.footer-col-plain { font-size: 13px; color: rgba(255, 255, 255, 0.65); margin-bottom: 10px; }

/* Row 3: bottom bar */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 24px;
  flex-wrap: wrap;
  gap: 12px 24px;
}
.footer-copy { font-size: 12px; color: var(--navy-200); margin: 0; }
.footer-legal-links { display: flex; gap: 20px; flex-wrap: wrap; }
.footer-legal-links a { font-size: 12px; color: var(--navy-200); transition: color 0.15s; }
.footer-legal-links a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .site-footer { padding: 32px 0 0; }
  .footer-tibeb { height: 48px; background-size: auto 48px; opacity: 0.2; }

  /* ── Accordion layout ──────────────────────────────────── */
  .footer-links-group {
    display: flex;
    flex-direction: column;
    gap: 0;
    padding: 0;
    border: none;
  }
  .footer-col {
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding: 0;
  }
  /* Collapsible column headers */
  .footer-col-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 0;
    margin: 0;
    cursor: pointer;
    user-select: none;
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    letter-spacing: 0.12em;
    transition: color 0.15s;
  }
  .footer-col-head::after {
    content: '';
    width: 8px;
    height: 8px;
    border-right: 1.5px solid rgba(255,255,255,0.4);
    border-bottom: 1.5px solid rgba(255,255,255,0.4);
    transform: rotate(45deg);
    transition: transform 0.2s;
    flex-shrink: 0;
    margin-top: -4px;
  }
  .footer-col.is-open .footer-col-head::after {
    transform: rotate(-135deg);
    margin-top: 4px;
  }
  /* Links hidden by default; shown when expanded */
  .footer-col a,
  .footer-col-plain {
    display: none;
    padding-bottom: 2px;
  }
  .footer-col.is-open a,
  .footer-col.is-open .footer-col-plain {
    display: block;
    animation: fadeSlideDown 0.2s ease forwards;
  }
  .footer-col.is-open { padding-bottom: 16px; }
  /* Focus ring for keyboard navigation */
  .footer-col-head:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 2px;
    border-radius: 2px;
  }

  /* ── Brand + newsletter stacking ───────────────────────── */
  .footer-top { flex-direction: column; gap: 32px; padding-bottom: 32px; }
  .footer-brand, .footer-newsletter-block {
    flex: 0 0 auto !important;
    max-width: 100% !important;
    height: auto !important;
  }
  .footer-social { margin-top: 8px; }
  .footer-bottom { flex-direction: column; align-items: flex-start; gap: 18px; padding-top: 24px; }
}
@media (max-width: 768px) {
  .footer-inner { padding: 0 24px; }
}

/* ── HERO ──────────────────────────────────────────────────────────── */
.hh-hero { padding: 80px 0 60px; }
.hh-hero-amharic { font-family: var(--font-eth); font-size: 1.1rem; color: var(--mid); margin-bottom: 12px; }
.hh-hero-title { font-size: clamp(2.2rem, 5vw, 3.6rem); margin-bottom: 20px; }
.hh-hero-desc { font-size: 18px; max-width: 620px; margin-bottom: 32px; }
.hh-hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

/* ── GRIDS & CARDS ─────────────────────────────────────────────────── */
.hh-grid { display: grid; gap: 24px; }
.hh-grid-3 { grid-template-columns: repeat(3, 1fr); }
.hh-grid-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 900px) { .hh-grid-3, .hh-grid-2 { grid-template-columns: 1fr; } }

.hh-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius); padding: 22px; transition: box-shadow .2s, transform .2s; }
.hh-card:hover { box-shadow: 0 10px 28px rgba(24,48,78,.08); transform: translateY(-2px); }
.hh-card-top { display: flex; gap: 14px; margin-bottom: 12px; }
.hh-card-logo img { width: 52px; height: 52px; border-radius: 10px; object-fit: cover; }
.hh-card-title { font-size: 16px; margin: 4px 0; }
.hh-card-location { font-size: 12.5px; color: var(--mid); }
.hh-card-desc { font-size: 13.5px; margin-bottom: 14px; }
.hh-card-actions { display: flex; gap: 8px; flex-wrap: wrap; }
.hh-badge { display: inline-block; font-size: 10px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; background: var(--surface); border: 1px solid var(--border); border-radius: 100px; padding: 3px 10px; color: var(--mid); }

/* Stats */
.hh-stats { display: flex; gap: 40px; flex-wrap: wrap; }
.hh-stat-value { font-family: var(--font-display); font-size: 2.2rem; font-weight: 800; color: var(--blue); }
.hh-stat-label { font-size: 13px; color: var(--mid); }

/* Testimonials */
.hh-testimonial { background: var(--surface); border-radius: var(--radius); padding: 28px; }
.hh-testimonial-stars { color: var(--gold); margin-bottom: 12px; }
.hh-testimonial-author { font-weight: 700; margin-top: 14px; }
.hh-testimonial-role { font-size: 12.5px; color: var(--mid); }

/* FAQs */
.hh-faqs { margin-top: 48px; }
.hh-faqs-title { margin-bottom: 20px; }
.hh-faq-item { border-bottom: 1px solid var(--border); padding: 18px 0; }
.hh-faq-item summary {
	display: flex;
	align-items: flex-start;
	gap: 14px;
	cursor: pointer;
	font-weight: 700;
	line-height: 1.5;
	list-style: none;
	padding-right: 8px;
}
.hh-faq-item summary::-webkit-details-marker { display: none; }
.hh-faq-item summary::before {
	content: '+';
	flex: 0 0 18px;
	color: var(--gold);
	font-weight: 800;
	line-height: 1.5;
}
.hh-faq-item[open] summary::before { content: '−'; }
.hh-faq-answer {
	padding-top: 10px;
	padding-left: 32px;
	padding-right: 8px;
	font-size: 14.5px;
	line-height: 1.65;
	color: var(--mid);
}
.hh-faq-answer p { margin: 0 0 10px; }
.hh-faq-answer p:last-child { margin-bottom: 0; }

/* Breadcrumbs */
.hh-breadcrumbs { display: block; }
.hh-breadcrumbs ol {
	display: flex;
	align-items: center;
	gap: 6px;
	flex-wrap: wrap;
	row-gap: 4px;
	font-size: 12.5px;
	line-height: 1.5;
	color: var(--mid);
	margin-bottom: 24px;
	padding: 0;
	list-style: none;
}
.hh-breadcrumbs li { display: flex; align-items: center; }
.hh-breadcrumbs li:not(:last-child)::after {
	content: '/';
	margin-left: 6px;
	color: var(--border);
}
.hh-breadcrumbs a {
	color: var(--mid);
	text-decoration: none;
	border-radius: 4px;
	transition: color 0.15s ease;
}
.hh-breadcrumbs a:hover,
.hh-breadcrumbs a:focus-visible {
	color: var(--gold);
	text-decoration: underline;
}
.hh-breadcrumbs [aria-current="page"] {
	color: var(--ink);
	font-weight: 600;
	max-width: 60vw;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

@media (max-width: 640px) {
	.hh-breadcrumbs ol { font-size: 11.5px; gap: 5px; margin-bottom: 16px; }
	.hh-breadcrumbs li:not(:last-child)::after { margin-left: 5px; }
	.hh-breadcrumbs [aria-current="page"] { max-width: 45vw; }
}

/* ── DIRECTORY / FRONT-END FORMS (from the business-owner workflow) ── */
.hh-form-wrap { max-width: 720px; margin: 0 auto; }
.hh-form p { margin-bottom: 24px; position: relative; }
.hh-form label { display: block; font-weight: 700; font-size: 13.5px; color: var(--ink); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.hh-form input[type="text"], .hh-form input[type="email"], .hh-form input[type="url"],
.hh-form input[type="tel"], .hh-form input[type="number"], .hh-form input[type="password"],
.hh-form input[type="search"], .hh-form select, .hh-form textarea {
  width: 100%; min-height: 52px; padding: 14px 16px; border: 1.5px solid #e2e8f0; border-radius: 10px;
  background: #f8fafc; font-size: 16px; font-family: var(--font); box-sizing: border-box;
  color: var(--ink); transition: all 0.2s ease;
}
.hh-form input:focus, .hh-form select:focus, .hh-form textarea:focus {
  background: #fff; border-color: var(--gold); outline: none;
  box-shadow: 0 0 0 4px rgba(212,175,55, 0.15);
}
.hh-form textarea { min-height: 120px; resize: vertical; }
.hh-form .hh-help { display: block; font-size: 13px; color: var(--ink-soft); margin-top: 6px; line-height: 1.4; }

/* New Form Cards */
.hh-form-card {
  background: #fff; border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; margin-bottom: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.03);
}
.hh-form-card-title { font-size: 20px; font-weight: 800; color: var(--ink); margin: 0 0 24px; padding-bottom: 16px; border-bottom: 1px solid var(--border); }

/* Custom File Uploads */
.hh-file-upload-group { display: flex; gap: 24px; flex-wrap: wrap; }
.hh-file-upload-group > p { flex: 1; min-width: 240px; margin-bottom: 0; }
.hh-form input[type="file"].hh-file-input {
  position: absolute; width: 100%; height: 100%; top: 0; left: 0; opacity: 0; cursor: pointer; z-index: 2;
}
.hh-file-proxy {
  display: flex; align-items: center; justify-content: center;
  width: 100%; height: 120px; border: 2px dashed #cbd5e1; border-radius: 12px;
  background: #f8fafc; color: var(--ink-soft); font-weight: 600; font-size: 14px; text-transform: none; letter-spacing: normal;
  transition: all 0.2s ease; position: relative; overflow: hidden;
}
.hh-form input[type="file"].hh-file-input:hover + .hh-file-proxy {
  border-color: var(--gold); color: var(--gold); background: #fffaf0;
}
.hh-file-preview { display: block; margin-top: 12px; border-radius: 8px; overflow: hidden; border: 1px solid var(--border); width: max-content; }
.hh-file-preview img { display: block; max-width: 100%; height: auto; }

/* Sticky Formbar */
.hh-app-formbar {
  position: sticky; bottom: 0; background: rgba(255,255,255,0.9);
  backdrop-filter: blur(12px); padding: 20px 0; margin-top: 40px;
  border-top: 1px solid var(--border); z-index: 10;
}
.hh-app-formbar .hh-btn { width: 100%; min-height: 56px; font-size: 16px; letter-spacing: 0.02em; border-radius: 12px; box-shadow: 0 8px 16px rgba(212,175,55, 0.2); transition: all 0.2s ease; }
.hh-app-formbar .hh-btn:hover { transform: translateY(-2px); box-shadow: 0 12px 20px rgba(212,175,55, 0.3); }
.hh-hp { position: absolute; left: -9999px; }
.hh-notice { padding: 12px 16px; border-radius: 8px; margin-bottom: 20px; }
.hh-notice-error { background: #fdecea; color: #942222; border: 1px solid #f3c0bb; }
.hh-notice-success { background: #e6f6ec; color: #1e6b3c; border: 1px solid #b7e4c7; }

/* Dashboard - mobile-first: a stacked list of rows rather than a table
   that would otherwise need horizontal scrolling on small screens. */
.hh-dashboard-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 12px; }
.hh-dashboard-head .hh-btn { width: auto; }
.hh-dashboard-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 40px; }
.hh-dashboard-row {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 16px; border: 1px solid var(--border); border-radius: 10px; background: #fff;
}
.hh-dashboard-row-main { display: flex; flex-direction: column; gap: 6px; min-width: 0; }
.hh-dashboard-row-name { font-weight: 700; font-size: 15px; }
@media (max-width: 480px) {
  .hh-dashboard-row { flex-wrap: wrap; }
  .hh-dashboard-row .hh-btn-sm { width: 100%; }
}

.hh-table { width: 100%; border-collapse: collapse; }
.hh-table th, .hh-table td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--border); }
.hh-badge-live { background: #d1fae5; color: #065f46; }
.hh-badge-pending { background: #fef3c7; color: #92400e; }
.hh-badge-draft { background: #e5e7eb; color: #374151; }
.hh-badge-rejected { background: #fee2e2; color: #991b1b; }
.hh-field[data-category] { display: none; }

/* Claiming */
.hh-claim-box {
  background: var(--bg); border: 1px solid var(--border); border-radius: 16px;
  padding: 32px; box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
.hh-claim-box h2 { font-size: 22px; font-weight: 800; color: var(--ink); margin: 0 0 12px; }
.hh-help { font-size: 13px; color: var(--ink-soft); line-height: 1.4; }
.hh-claim-box > p { margin: 0 0 16px; color: var(--ink-soft); line-height: 1.6; }
.hh-claim-box > p:last-child { margin-bottom: 0; }
/* The "How are you connected?" question sits inside a <label> so the
   textarea is properly associated for accessibility, but it reads as a
   full sentence, not a form field name - so it shouldn't be forced
   uppercase/bold like a normal field label. */
.hh-claim-box .hh-form label { text-transform: none; font-weight: 600; letter-spacing: normal; font-size: 14.5px; color: var(--ink); }
.hh-claim-box .hh-form textarea { margin-top: 10px; }
.hh-claim-actions { display: flex; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 4px; }
.hh-claim-actions .hh-btn { flex-shrink: 0; }
.hh-claim-actions a:not(.hh-btn) { font-size: 14px; font-weight: 600; color: var(--blue); text-decoration: none; }
.hh-claim-actions a:not(.hh-btn):hover { text-decoration: underline; }

.hh-claim-search { margin-top: 32px; padding: 20px; background: var(--surface); border-radius: var(--radius); }
.hh-claim-search h3 { font-size: 15px; margin-bottom: 6px; color: var(--ink); }
.hh-claim-search form { display: flex; gap: 8px; margin-top: 12px; flex-wrap: wrap; }
.hh-claim-search input[type="search"] { flex: 1; min-width: 200px; min-height: 44px; padding: 10px 14px; border: 1px solid var(--border); border-radius: 8px; font-size: 16px; }
.hh-claim-results .hh-table-row { flex-wrap: wrap; gap: 10px; }

/* WhatsApp float */
.hh-whatsapp { position: fixed; bottom: 24px; right: 24px; z-index: 90; width: 56px; height: 56px; border-radius: 50%; background: #25d366; display: flex; align-items: center; justify-content: center; box-shadow: 0 8px 24px rgba(0,0,0,.2); }
.hh-whatsapp svg { width: 28px; height: 28px; fill: #fff; }

@media (max-width: 640px) {
  .hh-section { padding: 48px 0; }
  .hh-hero { padding: 48px 0 40px; }
  .hh-container { padding: 0 18px; }
  .hh-card-actions .hh-btn-sm { flex: 1 1 auto; }
  .hh-whatsapp { bottom: 16px; right: 16px; width: 52px; height: 52px; }
}

/* ── APP SHELL (owner dashboard + auth + listing forms) ──────────────
   Gives the business-owner area a native-app feel: a contained
   max-width shell, avatar/stat header, filter tabs, card list with
   icon buttons, a floating action button on mobile, and a sticky
   bottom bar for form submit buttons. Pairs with HH_Roles hiding the
   wp-admin bar for this role so nothing "WordPress-y" leaks through. */
.hh-app, .hh-app-auth { max-width: 640px; margin: 0 auto; padding: 24px 20px 96px; }

.hh-app-header { display: flex; align-items: center; gap: 14px; margin-bottom: 22px; }
.hh-app-avatar {
  flex: none; width: 52px; height: 52px; border-radius: 50%;
  background: var(--ink); color: #fff; display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-weight: 800; font-size: 16px; letter-spacing: .02em;
}
.hh-app-eyebrow { font-size: 12px; font-weight: 700; text-transform: uppercase; letter-spacing: .06em; color: var(--mid); margin-bottom: 2px; }
.hh-app-title { font-size: 20px; margin: 0; }

.hh-app-stats {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 10px;
  background: var(--surface); border-radius: var(--radius); padding: 16px 8px; margin-bottom: 18px;
}
.hh-app-stat { display: flex; flex-direction: column; align-items: center; gap: 2px; }
.hh-app-stat-value { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--blue); }
.hh-app-stat-label { font-size: 11.5px; color: var(--mid); text-transform: uppercase; letter-spacing: .04em; }

.hh-app-actionbar { margin-bottom: 18px; }
.hh-app-actionbar .hh-btn { width: 100%; }
@media (min-width: 560px) {
  .hh-app-actionbar .hh-btn { width: auto; }
}

.hh-app-tabs { display: flex; gap: 6px; overflow-x: auto; padding-bottom: 4px; margin-bottom: 16px; -webkit-overflow-scrolling: touch; }
.hh-app-tab {
  flex: none; padding: 9px 16px; min-height: 40px; border-radius: 100px; font-size: 13.5px; font-weight: 700;
  color: var(--mid); background: var(--surface); border: 1px solid transparent; transition: background .15s, color .15s;
}
.hh-app-tab.is-active { background: var(--ink); color: #fff; }

.hh-app-list { display: flex; flex-direction: column; gap: 10px; margin-bottom: 8px; }
.hh-app-card {
  display: flex; align-items: center; gap: 12px; padding: 14px; background: #fff;
  border: 1px solid var(--border); border-radius: 14px; transition: box-shadow .15s;
}
.hh-app-card:hover { box-shadow: 0 6px 18px rgba(24,48,78,.08); }
.hh-app-card-icon {
  flex: none; width: 42px; height: 42px; border-radius: 10px; background: var(--surface); color: var(--blue);
  display: flex; align-items: center; justify-content: center;
}
.hh-app-card-body { flex: 1; min-width: 0; display: flex; flex-direction: column; gap: 4px; }
.hh-app-card-name { font-weight: 700; font-size: 14.5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-app-card-meta { font-size: 12px; color: var(--mid); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.hh-app-card-actions { flex: none; display: flex; gap: 6px; }
.hh-icon-btn {
  width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center;
  color: var(--ink); background: var(--surface); transition: background .15s;
}
.hh-icon-btn:hover { background: var(--border); }

.hh-app-empty { text-align: center; padding: 48px 16px; background: var(--surface); border-radius: var(--radius); margin-bottom: 8px; }
.hh-app-empty-icon { color: var(--mid); display: flex; justify-content: center; margin-bottom: 14px; }
.hh-app-empty h3 { font-size: 16px; margin-bottom: 8px; }
.hh-app-empty .hh-help { max-width: 340px; margin: 0 auto 18px; }

/* Floating action button - the primary "add" action always within
   thumb's reach on mobile, hidden on wider screens where the header
   button is already convenient. */
.hh-fab {
  position: fixed; right: 20px; bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  width: 56px; height: 56px; border-radius: 50%; background: var(--ink); color: #fff;
  display: flex; align-items: center; justify-content: center; box-shadow: 0 10px 24px rgba(24,48,78,.28); z-index: 90;
}
@media (min-width: 560px) { .hh-fab { display: none; } }

/* Auth screens (register/login) - a single centered app-style card. */
.hh-app-auth-shell {
  padding: 32px 24px 56px;
  box-sizing: border-box;
}
.hh-app-auth {
  width: min(100%, 560px);
  max-width: 560px;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}
.hh-app-auth-card {
  background: #ffffff;
  border: 1px solid var(--border);
  border-radius: 18px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.04);
}
.hh-app-auth-card .hh-app-eyebrow {
  font-size: 11px;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--gold);
  margin-bottom: 6px;
  display: block;
}
.hh-app-auth-card .hh-app-title {
  font-family: var(--font-display);
  font-size: 24px;
  font-weight: 800;
  color: var(--ink);
  margin: 0 0 8px 0;
  line-height: 1.2;
}
.hh-app-auth-card .hh-help {
  font-size: 14px;
  color: var(--mid);
  margin-bottom: 24px;
  line-height: 1.5;
}
.hh-app-auth-card form.hh-form p {
  margin-bottom: 20px;
}
.hh-app-auth-card .hh-form p {
  margin-bottom: 20px;
}
.hh-app-auth-card form.hh-form label,
.hh-app-auth-card .hh-form label {
  font-size: 13.5px;
  font-weight: 700;
  color: var(--ink);
  display: block;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.hh-app-auth-card form.hh-form input[type="text"],
.hh-app-auth-card form.hh-form input[type="email"],
.hh-app-auth-card form.hh-form input[type="password"],
.hh-app-auth-card .hh-form input[type="text"],
.hh-app-auth-card .hh-form input[type="email"],
.hh-app-auth-card .hh-form input[type="password"] {
  width: 100%;
  padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  font-size: 15px;
  color: var(--ink);
  background: var(--surface);
  transition: border-color 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
.hh-app-auth-card form.hh-form input:focus,
.hh-app-auth-card .hh-form input:focus {
  border-color: var(--blue);
  box-shadow: 0 0 0 3px rgba(12, 80, 154, 0.1);
  outline: none;
}
/* Remember me row */
.hh-app-auth-card .hh-form .forgetmenot {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
}
.hh-app-auth-card .hh-form .forgetmenot label {
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  margin: 0;
}
/* Lost password link */
.hh-app-auth-card .hh-form #nav a,
.hh-app-auth-card .hh-form #backtoblog a {
  font-size: 13px;
  color: var(--blue);
  text-decoration: none;
}
.hh-app-auth-card .hh-form #nav a:hover,
.hh-app-auth-card .hh-form #backtoblog a:hover {
  text-decoration: underline;
}
.hh-app-auth-card .hh-form #nav,
.hh-app-auth-card .hh-form #backtoblog {
  margin-top: 12px;
  font-size: 13px;
}
.hh-app-auth-card form.hh-form .hh-btn,
.hh-app-auth-card .hh-form .hh-btn,
.hh-app-auth-card .hh-form input[type="submit"],
.hh-app-auth-card .hh-form button[type="submit"],
.hh-app-auth-card #wp-submit,
.hh-app-auth-card .button-primary {
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  padding: 14px;
  border-radius: 10px;
  width: 100%;
  border: none;
  cursor: pointer;
  transition: opacity 0.2s;
  display: block;
  text-align: center;
  font-family: var(--font);
  line-height: 1.5;
  min-height: 48px;
  box-sizing: border-box;
}
.hh-app-auth-card form.hh-form .hh-btn:hover,
.hh-app-auth-card .hh-form .hh-btn:hover,
.hh-app-auth-card .hh-form input[type="submit"]:hover,
.hh-app-auth-card .hh-form button[type="submit"]:hover,
.hh-app-auth-card #wp-submit:hover,
.hh-app-auth-card .button-primary:hover {
  opacity: 0.9;
}
.hh-app-auth-switch {
  margin-top: 24px;
  font-size: 14px;
  color: var(--mid);
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 20px;
}

/* "Signed out" gate on /my-listings/ - shows the login and register cards
   side by side (stacked on mobile) with one shared heading and a single
   "or" divider between them, instead of two duplicate standalone pages
   glued together. The heading itself uses the standard .page-hero /
   .section-eyebrow / .page-hero-title / .page-hero-desc classes shared by
   every other page, so this gate matches the rest of the site instead of
   using its own bespoke hero styling. */
.hh-app-auth-split { display: flex; align-items: center; justify-content: center; gap: 28px; max-width: 1040px; margin: 0 auto; flex-wrap: wrap; }
.hh-app-auth-split-col { flex: 1; min-width: 300px; max-width: 460px; }
.hh-app-auth-split-col .hh-app-auth-shell { padding: 0; }
.hh-app-auth-split-col .hh-app-auth { width: 100%; max-width: 100%; margin: 0; }
.hh-app-auth-divider { display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.hh-app-auth-divider span {
  font-size: 12px; font-weight: 800; color: var(--mid); text-transform: uppercase; letter-spacing: 0.05em;
  background: var(--surface); width: 36px; height: 36px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; border: 1px solid var(--border);
}
@media (max-width: 720px) {
  .hh-app-auth-split { gap: 8px; }
  .hh-app-auth-divider { width: 100%; margin: -4px 0; }
}
.hh-app-auth-switch a {
  color: var(--blue);
  font-weight: 700;
  text-decoration: none;
}
.hh-app-auth-switch a:hover {
  text-decoration: underline;
}

/* Submit / edit listing screens - a top bar with a back arrow instead
   of relying on the browser back button (feels native), and a sticky
   bottom bar for the primary submit action so it's always reachable. */
.hh-app-topbar { display: flex; align-items: center; gap: 12px; max-width: 640px; margin: 0 auto; padding: 20px 20px 0; }
.hh-app-topbar h2 { font-size: 19px; margin: 0; }
.hh-app-back {
  flex: none; width: 40px; height: 40px; border-radius: 50%; background: var(--surface); color: var(--ink);
  display: flex; align-items: center; justify-content: center;
}
.hh-form-wrap-app { padding-bottom: 12px; }
.hh-app-formbar {
  position: sticky; bottom: 0; background: #fff; padding: 14px 0 calc(14px + env(safe-area-inset-bottom, 0px));
  border-top: 1px solid var(--border); margin-top: 8px;
}
.hh-app-formbar .hh-btn { width: 100%; }

/* ── ASTRO COMPONENT STYLES OVERRIDES ────────────────────────────── */

/* Hero layouts */
.page-hero { padding: 96px 0 64px; background: var(--surface); text-align: left; }
.page-hero-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.page-hero-title { font-size: clamp(2.2rem, 5vw, 3.8rem); font-weight: 900; letter-spacing: -0.04em; line-height: 1.1; margin-bottom: 20px; }
.page-hero-desc { font-size: clamp(1.05rem, 2vw, 1.25rem); color: var(--mid); line-height: 1.6; max-width: 680px; margin-left: 0; }
.section-eyebrow { font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; display: block; }

/* Grid Sections & Elements */
.section { padding: 80px 0; }
.section-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; }
.section-title { font-size: clamp(1.8rem, 3.5vw, 2.8rem); font-weight: 900; color: var(--ink); margin-bottom: 16px; }
.section-desc { font-size: 16px; color: var(--mid); line-height: 1.6; }
.bg-white { background: #ffffff; }
.bg-surface { background: var(--surface); }
.border-top { border-top: 1px solid var(--border); }
.border-bottom { border-bottom: 1px solid var(--border); }

/* Mission component */
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.mission-eth { font-family: var(--font-eth); font-size: 13px; color: var(--mid); display: block; margin-bottom: 8px; }
.mission-title { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 24px; color: var(--ink); }
.mission-body { font-size: 16px; color: var(--mid); line-height: 1.7; margin-bottom: 20px; }
.mission-body strong { color: var(--ink); font-weight: 700; }
.mission-image-wrap { aspect-ratio: 4/5; overflow: hidden; border-radius: 12px; background: var(--border); }
.mission-image-wrap img { width: 100%; height: 100%; object-fit: cover; }

.about-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; border-top: 1px solid var(--border); padding-top: 32px; margin-top: 48px; }
.about-stat-num { font-size: 2rem; font-weight: 900; color: var(--ink); letter-spacing: -0.04em; margin-bottom: 4px; }
.about-stat-label { font-size: 12px; font-weight: 600; color: var(--mid); line-height: 1.4; }

/* Founder component */
.founder-grid { display: grid; grid-template-columns: 400px 1fr; gap: 80px; align-items: center; }
.founder-image-wrap { aspect-ratio: 1/1; overflow: hidden; background: var(--border); border-radius: 999px; }
.founder-image { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.founder-title { font-size: clamp(1.75rem, 2.5vw, 2.25rem); font-weight: 900; letter-spacing: -0.03em; line-height: 1.1; margin-bottom: 24px; color: var(--ink); margin-top: 12px; }
.founder-body { font-size: 18px; color: var(--ink); line-height: 1.65; font-style: italic; margin-bottom: 32px; border-left: 2px solid var(--ink); padding-left: 24px; }
.founder-signature { padding-top: 20px; border-top: 1px solid var(--border); }
.founder-name { font-size: 16px; font-weight: 900; color: var(--ink); margin-bottom: 2px; }
.founder-role { font-size: 13px; color: var(--mid); }

/* Core Values component */
.values-header { text-align: center; max-width: 600px; margin: 0 auto 64px; }
.values-section-title { font-size: clamp(2rem, 3vw, 2.75rem); font-weight: 900; letter-spacing: -0.03em; margin-bottom: 16px; }
.values-section-desc { font-size: 16px; color: var(--mid); line-height: 1.6; }
.values-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--border); border: 1px solid var(--border); border-radius: 12px; overflow: hidden; }
.value-card { background: var(--bg); padding: 48px; transition: background 0.2s; }
.value-card:hover { background: var(--surface); }
.value-eth { font-family: var(--font-eth); font-size: 12px; color: var(--mid); display: block; margin-bottom: 12px; }
.value-title { font-size: 20px; font-weight: 900; letter-spacing: -0.02em; margin-bottom: 12px; color: var(--ink); }
.value-desc { font-size: 15px; color: var(--mid); line-height: 1.7; }

/* Community Hub layouts */
.community-hero { background: radial-gradient(ellipse at 60% 0%, rgba(252,185,5,0.10) 0%, transparent 55%), var(--surface); }
.hero-script { margin-top: 20px; font-family: var(--font-eth); font-size: clamp(1.4rem, 4vw, 2.2rem); color: #b45309; font-weight: 500; letter-spacing: 0.04em; }

.hub-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.hub-card { display: flex; flex-direction: column; padding: 36px; border-radius: 12px; border: 1.5px solid var(--border); background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s; position: relative; overflow: hidden; text-decoration: none; }
.hub-card:hover { border-color: var(--mid); box-shadow: 0 12px 40px rgba(24,48,78,0.1); transform: translateY(-2px); }
.hub-card-tag { display: inline-flex; align-items: center; font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; padding: 4px 12px; border-radius: 100px; margin-bottom: 20px; align-self: flex-start; }
.hub-card--gold .hub-card-tag   { background: #fef3c7; color: #92400e; }
.hub-card--green .hub-card-tag  { background: #d1fae5; color: #065f46; }
.hub-card--blue .hub-card-tag   { background: #dbeafe; color: #1e40af; }
.hub-card--purple .hub-card-tag { background: #ede9fe; color: #5b21b6; }
.hub-card--red .hub-card-tag    { background: #fee2e2; color: #991b1b; }
.hub-card--mid .hub-card-tag    { background: var(--surface); color: var(--mid); border: 1px solid var(--border); }
.hub-card-icon { margin-bottom: 16px; color: var(--ink); display: inline-flex; }
.hub-card-icon svg { width: 34px; height: 34px; stroke: currentColor; }
.hub-card--gold .hub-card-icon   { color: #b45309; }
.hub-card--green .hub-card-icon  { color: #065f46; }
.hub-card--blue .hub-card-icon   { color: #1e40af; }
.hub-card--purple .hub-card-icon { color: #5b21b6; }
.hub-card--red .hub-card-icon    { color: #991b1b; }
.hub-card-title { font-family: var(--font-display); font-size: 1.5rem; font-weight: 900; color: var(--ink); margin: 0 0 12px; line-height: 1.2; }
.hub-card-desc { font-size: 15px; color: var(--mid); line-height: 1.65; margin: 0 0 24px; flex: 1; }
.hub-card-cta { font-size: 13px; font-weight: 800; color: var(--ink); letter-spacing: 0.02em; }
.hub-card--gold .hub-card-cta   { color: #92400e; }
.hub-card--green .hub-card-cta  { color: #065f46; }
.hub-card--blue .hub-card-cta   { color: #1e40af; }
.hub-card--purple .hub-card-cta { color: #5b21b6; }
.hub-card--red .hub-card-cta    { color: #991b1b; }

.btn-gold-solid { display: inline-block; background: var(--gold); color: var(--ink); font-weight: 800; font-size: 15px; padding: 16px 32px; border-radius: 8px; transition: opacity 0.2s; text-decoration: none; }
.btn-gold-solid:hover { opacity: 0.85; }

/* Digital CTA box */
.digital-cta-box { padding: 48px; background: var(--surface); border: 1.5px solid var(--border); border-radius: 12px; }
.digital-cta-title { font-family: var(--font-display); font-size: 1.7rem; font-weight: 900; color: var(--ink); margin: 10px 0 14px; max-width: 560px; line-height: 1.15; }
.digital-cta-desc { font-size: 15px; color: var(--mid); line-height: 1.7; max-width: 600px; margin: 0 0 28px; }
.digital-cta-btn { display: inline-block; white-space: nowrap; }
.digital-cta-links { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-top: 36px; padding-top: 32px; border-top: 1px solid var(--border); }
.dcta-link { display: flex; align-items: center; gap: 10px; padding: 14px 16px; border: 1.5px solid var(--border); border-radius: 12px; font-size: 13px; font-weight: 700; color: var(--ink); background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s; white-space: nowrap; text-decoration: none; }
.dcta-link:hover { border-color: var(--mid); box-shadow: 0 4px 12px rgba(24,48,78,0.07); }
.dcta-link-icon { color: var(--blue); display: inline-flex; }
.dcta-link-icon svg { width: 18px; height: 18px; stroke: currentColor; }

/* Learn / Guides templates styles */
.learn-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 24px; }
.learn-card a { display: flex; flex-direction: column; height: 100%; border: 1px solid var(--border); border-radius: 12px; overflow: hidden; transition: border-color 0.2s, box-shadow 0.2s; }
.learn-card a:hover { border-color: var(--mid); box-shadow: 0 10px 30px rgba(24,48,78,0.08); }
.learn-card-img { aspect-ratio: 2 / 1; background: var(--surface); }
.learn-card-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.learn-card-body { padding: 24px; display: flex; flex-direction: column; flex: 1; }
.learn-card-read { font-size: 11px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--gold); margin-bottom: 10px; }
.learn-card-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 700; color: var(--ink); line-height: 1.25; }
.learn-card-desc { margin-top: 8px; font-size: 0.95rem; color: var(--ink-soft); line-height: 1.55; }
.learn-card-cta { margin-top: 16px; font-size: 13px; font-weight: 700; color: var(--blue); }

/* Directory Filters */
.dir-layout { display: grid; grid-template-columns: 240px 1fr; gap: 48px; align-items: start; }
.dir-filters { position: sticky; top: 100px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; padding: 28px 22px; display: flex; flex-direction: column; gap: 20px; }
.filter-label { display: block; font-size: 10.5px; font-weight: 700; letter-spacing: 0.1em; text-transform: uppercase; color: var(--mid); margin-bottom: 8px; }
.filter-input, .filter-select { width: 100%; padding: 10px 12px; border: 1.5px solid var(--border); border-radius: 8px; font-size: 14px; font-family: var(--font); color: var(--ink); background: var(--bg); transition: border-color 0.2s; }
.filter-input:focus, .filter-select:focus { outline: none; border-color: var(--mid); }
.filter-reset { background: none; border: 1.5px solid var(--border); border-radius: 8px; padding: 9px 14px; font-size: 13px; font-weight: 600; color: var(--mid); cursor: pointer; transition: border-color 0.2s, color 0.2s; }
.filter-reset:hover { border-color: var(--mid); color: var(--ink); }
.filter-cta-box { padding: 16px; background: var(--ink); border-radius: 12px; text-align: center; }
.filter-cta-box p { font-size: 12px; color: rgba(255,255,255,0.65); margin-bottom: 8px; }
.filter-cta-link { font-size: 13px; font-weight: 700; color: var(--gold); text-decoration: none; }
.filter-cta-link:hover { text-decoration: underline; }
.dir-results-bar { padding-bottom: 12px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }

/* CTA Band */
.cta-band { padding: 80px 0; background: var(--ink) !important; color: #ffffff !important; }
.cta-band-inner { max-width: var(--max); margin: 0 auto; padding: 0 24px; display: flex; justify-content: space-between; align-items: center; gap: 40px; }
.cta-band-label { font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: var(--gold) !important; margin-bottom: 8px; }
.cta-band-title { font-size: clamp(1.8rem, 3.5vw, 2.6rem); font-weight: 900; color: #ffffff !important; margin: 0; }
.hero-cta { flex-shrink: 0; }

@media (max-width: 900px) {
  .mission-grid { grid-template-columns: 1fr; gap: 48px; }
  .mission-image-wrap { order: -1; }
  .founder-grid { grid-template-columns: 1fr; gap: 48px; text-align: center; }
  .founder-image-wrap { max-width: 280px; margin: 0 auto; }
  .founder-body { border-left: none; padding-left: 0; font-size: 16px; text-align: left; }
  .founder-signature { text-align: left; }
  .about-stats { grid-template-columns: 1fr; text-align: center; }
  .hub-grid { grid-template-columns: repeat(2, 1fr); }
  .dir-layout { grid-template-columns: 1fr; gap: 32px; }
  .dir-filters { position: static; }
  .cta-band-inner { flex-direction: column; text-align: center; }
  
  /* Swipeable Book Sheet Slide Carousel (Side-by-Side) */
  .values-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    gap: 16px;
    background: transparent;
    border: none;
    padding: 16px 24px;
    scrollbar-width: none;
  }
  .values-grid::-webkit-scrollbar {
    display: none;
  }
  .value-card {
    flex: 0 0 85%;
    scroll-snap-align: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 12px;
    box-shadow: 0 8px 30px rgba(0,0,0,0.06);
  }
}

@media (max-width: 600px) {
  .hub-grid { grid-template-columns: 1fr; }
  .value-card { padding: 32px 24px; }
}

/* Guide List components */
.guide-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0;
  border: 1px solid var(--border);
  border-radius: 12px;
  overflow: hidden;
  padding: 0;
  margin: 0;
}
.guide-list-item {
  border-bottom: 1px solid var(--border);
  margin: 0;
}
.guide-list-item:last-child {
  border-bottom: none;
}
.guide-list-link {
  display: grid;
  grid-template-columns: 80px 1fr auto;
  grid-template-rows: auto auto;
  align-items: center;
  gap: 2px 16px;
  padding: 20px 24px;
  text-decoration: none;
  color: var(--ink);
  transition: background 0.18s;
  background: var(--bg);
}
.guide-list-link:hover {
  background: var(--surface);
}
.guide-list-city {
  grid-column: 1;
  grid-row: 1 / 3;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(12, 80, 154, 0.08);
  border-radius: 12px;
  padding: 10px 8px;
  text-align: center;
  align-self: center;
  line-height: 1.3;
  word-break: break-word;
}
.guide-list-title {
  grid-column: 2;
  grid-row: 1;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 16px;
  color: var(--ink);
  line-height: 1.3;
}
.guide-list-desc {
  grid-column: 2;
  grid-row: 2;
  font-size: 13px;
  color: var(--mid);
  line-height: 1.5;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.guide-list-cta {
  grid-column: 3;
  grid-row: 1 / 3;
  font-size: 13px;
  font-weight: 600;
  color: var(--blue);
  white-space: nowrap;
  align-self: center;
  transition: transform 0.18s;
}
.guide-list-link:hover .guide-list-cta {
  transform: translateX(4px);
}

@media (max-width: 500px) {
  .guide-list-link {
    grid-template-columns: 56px 1fr;
    grid-template-rows: auto auto auto;
    padding: 16px 18px;
    gap: 2px 12px;
  }
  .guide-list-city {
    grid-row: 1 / 4;
    font-size: 10px;
    padding: 8px 6px;
  }
  .guide-list-title {
    grid-column: 2;
    grid-row: 1;
    font-size: 14px;
  }
  .guide-list-desc {
    grid-column: 2;
    grid-row: 2;
    font-size: 12px;
  }
  .guide-list-cta {
    grid-column: 2;
    grid-row: 3;
    font-size: 12px;
  }
}

/* Single Learn Guide details layout */
.learn-meta { font-size: 13px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); margin-top: 14px; }
.learn-hero {
  margin: 0 0 40px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--border);
}
.learn-hero img { width: 100%; height: auto; display: block; }

.callout {
  margin: 28px 0;
  padding: 22px 24px;
  background: var(--surface);
  border-left: 3px solid var(--gold);
  border-radius: 12px;
}
.callout-title { font-family: var(--font-display); font-weight: 800; color: var(--ink); margin-bottom: 6px !important; }
.callout p:last-child { margin-bottom: 0 !important; }

.more-guides { margin-top: 56px; padding-top: 32px; border-top: 1px solid var(--border); }
.more-guides-title { font-family: var(--font-display); font-size: 1.2rem; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.more-guides-list { display: flex; flex-direction: column; gap: 10px; padding: 0; list-style: none; }
.more-guides-list a {
  display: inline-block; font-size: 15px; font-weight: 600; color: var(--ink);
  border-bottom: 1px solid var(--border); padding-bottom: 8px; transition: color 0.2s;
  text-decoration: none;
}
.more-guides-list a:hover { color: var(--blue); }

.guide-cta { margin-top: 48px; padding: 40px; background: var(--surface); border: 1px solid var(--border); border-radius: 12px; text-align: center; }
.guide-cta-title { font-family: var(--font-display); font-size: 22px; font-weight: 800; color: var(--ink); margin-bottom: 10px; }
.guide-cta-desc { font-size: 15px; color: var(--mid); line-height: 1.6; margin-bottom: 24px; max-width: 460px; margin-left: auto; margin-right: auto; }
.guide-cta-links { margin-top: 18px; font-size: 13px; color: var(--mid); }
.guide-cta-links a { color: var(--blue); font-weight: 600; text-decoration: none; }
.guide-cta-links a:hover { text-decoration: underline; }
.article-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 22px; }
.article-tag { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; background: var(--ink); color: var(--bg); padding: 4px 12px; }

/* Sharp portfolio thumbnails downscaling */
.wl-card-img {
  image-rendering: -webkit-optimize-contrast !important;
  image-rendering: crisp-edges !important;
  image-rendering: -moz-crisp-edges !important;
  image-rendering: o-crisp-edges !important;
  backface-visibility: hidden;
}

/* Single Directory details layout overrides */
.eyebrow-back { display: inline-block; margin-bottom: 18px; color: var(--mid); transition: color 0.2s; text-decoration: none; }
.eyebrow-back:hover { color: var(--ink); }

.biz-hero-top { display: flex; align-items: center; gap: 20px; }
.biz-hero-logo {
  width: 96px; height: 96px; border-radius: 12px; overflow: hidden; flex-shrink: 0;
  border: 1.5px solid var(--border); background: var(--surface);
  display: flex; align-items: center; justify-content: center;
}
.biz-hero-logo img { width: 100%; height: 100%; object-fit: cover; }
.biz-hero-logo-fallback { color: var(--mid); }
.biz-hero-location { display: flex; align-items: center; gap: 6px; color: var(--mid); font-weight: 600; margin-top: 10px; }

.event-badges { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.event-badge {
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  padding: 3px 10px; border-radius: 100px;
}
.event-badge--premium { background: #fef3c7; color: #92400e; }
.event-badge--featured { background: #ede9fe; color: #6d28d9; }
.event-badge--verified { background: #d1fae5; color: #065f46; }
.event-badge--cat { background: var(--surface); color: var(--mid); border: 1px solid var(--border); }

.event-detail-layout { display: grid; grid-template-columns: 1fr 320px; gap: 48px; align-items: start; }
.event-detail-sidebar { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 20px; }
.event-detail-card { border: 1.5px solid var(--border); border-radius: 12px; padding: 24px; display: flex; flex-direction: column; gap: 16px; background: var(--surface); }
.event-detail-row { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 12px; }
.event-detail-row:last-child { margin-bottom: 0; }
.event-detail-icon { flex-shrink: 0; color: var(--mid); margin-top: 2px; }
.event-detail-label { font-size: 10.5px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--mid); margin-bottom: 4px; margin-top: 0; }
.event-detail-val { font-size: 14px; color: var(--ink); font-weight: 600; line-height: 1.5; margin: 0; }
.event-detail-maplink { display: inline-block; margin-top: 6px; font-size: 12.5px; font-weight: 700; color: var(--blue); text-decoration: none; }
.event-detail-maplink:hover { text-decoration: underline; }

.event-btn { font-size: 13px; font-weight: 800; padding: 10px 18px; border-radius: 8px; transition: opacity 0.2s; text-decoration: none; }
.event-btn-primary { background: var(--ink); color: var(--bg); }
.event-btn-primary:hover { opacity: 0.8; }
.event-btn-secondary { background: transparent; color: var(--ink); border: 1.5px solid var(--border); }
.event-btn-secondary:hover { border-color: var(--mid); }
.event-btn-whatsapp { background: #25d366; color: #fff; }
.event-btn-whatsapp:hover { opacity: 0.85; }
.event-detail-btn { display: block; text-align: center; padding: 12px 18px; }

.events-list { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 20px; }
.event-card {
  position: relative; border: 1.5px solid var(--border); border-radius: 12px; overflow: hidden;
  background: var(--bg); transition: border-color 0.2s, box-shadow 0.2s, transform 0.2s;
}
.event-card:hover { border-color: var(--mid); box-shadow: 0 12px 32px rgba(24,48,78,0.1); transform: translateY(-2px); }
.event-card-body { padding: 20px; }
.biz-related-top { display: flex; align-items: center; gap: 14px; }
.biz-hero-logo-sm { width: 52px; height: 52px; border-radius: 12px; }
.event-title { font-family: var(--font-display); font-size: 1rem; font-weight: 900; color: var(--ink); margin: 0 0 4px; line-height: 1.3; }
.event-title-link { color: inherit; text-decoration: none; }
.event-card:hover .event-title-link { color: var(--blue); }
.stretched-link::after { content: ''; position: absolute; inset: 0; z-index: 1; }
.event-location { font-size: 12.5px; color: var(--mid); font-weight: 600; }

@media (max-width: 900px) {
  .event-detail-layout { grid-template-columns: 1fr; gap: 32px; }
  .event-detail-sidebar { position: static; }
}
@media (max-width: 540px) {
  .biz-hero-top { flex-direction: column; align-items: flex-start; }
}

/* Navigation & Pagination styling */
.navigation.pagination, .nav-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  margin-top: 40px;
  list-style: none;
  padding: 0;
}
.page-numbers {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--ink);
  font-weight: 700;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s, border-color 0.2s;
}
.page-numbers:hover {
  background: var(--surface);
  border-color: var(--mid);
}
.page-numbers.current {
  background: var(--ink);
  color: #fff;
  border-color: var(--ink);
}
.page-numbers.dots {
  border: none;
  background: transparent;
}

/* City Living Guides list layout overrides */
.coming-note {
  font-size: 14px; color: var(--mid);
  padding: 12px 18px; background: var(--surface); border-radius: 12px;
  margin-bottom: 40px;
}
.city-list { display: flex; flex-direction: column; gap: 16px; margin-bottom: 72px; padding: 0; list-style: none; }
.city-card {
  display: grid;
  grid-template-columns: 80px 1fr 32px;
  gap: 24px;
  align-items: center;
  padding: 28px;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  background: var(--bg);
  transition: border-color 0.2s, box-shadow 0.2s, transform 0.18s;
  text-decoration: none;
}
.city-card:hover {
  border-color: var(--mid);
  box-shadow: 0 10px 36px rgba(24,48,78,0.09);
  transform: translateY(-2px);
}
.city-card-emoji {
  font-size: 3.5rem;
  text-align: center;
  line-height: 1;
}
.city-card-meta {
  display: flex; gap: 12px; align-items: center;
  margin-bottom: 8px; flex-wrap: wrap;
}
.city-region {
  font-size: 10px; font-weight: 800; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--gold);
}
.city-size {
  font-size: 11px; color: var(--mid);
}
.city-name {
  font-family: var(--font-display); font-size: 2rem;
  font-weight: 900; color: var(--ink); margin: 0 0 6px;
}
.city-tagline { font-size: 15px; color: var(--ink-soft); margin: 0 0 16px; }
.city-areas { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 14px; }
.city-area-tag {
  font-size: 11px; font-weight: 700; padding: 3px 10px;
  border: 1px solid var(--border); border-radius: 100px; color: var(--mid);
}
.city-area-more { background: var(--surface); }
.city-sections-preview { display: flex; flex-wrap: wrap; gap: 8px; }
.city-section-chip { font-size: 11px; color: var(--mid); }
.city-card-arrow {
  font-size: 1.4rem; color: var(--mid);
  transition: transform 0.2s, color 0.2s;
}
.city-card:hover .city-card-arrow { transform: translateX(4px); color: var(--ink); }

/* Coming soon */
.coming-soon-section { margin-bottom: 64px; }
.coming-soon-title {
  font-family: var(--font-display); font-size: 1.3rem; font-weight: 800;
  color: var(--ink); margin-bottom: 10px;
}
.coming-soon-desc { font-size: 14px; color: var(--mid); margin-bottom: 20px; }
.coming-soon-grid { display: flex; flex-wrap: wrap; gap: 10px; }
.coming-soon-card {
  display: flex; align-items: center; gap: 10px;
  padding: 10px 16px; border: 1.5px dashed var(--border); border-radius: 12px;
}
.coming-soon-city { font-size: 14px; font-weight: 700; color: var(--mid); }
.coming-soon-badge {
  font-size: 10px; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--mid);
  background: var(--surface); border-radius: 100px; padding: 2px 8px;
}

/* CTA */
.guide-cta-box {
  padding: 40px; background: var(--ink);
  border-radius: 12px; text-align: center;
}
.guide-cta-box h3 { font-family: var(--font-display); font-size: 1.4rem; color: #fff; margin-bottom: 10px; }
.guide-cta-box p { font-size: 15px; color: rgba(255,255,255,0.65); max-width: 480px; margin: 0 auto 24px; line-height: 1.65; }

@media (max-width: 700px) {
  .city-card { grid-template-columns: 1fr; gap: 12px; }
  .city-card-emoji { font-size: 2.5rem; text-align: left; }
  .city-card-arrow { display: none; }
  .city-name { font-size: 1.5rem; }
}


/* Pagination */
.navigation.pagination {
    margin-top: 56px;
    display: flex;
    justify-content: center;
}
.navigation.pagination .nav-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
}
.navigation.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    padding: 0 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--ink-soft);
    background: var(--surface);
    border: 1px solid var(--border);
    transition: all 0.2s ease;
    text-decoration: none;
}
.navigation.pagination .page-numbers:hover {
    border-color: var(--blue);
    color: var(--blue);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(24, 48, 78, 0.05);
}
.navigation.pagination .page-numbers.current {
    background: var(--ink);
    color: var(--bg);
    border-color: var(--ink);
}
.navigation.pagination .next,
.navigation.pagination .prev {
    padding: 0 16px;
}

/* Extracted Inline Styles */
.biz-logo-placeholder-inner { width: 100%; height: 100%; display: flex; align-items: center; justify-content: center; font-size: 32px; font-weight: 800; color: var(--mid); background: var(--surface); }
.page-hero-title-style { margin: 6px 0; font-size: clamp(2rem, 4vw, 2.8rem); line-height: 1.35; }
.biz-hero-location-text { margin: 8px 0 0; font-size: 15px; color: var(--mid); font-weight: 600; }
.icon-inline { vertical-align: middle; margin-right: 4px; }
.section-padding { padding-top: 40px; padding-bottom: 64px; }
.section-inner-constrained { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.markdown-content-styled { font-size: 16px; line-height: 1.7; color: var(--ink); }
.note-box { margin-top: 24px; padding: 16px; background: var(--surface); border-left: 3px solid var(--gold); border-radius: 8px; font-style: italic; }
.mt-40 { margin-top: 40px; }
.heading-20 { font-family: var(--font-display); font-size: 20px; font-weight: 800; color: var(--ink); margin-bottom: 16px; }
.bordered-box { border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg); }
.flex-between-row { display: flex; justify-content: space-between; padding: 12px 20px; border-bottom: 1px solid var(--border); font-size: 14px; color: var(--ink); }
.fw-600 { font-weight: 600; }
.text-soft { color: var(--ink-soft); }
.mt-32 { margin-top: 32px; }
.heading-16 { font-family: var(--font-display); font-size: 16px; font-weight: 800; color: var(--ink); margin-bottom: 12px; }
.grid-240 { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.service-card { border: 1px solid var(--border); border-radius: 12px; padding: 20px; background: var(--surface); text-align: left; }

/* Row-style cards (Open Positions, Articles & Posts on the single listing
   page): content block on the left, action/thumbnail on the right on
   desktop. flex-wrap alone left these ambiguous on narrow screens, so the
   stacked mobile layout below is explicit rather than relying on wrap
   fallback behaviour. */
.biz-list-card { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; }
.biz-list-card-body { text-align: left; }
.biz-list-card-meta { display: flex; gap: 10px; flex-wrap: wrap; font-size: 13px; color: var(--ink-soft); }
.biz-media-row-card { display: flex; gap: 16px; align-items: center; text-align: left; }

@media (max-width: 640px) {
  .biz-list-card { flex-direction: column; align-items: flex-start; }
  .biz-list-card-btn { align-self: stretch; text-align: center; }
}
.service-header { display: flex; justify-content: space-between; gap: 10px; align-items: baseline; margin-bottom: 8px; }
.service-title { font-size: 15px; color: var(--ink); font-weight: 800; }
.service-price { font-size: 14px; color: var(--blue); font-weight: 700; white-space: nowrap; }
.service-desc { font-size: 13px; color: var(--ink-soft); margin: 0; line-height: 1.5; }
.mt-45 { margin-top: 45px; }
.flex-col-20 { display: flex; flex-direction: column; gap: 20px; }
.update-card { border: 1px solid var(--border); border-radius: 12px; padding: 24px; display: flex; gap: 20px; background: var(--bg); flex-wrap: wrap; }
.update-image { width: 120px; height: 120px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.update-content { flex: 1; min-width: 200px; }
.update-title { margin: 0 0 6px; font-size: 16px; font-weight: 800; color: var(--ink); }
.update-desc { font-size: 14px; color: var(--ink-soft); margin: 0 0 16px; line-height: 1.5; }
.update-btn { font-size: 12px; padding: 8px 16px; }
.flex-col-14 { display: flex; flex-direction: column; gap: 14px; }
.qa-q { font-size: 14.5px; display: block; margin-bottom: 6px; color: var(--ink); }
.qa-a { font-size: 13.5px; color: var(--ink-soft); line-height: 1.5; display: block; }

/* Responsive Archive Layout (Mobile-first) */
.hh-archive-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
  align-items: start;
}

@media (min-width: 901px) {
  .hh-archive-layout {
    grid-template-columns: 280px 1fr;
    gap: 40px;
  }
}

/* ------------------------------------------------------------------ *
 *  Single listing page - Google-Business-style profile
 * ------------------------------------------------------------------ */

/* Cover photo banner above the hero, when a featured image is set. */
/* Featured photo: contained image under the title/action bar (not a
   full-width header background - that stretched small photos badly). */
.biz-featured-photo { margin: 0 0 28px; border-radius: 12px; overflow: hidden; background: var(--surface); border: 1px solid var(--border); }
.biz-featured-photo img { width: 100%; height: auto; max-height: 420px; object-fit: cover; display: block; }

/* Rating badge next to the category/verified/featured chips. */
.biz-rating { display: inline-flex; align-items: center; gap: 7px; font-size: 14px; font-weight: 700; color: var(--ink); margin-top: 8px; text-decoration: none; }
.biz-rating:hover { text-decoration: underline; }
.biz-rating-stars { color: var(--gold); font-size: 15px; letter-spacing: 1px; }
.biz-rating-count { color: var(--mid); font-weight: 600; }
.biz-rating-empty { display: inline-block; font-size: 13px; color: var(--mid); font-weight: 600; margin-top: 8px; text-decoration: none; }
.biz-rating-empty:hover { color: var(--blue); text-decoration: underline; }

/* Open/closed status chip. */
.biz-open-status { display: flex; align-items: center; gap: 7px; font-size: 13.5px; font-weight: 700; margin: 10px 0 0; }
.biz-open-status .dot { width: 8px; height: 8px; border-radius: 50%; display: inline-block; flex-shrink: 0; }
.biz-open-status.is-open { color: #1e6b3c; }
.biz-open-status.is-open .dot { background: #1e8e3e; }
.biz-open-status.is-closed { color: var(--red); }
.biz-open-status.is-closed .dot { background: var(--red); }
.biz-open-status .biz-open-detail { color: var(--mid); font-weight: 600; }

/* Action bar: Website / Call / WhatsApp / Directions / Share - icon
   buttons in a row directly under the hero, mirroring Google Business
   Profile's action row. */
.biz-action-bar { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 28px; }
.biz-action-btn {
  display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px;
  min-width: 130px; padding: 13px 20px; border-radius: 10px;
  border: 1.5px solid var(--border); background: var(--bg); box-shadow: 0 1px 2px rgba(24,48,78,0.05);
  color: var(--ink); font-size: 13.5px; font-weight: 700; text-decoration: none;
  transition: border-color 0.15s, background 0.15s, box-shadow 0.15s;
}
.biz-action-btn:hover { border-color: var(--blue); background: var(--surface); box-shadow: 0 2px 6px rgba(24,48,78,0.09); }
.biz-action-btn svg { flex-shrink: 0; }
.biz-action-btn.is-primary { background: var(--blue); border-color: var(--blue); color: #fff; }
.biz-action-btn.is-primary:hover { opacity: 0.92; background: var(--blue); }
.biz-action-btn.is-whatsapp { border-color: #25d366; color: #128c4a; }
.biz-action-btn.is-whatsapp:hover { background: #e9fbf1; }

/* Map card in the sidebar. */
.biz-map-card { border: 1.5px solid var(--border); border-radius: 14px; overflow: hidden; background: var(--surface); box-shadow: 0 1px 2px rgba(24,48,78,0.05); }
.biz-map-embed { width: 100%; height: 220px; display: block; border: 0; }
.biz-map-address { padding: 18px; }
.biz-map-address-text { font-size: 13.5px; color: var(--ink); font-weight: 600; line-height: 1.5; margin: 0 0 10px; }
.biz-map-directions-btn {
  display: inline-flex; align-items: center; gap: 6px; font-size: 12.5px; font-weight: 800;
  color: var(--blue); text-decoration: none; padding: 8px 0 0;
}
.biz-map-directions-btn:hover { text-decoration: underline; }

/* "Own this business?" claim card, restyled to read like GMB's prompt. */
.biz-claim-card { padding: 20px; background: var(--ink); border-radius: 14px; }
.biz-claim-card p { font-size: 14px; color: #fff; margin: 0 0 4px; font-weight: 700; }
.biz-claim-card span { font-size: 12.5px; color: rgba(255,255,255,0.6); display: block; margin-bottom: 12px; }
.biz-claim-card a.filter-cta-link {
  display: block; margin-top: 14px; padding: 10px 16px;
  background: rgba(255,255,255,0.12); border: 1px solid rgba(255,255,255,0.25);
  border-radius: 8px; text-align: center; font-size: 13.5px; font-weight: 700;
  color: #fff; text-decoration: none; transition: background 0.15s;
}
.biz-claim-card a.filter-cta-link:hover { background: rgba(255,255,255,0.2); }

/* Utility card - Suggest an edit / Report a problem. Grouped in their own
   bordered card (not bare text floating in the sidebar) so each toggle
   reads as a deliberate control rather than stray page furniture. */
.biz-utility-links {
  display: flex; flex-direction: column; gap: 0; font-size: 13px;
  border: 1px solid var(--border); border-radius: 12px; overflow: hidden; background: var(--bg);
}
.biz-utility-links .hh-suggest-edit {
  padding: 0;
  border-bottom: 1px solid var(--border);
}
.biz-utility-links .hh-suggest-edit:last-child { border-bottom: none; }

.hh-suggest-edit > summary { cursor: pointer; }
.hh-suggest-edit-toggle,
.hh-review-form-toggle {
  list-style: none; color: var(--ink); font-weight: 700; font-size: 13px;
  display: flex; align-items: center; gap: 7px;
}
.hh-suggest-edit-toggle::-webkit-details-marker,
.hh-review-form-toggle::-webkit-details-marker { display: none; }
.hh-suggest-edit-toggle::after,
.hh-review-form-toggle::after {
  content: '';
  width: 7px; height: 7px; border-right: 1.5px solid var(--mid); border-bottom: 1.5px solid var(--mid);
  transform: rotate(-45deg); margin-left: auto; transition: transform 0.15s;
}
details[open] > .hh-suggest-edit-toggle::after,
details[open] > .hh-review-form-toggle::after { transform: rotate(45deg); }
.hh-suggest-edit-toggle:hover,
.hh-review-form-toggle:hover { color: var(--blue); }
.hh-suggest-edit-form,
.hh-review-form {
  display: flex; flex-direction: column; gap: 10px; margin-top: 12px;
  padding: 14px; border: 1px solid var(--border); border-radius: 10px; background: var(--surface);
}
.hh-suggest-edit-label { font-size: 11.5px; font-weight: 700; color: var(--mid); text-transform: uppercase; letter-spacing: 0.04em; margin-bottom: -4px; }
.hh-suggest-edit-select,
.hh-suggest-edit-textarea,
.hh-review-input {
  padding: 9px 10px; border-radius: 8px; border: 1.5px solid var(--border); font-size: 13px; font-family: inherit;
  background: var(--bg); color: var(--ink); width: 100%; box-sizing: border-box;
}
.hh-suggest-edit-btn,
.hh-review-submit-btn {
  align-self: flex-start; font-size: 12.5px; font-weight: 800; padding: 9px 18px; border-radius: 8px;
  background: var(--ink); color: var(--bg); border: none; cursor: pointer;
}
.hh-suggest-edit-btn:hover,
.hh-review-submit-btn:hover { opacity: 0.85; }

/* Reviews section (main column). */
.biz-reviews-summary { display: flex; align-items: center; gap: 20px; padding: 20px; background: var(--surface); border-radius: 12px; margin-bottom: 20px; }
.biz-reviews-avg { font-size: 40px; font-weight: 900; color: var(--ink); line-height: 1; font-family: var(--font-display); }
.biz-reviews-stars { color: var(--gold); font-size: 16px; letter-spacing: 1px; }
.biz-reviews-count { font-size: 12.5px; color: var(--mid); }
.biz-review-card { border-bottom: 1px solid var(--border); padding: 16px 0; }
.biz-review-card:last-child { border-bottom: none; }
.biz-review-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 6px; gap: 10px; }
.biz-review-author { font-size: 13.5px; font-weight: 700; color: var(--ink); }
.biz-review-stars-sm { color: var(--gold); font-size: 12px; white-space: nowrap; }
.biz-review-date { font-size: 11.5px; color: var(--mid); }
.biz-review-body { font-size: 13.5px; color: var(--ink-soft); line-height: 1.55; margin: 0; }

.hh-review-stars { display: flex; flex-direction: row-reverse; justify-content: flex-end; gap: 2px; }
.hh-review-stars input { position: absolute; opacity: 0; width: 0; height: 0; }
.hh-review-stars label { font-size: 22px; color: var(--border); cursor: pointer; line-height: 1; }
.hh-review-stars input:checked ~ label,
.hh-review-stars label:hover,
.hh-review-stars label:hover ~ label { color: var(--gold); }
.hh-review-note { font-size: 11px; color: var(--mid); margin: 0; }

/* Photo gallery - a normal grid on desktop; becomes a swipeable,
   snap-scrolling horizontal strip on mobile (see media query below),
   the same pattern native apps and Google Business Profile use for
   photo strips instead of a static grid. */
.biz-photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(160px, 1fr)); gap: 16px; }
.biz-photo-item { display: block; border-radius: 10px; overflow: hidden; border: 1px solid var(--border); aspect-ratio: 1 / 1; }
.biz-photo-item img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.2s; }
.biz-photo-item:hover img { transform: scale(1.05); }

/* Sticky bottom action bar - mobile only. Hidden on desktop; on small
   screens it's fixed to the bottom of the viewport so the core actions
   (Call/WhatsApp, Directions, Website, Share) stay within thumb's reach
   the whole time the visitor is scrolling, the way a native maps/
   directory app keeps its action bar pinned to a place profile. */
.biz-sticky-cta { display: none; }

@media (max-width: 900px) {
  /* Body needs room for both the sticky CTA + bottom nav */
  body.hh-has-sticky-cta {
    padding-bottom: calc(var(--bottom-nav-h, 60px) + 64px + env(safe-area-inset-bottom, 0px));
  }

  /* Hide the inline action bar — the sticky CTA handles these on mobile */
  .biz-action-bar { display: none; }

  .biz-featured-photo { margin-bottom: 20px; }
  .biz-featured-photo img { max-height: 240px; }

  .biz-photo-grid {
    display: flex; grid-template-columns: none; flex-wrap: nowrap; overflow-x: auto;
    scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; gap: 12px;
    margin: 0 -20px; padding: 0 20px 4px;
  }
  .biz-photo-item { flex: 0 0 128px; width: 128px; scroll-snap-align: start; }

  .biz-sticky-cta {
    display: flex; align-items: stretch; gap: 1px;
    position: fixed; left: 0; right: 0; z-index: 85;
    /* Sit above the bottom nav bar on all mobile/tablet viewports */
    bottom: calc(var(--bottom-nav-h, 60px) + env(safe-area-inset-bottom, 0px));
    background: var(--bg); border-top: 1px solid var(--border);
    box-shadow: 0 -4px 16px rgba(24,48,78,0.10);
  }
  .biz-sticky-btn {
    flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 3px;
    padding: 9px 6px 8px; border: none; background: var(--bg); color: var(--ink);
    font-size: 10.5px; font-weight: 700; text-decoration: none; font-family: inherit;
    -webkit-tap-highlight-color: transparent; cursor: pointer;
  }
  .biz-sticky-btn:active { background: var(--surface); }
  .biz-sticky-btn.is-primary { background: var(--blue); color: #fff; }
  .biz-sticky-btn.is-primary:active { background: var(--blue); opacity: 0.85; }
}

/* Hide mobile-only header elements from desktop by default */
.mob-header-btn,
.mob-header-placeholder {
  display: none;
}

/* Tactile "native app" feedback: pressed states instead of only hover
   (hover doesn't exist on touch), and no lingering blue tap-highlight
   rectangles on links/buttons/cards. */
@media (max-width: 900px) {
  a, button, .service-card, .event-btn, .biz-action-btn, .hh-suggest-edit-toggle, .hh-review-form-toggle {
    -webkit-tap-highlight-color: transparent;
  }
  .biz-action-btn:active,
  .event-btn:active,
  .filter-cta-link:active,
  .biz-map-directions-btn:active { transform: scale(0.96); }
  .service-card:active, .update-card:active { background: var(--surface); }
  html { scroll-behavior: smooth; }
}


/* ══════════════════════════════════════════════════════════════════════
   MOBILE NATIVE-APP EXPERIENCE
   All rules below are scoped to ≤768px so desktop is completely
   unaffected. The goal: make 80%-mobile visitors feel like they are
   using a native iOS/Android app, not a shrunk-down website.
   ══════════════════════════════════════════════════════════════════════ */

/* ── 1. CSS TOKENS for mobile ────────────────────────────────────────── */
@media (max-width: 768px) {
  :root {
    --header-h: 56px;            /* compact app bar height */
    --bottom-nav-h: 60px;        /* bottom tab bar height  */
    --safe-bottom: env(safe-area-inset-bottom, 0px);
    --mob-radius: 16px;
    --mob-transition: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* ── 2. GLOBAL MOBILE BODY / LAYOUT ──────────────────────────────────── */
@media (max-width: 768px) {
  /* Push content above the bottom nav bar */
  body {
    padding-bottom: calc(var(--bottom-nav-h) + var(--safe-bottom));
  }
  /* Ensure site-wrap fills the whole screen width */
  .site-wrap {
    box-shadow: none;
  }
  /* Tighter container padding on mobile */
  .hh-container,
  .section-inner,
  .footer-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  /* Reduced section vertical padding */
  .hh-section   { padding: 36px 0; }
  .section       { padding: 40px 0; }
  .hh-hero       { padding: 32px 0 28px; }
  /* Remove tap highlight globally on mobile */
  * { -webkit-tap-highlight-color: transparent; }
  /* Momentum scrolling on all scrollable areas */
  * { -webkit-overflow-scrolling: touch; }
}

/* ── 3. COMPACT APP-BAR HEADER ───────────────────────────────────────── */
@media (max-width: 768px) {
  .site-header {
    height: var(--header-h);
    /* NOTE: no backdrop-filter here — a filter on the fixed header turns it
       into a containing block, which breaks the fixed-position mobile
       drawer/overlay that live inside it. Keep the background solid. */
    background: var(--bg);
  }
  .site-header.solid {
    background: var(--bg);
    box-shadow: 0 1px 0 var(--border);
  }
  .header-inner {
    padding: 0 12px;
    height: var(--header-h);
  }

  /* ── Logo: centred, image only ── */
  .hh-logo-link {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1;
    display: flex;
    align-items: center;
  }
  .hh-logo-link img {
    height: 40px;
    width: auto;
    display: block;
  }
  /* Hide any text fallback if logo image fails */
  .hh-logo-text { display: none; }

  /* ── Invisible spacer (homepage only) ──
     Matches the 44px hamburger on the right so the absolute-positioned
     logo is visually centred between two equal-width anchors. */
  .mob-header-placeholder {
    display: block;
    width: 44px;
    height: 44px;
    flex-shrink: 0;
  }

  /* ── Back button (sub-pages) ── */
  .mob-header-btn {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    background: transparent;
    border: none;
    color: var(--ink);
    border-radius: 8px;
    cursor: pointer;
    padding: 0;
    text-decoration: none;
    transition: background var(--mob-transition), transform 0.1s;
    -webkit-tap-highlight-color: transparent;
  }
  .mob-header-btn:active {
    background: var(--surface);
    transform: scale(0.9);
  }

  /* ── Hamburger: clean bare icon, no box ── */
  .hamburger {
    width: 44px;
    height: 44px;
    padding: 11px;
    border-radius: 8px;
    gap: 4px;
    display: flex;
    background: transparent;
    border: none;
    transition: background var(--mob-transition), transform 0.1s;
    position: relative;
    z-index: 2;
    flex-shrink: 0;
  }
  .hamburger .bar {
    height: 2px;
    border-radius: 2px;
    background: var(--ink);
  }
  .hamburger:active {
    background: var(--surface);
    transform: scale(0.9);
  }

  /* ── Header actions: hidden on mobile (search + account in bottom nav) ── */
  .header-actions {
    display: none !important;
  }
}

/* ── 4. MOBILE DRAWER ────────────────────────────────────────────────────
   The legacy "bottom sheet" overrides that used to live here were removed:
   they fought the left-drawer styles in assets/css/main.css (which loads
   after this file and matches the markup in header.php), leaving the open
   drawer pinned off-screen. The drawer is now styled solely by main.css. */

/* ── 5. BOTTOM NAVIGATION BAR ────────────────────────────────────────── */
.hh-bottom-nav {
  display: none; /* hidden on desktop */
}

@media (max-width: 768px) {
  .hh-bottom-nav {
    display: flex;
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 80;
    background: rgba(255,255,255,0.97);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    box-shadow: 0 -2px 20px rgba(24,48,78,0.08);
    padding-bottom: env(safe-area-inset-bottom, 0px);
    height: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px));
    align-items: stretch;
  }
  .hh-bottom-nav-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    padding: 6px 4px 8px;
    color: var(--mid);
    text-decoration: none;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.02em;
    border: none;
    background: none;
    font-family: var(--font);
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    transition: color var(--mob-transition), background var(--mob-transition);
    position: relative;
  }
  .hh-bottom-nav-item:active {
    background: var(--surface);
    transform: scale(0.92);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  }
  .hh-bottom-nav-item svg {
    width: 22px;
    height: 22px;
    stroke: currentColor;
    fill: none;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
    transition: stroke var(--mob-transition), transform var(--mob-transition);
    flex-shrink: 0;
  }
  /* Active state — highlight with brand blue */
  .hh-bottom-nav-item.is-active,
  .hh-bottom-nav-item[aria-current="page"] {
    color: var(--blue);
  }
  .hh-bottom-nav-item.is-active svg,
  .hh-bottom-nav-item[aria-current="page"] svg {
    stroke: var(--blue);
    transform: translateY(-1px);
  }
  /* Active indicator dot above the icon */
  .hh-bottom-nav-item.is-active::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 3px;
    background: var(--blue);
    border-radius: 0 0 3px 3px;
  }
  /* "Account" button also shown in bottom nav */
  .hh-bottom-nav-item--menu svg {
    stroke-width: 2;
  }
}

/* ── 6. WHATSAPP BUTTON — lift above bottom nav ──────────────────────── */
@media (max-width: 768px) {
  .whatsapp-chat-container {
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 24px) !important;
  }
  /* Also adjust the existing .hh-whatsapp float button if present */
  .hh-whatsapp {
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 24px);
  }
}

/* ── 7. TOUCH-OPTIMIZED CARDS & BUTTONS ──────────────────────────────── */
@media (max-width: 768px) {
  /* Press states replace hover on touch */
  .hh-card:active,
  .hub-card:active,
  .event-card:active,
  .learn-card a:active,
  .city-card:active {
    transform: scale(0.97);
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 2px 8px rgba(24,48,78,0.08);
  }
  /* Buttons: minimum 48px touch target */
  .hh-btn,
  .btn-cta,
  .hh-btn-sm {
    min-height: 48px;
  }
  /* Full-width primary buttons on mobile */
  .hh-hero-actions .hh-btn,
  .hh-hero-actions .btn-cta {
    width: 100%;
    justify-content: center;
  }
  /* Cards: remove hover elevation (use active press instead) */
  .hh-card:hover,
  .hub-card:hover,
  .event-card:hover {
    transform: none;
    box-shadow: none;
  }
  /* Grid gaps tighter on mobile */
  .hh-grid { gap: 12px; }
  .hub-grid { gap: 12px; }
  .events-list { gap: 12px; }
}

/* ── 8. HERO SECTION MOBILE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  /* Full-bleed hero */
  .hh-hero-title {
    font-size: clamp(1.8rem, 7vw, 2.4rem);
    margin-bottom: 16px;
  }
  .hh-hero-desc {
    font-size: 16px;
    margin-bottom: 24px;
  }
  .page-hero {
    padding: 40px 0 32px;
  }
  .page-hero-title {
    font-size: clamp(1.8rem, 6.5vw, 2.8rem);
    letter-spacing: -0.03em;
  }
  /* Domain search on hero — full width pill */
  .domain-search-form {
    flex-direction: column;
    gap: 10px;
  }
  .domain-input,
  .domain-btn {
    width: 100%;
    border-radius: 12px !important;
  }
  .domain-btn {
    min-height: 48px;
  }
}

/* ── 9. SWIPE SCROLL SNAP on card strips ─────────────────────────────── */
@media (max-width: 768px) {
  /* Make 3-col service grids swipeable */
  .card-grid,
  .hh-grid-3 {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 12px;
    padding-bottom: 8px;
    scrollbar-width: none;
    margin-left: -16px;
    margin-right: -16px;
    padding-left: 16px;
    padding-right: 16px;
  }
  .card-grid::-webkit-scrollbar,
  .hh-grid-3::-webkit-scrollbar {
    display: none;
  }
  .card-grid > *,
  .hh-grid-3 > * {
    flex: 0 0 82%;
    scroll-snap-align: start;
  }
  /* 2-col grid stacks vertically */
  .hh-grid-2 {
    grid-template-columns: 1fr;
  }
}

/* ── 10. FOOTER SIMPLIFICATION ON MOBILE ────────────────────────────── */
/* Accordion is now handled inside @media (max-width: 900px) above.      */
@media (max-width: 768px) {
  /* Tighter padding on small screens */
  .site-footer { padding: 24px 0 0; }
  .footer-top { gap: 24px; padding-bottom: 24px; }
  .footer-brand,
  .footer-newsletter-block {
    max-width: 100% !important;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 20px;
    padding-bottom: calc(20px + env(safe-area-inset-bottom, 0px));
  }
}


/* ── 11. BREADCRUMBS MOBILE ──────────────────────────────────────────── */
@media (max-width: 768px) {
  .hh-container[style*="margin-top"] {
    margin-top: 12px !important;
  }
}

/* ── 12. MISC MICRO-ANIMATIONS ───────────────────────────────────────── */
@keyframes fadeSlideDown {
  from { opacity: 0; transform: translateY(-6px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes slideUpSheet {
  from { transform: translateY(100%); }
  to   { transform: translateY(0); }
}

@media (max-width: 768px) {
  /* Smooth page hero entrance */
  .page-hero-title,
  .hh-hero-title {
    animation: fadeSlideDown 0.4s cubic-bezier(0.4, 0, 0.2, 1) both;
  }
  /* Card hover animations disabled, active states only */
  .hh-card,
  .hub-card,
  .event-card,
  .service-card {
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1),
                box-shadow 0.1s cubic-bezier(0.4, 0, 0.2, 1);
  }
}

/* ── 13. DIRECTORY LAYOUT MOBILE ─────────────────────────────────────── */
@media (max-width: 768px) {
  .dir-layout {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .dir-filters {
    position: static;
    border-radius: 12px;
  }
}

/* ── 14. SINGLE LISTING STICKY CTA ─────────────────────────────────── */
/* Sticky CTA bottom offset is now handled in @media (max-width: 900px)   */
/* above, covering all mobile + tablet widths. No extra rule needed here.  */


/* ── 15. FAB BUTTON — lift above bottom nav ──────────────────────────── */
@media (max-width: 768px) {
  .hh-fab {
    bottom: calc(var(--bottom-nav-h) + env(safe-area-inset-bottom, 0px) + 12px);
  }
}

/* ── Center-align quote red line on home hero ── */
.quote-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.quote-rule {
  margin: 12px auto 0 auto !important;
}
.quote-amharic {
  text-align: center;
}



/* ══════════════════════════════════════════════════════════════════════
   § 16. SINGLE LISTING PAGE — MOBILE UX IMPROVEMENTS
   ══════════════════════════════════════════════════════════════════════ */

/* 16a. Hide WP admin bar on mobile — keeps the consumer-app feel
   (admins still see it on desktop where viewport > 900px).            */
@media (max-width: 900px) {
  #wpadminbar { display: none !important; }
  html { margin-top: 0 !important; }
  body { margin-top: 0 !important; }
}

/* 16b. Breadcrumbs — hidden on listing pages on mobile. The
   "← All businesses" eyebrow-back link in the hero is cleaner.       */
@media (max-width: 900px) {
  .single-hh_listing .hh-breadcrumbs { display: none !important; }
}

/* 16c. Page background — soft off-white so white cards float above it,
   creating visual depth without heavy shadows.                        */
.single-hh_listing .section.bg-white {
  background: #f5f6f8 !important;
}
/* Keep content cards themselves pure white                            */
.single-hh_listing .service-card,
.single-hh_listing .update-card,
.single-hh_listing .biz-review-card,
.single-hh_listing .event-detail-card,
.single-hh_listing .bordered-box,
.single-hh_listing .biz-map-card {
  background: #ffffff;
}

/* 16d. Hero: tighter padding on mobile, more breathing room for tags  */
@media (max-width: 900px) {
  .single-hh_listing .page-hero {
    padding: 20px 0 24px;
  }
  /* Space between badges and the h1 — prevents clumping               */
  .single-hh_listing .event-badges {
    margin-bottom: 16px;
  }
  /* Tighten the hero top so logo and title sit naturally side-by-side  */
  .single-hh_listing .biz-hero-top {
    align-items: flex-start;
    gap: 14px;
  }
  /* Scale the logo down slightly on mobile                             */
  .single-hh_listing .biz-hero-logo {
    width: 72px;
    height: 72px;
    border-radius: 12px;
    flex-shrink: 0;
  }
}

/* 16e. "← All businesses" back link — native back-button feel        */
.eyebrow-back {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-height: 44px;           /* 44px touch target                    */
  padding: 4px 0;
  font-size: 14px;
  font-weight: 600;
}
@media (max-width: 900px) {
  .eyebrow-back {
    margin-bottom: 12px;
  }
}

/* 16f. Map embed — compact height on mobile (tap to open native maps) */
@media (max-width: 900px) {
  .biz-map-embed { height: 160px; }
}

/* 16g. Utility links — 48px native-style list rows, like iOS settings */
.biz-utility-links .hh-suggest-edit > summary,
.biz-utility-links .hh-suggest-edit > .hh-suggest-edit-toggle {
  min-height: 48px;
  padding: 0 16px;
  display: flex;
  align-items: center;
}
/* Active/pressed feedback on touch                                    */
@media (max-width: 900px) {
  .biz-utility-links .hh-suggest-edit > summary:active {
    background: var(--surface);
  }
}

/* 16h. WhatsApp FAB — on listing pages, lift above sticky CTA bar
   (sticky CTA is ~52px above the 60px bottom nav, so total ≈ 120px)  */
@media (max-width: 900px) {
  .single-hh_listing .whatsapp-chat-container {
    bottom: calc(
      var(--bottom-nav-h, 60px)
      + 60px                                   /* sticky CTA bar height */
      + env(safe-area-inset-bottom, 0px)
      + 16px                                   /* comfortable gap       */
    ) !important;
  }
}
