/* Pilgrim parking map — [pilgrim_parking_map]. From the "Getting to Pilgrim" design. */

.pgp-head { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 16px; margin-bottom: 32px; }
.pgp-head .pg-eyebrow { margin-bottom: 12px; }
html body .pgp-head .pg-section-title { margin: 0; }
.pgp-head__intro { max-width: 420px; margin: 0; color: var(--pg-muted, #4A4A44); }

.pgp-map { padding: 24px; background: var(--pg-sand, #EBE8E1); }
.pgp-legend { display: flex; flex-wrap: wrap; gap: 12px 28px; margin: 0 0 12px; padding: 0; list-style: none; font-size: 12px; letter-spacing: .2em; text-transform: uppercase; }
.pgp-legend li { display: flex; align-items: center; gap: 10px; margin: 0; }
.pgp-key { display: inline-block; flex: none; width: 14px; height: 14px; border-radius: 50%; border: 1.5px solid #0F1512; box-sizing: border-box; }
.pgp-key--free { background: #3A7D8C; border-color: #3A7D8C; color: #fff; }
.pgp-key--street { background: #0F1512; color: #fff; }
.pgp-key--paid { background: #E7A9A9; color: #0F1512; }

.pgp-svg { display: block; width: 100%; height: auto; overflow: visible; background: var(--pg-stone, #F5F3EE); }
.pgp-label, .pgp-studio { transition: opacity .6s ease; }

/* Animation states (set by the script) */
.pgp-map.is-waiting .pgp-spot, .pgp-map.is-waiting .pgp-street { opacity: 0; }
.pgp-map.is-waiting .pgp-label { transition: none; }
.pgp-map.is-waiting .pgp-label, .pgp-map.is-moving:not(.is-landed) .pgp-label { opacity: 0; }

.pgp-note { margin: 12px 0 0; font-size: 12px; color: var(--pg-muted, #4A4A44); }

/* The list: hidden visually on larger screens (still read by screen readers), shown on phones. */
.pgp-list { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; list-style: none; }
.pgp-list li { display: flex; gap: 12px; margin: 0; padding: 10px 0; border-top: 1px solid rgba(15, 21, 18, .14); font-size: 14px; line-height: 1.45; color: var(--pg-muted, #4A4A44); }
.pgp-list b { font-weight: 500; color: var(--pg-black, #0F1512); }
.pgp-list__type { margin-left: 4px; font-size: 10px; letter-spacing: .2em; text-transform: uppercase; }
.pgp-list__n { display: grid; place-items: center; width: 24px; height: 24px; border-radius: 50%; font-size: 11px; font-weight: 500; flex: none; }

@media (max-width: 640px) {
	.pgp-map { padding: 16px; }
	.pgp-svg .pgp-label { display: none; }
	.pgp-svg .pgp-num { font-size: 19px; }
	.pgp-svg .pgp-spot circle { r: 17px; }
	.pgp-list { position: static; width: auto; height: auto; margin: 16px 0 0; overflow: visible; clip: auto; white-space: normal; }
	.pgp-legend { gap: 8px 18px; font-size: 11px; }
}

/* Tabs: Parking | Area map — boxed tabs, the open one filled black */
.pgp-tabs { display: inline-flex; flex-wrap: wrap; gap: 0; margin: 0 0 20px; border: 1px solid #0F1512; }
html body .pgp-tab {
	margin: 0; padding: 14px 28px; border: 0; border-radius: 0; background: transparent; box-shadow: none;
	font-family: var(--pg-sans, 'Jost', sans-serif); font-size: 14px; font-weight: 500; letter-spacing: .2em; text-transform: uppercase; line-height: 1.2;
	color: var(--pg-black, #0F1512); cursor: pointer; transition: background-color .2s, color .2s;
}
html body .pgp-tab + .pgp-tab { border-left: 1px solid #0F1512; }
html body .pgp-tab:hover, html body .pgp-tab:focus { background: var(--pg-sand, #EBE8E1); color: var(--pg-black, #0F1512); }
html body .pgp-tab[aria-selected="true"], html body .pgp-tab[aria-selected="true"]:hover, html body .pgp-tab[aria-selected="true"]:focus { background: #0F1512; color: #fff; }
html body .pgp-tab:focus-visible { outline: 2px solid var(--pg-push, #B34A55); outline-offset: 3px; }
.pgp-panel:focus-visible { outline: 2px solid var(--pg-black, #0F1512); outline-offset: 4px; }
.pgp-panel[hidden] { display: none; }

/* Area map */
.pga { padding: 24px; background: var(--pg-sand, #EBE8E1); }
.pga-svg { display: block; width: 100%; height: auto; background: #F5F3EE; font-family: var(--pg-sans, 'Jost', sans-serif); }
.pga-land { fill: #F5F3EE; }
.pga-park { fill: #DCE3D3; }
.pga-river { fill: #CBDADB; }
.pga-road { fill: none; stroke-linecap: round; stroke-linejoin: round; }
.pga-road--major-case { stroke: #D9D4C8; stroke-width: 40; }
.pga-road--major { stroke: #fff; stroke-width: 34; }
.pga-road--medium-case { stroke: #DDD8CD; stroke-width: 28; }
.pga-road--medium { stroke: #fff; stroke-width: 23; }
.pga-road--minor-case { stroke: #E2DED4; stroke-width: 17; }
.pga-road--minor { stroke: #fff; stroke-width: 13; }
.pga-bridge-case { fill: none; stroke: #B9C4C4; stroke-width: 34; }
.pga-bridge { fill: none; stroke: #fff; stroke-width: 26; }
.pga-rail { fill: none; stroke: #8E8B83; stroke-width: 4; }
.pga-rail-ties { fill: none; stroke: #8E8B83; stroke-width: 12; stroke-dasharray: 2 14; }
.pga-street { font-size: 20px; font-weight: 500; letter-spacing: .18em; fill: #6E6A61; dominant-baseline: central; text-anchor: middle; }
.pga-water { font-size: 24px; font-style: italic; letter-spacing: .4em; fill: #7A9496; text-anchor: middle; }
.pga-cbd { font-style: normal; fill: #8E8B83; }
.pga-bridgename { font-size: 16px; letter-spacing: .2em; fill: #6E6A61; text-anchor: middle; dominant-baseline: central; }
.pga-place circle { fill: #0F1512; }
.pga-num { fill: #fff; font-size: 17px; font-weight: 500; text-anchor: middle; dominant-baseline: central; }
.pga-label { font-size: 24px; fill: #0F1512; paint-order: stroke; stroke: #F5F3EE; stroke-width: 6px; stroke-linejoin: round; }
.pga-studio__halo { fill: #E7A9A9; opacity: .45; }
.pga-studio__dot { fill: var(--pg-push, #B34A55); stroke: #fff; stroke-width: 4; }
.pga-studio__core { fill: #fff; }
.pga-studio__name { font-size: 30px; font-weight: 500; letter-spacing: .24em; text-anchor: end; fill: #0F1512; paint-order: stroke; stroke: #F5F3EE; stroke-width: 7px; }
.pga-studio__addr { font-size: 20px; text-anchor: end; fill: #4A4A44; paint-order: stroke; stroke: #F5F3EE; stroke-width: 6px; }
.pga-north circle { fill: #fff; stroke: #D9D4C8; }
.pga-north path { fill: #0F1512; }
.pga-north text { font-size: 18px; letter-spacing: .2em; text-anchor: middle; }

/* Landmarks list: hidden visually on larger screens (still read by screen readers), shown on phones. */
.pga-list { position: absolute; width: 1px; height: 1px; margin: -1px; padding: 0; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; border: 0; list-style: none; }
.pga-list li { display: flex; align-items: center; gap: 12px; margin: 0; padding: 8px 0; border-top: 1px solid rgba(15, 21, 18, .14); font-size: 14px; color: var(--pg-black, #0F1512); }
.pga-list__n { display: grid; flex: none; place-items: center; width: 24px; height: 24px; border-radius: 50%; background: #0F1512; color: #fff; font-size: 11px; font-weight: 500; }

@media (max-width: 640px) {
	.pga { padding: 16px; }
	.pga-svg .pga-label, .pga-svg .pga-street, .pga-svg .pga-bridgename, .pga-svg .pga-studio__addr { display: none; }
	.pga-svg .pga-place circle { r: 44px; }
	.pga-svg .pga-num { font-size: 46px; }
	.pga-svg .pga-studio__halo { r: 80px; }
	.pga-svg .pga-studio__dot { r: 38px; stroke-width: 7; }
	.pga-svg .pga-studio__core { r: 11px; }
	.pga-svg .pga-studio__name { font-size: 50px; transform: translate(-30px, 8px); }
	.pga-list { position: static; width: auto; height: auto; margin: 16px 0 0; overflow: visible; clip: auto; white-space: normal; }
	.pgp-tabs { display: flex; }
	html body .pgp-tab { flex: 1 1 0; padding: 13px 10px; font-size: 13px; letter-spacing: .14em; }
}

/* Fish Lane, highlighted */
.pga-fish-case { fill: none; stroke: #D98F94; stroke-width: 30; stroke-linecap: round; stroke-linejoin: round; }
.pga-fish { fill: none; stroke: #F2C9CB; stroke-width: 24; stroke-linecap: round; stroke-linejoin: round; }
.pga-street--fish { font-weight: 600; fill: var(--pg-push, #B34A55); }
@media (max-width: 640px) {
	.pga-svg .pga-street--fish { display: inline; font-size: 40px; }
	.pga-fish-case { stroke-width: 40; }
	.pga-fish { stroke-width: 32; }
}
