/*
Theme Name: Local Guide
Description: Lightweight block theme for a local travel guide.
Version: 0.3.1
Requires at least: 6.6
Tested up to: 7.1
Requires PHP: 8.0
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: localguide
*/

:root {
	--lg-espresso: #2E211A;
	--lg-night: #2A1C14;
	--lg-cream: #FBF6EF;
	--lg-sand: #F4EBDF;
	--lg-red: #C93B22;
	--lg-red-dark: #9E2C17;
	--lg-ember: #F0603F;
	--lg-blush: #FBE3DA;
	--lg-ink: #2B1F18;
	--lg-muted: #6B5848;
	--lg-line: #D9C9B6;
	--lg-on-dark: #F1E6D8;
	--lg-on-dark-muted: #CDBBA8;
	--lg-shadow: 0 6px 18px rgba(46, 33, 26, 0.09);
	--lg-shadow-lift: 0 14px 36px rgba(46, 33, 26, 0.14);
	--lg-wide: 1280px;
}

body { margin: 0; -webkit-font-smoothing: antialiased; }
.lg-wrap { max-width: var(--lg-wide); margin-inline: auto; padding-inline: 24px; box-sizing: border-box; width: 100%; }

.lg-header { background: var(--lg-espresso); color: #fff; }
.lg-header__inner { max-width: var(--lg-wide); margin-inline: auto; padding: 10px 24px; box-sizing: border-box; gap: 12px; }
.lg-header .wp-block-site-title, .lg-footer .wp-block-site-title { margin: 0; font-size: 22px; font-weight: 900; letter-spacing: 0.05em; text-transform: uppercase; line-height: 1; }
.lg-header .wp-block-site-title a, .lg-footer .wp-block-site-title a { color: #fff; text-decoration: none; display: inline-block; padding: 12px 0; }
.lg-accent { color: var(--lg-ember); }
.lg-header__nav { gap: 4px; align-items: center; }
.lg-header .wp-block-navigation { font-size: 14px; font-weight: 600; gap: 0; }
.lg-header .wp-block-navigation a, .lg-header .wp-block-navigation .wp-block-navigation-item__content { color: #fff; text-decoration: none; padding: 12px; display: inline-block; }
.lg-header .wp-block-navigation a:hover { color: var(--lg-blush); }
.lg-header .wp-block-navigation__responsive-container-open, .lg-header .wp-block-navigation__responsive-container-close { color: #fff; }
.lg-header .wp-block-navigation__responsive-container.is-menu-open { background: var(--lg-espresso); color: #fff; }
.lg-header .wp-block-search__button { background: transparent; color: #fff; border: 0; min-width: 44px; min-height: 44px; padding: 0; }
.lg-header .wp-block-search__button svg { fill: currentColor; width: 24px; height: 24px; }
.lg-header .wp-block-search__input { border-radius: 999px; border: 0; padding: 10px 16px; font: inherit; }

.lg-hero { background: var(--lg-night); color: #fff; overflow: hidden; }
.lg-hero__inner { max-width: var(--lg-wide); margin-inline: auto; padding: 72px 24px 140px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.lg-hero h1 { color: #fff; margin: 0 0 20px; max-width: 12ch; }
.lg-hero p { color: var(--lg-on-dark); font-size: 1.25rem; line-height: 1.5; max-width: 26ch; margin: 0 0 28px; }
.lg-hero .lg-photo { min-height: 360px; border-radius: 22px; background: #3A2A20; color: var(--lg-on-dark-muted); }
.lg-btn .wp-block-button__link { box-shadow: 0 8px 22px rgba(201, 59, 34, 0.38); min-height: 52px; display: inline-flex; align-items: center; gap: 10px; }
.lg-btn .wp-block-button__link::after { content: ""; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--lg-i-arrow) center / contain no-repeat; mask: var(--lg-i-arrow) center / contain no-repeat; }

.lg-entries { position: relative; max-width: calc(var(--lg-wide) - 48px); margin: -68px auto 0 !important; background: #fff; border-radius: 20px; box-shadow: var(--lg-shadow-lift); padding: 10px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 4px; box-sizing: border-box; }
.lg-entry { position: relative; display: grid; grid-template-columns: 54px 1fr; column-gap: 14px; align-items: center; padding: 20px 18px; border-radius: 14px; margin: 0 !important; transition: background-color .15s ease; }
.lg-entry:hover { background: var(--lg-sand); }
.lg-entry::before { content: ""; grid-row: 1 / span 2; width: 54px; height: 54px; border-radius: 999px; background: var(--lg-blush); }
.lg-entry::after { content: ""; position: absolute; left: 33px; top: 50%; width: 24px; height: 24px; margin-top: -12px; background: var(--lg-red); -webkit-mask: var(--lg-icon) center / contain no-repeat; mask: var(--lg-icon) center / contain no-repeat; pointer-events: none; }
.lg-entry h3 { margin: 0; font-size: 1.0625rem; }
.lg-entry h3 a { color: var(--lg-ink); text-decoration: none; }
.lg-entry h3 a::before { content: ""; position: absolute; inset: 0; border-radius: 14px; }
.lg-entry p { margin: 2px 0 0; font-size: 0.875rem; color: var(--lg-muted); }
.lg-entry--eat { --lg-icon: var(--lg-i-eat); }
.lg-entry--stay { --lg-icon: var(--lg-i-stay); }
.lg-entry--getting-around { --lg-icon: var(--lg-i-train); }
.lg-entry--explore { --lg-icon: var(--lg-i-pin); }

.lg-section { max-width: var(--lg-wide); margin: 0 auto !important; padding: 64px 24px 72px; box-sizing: border-box; }
.lg-section__head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 8px; margin-bottom: 24px; }
.lg-section__head h2 { margin: 0 0 6px; }
.lg-section__head p { margin: 0; color: var(--lg-muted); }
.lg-more a { font-weight: 800; text-decoration: none; display: inline-flex; align-items: center; gap: 6px; padding: 12px 0; }
.lg-more a::after { content: ""; width: 14px; height: 14px; background: currentColor; -webkit-mask: var(--lg-i-arrow) center / contain no-repeat; mask: var(--lg-i-arrow) center / contain no-repeat; }

.lg-cards { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; }
.lg-cards--3 { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }
.lg-card { position: relative; background: #fff; border-radius: 16px; overflow: hidden; box-shadow: var(--lg-shadow); margin: 0 !important; display: flex; flex-direction: column; transition: transform .15s ease, box-shadow .15s ease; }
.lg-card:hover { transform: translateY(-3px); box-shadow: var(--lg-shadow-lift); }
.lg-card__body { position: static; padding: 16px 58px 20px 18px; }
.lg-card__body::after { content: ""; position: absolute; right: 18px; top: 214px; width: 30px; height: 30px; border-radius: 999px; background: var(--lg-red) var(--lg-i-chev-white) center / 14px no-repeat; }
.lg-card h3 { margin: 0 0 4px; }
.lg-card h3 a { color: var(--lg-ink); text-decoration: none; }
.lg-card h3 a::before { content: ""; position: absolute; inset: 0; z-index: 1; }
.lg-card p { margin: 0; font-size: 0.875rem; line-height: 1.45; color: var(--lg-muted); }
.lg-card .lg-photo { min-height: 196px; border-radius: 0; }
.lg-cards--3 .lg-card .lg-photo { min-height: 176px; }
.lg-cards--3 .lg-card__body::after { top: 194px; }
.lg-cards--3 .lg-card .wp-block-image img { height: 176px; }
.lg-card .wp-block-image { margin: 0; }
.lg-card .wp-block-image img { width: 100%; height: 196px; object-fit: cover; display: block; }

.lg-photo { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px; background: var(--lg-sand); color: var(--lg-muted); margin: 0 !important; box-sizing: border-box; }
.lg-photo::before { content: ""; width: 34px; height: 34px; background: currentColor; opacity: .8; -webkit-mask: var(--lg-i-camera) center / contain no-repeat; mask: var(--lg-i-camera) center / contain no-repeat; }
.lg-photo p { margin: 0; font-size: 0.8125rem; font-weight: 700; letter-spacing: .02em; }

.lg-soon { margin-top: 20px !important; border: 1.5px dashed var(--lg-line); border-radius: 16px; padding: 18px 20px 18px 52px; color: var(--lg-muted); position: relative; }
.lg-soon::before { content: ""; position: absolute; left: 20px; top: 50%; margin-top: -10px; width: 20px; height: 20px; background: currentColor; -webkit-mask: var(--lg-i-lock) center / contain no-repeat; mask: var(--lg-i-lock) center / contain no-repeat; }
.lg-soon p { margin: 0; }

.lg-band { background: var(--lg-night); color: #fff; overflow: hidden; }
.lg-band__inner { max-width: var(--lg-wide); margin-inline: auto; padding: 80px 24px 148px; box-sizing: border-box; display: grid; grid-template-columns: minmax(0, 5fr) minmax(0, 6fr); gap: 48px; align-items: center; }
.lg-band h2 { color: #fff; font-size: clamp(2.25rem, 4.4vw, 3.5rem); margin: 0 0 16px; }
.lg-band p { color: var(--lg-on-dark); font-size: 1.125rem; line-height: 1.55; margin: 0 0 24px; }
.lg-band .lg-photo { min-height: 320px; border-radius: 22px; background: #3A2A20; color: var(--lg-on-dark-muted); }
.lg-eyebrow { display: inline-flex !important; align-items: center; gap: 8px; font-size: 0.8125rem !important; font-weight: 800; letter-spacing: .14em; text-transform: uppercase; color: #F6C9B8 !important; margin: 0 0 14px !important; }
.lg-eyebrow::before { content: ""; border-top: 5px solid transparent; border-bottom: 5px solid transparent; border-left: 7px solid var(--lg-ember); }
.lg-overlap { position: relative; margin-top: -92px !important; padding-top: 0; }

.lg-pagehero { background: var(--lg-night); color: #fff; }
.lg-pagehero__inner { max-width: var(--lg-wide); margin-inline: auto; padding: 56px 24px 64px; box-sizing: border-box; }
.lg-pagehero h1 { color: #fff; font-size: clamp(2.25rem, 4.6vw, 3.75rem); margin: 0 0 14px; }
.lg-pagehero .wp-block-post-excerpt { color: var(--lg-on-dark); font-size: 1.1875rem; line-height: 1.5; max-width: 620px; margin: 0; }
.lg-pagehero .wp-block-post-excerpt p { margin: 0; }
.lg-crumb { margin: 0 0 14px !important; font-size: 0.875rem; color: var(--lg-on-dark-muted); }
.lg-crumb a { color: #F6C9B8; font-weight: 700; text-decoration: none; padding: 10px 0; }
.lg-crumb a::before { content: "\2190\00a0"; }
.lg-pagebody { max-width: var(--lg-wide); margin-inline: auto; padding: 48px 24px 72px; box-sizing: border-box; }

.lg-box { background: #fff; border-radius: 18px; box-shadow: var(--lg-shadow); padding: 28px; }
.lg-box h2 { font-size: 1.5rem; margin: 0 0 10px; }
.lg-box p { color: var(--lg-muted); margin: 0 0 18px; }
.lg-placeholder-photo { min-height: 320px; border-radius: 18px; border: 2px dashed var(--lg-line); margin-bottom: 20px !important; }
.lg-links { background: #fff; border-radius: 18px; box-shadow: var(--lg-shadow); padding: 22px; margin-top: 20px !important; }
.lg-links h2 { font-size: 0.8125rem; letter-spacing: .12em; text-transform: uppercase; color: var(--lg-muted); margin: 0 0 6px; }
.lg-links ul { list-style: none; margin: 0; padding: 0; }
.lg-links li { border-bottom: 1px solid #F0E6DA; }
.lg-links li:last-child { border-bottom: 0; }
.lg-links li a { display: block; padding: 10px 0; color: var(--lg-ink); font-weight: 700; text-decoration: none; }
.lg-links li a:hover { color: var(--lg-red); }

.lg-posts { max-width: var(--lg-wide); margin-inline: auto; padding: 48px 24px 72px; box-sizing: border-box; }
.lg-posts .wp-block-post-template { gap: 20px; }
.lg-posts .wp-block-post { background: #fff; border-radius: 16px; box-shadow: var(--lg-shadow); padding: 20px; }
.lg-posts .wp-block-post-title { font-size: 1.1875rem; margin: 0 0 6px; }
.lg-posts .wp-block-post-title a { color: var(--lg-ink); text-decoration: none; }

.lg-footer { background: var(--lg-espresso); color: #E9DCCB; }
.lg-footer__inner { max-width: var(--lg-wide); margin-inline: auto; padding: 32px 24px; box-sizing: border-box; gap: 18px; }
.lg-footer .wp-block-site-title { font-size: 20px; }
.lg-footer .wp-block-navigation { font-size: 14px; font-weight: 600; }
.lg-footer .wp-block-navigation a { color: #E9DCCB; text-decoration: none; padding: 12px 0; display: inline-block; }
.lg-footer .wp-block-navigation a:hover { color: #fff; }
.lg-footer__note { border-top: 1px solid #45342A; }
.lg-footer__note p { max-width: var(--lg-wide); margin: 0 auto; padding: 14px 24px; font-size: 12px; color: #B9A893; box-sizing: border-box; }

:root {
	--lg-i-arrow: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12h14M13 6l6 6-6 6'/%3E%3C/svg%3E");
	--lg-i-chev-white: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M9 6l6 6-6 6'/%3E%3C/svg%3E");
	--lg-i-eat: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3v8M5 3v5a2 2 0 0 0 4 0V3M7 11v10M17 21V3c-2.2 0-4 2.2-4 6v4h4'/%3E%3C/svg%3E");
	--lg-i-stay: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 19V8M3 15h18v4M21 15v-3a3 3 0 0 0-3-3h-7v6'/%3E%3Ccircle cx='7' cy='12' r='2'/%3E%3C/svg%3E");
	--lg-i-train: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='3' width='14' height='14' rx='3'/%3E%3Cpath d='M5 11h14M8 21l2-4M16 21l-2-4'/%3E%3C/svg%3E");
	--lg-i-pin: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-7-6.2-7-11.5A7 7 0 0 1 19 9.5C19 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.5' r='2.5'/%3E%3C/svg%3E");
	--lg-i-camera: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='3' y='6' width='18' height='14' rx='3'/%3E%3Cpath d='M8 6l1.5-2.5h5L16 6'/%3E%3Ccircle cx='12' cy='13' r='3.5'/%3E%3C/svg%3E");
	--lg-i-lock: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='10' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3C/svg%3E");
}

@media (max-width: 960px) {
	.lg-entries { grid-template-columns: repeat(2, minmax(0, 1fr)); margin-inline: 16px !important; }
	.lg-hero__inner, .lg-band__inner { grid-template-columns: 1fr; gap: 28px; }
	.lg-hero .lg-photo { min-height: 220px; }
	.lg-band .lg-photo { min-height: 200px; }
}
@media (max-width: 560px) {
	.lg-entries { grid-template-columns: 1fr; }
	.lg-hero__inner { padding: 48px 20px 110px; }
	.lg-section { padding: 48px 20px 56px; }
}

.lg-map { max-width: var(--lg-wide); margin: 0 auto; padding: 64px 24px 72px; box-sizing: border-box; }
.lg-map__grid { display: grid; grid-template-columns: minmax(0, 4fr) minmax(0, 7fr); gap: 40px; align-items: start; }
.lg-map__intro { padding-top: 24px; }
.lg-map__intro h2 { margin: 0 0 12px; }
.lg-map__intro > p { margin: 0 0 8px; color: var(--lg-muted); }
.lg-map__list { list-style: none; margin: 12px 0 0; padding: 0; }
.lg-map__list a { display: flex; align-items: center; gap: 10px; padding: 11px 0; border-bottom: 1px solid #EFE3D5; color: var(--lg-ink); font-weight: 800; text-decoration: none; }
.lg-map__list a:hover { color: var(--lg-red); }
.lg-map__bullet { width: 10px; height: 10px; border-radius: 999px; background: var(--lg-red); flex: none; }
.lg-map__region { margin-left: auto; font-size: 0.8125rem; font-weight: 600; color: var(--lg-muted); }
.lg-map__soon { position: relative; padding-left: 26px; margin: 14px 0 0 !important; font-size: 0.875rem; color: var(--lg-muted); }
.lg-map__soon::before { content: ""; position: absolute; left: 0; top: 3px; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--lg-i-lock) center / contain no-repeat; mask: var(--lg-i-lock) center / contain no-repeat; }
.lg-map .lg-more { margin: 6px 0 0; }
.lg-map__stage { position: relative; width: 100%; max-width: 680px; margin-left: auto; aspect-ratio: 1 / 1; background: var(--lg-sand); border-radius: 24px; }
.lg-map__svg { position: absolute; inset: 0; width: 100%; height: 100%; display: block; }
.lg-map__land { fill: #E6D6C3; stroke: #CDBBA8; stroke-width: 1.2; stroke-linejoin: round; }
.lg-map__inset { fill: var(--lg-cream); stroke: var(--lg-line); stroke-width: 1.5; }
.lg-map__insetlabel { font-size: 15px; font-weight: 700; fill: var(--lg-muted); }
.lg-map__leader { fill: none; stroke: var(--lg-ink); stroke-width: 2; stroke-dasharray: 4 4; }
.lg-map__dot { fill: var(--lg-ink); }
.lg-map__pin { position: absolute; width: 0; height: 0; z-index: 2; }
.lg-map__pin.is-open { z-index: 4; }
.lg-map__btn { position: absolute; left: -18px; top: -18px; min-height: 44px; padding: 6px; border: 0; background: transparent; display: flex; align-items: center; gap: 6px; cursor: pointer; font: inherit; color: inherit; }
.lg-map__btn:focus-visible { outline: 3px solid var(--lg-ink); outline-offset: 2px; border-radius: 999px; }
.lg-map__marker { width: 18px; height: 18px; flex: none; border-radius: 999px; background: var(--lg-red); border: 3px solid #fff; box-shadow: 0 3px 10px rgba(46, 33, 26, .3); color: #fff; font-size: 13px; font-weight: 900; display: flex; align-items: center; justify-content: center; }
.lg-map__pin.is-area .lg-map__btn { left: -24px; top: -24px; }
.lg-map__pin.is-area .lg-map__marker { width: 30px; height: 30px; }
.lg-map__label { background: #fff; color: var(--lg-ink); font-size: 14px; font-weight: 800; padding: 4px 10px; border-radius: 999px; box-shadow: 0 2px 8px rgba(46, 33, 26, .15); white-space: nowrap; }
.lg-map__pin.is-open .lg-map__marker { background: var(--lg-red-dark); }
.lg-map__pin.is-open .lg-map__label { background: var(--lg-ink); color: #fff; }
.lg-map__pop { position: absolute; z-index: 5; left: 14px; top: 14px; width: max-content; max-width: 520px; background: var(--lg-cream); border-radius: 18px; box-shadow: 0 18px 44px rgba(46, 33, 26, .24); }
.lg-map__pop.is-left { left: auto; right: 14px; }
.lg-map__pop.is-up { top: auto; bottom: 14px; }
.lg-map__pop[hidden], .lg-map__sheet[hidden] { display: none; }
.lg-map__pophead { display: flex; align-items: center; justify-content: space-between; padding: 8px 8px 4px 14px; font-size: 0.75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lg-muted); }
.lg-map__close { width: 36px; height: 36px; border: 0; border-radius: 999px; background: transparent; cursor: pointer; position: relative; color: var(--lg-muted); }
.lg-map__close::before { content: ""; position: absolute; inset: 0; margin: auto; width: 16px; height: 16px; background: currentColor; -webkit-mask: var(--lg-i-close) center / contain no-repeat; mask: var(--lg-i-close) center / contain no-repeat; }
.lg-map__cards { display: flex; gap: 10px; padding: 0 12px 12px; overflow-x: auto; }
.lg-map__card { width: 220px; flex: none; background: #fff; border: 1px solid #EFE3D5; border-radius: 14px; overflow: hidden; display: flex; flex-direction: column; color: var(--lg-ink); text-decoration: none; transition: box-shadow .15s ease; }
.lg-map__card:hover { box-shadow: var(--lg-shadow-lift); color: var(--lg-ink); }
.lg-map__card img { width: 100%; height: 110px; object-fit: cover; display: block; }
.lg-map__ph { height: 110px; background: var(--lg-sand); color: var(--lg-muted); display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 6px; font-size: 0.75rem; font-weight: 700; }
.lg-map__ph::before { content: ""; width: 26px; height: 26px; background: currentColor; opacity: .8; -webkit-mask: var(--lg-i-camera) center / contain no-repeat; mask: var(--lg-i-camera) center / contain no-repeat; }
.lg-map__cardbody { padding: 12px 14px 14px; display: flex; flex-direction: column; gap: 4px; }
.lg-map__cardname { font-size: 1.0625rem; font-weight: 900; }
.lg-map__carddesc { font-size: 0.8125rem; line-height: 1.45; color: var(--lg-muted); }
.lg-map__cardgo { margin-top: 6px; font-size: 0.8125rem; font-weight: 800; color: var(--lg-red); }
.lg-map__cardgo::after { content: " \2192"; }
.lg-map__sheet { display: none; }
:root { --lg-i-close: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round'%3E%3Cpath d='M6 6l12 12M18 6L6 18'/%3E%3C/svg%3E"); }
@media (max-width: 760px) {
	.lg-map { padding: 48px 20px 56px; }
	.lg-map__grid { grid-template-columns: 1fr; gap: 20px; }
	.lg-map__intro { padding-top: 0; }
	.lg-map__stage { max-width: none; }
		.lg-map__sheet:not([hidden]) { display: block; margin-top: 14px; background: var(--lg-cream); border-radius: 18px; box-shadow: var(--lg-shadow-lift); }
	.lg-map__sheet .lg-map__close { width: 44px; height: 44px; }
	.lg-map__label { font-size: 12px; padding: 3px 8px; }
	.lg-map__card { width: 240px; }
}

.lg-map { overflow-x: clip; }
.lg-map__grid > * { min-width: 0; }
.lg-map__halo { fill: rgba(201, 59, 34, .10); stroke: var(--lg-red); stroke-width: 1.5; stroke-dasharray: 5 4; }
.lg-map__citydot { fill: var(--lg-red); stroke: #fff; stroke-width: 3; }
.lg-map__cards { scroll-snap-type: x mandatory; }
.lg-map__card { scroll-snap-align: start; }
@media (max-width: 760px) {
	.lg-map__sheet { width: 100%; overflow: hidden; }
	.lg-map__sheet .lg-map__cards { padding-right: 16px; }
	.lg-map__sheet .lg-map__card { width: 62%; min-width: 0; }
	.lg-map__sheet .lg-map__card:only-child { width: 100%; }
}

.lg-map__region { fill: rgba(201, 59, 34, .14); stroke: var(--lg-red); stroke-width: 1.5; stroke-dasharray: 5 4; stroke-linejoin: round; }
@media (min-width: 761px) {
	.lg-map__pop { max-width: 720px; }
	.lg-map__pop .lg-map__cards { flex-wrap: wrap; overflow: visible; scroll-snap-type: none; }
}

@keyframes lg-pop-in { from { opacity: 0; transform: translateY(8px) scale(.97); } to { opacity: 1; transform: none; } }
@media (min-width: 761px) {
	.lg-map__pop { top: auto !important; bottom: 18px; width: 320px; max-width: none; border-radius: 18px; box-shadow: 0 28px 60px rgba(30, 20, 14, .34), 0 6px 16px rgba(30, 20, 14, .18); animation: lg-pop-in .18s ease-out; transform-origin: bottom left; }
	.lg-map__pop.is-left { transform-origin: bottom right; }
	.lg-map__pop .lg-map__cards { flex-direction: column; flex-wrap: nowrap; gap: 8px; overflow: visible; scroll-snap-type: none; }
	.lg-map__pop .lg-map__card { width: 100%; box-sizing: border-box; flex-direction: row; align-items: stretch; }
	.lg-map__pop .lg-map__card img, .lg-map__pop .lg-map__ph { width: 96px; height: auto; min-height: 96px; flex: none; }
	.lg-map__pop .lg-map__ph span { display: none; }
	.lg-map__pop .lg-map__cardbody { padding: 10px 12px; }
	.lg-map__sheet { display: none !important; }
}
@media (max-width: 760px) {
	.lg-map__pop { display: none !important; }
}

.lg-map__citydot { display: none; }
.lg-map__cdot { position: absolute; width: 12px; height: 12px; margin: -8px 0 0 -8px; border-radius: 999px; background: var(--lg-red); border: 2px solid #fff; box-shadow: 0 1px 3px rgba(46, 33, 26, .3); transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s ease; z-index: 1; pointer-events: none; }
.lg-map__cdotlabel { position: absolute; bottom: calc(100% + 6px); left: 50%; transform: translateX(-50%); background: var(--lg-ink); color: #fff; font-size: 12px; font-weight: 800; padding: 2px 8px; border-radius: 999px; white-space: nowrap; opacity: 0; transition: opacity .15s ease; }
.lg-map__cdot.is-hot { transform: translateY(-9px) scale(1.35); box-shadow: 0 9px 10px rgba(46, 33, 26, .35); z-index: 8; }
.lg-map__cdot.is-hot .lg-map__cdotlabel { opacity: 1; }
.lg-map__marker { transition: transform .2s cubic-bezier(.3, 1.6, .5, 1), box-shadow .2s ease; }
.lg-map__pin.is-hot .lg-map__marker, .lg-map__pin.is-open:not(.is-area) .lg-map__marker { transform: translateY(-7px); box-shadow: 0 11px 14px rgba(46, 33, 26, .35); }
.lg-map__pin.is-area .lg-map__label { text-transform: uppercase; letter-spacing: .12em; font-size: 12px; padding: 5px 11px; background: var(--lg-ink); color: #fff; }
.lg-map__pin.is-area .lg-map__marker { background: #fff; color: var(--lg-ink); border-color: var(--lg-ink); }
.lg-map__pin.is-area.is-open .lg-map__marker { background: var(--lg-ink); color: #fff; border-color: #fff; }
.lg-map__listhead { font-size: .75rem; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--lg-muted); padding: 16px 0 2px; }
.lg-map__list li:first-child.lg-map__listhead { padding-top: 4px; }
.lg-map__list a { padding-left: 12px; }
.lg-map__list a.is-hot { color: var(--lg-red); }

.lg-map__pin.is-open:not(.is-area) .lg-map__label, .lg-map__pin.is-hot:not(.is-area) .lg-map__label { background: var(--lg-red); color: #fff; }
.lg-map__pin.is-open:not(.is-area) .lg-map__marker { background: var(--lg-red); }
.lg-map__cdotlabel { background: var(--lg-red); }

.lg-map__cdot { width: 8px; height: 8px; margin: -5px 0 0 -5px; border-width: 1.5px; transform: none !important; transition: box-shadow .2s ease; }
.lg-map__cdot.is-hot { box-shadow: 0 0 0 4px rgba(201, 59, 34, .25); }
.lg-map__cdotlabel { bottom: 34px; left: 50%; transform: translate(-50%, 6px); background: var(--lg-red); font-size: 13px; padding: 3px 10px; box-shadow: 0 4px 10px rgba(46, 33, 26, .25); transition: opacity .15s ease, transform .2s ease; }
.lg-map__cdotlabel::after { content: ""; position: absolute; left: 50%; top: 100%; width: 0; height: 26px; border-left: 1.5px dashed var(--lg-ink); }
.lg-map__cdot.is-hot .lg-map__cdotlabel { transform: translate(-50%, 0); }
@media (max-width: 760px) {
	.lg-map__cdot { width: 6px; height: 6px; margin: -4px 0 0 -4px; }
	.lg-map__cdotlabel { font-size: 12px; padding: 2px 8px; bottom: 30px; }
	.lg-map__cdotlabel::after { height: 22px; }
}

/* city order phone: PC = north to south, phone = population (set in inc/city-map.php) */
@media (max-width: 600px) { .lg-map__list { display: flex; flex-direction: column; } .lg-map__list > li, .lg-map__cards > .lg-map__card { order: var(--mo, 0); } }

/* 2026-11-09 スマホ横はみ出し防止（横スライド部品があってもページ幅を広げない） */
.lg-guide__main{min-width:0}
