/*
 * Region chooser landing — chooser-only stylesheet.
 * Enqueued ONLY on template-chooser-landing.php (see Conk_Chooser_Redirect).
 * Visual reference: conk-preview-v2/index.html lines 23–116.
 */

.conk-chooser-page {
	margin: 0;
	padding: 0;
	background: #fff;
}

.conk-chooser-page * {
	box-sizing: border-box;
}

.conk-chooser {
	--co-y: #fcd116;
	--co-b: #003893;
	--co-r: #ce1126;
	--ve-y: #ffcc00;
	--ve-b: #00247d;
	--ve-r: #cf142b;
	--navy-deep: #0a1a3a;
	min-height: 100vh;
	color: #fff;
	font-family: var(--conk-sans, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
	background:
		radial-gradient(120% 90% at 85% -10%, rgba(37, 160, 248, .18), transparent 55%),
		radial-gradient(90% 70% at 10% 110%, rgba(233, 162, 60, .12), transparent 55%),
		linear-gradient(160deg, #062c5e 0%, var(--navy-deep) 55%, #01142f 100%);
	display: flex;
	flex-direction: column;
	position: relative;
	overflow-x: hidden;
	-webkit-font-smoothing: antialiased;
}

/* Decorative top stripe (gold / blue / red, CO flag proportions) */
.conk-chooser .tricolor {
	height: 4px;
	flex: 0 0 auto;
	background: linear-gradient(90deg, var(--co-y) 0 33.3%, var(--co-b) 33.3% 66.6%, var(--co-r) 66.6% 100%);
}

/* Decorative key watermark (4% opacity per mockup) */
.conk-chooser .watermark {
	position: absolute;
	right: -90px;
	bottom: -90px;
	width: 420px;
	height: 420px;
	color: #fff;
	opacity: .04;
	pointer-events: none;
	z-index: 0;
}

/* Main column */
.conk-chooser__main {
	flex: 1;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 40px 22px;
	position: relative;
	z-index: 1;
}

.conk-chooser__card {
	width: 100%;
	max-width: 720px;
	text-align: center;
}

.conk-chooser__title {
	margin: 0 0 16px;
	font-size: clamp(24px, 4.6vw, 36px);
	font-weight: 800;
	letter-spacing: -.02em;
	color: #eaf2ff;
}

.conk-chooser__tagline {
	margin: 0 0 32px;
	color: #c3d2ea;
	font-size: clamp(15px, 2.4vw, 17px);
}

/* Countries grid: stacked on mobile, two columns at >=620px */
.conk-chooser__countries {
	display: grid;
	grid-template-columns: 1fr;
	gap: 16px;
}

@media (min-width: 620px) {
	.conk-chooser__countries {
		grid-template-columns: 1fr 1fr;
		gap: 20px;
	}
}

/* Country card */
.conk-country {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	text-align: center;
	padding: 30px 22px;
	border-radius: 20px;
	color: #fff;
	background: rgba(255, 255, 255, .055);
	border: 1px solid rgba(255, 255, 255, .14);
	font-family: inherit;
	cursor: pointer;
	position: relative;
	overflow: hidden;
	transition: transform .18s, border-color .18s, background .18s, box-shadow .18s;
}

.conk-country::before {
	content: "";
	position: absolute;
	left: 0;
	right: 0;
	top: 0;
	height: 6px;
	opacity: .9;
}

.conk-country.co::before {
	background: linear-gradient(90deg, var(--co-y), var(--co-b), var(--co-r));
}

.conk-country.ve::before {
	background: linear-gradient(90deg, var(--ve-y), var(--ve-b), var(--ve-r));
}

.conk-country:hover,
.conk-country:focus-visible {
	transform: translateY(-2px);
	background: rgba(255, 255, 255, .09);
	border-color: rgba(140, 199, 247, .55);
	box-shadow: 0 8px 24px rgba(0, 0, 0, .35);
	outline: none;
}

.conk-country .flag {
	width: 96px;
	height: 64px;
	border-radius: 11px;
	flex: 0 0 auto;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .35), inset 0 0 0 1px rgba(255, 255, 255, .14);
}

.conk-country .flag.co {
	background: linear-gradient(180deg, var(--co-y) 0 50%, var(--co-b) 50% 75%, var(--co-r) 75% 100%);
}

.conk-country .flag.ve {
	background: linear-gradient(180deg, var(--ve-y) 0 33.33%, var(--ve-b) 33.33% 66.66%, var(--ve-r) 66.66% 100%);
}

.conk-country .name {
	font-size: 22px;
	font-weight: 800;
	letter-spacing: -.01em;
}

.conk-country .sub {
	font-size: 13.5px;
	color: #c3d2ea;
	line-height: 1.4;
	max-width: 24ch;
}

.conk-country .cta {
	margin-top: 4px;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	font-size: 14px;
	font-weight: 700;
	color: #fff;
	background: rgba(37, 160, 248, .22);
	border: 1px solid rgba(140, 199, 247, .4);
	padding: 10px 20px;
	border-radius: 30px;
	transition: background .18s;
}

.conk-country:hover .cta,
.conk-country:focus-visible .cta {
	background: #25a0f8;
	border-color: #25a0f8;
	color: #04244a;
}

.conk-chooser__footer {
	position: relative;
	z-index: 1;
	text-align: center;
	padding: 20px 22px 30px;
	color: #8ea3c6;
	font-size: 12.5px;
}

.conk-chooser__footer strong {
	color: #e9a23c;
	font-weight: 700;
}

/* Responsive collapse: cards stack vertically, full width */
@media (max-width: 760px) {
	.conk-chooser__main {
		padding: 30px 18px;
	}

	.conk-country {
		padding: 24px 18px;
	}

	.conk-country .flag {
		width: 80px;
		height: 54px;
	}

	.conk-country .name {
		font-size: 20px;
	}
}
