/* ═══ /guide — Explore page (uses the antique design system from styles.css) ═══ */
.guide-page { background: var(--bg-light); }
.guide-page .navbar { background: color-mix(in srgb, var(--bg-dark) 96%, transparent); padding: 14px 0; border-bottom: 1px solid var(--gold); }

/* ── Header ── */
.guide-hero { position: relative; overflow: hidden; padding: 128px 0 40px; text-align: center; background: var(--bg-light); }
.guide-hero .section-header { margin-bottom: 24px; }
.guide-hero .section-title { font-size: clamp(2.1rem, 4.5vw, 3.2rem); }
.motif-guide-right { right: -60px; top: 60px; width: 380px; height: 380px; }
.motif-guide-left { left: -40px; bottom: -40px; width: 300px; height: 300px; }
.home-picker { display: inline-flex; align-items: center; gap: 10px; font-size: 0.9rem; color: var(--text-muted); flex-wrap: wrap; justify-content: center; }
.home-picker select { padding: 9px 14px; border: 1px solid var(--line-strong); background: var(--bg-card); font-family: var(--font-body); font-size: 0.9rem; color: var(--text-dark); min-width: 200px; }
.home-picker select:focus { outline: none; box-shadow: 0 0 0 3px rgba(176,141,87,0.25); }

/* ── Category tiles ── */
.cat-tiles { display: grid; grid-template-columns: repeat(auto-fill, minmax(168px, 1fr)); gap: 12px; padding-bottom: 48px; }
.cat-tile { background: var(--bg-card); border: 1px solid var(--line); padding: 18px 16px; display: flex; flex-direction: column; gap: 4px; cursor: pointer; text-align: left; font-family: var(--font-body); color: var(--text-dark); transition: var(--transition); position: relative; overflow: hidden; }
.cat-tile:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.cat-tile.active { border-color: var(--lacquer); background: var(--bg-cream); box-shadow: inset 0 0 0 1px var(--lacquer); }
.cat-tile-icon { font-size: 1.4rem; line-height: 1; margin-bottom: 4px; }
.cat-tile-name { font-weight: 600; font-size: 0.95rem; }
.cat-tile-count { font-size: 0.75rem; color: var(--text-muted); }
.cat-tile-dark { background: var(--bg-dark); color: var(--text-light); border-color: var(--bg-dark); }
.cat-tile-dark .cat-tile-count { color: var(--gold-light); }
.cat-tile-dark:hover { border-color: var(--gold); }
.cat-tile img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: 0.18; pointer-events: none; }

/* ── Place list ── */
.places { padding: 0 0 72px; position: relative; }
.place-toolbar { display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px 24px; margin-bottom: 20px; }
.place-heading { font-family: var(--font-heading); font-size: 1.9rem; font-weight: 600; line-height: 1.2; }
.place-heading small { font-family: var(--font-body); font-size: 0.85rem; color: var(--text-muted); font-weight: 400; margin-left: 8px; }
.place-chips { display: flex; gap: 8px; flex-wrap: wrap; }
.place-chips .map-filter { padding: 6px 14px; font-size: 0.8rem; }
.place-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.place-card { background: var(--bg-card); border: 1px solid var(--line); display: flex; flex-direction: column; transition: var(--transition); }
.place-card:hover { border-color: var(--gold); box-shadow: var(--shadow-lg); }
.place-card.host-pick { border-color: var(--gold); }
.place-img { height: 160px; background: var(--bg-cream); overflow: hidden; position: relative; display: flex; align-items: center; justify-content: center; }
.place-img img { width: 100%; height: 100%; object-fit: cover; }
.place-img svg { width: 72px; height: 72px; color: var(--gold); opacity: 0.6; }
.place-img .place-walk { position: absolute; top: 10px; right: 10px; background: var(--bg-dark); color: var(--text-light); border: 1px solid var(--gold); font-size: 0.75rem; font-weight: 600; padding: 4px 9px; }
.place-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; flex: 1; }
.place-kicker { font-size: 0.7rem; color: var(--lacquer); font-weight: 600; text-transform: uppercase; letter-spacing: 1px; }
.place-kicker .price { color: var(--text-muted); font-weight: 500; letter-spacing: 0; }
.place-name { font-size: 1.05rem; font-weight: 600; line-height: 1.3; }
.place-desc { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }
.place-tip { font-size: 0.85rem; line-height: 1.5; padding: 8px 10px; background: var(--bg-cream); border-left: 2px solid var(--gold); }
.place-try { font-size: 0.85rem; line-height: 1.5; }
.place-try b { font-weight: 600; }
.place-rating { color: var(--gold-dark, #b8860b); font-weight: 600; letter-spacing: 0; margin-left: 8px; text-transform: none; }
.place-history { font-size: 0.82rem; color: var(--text-muted); line-height: 1.5; }
.place-history summary { cursor: pointer; color: var(--lacquer); font-weight: 600; }
.place-history p { margin-top: 4px; }
.place-meta { font-size: 0.78rem; color: var(--text-muted); line-height: 1.5; margin-top: auto; }
.place-tags { display: flex; flex-wrap: wrap; gap: 6px; }
.place-tag { font-size: 0.7rem; padding: 2px 8px; border: 1px solid var(--line); color: var(--text-muted); }
.place-links { display: flex; gap: 14px; flex-wrap: wrap; font-size: 0.78rem; font-weight: 600; margin-top: 4px; }
.place-links a { color: var(--lacquer); border-bottom: 1px solid var(--lacquer); }
.place-links a:hover { color: var(--lacquer-dark); }
.place-footer { text-align: center; font-size: 0.85rem; color: var(--text-muted); margin-top: 28px; }
.place-footer button { margin-left: 8px; background: none; border: 0; border-bottom: 1px solid var(--lacquer); color: var(--lacquer); font-weight: 600; cursor: pointer; font-family: var(--font-body); font-size: 0.85rem; }

/* ── Guide articles ── */
.articles { position: relative; overflow: hidden; }
.article-group { margin-bottom: 44px; }
.article-group-head { display: flex; align-items: baseline; gap: 12px; margin-bottom: 16px; flex-wrap: wrap; }
.article-group-head h3 { font-family: var(--font-heading); font-size: 1.6rem; font-weight: 600; }
.article-group-head p { font-size: 0.85rem; color: var(--text-muted); }
.article-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 16px; }
.article-card { background: var(--bg-card); border: 1px solid var(--line); text-align: left; cursor: pointer; font-family: var(--font-body); color: var(--text-dark); display: flex; flex-direction: column; transition: var(--transition); padding: 0; }
.article-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow-lg); }
.article-cover { height: 150px; overflow: hidden; background: var(--bg-cream); }
.article-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-body { padding: 16px; display: flex; flex-direction: column; gap: 6px; }
.article-title { font-family: var(--font-heading); font-size: 1.25rem; font-weight: 600; line-height: 1.25; }
.article-teaser { font-size: 0.85rem; color: var(--text-muted); line-height: 1.55; }
.article-more { font-size: 0.78rem; font-weight: 600; color: var(--lacquer); margin-top: 4px; }

/* ── Article modal ── */
.guide-modal { position: fixed; inset: 0; z-index: 3000; background: rgba(42,31,26,0.75); backdrop-filter: blur(6px); display: flex; align-items: center; justify-content: center; opacity: 0; pointer-events: none; transition: var(--transition); padding: 16px; }
.guide-modal.active { opacity: 1; pointer-events: all; }
.guide-modal-content { background: var(--bg-card); border: 1px solid var(--gold); outline: 1px solid var(--gold); outline-offset: -5px; width: min(820px, 100%); max-height: 92vh; overflow-y: auto; padding: 40px 44px; position: relative; }
.guide-modal-close { position: absolute; top: 12px; right: 12px; width: 40px; height: 40px; background: var(--bg-dark); color: var(--text-light); border: 1px solid var(--gold); font-size: 1.4rem; cursor: pointer; line-height: 1; }
.article-full-cover { margin: -40px -44px 24px; height: 260px; }
.article-full-cover img { width: 100%; height: 100%; object-fit: cover; }
.article-full h2 { font-family: var(--font-heading); font-size: 2.1rem; font-weight: 600; line-height: 1.15; margin-bottom: 6px; }
.article-full .article-kicker { font-size: 0.75rem; color: var(--lacquer); letter-spacing: 2px; text-transform: uppercase; font-weight: 600; margin-bottom: 14px; }
.article-rich { font-size: 0.95rem; line-height: 1.75; color: var(--text-dark); }
.article-rich h1, .article-rich h2, .article-rich h3, .article-rich h4 { font-family: var(--font-heading); font-weight: 600; margin: 24px 0 8px; line-height: 1.25; }
.article-rich h2 { font-size: 1.6rem; } .article-rich h3 { font-size: 1.3rem; } .article-rich h4 { font-size: 1.1rem; }
.article-rich p { margin: 0 0 12px; }
.article-rich ul, .article-rich ol { margin: 0 0 14px 22px; }
.article-rich li { margin-bottom: 6px; }
.article-rich a { color: var(--lacquer); border-bottom: 1px solid var(--lacquer); }
.article-rich img { margin: 12px 0; border: 1px solid var(--line); }
.article-rich blockquote { border-left: 2px solid var(--gold); padding: 6px 14px; background: var(--bg-cream); margin: 0 0 14px; }
.article-places { margin-top: 24px; border-top: 1px solid var(--line); padding-top: 18px; }
.article-places h4 { font-size: 0.8rem; letter-spacing: 2px; text-transform: uppercase; color: var(--lacquer); margin-bottom: 10px; }
.article-places .place-grid { grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); }

/* ── Footer (compact) ── */
.guide-footer { padding-top: 40px; }
.guide-footer .footer-grid { grid-template-columns: 1.4fr 1fr 1fr; }

@media (max-width: 768px) {
  .guide-hero { padding: 100px 0 28px; }
  .motif-guide-right, .motif-guide-left { display: none; }
  .cat-tiles { grid-template-columns: repeat(2, 1fr); gap: 10px; padding-bottom: 32px; }
  .cat-tile { padding: 14px 12px; }
  .place-grid { grid-template-columns: 1fr; }
  .guide-modal-content { padding: 28px 20px; max-height: 94vh; }
  .article-full-cover { margin: -28px -20px 20px; height: 180px; }
  .home-picker select { min-width: 160px; }
}
