/*
 * Gold Maps theme styles. Colors, fonts, sizes and spacing come from theme.json presets
 * (var(--wp--preset--...)); this file adds the textures and the custom pieces.
 */

:root {
	--gm-paper: var(--wp--preset--color--base);
	--gm-sheet: var(--wp--preset--color--tertiary);
	--gm-card: var(--wp--preset--color--card);
	--gm-ink: var(--wp--preset--color--main);
	--gm-ink-soft: var(--wp--preset--color--ink-soft);
	--gm-muted: var(--wp--preset--color--secondary);
	--gm-on-ink: var(--wp--preset--color--main-accent);
	--gm-gold: var(--wp--preset--color--primary);
	--gm-brown: var(--wp--preset--color--primary-alt);
	--gm-rule: var(--wp--preset--color--border-light);
	--gm-tile-line: var(--wp--preset--color--border-dark);
	--gm-ink-line: var(--wp--preset--color--ink-line);
	--gm-faded: var(--wp--preset--color--ink-faded);
	--gm-bar-off: var(--wp--preset--color--bar-off);
	--gm-display: var(--wp--preset--font-family--display);
	--gm-mono: var(--wp--preset--font-family--monospace);
	--gm-gutter: var(--wp--preset--spacing--gutter);
	--gm-shadow-card: var(--wp--preset--shadow--card);
	--gm-shadow-box: var(--wp--preset--shadow--box);
	--gm-sheet-a: color-mix(in srgb, var(--gm-sheet) 85%, transparent);
}

html,
body {
	overflow-x: clip;
}

body {
	position: relative;
}

[hidden] {
	display: none !important;
}

/* Home page headings are part of the design: even out their lines so none
   ends on a single word. Other pages wrap normally. */
.home :where(h1, h2, h3, h4) {
	text-wrap: balance;
}

.gm-sr {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	white-space: nowrap;
	margin: -1px;
	padding: 0;
	border: 0;
}

.wp-site-blocks {
	position: relative;
	isolation: isolate;
	overflow-x: clip;
}

.wp-site-blocks::before {
	z-index: -1 !important;
}

.gm-tex-band,
.gm-tex-cloud,
.gm-footer {
	overflow-x: clip;
}

:where(a, button, input, select, textarea, summary, [tabindex]):focus-visible {
	outline: 3px solid var(--gm-gold);
	outline-offset: 2px;
}

.gm-sf {
	font-family: var(--wp--preset--font-family--stateface);
	font-weight: 400;
	line-height: 1;
	letter-spacing: 0;
}

/* ---------- Contour textures ----------
 * Never repeat: each layer is at least as wide as the design's tile size, centered, and
 * scaled with "cover", so it always fills its area. The mask fades hide the edges.
 * Only the paper (body background, theme.json) repeats. */

.wp-site-blocks::before,
.gm-tex-band::before,
.gm-tex-cloud::before,
.gm-footer::before {
	content: "";
	position: absolute;
	left: 50%;
	transform: translateX(-50%);
	pointer-events: none;
	opacity: 0.5;
	background-image: url(../img/contours-light.svg);
	background-repeat: no-repeat;
	background-size: cover;
	z-index: 0;
}

.wp-site-blocks::before {
	top: 0;
	width: max(2100px, 100%);
	height: var(--gm-tex-h, 700px);
	background-position: 30% 0;
	-webkit-mask-image: linear-gradient(to bottom, #000 0, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 0, transparent 100%);
}

body.home .wp-site-blocks::before {
	--gm-tex-h: 1250px;
	background-position: 60% 0;
	-webkit-mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%);
}

body.page-template-page-state .wp-site-blocks::before {
	--gm-tex-h: 1100px;
	-webkit-mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%);
	mask-image: linear-gradient(to bottom, #000 0, #000 45%, transparent 100%);
}

body.page-template-page-store .wp-site-blocks::before {
	--gm-tex-h: 720px;
	background-position: 50% 0;
}

.gm-tex-band,
.gm-tex-cloud {
	position: relative;
	isolation: isolate;
}

.gm-tex-band > *,
.gm-tex-cloud > * {
	position: relative;
	z-index: 1;
}

.gm-tex-band::before {
	top: 0;
	bottom: 0;
	width: max(1800px, 100%);
	background-position: 30% 40%;
	-webkit-mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
	mask-image: linear-gradient(to bottom, transparent 0, #000 120px, #000 calc(100% - 120px), transparent 100%);
}

.gm-tex-cloud::before {
	top: 0;
	bottom: 0;
	width: max(1500px, 100%);
	background-position: center;
	-webkit-mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000 20%, transparent 72%);
	mask-image: radial-gradient(ellipse 55% 60% at 50% 50%, #000 20%, transparent 72%);
}

.gm-ink-topo {
	background-color: var(--gm-ink);
	background-image: url(../img/contours-dark.svg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	color: var(--gm-paper);
}

/* ---------- Header ---------- */

.gm-site-header {
	position: relative;
	z-index: 20;
}

.gm-header {
	padding-top: 22px;
	padding-bottom: 22px;
	gap: 16px 32px;
}

.gm-logo {
	margin: 0;
	flex: none;
}

.gm-logo img {
	display: block;
	height: 58px;
	width: auto;
}

.gm-nav {
	--navigation-layout-justification-setting: flex-end;
	font-size: 1.03rem;
}

.gm-nav .wp-block-navigation__container {
	gap: 6px 34px;
	align-items: center;
}

.gm-nav .wp-block-navigation-item__content {
	color: var(--gm-ink);
	text-decoration: none;
	padding: 6px 0;
}

.gm-nav .wp-block-navigation-item:not(.gm-nav-cta) .wp-block-navigation-item__content:hover,
.gm-nav .current-menu-item:not(.gm-nav-cta) > .wp-block-navigation-item__content {
	text-decoration: underline;
	text-decoration-color: var(--gm-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 7px;
}

.gm-nav .gm-nav-cta .wp-block-navigation-item__content {
	background: var(--gm-gold);
	color: var(--gm-ink);
	padding: 12px 24px;
	border-radius: 999px;
	font-weight: 700;
}

.gm-nav .gm-nav-cta .wp-block-navigation-item__content:hover {
	background: var(--gm-ink);
	color: var(--gm-paper);
}

.gm-nav .wp-block-navigation__responsive-container-open {
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	color: var(--gm-ink);
}

@media (max-width: 599px) {
	.gm-nav .wp-block-navigation__responsive-container-open {
		display: flex;
	}
}

/* Seven menu items: tighter spacing so "Get maps" stays on the same line on laptop screens. */
@media (min-width: 901px) and (max-width: 1240px) {
	.gm-nav .wp-block-navigation__container {
		gap: 6px 22px;
	}
}

@media (min-width: 901px) and (max-width: 1040px) {
	.gm-nav {
		font-size: 0.95rem;
	}
	.gm-nav .wp-block-navigation__container {
		gap: 6px 14px;
	}
	.gm-nav .gm-nav-cta .wp-block-navigation-item__content {
		padding: 10px 18px;
	}
}

@media (min-width: 600px) and (max-width: 900px) {
	.gm-nav .wp-block-navigation__container {
		gap: 4px 18px;
	}
	.gm-nav .gm-nav-cta .wp-block-navigation-item__content {
		padding: 10px 16px;
	}
}

.gm-nav .wp-block-navigation__responsive-container.is-menu-open {
	background: var(--gm-paper);
	color: var(--gm-ink);
	padding: 24px var(--gm-gutter);
}

.gm-nav .wp-block-navigation__responsive-container.is-menu-open .wp-block-navigation__container {
	gap: 18px;
	font-size: 1.25rem;
}

.gm-nav .wp-block-navigation__responsive-container-close {
	width: 44px;
	height: 44px;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* ---------- Page frame ---------- */

.gm-main {
	padding-top: clamp(24px, 3vw, 48px);
	padding-bottom: clamp(72px, 8vw, 112px);
}

.gm-main.is-home {
	padding-top: 0;
	padding-bottom: 0;
}

.gm-page-title {
	margin-top: 0;
	margin-bottom: 14px;
}

.gm-lead,
.gm-prose .gm-lead {
	font-size: 1.25rem;
	line-height: 1.6;
	color: var(--gm-ink-soft);
	text-wrap: pretty;
}

.gm-page-intro {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 760px;
}

.gm-page-intro > * {
	margin: 0;
}

/* Long text on help pages and guides */
.gm-prose {
	font-size: 1.125rem;
	line-height: 1.7;
	color: var(--gm-ink-soft);
}

.gm-prose :where(h2) {
	font-size: var(--wp--preset--font-size--x-large);
	line-height: 1.15;
	letter-spacing: -0.015em;
	margin: 2.4em 0 0.6em;
}

.gm-prose :where(h3) {
	margin: 1.8em 0 0.5em;
}

.gm-prose :where(strong) {
	color: var(--gm-ink);
	font-weight: 600;
}

.gm-prose :where(ul, ol):not([class*="gm-"]) li {
	margin-bottom: 8px;
}

.gm-prose :where(li)::marker {
	color: var(--gm-brown);
}

.gm-prose > :first-child {
	margin-top: 0;
}

.gm-post-body {
	font-size: 1.1875rem;
	line-height: 1.75;
	color: #2b373b;
	color: color-mix(in srgb, var(--gm-ink) 90%, var(--gm-ink-soft));
	max-width: 700px;
}

/* Section headings */
.gm-section-head {
	gap: 12px 32px;
	align-items: flex-end;
	margin-bottom: 36px;
}

.gm-section-head > * {
	margin: 0;
}

.gm-section {
	padding-top: clamp(40px, 5vw, 72px);
	padding-bottom: clamp(80px, 9vw, 130px);
}

/* Buttons */
.wp-block-button.is-style-outline > .wp-block-button__link {
	background: color-mix(in srgb, var(--gm-paper) 70%, transparent);
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--gm-ink);
	color: var(--gm-paper);
}

.gm-text-link a,
a.gm-text-link {
	font-weight: 700;
	color: var(--gm-brown);
	text-underline-offset: 3px;
}

/* Cards and panels made from groups */
.gm-sheet {
	background: var(--gm-sheet-a);
	border-radius: 12px;
}

.gm-paper-card {
	background: var(--gm-card);
	border-radius: 18px;
	box-shadow: var(--gm-shadow-card);
}

.gm-panel {
	border-radius: 24px;
	overflow: hidden;
}

/* ---------- Home ---------- */

.gm-hero {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(420px, 100%), 1fr));
	gap: 48px;
	align-items: center;
	padding-top: clamp(32px, 4vw, 64px);
	padding-bottom: clamp(40px, 5vw, 64px);
}

.gm-hero__text {
	display: flex;
	flex-direction: column;
	gap: 28px;
	max-width: 580px;
}

.gm-hero__text > * {
	margin: 0 !important;
}

.gm-hero h1 {
	text-wrap: balance;
}

.gm-hero .gm-lead {
	font-size: 1.1875rem;
	line-height: 1.65;
}

/* The line under the home H1 (SEO audit, 2026-10-28). */
.gm-hero__text > .gm-hero__sub {
	margin-top: -12px !important;
	font-size: 1.25rem;
	font-weight: 600;
	line-height: 1.4;
	color: var(--gm-ink);
	text-wrap: balance;
}

.gm-proof {
	display: flex;
	align-items: center;
	gap: 12px 16px;
	flex-wrap: wrap;
}

.gm-proof .wp-block-image {
	margin: 0;
}

.gm-proof img {
	height: 38px;
	width: auto;
}

.gm-proof p {
	margin: 0;
	font-size: 0.906rem;
	color: var(--gm-ink-soft);
}

.gm-proof strong {
	color: var(--gm-ink);
	font-weight: 700;
}

/* Trust strip */
.gm-trust-strip {
	list-style: none;
	margin: 0;
	padding: 20px 32px !important;
	background: color-mix(in srgb, var(--gm-sheet) 72%, transparent);
	border-radius: 24px;
	display: flex;
	flex-wrap: wrap;
	justify-content: space-around;
	gap: 14px 40px;
	font-size: 0.9375rem;
	font-weight: 500;
}

.gm-trust-strip li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.gm-trust-strip li::before,
.gm-steps .gm-step::before,
.gm-check-list li::before {
	content: "";
	flex: none;
	width: 24px;
	height: 24px;
	background-color: var(--gm-brown);
	-webkit-mask: var(--gm-icon) center / contain no-repeat;
	mask: var(--gm-icon) center / contain no-repeat;
}

.gm-trust-strip li:nth-child(1) { --gm-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M3 12h18M12 3c2.8 3 2.8 15 0 18M12 3c-2.8 3-2.8 15 0 18'/%3E%3C/svg%3E"); }
.gm-trust-strip li:nth-child(2) { --gm-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M2 8.5a15 15 0 0 1 20 0M5.5 12a10 10 0 0 1 13 0M9 15.5a5 5 0 0 1 6 0M12 19.5h.01M3 3l18 18'/%3E%3C/svg%3E"); }
.gm-trust-strip li:nth-child(3) { --gm-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 17v3h16v-3'/%3E%3C/svg%3E"); }
.gm-trust-strip li:nth-child(4) { --gm-icon: 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.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l7 3v5c0 5-3 8.5-7 10-4-1.5-7-5-7-10V6zM9 12l2 2 4-4'/%3E%3C/svg%3E"); }
.gm-trust-strip li:nth-child(5) { --gm-icon: 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.7' 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"); }

/* Big numbers with a small label */
.gm-stats {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 44px;
}

.gm-stat {
	display: flex;
	flex-direction: column;
	gap: 0 !important;
}

.gm-stat > * {
	margin: 0 !important;
}

.gm-stat__num {
	font-family: var(--gm-display);
	font-weight: 600;
	font-size: clamp(1.75rem, 2.6vw, 2.25rem);
	line-height: 1.1;
	color: var(--gm-ink);
}

.gm-stat__label {
	font-size: 0.875rem;
	color: var(--gm-muted);
}

.gm-badge-new {
	font-family: var(--gm-mono);
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 0.1em;
	color: var(--gm-ink);
	background: var(--gm-gold);
	border-radius: 4px;
	padding: 1px 5px;
	margin-left: 4px;
	vertical-align: 2px;
}

/* Layer cards */
.gm-layer-cards {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(210px, 100%), 1fr));
	gap: 20px;
}

.gm-layer-card {
	background: var(--gm-sheet-a);
	border-radius: 12px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gm-layer-card > * {
	margin: 0 !important;
}

.gm-layer-card h3 {
	font-size: 1.44rem;
}

.gm-layer-card p {
	color: var(--gm-ink-soft);
	font-size: 0.9375rem;
	line-height: 1.6;
}

/* Steps with a dotted trail */
.gm-steps {
	position: relative;
	display: grid !important;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 56px;
	margin-top: 72px !important;
}

.gm-steps::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: -28px;
	height: 120px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 120' preserveAspectRatio='none'%3E%3Cpath d='M 26 60 C 90 118, 170 112, 200 70 S 300 8, 374 60 C 430 100, 470 112, 540 84 S 640 10, 723 60' fill='none' stroke='%238A5A2B' stroke-opacity='0.75' stroke-width='3' stroke-linecap='round' stroke-dasharray='0 11' vector-effect='non-scaling-stroke'/%3E%3C/svg%3E") no-repeat;
	background-size: 100% 100%;
	pointer-events: none;
}

.gm-step {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gm-step > * {
	margin: 0 !important;
}

.gm-steps .gm-step::before {
	width: 64px;
	height: 64px;
	margin-bottom: 10px;
	border-radius: 50%;
	background: var(--gm-sheet) var(--gm-step-icon) center / 30px no-repeat;
	box-shadow: 0 0 0 8px var(--gm-paper);
	-webkit-mask: none;
	mask: none;
}

.gm-steps .gm-step:nth-child(1) { --gm-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A2B' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3v12M7 10l5 5 5-5M4 17v3h16v-3'/%3E%3C/svg%3E"); }
.gm-steps .gm-step:nth-child(2) { --gm-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%238A5A2B' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3l9 5-9 5-9-5 9-5zM3 13l9 5 9-5M3 17.5l9 5 9-5'/%3E%3C/svg%3E"); }
.gm-steps .gm-step:nth-child(3) { --gm-step-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231E2B2F' stroke-width='1.7' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='7'/%3E%3Cpath d='M12 2v4M12 18v4M2 12h4M18 12h4'/%3E%3Ccircle cx='12' cy='12' r='1.5'/%3E%3C/svg%3E"); }

.gm-steps .gm-step:nth-child(3)::before {
	background-color: var(--gm-gold);
}

.gm-step h3 {
	font-size: 1.5rem;
}

.gm-step p {
	color: var(--gm-ink-soft);
}

.gm-step .gm-text-link a {
	font-size: 0.9375rem;
}

/* Testimonials */
.gm-quotes {
	display: flex !important;
	flex-wrap: wrap;
	gap: 48px 80px;
	align-items: flex-start;
}

.gm-quotes__main {
	flex: 1.15 1 420px;
	min-width: 0;
}

.gm-quotes__side {
	flex: 1 1 360px;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.gm-quote-big {
	margin: 28px 0 0 !important;
	padding: 0;
	border: 0;
}

.gm-quote-big p {
	font-family: var(--gm-display);
	font-weight: 400;
	font-size: clamp(1.625rem, 2.6vw, 2.375rem);
	line-height: 1.25;
	letter-spacing: -0.01em;
	text-wrap: balance;
	margin: 0 0 22px;
}

.gm-quote-small {
	margin: 0 !important;
	padding: 0;
	border: 0;
}

.gm-quote-small p {
	font-family: var(--gm-display);
	font-style: italic;
	font-size: 1.1875rem;
	line-height: 1.5;
	color: var(--gm-ink-soft);
	margin: 0 0 10px;
}

.wp-block-quote.gm-quote-big cite,
.wp-block-quote.gm-quote-small cite {
	font-family: var(--wp--preset--font-family--primary);
	font-style: normal;
	font-size: 0.9375rem;
	color: var(--gm-muted);
}

.wp-block-quote cite strong {
	color: var(--gm-ink);
	font-weight: 700;
}

/* FAQ */
.gm-faq {
	display: flex !important;
	flex-wrap: wrap;
	gap: 32px 80px;
	align-items: flex-start;
}

.gm-faq__intro {
	flex: 1 1 300px;
}

.gm-faq__list {
	flex: 2 1 560px;
	min-width: 0;
	border-top: 1px solid var(--gm-rule);
}

.gm-faq__list .wp-block-details {
	margin: 0;
	border-bottom: 1px solid var(--gm-rule);
}

.gm-faq__list summary {
	list-style: none;
	cursor: pointer;
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 24px;
	padding: 22px 0;
	font-family: var(--gm-display);
	font-size: 1.3125rem;
	font-weight: 600;
	line-height: 1.3;
}

.gm-faq__list summary::-webkit-details-marker {
	display: none;
}

.gm-faq__list summary::after {
	content: "";
	flex: none;
	width: 22px;
	height: 22px;
	background-color: var(--gm-brown);
	-webkit-mask: 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.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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.2' stroke-linecap='round'%3E%3Cpath d='M12 5v14M5 12h14'/%3E%3C/svg%3E") center / contain no-repeat;
	transition: transform 0.2s;
}

.gm-faq__list details[open] summary::after {
	transform: rotate(45deg);
}

.gm-faq__list details p {
	margin: 0;
	padding: 0 48px 24px 0;
	color: var(--gm-ink-soft);
	max-width: 44em;
}

/* Dark panel: free sample, guarantee, check-before-you-go */
.gm-dark-panel {
	border-radius: 24px;
	padding: clamp(32px, 5vw, 72px) !important;
	color: var(--gm-paper);
}

.gm-dark-panel :where(h2, h3, strong) {
	color: var(--gm-paper);
}

.gm-dark-panel p {
	color: var(--gm-on-ink);
}

.gm-dark-panel a:not(.wp-block-button__link) {
	color: var(--gm-paper);
	text-decoration-color: var(--gm-gold);
}

.gm-sample {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(380px, 100%), 1fr));
	gap: 48px 64px;
	align-items: center;
}

.gm-sample__text {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.gm-sample__text > * {
	margin: 0 !important;
}

.gm-check-list {
	list-style: none;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
	color: var(--gm-paper);
}

.gm-check-list li {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
}

.gm-check-list li::before {
	width: 20px;
	height: 20px;
	background-color: var(--gm-gold);
	--gm-icon: 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 12.5l4.5 4.5L19 7'/%3E%3C/svg%3E");
}

.gm-tilted {
	margin: 0 !important;
	justify-self: center;
	width: min(470px, 100%);
	position: relative;
}

.gm-tilted img {
	display: block;
	width: 100%;
	height: auto;
	background: var(--gm-paper);
	padding: 10px;
	border-radius: 14px;
	transform: rotate(-2.5deg);
	box-shadow: 0 26px 60px rgba(0, 0, 0, 0.38);
}

.gm-tilted figcaption {
	position: absolute;
	left: -10px;
	bottom: 26px;
	margin: 0 !important;
	background: var(--gm-gold);
	color: var(--gm-ink) !important;
	font-family: var(--gm-mono);
	font-size: 12px !important;
	font-weight: 500;
	letter-spacing: 0.1em;
	padding: 7px 14px;
	border-radius: 999px;
	box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
	text-align: left !important;
}

/* ---------- US map (home hero) ---------- */

.gm-usmap {
	margin: 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.gm-usmap__frame {
	position: relative;
}

.gm-usmap__frame > img {
	display: block;
	width: 100%;
	height: auto;
}

.gm-usmap__shapes {
	position: absolute;
	inset: 0 auto auto 0;
	width: 100%;
	height: auto;
	aspect-ratio: 1000 / 860;
}

.gm-usmap__shapes path {
	fill: transparent;
	stroke: none;
	stroke-width: 2.4;
	stroke-linejoin: round;
	cursor: pointer;
	outline: none;
}

.gm-usmap__shapes path.in-pack {
	fill: rgba(214, 162, 30, 0.14);
}

.gm-usmap__shapes path.is-active,
.gm-usmap__shapes path:focus-visible {
	fill: rgba(214, 162, 30, 0.28);
	stroke: var(--gm-ink);
}

.gm-map__label {
	fill: var(--gm-ink);
	stroke: var(--gm-paper);
	stroke-width: 5px;
	stroke-linejoin: round;
	paint-order: stroke;
	font-family: var(--wp--preset--font-family--primary);
}

.gm-map__label.is-plain {
	stroke: none;
}

.gm-map__note {
	fill: #6b4e31;
	fill: color-mix(in srgb, var(--gm-brown) 80%, var(--gm-ink));
	font-family: var(--gm-mono);
}

.gm-usmap__card {
	position: absolute;
	transform: translateY(-50%);
	width: 244px;
	box-sizing: border-box;
	background: var(--gm-paper);
	border-radius: 12px;
	box-shadow: 0 14px 34px rgba(30, 43, 47, 0.2);
	padding: 16px 18px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	z-index: 2;
}

.gm-usmap__name {
	font-family: var(--gm-display);
	font-size: 1.375rem;
	font-weight: 600;
	line-height: 1.1;
}

.gm-usmap__counts {
	display: flex;
	flex-direction: column;
	gap: 2px;
	font-size: 0.875rem;
	color: var(--gm-ink-soft);
}

.gm-usmap__counts strong {
	color: var(--gm-ink);
}

.gm-usmap__regions {
	display: flex;
	flex-direction: column;
	margin-top: 2px;
}

.gm-usmap__region {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 10px;
	padding: 4px 0;
	border-top: 1px solid var(--gm-sheet);
	font-size: 0.906rem;
	font-weight: 600;
}

.gm-usmap__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 6px 10px;
	margin-top: 4px;
	font-size: 0.875rem;
	font-weight: 600;
}

.gm-usmap__x {
	display: none;
	position: absolute;
	top: 4px;
	right: 4px;
	width: 44px;
	height: 44px;
	align-items: center;
	justify-content: center;
	border: 0;
	border-radius: 50%;
	background: transparent;
	color: var(--gm-ink);
	font-size: 22px;
	line-height: 1;
	cursor: pointer;
}

.gm-pill {
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	min-height: 40px;
	padding: 8px 16px;
	border-radius: 999px;
	border: 0;
	background: var(--gm-gold);
	color: var(--gm-ink);
	cursor: pointer;
	white-space: nowrap;
}

.gm-usmap__region .gm-pill {
	font-size: 0.78rem;
	padding: 6px 12px;
}

.gm-pill.is-on {
	background: var(--gm-ink);
	color: var(--gm-paper);
}

.gm-usmap__caption {
	display: flex;
	justify-content: center;
}

.gm-play-btn {
	font: inherit;
	font-size: 0.875rem;
	font-weight: 700;
	color: var(--gm-ink);
	background: color-mix(in srgb, var(--gm-paper) 80%, transparent);
	border: 1px solid var(--gm-ink);
	border-radius: 999px;
	padding: 8px 16px 8px 8px;
	min-height: 44px;
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
}

.gm-play-btn__dot {
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--gm-ink);
	color: var(--gm-paper);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gm-play-btn__dot path {
	fill: currentColor;
}

/* ---------- Buy box ---------- */

.gm-buy__form {
	margin: 0;
}

.gm-buy__row {
	display: flex;
	flex-wrap: wrap;
	gap: 32px 48px;
	align-items: stretch;
}

.gm-buy__tiles {
	flex: 999 1 620px;
	min-width: 0;
}

.gm-buy__row > .gm-box {
	flex: 1 1 340px;
}

.gm-picker__tools {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px 20px;
	margin-bottom: 28px;
}

.gm-btn-addall {
	font: inherit;
	font-size: 1rem;
	font-weight: 700;
	min-height: 48px;
	padding: 12px 22px;
	border-radius: 999px;
	border: 0;
	background: var(--gm-ink);
	color: var(--gm-paper);
	cursor: pointer;
	display: flex;
	align-items: center;
	gap: 10px;
}

.gm-btn-addall svg {
	color: var(--gm-gold);
}

.gm-btn-addall:disabled {
	opacity: 0.45;
	cursor: default;
}

.gm-picker__note {
	font-size: 0.9375rem;
	color: var(--gm-ink-soft);
}

.gm-link-btn {
	font: inherit;
	font-size: 0.9375rem;
	font-weight: 600;
	min-height: 44px;
	padding: 10px 4px;
	border: 0;
	background: transparent;
	color: var(--gm-brown);
	text-decoration: underline;
	text-underline-offset: 4px;
	cursor: pointer;
	margin-left: auto;
}

.gm-pick-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 22px 12px;
}

.gm-pick-grid.is-compact {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
	margin-bottom: 16px;
}

.gm-tile {
	position: relative;
	display: flex;
	align-items: center;
	gap: 8px;
	background: var(--gm-paper);
	color: var(--gm-ink);
	border: 1px solid var(--gm-tile-line);
	border-radius: 12px;
	padding: 10px 10px 10px 12px;
	min-height: 84px;
	box-sizing: border-box;
}

.gm-tile.is-on {
	background: var(--gm-ink);
	color: var(--gm-paper);
	border-color: var(--gm-ink);
}

.gm-tile__main {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	align-items: center;
	gap: 10px;
	color: inherit;
	text-decoration: none;
}

a.gm-tile__main:hover .gm-tile__name {
	text-decoration: underline;
	text-decoration-color: var(--gm-gold);
	text-underline-offset: 3px;
}

.gm-tile__glyph {
	flex: none;
	width: 44px;
	font-family: var(--wp--preset--font-family--stateface);
	font-size: 42px;
	line-height: 1;
	color: var(--gm-brown);
	text-align: center;
}

.gm-tile.is-on .gm-tile__glyph {
	color: var(--gm-gold);
}

.gm-tile__text {
	display: flex;
	flex-direction: column;
	min-width: 0;
	line-height: 1.2;
}

.gm-tile__name {
	font-size: 0.9375rem;
	font-weight: 700;
}

.gm-tile__sub {
	font-size: 0.8125rem;
	color: var(--gm-muted);
}

.gm-tile.is-on .gm-tile__sub {
	color: var(--gm-on-ink);
}

.gm-tile__add {
	flex: none;
	position: relative;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	background: var(--gm-ink);
	color: var(--gm-paper);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0;
}

.gm-tile.is-on .gm-tile__add {
	background: var(--gm-gold);
	color: var(--gm-ink);
}

.gm-tile__add:has(input:focus-visible) {
	outline: 3px solid var(--gm-gold);
	outline-offset: 2px;
}

.gm-tile.is-on .gm-tile__add:has(input:focus-visible) {
	outline-color: var(--gm-paper);
}

.gm-tile__icon {
	display: flex;
}

.gm-tile__badge {
	position: absolute;
	left: 12px;
	bottom: -10px;
	background: var(--gm-gold);
	color: var(--gm-ink);
	font-family: var(--gm-mono);
	font-size: 10px;
	font-weight: 500;
	letter-spacing: 0.1em;
	line-height: 1.3;
	padding: 3px 9px;
	border-radius: 999px;
	box-shadow: 0 0 0 2px var(--gm-paper);
}

/* The box itself */
.gm-box {
	background: var(--gm-ink);
	color: var(--gm-paper);
	border-radius: 24px;
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 18px;
	box-shadow: var(--gm-shadow-box);
	box-sizing: border-box;
}

.gm-box p {
	margin: 0;
}

.gm-box a {
	color: inherit;
}

.gm-box__head {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gm-box__title {
	font-family: var(--gm-display);
	font-size: 1.625rem;
	font-weight: 600;
	line-height: 1.15;
}

.gm-box__sub,
.gm-box__lead {
	font-size: 0.9375rem;
	color: var(--gm-on-ink);
	line-height: 1.5;
}

.gm-box__empty,
.gm-box__pack {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gm-box__pack {
	gap: 18px;
}

.gm-price-list {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: 0.906rem;
}

.gm-price-list li {
	display: flex;
	justify-content: space-between;
	padding: 9px 0;
	border-bottom: 1px solid var(--gm-ink-line);
	margin: 0;
}

.gm-price-list li:last-child {
	border-bottom: 0;
}

.gm-price-list strong {
	font-weight: 700;
}

.gm-price-list .is-best {
	color: var(--gm-gold);
}

.gm-box__sum {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gm-box__count {
	font-size: 0.9375rem;
	color: var(--gm-on-ink);
}

.gm-box__price {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 4px 12px;
}

.gm-box__price s {
	font-family: var(--gm-display);
	font-size: 1.25rem;
	color: var(--gm-faded);
	text-decoration-thickness: 1.5px;
}

.gm-box__total {
	font-family: var(--gm-display);
	font-weight: 600;
	font-size: 2.875rem;
	line-height: 1;
	letter-spacing: -0.02em;
	color: var(--gm-gold);
}

.gm-tierbars {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 5px;
}

.gm-tierbars span {
	height: 5px;
	border-radius: 3px;
	background: var(--gm-bar-off);
}

.gm-tierbars span.is-on {
	background: var(--gm-gold);
}

.gm-box__hint {
	font-size: 0.9375rem;
}

.gm-box__terms {
	margin: 10px 0 0;
	font-size: 0.8125rem;
	opacity: 0.75;
	text-align: center;
}

.gm-box__terms a {
	color: inherit;
}

/* Past-buyer offer (or a note that the offer link has ended), above the total on checkout. */
.gm-box__offer {
	margin: 0 0 1rem;
	padding: 0.75rem 0.875rem;
	border: 1px solid var(--gm-gold);
	border-radius: 8px;
	font-size: 0.9375rem;
	font-weight: 600;
	text-wrap: pretty;
}

.gm-box__more a {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--gm-paper);
	text-decoration-color: var(--gm-gold);
	text-underline-offset: 4px;
}

.gm-box__pay {
	display: flex;
	flex-direction: column;
	gap: 10px;
	border-top: 1px solid var(--gm-ink-line);
	padding-top: 18px;
}

.gm-box__pay input[type="email"] {
	font: inherit;
	font-size: 1rem;
	padding: 13px 16px;
	border-radius: 999px !important;
	border: 1px solid #5a6a6f;
	border-color: color-mix(in srgb, var(--gm-ink-line) 70%, var(--gm-faded));
	background: var(--gm-paper);
	color: var(--gm-ink);
	min-width: 0;
	min-height: 48px;
	box-shadow: none;
}

.gm-box__pay input::placeholder {
	color: #6c7578;
	opacity: 1;
}

.gm-box__pay input[readonly] {
	background: var(--gm-sheet);
}

.gm-box__btns {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 10px;
}

.gm-box__btns.is-single {
	grid-template-columns: minmax(0, 1fr);
}

.gm-btn-card,
.gm-btn-paypal {
	font: inherit;
	font-weight: 700;
	font-size: 1rem;
	min-height: 48px;
	width: 100%;
	padding: 12px 10px;
	border-radius: 999px;
	border: 0;
	background: var(--gm-gold);
	color: var(--gm-ink);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	white-space: nowrap;
}

/* Match PayPal's own button next to it: same height and the same yellow. */
.gm-box__btns .gm-btn-card {
	height: 48px;
	min-height: 0;
	padding-top: 0;
	padding-bottom: 0;
	background: var(--wp--preset--color--paypal);
}

.gm-btn-card:hover {
	background: var(--gm-paper);
}

/* PayPal's button won't go narrower than 150px. Its column never drops below
   that, and in a narrow box the card button drops its icon so both still fit. */
.gm-box__btns:not(.is-single) {
	grid-template-columns: minmax(0, 1fr) minmax(150px, 1fr);
}

@container (max-width: 320px) {
	.gm-box__btns .gm-btn-card svg {
		display: none;
	}
}

.gm-btn-card:disabled {
	opacity: 0.6;
	cursor: wait;
}

.gm-btn-paypal {
	background: var(--wp--preset--color--paypal);
	font-style: italic;
	font-weight: 800;
	letter-spacing: -0.01em;
}

.gm-paypal {
	position: relative;
	min-width: 0;
}

.gm-paypal.is-loaded .gm-btn-paypal {
	display: none;
}

.gm-paypal__sdk {
	min-height: 0;
}

.gm-paypal.is-loaded .gm-paypal__sdk {
	min-height: 48px;
}

.gm-box__error {
	font-size: 0.906rem;
	color: #ffd9a6;
	color: color-mix(in srgb, var(--gm-gold) 45%, var(--gm-paper));
	font-weight: 600;
}

.gm-trust {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 10px 32px;
	margin-top: auto;
	padding-top: 8px;
	font-size: 0.906rem;
	color: var(--gm-on-ink);
}

.gm-trust span {
	display: flex;
	align-items: center;
	gap: 8px;
}

.gm-trust svg {
	color: var(--gm-gold);
}

/* Phone cart bar */
.gm-bar {
	display: none;
	position: fixed;
	left: 12px;
	right: 12px;
	bottom: 12px;
	z-index: 50;
	background: var(--gm-ink);
	color: var(--gm-paper);
	border-radius: 24px;
	padding: 14px 16px;
	box-shadow: 0 16px 40px rgba(30, 43, 47, 0.3);
	flex-direction: column;
	gap: 10px;
}

.gm-bar__row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.gm-bar__sum {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
	gap: 2px;
}

.gm-bar__count {
	font-size: 0.8125rem;
	color: var(--gm-on-ink);
}

.gm-bar__price {
	display: flex;
	align-items: baseline;
	gap: 8px;
}

.gm-bar__price s {
	font-family: var(--gm-display);
	font-size: 1rem;
	color: var(--gm-faded);
}

.gm-bar__total {
	font-family: var(--gm-display);
	font-weight: 600;
	font-size: 1.875rem;
	letter-spacing: -0.02em;
	color: var(--gm-gold);
}

.gm-bar__go {
	background: var(--gm-gold);
	color: var(--gm-ink);
	text-decoration: none;
	font-weight: 700;
	padding: 13px 22px;
	border-radius: 999px;
	white-space: nowrap;
}

.gm-bar .gm-tierbars {
	gap: 4px;
}

.gm-bar .gm-tierbars span {
	height: 4px;
}

.gm-bar__hint {
	font-size: 0.8125rem;
	line-height: 1.35;
}

/* ---------- Google Earth preview ---------- */

.gm-preview-host {
	display: contents;
}

.gm-preview {
	width: min(1000px, calc(100% - 40px));
	max-width: none;
	max-height: calc(100% - 40px);
	border: 0;
	padding: clamp(16px, 3vw, 28px);
	background: var(--gm-paper);
	color: var(--gm-ink);
	border-radius: 24px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.35);
	box-sizing: border-box;
}

.gm-preview[open] {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gm-preview::backdrop {
	background: rgba(30, 43, 47, 0.82);
}

.gm-preview__head {
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	gap: 16px;
}

.gm-preview__title {
	margin: 0;
	font-family: var(--wp--preset--font-family--display);
	font-size: clamp(1.5rem, 2.6vw, 2rem);
	font-weight: 600;
	letter-spacing: -0.02em;
	line-height: 1.1;
	color: var(--wp--preset--color--main);
}

.gm-preview__stage {
	position: relative;
	height: min(56vh, 540px);
	background: var(--gm-ink);
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
}

.gm-preview__stage img {
	display: block;
	max-width: 100%;
	max-height: 100%;
}

.gm-round-btn {
	flex: none;
	width: 44px;
	height: 44px;
	border-radius: 999px;
	border: 0;
	background: color-mix(in srgb, var(--gm-paper) 92%, transparent);
	color: var(--gm-ink);
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 0;
}

.gm-round-btn.is-outline {
	border: 1px solid var(--gm-tile-line);
	background: transparent;
}

.gm-round-btn.is-prev,
.gm-round-btn.is-next {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
}

.gm-round-btn.is-prev {
	left: 12px;
}

.gm-round-btn.is-next {
	right: 12px;
}

.gm-preview__caption {
	margin: 0;
	font-size: 1rem;
	color: var(--gm-ink-soft);
}

.gm-preview__thumbs {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 10px;
}

.gm-preview__thumbs button {
	font: inherit;
	padding: 0;
	border: 2px solid transparent;
	border-radius: 10px;
	overflow: hidden;
	background: var(--gm-sheet);
	cursor: pointer;
	display: flex;
	flex-direction: column;
	text-align: left;
	color: var(--gm-ink);
}

.gm-preview__thumbs button.is-on {
	border-color: var(--gm-gold);
}

.gm-preview__thumbs img {
	display: block;
	width: 100%;
	height: 70px;
	object-fit: cover;
}

.gm-preview__thumbs span {
	padding: 8px 10px;
	font-size: 0.8125rem;
	font-weight: 600;
	line-height: 1.25;
}

.gm-preview__note {
	margin: 0;
	font-size: 0.78rem;
	color: var(--gm-muted);
}

/* ---------- Free sample form ---------- */

.gm-free {
	display: flex;
	flex-direction: column;
	gap: 10px;
	max-width: 520px;
}

.gm-free p {
	margin: 0;
}

.gm-free__form {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gm-free__form input {
	flex: 1 1 220px;
	min-width: 0;
	font: inherit;
	font-size: 1rem;
	padding: 14px 18px;
	min-height: 48px;
	border-radius: 999px !important;
	border: 1px solid var(--gm-tile-line);
	background: var(--gm-paper);
	color: var(--gm-ink);
	box-shadow: none;
}

.gm-free__form button,
.gm-free__dl {
	flex: none;
	font: inherit;
	font-weight: 700;
	min-height: 48px;
	background: var(--gm-gold);
	color: var(--gm-ink) !important;
	border: 0;
	padding: 14px 26px;
	border-radius: 999px;
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.gm-free__done {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
}

.gm-free__note,
.gm-free__done span {
	font-size: 0.875rem;
	color: var(--gm-on-ink);
}

.gm-free__error {
	font-weight: 600;
	color: color-mix(in srgb, var(--gm-gold) 45%, var(--gm-paper));
}

/* ---------- State links ---------- */

.gm-band-wrap {
	padding-bottom: clamp(72px, 8vw, 112px);
}

.gm-states.is-band {
	border-radius: 24px;
	padding: clamp(28px, 4vw, 52px);
	display: flex;
	flex-direction: column;
	gap: 26px;
	background-color: var(--gm-ink);
	background-image: url(../img/contours-dark.svg);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	color: var(--gm-paper);
}

.gm-states__head {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	justify-content: space-between;
	gap: 12px 32px;
}

.gm-states__head h2 {
	margin: 0;
	color: var(--gm-paper);
	font-size: clamp(1.875rem, 3.2vw, 2.75rem);
	line-height: 1.06;
}

.gm-states__head p {
	margin: 0;
	color: var(--gm-on-ink);
}

.gm-states__list {
	list-style: none;
	margin: 0;
	padding: 0 !important;
	display: grid;
	gap: 10px;
}

.gm-states.is-band .gm-states__list {
	grid-template-columns: repeat(auto-fill, minmax(min(152px, 100%), 1fr));
}

.gm-states__list li {
	margin: 0;
}

.gm-states.is-band a {
	display: flex;
	align-items: center;
	gap: 10px;
	min-height: 50px;
	box-sizing: border-box;
	background: rgba(243, 238, 226, 0.08);
	border: 1px solid rgba(243, 238, 226, 0.16);
	border-radius: 14px;
	padding: 8px 12px;
	color: var(--gm-paper);
	text-decoration: none;
	font-weight: 600;
	font-size: 0.9375rem;
}

.gm-states.is-band a:hover {
	border-color: var(--gm-gold);
}

.gm-states.is-band .gm-sf {
	font-size: 30px;
	color: var(--gm-gold);
}

.gm-states.is-grid .gm-states__list {
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.gm-states.is-grid a {
	display: flex;
	align-items: center;
	gap: 10px;
	background: var(--gm-paper);
	border-radius: 12px;
	padding: 12px 14px;
	text-decoration: none;
	color: var(--gm-ink);
	font-weight: 600;
	font-size: 0.9375rem;
	min-width: 0;
}

.gm-states.is-grid a span:last-child {
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.gm-states.is-grid .gm-sf {
	font-size: 32px;
	color: var(--gm-brown);
}

.gm-states.is-list .gm-states__list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px 24px;
	font-size: 0.9375rem;
}

.gm-states.is-list a,
.gm-foot-links a {
	color: var(--gm-ink);
	text-decoration: none;
	display: inline-block;
	padding: 2px 0;
}

.gm-states.is-list a:hover,
.gm-foot-links a:hover {
	text-decoration: underline;
	text-decoration-color: var(--gm-gold);
}

/* ---------- Footer ---------- */

.gm-site-footer {
	position: relative;
}

.gm-footer {
	position: relative;
	padding-top: 24px;
	padding-bottom: 96px;
}

.gm-footer::before {
	top: 0;
	bottom: 0;
	width: max(1700px, 100%);
	background-position: center bottom;
	-webkit-mask-image: linear-gradient(to top, #000 0, transparent 90%);
	mask-image: linear-gradient(to top, #000 0, transparent 90%);
}

.gm-footer > * {
	position: relative;
	z-index: 1;
}

.gm-footer__cols {
	gap: 36px 56px !important;
	align-items: flex-start !important;
}

.gm-footer__brand {
	flex: 1 1 240px;
	gap: 14px !important;
}

.gm-footer__brand > * {
	margin: 0 !important;
}

.gm-footer__logo img {
	width: 230px;
	max-width: 100%;
	height: auto;
}

.gm-footer__states {
	flex: 2 1 320px;
}

.gm-footer__col {
	flex: 1 1 150px;
}

.gm-foot-h {
	margin: 0 0 12px !important;
	font-family: var(--gm-mono) !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.14em !important;
	line-height: 1.4 !important;
	color: var(--gm-brown) !important;
}

.gm-foot-links {
	list-style: none;
	margin: 0;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 6px;
	font-size: 0.9375rem;
}

.gm-foot-links li {
	margin: 0;
}

.gm-footer__legal {
	margin-top: 40px !important;
	line-height: 1.5;
}

/* ---------- State pages ---------- */

.gm-state-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 396px;
	gap: 48px 72px;
	align-items: start;
}

.gm-state-main {
	display: flex;
	flex-direction: column;
	gap: clamp(72px, 8vw, 112px);
	min-width: 0;
}

.gm-state-main > * {
	margin: 0 !important;
}

.gm-buy-col {
	position: sticky;
	top: 24px;
}

.gm-state-intro {
	display: flex;
	flex-direction: column;
	gap: 24px !important;
}

.gm-state-intro > * {
	margin: 0 !important;
}

.gm-state-intro h1 {
	font-size: clamp(2.75rem, 5.4vw, 5rem);
	line-height: 1;
}

.gm-updated {
	align-self: flex-start;
	display: inline-flex !important;
	background: var(--gm-ink);
	color: var(--gm-paper);
	border-radius: 999px;
	padding: 6px 14px;
	font-size: 0.844rem;
	font-weight: 600;
	line-height: 1.4;
}

.gm-state-intro .gm-lead {
	font-size: 1.1875rem;
	line-height: 1.65;
	max-width: 640px;
}

.gm-section-stack {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.gm-section-stack > * {
	margin: 0 !important;
}

.gm-tour {
	display: flex;
	flex-direction: column;
	gap: clamp(48px, 5vw, 72px) !important;
	margin-top: 48px !important;
}

.gm-tour .wp-block-media-text {
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr) !important;
	gap: 24px 36px;
	align-items: center;
}

.gm-tour .wp-block-media-text__media {
	background: var(--gm-card);
	padding: 10px;
	border-radius: 14px;
	box-shadow: var(--wp--preset--shadow--lifted);
	transform: rotate(-1deg);
}

.gm-tour .wp-block-media-text:nth-child(even) .wp-block-media-text__media {
	transform: rotate(1deg);
}

.gm-tour .wp-block-media-text__media img {
	border-radius: 6px;
	height: auto;
}

.gm-tour .wp-block-media-text__content {
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gm-tour .wp-block-media-text__content > * {
	margin: 0 !important;
}

.gm-tour h3 {
	font-size: clamp(1.625rem, 2.4vw, 2.125rem);
	line-height: 1.12;
}

.gm-tour p {
	color: var(--gm-ink-soft);
	text-wrap: pretty;
}

.gm-layer-list {
	background: color-mix(in srgb, var(--gm-sheet) 90%, transparent);
	border-radius: 16px;
	overflow: hidden;
	gap: 0 !important;
}

.gm-layer-row {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 4px 16px;
	align-items: center;
	padding: 18px 22px;
	border-top: 1px solid rgba(30, 43, 47, 0.12);
	margin: 0 !important;
}

.gm-layer-row:first-child {
	border-top: 0;
}

.gm-layer-row > * {
	margin: 0 !important;
}

.gm-layer-row__name {
	font-weight: 700;
	font-size: 1.03rem;
	line-height: 1.35;
}

.gm-layer-row__desc {
	grid-column: 1;
	font-size: 0.875rem;
	color: var(--gm-muted);
	line-height: 1.35;
}

.gm-layer-row__count {
	grid-column: 2;
	grid-row: 1 / span 2;
	font-family: var(--gm-display);
	font-weight: 600;
	font-size: 1.375rem;
	white-space: nowrap;
}

.gm-note-h {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.625rem !important;
}

.gm-note-h::before {
	content: "";
	flex: none;
	width: 30px;
	height: 30px;
	background-color: var(--gm-brown);
	-webkit-mask: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11.2a6.5 6.5 0 0 1 13 0C18.5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.8' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 21s-6.5-6.2-6.5-11.2a6.5 6.5 0 0 1 13 0C18.5 14.8 12 21 12 21z'/%3E%3Ccircle cx='12' cy='9.8' r='2.4'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gm-more-states {
	background: color-mix(in srgb, var(--gm-sheet) 90%, transparent);
	border-radius: 24px;
	padding: clamp(24px, 3vw, 40px) !important;
	display: flex;
	flex-direction: column;
	gap: 24px !important;
}

.gm-more-states > * {
	margin: 0 !important;
}

.gm-more-states h2 {
	font-size: clamp(1.75rem, 2.8vw, 2.5rem);
}

.gm-alaska-map {
	margin: 0 !important;
}

.gm-alaska-map img {
	border-radius: 14px;
	height: auto;
}

/* ---------- Help pages ---------- */

.gm-help-grid {
	display: grid;
	grid-template-columns: 230px minmax(0, 1fr);
	gap: 32px 64px;
	align-items: start;
	max-width: 1100px;
	margin-left: auto !important;
	margin-right: auto !important;
}

.gm-help-side {
	position: sticky;
	top: 24px;
}

.gm-help-main {
	min-width: 0;
	max-width: 760px;
}

.gm-help-main .gm-page-title {
	font-size: clamp(2.5rem, 4.8vw, 4.125rem);
}

.gm-helpnav ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.gm-helpnav li {
	margin: 0;
}

.gm-helpnav a {
	display: block;
	border-left: 3px solid transparent;
	padding: 10px 16px;
	color: var(--gm-ink-soft);
	text-decoration: none;
	font-size: 1rem;
	font-weight: 600;
}

.gm-helpnav a:hover {
	color: var(--gm-ink);
	background: color-mix(in srgb, var(--gm-sheet) 60%, transparent);
}

.gm-helpnav a[aria-current="page"] {
	border-left-color: var(--gm-gold);
	color: var(--gm-ink);
	background: var(--gm-card);
}

.gm-help-section {
	margin-top: 56px !important;
}

.gm-swatch-list {
	list-style: none;
	margin: 8px 0 14px !important;
	padding: 0 !important;
	background: var(--gm-card);
	border-radius: 18px;
	box-shadow: var(--gm-shadow-card);
	overflow: hidden;
}

.gm-swatch-list li {
	position: relative;
	padding: 16px 22px 16px 64px;
	border-top: 1px solid rgba(30, 43, 47, 0.1);
	margin: 0 !important;
	font-size: 1rem;
	line-height: 1.55;
	color: var(--gm-muted);
}

.gm-swatch-list li:first-child {
	border-top: 0;
}

.gm-swatch-list li::before {
	content: "";
	position: absolute;
	left: 22px;
	top: 21px;
	width: 22px;
	height: 22px;
	border-radius: 5px;
	box-shadow: inset 0 0 0 1.5px rgba(30, 43, 47, 0.35);
	background: var(--gm-swatch);
}

.gm-swatch-list li:nth-child(1) { --gm-swatch: var(--wp--preset--color--layer-active-lode); }
.gm-swatch-list li:nth-child(2) { --gm-swatch: var(--wp--preset--color--layer-active-placer); }
.gm-swatch-list li:nth-child(3) { --gm-swatch: var(--wp--preset--color--layer-closed-lode); }
.gm-swatch-list li:nth-child(4) { --gm-swatch: var(--wp--preset--color--layer-closed-placer); }
.gm-swatch-list li:nth-child(5) { --gm-swatch: var(--wp--preset--color--layer-old-mines); }

.gm-swatch-list strong {
	display: block;
	font-size: 1.094rem;
	line-height: 1.4;
	color: var(--gm-ink);
}

.gm-app-cards {
	display: grid !important;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 14px;
	margin-top: 6px !important;
}

.gm-app-card {
	background: var(--gm-card);
	border-radius: 18px;
	padding: 22px !important;
	display: flex;
	flex-direction: column;
	gap: 10px !important;
	box-shadow: var(--gm-shadow-card);
}

.gm-app-card > * {
	margin: 0 !important;
}

.gm-app-card h3 {
	font-family: var(--wp--preset--font-family--primary);
	font-size: 1.125rem;
	font-weight: 700;
	letter-spacing: 0;
}

.gm-app-card p {
	font-size: 0.97rem;
	line-height: 1.6;
}

.gm-app-card::before {
	content: "";
	width: 44px;
	height: 44px;
	border-radius: 12px;
	background: var(--gm-ink) var(--gm-app-icon) center / 24px no-repeat;
}

.gm-app-card:nth-child(1) { --gm-app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D6A21E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 4h18v12H3zM8 20h8M12 16v4'/%3E%3C/svg%3E"); }
.gm-app-card:nth-child(2) { --gm-app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D6A21E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3a9 9 0 1 0 0 18 9 9 0 0 0 0-18zM3 12h18M12 3c2.5 2.6 3.8 5.6 3.8 9s-1.3 6.4-3.8 9c-2.5-2.6-3.8-5.6-3.8-9S9.5 5.6 12 3z'/%3E%3C/svg%3E"); }
.gm-app-card:nth-child(3) { --gm-app-icon: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23D6A21E' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 2h10a1 1 0 0 1 1 1v18a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1V3a1 1 0 0 1 1-1zM11 18h2'/%3E%3C/svg%3E"); }

.gm-callout {
	background: color-mix(in srgb, var(--gm-sheet) 90%, transparent);
	border-radius: 16px;
	padding: 18px 20px !important;
	font-size: 1rem !important;
	line-height: 1.6;
	margin-top: 16px !important;
}

.gm-two {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px 32px;
	align-items: start;
}

.gm-shot img {
	background: var(--gm-card);
	padding: 8px;
	border-radius: 14px;
	box-shadow: var(--wp--preset--shadow--lifted);
	height: auto;
}

.gm-warn h2 {
	display: flex;
	align-items: center;
	gap: 12px;
	font-size: 1.625rem !important;
	margin: 0 0 4px !important;
}

.gm-warn {
	border-radius: 20px;
	padding: clamp(22px, 3vw, 34px) !important;
	margin-top: 56px !important;
}

.gm-warn p {
	font-size: 1.03rem;
	line-height: 1.65;
	margin: 8px 0 0 !important;
}

.gm-numbered {
	list-style: none;
	counter-reset: gm-step;
	padding: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 12px;
	margin: 0 !important;
}

.gm-numbered > li {
	counter-increment: gm-step;
	position: relative;
	background: var(--gm-card);
	border-radius: 18px;
	padding: 20px 22px 20px 80px;
	box-shadow: var(--gm-shadow-card);
	margin: 0 !important;
	font-size: 1.03rem;
	line-height: 1.6;
	color: var(--gm-ink-soft);
}

.gm-numbered > li::before {
	content: counter(gm-step);
	position: absolute;
	left: 22px;
	top: 20px;
	width: 40px;
	height: 40px;
	border-radius: 50%;
	background: var(--gm-ink);
	color: var(--gm-paper);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--gm-display);
	font-weight: 600;
	font-size: 1.25rem;
}

.gm-numbered > li:last-child::before {
	background: var(--gm-gold);
	color: var(--gm-ink);
}

.gm-numbered strong {
	display: block;
	font-size: 1.1875rem;
	line-height: 1.35;
	margin-bottom: 4px;
}

.gm-ge-box {
	background: color-mix(in srgb, var(--gm-sheet) 90%, transparent);
	border-radius: 20px;
	padding: clamp(22px, 3vw, 32px) !important;
	margin-top: 56px !important;
	gap: 16px 32px;
}

.gm-ge-box > * {
	margin: 0 !important;
}

.gm-guarantee {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 24px 44px;
	border-radius: 22px;
	padding: clamp(26px, 4vw, 44px) !important;
}

.gm-guarantee > * {
	margin: 0 !important;
}

.gm-seal {
	flex: none;
	width: 168px;
	height: 168px;
	border-radius: 50%;
	border: 2px solid var(--gm-gold);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	text-align: center;
	gap: 6px;
}

.gm-seal p {
	margin: 0 !important;
}

.gm-seal__num {
	font-family: var(--gm-display);
	font-weight: 600;
	font-size: 4rem !important;
	line-height: 0.9 !important;
	color: var(--gm-gold) !important;
}

.gm-seal__label {
	font-size: 0.9375rem;
	font-weight: 600;
	color: var(--gm-paper) !important;
}

.gm-guarantee__text {
	flex: 1 1 320px;
	font-family: var(--gm-display);
	font-size: clamp(1.375rem, 2.2vw, 1.69rem) !important;
	line-height: 1.4;
	color: var(--gm-paper) !important;
	text-wrap: pretty;
}

.gm-signoff {
	padding-top: 22px;
	border-top: 1px solid var(--gm-rule);
	font-family: var(--gm-display);
	font-style: italic;
	font-size: 1.25rem;
	color: var(--gm-ink);
}

/* Contact form (Gravity Forms) */
.gm-contact {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 28px 36px;
	align-items: start;
}

.gm-contact__form {
	background: var(--gm-card);
	border-radius: 22px;
	box-shadow: 0 1px 0 rgba(30, 43, 47, 0.06), 0 22px 50px rgba(30, 43, 47, 0.12);
	padding: clamp(22px, 3vw, 32px) !important;
}

.gm-contact__aside {
	display: flex;
	flex-direction: column;
	gap: 24px;
}

.gm-contact__aside > * {
	margin: 0 !important;
}

.gm-contact__aside h2 {
	font-size: 1.375rem !important;
	margin-bottom: 6px !important;
}

.gm-quick {
	list-style: none;
	padding: 0 !important;
	margin: 0 !important;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gm-quick li {
	margin: 0;
}

.gm-quick a {
	display: flex;
	flex-direction: column;
	gap: 2px;
	background: color-mix(in srgb, var(--gm-sheet) 90%, transparent);
	border-radius: 14px;
	padding: 14px 44px 14px 18px;
	color: var(--gm-ink);
	text-decoration: none;
	font-weight: 700;
	position: relative;
	font-size: 1rem;
}

.gm-quick a::after {
	content: "\203A";
	position: absolute;
	right: 18px;
	top: 50%;
	transform: translateY(-50%);
	font-size: 1.5rem;
	color: var(--gm-brown);
}

.gm-quick a span {
	font-weight: 400;
	font-size: 0.906rem;
	color: var(--gm-muted);
}

.gm-contact__form .gform_wrapper .gfield_label,
.gm-contact__form .gform_wrapper legend {
	font-weight: 700 !important;
	font-size: 0.906rem !important;
	color: var(--gm-ink);
}

.gm-contact__form .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]),
.gm-contact__form .gform_wrapper textarea,
.gm-contact__form .gform_wrapper select {
	font: inherit;
	font-size: 1rem !important;
	padding: 13px 14px !important;
	border-radius: 10px !important;
	border: 1.5px solid var(--gm-tile-line) !important;
	background: #fff;
	color: var(--gm-ink);
	box-shadow: none;
}

.gm-contact__form .gform_wrapper .gform_button,
.gm-contact__form .gform_wrapper input[type="submit"] {
	font: inherit !important;
	font-weight: 700 !important;
	font-size: 1.0625rem !important;
	padding: 15px 28px !important;
	border-radius: 999px !important;
	border: 0 !important;
	background: var(--gm-gold) !important;
	color: var(--gm-ink) !important;
	cursor: pointer;
	width: 100%;
	min-height: 48px;
}

/* ---------- Guides ---------- */

.gm-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 40px !important;
}

.gm-chip {
	font: inherit;
	font-size: 0.97rem;
	font-weight: 600;
	min-height: 44px;
	padding: 9px 18px;
	border-radius: 999px;
	border: 1px solid var(--gm-rule);
	background: color-mix(in srgb, var(--gm-card) 70%, transparent);
	color: var(--gm-ink);
	cursor: pointer;
}

.gm-chip:hover {
	border-color: var(--gm-ink);
}

.gm-chip[aria-pressed="true"] {
	background: var(--gm-ink);
	border-color: var(--gm-ink);
	color: var(--gm-paper);
}

.gm-guides-featured,
.gm-guides-grid,
.gm-archive-grid {
	margin-top: 40px !important;
}

.gm-guides-featured .wp-block-post-template {
	margin: 0;
}

.gm-feature-card {
	display: grid !important;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 1fr);
	background: var(--gm-card);
	border-radius: 24px;
	overflow: hidden;
	box-shadow: 0 1px 0 rgba(30, 43, 47, 0.06), 0 22px 50px rgba(30, 43, 47, 0.12);
	position: relative;
}

.gm-feature-card__text {
	padding: clamp(24px, 3.5vw, 48px);
	display: flex;
	flex-direction: column;
	justify-content: center;
	gap: 14px;
}

.gm-feature-card__text > * {
	margin: 0 !important;
}

.gm-read-more {
	font-weight: 700;
	color: var(--gm-brown);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.gm-read-more::after {
	content: "\2192";
}

.gm-card-grid {
	gap: 28px 24px !important;
}

.gm-card {
	display: flex;
	flex-direction: column;
	gap: 6px;
	height: 100%;
	position: relative;
}

.gm-card > * {
	margin: 0 !important;
}

.gm-card .gm-glyph {
	margin-bottom: 8px !important;
}

.gm-card__title {
	line-height: 1.2 !important;
}

.gm-card__title a,
.gm-feature-card .gm-card__title a {
	color: var(--gm-ink);
	text-decoration: none;
}

/* The whole card is one link (the title's), for bigger tap targets. */
.gm-card__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
}

.gm-card:hover .gm-card__title a,
.gm-feature-card:hover .gm-card__title a,
.gm-card__title a:focus-visible {
	text-decoration: underline;
	text-decoration-color: var(--gm-gold);
	text-decoration-thickness: 2px;
	text-underline-offset: 5px;
}

.gm-card .wp-block-post-excerpt__excerpt,
.gm-card .wp-block-post-excerpt p {
	margin: 0;
}

.gm-meta-line {
	gap: 0 !important;
	font-size: 0.875rem;
	color: var(--gm-muted);
	margin-top: 2px !important;
}

.gm-meta-line > * {
	margin: 0 !important;
}

.gm-meta-line > * + *::before {
	content: "\00B7";
	margin: 0 6px;
}

.gm-topic {
	font-size: 0.875rem;
	color: var(--gm-muted);
}

.gm-glyph {
	display: flex !important;
	align-items: center;
	justify-content: center;
	background-color: var(--gm-ink);
	background-image: url(../img/contours-dark.svg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--gm-gold);
	text-decoration: none;
	overflow: hidden;
}

.gm-glyph.is-card {
	border-radius: 18px;
	aspect-ratio: 16 / 10;
	box-shadow: 0 14px 30px rgba(30, 43, 47, 0.14);
}

.gm-glyph.is-card .gm-sf {
	font-size: 128px;
}

.gm-glyph.is-card svg {
	width: 88px;
	height: 88px;
}

.gm-glyph.is-feature {
	min-height: 300px;
	height: 100%;
}

.gm-glyph.is-feature .gm-sf {
	font-size: 230px;
}

.gm-glyph.is-feature svg {
	width: 160px;
	height: 160px;
}

.gm-glyph.is-small {
	flex: none;
	width: 108px;
	height: 108px;
	border-radius: 16px;
}

.gm-glyph.is-small .gm-sf {
	font-size: 72px;
}

.gm-glyph.is-small svg {
	width: 56px;
	height: 56px;
}

.gm-more-btn {
	display: block;
	margin: 40px auto 0;
	font: inherit;
	font-weight: 700;
	min-height: 48px;
	color: var(--gm-ink);
	background: transparent;
	border: 1.5px solid var(--gm-ink);
	border-radius: 999px;
	padding: 13px 28px;
	cursor: pointer;
}

.gm-more-btn:hover {
	background: var(--gm-ink);
	color: var(--gm-paper);
}

/* Home "Guides for the trip" row */
.gm-guide-row .wp-block-post-template {
	gap: 20px !important;
}

.gm-guide-card {
	background: var(--gm-sheet-a);
	border-radius: 12px;
	padding: 28px;
	display: grid !important;
	grid-template-columns: 1fr auto;
	gap: 18px;
	align-items: center;
	min-height: 150px;
	height: 100%;
	box-sizing: border-box;
	position: relative;
}

.gm-guide-card > * {
	margin: 0 !important;
}

.gm-guide-card__text {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gm-guide-card__text > * {
	margin: 0 !important;
}

.gm-guide-card .gm-glyph {
	background: none;
	color: var(--gm-brown);
	width: 56px;
	height: 56px;
	aspect-ratio: auto;
	border-radius: 0;
	box-shadow: none;
	overflow: visible;
}

.gm-guide-card .gm-glyph .gm-sf {
	font-size: 84px;
}

.gm-guide-card .gm-glyph svg {
	width: 72px;
	height: 72px;
}

/* Give guide titles room for two even lines: a smaller picture beside them,
   one card per row on tablets, and the picture under the text in narrow cards. */
.gm-guide-card {
	gap: 14px;
}

.gm-guide-card .gm-glyph .gm-sf {
	font-size: 52px;
}

.gm-guide-card .gm-glyph svg {
	width: 56px;
	height: 56px;
}

.gm-guide-row > li {
	container-type: inline-size;
}

@container (max-width: 340px) {
	.gm-guide-card {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 899px) {
	.gm-guide-row.wp-block-post-template {
		grid-template-columns: 1fr !important;
	}
}

/* ---------- Single guide ---------- */

.gm-post-head {
	display: flex;
	flex-direction: column;
	gap: 16px;
	max-width: 820px;
}

.gm-post-head > * {
	margin: 0 !important;
}

.gm-post-head h1 {
	font-size: clamp(2.5rem, 5vw, 4.125rem);
	line-height: 1.04;
	text-wrap: balance;
}

.gm-post-head .wp-block-breadcrumbs a {
	color: var(--gm-brown);
}

.gm-feature-img {
	margin-top: 36px !important;
}

.gm-feature-img img {
	border-radius: 22px;
	box-shadow: 0 18px 44px rgba(30, 43, 47, 0.16);
}

.gm-post-grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 396px;
	gap: 40px 64px;
	align-items: start;
	margin-top: 36px !important;
}

.gm-post-side {
	position: sticky;
	top: 24px;
	display: flex;
	flex-direction: column;
	gap: 32px;
}

.gm-post-side > * {
	margin: 0 !important;
}

/* Menu + buy box run about 920px. On shorter screens a stuck sidebar would hide the pay buttons, so it scrolls with the page. */
@media (max-height: 1000px) {
	.gm-post-side {
		position: static;
	}
}

.gm-toc {
	background: var(--gm-card);
	border-radius: 18px;
	box-shadow: var(--gm-shadow-card);
	padding: 22px;
}

.gm-toc__title {
	margin: 0 0 8px;
	font-size: 1.25rem;
	letter-spacing: 0;
}

.gm-toc ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.gm-toc li {
	margin: 0;
}

.gm-toc a {
	display: block;
	color: var(--gm-ink-soft);
	text-decoration: none;
	font-size: 0.97rem;
	padding: 6px 0 6px 14px;
	border-left: 2px solid #d8cfba;
	border-left-color: color-mix(in srgb, var(--gm-rule) 70%, var(--gm-sheet));
}

.gm-toc a:hover,
.gm-toc a[aria-current] {
	color: var(--gm-ink);
	border-left-color: var(--gm-gold);
}

.gm-toc a[aria-current] {
	font-weight: 600;
}

.gm-keep-reading {
	margin-top: 36px !important;
	padding-top: 28px;
	border-top: 1px solid var(--gm-rule);
}

.gm-keep-reading .gm-section-head {
	margin-bottom: 22px;
	align-items: baseline;
}

.gm-related {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
}

.gm-related li {
	margin: 0;
}

.gm-related__card {
	display: flex;
	gap: 16px;
	align-items: center;
	color: var(--gm-ink);
	text-decoration: none;
}

.gm-related__text {
	display: flex;
	flex-direction: column;
	gap: 4px;
	min-width: 0;
}

.gm-related__text strong {
	font-family: var(--gm-display);
	font-weight: 600;
	font-size: 1.25rem;
	line-height: 1.25;
}

.gm-related__card:hover strong {
	text-decoration: underline;
	text-decoration-color: var(--gm-gold);
	text-underline-offset: 4px;
}

.gm-related__text span {
	font-size: 0.875rem;
	color: var(--gm-muted);
}

/* ---------- Store pages (checkout, My Maps, sign-in, thank-you) ---------- */

.gm-store-content > * + * {
	margin-top: 28px;
}

.gm-thanks {
	border-radius: 22px;
	padding: clamp(24px, 3.5vw, 40px);
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 20px 32px;
	background-color: var(--gm-ink);
	background-image: url(../img/contours-dark.svg);
	background-size: cover;
	background-position: center;
	background-repeat: no-repeat;
	color: var(--gm-paper);
}

.gm-thanks__check {
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 50%;
	background: var(--gm-gold);
	color: var(--gm-ink);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gm-thanks__text {
	flex: 1 1 360px;
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gm-thanks h1 {
	margin: 0;
	color: var(--gm-paper);
	font-size: clamp(1.875rem, 3.2vw, 2.625rem);
	line-height: 1.08;
}

.gm-thanks p {
	margin: 0;
	color: var(--gm-on-ink);
}

.gm-thanks strong {
	color: var(--gm-paper);
}

.gm-maps-head {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
	gap: 12px 32px;
	margin: 40px 0 20px;
}

.gm-maps-head h1,
.gm-maps-head h2 {
	margin: 0;
	font-size: clamp(2rem, 3.4vw, 2.875rem);
	line-height: 1.05;
}

.gm-maps-head p {
	margin: 6px 0 0;
	font-size: 0.9375rem;
	color: var(--gm-ink-soft);
}

.gm-maps-head a {
	font-weight: 600;
}

.gm-map-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.gm-map-card {
	margin: 0;
	background: var(--gm-card);
	border-radius: 18px;
	box-shadow: var(--gm-shadow-card);
	padding: 18px 20px;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px 18px;
}

.gm-map-card__glyph {
	flex: none;
	width: 64px;
	height: 64px;
	border-radius: 14px;
	background: var(--gm-sheet);
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: var(--wp--preset--font-family--stateface);
	font-size: 46px;
	line-height: 1;
	color: var(--gm-brown);
}

.gm-map-card__text {
	flex: 1 1 160px;
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.gm-map-card__text strong {
	font-family: var(--gm-display);
	font-weight: 600;
	font-size: 1.3125rem;
	line-height: 1.2;
}

.gm-map-card__text span {
	font-size: 0.875rem;
	color: var(--gm-muted);
}

.gm-map-card__text a {
	font-size: 0.875rem;
	font-weight: 600;
	margin-top: 2px;
}

.gm-dl-btn {
	flex: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	background: var(--gm-gold);
	color: var(--gm-ink) !important;
	text-decoration: none;
	font-weight: 700;
	padding: 12px 20px;
	min-height: 48px;
	box-sizing: border-box;
	border-radius: 999px;
}

.gm-dl-btn:hover {
	background: var(--gm-ink);
	color: var(--gm-paper) !important;
}

.gm-open-steps {
	margin-top: 40px;
	background: color-mix(in srgb, var(--gm-sheet) 90%, transparent);
	border-radius: 20px;
	padding: clamp(22px, 3vw, 34px) !important;
}

.gm-open-steps h2 {
	margin: 0 0 18px;
	font-size: 1.5rem;
}

.gm-open-steps ol {
	list-style: none;
	margin: 0;
	padding: 0 !important;
	counter-reset: gm-open;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(220px, 100%), 1fr));
	gap: 16px 28px;
}

.gm-open-steps li {
	counter-increment: gm-open;
	position: relative;
	padding-left: 44px;
	margin: 0;
	font-size: 0.9375rem;
	color: var(--gm-ink-soft);
}

.gm-open-steps li strong {
	display: block;
	font-size: 1.0625rem;
	color: var(--gm-ink);
}

.gm-open-steps li::before {
	content: counter(gm-open);
	position: absolute;
	left: 0;
	top: 0;
	width: 32px;
	height: 32px;
	border-radius: 50%;
	background: var(--gm-ink);
	color: var(--gm-paper);
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	font-size: 0.9375rem;
}

.gm-open-steps li:last-child::before {
	background: var(--gm-gold);
	color: var(--gm-ink);
}

.gm-orders-wrap {
	overflow-x: auto;
	background: var(--gm-card);
	border-radius: 16px;
}

.gm-orders {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9375rem;
	min-width: 520px;
}

.gm-orders th {
	text-align: left;
	font-family: var(--gm-mono);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gm-muted);
	padding: 14px 20px;
}

.gm-orders td {
	padding: 14px 20px;
	border-top: 1px solid rgba(30, 43, 47, 0.1);
}

.gm-orders td:last-child,
.gm-orders th:last-child {
	text-align: right;
	font-weight: 600;
}

.gm-signin-card {
	max-width: 520px;
	margin: clamp(12px, 4vw, 48px) auto 0;
	background: var(--gm-card);
	border-radius: 22px;
	box-shadow: 0 1px 0 rgba(30, 43, 47, 0.06), 0 22px 50px rgba(30, 43, 47, 0.14);
	padding: clamp(24px, 4vw, 40px);
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.gm-signin-card > *,
.gm-signin-card form > * {
	margin: 0;
}

.gm-signin-card form {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.gm-signin-card h1,
.gm-signin-card h2 {
	margin: 0;
	font-size: clamp(1.875rem, 3.4vw, 2.5rem);
	line-height: 1.08;
}

.gm-signin-card p {
	color: var(--gm-ink-soft);
}

.gm-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.gm-field label {
	font-weight: 700;
	font-size: 0.906rem;
}

.gm-field input {
	font: inherit;
	font-size: 1rem !important;
	padding: 13px 14px !important;
	border-radius: 10px !important;
	border: 1.5px solid var(--gm-tile-line) !important;
	background: #fff;
	color: var(--gm-ink);
	min-width: 0;
	min-height: 48px;
	box-shadow: none !important;
}

.gm-btn {
	font: inherit;
	font-weight: 700;
	font-size: 1.0625rem;
	padding: 14px 24px;
	min-height: 48px;
	border-radius: 999px;
	border: 0;
	background: var(--gm-gold);
	color: var(--gm-ink);
	cursor: pointer;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.gm-btn.is-outline {
	background: transparent;
	border: 1px solid var(--gm-ink);
	font-weight: 600;
	font-size: 1rem;
}

.gm-btn:hover {
	background: var(--gm-ink);
	color: var(--gm-paper);
}

.gm-signin-card details summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--gm-brown);
	min-height: 44px;
	display: flex;
	align-items: center;
}

.gm-signin-card details[open] > * + * {
	margin-top: 14px;
}

.gm-icon-circle {
	width: 60px;
	height: 60px;
	border-radius: 50%;
	background: var(--gm-sheet);
	color: var(--gm-brown);
	display: flex;
	align-items: center;
	justify-content: center;
}

.gm-note {
	background: var(--gm-card);
	border-left: 4px solid var(--gm-gold);
	border-radius: 10px;
	padding: 14px 18px;
	margin: 0;
	color: var(--gm-ink);
}

.gm-small {
	font-size: 0.906rem;
	color: var(--gm-ink-soft);
}

.gm-account {
	margin-top: 40px;
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gm-account h2 {
	margin: 0;
	font-size: 1.5rem;
}

.gm-account form {
	display: flex;
	flex-direction: column;
	gap: 14px;
	max-width: 420px;
}

.gm-checkout-head {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 28px;
}

.gm-checkout-head > * {
	margin: 0 !important;
}

.gm-checkout-head h1 {
	font-size: var(--wp--preset--font-size--xx-large);
}

/* ---------- Narrower screens ---------- */

@media (max-width: 1180px) {
	.gm-pick-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	.gm-pick-grid.is-compact {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1100px) {
	.gm-state-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.gm-buy-col {
		position: static;
	}
	.gm-buy-col .layout-box.has-phone-bar .gm-box {
		display: none;
	}
	.gm-buy-col .layout-box.has-phone-bar .gm-bar:not([hidden]) {
		display: flex;
	}
	body.page-template-page-state {
		padding-bottom: 150px;
	}
}

@media (max-width: 1040px) {
	.gm-post-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.gm-post-side {
		position: static;
	}
	.gm-toc {
		display: none;
	}
}

@media (max-width: 1000px) {
	.gm-steps {
		grid-template-columns: minmax(0, 1fr);
		gap: 40px;
	}
	.gm-steps::before {
		display: none;
	}
	.gm-step {
		padding-left: 88px;
	}
	.gm-steps .gm-step::before {
		position: absolute;
		left: 0;
		top: 0;
	}
	.gm-step:not(:last-child)::after {
		content: "";
		position: absolute;
		left: 31px;
		top: 84px;
		bottom: -36px;
		border-left: 3px dotted color-mix(in srgb, var(--gm-brown) 75%, transparent);
	}
	.gm-feature-card {
		grid-template-columns: minmax(0, 1fr);
	}
	.gm-glyph.is-feature {
		min-height: 220px;
	}
	.gm-card-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
	}
}

@media (max-width: 960px) {
	.gm-help-grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.gm-help-side {
		position: static;
	}
	.gm-helpnav ul {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 8px;
	}
	.gm-helpnav a {
		border: 1px solid var(--gm-rule);
		border-radius: 999px;
		padding: 9px 16px;
	}
	.gm-helpnav a[aria-current="page"] {
		border-color: var(--gm-ink);
		background: var(--gm-ink);
		color: var(--gm-paper);
	}
}

@media (max-width: 860px) {
	.gm-map-cards,
	.gm-related {
		grid-template-columns: minmax(0, 1fr);
	}
}

@media (max-width: 760px) {
	.gm-tour .wp-block-media-text {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.gm-tour .wp-block-media-text__media,
	.gm-tour .wp-block-media-text__content {
		grid-column: 1;
		grid-row: auto;
	}
	.gm-two,
	.gm-contact {
		grid-template-columns: minmax(0, 1fr);
	}
	.gm-states.is-grid .gm-states__list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
	/* Home picker: the box gives way to the cart bar */
	.layout-tiles.has-phone-bar .gm-box {
		display: none;
	}
	.layout-tiles.has-phone-bar .gm-bar:not([hidden]) {
		display: flex;
	}
	body.home:has(.gm-bar:not([hidden])) {
		padding-bottom: 160px;
	}
	/* Map card sits under the map */
	.gm-usmap__card {
		position: relative !important;
		left: auto !important;
		top: auto !important;
		transform: none;
		width: auto;
		margin-top: 12px;
	}
	.gm-usmap__x {
		display: flex;
	}
	.gm-usmap__card .gm-usmap__name {
		padding-right: 40px;
	}
}

@media (max-width: 600px) {
	.gm-logo img {
		height: 44px;
	}
	.gm-pick-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.gm-tile {
		padding: 8px;
		gap: 6px;
		min-height: 64px;
	}
	.gm-tile__main {
		gap: 6px;
	}
	.gm-tile__glyph {
		width: 26px;
		font-size: 26px;
	}
	.gm-tile__name {
		font-size: 0.875rem;
	}
	.gm-tile__add {
		width: 44px;
		height: 44px;
	}
	.gm-tile__badge {
		font-size: 9.5px;
		left: 10px;
		padding: 3px 8px;
	}
	.gm-states.is-grid .gm-states__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.gm-card-grid {
		grid-template-columns: minmax(0, 1fr) !important;
	}
	.gm-preview__thumbs {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.gm-post-body {
		font-size: 1.125rem;
	}
	.gm-box {
		padding: 22px;
	}
	.gm-numbered > li {
		padding-left: 22px;
		padding-top: 72px;
	}
	.gm-faq__list details p {
		padding-right: 0;
	}
	.gm-trust-strip {
		justify-content: flex-start;
		padding: 18px 20px !important;
	}
}

/* ---------- Layout fixes ---------- */

/* Grids and rows lay out their own children: no flow-layout gaps on them. */
:where(.gm-hero, .gm-layer-cards, .gm-stats, .gm-steps, .gm-quotes, .gm-quotes__side, .gm-faq, .gm-faq__list, .gm-sample, .gm-two, .gm-contact, .gm-app-cards, .gm-section-head, .gm-state-grid, .gm-help-grid, .gm-post-grid, .gm-tour-row, .gm-layer-list, .gm-guarantee, .gm-ge-box, .gm-proof, .gm-feature-card, .gm-guide-card, .gm-card, .gm-gm, .gm-seal, .gm-footer__cols) > * {
	margin-block: 0 !important;
}

.gm-section-head,
.gm-flex-between {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: space-between;
	align-items: flex-end;
}

.gm-layers-head {
	gap: 28px 56px;
	margin-bottom: 48px;
}

.gm-max-700 {
	max-width: 700px;
	gap: 16px;
}

/* Room for "What's in every gold claim map" on one line beside the claim counts. */
.gm-layers-head .gm-max-700 {
	max-width: 760px;
}

.gm-stats {
	gap: 18px 40px;
}

.gm-picker-h {
	max-width: 820px;
	margin-bottom: 40px !important;
}

.gm-picker {
	padding-top: clamp(110px, 11vw, 150px);
	padding-bottom: clamp(110px, 11vw, 150px);
}

.gm-how .gm-steps {
	margin-top: 72px !important;
}

.gm-sample-wrap {
	padding-top: clamp(16px, 2vw, 32px);
}

/* State page screenshot rows */
.gm-tour-row {
	display: grid !important;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
	gap: 24px 36px;
	align-items: center;
}

.gm-tour-shot img {
	display: block;
	width: 100%;
	height: auto;
	background: var(--gm-card);
	padding: 10px;
	border-radius: 14px;
	box-shadow: var(--wp--preset--shadow--lifted);
	transform: rotate(-1deg);
	box-sizing: border-box;
}

.gm-tour-row:nth-child(even) .gm-tour-shot img {
	transform: rotate(1deg);
}

.gm-tour-text {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gm-tour-text > * {
	margin: 0 !important;
}

.gm-tour-text h3 {
	font-size: clamp(1.625rem, 2.4vw, 2.125rem);
	line-height: 1.12;
}

.gm-tour-text p {
	color: var(--gm-ink-soft);
	text-wrap: pretty;
}

.gm-state-note {
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.gm-state-note > * {
	margin: 0 !important;
}

.gm-quote-state p {
	font-size: clamp(1.375rem, 2.2vw, 1.875rem);
	line-height: 1.3;
}

.gm-region-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 20px;
	list-style: none;
	padding: 0 !important;
	font-weight: 600;
}

.gm-warn h2::before {
	content: "";
	flex: none;
	width: 26px;
	height: 26px;
	background-color: var(--gm-gold);
	-webkit-mask: 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 3l10 18H2zM12 10v5M12 18h.01'/%3E%3C/svg%3E") center / contain no-repeat;
	mask: 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 3l10 18H2zM12 10v5M12 18h.01'/%3E%3C/svg%3E") center / contain no-repeat;
}

.gm-warn p {
	color: var(--gm-on-ink);
}

.gm-warn p strong {
	color: var(--gm-paper);
}

.gm-prose blockquote {
	margin: 1.5em 0;
	padding: 0 0 0 20px;
	border-left: 3px solid var(--gm-gold);
	font-family: var(--gm-display);
	font-size: 1.15rem;
}

@media (max-width: 760px) {
	.gm-tour-row {
		grid-template-columns: minmax(0, 1fr);
	}
}

.gm-warn h2 {
	color: var(--gm-paper);
}

.gm-warn a {
	color: var(--gm-paper);
	text-decoration-color: var(--gm-gold);
}

/* Old classic content in guides and pages */
.gm-prose .alignleft {
	float: left;
	margin: 6px 24px 12px 0;
	max-width: 50%;
	height: auto;
}

.gm-prose .alignright {
	float: right;
	margin: 6px 0 12px 24px;
	max-width: 50%;
	height: auto;
}

.gm-prose .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	height: auto;
}

.gm-prose img {
	border-radius: 8px;
}

.gm-prose::after {
	content: "";
	display: table;
	clear: both;
}

@media (max-width: 600px) {
	.gm-prose .alignleft,
	.gm-prose .alignright {
		float: none;
		margin: 0 0 16px;
		max-width: 100%;
	}
}

.gm-box__btns .gm-btn-card,
.gm-box__btns .gm-btn-paypal {
	padding-left: 8px;
	padding-right: 8px;
	gap: 6px;
}

.gm-box {
	container-type: inline-size;
}



/* State shapes on the store's map cards (StateFace letters, by SKU) */
.gm-map-card__glyph[data-sku^="AK"]::before { content: "A"; }

/* StateFace draws every state sitting on the text baseline, so the shapes ride
   a little high, and Alaska's islands reach past its letter box. Nudge them to
   the middle of the square. */
.gm-map-card__glyph {
	font-size: 40px;
}

.gm-map-card__glyph::before {
	display: block;
	transform: translateY(2px);
}

.gm-map-card__glyph[data-sku^="AK"]::before {
	font-size: 36px;
	transform: translate(7px, 2px);
}
.gm-map-card__glyph[data-sku="AZ"]::before { content: "D"; }
.gm-map-card__glyph[data-sku="CA"]::before { content: "E"; }
.gm-map-card__glyph[data-sku="CO"]::before { content: "F"; }
.gm-map-card__glyph[data-sku="ID"]::before { content: "M"; }
.gm-map-card__glyph[data-sku="MT"]::before { content: "Z"; }
.gm-map-card__glyph[data-sku="NV"]::before { content: "g"; }
.gm-map-card__glyph[data-sku="NM"]::before { content: "f"; }
.gm-map-card__glyph[data-sku="OR"]::before { content: "k"; }
.gm-map-card__glyph[data-sku="SD"]::before { content: "o"; }
.gm-map-card__glyph[data-sku="UT"]::before { content: "r"; }
.gm-map-card__glyph[data-sku="WA"]::before { content: "u"; }
.gm-map-card__glyph[data-sku="WY"]::before { content: "x"; }

.gm-link-button {
	font: inherit;
	background: none;
	border: 0;
	padding: 10px 4px;
	min-height: 44px;
	color: var(--gm-brown);
	text-decoration: underline;
	cursor: pointer;
}

.gm-password-login p {
	margin: 0;
}

.gm-signin-card .gm-btn {
	width: 100%;
}

.gm-signin-card .gm-btn.is-outline,
.gm-account .gm-btn {
	width: auto;
}

.gm-tile__text {
	overflow: hidden;
}

.gm-tile__name {
	overflow-wrap: anywhere;
}

.gm-ty-help {
	margin-top: 48px;
}

.gm-help-main .gm-sample {
	grid-template-columns: repeat(auto-fit, minmax(min(280px, 100%), 1fr));
	gap: 28px 40px;
	padding: clamp(26px, 4vw, 44px) !important;
}

.gm-help-main .gm-sample h2 {
	font-size: clamp(1.75rem, 3vw, 2.25rem);
	margin: 0;
}

.gm-prose > .gm-numbered,
.gm-prose > .gm-guarantee,
.gm-prose > .gm-contact {
	margin-top: 40px !important;
}

.gm-contact__form .gform_wrapper input:not([type="submit"]):not([type="checkbox"]):not([type="radio"]):not([type="hidden"]),
.gm-contact__form .gform_wrapper textarea,
.gm-contact__form .gform_wrapper select {
	width: 100% !important;
	max-width: 100% !important;
}

@media (max-width: 600px) {
	.gm-layer-row {
		grid-template-columns: minmax(0, 1fr);
	}
	.gm-layer-row__count {
		grid-column: 1;
		grid-row: auto;
		font-size: 1.125rem;
	}
	.gm-stat__num {
		overflow-wrap: anywhere;
	}
}


/* ==========================================================================
   Review fixes, 2026-10-27
   ========================================================================== */

/* Map legend swatches: each layer's real color from the 2026 map files
   (tools/maps/build_maps.py). A legend, not a status dot. */
.gm-layer-cards > :nth-child(1),
.gm-layer-list > :nth-child(1) { --gm-swatch: var(--wp--preset--color--layer-active-lode); }
.gm-layer-cards > :nth-child(2),
.gm-layer-list > :nth-child(2) { --gm-swatch: var(--wp--preset--color--layer-active-placer); }
.gm-layer-cards > :nth-child(3),
.gm-layer-list > :nth-child(3) { --gm-swatch: var(--wp--preset--color--layer-closed-lode); }
.gm-layer-cards > :nth-child(4),
.gm-layer-list > :nth-child(4) { --gm-swatch: var(--wp--preset--color--layer-closed-placer); }
.gm-layer-cards > :nth-child(5),
.gm-layer-list > :nth-child(5) { --gm-swatch: var(--wp--preset--color--layer-old-mines); }

/* Each layer card's name sits beside a square in its map colour. Padding and
   type are sized so the longest name ("Abandoned placer") stays on one line. */
.gm-layer-card {
	padding: 24px 20px;
}

.gm-layer-card h3 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.125rem;
}

@media (min-width: 560px) {
	.gm-layer-cards {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (min-width: 900px) {
	.gm-layer-cards {
		grid-template-columns: repeat(3, 1fr);
	}
}

@media (min-width: 1280px) {
	.gm-layer-cards {
		grid-template-columns: repeat(5, 1fr);
	}
}

.gm-layer-card h3::before,
.gm-layer-row__name::before {
	content: "";
	flex: none;
	width: 20px;
	height: 20px;
	border-radius: 5px;
	background: var(--gm-swatch);
	box-shadow: inset 0 0 0 1.5px rgba(30, 43, 47, 0.35);
}

.gm-layer-card h3::before {
	width: 16px;
	height: 16px;
	border-radius: 4px;
}

.gm-layer-row__name::before {
	display: inline-block;
	width: 16px;
	height: 16px;
	border-radius: 4px;
	margin-right: 10px;
	vertical-align: -2px;
}

/* The picker's contour picture is pinned to the top of its section and sized by width only,
   so the cart box changing height never moves or rescales it. */
.gm-tex-band::before {
	background-size: max(2800px, 100%) auto;
	background-position: 30% 0;
}

/* Cart box: the two pay buttons share one line, and so do the two trust lines. */
.gm-buy__row > .gm-box {
	align-self: stretch;
}

.gm-box__btns,
.gm-box__btns.is-single {
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.gm-box__btns.is-single {
	grid-template-columns: minmax(0, 1fr);
}

.gm-box__btns .gm-btn-card,
.gm-box__btns .gm-btn-paypal {
	font-size: 0.9375rem;
	white-space: nowrap;
}

.gm-trust {
	flex-wrap: nowrap;
	gap: 8px 18px;
	font-size: 0.84rem;
}

.gm-trust span {
	white-space: nowrap;
	gap: 6px;
}

.gm-trust svg {
	flex: none;
}

/* Cart bar: once a state is added and the box is off screen. Desktop and phone. */
.gm-bar {
	display: none;
	position: fixed;
	z-index: 50;
	left: 50%;
	right: auto;
	bottom: 16px;
	transform: translateX(-50%);
	width: min(880px, calc(100% - 24px));
	box-sizing: border-box;
	flex-direction: row;
	align-items: center;
	gap: 12px 24px;
	padding: 14px 16px 14px 24px;
	border-radius: 24px;
}

.has-phone-bar .gm-bar:not([hidden]) {
	display: flex;
}

.gm-bar__progress {
	flex: 1 1 auto;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.gm-bar__actions {
	flex: none;
	display: flex;
	align-items: center;
	gap: 10px;
}

.gm-bar__review,
.gm-bar__go {
	display: inline-flex;
	align-items: center;
	min-height: 46px;
	box-sizing: border-box;
	padding: 12px 20px;
	border-radius: 999px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.gm-bar__review {
	color: var(--gm-paper) !important;
	border: 1px solid rgba(243, 238, 226, 0.45);
}

.gm-bar__review:hover {
	border-color: var(--gm-gold);
}

.gm-bar__go {
	background: var(--gm-gold);
	color: var(--gm-ink) !important;
}

body:has(.has-phone-bar .gm-bar:not([hidden])) {
	padding-bottom: 120px;
}

/* State pages on wide screens: the box is always in view, so no bar. */
@media (min-width: 1101px) {
	.layout-box .gm-bar {
		display: none !important;
	}
}

/* Where the box is hidden (phones; state pages below 1100px), the bar goes straight to checkout. */
@media (max-width: 1100px) {
	.layout-box .gm-bar__review {
		display: none;
	}
}

@media (max-width: 760px) {
	.layout-tiles .gm-bar__review {
		display: none;
	}
	.gm-bar {
		flex-wrap: wrap;
		padding: 14px 16px;
		bottom: 12px;
		gap: 10px 12px;
	}
	.gm-bar__sum {
		flex: 1 1 auto;
	}
	.gm-bar__progress {
		order: 3;
		flex: 1 1 100%;
	}
	body:has(.has-phone-bar .gm-bar:not([hidden])) {
		padding-bottom: 160px;
	}
}

.gm-box {
	scroll-margin: 24px;
}

/* Guides: a state-shape banner when a post has no featured image of its own. */
.gm-glyph.is-banner {
	aspect-ratio: 16 / 5;
	margin-top: 36px !important;
	border-radius: 22px;
	box-shadow: 0 18px 44px rgba(30, 43, 47, 0.16);
}

.gm-glyph.is-banner .gm-sf {
	font-size: clamp(110px, 15vw, 220px);
}

.gm-glyph.is-banner svg {
	width: clamp(90px, 12vw, 170px);
	height: auto;
}

/* The old guides' photos: framed, never wider than about half the column. */
.gm-post-body img {
	background: var(--gm-card);
	padding: 6px;
	border-radius: 10px;
	box-shadow: 0 10px 26px rgba(30, 43, 47, 0.14);
	box-sizing: border-box;
	max-width: min(100%, 360px);
	height: auto;
}

.gm-post-body .alignleft {
	max-width: min(45%, 360px);
}

/* Guide sidebar with no state: "Pick your states" */
.gm-post-side .gm-states.is-band {
	padding: 28px;
	gap: 18px;
}

.gm-post-side .gm-states__head h2 {
	font-size: 1.625rem;
}

.gm-post-side .gm-states__head p {
	font-size: 0.9375rem;
}

.gm-post-side .gm-states.is-band .gm-states__list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 8px;
}

.gm-post-side .gm-states.is-band a {
	min-height: 44px;
	font-size: 0.875rem;
}

.gm-post-side .gm-states.is-band .gm-sf {
	font-size: 24px;
}

.gm-states__cta {
	margin: 0;
}

.gm-states__cta .gm-btn {
	width: 100%;
	box-sizing: border-box;
}

/* Images: the picture sits on its frame with even space above and below. */
.wp-block-image img,
.gm-prose img {
	vertical-align: middle;
}

.gm-main .wp-block-image {
	margin-top: 0;
	margin-bottom: 0;
}

.gm-main .wp-block-image > img,
.gm-main .wp-block-image > a > img {
	display: block;
}

.gm-shot img,
.gm-alaska-map img {
	display: block;
	box-sizing: border-box;
}

.gm-shot figcaption {
	margin-top: 10px !important;
}

/* Contact: one column so the form isn't squeezed. */
.gm-contact {
	grid-template-columns: minmax(0, 1fr) !important;
	gap: 32px;
}

.gm-text-strong {
	font-weight: 600;
	color: var(--gm-ink);
}

/* Long state names ("Washington") fit their tile without breaking mid-word. */
.gm-tile__name {
	font-size: 0.875rem;
	overflow-wrap: break-word;
}

.gm-tile__glyph {
	width: 38px;
	font-size: 38px;
}

.gm-tile__main {
	gap: 8px;
}

@media (max-width: 600px) {
	.gm-tile {
		padding: 8px 6px 8px 8px;
		gap: 4px;
	}
	.gm-tile__main {
		gap: 6px;
	}
	.gm-tile__glyph {
		width: 24px;
		font-size: 24px;
	}
	.gm-tile__name {
		font-size: 0.8125rem;
		overflow-wrap: normal;
	}
}

@media (max-width: 1280px) and (min-width: 601px) {
	.gm-pick-grid:not(.is-compact) {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

/* Links between state pages and their guides */
.gm-state-guides h2 {
	font-size: clamp(1.75rem, 2.8vw, 2.5rem);
	margin: 0 0 16px;
}

.gm-state-guides ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.gm-state-guides li {
	margin: 0;
	font-size: 1.0625rem;
	font-weight: 600;
}

.gm-state-guides li span {
	font-weight: 400;
	font-size: 0.875rem;
	color: var(--gm-muted);
	margin-left: 6px;
}

.gm-state-map-link {
	margin-top: 32px;
	padding-top: 20px;
	border-top: 1px solid var(--gm-rule);
	font-size: 1.125rem;
	font-weight: 600;
	max-width: 700px;
}

.gm-post-main {
	min-width: 0;
}

/* Ollie (core-list.css) drops the top padding of the first <li> and the bottom
   padding of the last one in page content. Our card and row lists need theirs
   back; "body" and ":nth-child(n)" make these win over Ollie's rule. */
body .entry-content .gm-map-cards > li.gm-map-card {
	padding: 18px 20px;
}

body .entry-content .gm-numbered > li:nth-child(n) {
	padding-top: 20px;
	padding-bottom: 20px;
}

body .entry-content .gm-swatch-list li:nth-child(n) {
	padding-top: 16px;
	padding-bottom: 16px;
}

body .entry-content .gm-price-list li:nth-child(n) {
	padding-top: 9px;
	padding-bottom: 9px;
}

@media (max-width: 600px) {
	body .entry-content .gm-numbered > li:nth-child(n) {
		padding-top: 72px;
	}
}

/* State pages: "Where to pan" and "claims for sale" share one section. */
.gm-state-tips h2:not(:first-child) { margin-top: 2.5rem; }

/* Tables inside guides (the gold rush timeline). */
.wp-block-post-content table { width: 100%; border-collapse: collapse; font-size: 0.95rem; line-height: 1.45; margin-block: 1.5rem; }
.wp-block-post-content th,
.wp-block-post-content td { text-align: left; vertical-align: top; padding: 10px 12px; border-bottom: 1px solid var(--wp--preset--color--border-light); }
.wp-block-post-content th { font-weight: 700; border-bottom: 2px solid var(--wp--preset--color--border-dark); }
/* Wide enough for a date range like 1848–1855; longer first cells wrap so the table stays in its column. */
.wp-block-post-content td:first-child { min-width: 6.5em; font-variant-numeric: tabular-nums; }
@media (max-width: 600px) {
	/* A table wider than the phone scrolls sideways on its own instead of being cut off. */
	.wp-block-post-content table { display: block; max-width: 100%; overflow-x: auto; -webkit-overflow-scrolling: touch; }
	.wp-block-post-content th, .wp-block-post-content td { padding: 8px 6px; font-size: 0.9rem; min-width: 5.5rem; }
}

/* Guide dates (gold-maps/post-dates): their own line under topic and reading time. */

/* Article dates are too long to share a phone-width line, so they get their own (no leading dot). */
@media (max-width: 600px) {
	.gm-post-head .gm-meta-line > .gm-dates { flex-basis: 100%; }
	.gm-post-head .gm-meta-line > .gm-dates::before { content: none; }
}

/* BrightSpot testimonial form (/review.html): no job title, company or photo for prospectors. */
.gm-review-form .brightspot-form-row:has(#brightspot-job-title),
.gm-review-form .brightspot-form-field:has(#brightspot-photo) {
	display: none;
}

.gm-share-story {
	margin-top: var(--wp--preset--spacing--60, 3rem);
}

.gm-review-form .brightspot-form-wrapper {
	margin-left: 0;
}

.gm-review-form .brightspot-form-stars {
	justify-content: flex-start;
}

.gm-review-form .brightspot-form-star {
	flex: 0 0 auto;
	width: auto;
}

.gm-review-form .brightspot-form-btn {
	background: var(--wp--preset--color--primary);
	color: var(--wp--preset--color--main);
	border-radius: 999px;
	font-weight: 700;
	padding: 1rem 1.75rem;
}

.gm-review-form .brightspot-form-btn:hover,
.gm-review-form .brightspot-form-btn:focus {
	background: var(--wp--preset--color--main);
	color: var(--wp--preset--color--base);
}

/* Mining claims by state (gold-maps/claims-history block). */
.gm-claims-history {
	margin: 24px 0 32px;
}

.gm-claims-history .gm-ch-scroll {
	overflow-x: auto;
}

.gm-claims-history table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.9rem;
	font-variant-numeric: tabular-nums;
}

.gm-claims-history th,
.gm-claims-history td {
	padding: 8px 10px;
	border-bottom: 1px solid var(--gm-rule);
	text-align: right;
	white-space: nowrap;
}

.gm-claims-history th[scope="row"],
.gm-claims-history thead th:first-child {
	text-align: left;
}

.gm-claims-history thead th {
	font-size: 0.8rem;
	color: var(--gm-ink-soft);
	border-bottom: 2px solid var(--gm-ink);
}

.gm-claims-history.is-types thead th[scope="colgroup"] {
	text-align: center;
	border-bottom: 1px solid var(--gm-rule);
}

.gm-claims-history tfoot th,
.gm-claims-history tfoot td {
	font-weight: 700;
	border-top: 2px solid var(--gm-ink);
	border-bottom: 0;
}

.gm-claims-history figcaption {
	margin-top: 10px;
	font-size: 0.82rem;
	color: var(--gm-muted);
}

.gm-claims-history svg {
	display: block;
	width: 100%;
	height: auto;
}

.gm-ch-bar {
	fill: var(--gm-gold);
}

.gm-ch-bar:hover {
	fill: var(--gm-brown);
}

.gm-ch-axis {
	font-size: 11px;
	fill: var(--gm-muted);
}

.gm-claims-history details {
	margin-top: 12px;
	font-size: 0.9rem;
}

.gm-claims-history details table {
	width: auto;
	margin-top: 8px;
}
