/* ============================================================
   Attractions Guide theme — bright, activity-directory layout for
   recurring "things to do" roundup articles (go-karts, mini golf,
   climbing, water parks, arcades, escape rooms, and similar bookable
   attractions). This is a full standalone page rendering outside the
   main layout.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:root {
  --primary: #FF6B35;
  --secondary: #004E89;
  --accent: #00D9FF;
  --warm: #FFD60A;
  --success: #2ABA4F;
  --light-bg: #F0F8FF;
  --card-bg: #FFFFFF;
  --text: #1a1a2e;
  --muted: #4a525a;
  --border: #E0E8F0;
  --max-w: 1100px;
  --link: #0055BB;
}
html { scroll-behavior: smooth; }
body { font-family: 'Segoe UI', -apple-system, BlinkMacSystemFont, Arial, sans-serif; background: linear-gradient(135deg, #f0f8ff 0%, #e6f2ff 50%, #fffbf0 100%); color: var(--text); min-height: 100vh; }
a { color: var(--link); text-decoration: none; transition: color 0.2s; }
a:hover { color: var(--primary); }
.sr-only { border: 0; clip: rect(0 0 0 0); height: 1px; margin: -1px; overflow: hidden; padding: 0; position: absolute; width: 1px; }

/* ── SITE BAR ── */
.site-bar { background: linear-gradient(90deg, #004E89 0%, #0077B6 100%); height: 48px; display: flex; align-items: center; padding: 0 24px; border-bottom: 3px solid var(--primary); position: sticky; top: 0; z-index: 300; box-shadow: 0 2px 8px rgba(0, 78, 137, 0.15); }
.brand { font-size: 18px; font-weight: 900; color: #fff; text-decoration: none; letter-spacing: -0.5px; }
.breadcrumb-bar { margin-left: 24px; font-size: 12px; color: rgba(255,255,255,0.8); }
.breadcrumb-bar a { color: rgba(255,255,255,0.9); text-decoration: none; font-weight: 500; }
.breadcrumb-bar a:hover { color: var(--warm); }
.site-bar-back { margin-left: auto; font-size: 11px; font-weight: 700; color: rgba(255,255,255,0.9); text-decoration: none; white-space: nowrap; transition: color 0.15s; }
.site-bar-back:hover { color: var(--warm); }

/* ── HERO ── */
.hero { background: linear-gradient(135deg, #FFD60A 0%, #FF6B35 50%, #00D9FF 100%); padding: 60px 24px 50px; position: relative; overflow: hidden; box-shadow: 0 8px 24px rgba(255,107,53,0.2); }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 20% 30%, rgba(255,255,255,0.1) 0%, transparent 70%), radial-gradient(circle at 85% 85%, rgba(255,255,255,0.08) 0%, transparent 50%); pointer-events: none; }
.hero-inner { max-width: var(--max-w); margin: 0 auto; position: relative; }
.hero-kicker { font-size: 11px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--secondary); margin-bottom: 16px; display: flex; align-items: center; gap: 10px; }
.hero-kicker::after { content: ''; flex: 1; height: 2px; background: rgba(0,78,137,0.3); }
.hero h1 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(32px, 6vw, 62px); font-weight: 900; line-height: 1.1; letter-spacing: -0.02em; color: var(--secondary); margin-bottom: 16px; text-shadow: 0 2px 14px rgba(255,255,255,0.65), 0 1px 2px rgba(0,0,0,0.12); }
.hero h1 em { color: #fff; font-style: italic; text-shadow: 0 2px 14px rgba(255,255,255,0.75), 0 1px 2px rgba(0,0,0,0.15); }
/* !important on color: the article body is rendered raw and can carry a
   stray inline color from the dashboard's rich-text editor (e.g. pasted
   from Word/Docs) — without this, that inline style would beat the theme's
   intended hero color regardless of how fresh the stylesheet is. */
.hero-sub { font-size: 16px; color: var(--secondary) !important; max-width: 620px; line-height: 1.7; margin-bottom: 12px; font-weight: 500; text-shadow: 0 1px 8px rgba(255,255,255,0.55); }
.hero-sub * { color: inherit !important; }
.hero-sub p { margin: 0; }
.hero-sub p + p { margin-top: 0.6em; }
.hero-byline { font-size: 12px; font-style: italic; font-weight: 600; color: var(--secondary); margin-bottom: 28px; text-shadow: 0 1px 6px rgba(255,255,255,0.5); }
.hero-meta { display: flex; align-items: center; gap: 24px; flex-wrap: wrap; background: rgba(255,255,255,0.95); padding: 20px; border-radius: 20px; width: fit-content; backdrop-filter: blur(10px); }
.hero-stat { display: flex; flex-direction: column; }
.hero-stat .n { font-family: 'Playfair Display', serif; font-size: 32px; font-weight: 900; color: var(--primary); line-height: 1; }
.hero-stat .l { font-size: 10px; font-weight: 700; letter-spacing: 0.18em; text-transform: uppercase; color: var(--secondary); margin-top: 4px; }
.hero-divider { width: 2px; height: 40px; background: rgba(0,78,137,0.3); }
.update-tag { font-size: 11px; color: var(--secondary); font-weight: 500; }

/* ── STICKY NAV ── */
.sticky-nav { position: sticky; top: 48px; z-index: 200; background: #fff; border-bottom: 2px solid var(--border); box-shadow: 0 2px 8px rgba(0,0,0,0.06); }
.nav-inner { max-width: var(--max-w); margin: 0 auto; padding: 0 24px; display: flex; align-items: stretch; overflow-x: auto; scrollbar-width: none; }
.nav-inner::-webkit-scrollbar { display: none; }
.nav-btn { flex-shrink: 0; padding: 0 18px; height: 48px; display: flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 700; letter-spacing: 0.05em; color: var(--muted); cursor: pointer; border: none; background: transparent; border-bottom: 3px solid transparent; white-space: nowrap; transition: all 0.2s; }
.nav-btn:hover { color: var(--secondary); }
.nav-btn.on { color: var(--primary); border-bottom-color: var(--primary); }
.nav-btn .ct { font-size: 10px; font-weight: 600; color: var(--accent); margin-left: 4px; background: rgba(0,217,255,0.1); padding: 2px 6px; border-radius: 10px; }
.nav-btn.on .ct { color: var(--primary); background: rgba(255,107,53,0.1); }

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

/* ── FEATURED PICKS ── */
.featured-zone { padding: 40px 0 8px; }
.section-label { font-size: 10px; font-weight: 800; letter-spacing: 0.35em; text-transform: uppercase; color: var(--secondary); margin-bottom: 24px; display: flex; align-items: center; gap: 12px; }
.section-label::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, var(--primary) 0%, transparent 100%); }
.section-label.red { color: var(--primary); }
.section-label-accent { color: var(--secondary); font-weight: 500; text-transform: none; letter-spacing: normal; font-size: 13px; }
.featured-grid { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; border-radius: 16px; overflow: visible; margin-bottom: 8px; }
.fc { position: relative; text-decoration: none; display: block; overflow: hidden; border-radius: 16px; box-shadow: 0 8px 20px rgba(0,78,137,0.12); transition: transform 0.3s, box-shadow 0.3s; }
.fc:hover { transform: translateY(-6px); box-shadow: 0 12px 32px rgba(255,107,53,0.2); }
.fc[data-slug] { cursor: pointer; }
.fc-img { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; filter: brightness(0.75); transition: filter 0.4s, transform 0.4s; background: linear-gradient(135deg, #E0E8F0 0%, #F0F8FF 100%); }
.fc:hover .fc-img { filter: brightness(0.95); transform: scale(1.05); }
.fc-badge { position: absolute; top: 14px; right: 14px; font-size: 9px; font-weight: 800; letter-spacing: 0.2em; text-transform: uppercase; color: #fff; background: linear-gradient(135deg, var(--primary) 0%, #FF8C42 100%); border: none; padding: 6px 12px; border-radius: 20px; box-shadow: 0 4px 12px rgba(255,107,53,0.3); }
.fc-body { position: absolute; bottom: 0; left: 0; right: 0; padding: 18px; background: linear-gradient(to top, rgba(26,26,46,0.98) 0%, rgba(26,26,46,0.4) 100%); }
.fc-type { font-size: 10px; font-weight: 800; letter-spacing: 0.16em; text-transform: uppercase; color: var(--warm); margin-bottom: 6px; }
.fc-name { font-family: 'Playfair Display', serif; font-size: clamp(16px, 2.2vw, 20px); font-weight: 800; color: #fff; line-height: 1.2; margin-bottom: 4px; }
.fc-nbh { font-size: 11px; color: rgba(255,255,255,0.8); font-weight: 500; }

/* ── PLANNING GUIDE ── */
.planning-guide { background: linear-gradient(135deg, rgba(0,217,255,0.08) 0%, rgba(255,107,53,0.08) 100%); border: 2px solid var(--accent); border-radius: 16px; padding: 28px; margin: 48px 0; box-shadow: 0 8px 24px rgba(0,217,255,0.1); scroll-margin-top: 100px; }
.planning-guide h3 { font-size: 18px; font-weight: 800; color: var(--secondary); margin-bottom: 14px; }
.planning-guide > p { color: var(--text); line-height: 1.7; margin-bottom: 20px; font-weight: 500; }
.guide-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin-bottom: 20px; }
.guide-card { background: #fff; border: 2px solid var(--border); border-radius: 14px; padding: 18px; font-size: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); transition: all 0.3s; }
.guide-card:hover { border-color: var(--primary); transform: translateY(-4px); box-shadow: 0 8px 20px rgba(255,107,53,0.12); }
.guide-card-title { font-weight: 800; color: var(--secondary); margin-bottom: 10px; font-size: 16px; }
.guide-card-detail { color: #333; line-height: 1.7; font-size: 13px; font-weight: 500; }
.info-box { background: linear-gradient(135deg, rgba(255,214,10,0.08), rgba(255,107,53,0.08)); border-left: 4px solid var(--primary); padding: 16px; margin: 16px 0 0; font-size: 13px; color: var(--text); border-radius: 8px; }
.info-box strong { color: var(--secondary); font-weight: 700; }

/* ── CATEGORY SECTIONS ── */
.cat-section { padding-top: 52px; scroll-margin-top: 100px; }
.cat-head { margin-bottom: 20px; }
.cat-title { font-family: 'Playfair Display', serif; font-size: clamp(22px, 4vw, 30px); font-weight: 800; color: var(--secondary); margin-bottom: 12px; }
.cat-title span { color: var(--primary); font-style: italic; }
.cat-divider { height: 2px; background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, transparent 100%); margin: 0 0 28px; }

/* Activity cards */
.ac-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
.ac { background: var(--card-bg); border: 2px solid var(--border); border-radius: 16px; overflow: hidden; text-decoration: none; display: block; transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1); box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.ac:hover { border-color: var(--primary); transform: translateY(-8px); box-shadow: 0 12px 32px rgba(255,107,53,0.15); }
.ac.pick { border-color: var(--primary); background: linear-gradient(135deg, #FFF9F0 0%, #FFFFFF 100%); }
.ac[data-slug] { cursor: pointer; }
.ac-img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; background: linear-gradient(135deg, #E0E8F0 0%, #F0F8FF 100%); filter: brightness(0.9); transition: filter 0.3s; }
.ac:hover .ac-img { filter: brightness(1); }
.ac-img-ph { width: 100%; aspect-ratio: 16/9; background: linear-gradient(135deg, #FFD60A 0%, #FF6B35 100%); display: flex; align-items: center; justify-content: center; color: #fff; font-size: 48px; }
.ac-body { padding: 18px; }
.ac-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; align-items: center; }
.ac-type { font-size: 10px; font-weight: 800; letter-spacing: 0.12em; text-transform: uppercase; color: var(--secondary); background: rgba(0,78,137,0.08); padding: 4px 8px; border-radius: 6px; }
.ac-pick-dot { width: 6px; height: 6px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--warm)); box-shadow: 0 2px 6px rgba(255,107,53,0.3); flex-shrink: 0; }
.ac-name { font-size: 16px; font-weight: 800; color: var(--secondary); margin-bottom: 8px; line-height: 1.3; letter-spacing: -0.01em; }
.ac-addr { font-size: 12px; color: #555; margin-bottom: 8px; font-weight: 600; }
.ac-desc { font-size: 13px; color: #333; line-height: 1.6; margin-bottom: 12px; font-weight: 500; }
.ac-meta { display: flex; gap: 14px; flex-wrap: wrap; font-size: 11px; padding-top: 12px; border-top: 1px solid var(--border); }
.ac-meta-item { display: flex; flex-direction: column; }
.ac-meta-item--full { flex-basis: 100%; }
.ac-meta-label { color: var(--secondary); font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; font-size: 9px; }
.ac-meta-value { color: #333; margin-top: 3px; font-weight: 600; }
.ac-price { color: var(--primary); font-weight: 800; font-size: 12px; }

/* "More <Category>" panel — every entry in a section past the first 3,
   consolidated into one card container of compact rows (small rounded
   thumbnail + text), same pattern as the site's listing-related-mini-card. */
.ac-more-panel { background: var(--card-bg); border: 2px solid var(--border); border-radius: 16px; padding: 10px; margin-top: 16px; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.ac-more-label { font-size: 10px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--secondary); padding: 8px 10px 6px; }
.ac-more-row { display: flex; align-items: center; gap: 12px; padding: 10px; border-radius: 12px; text-decoration: none; color: inherit; transition: background 0.15s; }
.ac-more-row:hover { background: var(--light-bg); }
.ac-more-row[data-slug] { cursor: pointer; }
.ac-more-row + .ac-more-row { border-top: 1px solid var(--border); }
.ac-more-img { flex: 0 0 56px; width: 56px; height: 56px; border-radius: 10px; object-fit: cover; display: block; background-color: var(--light-bg); }
.ac-more-img-ph { display: flex; align-items: center; justify-content: center; font-size: 22px; background: linear-gradient(135deg, #FFD60A 0%, #FF6B35 100%); }
.ac-more-info { min-width: 0; flex: 1; }
.ac-more-title { display: block; font-size: 14px; font-weight: 800; color: var(--secondary); margin-bottom: 2px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-more-loc { display: block; font-size: 11px; color: var(--muted); font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ac-more-price { flex-shrink: 0; color: var(--primary); font-weight: 800; font-size: 12px; }
@media (max-width: 480px) {
  .ac-more-loc { display: none; }
}

/* ── FULL LIST ── */
.full-list-zone { padding-top: 52px; scroll-margin-top: 100px; }
.list-controls { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; flex-wrap: wrap; background: #fff; padding: 16px; border-radius: 14px; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.list-search { flex: 1; min-width: 200px; height: 40px; background: #f8f9fa; border: 2px solid var(--border); border-radius: 10px; color: var(--text); font-size: 14px; padding: 0 16px 0 40px; outline: none; transition: all 0.3s; font-weight: 500; }
.list-search:focus { border-color: var(--primary); background: #fff; box-shadow: 0 0 0 3px rgba(255,107,53,0.1); }
.search-icon-wrap { position: relative; flex: 1; min-width: 200px; max-width: 320px; }
.search-icon-wrap::before { content: '⌕'; position: absolute; left: 12px; top: 50%; transform: translateY(-50%); color: var(--primary); font-size: 16px; pointer-events: none; font-weight: bold; }
.type-filter { display: flex; gap: 8px; flex-wrap: wrap; }
.tf { font-size: 11px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; padding: 7px 14px; border: 2px solid var(--border); border-radius: 12px; cursor: pointer; color: #555; background: #fff; user-select: none; transition: all 0.2s; }
.tf:hover { color: var(--secondary); border-color: var(--secondary); background: #f8f9fa; }
.tf.on { background: linear-gradient(135deg, rgba(255,107,53,0.1), rgba(255,214,10,0.1)); border-color: var(--primary); color: var(--primary); font-weight: 800; }
.list-result-count { margin-left: auto; font-size: 12px; font-weight: 700; color: #333; white-space: nowrap; }
.list-result-count .n { color: var(--primary); font-size: 14px; font-weight: 800; }

.compact-table { width: 100%; border-collapse: collapse; background: #fff; border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.compact-table thead tr { background: linear-gradient(90deg, var(--secondary) 0%, #0099CC 100%); }
.compact-table th { font-size: 11px; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; color: #fff; padding: 14px 16px; text-align: left; }
.compact-table tbody tr { border-bottom: 1px solid var(--border); transition: background 0.2s; }
.compact-table tbody tr[data-slug] { cursor: pointer; }
.compact-table tbody tr:hover { background: rgba(0,78,137,0.04); }
.compact-table td { padding: 14px 16px; font-size: 13px; color: #333; vertical-align: middle; font-weight: 500; }
.ct-name { font-weight: 800; font-size: 14px !important; }
.ct-name a { color: var(--link); text-decoration: none; font-weight: 800; }
.ct-name a:hover { color: var(--primary); text-decoration: underline; }
.ct-type-tag { font-size: 10px; font-weight: 700; letter-spacing: 0.08em; text-transform: uppercase; color: var(--secondary); background: rgba(0,78,137,0.08); padding: 4px 10px; border-radius: 8px; white-space: nowrap; }
.ct-name-cat { display: none; }
.ct-featured { text-align: center; }
.ct-feat-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--warm)); box-shadow: 0 2px 6px rgba(255,107,53,0.2); }
.hidden-row { display: none; }

/* ── NEWSLETTER CTA ── */
.sg-cta { background: linear-gradient(135deg, var(--secondary) 0%, #0099CC 100%); padding: 48px 0; margin-top: 20px; }
.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: 800; color: #fff; margin-bottom: 6px; }
.sg-cta-sub { font-size: 13px; color: rgba(255,255,255,0.85); 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: 10px; border: none; background: #fff; color: var(--text); font-size: 13px; width: 240px; max-width: 100%; }
.sg-cta-input:focus { outline: 3px solid rgba(255,255,255,0.4); }
.sg-cta-btn { padding: 12px 22px; border-radius: 10px; border: none; background: var(--primary); 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: #e05a26; }
.sg-cta-error { font-size: 12px; color: #ffd6d6; margin-top: 8px; }
.sg-cta-success { font-size: 13px; color: #d6ffe0; margin-top: 8px; display: flex; align-items: center; gap: 6px; }
.sg-cta-success[hidden] { display: none; }

/* ── FAQ ── */
.faq-section { max-width: var(--max-w); margin: 0 auto; padding: 40px 24px 48px; }
.faq-title { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(20px, 3vw, 26px); font-weight: 800; color: var(--secondary); margin-bottom: 16px; }
.faq-list { background: #fff; border: 2px solid var(--border); border-radius: 12px; overflow: hidden; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-item:last-child { border-bottom: none; }
.faq-item summary { list-style: none; cursor: pointer; padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; gap: 16px; font-weight: 700; font-size: 14px; color: var(--text); }
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; flex-shrink: 0; font-size: 18px; font-weight: 400; color: var(--primary); transition: transform 0.15s ease; }
.faq-item[open] summary::after { content: '\2212'; }
.faq-item summary:hover { color: var(--primary); }
.faq-answer { padding: 0 20px 18px; color: #444; font-size: 13px; line-height: 1.6; }
.faq-show-more { display: flex; align-items: center; justify-content: center; gap: 8px; width: 100%; margin-top: 12px; padding: 12px; background: #fff; border: 2px solid var(--border); border-radius: 12px; color: var(--primary); font-weight: 700; font-size: 12px; font-family: inherit; cursor: pointer; transition: background 0.15s ease; }
.faq-show-more:hover { background: #f8f9fa; }
.faq-show-more .fa { transition: transform 0.15s ease; }
.faq-show-more.is-expanded .fa { transform: rotate(180deg); }

/* ── FOOTER ── */
/* ── MORE GUIDES ── */
.more-guides { padding: 40px 24px; }
.more-guides-inner { max-width: var(--max-w); margin: 0 auto; }
.more-guides-label { font-size: 10px; font-weight: 800; letter-spacing: 0.3em; text-transform: uppercase; color: var(--secondary); margin-bottom: 16px; display: flex; align-items: center; gap: 12px; }
.more-guides-label::after { content: ''; flex: 1; height: 2px; background: linear-gradient(90deg, var(--primary) 0%, transparent 100%); }
.more-guides-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 14px; }
.more-guide-card { display: flex; align-items: center; gap: 12px; background: #fff; border: 2px solid var(--border); border-radius: 14px; padding: 16px; text-decoration: none; color: inherit; transition: all 0.2s; box-shadow: 0 4px 12px rgba(0,0,0,0.05); }
.more-guide-card:hover { border-color: var(--primary); transform: translateY(-3px); box-shadow: 0 8px 20px rgba(255,107,53,0.12); }
.more-guide-icon { flex-shrink: 0; font-size: 26px; }
.more-guide-text { flex: 1; min-width: 0; }
.more-guide-kicker { display: block; font-size: 9px; font-weight: 800; letter-spacing: 0.14em; text-transform: uppercase; color: var(--primary); margin-bottom: 3px; }
.more-guide-title { display: block; font-size: 14px; font-weight: 800; color: var(--secondary); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.more-guide-arrow { flex-shrink: 0; color: var(--primary); font-weight: 800; font-size: 16px; }

.guide-foot { background: linear-gradient(90deg, var(--secondary) 0%, #0099CC 100%); padding: 20px 24px; margin-top: 0; }
.guide-foot-inner { max-width: var(--max-w); margin: 0 auto; display: flex; justify-content: center; align-items: center; }
.guide-foot span { font-size: 11px; color: rgba(255,255,255,0.85); font-weight: 500; }

@media (max-width: 920px) {
  .featured-grid { grid-template-columns: 1fr 1fr; }
  .featured-grid .fc:nth-child(3) { display: none; }
  .ac-grid { grid-template-columns: repeat(2, 1fr); }
  .guide-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px) {
  .featured-grid { grid-template-columns: 1fr; }
  .ac-grid { grid-template-columns: 1fr; }
  .guide-grid { grid-template-columns: 1fr; }
  .hero { padding: 40px 20px 36px; }
  .main { padding: 0 16px 40px; }
  .list-controls { flex-direction: column; align-items: stretch; }
  .sg-cta-inner { flex-direction: column; align-items: stretch; text-align: center; }
  .sg-cta-form { flex-direction: column; }
  .sg-cta-input { width: 100%; }
  .compact-table th:nth-child(2), .compact-table td:nth-child(2),
  .compact-table th:nth-child(3), .compact-table td:nth-child(3),
  .compact-table th:nth-child(5), .compact-table td:nth-child(5) { display: none; }
  .ct-name-cat { display: block; font-size: 11px; font-weight: 400; color: #777; margin-top: 2px; }
}

/* ── LISTING DETAIL POPOVER (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(10, 20, 40, .55);
    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: #fff;
    border: 2px solid var(--border);
    border-radius: 18px;
    box-shadow: 0 28px 70px rgba(0, 40, 80, .3);
    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 300px;
    min-height: 320px;
    background: linear-gradient(135deg, #FFD60A 0%, #FF6B35 100%);
}

.listing-overlay-img {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-color: #E0E8F0;
}

.listing-overlay-close {
    position: absolute;
    top: .6rem;
    right: .6rem;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    border: none;
    background: rgba(255, 255, 255, .9);
    color: var(--secondary);
    font-size: .9rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 120ms, color 120ms;
    z-index: 1;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.listing-overlay-close:hover {
    background: var(--primary);
    color: #fff;
}

.listing-overlay-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    padding: 1.6rem 1.85rem 1.35rem;
    min-height: 0;
    background: #fff;
}

.listing-overlay-title {
    margin: 0 0 .2rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--secondary);
    line-height: 1.2;
}

.listing-overlay-subtitle {
    font-size: .85rem;
    color: var(--muted);
    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: #444;
    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(--primary);
    font-size: .85rem;
    width: 14px;
    text-align: center;
}
.listing-overlay-info-row a {
    color: inherit;
    text-decoration: underline;
    text-decoration-color: rgba(0, 78, 137, .25);
}
.listing-overlay-info-row a:hover { color: var(--primary); }

.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(--light-bg);
    border: 2px solid var(--border);
    color: var(--primary);
    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(--primary);
    border-color: var(--primary);
    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: 2px solid var(--border);
    border-radius: 12px;
    color: var(--secondary);
    background: var(--light-bg);
}

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

.listing-overlay-footer {
    margin-top: 1.1rem;
    padding-top: .85rem;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.listing-overlay-full-link {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    font-size: .82rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--primary);
    text-decoration: none;
    transition: opacity 120ms;
}
.listing-overlay-full-link:hover { opacity: .8; }
.listing-overlay-full-link i { font-size: .75rem; }

.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: var(--muted);
    text-decoration: none;
    transition: color 120ms;
}
.listing-overlay-edit-link:hover { color: var(--primary); }

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: 18px 18px 0 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(42, 186, 79, .15); color: #1e8a3d; }
.lo-status-closed { background: rgba(255, 107, 53, .15); color: #c94a1e; }

.lo-status-detail {
    font-size: .8rem;
    color: var(--muted);
}

.lo-hours-toggle {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    background: none;
    border: none;
    padding: 0;
    font-size: .8rem;
    color: var(--muted);
    cursor: pointer;
    line-height: 1.4;
}
.lo-hours-toggle .fa-clock-o { color: var(--primary); 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;
}
