/* Grandliga Guide Hub — stage version 2026-08-15d */

.gl-guide-hub,
.gl-guide-hub * {
	box-sizing: border-box;
}

.gl-guide-hub {
	--gl-navy: #19374e;
	--gl-dark: #12273a;
	--gl-teal: #238174;
	--gl-teal-dark: #196960;
	--gl-muted: #677584;
	--gl-line: #d8e0e8;
	--gl-bg: #f0f3f7;
	--gl-soft: #f6f9fb;
	--gl-card: #ffffff;
	width: min(1420px, calc(100% - 40px));
	margin: 42px auto 70px;
	color: var(--gl-dark);
	font-family: inherit;
}

.gl-guide-hero,
.gl-guide-country-panel,
.gl-guide-cta {
	background: var(--gl-card);
	border: 1px solid var(--gl-line);
	border-radius: 28px;
	box-shadow: 0 14px 34px rgba(20, 43, 63, .10);
}

.gl-guide-country-panel {
	scroll-margin-top: 170px;
}

.gl-guide-hero {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 430px;
	gap: 46px;
	align-items: center;
	padding: 60px 50px 40px;
	position: relative;
	overflow: hidden;
}

.gl-guide-hero::before,
.gl-guide-hero::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	border: 1px dotted rgba(25, 55, 78, .14);
	pointer-events: none;
}

.gl-guide-hero::before {
	width: 220px;
	height: 140px;
	left: -70px;
	top: -30px;
}

.gl-guide-hero::after {
	width: 250px;
	height: 170px;
	right: -90px;
	bottom: -55px;
}

.gl-guide-hero-content,
.gl-guide-search-box {
	position: relative;
	z-index: 2;
}

.gl-guide-hero h1 {
	margin: 0 0 16px;
	color: var(--gl-navy);
	font-size: clamp(34px, 4vw, 56px);
	line-height: 1.08;
	font-weight: 800;
	letter-spacing: .01em;
	text-transform: uppercase;
}

.gl-guide-hero p,
.gl-guide-regions p,
.gl-guide-active-hint,
.gl-guide-cta p {
	margin: 0;
	color: var(--gl-muted);
	font-size: 20px;
	line-height: 1.55;
}

.gl-guide-search-label {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(1px, 1px, 1px, 1px);
}

.gl-guide-search-field {
	display: flex;
	align-items: center;
	height: 62px;
	padding: 0 22px;
	background: var(--gl-soft);
	border: 2px solid #c6d2dc;
	border-radius: 32px;
}

.gl-guide-search-field.is-error {
	border-color: #d94b4b;
	box-shadow: 0 0 0 4px rgba(217, 75, 75, .10);
}

.gl-guide-search-error {
	margin: 9px 0 0;
	color: #c43d3d;
	font-size: 14px;
	line-height: 1.35;
	font-weight: 600;
}

.gl-guide-search-icon {
	width: 21px;
	height: 21px;
	border: 2px solid var(--gl-muted);
	border-radius: 50%;
	margin-right: 18px;
	position: relative;
	flex: 0 0 auto;
}

.gl-guide-search-icon::after {
	content: "";
	position: absolute;
	width: 12px;
	height: 2px;
	background: var(--gl-muted);
	transform: rotate(45deg);
	right: -8px;
	bottom: -5px;
	border-radius: 2px;
}

.gl-guide-search-input {
	width: 100%;
	border: 0;
	outline: 0;
	background: transparent;
	color: var(--gl-navy);
	font-size: 18px;
	min-width: 0;
}

.gl-guide-search-input::placeholder {
	color: #8796a5;
}

.gl-guide-search-submit,
.gl-guide-show-all,
.gl-guide-cta-button {
	border: 0;
	background: var(--gl-teal);
	color: #fff;
	cursor: pointer;
	text-decoration: none;
	font-weight: 800;
	letter-spacing: .02em;
	text-transform: uppercase;
	transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}

.gl-guide-search-submit {
	display: block;
	width: 260px;
	height: 60px;
	margin: 18px auto 0;
	border-radius: 30px;
	font-size: 16px;
}

.gl-guide-search-submit:hover,
.gl-guide-show-all:hover,
.gl-guide-cta-button:hover {
	background: var(--gl-teal-dark);
	color: #fff;
	transform: translateY(-1px);
	box-shadow: 0 10px 22px rgba(35, 129, 116, .22);
}

.gl-guide-popular,
.gl-guide-regions {
	margin-top: 44px;
}

.gl-guide-popular h2,
.gl-guide-regions h2,
.gl-guide-active-title,
.gl-guide-cta h2 {
	margin: 0;
	color: var(--gl-navy);
	font-size: 34px;
	line-height: 1.2;
	font-weight: 800;
}

.gl-guide-popular-row {
	display: flex;
	flex-wrap: nowrap;
	justify-content: center;
	align-items: center;
	gap: 14px;
	margin-top: 22px;
	overflow: hidden;
	max-height: 52px;
	max-width: 100%;
	position: relative;
}

.gl-guide-popular-chip.gl-popular-hidden {
	display: none !important;
}

.gl-guide-popular-chip {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	flex: 0 0 auto;
	height: 48px;
	padding: 0 22px 0 16px;
	background: var(--gl-card);
	border: 1px solid var(--gl-line);
	border-radius: 26px;
	box-shadow: 0 6px 16px rgba(20, 43, 63, .06);
	color: var(--gl-navy);
	text-decoration: none;
	font-size: 18px;
	line-height: 1;
	white-space: nowrap;
	transition: transform .2s ease, border-color .2s ease;
}

.gl-guide-popular-chip:hover {
	color: var(--gl-navy);
	border-color: rgba(35, 129, 116, .45);
	transform: translateY(-1px);
}

.gl-guide-flag {
	font-size: 24px;
	line-height: 1;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: 0 0 auto;
}

.gl-guide-regions p {
	margin-top: 12px;
	font-size: 18px;
}

.gl-guide-region-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 30px 38px;
	margin-top: 34px;
}

.gl-guide-region-card {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	min-height: 128px;
	padding: 26px 24px 22px;
	border: 1px solid #ccd7df;
	border-radius: 22px;
	background: var(--gl-card);
	color: var(--gl-navy);
	box-shadow: 0 8px 22px rgba(20, 43, 63, .09);
	text-align: left;
	cursor: pointer;
	overflow: hidden;
	transition: transform .2s ease, box-shadow .2s ease, background .2s ease, color .2s ease;
}

.gl-guide-region-card:hover,
.gl-guide-region-card.is-active {
	transform: translateY(-2px);
	box-shadow: 0 14px 30px rgba(20, 43, 63, .14);
}

.gl-guide-region-card.is-active {
	background: var(--gl-navy);
	color: #fff;
}

.gl-guide-region-accent {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 9px;
	background: var(--gl-teal);
}

.gl-guide-region-icon {
	position: absolute;
	right: 26px;
	top: 24px;
	width: 42px;
	height: 42px;
	border-radius: 50%;
	background: #e6f1f0;
	border: 2px solid var(--gl-teal);
}

.gl-guide-region-icon::before,
.gl-guide-region-icon::after {
	content: "";
	position: absolute;
	border: 2px solid var(--gl-teal);
	border-left: 0;
	border-right: 0;
	border-radius: 50%;
}

.gl-guide-region-icon::before {
	left: 9px;
	right: 9px;
	top: 8px;
	bottom: 8px;
}

.gl-guide-region-icon::after {
	left: 7px;
	right: 7px;
	top: 19px;
	height: 0;
	border-bottom: 0;
}

.gl-guide-region-card.is-active .gl-guide-region-icon {
	background: rgba(35, 129, 116, .38);
	border-color: #fff;
}

.gl-guide-region-card.is-active .gl-guide-region-icon::before,
.gl-guide-region-card.is-active .gl-guide-region-icon::after {
	border-color: #fff;
}

.gl-guide-region-title,
.gl-guide-region-count,
.gl-guide-region-link {
	display: block;
	position: relative;
	z-index: 2;
}

.gl-guide-region-title {
	max-width: calc(100% - 56px);
	font-size: 22px;
	font-weight: 800;
	line-height: 1.18;
}

.gl-guide-region-count {
	margin-top: 12px;
	color: var(--gl-muted);
	font-size: 15px;
}

.gl-guide-region-card.is-active .gl-guide-region-count {
	color: #d2e3e6;
}

.gl-guide-region-link {
	margin-top: auto;
	padding-top: 16px;
	color: var(--gl-teal);
	font-size: 16px;
	font-weight: 600;
}

.gl-guide-region-link::after {
	content: " →";
}

.gl-guide-region-card.is-active .gl-guide-region-link {
	color: #fff;
}

.gl-guide-country-panel {
	margin-top: 54px;
	padding: 40px;
}

.gl-guide-country-panel-head {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 32px;
}

.gl-guide-active-hint {
	margin-top: 10px;
	font-size: 18px;
}

.gl-guide-show-all {
	flex: 0 0 auto;
	min-width: 235px;
	height: 56px;
	padding: 0 26px;
	border-radius: 14px;
	font-size: 15px;
}

.gl-guide-country-list {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 14px 28px;
}

.gl-guide-subregion {
	grid-column: 1 / -1;
	margin: 24px 0 0;
	color: var(--gl-navy);
	font-size: 22px;
	line-height: 1.25;
	font-weight: 800;
}

.gl-guide-subregion:first-child {
	margin-top: 0;
}

.gl-guide-country-card {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr) auto;
	align-items: center;
	gap: 14px;
	min-height: 66px;
	padding: 13px 16px;
	background: var(--gl-card);
	border: 1px solid var(--gl-line);
	border-radius: 15px;
	color: var(--gl-navy);
	text-decoration: none;
	transition: transform .2s ease, border-color .2s ease, box-shadow .2s ease;
}

.gl-guide-country-card:hover {
	color: var(--gl-navy);
	border-color: rgba(35, 129, 116, .45);
	box-shadow: 0 10px 22px rgba(20, 43, 63, .08);
	transform: translateY(-1px);
}

.gl-guide-country-text {
	min-width: 0;
}

.gl-guide-country-name,
.gl-guide-country-title {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.gl-guide-country-name {
	font-size: 18px;
	font-weight: 800;
}

.gl-guide-country-title {
	margin-top: 5px;
	color: var(--gl-muted);
	font-size: 14px;
	line-height: 1.25;
}

.gl-guide-country-arrow {
	color: var(--gl-teal);
	font-size: 26px;
	font-weight: 800;
}

.gl-guide-no-results {
	padding: 24px;
	background: var(--gl-soft);
	border: 1px dashed var(--gl-line);
	border-radius: 16px;
	color: var(--gl-muted);
	font-size: 18px;
}

.gl-guide-cta {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 170px 372px;
	gap: 44px;
	align-items: center;
	margin-top: 64px;
	padding: 42px 40px;
	background: #f7fcfb;
	border-color: #cbe1dd;
}

.gl-guide-cta h2 {
	font-size: 30px;
	text-transform: uppercase;
}

.gl-guide-cta p {
	margin-top: 18px;
	max-width: 720px;
	font-size: 20px;
}

.gl-guide-cta-arrows {
	display: flex;
	justify-content: center;
	gap: 18px;
}

.gl-guide-cta-arrows span {
	position: relative;
	display: block;
	width: 34px;
	height: 5px;
	background: var(--gl-teal);
	border-radius: 4px;
}

.gl-guide-cta-arrows span::before,
.gl-guide-cta-arrows span::after {
	content: "";
	position: absolute;
	right: -1px;
	width: 15px;
	height: 5px;
	background: var(--gl-teal);
	border-radius: 4px;
}

.gl-guide-cta-arrows span::before {
	top: -5px;
	transform: rotate(45deg);
}

.gl-guide-cta-arrows span::after {
	top: 5px;
	transform: rotate(-45deg);
}

.gl-guide-cta-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 70px;
	padding: 18px 32px;
	border-radius: 18px;
	font-size: 20px;
	text-align: center;
}

.gl-is-hidden {
	display: none !important;
}

@media (max-width: 1180px) {
	.gl-guide-hub {
		width: min(100% - 28px, 1040px);
	}

	.gl-guide-hero {
		grid-template-columns: 1fr;
		gap: 30px;
	}

	.gl-guide-search-box {
		max-width: 620px;
	}

	.gl-guide-region-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gl-guide-country-list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.gl-guide-cta {
		grid-template-columns: 1fr;
		gap: 28px;
		text-align: left;
	}

	.gl-guide-cta-arrows {
		justify-content: flex-start;
		padding-left: 10px;
	}

	.gl-guide-cta-button {
		width: min(372px, 100%);
	}
}

@media (max-width: 767px) {
	.gl-guide-hub {
		width: calc(100% - 24px);
		margin: 132px auto 48px;
	}

	.gl-guide-hero {
		padding: 38px 18px 30px;
		border-radius: 22px;
	}

	.gl-guide-hero h1 {
		display: block !important;
		margin-bottom: 14px;
		font-size: 30px;
		line-height: 1.16;
	}

	.gl-guide-hero p,
	.gl-guide-regions p,
	.gl-guide-active-hint,
	.gl-guide-cta p {
		font-size: 15px;
		line-height: 1.55;
	}

	.gl-guide-search-field {
		height: 52px;
		padding: 0 16px;
	}

	.gl-guide-search-input {
		font-size: 16px;
		-webkit-text-size-adjust: 100%;
	}

	.gl-guide-search-error {
		font-size: 13px;
		padding-left: 4px;
	}

	.gl-guide-search-submit {
		width: min(100%, 266px);
		height: 54px;
		margin-top: 16px;
		font-size: 14px;
	}

	.gl-guide-popular,
	.gl-guide-regions {
		margin-top: 36px;
	}

	.gl-guide-popular h2,
	.gl-guide-regions h2,
	.gl-guide-active-title,
	.gl-guide-cta h2 {
		font-size: 24px;
	}

	.gl-guide-popular-row {
		justify-content: center;
		overflow: hidden;
		max-height: 42px;
		margin-left: 0;
		margin-right: 0;
		padding: 0;
		gap: 8px;
	}

	.gl-guide-popular-chip {
		height: 40px;
		padding: 0 12px 0 10px;
		gap: 7px;
		font-size: 12px;
		box-shadow: 0 2px 8px rgba(20, 43, 63, .05);
	}

	.gl-guide-flag {
		font-size: 21px;
	}

	.gl-guide-region-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 16px;
		margin-top: 24px;
	}

	.gl-guide-region-card {
		min-height: 102px;
		padding: 20px 14px 14px;
		border-radius: 18px;
	}

	.gl-guide-region-title {
		max-width: calc(100% - 34px);
		font-size: 16px;
	}

	.gl-guide-region-count,
	.gl-guide-region-link {
		font-size: 12px;
	}

	.gl-guide-region-icon {
		right: 12px;
		top: 18px;
		width: 31px;
		height: 31px;
	}

	.gl-guide-region-icon::before {
		left: 7px;
		right: 7px;
		top: 6px;
		bottom: 6px;
	}

	.gl-guide-region-icon::after {
		left: 6px;
		right: 6px;
		top: 14px;
	}

	.gl-guide-country-panel {
		margin-top: 34px;
		padding: 28px 16px;
		border-radius: 22px;
	}

	.gl-guide-country-panel-head {
		display: block;
		margin-bottom: 24px;
	}

	.gl-guide-show-all {
		width: 186px;
		min-width: 0;
		height: 47px;
		margin-top: 18px;
		border-radius: 24px;
		font-size: 13px;
	}

	.gl-guide-country-list {
		grid-template-columns: 1fr;
		gap: 12px;
	}

	.gl-guide-subregion {
		margin-top: 22px;
		font-size: 18px;
	}

	.gl-guide-country-card {
		min-height: 68px;
		padding: 13px 14px;
		border-radius: 14px;
	}

	.gl-guide-country-name {
		font-size: 16px;
	}

	.gl-guide-country-title {
		font-size: 12px;
	}

	.gl-guide-cta {
		display: block;
		margin-top: 42px;
		padding: 32px 16px 26px;
		border-radius: 22px;
		text-align: left;
	}

	.gl-guide-cta h2 {
		font-size: 22px;
		line-height: 1.25;
	}

	.gl-guide-cta p {
		margin-top: 16px;
		font-size: 14px;
	}

	.gl-guide-cta-arrows {
		justify-content: center;
		gap: 14px;
		margin: 30px 0 22px;
		padding: 0;
	}

	.gl-guide-cta-arrows span {
		width: 28px;
		height: 4px;
	}

	.gl-guide-cta-arrows span::before,
	.gl-guide-cta-arrows span::after {
		width: 12px;
		height: 4px;
	}

	.gl-guide-cta-button {
		width: 100%;
		min-height: 54px;
		border-radius: 27px;
		font-size: 14px;
	}
}


/* v4: iOS search focus stability and one-row popular cleanup */
@media (max-width: 767px) {
	.gl-guide-search-input,
	.gl-guide-search-input:focus {
		font-size: 16px !important;
		line-height: 1.2;
	}
}

.gl-guide-popular-row {
	justify-content: center;
}

.gl-guide-popular-chip {
	max-width: 220px;
}

.gl-guide-popular-chip span:last-child {
	overflow: hidden;
	text-overflow: ellipsis;
}
