/* Guide · Visit the clinic (template-parts/guide/visit.php) – photo + details card, map that loads on tap */
.g-visit-grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(20px, 3vw, 40px); align-items: stretch; }
.g-visit-photo .media { height: 100%; min-height: 360px; border-radius: var(--r-lg); }
.g-visit-card { background: var(--card); border: 1px solid var(--line); border-radius: var(--r-lg); padding: clamp(26px, 3.4vw, 44px); display: grid; gap: 26px; align-content: start; }
.g-visit-block h3 { display: flex; align-items: center; gap: 10px; font-size: 1.1rem; margin: 0 0 10px; }
.g-visit-block h3 .icon { width: 20px; height: 20px; color: var(--accent-text); }
.g-visit-block address { font-style: normal; color: var(--text); line-height: 1.6; }
.g-visit-block .status { font-weight: 600; color: var(--ink); font-size: .95rem; margin-bottom: 6px; }
.g-visit-hours { list-style: none; margin: 0 0 0 19px; padding: 0; color: var(--muted); display: grid; gap: 2px; }
.g-visit-block .g-ticks { gap: 12px; }
.g-visit-block .g-ticks li { grid-template-columns: 24px minmax(0, 1fr); gap: 10px; }
.g-visit-block .g-ticks .icon { width: 24px; height: 24px; padding: 5px; }
.g-visit-btns { display: flex; flex-wrap: wrap; gap: 12px; }

/* Map: placeholder first, Google iframe only after “Show map” */
.g-map { position: relative; margin-top: clamp(20px, 3vw, 40px); border-radius: var(--r-lg); overflow: hidden; aspect-ratio: 16 / 6; min-height: 300px; background: var(--bg-2); color: var(--ink); }
.g-map-frame, .g-map-frame iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.g-map-cover { position: absolute; inset: 0; display: grid; place-content: center; justify-items: center; gap: 16px; padding: 24px; text-align: center; }
.g-map-lines { position: absolute; inset: 0; width: 100%; height: 100%; color: var(--accent-text); }
.g-map-pin { position: relative; width: 60px; height: 60px; border-radius: 50%; display: grid; place-items: center; background: var(--btn); color: var(--btn-text); box-shadow: 0 0 0 10px color-mix(in srgb, var(--brand-primary) 12%, transparent); }
.g-map-pin .icon { width: 26px; height: 26px; }
.g-map-actions { position: relative; display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.g-map-actions .btn-line { background: color-mix(in srgb, var(--bg) 80%, transparent); }
.g-map-note { position: relative; margin: 0; font-size: .85rem; color: var(--muted); max-width: 40ch; }
.g-map.is-loaded .g-map-cover { display: none; }

@media (max-width: 900px) {
	.g-visit-grid { grid-template-columns: 1fr; }
	.g-visit-photo .media { min-height: 0; aspect-ratio: 4 / 3; height: auto; }
	.g-map { aspect-ratio: 4 / 5; max-height: 460px; }
}
@media (max-width: 420px) { .g-visit-btns .btn { flex: 1 1 100%; } }
