/* ============================================================
   Sushi Guide theme — sectioned guide layout for recurring restaurant
   roundup articles. Dark-mode magazine-style guide with hero section,
   sticky navigation, neighborhood sections, and full directory.
   This is a full standalone page rendering outside the main layout.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --orange: #e07c24; --red: #b81c2e; --red-dk: #7a1218;
  --black: #0a0a0a; --dark: #111; --card: #161616; --card2: #1a1a1a;
  --border: #222; --border-lt: #2e2e2e;
  --text: #ede8df; --muted: #666; --dim: #3a3a3a;
  --max-w: 1060px;
}
html { scroll-behavior: smooth; }
body { font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif; background: var(--black); color: var(--text); }

/* ── SITE BAR ── */
.site-bar { background: #060606; height: 40px; display: flex; align-items: center; padding: 0 24px; border-bottom: 1px solid #181818; position: sticky; top: 0; z-index: 300; }
.brand { font-size: 15px; font-weight: 900; color: #fff; text-decoration: none; }
.brand em { color: var(--orange); font-style: normal; }
.breadcrumb-bar { margin-left: 18px; font-size: 12px; color: #6d6d6d; }
.breadcrumb-bar a { color: #949494; text-decoration: none; }
.breadcrumb-bar a:hover { color: #555; }
.site-bar-back { margin-left: auto; font-size: 11px; font-weight: 600; color: #949494; text-decoration: none; white-space: nowrap; transition: color 0.15s; }
.site-bar-back:hover { color: #fff; }

/* ── HERO ── */
.hero { background: linear-gradient(160deg, #0c0406 0%, #120608 40%, #0e0a0a 100%); border-bottom: 1px solid #1e1010; padding: 52px 24px 44px; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 70% at 80% 50%, rgba(184,28,46,0.06) 0%, transparent 70%); pointer-events: none; }
.hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }
.hero-kicker { font-size: 10px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--red); margin-bottom: 14px; display: flex; align-items: center; gap: 10px; }
.hero-kicker::after { content: ''; flex: 1; height: 1px; background: rgba(184,28,46,0.2); }
.hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(32px, 6vw, 62px); font-weight: 900; line-height: 1.0; letter-spacing: -0.02em; color: #fff; margin-bottom: 18px; }
.hero h1 em { color: var(--red); font-style: italic; }
.hero-content { display: flex; align-items: flex-start; gap: 40px; }
.hero-sub { font-size: 15px; color: #888; flex: 1; line-height: 1.7; margin-bottom: 28px; }
.hero-meta { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; flex-shrink: 0; }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .n { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: #fff; line-height: 1; }
.hero-stat .l { font-size: 9px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: #fdc894; margin-top: 2px; }
.hero-divider { width: 1px; height: 36px; background: #222; }
.update-tag { font-size: 11px; color: #929292; }
.hero-kanji { position: absolute; right: 0; top: -10px; font-size: 180px; line-height: 1; color: rgba(184,28,46,0.08); pointer-events: none; user-select: none; font-family: serif; letter-spacing: -0.1em; }

/* ── STICKY NAV ── */
.sticky-nav { position: sticky; top: 40px; z-index: 200; background: #0c0c0c; border-bottom: 1px solid #1c1c1c; }
.nav-wrap { max-width: var(--max-w); margin: 0 auto; position: relative; display: flex; align-items: stretch; }
.nav-inner { display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; scroll-behavior: smooth; flex: 1; min-width: 0; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-btn { flex-shrink: 0; padding: 0 16px; height: 42px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.06em; color: #bbb; cursor: pointer; border: none; background: transparent; border-bottom: 2px solid transparent; white-space: nowrap; transition: color 0.15s, border-color 0.15s; }
.nav-btn:hover { color: #666; }
.nav-btn.on { color: var(--red); border-bottom-color: var(--red); }
.nav-btn .ct { font-size:11px; font-weight: 600; color: #2a2a2a; margin-left: 2px; }
.nav-btn.on .ct { color: rgba(184,28,46,0.5); }

.nav-arrow {
  position: absolute; top: 0; bottom: 0; width: 28px; border: none; cursor: pointer; z-index: 2;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px; line-height: 1; color: #ddd; background: #0c0c0c;
  transition: opacity 0.15s, color 0.15s;
}
.nav-arrow:hover { color: #fff; }
.nav-arrow--left { left: 0; box-shadow: 8px 0 10px -6px rgba(0,0,0,0.6); }
.nav-arrow--right { right: 0; box-shadow: -8px 0 10px -6px rgba(0,0,0,0.6); }
.nav-arrow[hidden] { display: none; }

/* ── MAIN ── */
.main { max-width: var(--max-w); margin: 0 auto; padding: 0 24px 0px; }

/* ── FEATURED PICKS ── */
.featured-zone { padding: 40px 0 8px; }
.section-label { font-size: 9px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: #2a2a2a; margin-bottom: 20px; display: flex; align-items: center; gap: 12px; }
.section-label::after { content: ''; flex: 1; height: 1px; background: #1a1a1a; }
.section-label.red { color: var(--red); }
.section-label.red::after { background: rgba(184,28,46,0.12); }
.section-label-accent { color: #fdc894; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 2px; border-radius: 10px; overflow: hidden; margin-bottom: 2px; }
.fc { position: relative; text-decoration: none; display: block; overflow: hidden; background: var(--card); border: 1px solid var(--border); }
.fc-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; filter: brightness(0.55); transition: filter 0.4s, transform 0.4s; background: #1c1c1c; }
.fc-img-ph { width: 100%; aspect-ratio: 4/3; background: #1c1c1c; display: flex; align-items: center; justify-content: center; color: #2a2a2a; font-size: 48px; }
.fc:hover .fc-img { filter: brightness(0.7); transform: scale(1.02); }
.fc-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 16px; background: linear-gradient(to top, rgba(0,0,0,0.95) 0%, transparent 100%); }
.fc-type { display: inline-block; font-size: 9px; font-weight: 800; letter-spacing: 0.22em; text-transform: uppercase; color: #fff; background: var(--red); border: 1px solid rgba(255,255,255,0.2); padding: 3px 8px; border-radius: 4px; margin-bottom: 8px; }
.fc-name { font-family: 'Playfair Display', serif; font-size: clamp(14px, 2vw, 18px); font-weight: 700; color: #fff; line-height: 1.2; margin-bottom: 4px; }
.fc-nbh { font-size: 12px; color: #999; }
.fc-badge { position: absolute; top: 12px; left: 12px; font-size: 8px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: var(--red); background: rgba(184,28,46,0.15); border: 1px solid rgba(184,28,46,0.3); padding: 3px 8px; border-radius: 4px; }

/* ── NEIGHBORHOOD SECTIONS ── */
.nbh-section { padding-top: 48px; scroll-margin-top: 90px; }
.nbh-head { margin-bottom: 18px; }
.nbh-title { font-family: 'Playfair Display', serif; font-size: clamp(20px, 3.5vw, 28px); font-weight: 700; color: #fff; margin-bottom: 8px; }
.nbh-title span { color: var(--red); font-style: italic; }
.nbh-intro { font-size: 16px; font-style: italic; color: #d5bfa8; line-height: 1.75; max-width: 800px; }
.nbh-divider { height: 1px; background: #1a1a1a; margin: 16px 0 22px; }

/* Restaurant cards */
.rc-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; }
.rc { background: var(--card); border: 1px solid var(--border); border-radius: 8px; overflow: hidden; text-decoration: none; display: block; transition: border-color 0.15s; }
.rc:hover { border-color: var(--border-lt); }
.rc[data-slug], .fc[data-slug] { cursor: pointer; }
.rc.pick { border-color: rgba(184,28,46,0.2); }
.rc-media { position: relative; overflow: hidden; }
.rc-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: #1c1c1c; filter: brightness(0.75); transition: transform 0.4s; }
.rc-img-ph { width: 100%; aspect-ratio: 16/9; background: #1a1a1a; display: flex; align-items: center; justify-content: center; color: #2a2a2a; font-size: 28px; }
.rc:hover .rc-img { transform: scale(1.02); }
.rc-overlay { position: absolute; bottom: 0; left: 0; right: 0; padding: 10px 12px; background: linear-gradient(to top, rgba(0,0,0,0.92) 0%, transparent 100%); }
.rc-body { padding: 12px 14px 14px; }
.rc-tags { display: flex; gap: 4px; flex-wrap: wrap; margin-bottom: 7px; align-items: center; }
.rc-type { font-size: 9px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: #3a3a3a; }
.rc-pick-dot { width: 5px; height: 5px; border-radius: 50%; background: var(--red); opacity: 0.6; flex-shrink: 0; }
.rc-name { font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: #fff; margin-bottom: 2px; line-height: 1.2; letter-spacing: -0.01em; transition: color 0.15s; }
.rc:hover .rc-name { color: #fdc894; }
.rc-addr { font-size: 11px; color: #aaa; margin-bottom: 0; }
.rc-desc { font-size: 13px; color: #bbb; line-height: 1.55; }

/* ── COMPACT LIST SECTION ── */
.full-list-zone { padding-top: 52px; }
.list-controls { display: flex; align-items: center; gap: 8px; margin-bottom: 14px; flex-wrap: wrap; }
.list-search { flex: 1; min-width: 180px; height: 34px; background: #141414; border: 1px solid #222; border-radius: 5px; color: #888; font-size: 14px; padding: 0 10px 0 36px; outline: none; }
.list-search:focus { border-color: var(--red); }
.search-icon-wrap { position: relative; flex: 1; min-width: 180px; max-width: 280px; }
.search-icon-wrap::before { content: '⌕'; position: absolute; left: 10px; top: 50%; transform: translateY(-50%); color: #3a3a3a; font-size: 16px; pointer-events: none; }
.list-result-count { margin-left: auto; font-size: 11px; font-weight: 700; color: #999; white-space: nowrap; }
.list-result-count .n { color: var(--orange); font-weight: 900; font-size: 12px; }

/* ── DIRECTORY STRIPE ── */
.directory-stripe { background: linear-gradient(160deg, #3a1415 0%, #4a1820 40%, #3a1218 100%); border-top: 1px solid #2a0a0a; border-bottom: 1px solid #2a0a0a; padding-bottom: 60px; scroll-margin-top: 90px; margin-top: 3rem; }
.directory-hero { background: linear-gradient(135deg, #5a1820 0%, #4a1415 100%); padding: 48px 24px; position: relative; overflow: hidden; display: flex; align-items: center; justify-content: center; gap: 40px; min-height: 200px; }
.directory-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 50% 50%, rgba(184,28,46,0.1) 0%, transparent 70%); pointer-events: none; }
.directory-hero-inner { position: relative; z-index: 2; text-align: center; max-width: 700px; }
.directory-hero-before, .directory-hero-after { position: relative; z-index: 1; font-size: 48px; opacity: 0.6; animation: float 3s ease-in-out infinite; }
.directory-hero-after { animation-delay: 0.5s; }
.hero-icon { display: inline-block; }
.hero-icon + .hero-icon { margin-left: 8px; }
@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-10px); }
}
@keyframes hero-icon-bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}
.directory-kicker { font-size: 10px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--orange); margin-bottom: 12px; }
.directory-title { font-family: 'Playfair Display', serif; font-size: clamp(28px, 5vw, 48px); font-weight: 900; color: #fff; margin-bottom: 14px; }
.directory-sub { font-size: 14px; color: #bbb; line-height: 1.6; }
.directory-controls-wrapper { padding-top: 40px; }
.neighborhood-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; }
.filter-pill {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 6px 12px;
  border: 1px solid #444;
  border-radius: 12px;
  cursor: pointer;
  color: #888;
  background: transparent;
  user-select: none;
  transition: all 0.2s;
}
.filter-pill:hover { color: #bbb; border-color: #666; }
.filter-pill--toggle { color: var(--red); border-color: rgba(184,28,46,0.4); border-style: dashed; }
.filter-pill--toggle:hover { color: #fff; border-color: var(--red); }
.filter-pill.active { background: rgba(184,28,46,0.2); border-color: rgba(184,28,46,0.5); color: #fff; font-weight: 800; }

.sushi-table { width: 100%; border-collapse: collapse; }
.sushi-table thead tr { border-bottom: 2px solid #1a1a1a; }
.sushi-table th {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ddd;
  padding: 12px;
  text-align: left;
  background: #0c0c0c;
  border-bottom: 2px solid #444;
}
.sushi-table tbody tr {
  border-bottom: 1px solid #141414;
  transition: background 0.1s;
}
.sushi-table tbody tr:hover { background: #0f0f0f; }
.sushi-table tbody tr[data-slug] { cursor: pointer; }
.sushi-table td {
  padding: 12px;
  font-size: 13px;
  color: #bbb;
  vertical-align: middle;
}
.col-name { font-weight: 700; color: #ddd; }
.col-neighborhood { color: #888; font-size: 12px; }
.col-address { color: #666; font-size: 11px; }
.col-featured { color: #888; font-size: 12px; text-align: center; }

.sr-only { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* ── NEWSLETTER CTA ── */
.sg-cta { background: linear-gradient(160deg, #120608 0%, #1a0a0c 100%); border-top: 1px solid #1e1010; border-bottom: 1px solid #1e1010; padding: 48px 0; }
.sg-cta-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.sg-cta-copy { flex: 1; min-width: 240px; }
.sg-cta-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(20px, 3vw, 28px); font-weight: 700; color: #fff; margin-bottom: 6px; }
.sg-cta-sub { font-size: 13px; color: #999; line-height: 1.6; max-width: 460px; }
.sg-cta-form { display: flex; gap: 8px; flex-shrink: 0; }
.sg-cta-form[hidden] { display: none; }
.sg-cta-input { padding: 12px 16px; border-radius: 6px; border: 1px solid var(--border-lt); background: var(--card); color: var(--text); font-size: 13px; width: 240px; max-width: 100%; }
.sg-cta-input:focus { outline: none; border-color: var(--red); }
.sg-cta-btn { padding: 12px 20px; border-radius: 6px; border: none; background: var(--red); color: #fff; font-size: 12px; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase; cursor: pointer; white-space: nowrap; transition: background 0.15s; text-decoration: none; display: inline-flex; align-items: center; }
.sg-cta-btn:hover { background: var(--red-dk); }
.sg-cta-error { font-size: 12px; color: #ff6b7a; margin-top: 8px; }
.sg-cta-success { font-size: 13px; color: #4ad66d; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.sg-cta-success[hidden] { display: none; }

/* ── FOOTER ── */
.guide-foot { background: #060606; border-top: 1px solid #141414; padding: 20px 24px; margin-top: 0px; }
.guide-foot-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: gap; gap: 10px; }
.guide-foot span { font-size: 10px; color: #1e1e1e; }

@media (max-width: 560px) {
  .sg-cta { padding: 32px 0; }
  .sg-cta-inner { padding: 0 20px; flex-direction: column; align-items: stretch; text-align: center; }
  .sg-cta-form { flex-direction: column; }
  .sg-cta-input { width: 100%; }
}

@media (max-width: 860px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid .fc:nth-child(3) { display: none; }
  .rc-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-content { flex-direction: column; gap: 24px; }
}
@media (max-width: 560px) {
  .hero-kanji { font-size: 90px; top: 0; }
  .featured-zone { display: none; }
  .list-result-count { padding-top: 10px; padding-right: 20px; }
  .nav-btn--picks { display: none; }
  .rc-grid { grid-template-columns: 1fr; padding: 0 25px; }
  .rc { margin-bottom: 15px; }
  .hero { padding: 36px 16px 30px; }
  .main { padding: 0 16px 0px; }
  .directory-stripe { margin: 3rem -16px 0; }
  .directory-stripe .main { max-width: 100%; margin: 0; padding: 0; }
  .directory-hero { padding: 32px 20px; gap: 0; flex-direction: column; }
  .directory-hero-before { display: block; font-size: 28px; margin-bottom: 12px; animation: none; }
  .directory-hero-after { display: none; }
  .directory-hero-before .hero-icon { animation: hero-icon-bounce 2.4s ease-in-out infinite; }
  .directory-hero-before .hero-icon:nth-child(1) { animation-delay: 0s; }
  .directory-hero-before .hero-icon:nth-child(2) { animation-delay: 0.25s; }
  .directory-hero-before .hero-icon:nth-child(3) { animation-delay: 0.5s; }
  .directory-hero-inner { max-width: 100%; text-align: center; }
  .directory-title { font-size: 24px; }
  .nbh-title { font-size: 1.5rem; }
  .directory-sub { font-size: 13px; }
  .directory-controls-wrapper { padding: 40px 20px 40px; background: linear-gradient(160deg, #3a1415 0%, #4a1820 40%, #3a1218 100%); }
  .hero-content { flex-direction: column; gap: 24px; }
  .sushi-table th:nth-child(2),
  .sushi-table td:nth-child(2),
  .sushi-table th:nth-child(4),
  .sushi-table td:nth-child(4) { display: none; }
  .sushi-table { margin: 0 auto; padding: 0; width: calc(100% - 40px); }
  .breadcrumb-bar { display: none; }
  .search-icon-wrap { display: none; }
  .neighborhood-filters { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 16px; padding: 0 20px; width: 100%; }
  .filter-pill { display: none; }
  #neighborhood-select { width: 100%; }
}

/* ── LISTING DETAIL POPOVER (sushi-guide dark theme; forked from listings/_listing_overlay.php) ── */
.listing-overlay {
    position: fixed;
    inset: 0;
    z-index: 1300;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    animation: listingOverlayIn 180ms ease;
}
.listing-overlay[hidden] { display: none; }

@keyframes listingOverlayIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}

.listing-overlay-dialog {
    position: relative;
    width: min(820px, 100%);
    max-height: calc(100dvh - 2rem);
    background: var(--dark);
    border: 1px solid var(--border-lt);
    border-radius: 0;
    box-shadow: 0 28px 70px rgba(0, 0, 0, .6);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.listing-overlay-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}
.listing-overlay-loading[hidden] { display: none; }

.listing-overlay-spinner {
    width: 52px;
    height: 52px;
    opacity: .6;
}

.listing-overlay-content {
    display: flex;
    flex-direction: row;
    overflow: hidden;
    flex: 1;
    min-height: 0;
}
.listing-overlay-content[hidden] { display: none; }

.listing-overlay-hero {
    position: relative;
    flex: 0 0 280px;
    min-height: 320px;
}

.listing-overlay-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #1c1c1c;
    filter: brightness(0.85);
}

.listing-overlay-close {
    position: absolute;
    top: .6rem;
    right: .6rem;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 1px solid var(--border-lt);
    background: rgba(10, 10, 10, .8);
    color: var(--text);
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 120ms, color 120ms, border-color 120ms;
    z-index: 1;
}
.listing-overlay-close:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

.listing-overlay-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1.5rem 1.75rem 1.25rem;
    min-height: 0;
    background: var(--dark);
}

.listing-overlay-title {
    margin: 0 0 .2rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.2;
}

.listing-overlay-subtitle {
    font-size: .85rem;
    color: #999;
    margin-bottom: .8rem;
}

.listing-overlay-meta {
    margin-bottom: .9rem;
    border-bottom: 1px solid var(--border);
    padding-bottom: .9rem;
}

.listing-overlay-info {
    margin-top: .55rem;
    font-size: .83rem;
    color: #bbb;
    display: flex;
    flex-direction: column;
    gap: .35rem;
}

.listing-overlay-info-row {
    display: flex;
    align-items: flex-start;
    gap: .45rem;
}
.listing-overlay-info-row .fa {
    flex-shrink: 0;
    margin-top: .15em;
    color: var(--red);
    font-size: .85rem;
    width: 14px;
    text-align: center;
}
.listing-overlay-info-row a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(255, 255, 255, .25);
}
.listing-overlay-info-row a:hover { color: #fff; }

.listing-overlay-hours {
    align-items: flex-start;
}
.listing-overlay-hours > div {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    line-height: 1.5;
}

/* Circular icon buttons — call / website */
.listing-overlay-actions {
    display: flex;
    gap: .5rem;
    margin-top: .8rem;
}
.listing-overlay-actions:empty { display: none; }
.lo-icon-circle {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--card);
    border: 1px solid var(--border-lt);
    color: var(--red);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: .95rem;
    text-decoration: none;
    transition: background 120ms, color 120ms, border-color 120ms;
}
.lo-icon-circle:hover {
    background: var(--red);
    border-color: var(--red);
    color: #fff;
}

/* Tag pills */
.listing-overlay-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: .8rem;
}
.listing-overlay-tags:empty { display: none; }
.lo-tag-pill {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 5px 10px;
    border: 1px solid var(--border-lt);
    border-radius: 12px;
    color: #999;
    background: transparent;
}

.listing-overlay-desc {
    flex: 1;
    font-size: .87rem;
    line-height: 1.7;
    color: #bbb;
}
.listing-overlay-desc p { margin: 0; }

.listing-overlay-footer {
    margin-top: 1.1rem;
    padding-top: .85rem;
    border-top: 1px solid var(--border);
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: flex-end;
}

.listing-overlay-edit-link {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    font-size: .78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: #999;
    text-decoration: none;
    transition: color 120ms;
}
.listing-overlay-edit-link:hover { color: #fff; }

body.listing-overlay-open { overflow: hidden; }

@media (max-width: 680px) {
    .listing-overlay { padding: 0; align-items: flex-end; }
    .listing-overlay-dialog {
        width: 100%;
        max-height: 90dvh;
        border-radius: 0;
    }
    .listing-overlay-content { flex-direction: column; }
    .listing-overlay-hero {
        flex: 0 0 200px;
        min-height: 200px;
    }
    .listing-overlay-body { padding: 1.1rem 1.2rem 1rem; }
    .listing-overlay-title { font-size: 1.2rem; }
}

/* --- Listing overlay: open/closed status & hours schedule --- */

.lo-hours-row-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: .4rem;
    margin-top: .8rem;
}

.lo-status-line {
    display: flex;
    align-items: center;
    gap: .55rem;
    flex-wrap: wrap;
}

.lo-status-badge {
    display: inline-block;
    font-size: .72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: .18em .6em;
    border-radius: 3px;
    line-height: 1.5;
}
.lo-status-open   { background: rgba(40, 167, 69, .18); color: #4ad66d; }
.lo-status-closed { background: rgba(184, 28, 46, .18); color: #ff6b7a; }

.lo-status-detail {
    font-size: .8rem;
    color: #888;
}

.lo-hours-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: none;
    border: none;
    padding: 0;
    font-size: .8rem;
    color: #888;
    cursor: pointer;
    line-height: 1.4;
}
.lo-hours-toggle .fa-clock-o { color: var(--red); font-size: .85rem; }
.lo-hours-toggle:hover .lo-hours-toggle-label { text-decoration: underline; }

.lo-hours-chevron {
    font-size: .65rem;
    transition: transform 200ms;
}
.lo-hours-toggle[aria-expanded="true"] .lo-hours-chevron {
    transform: rotate(180deg);
}

.listing-overlay-hours-plain {
    display: flex;
    flex-direction: column;
    gap: .1rem;
    margin-left: .3rem;
    font-size: .8rem;
    line-height: 1.55;
}
