/* Wander World Guides — pipeline-rendered article + hub styles.
 * Loaded by wwg-pipeline.php (mu-plugin). Theme-neutral: works on Kadence,
 * block themes, or any successor — the classes belong to our markup, not a
 * theme, so a theme swap never requires re-styling articles.
 *
 * Design language: warm editorial travel magazine. Paper surfaces, ink type,
 * terracotta accent, Fraunces display serif (enqueued by the mu-plugin with
 * a Georgia fallback so the sheet still reads well without it).
 */

:root {
	--wwg-ink: #211c14;
	--wwg-ink-soft: #4c4437;
	--wwg-muted: #837763;
	--wwg-paper: #faf6ee;
	--wwg-sand: #f0e8d7;
	--wwg-line: #e4d9c4;
	--wwg-accent: #b6541f;
	--wwg-accent-deep: #8d3d15;
	--wwg-deep: #1d4a44;
	--wwg-serif: "Fraunces", Georgia, "Times New Roman", serif;
	--wwg-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
		"Helvetica Neue", Arial, sans-serif;
	--wwg-radius: 14px;
	--wwg-shadow: 0 2px 8px rgba(33, 28, 20, 0.07);
	--wwg-shadow-lift: 0 14px 32px rgba(33, 28, 20, 0.16);
}

/* ---------- Site header (theme-independent slim + warm) ---------- */
/* Kadence ids/classes, but harmless on other themes — these selectors only
 * fire where the markup exists. Keeps the header off the critical visual
 * path: compact band, warm paper field instead of stark white. */

#masthead.site-header {
	background: var(--wwg-paper);
	border-bottom: 1px solid var(--wwg-line);
}

#masthead .site-header-row-container-inner {
	padding-top: 10px;
	padding-bottom: 10px;
}

/* cap the logo so the row can actually slim down */
#masthead .custom-logo,
#masthead .site-branding img {
	max-height: 62px;
	width: auto;
}

/* title text next to/instead of the logo: brand serif, ink */
#masthead .site-title {
	font-family: var(--wwg-serif);
	font-size: 1.5rem;
	font-weight: 600;
	color: var(--wwg-ink);
}

/* Kill the giant "page title" band under the header — it only wraps a
 * redundant h1 in a fifth-of-screen padding block. Clipped, not
 * display:none, so the h1 stays for SEO/screen readers. */
/* Reclaim the dead band under the header: Kadence gives .content-area a
 * 5rem top margin (~80px) plus the clipped hero used to sit there too.
 * body prefix beats the theme's inline rule regardless of load order. */
body .content-area {
	margin-top: 1.5rem;
}
@media (max-width: 1024px) {
	body .content-area {
		margin-top: 1.25rem;
	}
}
@media (max-width: 767px) {
	body .content-area {
		margin-top: 1rem;
	}
}

.entry-hero,
.page-hero-section {
	position: absolute !important;
	width: 1px !important;
	height: 1px !important;
	padding: 0 !important;
	margin: -1px !important;
	overflow: hidden !important;
	clip: rect(0 0 0 0) !important;
	clip-path: inset(50%) !important;
	white-space: nowrap !important;
	border: 0 !important;
}

/* ---------- Article rhythm ---------- */

.wwg-section {
	margin-block: 3rem;
}

.wwg-section > h2:first-child,
.wwg-section > h3:first-child {
	margin-top: 0;
}

p.deck {
	font-family: var(--wwg-serif);
	font-size: 1.35rem;
	font-weight: 400;
	line-height: 1.6;
	color: var(--wwg-ink-soft);
	margin: 1.25rem 0 2.25rem;
	max-width: 44rem;
}

/* ---------- Callout ---------- */

.wp-block-group.callout,
aside.callout {
	background: var(--wwg-sand);
	border-left: 4px solid var(--wwg-accent);
	border-radius: 0 var(--wwg-radius) var(--wwg-radius) 0;
	padding: 1.4rem 1.6rem;
	margin-block: 2.25rem;
}

.wp-block-group.callout p:last-child,
aside.callout p:last-child {
	margin-bottom: 0;
}

/* ---------- Stop cards ---------- */

.wp-block-group.stop-card,
.stop-card {
	background: #fff;
	border: 1px solid var(--wwg-line);
	border-radius: var(--wwg-radius);
	padding: 1.5rem 1.7rem;
	margin-block: 1.75rem;
	box-shadow: var(--wwg-shadow);
}

.stop-card h3 {
	font-family: var(--wwg-serif);
	font-weight: 600;
	margin: 0 0 0.6rem;
	font-size: 1.45rem;
	line-height: 1.25;
	color: var(--wwg-ink);
}

.stop-card .wp-block-image,
.stop-card figure {
	margin: 0.2rem 0 0.9rem;
}

.stop-card figure img,
.stop-card .wp-block-image img {
	width: 100%;
	height: 200px;
	object-fit: cover;
	border-radius: calc( var(--wwg-radius) - 6px );
	display: block;
}

.stop-card figure figcaption {
	font-size: 0.7rem;
	line-height: 1.35;
}

.stop-card .stop-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 0.35rem;
	margin: 0 0 0.7rem;
}

.stop-card .chip {
	font-family: var(--wwg-sans);
	font-size: 0.68rem;
	font-weight: 600;
	letter-spacing: 0.02em;
	line-height: 1;
	padding: 0.38em 0.7em;
	border-radius: 999px;
	background: rgba(141, 61, 21, 0.07);
	color: var(--wwg-accent-deep);
	border: 1px solid rgba(141, 61, 21, 0.18);
	white-space: nowrap;
}

.stop-card .chip-cat {
	background: var(--wwg-accent-deep);
	color: #fff;
	border-color: var(--wwg-accent-deep);
}

.stop-card .chip-desig {
	background: rgba(46, 109, 74, 0.1);
	color: #2e6d4a;
	border-color: rgba(46, 109, 74, 0.3);
}

.stop-card .chip-tag {
	font-weight: 500;
	background: rgba(131, 119, 99, 0.08);
	color: var(--wwg-muted);
	border-color: var(--wwg-line);
}

.stop-card .chip-opt {
	background: #fff;
	color: var(--wwg-accent-deep);
	border: 1px dashed var(--wwg-accent-deep);
	font-weight: 600;
}

/* Knowledge-layer fact lines — the card's decision surface. */
.stop-card .stop-story {
	margin-block: 0.1rem 0.55rem;
	font-size: 0.9em;
	line-height: 1.55;
	color: var(--wwg-muted);
	font-style: italic;
	border-left: 3px solid var(--wwg-line);
	padding-left: 0.7rem;
}

.stop-card .stop-story strong {
	font-style: normal;
	color: var(--wwg-accent-deep);
}

.stop-card .stop-status {
	margin-block: 0.1rem 0.4rem;
	font-size: 0.86em;
	font-weight: 500;
	color: #8a4a12;
	background: rgba(216, 140, 46, 0.1);
	border: 1px solid rgba(216, 140, 46, 0.28);
	border-radius: calc( var(--wwg-radius) - 6px );
	padding: 0.45rem 0.65rem;
}

.stop-card .stop-fact {
	margin-block: 0.1rem 0.35rem;
	font-size: 0.84em;
	line-height: 1.5;
	color: var(--wwg-muted);
}

.stop-card .stop-fact strong {
	color: var(--wwg-accent-deep);
	font-weight: 600;
}

/* Compact optional stop card — same structure, quieter. */
.stop-card.optional {
	background: var(--wwg-bg-soft, #faf8f4);
	box-shadow: none;
	border-style: dashed;
}

.stop-card.optional h3 {
	font-size: 1.15rem;
}

.stop-card.optional figure img,
.stop-card.optional .wp-block-image img {
	height: 140px;
}

.stop-card p {
	margin-block: 0.5rem;
}

.stop-card .stop-local {
	font-size: 0.78em;
	font-weight: 400;
	color: var(--wwg-muted);
	font-family: var(--wwg-sans);
}

.stop-card .stop-why {
	margin-block: 0.4rem 0.7rem;
}

.stop-card .stop-meta {
	clear: both;
	margin: 0.7rem 0 0;
	padding-top: 0.6rem;
	border-top: 1px dashed var(--wwg-line);
	font-size: 0.78rem;
	line-height: 1.6;
	color: var(--wwg-muted);
	font-family: var(--wwg-sans);
}

.stop-card .stop-meta .sep {
	margin-inline: 0.45em;
	color: var(--wwg-line);
}

.stop-card p strong {
	color: var(--wwg-accent-deep);
	font-weight: 600;
}

@media (max-width: 620px) {
	.stop-card figure img,
	.stop-card .wp-block-image img {
		height: 160px;
	}
}

/* ---------- Imagery ---------- */

.img-credit {
	display: block;
	font-size: 0.72rem;
	letter-spacing: 0.02em;
	color: var(--wwg-muted);
	margin-top: 0.4rem;
}

.img-credit a {
	color: inherit;
}

.ai-disclosure {
	display: inline-block;
	margin-left: 0.5rem;
	font-size: 0.75rem;
	font-style: italic;
	color: #a33;
}

/* ---------- Breadcrumbs ---------- */

.wwg-breadcrumbs {
	font-family: var(--wwg-sans);
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wwg-ink-soft);
	margin-block: 1.25rem 1.75rem;
}

.wwg-breadcrumbs .wwg-crumb {
	text-decoration: none;
	color: var(--wwg-ink-soft);
}

.wwg-breadcrumbs a.wwg-crumb:hover {
	color: var(--wwg-accent);
	text-decoration: none;
}

.wwg-breadcrumbs .wwg-crumb-current {
	color: var(--wwg-ink);
}

.wwg-breadcrumbs .wwg-crumb-sep {
	margin-inline: 0.55rem;
	color: var(--wwg-accent);
	font-weight: 700;
}

/* ---------- Destination term map hero (archive pages) ---------- */

/* two classes: must out-rank the later generic .wwg-map height rule */
.wwg-map.wwg-termmap {
	height: 240px;
	margin-top: 0.25rem;
}

.wwg-termmap-title {
	position: absolute;
	top: 8px;
	left: 12px;
	z-index: 5;
	padding: 0.25rem 0.65rem;
	background: rgba(250, 246, 238, 0.94);
	border: 1px solid var(--wwg-line);
	border-radius: 8px;
	box-shadow: var(--wwg-shadow);
	pointer-events: none;
}

.wwg-termmap-title h1 {
	margin: 0;
	font-family: var(--wwg-serif);
	font-size: 1.05rem;
	font-weight: 600;
	color: var(--wwg-ink);
	line-height: 1.2;
}

@media (max-width: 700px) {
	.wwg-map.wwg-termmap { height: 170px; }
	.wwg-termmap-title { top: 6px; left: 10px; }
	.wwg-termmap-title h1 { font-size: 0.95rem; }
}

/* ---------- Homepage hero (core cover block + our classes) ---------- */

.wwg-hero-eyebrow {
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.22em;
	text-transform: uppercase;
	color: #f3d9b8;
	margin-bottom: 0.5rem;
}

h1.wwg-hero-title,
.wwg-hero-title {
	font-family: var(--wwg-serif);
	font-weight: 600;
	font-size: clamp(2.6rem, 6vw, 4.5rem);
	line-height: 1.04;
	letter-spacing: -0.01em;
	margin: 0 0 1rem;
	max-width: 18ch;
}

.wp-block-cover .wwg-hero-title,
.wp-block-cover .wwg-hero-eyebrow,
.wp-block-cover p.deck {
	color: #fff;
}

.wp-block-cover p.deck {
	font-size: 1.3rem;
	max-width: 40rem;
	color: rgba(255, 255, 255, 0.92);
}

/* ---------- Destination browser (wwg/destination-browser) ---------- */

.wwg-dest-browser {
	margin-block: 2.5rem;
}

.wwg-dest-region {
	margin-bottom: 3rem;
}

.wwg-dest-region > h3 {
	font-family: var(--wwg-serif);
	font-size: 1.6rem;
	font-weight: 600;
	color: var(--wwg-ink);
	border-bottom: 1px solid var(--wwg-line);
	padding-bottom: 0.6rem;
	margin-bottom: 1.4rem;
}

.wwg-dest-grid,
.wwg-dest-children {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(230px, 1fr));
	gap: 1rem;
}

/* Intermediate hierarchy nodes (country, metro, districted city) */
.wwg-dest-group {
	grid-column: 1 / -1;
	margin-top: 1rem;
}

.wwg-dest-group-label {
	display: inline-block;
	font-family: var(--wwg-serif);
	font-weight: 600;
	font-size: 1.15rem;
	color: var(--wwg-deep);
	padding-bottom: 0.25rem;
	margin-bottom: 0.8rem;
	text-decoration: none;
	border-bottom: 2px solid var(--wwg-accent);
	transition: color 0.15s ease;
}

.wwg-dest-group-label::after {
	content: " \2192";
	font-weight: 400;
}

.wwg-dest-group-label:hover {
	text-decoration: none;
	color: var(--wwg-accent);
}

.wwg-dest-group .wwg-dest-children {
	border-left: 3px solid var(--wwg-sand);
	padding-left: 1.25rem;
}

.wwg-dest-card {
	position: relative;
	display: block;
	border: 1px solid var(--wwg-line);
	border-radius: var(--wwg-radius);
	padding: 1.35rem 1.4rem 1.25rem;
	background: #fff;
	text-decoration: none;
	color: inherit;
	box-shadow: var(--wwg-shadow);
	transition: box-shadow 0.18s ease, transform 0.18s ease,
		border-color 0.18s ease;
	overflow: hidden;
}

.wwg-dest-card:has(.wwg-dest-thumb) {
	padding-top: 0;
}

.wwg-dest-thumb {
	display: block;
	margin: 0 -1.4rem 0.9rem;
	height: 150px;
	overflow: hidden;
}

.wwg-dest-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.25s ease;
}

.wwg-dest-card:hover .wwg-dest-thumb img {
	transform: scale(1.04);
}

.wwg-dest-body {
	display: block;
}

.wwg-dest-card::before {
	content: "";
	position: absolute;
	inset: 0 auto 0 0;
	width: 4px;
	background: var(--wwg-accent);
	transform: scaleY(0);
	transform-origin: bottom;
	transition: transform 0.2s ease;
}

.wwg-dest-card::after {
	content: "\2192";
	position: absolute;
	right: 1.1rem;
	bottom: 1rem;
	font-size: 1.1rem;
	color: var(--wwg-accent);
	opacity: 0;
	transform: translateX(-6px);
	transition: opacity 0.18s ease, transform 0.18s ease;
}

.wwg-dest-card:hover {
	box-shadow: var(--wwg-shadow-lift);
	transform: translateY(-3px);
	border-color: var(--wwg-accent);
}

.wwg-dest-card:hover::before {
	transform: scaleY(1);
}

.wwg-dest-card:hover::after {
	opacity: 1;
	transform: translateX(0);
}

.wwg-dest-card .wwg-dest-name {
	display: block;
	font-family: var(--wwg-serif);
	font-weight: 600;
	font-size: 1.3rem;
	line-height: 1.2;
	color: var(--wwg-ink);
}

.wwg-dest-card .wwg-dest-parent {
	display: block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wwg-muted);
	margin-bottom: 0.45rem;
}

.wwg-dest-card .wwg-dest-count {
	display: inline-block;
	font-size: 0.74rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	color: var(--wwg-accent-deep);
	background: var(--wwg-sand);
	border-radius: 999px;
	padding: 0.15rem 0.65rem;
	margin-top: 0.7rem;
}

.wwg-dest-card--empty .wwg-dest-name {
	color: var(--wwg-muted);
}

.wwg-dest-card .wwg-dest-soon {
	display: inline-block;
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--wwg-muted);
	border: 1px dashed var(--wwg-line);
	border-radius: 999px;
	padding: 0.15rem 0.6rem;
	margin-top: 0.7rem;
}

/* ---------- Destination articles (wwg/destination-articles) ---------- */

.wwg-dest-articles {
	list-style: none;
	padding: 0;
	margin-block: 1.5rem;
}

.wwg-dest-articles li {
	border-bottom: 1px solid var(--wwg-line);
	padding-block: 1rem;
}

.wwg-dest-articles li:last-child {
	border-bottom: 0;
}

.wwg-dest-articles a {
	font-family: var(--wwg-serif);
	font-weight: 600;
	font-size: 1.15rem;
	color: var(--wwg-ink);
	text-decoration: none;
}

.wwg-dest-articles a:hover {
	color: var(--wwg-accent);
	text-decoration: none;
}

.wwg-dest-articles .wwg-dest-meta,
.wwg-dest-meta {
	display: inline-block;
	font-size: 0.68rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--wwg-accent-deep);
	background: var(--wwg-sand);
	border-radius: 999px;
	padding: 0.2rem 0.7rem;
}

/* ---------- Destination archive template ---------- */

.wwg-dest-archive {
	max-width: 74rem;
	margin-inline: auto;
	padding: 1.5rem 1.25rem 4rem;
}

.wwg-dest-header {
	background: var(--wwg-paper);
	border: 1px solid var(--wwg-line);
	border-radius: var(--wwg-radius);
	padding: 2.25rem 2.5rem;
	margin-bottom: 0.5rem;
}

.wwg-dest-header .wwg-dest-title {
	font-family: var(--wwg-serif);
	font-weight: 600;
	font-size: clamp(2.2rem, 5vw, 3.4rem);
	line-height: 1.05;
	letter-spacing: -0.01em;
	color: var(--wwg-ink);
	margin: 0 0 0.75rem;
}

.wwg-dest-description {
	color: var(--wwg-ink-soft);
	font-size: 1.05rem;
	line-height: 1.65;
	max-width: 46rem;
}

.wwg-dest-description p {
	margin: 0;
}

.wwg-dest-subheading {
	font-family: var(--wwg-sans);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--wwg-muted);
	margin: 3rem 0 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.9rem;
}

.wwg-dest-subheading::after {
	content: "";
	flex: 1;
	height: 1px;
	background: var(--wwg-line);
}

.wwg-dest-card-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 1.1rem;
}

.wwg-dest-card-grid .wwg-dest-card .wwg-dest-desc {
	display: block;
	font-size: 0.85rem;
	line-height: 1.5;
	color: var(--wwg-muted);
	margin-top: 0.4rem;
}

/* ---------- Article cards (archive grid + anywhere) ---------- */

.wwg-article-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--wwg-line);
	border-radius: var(--wwg-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--wwg-shadow);
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.wwg-article-card:hover {
	box-shadow: var(--wwg-shadow-lift);
	transform: translateY(-3px);
}

.wwg-article-thumb {
	position: relative;
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--wwg-sand);
}

.wwg-article-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.35s ease;
}

.wwg-article-card:hover .wwg-article-thumb img {
	transform: scale(1.045);
}

.wwg-article-thumb .wwg-dest-meta {
	position: absolute;
	left: 0.9rem;
	top: 0.9rem;
	background: rgba(250, 246, 238, 0.94);
	backdrop-filter: blur(4px);
}

.wwg-article-body {
	padding: 1.15rem 1.35rem 1.35rem;
	display: flex;
	flex-direction: column;
	gap: 0.45rem;
	flex: 1;
}

.wwg-article-title {
	font-family: var(--wwg-serif);
	font-weight: 600;
	font-size: 1.35rem;
	line-height: 1.25;
	margin: 0;
}

.wwg-article-title a {
	color: var(--wwg-ink);
	text-decoration: none;
}

.wwg-article-title a:hover {
	color: var(--wwg-accent);
}

.wwg-article-excerpt {
	font-size: 0.92rem;
	line-height: 1.6;
	color: var(--wwg-ink-soft);
}

.wwg-article-excerpt p {
	margin: 0;
}

.wwg-article-body .wwg-dest-meta {
	align-self: flex-start;
}

.wwg-dest-empty {
	color: var(--wwg-muted);
	font-style: italic;
}

/* ---------- Latest posts grid (core latest-posts on homepage) ---------- */

.wp-block-latest-posts.is-grid {
	gap: 1.1rem;
}

.wp-block-latest-posts.is-grid li {
	border: 1px solid var(--wwg-line);
	border-radius: var(--wwg-radius);
	overflow: hidden;
	background: #fff;
	box-shadow: var(--wwg-shadow);
	margin: 0;
	padding-bottom: 1.15rem;
	transition: box-shadow 0.18s ease, transform 0.18s ease;
}

.wp-block-latest-posts.is-grid li:hover {
	box-shadow: var(--wwg-shadow-lift);
	transform: translateY(-3px);
}

.wp-block-latest-posts .wp-block-latest-posts__featured-image {
	margin-bottom: 0.9rem;
}

.wp-block-latest-posts .wp-block-latest-posts__featured-image img {
	aspect-ratio: 16 / 10;
	object-fit: cover;
	width: 100%;
}

.wp-block-latest-posts.is-grid .wp-block-latest-posts__post-title {
	font-family: var(--wwg-serif);
	font-weight: 600;
	font-size: 1.2rem;
	line-height: 1.3;
	color: var(--wwg-ink);
	text-decoration: none;
	display: block;
	padding-inline: 1.2rem;
}

.wp-block-latest-posts.is-grid .wp-block-latest-posts__post-title:hover {
	color: var(--wwg-accent);
}

.wp-block-latest-posts.is-grid .wp-block-latest-posts__post-date {
	display: block;
	padding-inline: 1.2rem;
	font-size: 0.75rem;
	font-weight: 600;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--wwg-muted);
}


/* === Maps (wwg/route-map, wwg/destinations-globe) ========================= */

.wwg-map {
	position: relative;
	height: 420px;
	margin: 1.5rem 0;
	border: 1px solid var(--wwg-line);
	border-radius: 10px;
	overflow: hidden;
	background: var(--wwg-sand);
}

.wwg-globe {
	height: 540px;
}

/* lead-in paragraph immediately above the globe */
.entry-content p:has(+ .wwg-globe) {
	font-family: var(--wwg-serif);
	font-size: 1.18rem;
	line-height: 1.55;
	color: var(--wwg-ink-soft);
	max-width: 46rem;
}

@media (max-width: 700px) {
	.wwg-map { height: 320px; }
	.wwg-globe { height: 400px; }
}

/* Numbered stop pin (DOM marker) */
.wwg-pin {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 26px;
	height: 26px;
	border-radius: 50%;
	background: var(--wwg-accent);
	border: 2px solid #fff;
	box-shadow: 0 1px 4px rgba(33, 28, 20, 0.4);
	color: #fff;
	font: 700 13px/1 var(--wwg-sans);
	cursor: pointer;
}

.wwg-pin:hover {
	background: var(--wwg-accent-deep);
}

/* Globe search — pill with magnifier, floating on the map */
.wwg-globe-search {
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 10;
	width: min(320px, calc(100% - 110px));
	padding: 0.65rem 1rem 0.65rem 2.5rem;
	border: 1px solid rgba(255, 255, 255, 0.14);
	border-radius: 999px;
	background: rgba(250, 246, 238, 0.92)
		url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23837763' stroke-width='2.4' stroke-linecap='round'%3E%3Ccircle cx='10.5' cy='10.5' r='6.5'/%3E%3Cpath d='M15.5 15.5 21 21'/%3E%3C/svg%3E")
		0.95rem center / 1rem no-repeat;
	backdrop-filter: blur(6px);
	font: 500 0.9rem var(--wwg-sans);
	color: var(--wwg-ink);
	box-shadow: 0 4px 14px rgba(10, 18, 22, 0.35);
}

.wwg-globe-search:focus {
	outline: 2px solid var(--wwg-accent);
	outline-offset: 1px;
	background-color: #fff;
}

.wwg-globe-results {
	position: absolute;
	top: 62px;
	left: 14px;
	z-index: 10;
	width: min(320px, calc(100% - 110px));
	max-height: 240px;
	overflow-y: auto;
	background: #fff;
	border: 1px solid var(--wwg-line);
	border-radius: 12px;
	box-shadow: 0 8px 24px rgba(10, 18, 22, 0.3);
}

.wwg-globe-hit {
	display: block;
	width: 100%;
	padding: 0.55rem 0.9rem;
	border: 0;
	background: transparent;
	text-align: left;
	font: 500 0.88rem var(--wwg-sans);
	color: var(--wwg-ink);
	cursor: pointer;
}

.wwg-globe-hit:hover,
.wwg-globe-hit:focus {
	background: var(--wwg-sand);
}

.wwg-globe-hint {
	position: absolute;
	bottom: 12px;
	left: 14px;
	z-index: 9;
	padding: 0.3rem 0.7rem;
	border-radius: 6px;
	background: rgba(255, 255, 255, 0.85);
	font: 500 0.72rem var(--wwg-sans);
	color: var(--wwg-muted);
	pointer-events: none;
}

/* Coverage chip inside MapLibre popups — a real button, not a bare
 * text link: bigger tap target is what makes pin → article reliable */
.wwg-globe-chip {
	display: inline-block;
	padding: 0.5rem 0.95rem;
	border-radius: 999px;
	background: var(--wwg-accent);
	color: #fff !important;
	font: 600 0.85rem var(--wwg-sans);
	text-decoration: none !important;
}

.wwg-globe-chip:hover {
	background: var(--wwg-accent-deep);
	color: #fff !important;
	text-decoration: none !important;
}

.maplibregl-popup-content {
	font-family: var(--wwg-sans);
	border-radius: 10px;
	padding: 0.55rem 1.7rem 0.6rem 0.75rem;
	box-shadow: var(--wwg-shadow-lift);
}

/* close × sits clear of the chip link in its own corner */
.maplibregl-popup-close-button {
	width: 1.15rem;
	height: 1.15rem;
	padding: 0;
	font-size: 15px;
	line-height: 1;
	color: var(--wwg-muted);
	right: 0.3rem;
	top: 0.3rem;
}

.maplibregl-popup-close-button:hover {
	color: var(--wwg-ink);
	background: transparent;
}
