/* Area guide (public/shared/guide.js). Light by default (booking site); the stay page sets the
   --gd-* tokens for its dark theme. Every photo is shown 4:3 so the rows look like one set. */
.gd, .gd-sheet {
  --gd-ink: #0c0c0c; --gd-text: #1a1a1a; --gd-muted: #6a6a6a; --gd-line: #ebebeb; --gd-soft: #f6f5f2;
  --gd-card: #fff; --gd-accent: #c6a15b; --gd-navy: #1b2a44; --gd-radius: 16px;
}
.gd-sheet svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; }
.gd {
  display: grid; gap: 22px; color: var(--gd-text); min-width: 0;
}
.gd svg { width: 22px; height: 22px; fill: none; stroke: currentColor; stroke-width: 1.6; stroke-linecap: round; stroke-linejoin: round; flex: none; }
.gd h2 { font-size: 24px; margin: 0; color: var(--gd-ink); }
.gd h3 { font-size: 19px; margin: 0; color: var(--gd-ink); }
.gd-top { display: grid; gap: 12px; }
.gd-intro { display: grid; gap: 4px; max-width: 68ch; }
.gd-intro b { color: var(--gd-ink); }
.gd-intro p, .gd-tip p, .gd-sheet p { margin: 0; color: var(--gd-muted); line-height: 1.55; }

/* Category tabs: icon over label, scroll sideways, the open one underlined. */
.gd-tabs { display: flex; gap: 6px; overflow-x: auto; scrollbar-width: none; border-bottom: 1px solid var(--gd-line); position: sticky; top: var(--gd-sticky, 0px); z-index: 3; background: var(--gd-bg, #fff); padding-top: 6px; }
.gd-tabs::-webkit-scrollbar { display: none; }
.gd-tabs button { flex: none; display: grid; justify-items: center; gap: 6px; min-height: 0; padding: 8px 12px 12px; border: 0; border-bottom: 2px solid transparent; border-radius: 0; background: none; color: var(--gd-muted); font: inherit; font-size: 12.5px; font-weight: 600; cursor: pointer; white-space: nowrap; }
.gd-tabs button svg { width: 26px; height: 26px; }
.gd-tabs button:hover { color: var(--gd-ink); }
.gd-tabs button.on { color: var(--gd-ink); border-bottom-color: var(--gd-ink); }

.gd-body { display: grid; gap: 30px; }
.gd-sec { display: grid; gap: 14px; min-width: 0; }
.gd-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 12px; }
.gd-head > div:first-child { display: grid; gap: 2px; }
.gd-head-r { display: flex; align-items: center; gap: 10px; }
.gd-count { color: var(--gd-muted); font-size: 13px; }
.gd-link { border: 0; background: none; padding: 0; min-height: 0; font: inherit; font-weight: 600; text-decoration: underline; color: var(--gd-ink); cursor: pointer; }
.gd-arrows { display: flex; gap: 6px; }
.gd-arrows button { width: 32px; height: 32px; min-height: 32px; padding: 0; border-radius: 50%; border: 1px solid var(--gd-line); background: var(--gd-card); color: var(--gd-ink); cursor: pointer; display: inline-flex; align-items: center; justify-content: center; }
.gd-sub { margin: 6px 0 -4px; font-size: 15px; color: var(--gd-ink); }

/* Cards */
.gd-row { display: grid; grid-auto-flow: column; grid-auto-columns: calc((100% - 3 * 16px) / 4); gap: 16px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; padding-bottom: 4px; }
.gd-row::-webkit-scrollbar { display: none; }
.gd-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px, 1fr)); gap: 22px 16px; }
.gd-card { all: unset; box-sizing: border-box; display: grid; gap: 4px; align-content: start; cursor: pointer; scroll-snap-align: start; min-width: 0; }
.gd-card:focus-visible { outline: 2px solid var(--gd-ink); outline-offset: 4px; border-radius: var(--gd-radius); }
.gd-ph { position: relative; aspect-ratio: 4 / 3; border-radius: var(--gd-radius); overflow: hidden; background: var(--gd-soft); margin-bottom: 6px; }
.gd-ph img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .35s; }
.gd-card:hover .gd-ph img { transform: scale(1.03); }
.gd-noimg { display: grid; place-items: center; background: linear-gradient(145deg, var(--gd-navy), #0f1a2e); color: var(--gd-accent); }
.gd-noimg svg { width: 46px; height: 46px; stroke-width: 1.3; }
.gd-credit { position: absolute; inset-inline-end: 8px; bottom: 6px; font-size: 10px; color: #fff; background: rgba(0, 0, 0, .45); padding: 1px 6px; border-radius: 6px; }
.gd-name { font-weight: 600; color: var(--gd-ink); line-height: 1.3; }
.gd-meta { color: var(--gd-muted); font-size: 13px; }
.gd-note { color: var(--gd-muted); font-size: 13.5px; line-height: 1.45; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }

/* Good to know */
.gd-tips { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gd-tip { display: flex; gap: 12px; padding: 16px; border: 1px solid var(--gd-line); border-radius: var(--gd-radius); background: var(--gd-card); }
.gd-tip b { display: block; color: var(--gd-ink); margin-bottom: 4px; }
.gd-tic { width: 40px; height: 40px; border-radius: 12px; display: grid; place-items: center; background: var(--gd-soft); color: var(--gd-ink); flex: none; }

/* Detail sheet */
.gd-sheet { border: 0; padding: 0; border-radius: 22px; width: min(520px, calc(100% - 24px)); max-height: calc(100% - 40px); overflow: auto; background: var(--gd-card, #fff); color: var(--gd-text, #1a1a1a); box-shadow: 0 20px 60px rgba(0, 0, 0, .3); }
.gd-sheet::backdrop { background: rgba(0, 0, 0, .5); }
.gd-sheet .gd-ph { border-radius: 0; margin: 0; aspect-ratio: 4 / 3; }
.gd-sheet-b { padding: 18px 20px 22px; display: grid; gap: 8px; }
.gd-sheet h3 { font-size: 22px; }
.gd-x { position: absolute; top: 12px; inset-inline-end: 12px; z-index: 2; width: 36px; height: 36px; min-height: 36px; padding: 0; border-radius: 50%; border: 0; background: #fff; color: #0c0c0c; font-size: 22px; line-height: 1; cursor: pointer; box-shadow: 0 2px 10px rgba(0, 0, 0, .2); }
.gd-acts { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 8px; }
.gd-act { display: inline-flex; align-items: center; gap: 8px; padding: 10px 14px; border-radius: 999px; border: 1px solid var(--gd-line); color: var(--gd-ink); text-decoration: none; font-weight: 600; font-size: 14px; }
.gd-act svg { width: 18px; height: 18px; }
.gd-act:hover { background: var(--gd-soft); }
.gd-sheet .gd-meta, .gd-sheet p { color: var(--gd-muted); }

@media (max-width: 860px) {
  .gd-row { grid-auto-columns: 72%; }
  .gd-arrows { display: none; }
  .gd-grid { grid-template-columns: 1fr 1fr; gap: 18px 12px; }
}
@media (max-width: 420px) { .gd-grid { grid-template-columns: 1fr; } }

/* Emergency numbers: contact cards, no photos */
.gd-contacts { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 12px; }
.gd-contact { display: flex; gap: 14px; padding: 16px; border: 1px solid var(--gd-line); border-radius: var(--gd-radius); background: var(--gd-card); }
.gd-cic { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: #fbeaea; color: #b3261e; flex: none; }
.gd-cbody { display: grid; gap: 3px; min-width: 0; align-content: start; }
.gd-cbody b { color: var(--gd-ink); }
.gd-nums { display: flex; flex-wrap: wrap; align-items: flex-start; gap: 6px; margin-top: 8px; }
.gd-num { display: inline-flex; align-items: center; gap: 6px; height: 34px; padding: 0 14px; border-radius: 999px; background: var(--gd-ink); color: var(--gd-card); text-decoration: none; font-weight: 700; font-size: 14px; letter-spacing: .02em; }
.gd-num.gd-map { background: transparent; color: var(--gd-ink); border: 1px solid var(--gd-line); font-weight: 600; }
.gd-num svg { width: 16px; height: 16px; }
