/*!
 * Germany A–Z Guide – front-end styles.
 * Self-contained: no web fonts, no external images, no tracking.
 */

/* ---------- Tokens ---------- */
.gg,
.gg-topbar,
.gg-site-footer {
	--gg-black: #111214;
	--gg-red: #dd0000;
	--gg-gold: #ffce00;
	--gg-accent: #c40a0a;
	--gg-ink-on-dark: #f6f4ee;
	--gg-muted: color-mix(in srgb, currentColor 66%, transparent);
	--gg-line: color-mix(in srgb, currentColor 14%, transparent);
	--gg-surface: color-mix(in srgb, currentColor 4%, transparent);
	--gg-surface-2: color-mix(in srgb, currentColor 8%, transparent);
	--gg-radius: 18px;
	--gg-radius-sm: 10px;
	--gg-shadow: 0 1px 2px rgb(0 0 0 / 6%), 0 8px 24px -8px rgb(0 0 0 / 18%);
	--gg-shadow-lg: 0 2px 6px rgb(0 0 0 / 8%), 0 24px 48px -16px rgb(0 0 0 / 30%);
	--gg-gutter: 16px;
	--gg-topbar-h: 64px;
	--gg-ease: cubic-bezier(.2, .7, .2, 1);
	--gg-c-visa: #4f46e5;
	--gg-c-city: #0e7490;
	--gg-c-transit: #dc2626;
	--gg-c-etiquette: #b45309;
	--gg-c-career: #047857;
	--gg-c-housing: #7c3aed;
	--gg-c-entry: #a16207;
	--gg-c-all: #374151;
}

@media (min-width: 700px) {
	.gg,
	.gg-topbar,
	.gg-site-footer {
		--gg-gutter: 24px;
	}
}

.gg *,
.gg *::before,
.gg *::after,
.gg-topbar *,
.gg-site-footer * {
	box-sizing: border-box;
}

/* Full-screen hub page owns the whole viewport. */
body.gg-immersive {
	margin: 0;
	background: #faf9f6;
	color: #16171b;
	font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	line-height: 1.6;
	-webkit-font-smoothing: antialiased;
}

@media (prefers-color-scheme: dark) {
	body.gg-immersive {
		background: #0e0f12;
		color: #ebe9e3;
	}
	/* Lighter accent keeps links and labels at WCAG AA contrast on dark backgrounds. */
	body.gg-immersive .gg {
		--gg-accent: #ff7a7a;
	}
	body.gg-immersive .gg-kicker {
		color: #ff6b6b !important;
	}
	/* Section-coloured text is lightened on dark backgrounds. */
	body.gg-immersive .gg-badge,
	body.gg-immersive .gg-card__meta,
	body.gg-immersive .gg-cat__more,
	body.gg-immersive .gg-az__section,
	body.gg-immersive .gg-cat__preview a:hover {
		color: color-mix(in srgb, var(--c) 45%, #fff);
	}
	body.gg-immersive .gg-badge {
		background: color-mix(in srgb, var(--c) 28%, transparent);
	}
}

/* Clip horizontal overflow from decorative layers without breaking sticky elements. */
body.gg-immersive,
.gg-hub {
	overflow-x: clip;
}

html:has(body.gg-hub-page) {
	scroll-behavior: smooth;
	scroll-padding-top: calc(var(--gg-topbar-h, 64px) + 16px);
}

.gg {
	line-height: 1.6;
}

.gg img,
.gg svg {
	max-width: 100%;
}

.gg a {
	color: inherit;
}

.gg h1,
.gg h2,
.gg h3 {
	line-height: 1.15;
	letter-spacing: -.015em;
	margin: 0;
}

.gg ul,
.gg ol {
	margin: 0;
	padding: 0;
}

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

.gg-skip {
	position: absolute;
	left: 12px;
	top: -60px;
	z-index: 100;
	padding: 10px 16px;
	border-radius: 8px;
	background: var(--gg-gold, #ffce00);
	color: #111;
	font-weight: 700;
	text-decoration: none;
	transition: top .2s;
}

.gg-skip:focus {
	top: 12px;
}

.gg :focus-visible,
.gg-topbar :focus-visible {
	outline: 3px solid var(--gg-gold);
	outline-offset: 3px;
	border-radius: 6px;
}

.gg-container {
	width: min(1200px, 100% - 2 * var(--gg-gutter));
	margin-inline: auto;
}

.gg-icon {
	display: inline-block;
	vertical-align: middle;
	flex: none;
}

.gg-flip {
	display: inline-flex;
	transform: scaleX(-1);
}

/* ---------- Brand ---------- */
.gg-brand {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	font-weight: 800;
	letter-spacing: -.01em;
	text-decoration: none;
	color: inherit;
}

.gg-brand--small {
	font-size: .95rem;
	gap: 8px;
}

.gg-brand__flag {
	display: inline-grid;
	grid-template-rows: repeat(3, 1fr);
	width: 22px;
	height: 15px;
	border-radius: 3px;
	overflow: hidden;
	box-shadow: 0 0 0 1px rgb(255 255 255 / 12%);
	flex: none;
}

.gg-brand__flag i:nth-child(1) { background: #000; }
.gg-brand__flag i:nth-child(2) { background: var(--gg-red, #dd0000); }
.gg-brand__flag i:nth-child(3) { background: var(--gg-gold, #ffce00); }

/* ---------- Buttons ---------- */
.gg-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 12px;
	font: inherit;
	font-weight: 700;
	cursor: pointer;
	text-decoration: none;
	transition: transform .2s var(--gg-ease), box-shadow .2s var(--gg-ease), filter .2s;
}

.gg-btn--primary {
	background: linear-gradient(135deg, #e10600, #b30000);
	color: #fff;
	box-shadow: 0 6px 20px -6px rgb(221 0 0 / 60%);
}

.gg-btn--primary:hover {
	transform: translateY(-1px);
	filter: brightness(1.06);
}

.gg-iconbtn {
	display: inline-grid;
	place-items: center;
	width: 42px;
	height: 42px;
	border-radius: 12px;
	border: 1px solid var(--gg-line);
	background: transparent;
	color: inherit;
	cursor: pointer;
	text-decoration: none;
	transition: background .2s, transform .2s var(--gg-ease);
	list-style: none;
}

.gg-iconbtn::-webkit-details-marker {
	display: none;
}

.gg-iconbtn:hover {
	background: var(--gg-surface-2);
	transform: translateY(-1px);
}

/* ---------- Top bar (full-screen hub) ---------- */
.gg-topbar {
	position: sticky;
	top: 0;
	z-index: 60;
	color: #fff;
	background: rgb(12 12 14 / 55%);
	backdrop-filter: saturate(160%) blur(14px);
	-webkit-backdrop-filter: saturate(160%) blur(14px);
	border-bottom: 1px solid rgb(255 255 255 / 8%);
	transition: background .3s, box-shadow .3s;
}

.gg-topbar.is-scrolled {
	background: rgb(12 12 14 / 88%);
	box-shadow: 0 10px 30px -12px rgb(0 0 0 / 50%);
}

.admin-bar .gg-topbar {
	top: 32px;
}

@media (max-width: 782px) {
	.admin-bar .gg-topbar {
		top: 0;
	}
}

.gg-topbar__inner {
	display: flex;
	align-items: center;
	gap: 20px;
	height: var(--gg-topbar-h);
	width: min(1280px, 100% - 2 * var(--gg-gutter));
	margin-inline: auto;
}

.gg-topbar__nav {
	flex: 1;
	min-width: 0;
}

.gg-topbar__links {
	display: none;
	list-style: none;
	gap: 4px;
	justify-content: center;
}

.gg-topbar__links a {
	display: block;
	padding: 8px 14px;
	border-radius: 999px;
	font-size: .93rem;
	font-weight: 600;
	color: rgb(255 255 255 / 82%);
	text-decoration: none;
	transition: background .2s, color .2s;
}

.gg-topbar__links a:hover,
.gg-topbar__links a.is-active {
	color: #fff;
	background: rgb(255 255 255 / 12%);
}

.gg-topbar__actions {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-left: auto;
}

.gg-topbar .gg-iconbtn {
	border-color: rgb(255 255 255 / 18%);
}

.gg-topbar .gg-iconbtn:hover {
	background: rgb(255 255 255 / 12%);
}

.gg-topbar__home {
	display: none;
	font-size: .88rem;
	color: rgb(255 255 255 / 70%);
	text-decoration: none;
	white-space: nowrap;
}

.gg-topbar__home:hover {
	color: #fff;
}

.gg-mobile-menu {
	position: relative;
}

.gg-mobile-menu__list {
	position: absolute;
	right: 0;
	top: calc(100% + 10px);
	min-width: 220px;
	list-style: none;
	padding: 8px;
	border-radius: 14px;
	background: #18191d;
	box-shadow: var(--gg-shadow-lg);
	border: 1px solid rgb(255 255 255 / 10%);
}

.gg-mobile-menu__list a {
	display: block;
	padding: 10px 14px;
	border-radius: 10px;
	color: #fff;
	text-decoration: none;
}

.gg-mobile-menu__list a:hover {
	background: rgb(255 255 255 / 10%);
}

.gg-topbar__progress {
	position: absolute;
	left: 0;
	right: 0;
	bottom: -1px;
	height: 3px;
}

.gg-topbar__progress span {
	display: block;
	height: 100%;
	width: 100%;
	transform-origin: left;
	transform: scaleX(var(--gg-progress, 0));
	background: linear-gradient(90deg, #000, var(--gg-red) 50%, var(--gg-gold));
}

@media (min-width: 1000px) {
	.gg-topbar__links {
		display: flex;
	}
	.gg-mobile-menu {
		display: none;
	}
	.gg-topbar__home {
		display: inline;
	}
}

/* ---------- Hero ---------- */
.gg-hero {
	position: relative;
	z-index: 2; /* Keeps the search dropdown above later sections. */
	isolation: isolate;
	min-height: min(92svh, 920px);
	display: flex;
	align-items: center;
	padding: clamp(56px, 10vw, 120px) 0 clamp(170px, 18vw, 230px);
	background: #0b0b0e;
	color: var(--gg-ink-on-dark);
}

.gg-hub--immersive .gg-hero {
	margin-top: calc(-1 * var(--gg-topbar-h));
	padding-top: calc(var(--gg-topbar-h) + clamp(48px, 9vw, 110px));
}

.gg-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	overflow: hidden;
	pointer-events: none;
}

.gg-blob {
	position: absolute;
	border-radius: 50%;
	filter: blur(70px);
	opacity: .55;
	animation: gg-float 18s var(--gg-ease) infinite alternate;
}

.gg-blob--black {
	width: 46vw;
	height: 46vw;
	left: -12vw;
	top: -14vw;
	background: radial-gradient(circle, #3a3a44, transparent 65%);
}

.gg-blob--red {
	width: 40vw;
	height: 40vw;
	right: -8vw;
	top: 4vw;
	background: radial-gradient(circle, #e00000, transparent 65%);
	animation-duration: 22s;
}

.gg-blob--gold {
	width: 34vw;
	height: 34vw;
	left: 30vw;
	bottom: -12vw;
	background: radial-gradient(circle, #ffcc00, transparent 65%);
	opacity: .35;
	animation-duration: 26s;
	animation-delay: -6s;
}

.gg-hero__grid {
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgb(255 255 255 / 5%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 5%) 1px, transparent 1px);
	background-size: 56px 56px;
	mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
	-webkit-mask-image: radial-gradient(ellipse at 50% 30%, #000 20%, transparent 70%);
}

@keyframes gg-float {
	0% { transform: translate3d(0, 0, 0) scale(1); }
	50% { transform: translate3d(4vw, 3vw, 0) scale(1.08); }
	100% { transform: translate3d(-3vw, 5vw, 0) scale(.95); }
}

.gg-hero__inner {
	position: relative;
	text-align: center;
}

.gg-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	padding: 8px 16px;
	border-radius: 999px;
	font-size: .85rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	background: rgb(255 255 255 / 8%);
	border: 1px solid rgb(255 255 255 / 14%);
}

.gg-hero__title {
	max-width: 15ch;
	margin: 0 auto 20px !important;
	font-size: clamp(2.3rem, 4.6vw + 1rem, 5rem);
	font-weight: 850;
	letter-spacing: -.03em;
	background: linear-gradient(180deg, #fff 40%, rgb(255 255 255 / 70%));
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
}

.gg-hero__lead {
	max-width: 62ch;
	margin: 0 auto 34px;
	font-size: clamp(1.05rem, .5vw + 1rem, 1.3rem);
	color: rgb(246 244 238 / 78%);
}

.gg-hero__search {
	max-width: 860px;
	margin: 0 auto;
	text-align: left;
}

.gg-hero .gg-chips {
	justify-content: center;
	margin-top: 22px;
}

.gg-stats {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	max-width: 860px;
	margin: 40px auto 0;
}

@media (min-width: 760px) {
	.gg-stats {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

.gg-stat {
	padding: 16px 14px;
	border-radius: 16px;
	background: rgb(255 255 255 / 6%);
	border: 1px solid rgb(255 255 255 / 10%);
	backdrop-filter: blur(6px);
}

.gg-stat dt {
	font-size: .78rem;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: rgb(255 255 255 / 62%);
}

.gg-stat dd {
	margin: 4px 0 0;
	font-size: clamp(1.4rem, 1.5vw + 1rem, 2rem);
	font-weight: 800;
	color: #fff;
	font-variant-numeric: tabular-nums;
}

.gg-stat--trust dd {
	font-size: 1.05rem;
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 6px;
	color: var(--gg-gold);
	min-height: 2.4rem;
}

.gg-skyline {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	width: 100%;
	height: clamp(150px, 18vw, 240px);
	color: #fff;
	z-index: -1;
}

.gg-skyline__train {
	animation: gg-train 26s linear infinite;
}

@keyframes gg-train {
	from { transform: translateX(-220px); }
	to { transform: translateX(1460px); }
}

/* Entrance animation for hero content (pure CSS). */
.gg-anim-up {
	animation: gg-up .8s var(--gg-ease) both;
	animation-delay: var(--gg-delay, 0ms);
}

@keyframes gg-up {
	from { opacity: 0; transform: translateY(18px); }
	to { opacity: 1; transform: none; }
}

/* ---------- Chips ---------- */
.gg-chips {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.gg-chips__label {
	font-size: .88rem;
	opacity: .7;
	margin-right: 4px;
}

.gg-chip {
	display: inline-flex;
	align-items: center;
	padding: 7px 14px;
	border-radius: 999px;
	border: 1px solid var(--gg-line);
	font-size: .9rem;
	font-weight: 600;
	text-decoration: none;
	transition: background .2s, border-color .2s, transform .2s var(--gg-ease);
}

.gg-chip:hover,
.gg-chip.is-active {
	background: var(--gg-surface-2);
	border-color: color-mix(in srgb, currentColor 30%, transparent);
	transform: translateY(-1px);
}

.gg-hero .gg-chip {
	border-color: rgb(255 255 255 / 20%);
	color: #fff;
}

.gg-hero .gg-chip:hover {
	background: rgb(255 255 255 / 12%);
}

/* ---------- Search ---------- */
.gg-search {
	position: relative;
	z-index: 5;
}

.gg-search__field {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 6px 6px 16px;
	border-radius: 16px;
	background: #fff;
	color: #15161a;
	border: 1px solid rgb(0 0 0 / 10%);
	box-shadow: var(--gg-shadow);
	transition: box-shadow .2s, border-color .2s;
}

.gg-search__field:focus-within {
	border-color: var(--gg-red);
	box-shadow: 0 0 0 4px rgb(221 0 0 / 18%), var(--gg-shadow);
}

.gg-search__icon {
	color: #666;
	display: inline-flex;
}

.gg-search__input {
	flex: 1;
	min-width: 0;
	height: 44px;
	border: 0 !important;
	background: transparent !important;
	color: inherit;
	font: inherit;
	font-size: 1rem;
	outline: none !important;
	box-shadow: none !important;
	padding: 0 !important;
}

.gg-search__input::-webkit-search-cancel-button {
	cursor: pointer;
}

.gg-search__select {
	display: none;
	height: 44px;
	max-width: 200px;
	padding: 0 10px;
	border: 0;
	border-left: 1px solid rgb(0 0 0 / 10%);
	background: transparent;
	color: inherit;
	font: inherit;
	font-size: .92rem;
}

.gg-search--hero .gg-search__field {
	padding: 8px 8px 8px 20px;
	border-radius: 20px;
	box-shadow: 0 20px 60px -20px rgb(0 0 0 / 60%), 0 0 0 1px rgb(255 255 255 / 8%);
}

.gg-search--hero .gg-search__input {
	height: 54px;
	font-size: 1.1rem;
}

.gg-search--hero .gg-btn {
	min-height: 54px;
	padding: 0 28px;
	border-radius: 14px;
}

@media (min-width: 720px) {
	.gg-search__select {
		display: block;
	}
}

@media (max-width: 520px) {
	.gg-search__submit span {
		font-size: .9rem;
	}
	.gg-search--hero .gg-btn {
		padding: 0 16px;
	}
}

.gg-search--compact .gg-search__field {
	box-shadow: none;
	border-radius: 12px;
}

.gg-search--compact .gg-btn {
	min-height: 40px;
	padding: 0 14px;
	border-radius: 9px;
}

.gg-search__panel {
	position: absolute;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	max-height: min(70vh, 520px);
	overflow: auto;
	padding: 8px;
	border-radius: 16px;
	background: #fff;
	color: #15161a;
	box-shadow: var(--gg-shadow-lg);
	border: 1px solid rgb(0 0 0 / 8%);
	animation: gg-pop .18s var(--gg-ease);
}

@keyframes gg-pop {
	from { opacity: 0; transform: translateY(-6px) scale(.99); }
	to { opacity: 1; transform: none; }
}

.gg-search__status {
	margin: 4px 10px 6px;
	font-size: .82rem;
	color: #666;
}

.gg-search__list {
	list-style: none;
}

.gg-search__item a {
	display: grid;
	grid-template-columns: auto 1fr;
	gap: 2px 12px;
	padding: 10px 12px;
	border-radius: 12px;
	text-decoration: none;
	color: inherit;
}

.gg-search__item a:hover,
.gg-search__item[aria-selected="true"] a {
	background: #f3f1ec;
}

.gg-search__item .gg-badge {
	grid-row: span 2;
	align-self: start;
	margin-top: 2px;
}

.gg-search__title {
	font-weight: 700;
}

.gg-search__summary {
	font-size: .88rem;
	color: #555;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gg-search__all {
	display: block;
	margin: 6px 4px 2px;
	padding: 10px 12px;
	border-radius: 12px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	background: #f6f4ef;
	color: var(--gg-accent);
}

mark.gg-hl {
	background: color-mix(in srgb, var(--gg-gold) 55%, transparent);
	color: inherit;
	border-radius: 3px;
	padding: 0 1px;
}

/* ---------- Sections ---------- */
.gg-section {
	padding-block: clamp(56px, 8vw, 112px);
}

.gg-section--tint {
	background: var(--gg-surface);
}

.gg-section--dark {
	background:
		radial-gradient(ellipse at 10% 0%, rgb(221 0 0 / 22%), transparent 55%),
		radial-gradient(ellipse at 90% 100%, rgb(255 206 0 / 16%), transparent 55%),
		#0d0d10;
	color: var(--gg-ink-on-dark);
}

.gg-section__head {
	max-width: 720px;
	margin-bottom: clamp(28px, 4vw, 44px);
}

.gg-section__head p {
	margin: 12px 0 0;
	color: var(--gg-muted);
	font-size: 1.05rem;
}

.gg-section__head--row {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 16px;
	max-width: none;
}

.gg-section h2 {
	font-size: clamp(1.8rem, 2.4vw + 1rem, 2.9rem);
	font-weight: 800;
}

.gg-kicker {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px !important;
	font-size: .8rem !important;
	font-weight: 800;
	letter-spacing: .14em;
	text-transform: uppercase;
	color: var(--gg-red) !important;
}

.gg-section--dark .gg-kicker,
.gg-page-hero .gg-kicker {
	color: var(--gg-gold) !important;
}

.gg-kicker::before {
	content: "";
	width: 26px;
	height: 3px;
	border-radius: 2px;
	background: linear-gradient(90deg, #000, var(--gg-red), var(--gg-gold));
}

/* Scroll reveal (only hides content once JS has confirmed it can reveal it). */
.gg-js .gg-reveal {
	opacity: 0;
	transform: translateY(26px);
	transition: opacity .7s var(--gg-ease), transform .7s var(--gg-ease);
	transition-delay: var(--gg-delay, 0ms);
}

.gg-js .gg-reveal.is-visible {
	opacity: 1;
	transform: none;
}

/* ---------- Category cards ---------- */
.gg-cat-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 300px), 1fr));
	gap: 20px;
}

.gg-cat {
	--c: var(--gg-c-all);
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 26px 24px 22px;
	border-radius: var(--gg-radius);
	border: 1px solid var(--gg-line);
	background: var(--gg-surface);
	overflow: hidden;
	transition: transform .35s var(--gg-ease), box-shadow .35s var(--gg-ease), border-color .35s;
}

.gg-cat::before {
	content: "";
	position: absolute;
	inset: 0 0 auto;
	height: 4px;
	background: var(--c);
	transform: scaleX(.25);
	transform-origin: left;
	transition: transform .5s var(--gg-ease);
}

.gg-cat::after {
	content: "";
	position: absolute;
	width: 220px;
	height: 220px;
	right: -90px;
	top: -90px;
	border-radius: 50%;
	background: radial-gradient(circle, color-mix(in srgb, var(--c) 22%, transparent), transparent 70%);
	transition: transform .6s var(--gg-ease);
	pointer-events: none;
}

.gg-cat:hover {
	transform: translateY(-5px);
	box-shadow: var(--gg-shadow-lg);
	border-color: color-mix(in srgb, var(--c) 40%, transparent);
}

.gg-cat:hover::before {
	transform: scaleX(1);
}

.gg-cat:hover::after {
	transform: scale(1.35);
}

.gg-cat--visa { --c: var(--gg-c-visa); }
.gg-cat--city { --c: var(--gg-c-city); }
.gg-cat--transit { --c: var(--gg-c-transit); }
.gg-cat--etiquette { --c: var(--gg-c-etiquette); }
.gg-cat--career { --c: var(--gg-c-career); }
.gg-cat--housing { --c: var(--gg-c-housing); }
.gg-cat--entry { --c: var(--gg-c-entry); }

.gg-cat__icon {
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 16px;
	color: #fff;
	background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 60%, #000));
	box-shadow: 0 10px 24px -10px var(--c);
	transition: transform .4s var(--gg-ease);
}

.gg-cat:hover .gg-cat__icon {
	transform: rotate(-6deg) scale(1.06);
}

.gg-cat__title {
	font-size: 1.35rem !important;
}

.gg-cat__title a {
	text-decoration: none;
}

.gg-cat__title a:hover {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.gg-cat__desc {
	margin: 0;
	color: var(--gg-muted);
}

.gg-cat__preview {
	list-style: none;
	display: grid;
	gap: 2px;
	margin-top: 4px !important;
}

.gg-cat__preview a {
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 6px 0;
	font-size: .95rem;
	text-decoration: none;
	border-bottom: 1px dashed var(--gg-line);
}

.gg-cat__preview a::before {
	content: "";
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: var(--c);
	flex: none;
}

.gg-cat__preview a:hover {
	color: var(--c);
}

.gg-cat__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: auto;
	padding-top: 8px;
	font-weight: 700;
	text-decoration: none;
	color: var(--c);
}

.gg-cat__more .gg-icon {
	transition: transform .25s var(--gg-ease);
}

.gg-cat__more:hover .gg-icon {
	transform: translateX(4px);
}

/* ---------- Audiences ---------- */
.gg-aud-grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 170px), 1fr));
	gap: 14px;
}

.gg-aud {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	padding: 22px 14px;
	border-radius: var(--gg-radius);
	border: 1px solid var(--gg-line);
	text-align: center;
	text-decoration: none;
	transition: transform .3s var(--gg-ease), box-shadow .3s, background .3s;
}

.gg-aud:hover {
	transform: translateY(-4px);
	box-shadow: var(--gg-shadow);
	background: var(--gg-surface);
}

.gg-aud__icon {
	display: grid;
	place-items: center;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: linear-gradient(135deg, var(--gg-gold), #ffa600);
	color: #1a1200;
}

.gg-aud__name {
	font-weight: 750;
}

.gg-aud__count {
	font-size: .85rem;
	color: var(--gg-muted);
}

/* ---------- Timeline ---------- */
.gg-timeline {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 18px;
	counter-reset: step;
}

.gg-timeline__step {
	position: relative;
	display: flex;
	gap: 16px;
	padding: 22px;
	border-radius: var(--gg-radius);
	background: var(--gg-surface);
	border: 1px solid var(--gg-line);
}

.gg-timeline__num {
	display: grid;
	place-items: center;
	flex: none;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	font-weight: 800;
	color: #fff;
	background: linear-gradient(135deg, #1a1a1a, var(--gg-red));
	box-shadow: 0 8px 18px -8px var(--gg-red);
}

.gg-timeline__body h3 {
	font-size: 1.08rem;
	margin-bottom: 6px;
}

.gg-timeline__body p {
	margin: 0 0 10px;
	font-size: .93rem;
	color: var(--gg-muted);
}

.gg-timeline__body a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-weight: 700;
	font-size: .93rem;
	color: var(--gg-accent);
	text-decoration: none;
}

.gg-timeline__body a:hover {
	text-decoration: underline;
}

/* ---------- Key facts ---------- */
.gg-facts {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 230px), 1fr));
	gap: 16px;
}

.gg-fact {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 22px;
	border-radius: var(--gg-radius);
	background: rgb(255 255 255 / 5%);
	border: 1px solid rgb(255 255 255 / 10%);
	transition: transform .3s var(--gg-ease), background .3s;
}

.gg-fact:hover {
	transform: translateY(-3px);
	background: rgb(255 255 255 / 8%);
}

.gg-fact__value {
	font-size: clamp(1.5rem, 1vw + 1.2rem, 2rem);
	font-weight: 850;
	color: var(--gg-gold);
	letter-spacing: -.02em;
}

.gg-fact__label {
	color: rgb(246 244 238 / 80%);
}

.gg-fact__src {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	margin-top: auto;
	font-size: .82rem;
	color: rgb(246 244 238 / 60%) !important;
	text-decoration: none;
}

.gg-fact__src:hover {
	color: #fff !important;
	text-decoration: underline;
}

/* ---------- Cards ---------- */
.gg-grid {
	list-style: none;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 270px), 1fr));
	gap: 20px;
}

.gg-card {
	--c: var(--gg-c-all);
	height: 100%;
}

.gg-card--visa { --c: var(--gg-c-visa); }
.gg-card--city { --c: var(--gg-c-city); }
.gg-card--transit { --c: var(--gg-c-transit); }
.gg-card--etiquette { --c: var(--gg-c-etiquette); }
.gg-card--career { --c: var(--gg-c-career); }
.gg-card--housing { --c: var(--gg-c-housing); }
.gg-card--entry { --c: var(--gg-c-entry); }

.gg-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	border-radius: var(--gg-radius);
	border: 1px solid var(--gg-line);
	background: var(--gg-surface);
	overflow: hidden;
	text-decoration: none;
	transition: transform .35s var(--gg-ease), box-shadow .35s var(--gg-ease), border-color .35s;
}

.gg-card__link:hover {
	transform: translateY(-5px);
	box-shadow: var(--gg-shadow-lg);
	border-color: color-mix(in srgb, var(--c) 35%, transparent);
}

.gg-card__media {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 16 / 9;
	overflow: hidden;
	color: #fff;
	background:
		radial-gradient(circle at 80% 20%, rgb(255 255 255 / 20%), transparent 45%),
		linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 55%, #000));
}

.gg-card__media img,
.gg-card__media .gg-postcard {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .7s var(--gg-ease);
}

.gg-card__link:hover .gg-card__media img,
.gg-card__link:hover .gg-card__media .gg-postcard,
.gg-card__link:hover .gg-card__glyph {
	transform: scale(1.06);
}

.gg-card__glyph {
	display: grid;
	place-items: center;
	width: 84px;
	height: 84px;
	border-radius: 24px;
	background: rgb(255 255 255 / 16%);
	border: 1px solid rgb(255 255 255 / 25%);
	transition: transform .5s var(--gg-ease);
}

.gg-card__initial {
	position: relative;
	font-size: 3.6rem;
	font-weight: 900;
	color: rgb(255 255 255 / 88%);
	text-shadow: 0 4px 24px rgb(0 0 0 / 35%);
}

.gg-card__body {
	display: flex;
	flex-direction: column;
	gap: 6px;
	padding: 16px 18px 20px;
}

.gg-card__title {
	font-size: 1.12rem !important;
	font-weight: 750;
}

.gg-card__term {
	margin: 0;
	font-size: .88rem;
	font-style: italic;
	color: var(--gg-muted);
}

.gg-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	margin: 0;
	font-size: .88rem;
	font-weight: 600;
	color: var(--c);
}

.gg-card__summary {
	margin: 0;
	font-size: .93rem;
	color: var(--gg-muted);
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.gg-badge {
	--c: var(--gg-c-all);
	align-self: flex-start;
	display: inline-block;
	padding: 3px 10px;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 800;
	letter-spacing: .04em;
	text-transform: uppercase;
	color: var(--c);
	background: color-mix(in srgb, var(--c) 12%, transparent);
	white-space: nowrap;
}

.gg-badge--visa { --c: var(--gg-c-visa); }
.gg-badge--city { --c: var(--gg-c-city); }
.gg-badge--transit { --c: var(--gg-c-transit); }
.gg-badge--etiquette { --c: var(--gg-c-etiquette); }
.gg-badge--career { --c: var(--gg-c-career); }
.gg-badge--housing { --c: var(--gg-c-housing); }
.gg-badge--entry { --c: var(--gg-c-entry); }

/* ---------- Carousel ---------- */
.gg-carousel {
	list-style: none;
	display: flex;
	gap: 18px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-padding-inline: 2px;
	padding: 6px 2px 18px;
	scrollbar-width: thin;
	overscroll-behavior-x: contain;
}

.gg-carousel__item {
	flex: 0 0 clamp(250px, 28vw, 320px);
	scroll-snap-align: start;
}

.gg-carousel__controls {
	display: flex;
	gap: 8px;
}

/* ---------- Topics ---------- */
.gg-topic-cloud {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gg-topic {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 10px 16px;
	border-radius: 999px;
	border: 1px solid var(--gg-line);
	background: var(--gg-surface);
	font-weight: 650;
	text-decoration: none;
	transition: transform .25s var(--gg-ease), box-shadow .25s, border-color .25s;
}

.gg-topic:hover {
	transform: translateY(-2px) rotate(-1deg);
	box-shadow: var(--gg-shadow);
	border-color: var(--gg-red);
}

.gg-topic__count {
	min-width: 26px;
	padding: 1px 8px;
	border-radius: 999px;
	font-size: .78rem;
	text-align: center;
	background: var(--gg-surface-2);
}

/* ---------- A–Z ---------- */
.gg-az__nav {
	position: sticky;
	top: calc(var(--gg-topbar-h) + 8px);
	z-index: 4;
	margin-bottom: 28px;
	padding: 10px;
	border-radius: 16px;
	border: 1px solid var(--gg-line);
	background: color-mix(in srgb, Canvas 86%, transparent);
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
}

body.gg-immersive .gg-az__nav {
	background: color-mix(in srgb, #faf9f6 86%, transparent);
}

@media (prefers-color-scheme: dark) {
	body.gg-immersive .gg-az__nav {
		background: color-mix(in srgb, #0e0f12 86%, transparent);
	}
}

body:not(.gg-immersive) .gg-az__nav {
	top: 8px;
}

.gg-az__nav ul {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 4px;
}

.gg-az__letter {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border-radius: 10px;
	font-weight: 800;
	text-decoration: none;
	transition: background .2s, color .2s, transform .2s var(--gg-ease);
}

a.gg-az__letter:hover,
a.gg-az__letter.is-current,
a.gg-az__letter.is-active {
	background: var(--gg-black);
	color: var(--gg-gold) !important;
	transform: translateY(-2px);
}

@media (prefers-color-scheme: dark) {
	body.gg-immersive a.gg-az__letter:hover,
	body.gg-immersive a.gg-az__letter.is-active {
		background: var(--gg-gold);
		color: #111 !important;
	}
}

.gg-az__letter.is-empty {
	opacity: .28;
}

.gg-az__groups {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 320px), 1fr));
	gap: 26px 36px;
}

.gg-az__group {
	scroll-margin-top: calc(var(--gg-topbar-h) + 90px);
}

.gg-az__heading {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 10px !important;
	font-size: 2.2rem !important;
	font-weight: 900;
}

.gg-az__heading::after {
	content: "";
	flex: 1;
	height: 2px;
	background: linear-gradient(90deg, var(--gg-red), transparent);
}

.gg-az__list {
	list-style: none;
	display: grid;
}

.gg-az__list li {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 10px;
	padding: 7px 0;
	border-bottom: 1px solid var(--gg-line);
}

.gg-az__list a {
	text-decoration: none;
	font-weight: 600;
}

.gg-az__list a:hover {
	color: var(--gg-accent);
	text-decoration: underline;
}

.gg-az__section {
	flex: none;
	font-size: .72rem;
	font-weight: 700;
	color: var(--c, inherit);
	opacity: .85;
}

/* ---------- Trust ---------- */
.gg-trust {
	padding-top: 0;
}

.gg-trust__inner {
	display: flex;
	gap: 22px;
	padding: clamp(22px, 4vw, 40px);
	border-radius: 24px;
	border: 1px solid var(--gg-line);
	background:
		linear-gradient(135deg, color-mix(in srgb, var(--gg-gold) 10%, transparent), transparent 60%),
		var(--gg-surface);
}

.gg-trust__icon {
	color: var(--gg-red);
	flex: none;
}

.gg-trust h2 {
	font-size: 1.5rem !important;
	margin-bottom: 10px !important;
}

.gg-trust p {
	margin: 0 0 10px;
}

.gg-disclaimer {
	font-size: .88rem;
	color: var(--gg-muted);
}

/* ---------- Results / pagination / empty ---------- */
.gg-results {
	padding-bottom: 0;
}

.gg-pagination,
.gg .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 6px;
	margin-top: 34px;
}

.gg-pagination__item,
.gg .page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 12px;
	border: 1px solid var(--gg-line);
	font-weight: 700;
	text-decoration: none;
}

.gg-pagination__item.is-current,
.gg .page-numbers.current {
	background: var(--gg-black);
	border-color: var(--gg-black);
	color: #fff;
}

.gg-empty {
	padding: 32px;
	border-radius: var(--gg-radius);
	border: 1px dashed var(--gg-line);
	text-align: center;
	color: var(--gg-muted);
}

/* ---------- Footer (full-screen hub) ---------- */
.gg-site-footer {
	padding: 28px 0;
	border-top: 1px solid var(--gg-line);
	font-size: .9rem;
}

.gg-site-footer__inner {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 14px;
}

.gg-site-footer__links {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	margin: 0;
	padding: 0;
}

.gg-site-footer a {
	color: inherit;
	text-decoration: none;
	opacity: .8;
}

.gg-site-footer a:hover {
	opacity: 1;
	text-decoration: underline;
}

/* ---------- Sub navigation (single/archive) ---------- */
.gg-subnav {
	border-bottom: 1px solid var(--gg-line);
	background: var(--gg-surface);
}

.gg-subnav__inner {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 58px;
}

.gg-subnav__list {
	list-style: none;
	display: flex;
	gap: 4px;
	flex: 1;
	overflow-x: auto;
	scrollbar-width: none;
	padding: 6px 0;
}

.gg-subnav__list::-webkit-scrollbar {
	display: none;
}

.gg-subnav__list a {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 8px 12px;
	border-radius: 10px;
	font-size: .9rem;
	font-weight: 600;
	white-space: nowrap;
	text-decoration: none;
	transition: background .2s;
}

.gg-subnav__list a:hover,
.gg-subnav__list a[aria-current="page"] {
	background: var(--gg-surface-2);
}

.gg-subnav__list a[aria-current="page"] {
	box-shadow: inset 0 -2px 0 var(--gg-red);
}

/* ---------- Page hero (single/archive) ---------- */
.gg-page-hero {
	--c: var(--gg-c-all);
	position: relative;
	isolation: isolate;
	overflow: hidden;
	padding: clamp(40px, 6vw, 80px) 0 clamp(36px, 5vw, 64px);
	color: var(--gg-ink-on-dark);
	background: #0f0f12;
}

.gg-page-hero--visa { --c: var(--gg-c-visa); }
.gg-page-hero--city { --c: var(--gg-c-city); }
.gg-page-hero--transit { --c: var(--gg-c-transit); }
.gg-page-hero--etiquette { --c: var(--gg-c-etiquette); }
.gg-page-hero--career { --c: var(--gg-c-career); }
.gg-page-hero--housing { --c: var(--gg-c-housing); }
.gg-page-hero--entry { --c: var(--gg-c-entry); }

.gg-page-hero__bg {
	position: absolute;
	inset: 0;
	z-index: -1;
	background:
		radial-gradient(ellipse at 85% 10%, color-mix(in srgb, var(--c) 70%, transparent), transparent 55%),
		radial-gradient(ellipse at 0% 100%, rgb(221 0 0 / 25%), transparent 50%),
		linear-gradient(160deg, #141418, #0b0b0d);
}

.gg-page-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background-image:
		linear-gradient(rgb(255 255 255 / 4%) 1px, transparent 1px),
		linear-gradient(90deg, rgb(255 255 255 / 4%) 1px, transparent 1px);
	background-size: 44px 44px;
	mask-image: linear-gradient(90deg, transparent, #000 70%);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 70%);
}

.gg-page-hero__inner {
	max-width: 1200px;
}

.gg-breadcrumb ol {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 22px !important;
	font-size: .88rem;
	color: rgb(255 255 255 / 70%);
}

.gg-breadcrumb li + li::before {
	content: "›";
	margin-right: 6px;
	opacity: .6;
}

.gg-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.gg-breadcrumb a:hover {
	text-decoration: underline;
}

.gg-page-hero__icon {
	display: grid;
	place-items: center;
	width: 64px;
	height: 64px;
	margin-bottom: 18px;
	border-radius: 18px;
	background: linear-gradient(135deg, var(--c), color-mix(in srgb, var(--c) 50%, #000));
	box-shadow: 0 14px 30px -12px var(--c);
	color: #fff;
}

.gg-page-hero__title {
	max-width: 22ch;
	font-size: clamp(2rem, 3vw + 1rem, 3.4rem);
	font-weight: 850;
	color: #fff;
}

.gg-term {
	margin: 12px 0 0;
	font-size: 1.05rem;
	color: rgb(255 255 255 / 72%);
}

.gg-term strong {
	color: var(--gg-gold);
}

.gg-lead {
	max-width: 70ch;
	margin: 16px 0 0;
	font-size: clamp(1.05rem, .4vw + 1rem, 1.22rem);
	color: rgb(255 255 255 / 82%);
}

.gg-count {
	margin: 10px 0 22px;
	font-weight: 700;
	color: var(--gg-gold);
}

.gg-page-hero .gg-search {
	max-width: 640px;
}

.gg-tags {
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px !important;
}

.gg-tag {
	display: inline-block;
	padding: 4px 12px;
	border-radius: 999px;
	font-size: .82rem;
	background: rgb(255 255 255 / 10%);
	border: 1px solid rgb(255 255 255 / 14%);
}

.gg-verified {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 18px 0 0;
	padding: 7px 14px;
	border-radius: 999px;
	font-size: .88rem;
	font-weight: 650;
}

.gg-verified--ok {
	background: rgb(16 185 129 / 16%);
	color: #34d399;
}

.gg-verified--stale {
	background: rgb(245 158 11 / 16%);
	color: #fbbf24;
}

.gg-verified--none {
	background: rgb(148 163 184 / 18%);
	color: #cbd5e1;
}

/* ---------- Single layout ---------- */
.gg-single__layout {
	display: grid;
	gap: 40px;
	padding-block: clamp(32px, 5vw, 56px);
}

@media (min-width: 960px) {
	.gg-single__layout {
		grid-template-columns: minmax(0, 1fr) 340px;
		gap: 56px;
	}
	.gg-single__aside {
		position: sticky;
		top: 24px;
		align-self: start;
	}
	.admin-bar .gg-single__aside {
		top: 56px;
	}
}

@media (max-width: 959px) {
	.gg-single__aside {
		order: -1;
	}
}

.gg-single__figure {
	margin: 0 0 28px;
}

.gg-single__image {
	width: 100%;
	height: auto;
	border-radius: var(--gg-radius);
}

.gg-single__figure figcaption {
	margin-top: 8px;
	font-size: .85rem;
	color: var(--gg-muted);
}

.gg-prose {
	max-width: 74ch;
	font-size: 1.06rem;
}

.gg-prose h2 {
	margin: 1.8em 0 .6em !important;
	font-size: 1.6rem !important;
}

.gg-prose h3 {
	margin: 1.5em 0 .5em !important;
	font-size: 1.25rem !important;
}

.gg-prose p,
.gg-prose ul,
.gg-prose ol {
	margin: 0 0 1em;
}

.gg-prose ul,
.gg-prose ol {
	padding-left: 1.3em;
}

.gg-prose li {
	margin-bottom: .35em;
}

.gg-prose a {
	color: var(--gg-accent);
	text-underline-offset: 3px;
}

.gg-prose table {
	width: 100%;
	border-collapse: collapse;
	margin: 1.2em 0;
	font-size: .95rem;
}

.gg-prose th,
.gg-prose td {
	padding: 10px 12px;
	border-bottom: 1px solid var(--gg-line);
	text-align: left;
	vertical-align: top;
}

.gg-prose th {
	background: var(--gg-surface-2);
}

.gg-tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 180px), 1fr));
	gap: 14px;
	margin: 0 0 32px;
}

.gg-tile {
	padding: 18px;
	border-radius: 16px;
	border: 1px solid var(--gg-line);
	background: var(--gg-surface);
}

.gg-tile dt {
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
	color: var(--gg-muted);
}

.gg-tile dd {
	margin: 4px 0 2px;
	font-size: 1.35rem;
	font-weight: 800;
	font-variant-numeric: tabular-nums;
}

.gg-tile small {
	font-size: .8rem;
	color: var(--gg-muted);
}

.gg-dodont {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 260px), 1fr));
	gap: 16px;
	margin: 32px 0;
}

.gg-dodont__col {
	padding: 22px;
	border-radius: var(--gg-radius);
	border: 1px solid var(--gg-line);
}

.gg-dodont__col h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px !important;
	font-size: 1.25rem !important;
}

.gg-dodont__col--do {
	background: rgb(16 185 129 / 8%);
}

.gg-dodont__col--do h2 {
	color: #059669;
}

.gg-dodont__col--dont {
	background: rgb(239 68 68 / 8%);
}

.gg-dodont__col--dont h2 {
	color: #dc2626;
}

.gg-dodont__col ul {
	padding-left: 1.2em;
}

.gg-dodont__col li {
	margin-bottom: 6px;
}

.gg-checklist {
	margin: 36px 0;
	padding: 24px;
	border-radius: var(--gg-radius);
	background: var(--gg-surface);
	border: 1px solid var(--gg-line);
}

.gg-checklist h2 {
	margin-bottom: 14px !important;
	font-size: 1.35rem !important;
}

.gg-checklist ol {
	list-style: none;
	display: grid;
	gap: 10px;
}

.gg-checklist li {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.gg-checklist__box {
	display: grid;
	place-items: center;
	flex: none;
	width: 24px;
	height: 24px;
	margin-top: 2px;
	border-radius: 7px;
	color: #fff;
	background: linear-gradient(135deg, #10b981, #047857);
}

.gg-sources {
	margin-top: 40px;
	padding: 24px;
	border-radius: var(--gg-radius);
	border: 1px solid var(--gg-line);
	border-left: 5px solid var(--gg-gold);
	background: var(--gg-surface);
}

.gg-sources h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	font-size: 1.3rem !important;
}

.gg-sources .gg-verified--ok {
	color: #047857;
	background: rgb(16 185 129 / 12%);
}

.gg-sources .gg-verified--stale {
	color: #b45309;
	background: rgb(245 158 11 / 14%);
}

.gg-sources .gg-verified--none {
	color: inherit;
}

.gg-sources__note {
	margin: 14px 0 0;
	font-size: .95rem;
}

.gg-sources__list {
	list-style: none;
	display: grid;
	gap: 8px;
	margin: 16px 0 !important;
}

.gg-sources__list a {
	font-weight: 650;
	color: var(--gg-accent);
	word-break: break-word;
}

.gg-sources__tag {
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: .72rem;
	font-weight: 700;
	background: var(--gg-surface-2);
}

.gg-factbox {
	padding: 22px;
	border-radius: var(--gg-radius);
	border: 1px solid var(--gg-line);
	background:
		linear-gradient(160deg, color-mix(in srgb, var(--gg-gold) 12%, transparent), transparent 50%),
		var(--gg-surface);
	box-shadow: var(--gg-shadow);
}

.gg-factbox h2 {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 12px !important;
	font-size: 1.15rem !important;
}

.gg-factbox dl {
	margin: 0;
}

.gg-factbox__row {
	padding: 10px 0;
	border-bottom: 1px solid var(--gg-line);
}

.gg-factbox__row:last-child {
	border-bottom: 0;
}

.gg-factbox dt {
	font-size: .8rem;
	color: var(--gg-muted);
}

.gg-factbox dd {
	margin: 2px 0 0;
	font-weight: 750;
}

.gg-factbox__src {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin-top: 10px;
	font-size: .88rem;
	font-weight: 700;
	color: var(--gg-accent);
}

.gg-aside-search {
	margin-top: 18px;
}

.gg-related {
	background: var(--gg-surface);
}

.gg-related h2 {
	margin-bottom: 24px !important;
	font-size: 1.7rem !important;
}

/* ---------- Archive ---------- */
.gg-archive__body {
	padding-block: clamp(28px, 4vw, 48px) clamp(48px, 6vw, 80px);
}

.gg-filter ul {
	list-style: none;
	display: flex;
	gap: 8px;
	overflow-x: auto;
	padding-bottom: 10px;
	margin-bottom: 24px !important;
	scrollbar-width: thin;
}

.gg-filter .gg-chip {
	white-space: nowrap;
}

/* ---------- Embeds ---------- */
.gg-embed {
	margin-block: 1.5em;
}

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
	.gg *,
	.gg *::before,
	.gg *::after,
	.gg-topbar * {
		animation: none !important;
		transition: none !important;
		scroll-behavior: auto !important;
	}
	.gg-js .gg-reveal {
		opacity: 1;
		transform: none;
	}
	html:has(body.gg-hub-page) {
		scroll-behavior: auto;
	}
}

.gg-no-motion .gg *,
.gg-no-motion .gg *::before,
.gg-no-motion .gg *::after {
	animation: none !important;
	transition: none !important;
}

.gg-no-motion.gg-js .gg-reveal,
.gg-no-motion .gg-reveal {
	opacity: 1 !important;
	transform: none !important;
}

/* ---------- Print ---------- */
@media print {
	.gg-topbar,
	.gg-subnav,
	.gg-search,
	.gg-hero__bg,
	.gg-skyline,
	.gg-carousel__controls,
	.gg-az__nav {
		display: none !important;
	}
	.gg-hero,
	.gg-page-hero,
	.gg-section--dark {
		background: none !important;
		color: #000 !important;
		min-height: 0;
		padding: 16px 0 !important;
	}
	.gg-hero__title,
	.gg-page-hero__title {
		color: #000 !important;
		-webkit-text-fill-color: #000;
	}
	.gg-reveal {
		opacity: 1 !important;
		transform: none !important;
	}
}
