/* ============================================================
   Buzzbo Design System
   Font: Lexend Deca (min 16px everywhere)
   Ink:  #F8F7F2   Background: #556B4D
   WCAG 2.1 AA - cream on sage = 5.4:1 contrast
   ============================================================ */

/* Self-hosted Lexend Deca (variable, 300-700) - no third-party font CDN (GDPR) */
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/lexend-deca-latin.woff2) format('woff2');
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/lexend-deca-latin-ext.woff2) format('woff2');
  unicode-range: U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF, U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020, U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;
}
@font-face {
  font-family: 'Lexend Deca';
  font-style: normal;
  font-weight: 300 700;
  font-display: swap;
  src: url(fonts/lexend-deca-vietnamese.woff2) format('woff2');
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+0300-0301, U+0303-0304, U+0308-0309, U+0323, U+0329, U+1EA0-1EF9, U+20AB;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --bg:        #556B4D;   /* sage - page background */
  --bg-deep:   #47593F;   /* panel green */
  --bg-deeper: #3A4A33;   /* footer / darkest green */
  --ink:       #F8F7F2;   /* cream - all text */
  --ink-soft:  #E8E6DC;  /* solid, 4.67:1 on sage - passes WCAG AA (was rgba .84 at ~4.1:1) */
  --line:      rgba(248, 247, 242, .28);
  --line-soft: rgba(248, 247, 242, .14);
  --wash:      rgba(248, 247, 242, .08);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --shadow:    0 6px 24px rgba(0, 0, 0, .18);
}

html { scroll-behavior: smooth; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}

body {
  font-family: 'Lexend Deca', system-ui, sans-serif;
  font-size: 1rem;              /* 16px minimum - never go below */
  line-height: 1.6;
  color: var(--ink);
  background: var(--bg);
}

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

/* ---- Focus visibility (keyboard users) ---- */
:focus-visible {
  outline: 3px solid var(--ink);
  outline-offset: 3px;
  border-radius: 4px;
}

/* ---- Skip link ---- */
.skip-link {
  position: absolute; left: -9999px; top: 0; z-index: 999;
  background: var(--ink); color: var(--bg-deeper);
  padding: 12px 20px; font-weight: 600; text-decoration: none;
  border-radius: 0 0 var(--radius-sm) 0;
}
.skip-link:focus { left: 0; }

/* ---- Type ---- */
h1, h2, h3, h4 { line-height: 1.2; font-weight: 600; }
h1 { font-size: clamp(2rem, 5vw, 3.2rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--ink-soft); }
a  { color: var(--ink); }

.eyebrow {
  display: inline-block; font-size: 1rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--ink-soft); margin-bottom: 12px;
}

/* ---- Layout ---- */
.container { max-width: 1160px; margin: 0 auto; padding: 0 24px; }
.section { padding: 72px 0; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; gap: 16px; flex-wrap: wrap; margin-bottom: 32px; }

/* ---- Header / nav ---- */
.site-header {
  position: sticky; top: 0; z-index: 100;
  background: var(--bg);
  border-bottom: 1px solid var(--line-soft);
}
.nav {
  display: flex; align-items: center; justify-content: space-between;
  gap: 16px; height: 76px;
}
.brand { display: inline-flex; align-items: center; gap: 10px; text-decoration: none; }
.brand img { height: 56px; width: 56px; border-radius: var(--radius-sm); }
.brand-name { font-size: 1.4rem; font-weight: 700; letter-spacing: .01em; }

.nav-links { display: flex; align-items: center; gap: 4px; list-style: none; }
.nav-links a {
  display: inline-block; padding: 10px 14px; border-radius: var(--radius-sm);
  text-decoration: none; font-weight: 500;
}
.nav-links a:hover { background: var(--wash); }
.nav-links a[aria-current="page"] {
  background: var(--wash);
  box-shadow: inset 0 -3px 0 var(--ink);
}

.nav-toggle {
  display: none; background: none; border: 2px solid var(--line);
  border-radius: var(--radius-sm); color: var(--ink);
  padding: 8px 14px; font: inherit; cursor: pointer;
}

@media (max-width: 860px) {
  .nav-toggle { display: inline-block; }
  .nav-links {
    display: none; position: absolute; top: 76px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: var(--bg-deep); border-bottom: 1px solid var(--line-soft);
    padding: 8px 16px 16px;
  }
  .nav-links.open { display: flex; }
  .nav-links a { padding: 14px; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font: inherit; font-weight: 600; text-decoration: none; cursor: pointer;
  border-radius: var(--radius-sm); padding: 13px 26px;
  border: 2px solid transparent;
  min-height: 48px; /* touch target */
}
.btn-primary { background: var(--ink); color: #3A4A33; }
.btn-primary:hover { background: #fffef9; }
.btn-outline { background: transparent; color: var(--ink); border-color: var(--ink); }
.btn-outline:hover { background: var(--wash); }
.btn-small { padding: 8px 18px; min-height: 44px; }

/* ---- Chips / toggle filters ---- */
.chip {
  display: inline-flex; align-items: center; gap: 8px;
  font: inherit; font-weight: 500;
  background: transparent; color: var(--ink);
  border: 2px solid var(--line); border-radius: 999px;
  padding: 9px 18px; cursor: pointer; min-height: 44px;
}
.chip:hover { background: var(--wash); }
.chip[aria-pressed="true"] {
  background: var(--ink); color: #3A4A33; border-color: var(--ink); font-weight: 600;
}
.chip[aria-pressed="true"]::before { content: "✓ "; }

/* ---- Hero ---- */
.hero { padding: 72px 0 64px; position: relative; text-align: center; }
.hero > .container { position: relative; }
.hero h1 { margin-bottom: 16px; }
.hero .lede { font-size: 1.15rem; max-width: 640px; margin: 0 auto 36px; }
.hero .eyebrow { margin-bottom: 24px; }

/* ---- Search bar ---- */
.search-bar {
  display: flex; flex-wrap: wrap; gap: 8px; align-items: stretch;
  background: var(--ink); border-radius: var(--radius-lg);
  padding: 8px; max-width: 900px; margin: 0 auto 32px;
  box-shadow: var(--shadow);
}
.search-field { flex: 1; display: flex; flex-direction: column; min-width: 160px; padding: 4px 12px; position: relative; }
.search-field label { font-size: 1rem; font-weight: 600; color: #3A4A33; text-align: left; }
.search-field input, .search-field select {
  font: inherit; border: none; background: transparent; color: #2c3827;
  padding: 2px 0; min-width: 0; width: 100%;
}
.search-field input:focus, .search-field select:focus { outline: none; }
.search-field:focus-within { outline: 3px solid #3A4A33; outline-offset: 2px; border-radius: 8px; }
.search-divider { width: 1px; background: rgba(58, 74, 51, .25); margin: 8px 0; }
.search-bar .btn-search {
  background: var(--bg-deeper); color: var(--ink); border: none;
  border-radius: var(--radius-md); padding: 0 30px;
  font: inherit; font-weight: 600; cursor: pointer;
}
.search-bar .btn-search:hover { background: #2f3c2a; }
@media (max-width: 640px) {
  .search-bar { flex-direction: column; }
  .search-divider { display: none; }
  .search-bar .btn-search { padding: 14px; }
}

/* ---- Combo field (typeable, multi-select dropdown with fuzzy matching) ---- */
.combo-control { position: relative; }
.combo-chips { display: flex; flex-wrap: wrap; gap: 6px; }
.combo-chips:not(:empty) { margin-bottom: 4px; }
.combo-chip {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: .85rem; font-weight: 600; line-height: 1;
  border-radius: 999px; padding: 5px 6px 5px 12px; white-space: nowrap;
}
.combo-chip button {
  border: none; background: transparent; cursor: pointer; font: inherit;
  width: 20px; height: 20px; border-radius: 50%; display: inline-flex;
  align-items: center; justify-content: center; color: inherit; opacity: .75;
}
.combo-chip button:hover { opacity: 1; }
.combo-list {
  position: absolute; top: calc(100% + 6px); left: 0; right: 0; z-index: 50;
  list-style: none; max-height: 260px; overflow-y: auto;
  border-radius: var(--radius-sm); box-shadow: var(--shadow);
}
.combo-list li {
  padding: 10px 14px; cursor: pointer; font-size: .95rem;
}
.combo-list li.combo-freetext { font-style: italic; }

/* Light pill context (search bar on hero) */
.search-field.combo-field .combo-chip { background: #3A4A33; color: var(--ink); }
.search-field.combo-field .combo-list { background: #fff; color: #2c3827; }
.search-field.combo-field .combo-list li:hover,
.search-field.combo-field .combo-list li:focus,
.search-field.combo-field .combo-list li.active { background: #EFEFE7; outline: 2px solid #2c3827; outline-offset: -2px; }

/* Dark form-field context (search/filter pages) */
.field.combo-field .combo-control {
  background: var(--bg-deeper); border: 2px solid var(--line);
  border-radius: var(--radius-sm); padding: 8px 10px; min-height: 48px;
}
.field.combo-field input {
  width: 100%; font: inherit; color: var(--ink); border: none;
  background: transparent; padding: 4px 2px; min-width: 80px;
}
.field.combo-field input:focus { outline: none; }
.field.combo-field .combo-control:focus-within { outline: 3px solid var(--ink); outline-offset: 2px; }
.field.combo-field .combo-chip { background: var(--ink); color: #3A4A33; }
.field.combo-field .combo-list { background: var(--bg-deep); color: var(--ink); border: 1px solid var(--line); }
.field.combo-field .combo-list li:hover,
.field.combo-field .combo-list li:focus,
.field.combo-field .combo-list li.active { background: var(--wash); outline: 2px solid var(--ink); outline-offset: -2px; }

/* ---- Filter row ---- */
.filter-row { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.filter-meta { margin-top: 16px; }

/* ---- Stats ---- */
.stats { border-top: 1px solid var(--line-soft); border-bottom: 1px solid var(--line-soft); padding: 28px 0; }
.stats-grid { display: flex; justify-content: center; gap: 56px; flex-wrap: wrap; text-align: center; }
.stat-num { font-size: 1.7rem; font-weight: 700; }
.stat-label { color: var(--ink-soft); }

/* ---- Cards ---- */
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(265px, 1fr)); gap: 24px; }
.card {
  background: var(--bg-deep); border: 1px solid var(--line-soft);
  border-radius: var(--radius-md); overflow: hidden;
  display: flex; flex-direction: column;
  text-decoration: none; color: inherit;
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); }
.card:focus-visible { outline-offset: 0; }
.card-media {
  height: 150px; display: flex; align-items: center; justify-content: center;
  background: var(--bg-deeper); position: relative; font-size: 2.6rem;
}
.card-media svg { width: 56px; height: 56px; }
.badge {
  display: inline-flex; align-items: center; gap: 6px;
  background: var(--ink); color: #3A4A33;
  border-radius: 999px; padding: 4px 14px; font-size: 1rem; font-weight: 600;
}
.card-media .badge { position: absolute; top: 12px; left: 12px; }
.card-body { padding: 20px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.card-category { text-transform: uppercase; letter-spacing: .06em; font-weight: 600; color: var(--ink-soft); }
.card-title { font-size: 1.15rem; font-weight: 600; }
.card-loc { color: var(--ink-soft); }
.tag-list { display: flex; flex-wrap: wrap; gap: 8px; list-style: none; margin-top: 4px; }
.tag {
  border: 1px solid var(--line); border-radius: 999px;
  padding: 3px 12px; font-size: 1rem; color: var(--ink);
}
.card-foot {
  margin-top: auto; padding-top: 14px; border-top: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: space-between; gap: 8px;
}
.rating { font-weight: 600; }
.rating .count { font-weight: 400; color: var(--ink-soft); }

/* ---- Panels / CTA bands ---- */
.panel {
  background: var(--bg-deep); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); padding: 48px;
}
.panel-split { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
@media (max-width: 640px) { .panel { padding: 32px 24px; } }

/* ---- How it works ---- */
.steps-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 40px; text-align: center; }
.step-hex {
  width: 84px; height: 84px; margin: 0 auto 20px;
  background: var(--ink);
  clip-path: polygon(50% 0%, 93% 25%, 93% 75%, 50% 100%, 7% 75%, 7% 25%);
  display: flex; align-items: center; justify-content: center;
  color: #3A4A33; font-size: 1.6rem; font-weight: 700;
}
.step h3 { margin-bottom: 8px; }

/* ---- Events ---- */
.events-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 20px; }
.event-card {
  display: flex; gap: 18px; align-items: flex-start;
  background: var(--bg-deep); border: 1px solid var(--line-soft);
  border-radius: var(--radius-md); padding: 22px;
  text-decoration: none; color: inherit;
}
.event-card:hover { box-shadow: var(--shadow); }
.event-date {
  background: var(--ink); color: #3A4A33; border-radius: var(--radius-sm);
  padding: 12px 16px; text-align: center; flex-shrink: 0; min-width: 68px;
}
.event-date .day { font-size: 1.5rem; font-weight: 700; line-height: 1.1; display: block; }
.event-date .month { font-weight: 600; text-transform: uppercase; letter-spacing: .05em; }
.event-title { font-size: 1.1rem; font-weight: 600; margin: 2px 0 6px; }
.event-meta { color: var(--ink-soft); }

/* ---- Forms ---- */
.form-grid { display: grid; gap: 22px; }
.form-row { display: grid; gap: 22px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }
.field label { display: block; font-weight: 600; margin-bottom: 6px; }
.field .hint { color: var(--ink-soft); margin-bottom: 8px; }
.field input, .field select, .field textarea {
  width: 100%; font: inherit; color: var(--ink);
  background: var(--bg-deeper); border: 2px solid var(--line);
  border-radius: var(--radius-sm); padding: 12px 14px; min-height: 48px;
}
.field textarea { min-height: 120px; resize: vertical; }
.field input::placeholder, .field textarea::placeholder { color: rgba(248,247,242,.6); }
.field input:focus, .field select:focus, .field textarea:focus {
  outline: 3px solid var(--ink); outline-offset: 2px;
}
.field .error { color: var(--ink); font-weight: 600; background: var(--bg-deeper); border-left: 4px solid var(--ink); padding: 6px 10px; margin-top: 8px; display: none; }
.field.invalid .error { display: block; }
.field.invalid input, .field.invalid textarea { border-color: var(--ink); }
fieldset { border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 24px; }
legend { font-weight: 600; padding: 0 10px; font-size: 1.15rem; }
.checkbox-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 10px; }
.check {
  display: flex; align-items: center; gap: 10px; cursor: pointer;
  padding: 10px 12px; border-radius: var(--radius-sm);
}
.check:hover { background: var(--wash); }
.check input { width: 22px; height: 22px; accent-color: var(--ink); flex-shrink: 0; }

/* ---- Progress steps (registration) ---- */
.progress-steps { display: flex; gap: 8px; list-style: none; margin-bottom: 36px; flex-wrap: wrap; }
.progress-steps li {
  flex: 1; min-width: 140px; text-align: center; padding: 12px;
  border-radius: var(--radius-sm); border: 2px solid var(--line-soft);
  color: var(--ink-soft); font-weight: 500;
}
.progress-steps li[aria-current="step"] { border-color: var(--ink); background: var(--wash); color: var(--ink); font-weight: 600; }
.progress-steps li.done { border-color: var(--line); }
.progress-steps li.done::before { content: "✓ "; }

/* ---- Tables (dashboard/admin) ---- */
.table-wrap { overflow-x: auto; border: 1px solid var(--line-soft); border-radius: var(--radius-md); }
table { width: 100%; border-collapse: collapse; min-width: 640px; }
caption { text-align: left; padding: 16px 20px; font-weight: 600; font-size: 1.15rem; background: var(--bg-deep); }
th, td { text-align: left; padding: 14px 20px; border-top: 1px solid var(--line-soft); }
th { background: var(--bg-deep); font-weight: 600; }
tbody tr:hover { background: var(--wash); }
.status { display: inline-block; border-radius: 999px; padding: 3px 14px; font-weight: 600; border: 2px solid var(--line); }
.status.live     { background: var(--ink); color: #3A4A33; border-color: var(--ink); }
.status.pending  { border-style: dashed; }
.status.rejected { text-decoration: line-through; }

/* ---- Dashboard layout ---- */
.dash-layout { display: grid; grid-template-columns: 240px 1fr; gap: 32px; align-items: start; }
@media (max-width: 860px) { .dash-layout { grid-template-columns: 1fr; } }
.dash-nav { position: sticky; top: 100px; display: flex; flex-direction: column; gap: 4px; }
.dash-nav a {
  text-decoration: none; padding: 12px 16px; border-radius: var(--radius-sm); font-weight: 500;
}
.dash-nav a:hover { background: var(--wash); }
.dash-nav a[aria-current="page"], .dash-nav a.active { background: var(--ink); color: #3A4A33; font-weight: 600; }
.dash-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 16px; margin-bottom: 32px; }
.dash-stat { background: var(--bg-deep); border: 1px solid var(--line-soft); border-radius: var(--radius-md); padding: 22px; }
.dash-stat .num { font-size: 1.8rem; font-weight: 700; display: block; }

/* ---- Notices ---- */
.notice {
  border: 2px solid var(--line); border-radius: var(--radius-md);
  background: var(--bg-deep); padding: 18px 22px; margin-bottom: 28px;
}
.notice strong { display: block; margin-bottom: 4px; }

/* ---- Map placeholder ---- */
.map-split { display: grid; grid-template-columns: 1fr 1.3fr; gap: 24px; align-items: start; }
@media (max-width: 860px) { .map-split { grid-template-columns: 1fr; } }
.map-list { display: flex; flex-direction: column; gap: 10px; max-height: 560px; overflow-y: auto; padding-right: 4px; }
.map-canvas {
  background: var(--bg-deep); border: 1px solid var(--line-soft);
  border-radius: var(--radius-lg); min-height: 480px; position: relative; overflow: hidden;
}
.map-canvas .placeholder-label {
  position: absolute; inset: 0; display: flex; flex-direction: column; gap: 8px;
  align-items: center; justify-content: center; text-align: center; padding: 24px;
}
.result-item {
  display: block; background: var(--bg-deep); border: 2px solid var(--line-soft);
  border-radius: var(--radius-md); padding: 18px; text-decoration: none; color: inherit;
}
.result-item:hover, .result-item.active { border-color: var(--ink); }

/* ---- Listing detail ---- */
.detail-grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 40px; align-items: start; }
@media (max-width: 860px) { .detail-grid { grid-template-columns: 1fr; } }
.detail-hero {
  height: 300px; border-radius: var(--radius-lg); background: var(--bg-deep);
  border: 1px solid var(--line-soft);
  display: flex; align-items: center; justify-content: center; margin-bottom: 32px;
}
.access-group { margin-bottom: 28px; }
.access-group h3 { margin-bottom: 12px; }
.access-list { list-style: none; display: grid; gap: 10px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.access-list li { display: flex; gap: 10px; align-items: flex-start; }
.access-list li::before { content: "✓"; font-weight: 700; flex-shrink: 0; }
.sidebar-card {
  background: var(--bg-deep); border: 1px solid var(--line-soft);
  border-radius: var(--radius-md); padding: 28px; position: sticky; top: 100px;
  display: grid; gap: 14px;
}

/* ---- Reviews ---- */
.review { border-top: 1px solid var(--line-soft); padding: 20px 0; }
.review-head { display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap; margin-bottom: 6px; }

/* ---- Footer ---- */
.site-footer { background: var(--bg-deeper); margin-top: 72px; padding: 56px 0 32px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; margin-bottom: 44px; }
@media (max-width: 860px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 520px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-grid h2 { font-size: 1.1rem; text-transform: uppercase; letter-spacing: .06em; margin-bottom: 16px; }
.footer-grid ul { list-style: none; }
.footer-grid li { margin-bottom: 10px; }
.footer-grid a { text-decoration: none; color: var(--ink-soft); }
.footer-grid a:hover { color: var(--ink); text-decoration: underline; }
.footer-bottom {
  border-top: 1px solid var(--line-soft); padding-top: 24px;
  display: flex; justify-content: space-between; gap: 12px; flex-wrap: wrap;
  color: var(--ink-soft);
}

.btn-linklike {
  background: none; border: none; padding: 0; margin: 0; font: inherit;
  color: var(--ink); text-decoration: underline; cursor: pointer;
}
.btn-linklike:hover, .btn-linklike:focus-visible { color: var(--accent, var(--ink)); }

/* ---- Utility ---- */
.visually-hidden {
  position: absolute; width: 1px; height: 1px; margin: -1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}
.center { text-align: center; }
.mt-2 { margin-top: 16px; } .mt-4 { margin-top: 32px; }
.mb-2 { margin-bottom: 16px; } .mb-4 { margin-bottom: 32px; }
.prose { max-width: 760px; }
.prose h2 { margin: 40px 0 12px; }
.prose h3 { margin: 28px 0 10px; }
.prose p, .prose li { margin-bottom: 12px; }
.prose ul, .prose ol { padding-left: 24px; }

/* ---- Listing photos ---- */
.card-media img { width: 100%; height: 100%; object-fit: cover; display: block; position: absolute; inset: 0; }
.photo-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 12px; }
.photo-grid figure { margin: 0; position: relative; }
.photo-grid img { width: 100%; height: 120px; object-fit: cover; border-radius: var(--radius-md); display: block; border: 1px solid var(--line-soft); }
.photo-grid .photo-remove { position: absolute; top: 6px; right: 6px; }
.detail-photos img { height: 180px; }

/* ---- Maps (Leaflet) ---- */
/* isolation + z-index:0 keep Leaflet's internal layers (z-index up to ~1000)
   inside the map box, so search dropdowns always render above the map */
.map-canvas { isolation: isolate; z-index: 0; }
/* Leaflet attribution: solid background + darker link for WCAG AA contrast */
.leaflet-container .leaflet-control-attribution { background: #fff; color: #3d3d3d; }
.leaflet-container .leaflet-control-attribution a { color: #075985; }
.combo-control { position: relative; z-index: 5; }
.map-canvas .leaflet-container { position: absolute; inset: 0; background: var(--bg-deep); font: inherit; }
.mini-map { position: relative; min-height: 220px; border-radius: var(--radius-md); overflow: hidden; border: 1px solid var(--line-soft); }
.leaflet-container a { color: #2A3625; }
.leaflet-popup-content { font-family: inherit; font-size: 1rem; }
.leaflet-popup-content .popup-name { font-weight: 600; display: block; margin-bottom: 2px; }
.leaflet-container:focus-visible, .leaflet-marker-icon:focus-visible { outline: 3px solid var(--ink); outline-offset: 2px; }

/* ---- Branded map pins ---- */
.buzzbo-pin { background: none; border: none; }
.buzzbo-pin svg {
  display: block;
  filter: drop-shadow(0 2px 3px rgba(0, 0, 0, .35));
  transform-origin: 50% 100%;
  transition: transform .12s ease;
}
.buzzbo-pin:hover svg, .buzzbo-pin:focus-visible svg { transform: scale(1.18); }
.buzzbo-pin:focus-visible { outline: 3px solid #3A4A33; outline-offset: 2px; border-radius: 8px; }
.buzzbo-pin svg.pin-approx { opacity: .72; }
@media (prefers-reduced-motion: reduce) {
  .buzzbo-pin svg { transition: none; }
  .buzzbo-pin:hover svg, .buzzbo-pin:focus-visible svg { transform: none; }
}
.map-legend { color: var(--ink-soft); margin-top: -8px; }

/* Event pin date chip */
.buzzbo-pin { position: relative; }
.buzzbo-pin .pin-date {
  position: absolute; left: 50%; top: 100%; transform: translateX(-50%); margin-top: 3px;
  background: #F8F7F2; color: #3A4A33; border-radius: 999px; padding: 1px 9px;
  font-size: 11px; font-weight: 700; white-space: nowrap; line-height: 1.5;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .35);
}

/* WhatsApp contact button - brand-recognisable, AA contrast */
.btn-whatsapp {
  display: inline-flex; align-items: center; gap: 8px;
  background: #25D366; color: #0B3D22; border: none;
}
.btn-whatsapp:hover, .btn-whatsapp:focus-visible { background: #1FBF5B; color: #0B3D22; }

/* Listing header image (first photo) */
.detail-hero { position: relative; overflow: hidden; }
.detail-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }

/* Keep the nav CTA's solid button colours when it's the current page (contrast fix) */
.nav-links a.btn-primary[aria-current="page"] { background: var(--ink); box-shadow: none; }

/* Footer social links */
.footer-bottom { align-items: center; }
.footer-social { display: flex; gap: 10px; align-items: center; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 44px; height: 44px; border-radius: 10px; color: var(--ink);
}
.footer-social a:hover, .footer-social a:focus-visible { background: var(--wash); }
.footer-social svg { width: 22px; height: 22px; }
