/* ExpatKit Homepage — dynamic component styling.
   Reuses the blog system's own design tokens (blog.css :root) rather than
   redefining the palette, so the homepage and blog stay one visual system. */

/* ---------- Hero destination navigator (compact mode) ----------
   Lives inside the hero's existing white boxed card (.ek-card), which
   already supplies background/border/shadow — this only styles the list. */

.ek-home-nav-destinations__list {
	list-style: none;
	margin: 0 0 14px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 2px;
}
.ek-home-nav-destinations__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 10px;
	margin-inline: -10px;
	border-radius: 10px;
	color: var(--ek-ink);
	font-family: var(--ek-font-body);
	font-weight: 600;
	font-size: 0.98rem;
	text-decoration: none;
	transition: background-color 0.15s ease, color 0.15s ease;
}
.ek-home-nav-destinations__list a:hover {
	background: var(--ek-surface);
	color: var(--ek-navy);
}
.ek-home-nav-destinations__arrow {
	color: var(--ek-accent);
	flex-shrink: 0;
}
.ek-home-nav-destinations__all {
	display: inline-block;
	font-family: var(--ek-font-body);
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--ek-navy);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ek-home-nav-destinations__all:hover {
	color: var(--ek-accent);
}

/* ---------- Shared: eyebrow-style label + CTA link (used by both grids) ---------- */

.ek-home-cta-link {
	display: inline-flex;
	align-items: center;
	margin-block-start: 18px;
	font-family: var(--ek-font-body);
	font-weight: 600;
	font-size: 0.95rem;
	color: var(--ek-navy);
	text-decoration: none;
}
.ek-home-cta-link:hover {
	color: var(--ek-accent);
}

/* ---------- Compact card grid (Latest Guides 2-3up, Featured Destination 2-3up) ---------- */

.ek-home-destinations,
.ek-home-guides {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
}
.ek-home-destinations--double,
.ek-home-guides--double {
	grid-template-columns: repeat(2, 1fr);
}
.ek-home-destinations--triple,
.ek-home-guides--triple {
	grid-template-columns: repeat(3, 1fr);
}
@media (max-width: 900px) {
	.ek-home-destinations--triple,
	.ek-home-guides--triple {
		grid-template-columns: repeat(2, 1fr);
	}
}
@media (max-width: 640px) {
	.ek-home-destinations--double,
	.ek-home-destinations--triple,
	.ek-home-guides--double,
	.ek-home-guides--triple {
		grid-template-columns: 1fr;
	}
}

.ek-home-card {
	display: flex;
	flex-direction: column;
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius-lg);
	overflow: hidden;
	background: #fff;
}
.ek-home-card__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--ek-surface);
}
.ek-home-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ek-home-card__media-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--ek-navy), var(--ek-navy-lift));
}
.ek-home-card__body {
	padding: 22px 24px 26px;
}
.ek-home-card__eyebrow {
	display: inline-block;
	font-family: var(--ek-font-body);
	font-size: 0.72rem;
	font-weight: 600;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	color: #9A7A12;
	margin-block-end: 8px;
}
.ek-home-card__title {
	font-family: var(--ek-font-heading);
	font-weight: 600;
	font-size: 1.15rem;
	line-height: 1.3;
	margin: 0 0 10px;
}
.ek-home-card__title a {
	color: var(--ek-ink);
	text-decoration: none;
}
.ek-home-card__title a:hover {
	color: var(--ek-accent);
}
.ek-home-card__excerpt {
	color: var(--ek-muted);
	font-size: 0.92rem;
	line-height: 1.6;
	margin: 0 0 12px;
}
.ek-home-card__meta {
	font-size: 0.8rem;
	color: var(--ek-muted);
	margin: 12px 0 0;
}
.ek-home-card__link {
	display: inline-block;
	margin-block-start: 10px;
	font-family: var(--ek-font-body);
	font-weight: 600;
	font-size: 0.88rem;
	color: var(--ek-navy);
	text-decoration: none;
}
.ek-home-card__link:hover {
	color: var(--ek-accent);
}

/* ---------- Single-feature layout (used when only one real post exists) ---------- */

.ek-home-featured {
	display: grid;
	grid-template-columns: 1fr;
	gap: 32px;
	border: 1px solid var(--ek-line);
	border-radius: var(--ek-radius-lg);
	overflow: hidden;
	background: #fff;
}
@media (min-width: 768px) {
	.ek-home-featured {
		grid-template-columns: 46% 1fr;
		align-items: stretch;
	}
}
.ek-home-featured__media {
	display: block;
	aspect-ratio: 16 / 9;
	background: var(--ek-surface);
}
@media (min-width: 768px) {
	.ek-home-featured__media {
		aspect-ratio: auto;
		height: 100%;
	}
}
.ek-home-featured__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ek-home-featured__media-fallback {
	display: block;
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--ek-navy), var(--ek-navy-lift));
}
.ek-home-featured__body {
	padding: 32px 36px 36px;
	display: flex;
	flex-direction: column;
	justify-content: center;
}
.ek-home-featured__eyebrow {
	display: inline-block;
	font-family: var(--ek-font-body);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #9A7A12;
	margin-block-end: 10px;
}
.ek-home-featured__title {
	font-family: var(--ek-font-heading);
	font-weight: 600;
	font-size: clamp(1.4rem, 1.15rem + 1vw, 1.9rem);
	line-height: 1.2;
	margin: 0 0 14px;
}
.ek-home-featured__title a {
	color: var(--ek-ink);
	text-decoration: none;
}
.ek-home-featured__title a:hover {
	color: var(--ek-accent);
}
.ek-home-featured__excerpt {
	color: var(--ek-muted);
	font-size: 1rem;
	line-height: 1.65;
	margin: 0 0 20px;
}
.ek-home-featured__meta {
	font-size: 0.85rem;
	color: var(--ek-muted);
	margin: 20px 0 0;
}

/* ---------- Real structured score bars (only render when data exists) ---------- */

.ek-home-scores {
	list-style: none;
	margin: 4px 0 16px;
	padding: 0;
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.ek-home-scores li {
	display: grid;
	grid-template-columns: minmax(110px, 34%) 1fr auto;
	align-items: center;
	gap: 10px;
}
.ek-home-scores__label {
	font-family: var(--ek-font-body);
	font-size: 0.78rem;
	color: var(--ek-muted);
}
.ek-home-scores__bar {
	display: block;
	height: 6px;
	border-radius: 100px;
	background: var(--ek-surface);
	overflow: hidden;
}
.ek-home-scores__bar span {
	display: block;
	height: 100%;
	background: var(--ek-accent);
	border-radius: 100px;
}
.ek-home-scores__value {
	font-family: var(--ek-font-body);
	font-weight: 600;
	font-size: 0.82rem;
	color: var(--ek-ink);
	font-variant-numeric: tabular-nums;
}

/* ---------- Latest Guides CTA row ---------- */

.ek-home-guides__cta {
	margin-block-start: 32px;
	text-align: center;
}
.ek-home-guides__cta .ek-home-cta-link {
	margin-block-start: 0;
	font-size: 1rem;
}

@media (max-width: 640px) {
	.ek-home-featured__body {
		padding: 24px 22px 28px;
	}
}

/* ---------- Hero (full-width destination hero) ----------
   Elementor owns the hero layout; these rules only cap the measure of the
   supporting copy and style the navigator shortcode output. Selectors are
   double-scoped so they win over the Elementor kit's link resets. */

.ek-hero-sub p {
	max-width: 50rem;
	margin-inline: auto;
}
.ek-hero-sub p,
.home h1.elementor-heading-title {
	text-wrap: balance;
}

.ek-hero-nav {
	position: relative;
	width: 100%;
	max-width: 780px;
	margin-inline: auto;
	text-align: left;
}
.ek-hero-nav .ek-hero-nav__picker {
	position: relative;
}
.ek-hero-nav .ek-hero-nav__field {
	list-style: none;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	min-height: 70px;
	padding: 0 22px 0 26px;
	background: #fff;
	border: 1.5px solid var(--ek-line, #E7E2D7);
	border-radius: 12px;
	color: var(--ek-navy, #0A1B33);
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 1.08rem;
	font-weight: 500;
	cursor: pointer;
	box-shadow: 0 18px 40px -20px rgba(10, 27, 51, 0.6);
	transition: border-color 0.15s ease, box-shadow 0.15s ease;
}
.ek-hero-nav .ek-hero-nav__field::-webkit-details-marker {
	display: none;
}
.ek-hero-nav .ek-hero-nav__field::marker {
	content: "";
}
.ek-hero-nav .ek-hero-nav__field:hover {
	border-color: var(--ek-accent, #C9A227);
}
.ek-hero-nav .ek-hero-nav__field:focus-visible {
	outline: none;
	border-color: var(--ek-accent, #C9A227);
	box-shadow: 0 0 0 4px rgba(229, 193, 88, 0.6), 0 18px 40px -20px rgba(10, 27, 51, 0.6);
}
.ek-hero-nav .ek-hero-nav__icon {
	flex-shrink: 0;
	color: var(--ek-navy, #0A1B33);
}
.ek-hero-nav .ek-hero-nav__panel {
	position: absolute;
	z-index: 30;
	left: 0;
	right: 0;
	top: calc(100% + 8px);
	padding: 14px 14px 16px;
	background: #fff;
	border: 1px solid var(--ek-line, #E7E2D7);
	border-radius: 12px;
	box-shadow: 0 24px 50px -20px rgba(10, 27, 51, 0.5);
}
.ek-hero-nav .ek-hero-nav__country {
	margin: 4px 10px 6px;
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: #9A7A12;
}
.ek-hero-nav .ek-hero-nav__list {
	list-style: none;
	margin: 0 0 8px;
	padding: 0;
}
.ek-hero-nav .ek-hero-nav__list a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	padding: 12px 10px;
	border-radius: 10px;
	color: var(--ek-ink, #101A28);
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 1rem;
	font-weight: 600;
	text-decoration: none;
}
.ek-hero-nav .ek-hero-nav__list a:hover,
.ek-hero-nav .ek-hero-nav__list a:focus-visible {
	background: var(--ek-surface, #FAF7F1);
	color: var(--ek-navy, #0A1B33);
	outline: none;
}
.ek-hero-nav .ek-hero-nav__arrow {
	color: #9A7A12;
}
.ek-hero-nav .ek-hero-nav__all {
	display: inline-block;
	margin: 4px 10px 0;
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--ek-navy, #0A1B33);
	text-decoration: underline;
	text-underline-offset: 3px;
}
.ek-hero-nav .ek-hero-nav__all:hover {
	color: #9A7A12;
}
.ek-hero-nav .ek-hero-nav__quick {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	align-items: center;
	gap: 6px 12px;
	margin: 20px 0 0;
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 0.95rem;
	color: #B4C6DD;
}
.ek-hero-nav .ek-hero-nav__quick a {
	color: #fff;
	font-weight: 500;
	text-decoration: underline;
	text-decoration-color: rgba(255, 255, 255, 0.4);
	text-underline-offset: 4px;
}
.ek-hero-nav .ek-hero-nav__quick a:hover,
.ek-hero-nav .ek-hero-nav__quick a:focus-visible {
	color: #E5C158;
	text-decoration-color: #E5C158;
}
.ek-hero-nav .ek-hero-nav__sep {
	color: rgba(255, 255, 255, 0.45);
}

@media (max-width: 767px) {
	.ek-hero-nav .ek-hero-nav__field {
		min-height: 60px;
		padding: 0 18px 0 20px;
		font-size: 1rem;
	}
	.ek-hero-nav .ek-hero-nav__quick {
		font-size: 0.9rem;
	}
}
/* ---------- "What do you need help with?" category tiles ----------
   Image-top tiles (3 across), with the last row as wider split tiles so
   the grid always fills its rows. Motion mirrors the site's .ek-card
   pattern (same easing, gold top bar, navy-tinted hover shadow) without
   its forced padding, so images can run edge to edge. */

.ek-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;
}

.ek-help .ek-help__grid {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	gap: 24px;
}
.ek-help .ek-help-card {
	position: relative;
	display: flex;
	flex-direction: column;
	margin: 0;
	background: #fff;
	border: 1px solid var(--ek-line, #E7E2D7);
	border-radius: var(--ek-radius-lg, 26px);
	overflow: hidden;
	transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), box-shadow 0.35s cubic-bezier(0.22, 0.61, 0.36, 1), border-color 0.35s ease;
}
.ek-help .ek-help-card::before {
	content: "";
	position: absolute;
	z-index: 2;
	left: 0;
	right: 0;
	top: 0;
	height: 3px;
	background: var(--ek-accent, #C9A227);
	transform: scaleX(0);
	transform-origin: left;
	transition: transform 0.4s cubic-bezier(0.22, 0.61, 0.36, 1);
	pointer-events: none;
}
.ek-help .ek-help-card:not(.ek-help-card--static):hover,
.ek-help .ek-help-card:focus-within {
	transform: translateY(-5px);
	border-color: rgba(201, 162, 39, 0.45);
	box-shadow: 0 18px 40px -18px rgba(10, 27, 51, 0.28);
}
.ek-help .ek-help-card:not(.ek-help-card--static):hover::before,
.ek-help .ek-help-card:focus-within::before {
	transform: scaleX(1);
}

.ek-help .ek-help-card__media {
	position: relative;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: var(--ek-surface, #FAF7F1);
}
.ek-help .ek-help-card__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
}
.ek-help .ek-help-card:not(.ek-help-card--static):hover .ek-help-card__media img {
	transform: scale(1.04);
}

.ek-help .ek-help-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	align-items: flex-start;
	padding: 24px 26px 26px;
}
.ek-help .ek-help-card__title {
	margin: 0 0 8px;
	font-family: var(--ek-font-heading, Fraunces, Georgia, serif);
	font-size: 1.4rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--ek-ink, #101A28);
}
.ek-help .ek-help-card__desc {
	margin: 0 0 22px;
	max-width: 34rem;
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 0.98rem;
	line-height: 1.6;
	color: var(--ek-muted, #5C6B7F);
}
.ek-help .ek-help-card__cta {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin-top: auto;
	padding: 11px 20px;
	border-radius: var(--ek-radius-pill, 100px);
	background: var(--ek-accent-soft, #F5E7BE);
	color: var(--ek-navy, #0A1B33);
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 0.93rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease, color 0.2s ease;
}
.ek-help .ek-help-card__cta::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	border-radius: inherit;
}
.ek-help .ek-help-card:hover .ek-help-card__cta,
.ek-help .ek-help-card__cta:focus-visible {
	background: var(--ek-accent, #C9A227);
	color: var(--ek-ink-on-accent, #20180A);
}
.ek-help .ek-help-card__cta:focus-visible {
	outline: 3px solid var(--ek-navy, #0A1B33);
	outline-offset: 3px;
}
.ek-help .ek-help-card__arrow {
	display: inline-block;
	transition: transform 0.2s ease;
}
.ek-help .ek-help-card:hover .ek-help-card__arrow {
	transform: translateX(3px);
}

/* Split tile: image left, text right. */
@media (min-width: 768px) {
	.ek-help .ek-help__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ek-help .ek-help-card:last-child:nth-child(odd) {
		grid-column: 1 / -1;
		flex-direction: row;
	}
	.ek-help .ek-help-card:last-child:nth-child(odd) .ek-help-card__media {
		flex: 0 0 36%;
		aspect-ratio: auto;
		min-height: 230px;
	}
	.ek-help .ek-help-card:last-child:nth-child(odd) .ek-help-card__body {
		justify-content: center;
		padding: 28px 32px;
	}
}
@media (min-width: 1025px) {
	.ek-help .ek-help__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
	.ek-help .ek-help-card,
	.ek-help .ek-help-card:last-child:nth-child(odd) {
		grid-column: span 2;
		flex-direction: column;
	}
	.ek-help .ek-help-card:last-child:nth-child(odd) .ek-help-card__media {
		flex: none;
		aspect-ratio: 16 / 10;
		min-height: 0;
	}
	.ek-help .ek-help-card:nth-child(n+4),
	.ek-help .ek-help-card:nth-child(n+4):last-child:nth-child(odd) {
		grid-column: span 3;
		flex-direction: row;
	}
	.ek-help .ek-help-card:nth-child(n+4) .ek-help-card__media,
	.ek-help .ek-help-card:nth-child(n+4):last-child:nth-child(odd) .ek-help-card__media {
		flex: 0 0 36%;
		aspect-ratio: auto;
		min-height: 230px;
	}
	.ek-help .ek-help-card:nth-child(n+4) .ek-help-card__body {
		justify-content: center;
		padding: 28px 30px;
	}
}
@media (max-width: 767px) {
	.ek-help .ek-help-card__body {
		padding: 20px 20px 22px;
	}
	.ek-help .ek-help-card__title {
		font-size: 1.28rem;
	}
	.ek-help .ek-help-card__cta {
		padding: 12px 20px;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ek-help .ek-help-card,
	.ek-help .ek-help-card::before,
	.ek-help .ek-help-card__media img,
	.ek-help .ek-help-card__arrow {
		transition: none;
	}
	.ek-help .ek-help-card:hover,
	.ek-help .ek-help-card:focus-within,
	.ek-help .ek-help-card:hover .ek-help-card__media img,
	.ek-help .ek-help-card:hover .ek-help-card__arrow {
		transform: none;
	}
}
/* ---------- How it works: connected step journey ----------
   Narrow screens: vertical timeline (rail on the left, line runs down
   between nodes). From 900px: three columns joined by a horizontal line
   that runs from each node to the next step's number. */

.ek-how .ek-steps {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}
.ek-how .ek-step {
	position: relative;
	display: grid;
	grid-template-columns: 36px minmax(0, 1fr);
	column-gap: 18px;
	margin: 0;
	padding-bottom: 34px;
}
.ek-how .ek-step:last-child {
	padding-bottom: 0;
}
.ek-how .ek-step__rail {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
}
.ek-how .ek-step__num {
	padding-top: 3px;
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	color: #9A7A12;
}
.ek-how .ek-step__node {
	flex: none;
	width: 14px;
	height: 14px;
	border-radius: 50%;
	background: var(--ek-accent, #C9A227);
	box-shadow: 0 0 0 4px var(--ek-accent-soft, #F5E7BE);
}
.ek-how .ek-step__rail::after {
	content: "";
	flex: 1;
	width: 2px;
	margin: 4px 0 -34px;
	background: rgba(201, 162, 39, 0.4);
}
.ek-how .ek-step:last-child .ek-step__rail::after {
	display: none;
}
.ek-how .ek-step__icon {
	display: block;
	margin: 0 0 14px;
	font-size: 24px;
	line-height: 1;
	color: var(--ek-navy, #0A1B33);
}
.ek-how .ek-step__title {
	margin: 0 0 8px;
	font-family: var(--ek-font-heading, Fraunces, Georgia, serif);
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--ek-ink, #101A28);
}
.ek-how .ek-step__desc {
	margin: 0;
	max-width: 34rem;
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 1rem;
	line-height: 1.65;
	color: rgba(16, 26, 40, 0.78);
}
.ek-how .ek-how__cta-row {
	margin: 44px 0 0;
}
.ek-how .ek-how__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	padding: 13px 24px;
	border-radius: var(--ek-radius-pill, 100px);
	background: var(--ek-accent, #C9A227);
	color: var(--ek-ink-on-accent, #20180A);
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 0.98rem;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	transition: background-color 0.2s ease;
}
.ek-how .ek-how__cta:hover,
.ek-how .ek-how__cta:focus-visible {
	background: var(--ek-accent-light, #E5C158);
	color: var(--ek-ink-on-accent, #20180A);
}
.ek-how .ek-how__cta:focus-visible {
	outline: 3px solid var(--ek-navy, #0A1B33);
	outline-offset: 3px;
}
.ek-how .ek-how__arrow {
	display: inline-block;
	transition: transform 0.2s ease;
}
.ek-how .ek-how__cta:hover .ek-how__arrow {
	transform: translateX(3px);
}
@media (min-width: 900px) {
	.ek-how .ek-steps {
		grid-template-columns: repeat(3, minmax(0, 1fr));
		column-gap: 48px;
	}
	.ek-how .ek-step {
		display: block;
		padding-bottom: 0;
	}
	.ek-how .ek-step__rail {
		flex-direction: row;
		gap: 12px;
		margin-bottom: 30px;
	}
	.ek-how .ek-step__num {
		padding-top: 0;
	}
	.ek-how .ek-step__rail::after {
		width: auto;
		height: 2px;
		margin: 0 -34px 0 4px;
	}
	.ek-how .ek-step__icon {
		margin-bottom: 18px;
		font-size: 28px;
	}
	.ek-how .ek-step__title {
		font-size: 1.4rem;
	}
	.ek-how .ek-step__desc {
		max-width: 32ch;
	}
}
@media (max-width: 599px) {
	.ek-how .ek-how__cta {
		display: flex;
		width: 100%;
	}
}
@media (prefers-reduced-motion: reduce) {
	.ek-how .ek-how__cta,
	.ek-how .ek-how__arrow {
		transition: none;
	}
	.ek-how .ek-how__cta:hover .ek-how__arrow {
		transform: none;
	}
}

/* ---------- Why ExpatKit: editorial differentiators ----------
   Numbered list separated by hairlines, no enclosing cards. The --dark
   tone is for the navy band; the default suits white or cream. */

.ek-principles {
	list-style: none;
	margin: 0;
	padding: 0;
}
.ek-principles .ek-principle {
	display: grid;
	grid-template-columns: 52px minmax(0, 1fr);
	column-gap: 18px;
	margin: 0;
	padding: 30px 0;
	border-top: 1px solid var(--ek-line, #E7E2D7);
}
.ek-principles .ek-principle:first-child {
	padding-top: 4px;
	border-top: 0;
}
.ek-principles .ek-principle:last-child {
	padding-bottom: 0;
}
.ek-principles .ek-principle__num {
	padding-top: 7px;
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.12em;
	line-height: 1;
	color: #9A7A12;
}
.ek-principles .ek-principle__title {
	margin: 0 0 8px;
	font-family: var(--ek-font-heading, Fraunces, Georgia, serif);
	font-size: 1.45rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--ek-ink, #101A28);
}
.ek-principles .ek-principle__desc {
	margin: 0;
	max-width: 38rem;
	font-family: var(--ek-font-body, Inter, system-ui, sans-serif);
	font-size: 1.02rem;
	line-height: 1.65;
	color: rgba(16, 26, 40, 0.78);
}
.ek-principles--dark .ek-principle {
	border-top-color: rgba(255, 255, 255, 0.14);
}
.ek-principles--dark .ek-principle__num {
	color: var(--ek-accent-light, #E5C158);
}
.ek-principles--dark .ek-principle__title {
	color: #fff;
}
.ek-principles--dark .ek-principle__desc {
	color: rgba(255, 255, 255, 0.8);
}
.ek-why-intro .elementor-heading-title {
	text-wrap: balance;
}
.ek-why-intro .elementor-widget-text-editor p {
	max-width: 30rem;
	margin-bottom: 0;
}
@media (max-width: 767px) {
	.ek-principles .ek-principle {
		grid-template-columns: 36px minmax(0, 1fr);
		column-gap: 14px;
		padding: 24px 0;
	}
	.ek-principles .ek-principle__title {
		font-size: 1.25rem;
	}
}

/* ---------- Practical support: section 3c54dc5 + [ek_practical_services] ---------- */
.ek-support-intro .elementor-heading-title {
	text-wrap: balance;
}
.ek-support-intro .elementor-widget-text-editor p {
	max-width: 30rem;
	margin-bottom: 0;
}
.ek-support-intro .elementor-button:focus-visible {
	outline: 3px solid var(--ek-navy, #0A1B33);
	outline-offset: 3px;
}
.ek-support .ek-support__grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
	background: #fff;
	border: 1px solid var(--ek-line, #E7E2D7);
	border-radius: 26px;
	overflow: hidden;
}
.ek-support .ek-support__item {
	display: flex;
	flex-direction: column;
	gap: 18px;
	margin: 0;
	padding: 30px 30px 32px;
}
.ek-support .ek-support__item:nth-child(odd) {
	border-right: 1px solid var(--ek-line, #E7E2D7);
}
.ek-support .ek-support__item:nth-child(n+3) {
	border-top: 1px solid var(--ek-line, #E7E2D7);
}
.ek-support .ek-support__icon {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 56px;
	height: 56px;
	border-radius: 16px;
	background: #F5E7BE;
	color: var(--ek-navy, #0A1B33);
	font-size: 28px;
	line-height: 1;
}
.ek-support .ek-support__title {
	margin: 0 0 6px;
	font-family: Fraunces, Georgia, serif;
	font-size: 1.3rem;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: -0.01em;
	color: var(--ek-ink, #101A28);
}
.ek-support .ek-support__desc {
	margin: 0;
	font-size: 0.98rem;
	line-height: 1.55;
	color: var(--ek-muted, #5C6B7F);
}
@media (max-width: 767px) {
	.ek-support .ek-support__grid {
		grid-template-columns: minmax(0, 1fr);
	}
	.ek-support .ek-support__item {
		flex-direction: row;
		align-items: flex-start;
		gap: 16px;
		padding: 22px 20px;
	}
	.ek-support .ek-support__item:nth-child(odd) {
		border-right: 0;
	}
	.ek-support .ek-support__item + .ek-support__item {
		border-top: 1px solid var(--ek-line, #E7E2D7);
	}
	.ek-support .ek-support__icon {
		width: 48px;
		height: 48px;
		font-size: 24px;
	}
	.ek-support .ek-support__title {
		font-size: 1.15rem;
	}
}

/* ---------- Lead magnet: section 6569868 + [ek_lead_magnet] ----------
   Card: copy column (white) + product/form column (ivory) + navy task strip.
   Elementor sets widths, padding and flex direction; these rules add the
   visual layer. Form fields and button use the kit WPForms styles. */
.ek-lead {
	background: #fff;
	border: 1px solid var(--ek-line, #E7E2D7);
	border-radius: 26px;
	overflow: hidden;
}
.ek-lead .ek-lead__aside {
	background: var(--ek-cream, #FAF7F1);
	border-left: 1px solid var(--ek-line, #E7E2D7);
}
.ek-lead .ek-lead-details {
	margin: 0;
}
.ek-lead .ek-lead-proof {
	display: flex;
	align-items: center;
	gap: 12px;
	margin: 0 0 24px;
	font-family: Inter, sans-serif;
	font-size: 15px;
	font-weight: 600;
	line-height: 1.4;
	color: var(--ek-navy, #0A1B33);
}
.ek-lead .ek-lead-proof__rule {
	flex: none;
	width: 28px;
	height: 2px;
	background: var(--ek-gold, #C9A227);
}
.ek-lead .ek-lead-benefits {
	display: grid;
	gap: 14px;
	margin: 0 0 32px;
	padding: 0;
	list-style: none;
}
.ek-lead .ek-lead-benefits__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	font-size: 16px;
	line-height: 1.5;
	color: var(--ek-ink, #101A28);
}
.ek-lead .ek-lead-check {
	display: inline-flex;
	flex: none;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	margin-top: 1px;
	border-radius: 50%;
	background: #F5E7BE;
	color: var(--ek-navy, #0A1B33);
}
.ek-lead .ek-lead-phases {
	padding-top: 24px;
	border-top: 1px solid var(--ek-line, #E7E2D7);
}
.ek-lead .ek-lead-phases__label {
	margin: 0 0 16px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--ek-muted, #5C6B7F);
}
.ek-lead .ek-lead-phases__list {
	position: relative;
	display: grid;
	grid-template-columns: repeat(7, minmax(0, 1fr));
	margin: 0;
	padding: 0;
	list-style: none;
}
.ek-lead .ek-lead-phases__list::before {
	content: "";
	position: absolute;
	top: 13px;
	left: calc(100% / 14);
	right: calc(100% / 14);
	height: 2px;
	background: var(--ek-line, #E7E2D7);
}
.ek-lead .ek-lead-phases__item {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
	margin: 0;
	text-align: center;
}
.ek-lead .ek-lead-phases__num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
	border-radius: 50%;
	background: var(--ek-navy, #0A1B33);
	color: #fff;
	font-family: Fraunces, Georgia, serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
}
.ek-lead .ek-lead-phases__item:last-child .ek-lead-phases__num {
	background: var(--ek-gold, #C9A227);
	color: #20180A;
}
.ek-lead .ek-lead-phases__start {
	font-size: 12px;
	line-height: 1.3;
	color: var(--ek-muted, #5C6B7F);
}
.ek-lead .ek-lead-phases__ends {
	display: none;
}
.ek-lead .screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	border: 0;
	white-space: nowrap;
}
.ek-lead .ek-lead-cover {
	position: relative;
	width: min(240px, 100%);
	margin: 0 auto 8px;
}
.ek-lead .ek-lead-cover::before {
	content: "";
	position: absolute;
	inset: 10px -10px -10px 10px;
	background: #fff;
	border: 1px solid var(--ek-line, #E7E2D7);
}
.ek-lead .ek-lead-cover__img {
	position: relative;
	display: block;
	width: 100%;
	height: auto;
	box-shadow: 0 18px 36px -20px rgba(10, 27, 51, 0.55);
}
.ek-lead .wpforms-container {
	margin: 0;
	padding: 0;
}
.ek-lead .wpforms-container .wpforms-field {
	padding-top: 0;
}
.ek-lead .ek-form-microcopy {
	margin: 12px 0 0;
	font-size: 13px;
	line-height: 1.5;
	text-align: center;
	color: var(--ek-muted, #5C6B7F);
}
.ek-lead .wpforms-confirmation-container-full a {
	font-weight: 600;
	color: inherit;
	text-decoration: underline;
}
.ek-lead .ek-lead-tasks {
	padding: 30px 56px 34px;
	background: var(--ek-navy, #0A1B33);
}
.ek-lead .ek-lead-tasks__label {
	margin: 0 0 18px;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: #E5C158;
}
.ek-lead .ek-lead-tasks__list {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}
.ek-lead .ek-lead-tasks__item {
	display: flex;
	align-items: flex-start;
	gap: 12px;
	margin: 0;
	font-size: 14.5px;
	line-height: 1.5;
	color: #E6ECF4;
}
.ek-lead .ek-lead-box {
	flex: none;
	width: 16px;
	height: 16px;
	margin-top: 3px;
	border: 1.5px solid #E5C158;
}
@media (max-width: 1024px) {
	.ek-lead .ek-lead__aside {
		border-top: 1px solid var(--ek-line, #E7E2D7);
		border-left: 0;
	}
	.ek-lead .ek-lead__aside > .elementor-widget-shortcode {
		flex: 0 0 200px;
		width: 200px;
	}
	.ek-lead .ek-lead__aside > .elementor-widget-wpforms {
		flex: 1 1 0;
		min-width: 0;
	}
	.ek-lead .ek-lead-cover {
		margin-bottom: 10px;
	}
	.ek-lead .ek-lead-tasks {
		padding: 28px 40px 32px;
	}
	.ek-lead .ek-lead-tasks__list {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 18px 28px;
	}
}
@media (max-width: 767px) {
	.ek-lead {
		border-radius: 16px;
	}
	.ek-lead .ek-lead__aside > .elementor-widget-shortcode,
	.ek-lead .ek-lead__aside > .elementor-widget-wpforms {
		flex: none;
		width: 100%;
	}
	.ek-lead .ek-lead-cover {
		width: 180px;
	}
	.ek-lead .ek-lead-benefits__item {
		font-size: 15.5px;
	}
	.ek-lead .ek-lead-phases__start {
		display: none;
	}
	.ek-lead .ek-lead-phases__ends {
		display: flex;
		justify-content: space-between;
		gap: 16px;
		margin: 12px 0 0;
		font-size: 12px;
		line-height: 1.3;
		color: var(--ek-muted, #5C6B7F);
	}
	.ek-lead .ek-lead-phases__ends span:last-child {
		text-align: right;
	}
	.ek-lead .ek-lead-tasks {
		padding: 26px 22px 28px;
	}
	.ek-lead .ek-lead-tasks__list {
		grid-template-columns: minmax(0, 1fr);
		gap: 14px;
	}
}
/* Elementor zeroes figure margins inside widgets (.elementor .elementor-widget:not(...) figure); re-center the cover. */
.elementor .ek-lead .ek-lead__aside .elementor-widget-shortcode figure.ek-lead-cover {
	margin: 0 auto 8px;
}
@media (max-width: 1024px) {
	.elementor .ek-lead .ek-lead__aside .elementor-widget-shortcode figure.ek-lead-cover {
		margin: 0 0 10px;
	}
}
@media (max-width: 767px) {
	.elementor .ek-lead .ek-lead__aside .elementor-widget-shortcode figure.ek-lead-cover {
		margin: 0 auto 10px;
	}
}
/* Tablet: keep cover + form as a compact centered pair instead of a full-width input. */
@media (min-width: 768px) and (max-width: 1024px) {
	.ek-lead .ek-lead__aside > .elementor-widget-wpforms {
		flex: 0 1 440px;
		max-width: 440px;
	}
}
/* Phones: 16px input text so iOS Safari doesn't zoom the page when the email field gets focus. */
@media (max-width: 767px) {
	.ek-lead .wpforms-container input[type=email] {
		font-size: 16px;
	}
}
