/* Página inicial Expresso Canadá — jornada e regiões */
body.page-id-299 .wp-block-post-title {
	display: none !important;
}

body.page-id-299 main.wp-block-group,body.page-id-299 .wp-site-blocks main {
	margin-top: 0 !important;
}

.ec-home26 {
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	overflow: hidden;
}

.ec-home26 {
	margin: 0;
	background: #fff;
	color: #1d1d1f;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif;
	font-size: 17px;
	line-height: 1.47;
}

.ec-home26 * {
	box-sizing: border-box;
}

.ec-home26 a {
	text-decoration: none;
}

.ec-h-shell {
	width: min(1180px,calc(100% - 36px));
	margin: auto;
}

.ec-h-eyebrow {
	margin: 0 0 13px;
	color: #0c3282;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: .1em;
	text-transform: uppercase;
}

.ec-h-title {
	margin: 0;
	color: #1d1d1f;
	font-size: clamp(38px,5vw,62px);
	line-height: 1.03;
	letter-spacing: -.048em;
}

.ec-h-lead {
	margin: 20px 0 0;
	color: #6e6e73;
	font-size: clamp(18px,2vw,23px);
	line-height: 1.42;
}

.ec-h-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 13px 22px;
	border-radius: 999px;
	background: #0c3282;
	color: #fff !important;
	font-size: 15px;
	font-weight: 750;
}

.ec-h-button--outline {
	border: 1px solid currentColor;
	background: transparent;
}

.ec-h-hero {
	min-height: 610px;
	padding: 90px 24px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	color: #fff;
	background: radial-gradient(circle at 72% 24%,#4f77cf 0,transparent 32%), radial-gradient(circle at 15% 80%,#c8102e 0,rgba(120,12,36,.68) 18%,transparent 38%), linear-gradient(145deg,#071b45 0%,#111a3c 42%,#0c3282 72%,#164a73 100%);
}

.ec-h-hero h1 {
	margin: 18px 0 22px;
	color: #fff;
	font-size: clamp(44px,6.5vw,78px);
	line-height: 1.02;
	letter-spacing: -.055em;
}

.ec-h-hero p {
	max-width: 760px;
	margin: 0 auto;
	color: rgba(255,255,255,.84);
	font-size: clamp(20px,2.2vw,28px);
	line-height: 1.28;
}

.ec-h-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 14px;
	margin-top: 34px;
}

.ec-h-actions .ec-h-button:first-child {
	background: #fff;
	color: #0c3282 !important;
}

.ec-h-actions .ec-h-button--outline {
	color: #fff !important;
}

.ec-h-moments {
	padding: 42px 0;
	background: #fff;
}

.ec-h-moments-grid {
	display: grid;
	grid-template-columns: minmax(250px,1.35fr) repeat(4,minmax(130px,1fr));
	gap: 26px;
	align-items: center;
}

.ec-h-moment-intro h2 {
	margin: 0 0 8px;
	font-size: 28px;
	line-height: 1.12;
	letter-spacing: -.03em;
}

.ec-h-moment-intro p {
	margin: 0;
	color: #6e6e73;
	font-size: 15px;
}

.ec-h-moment {
	min-height: 92px;
	padding: 14px 8px 10px;
	border-bottom: 3px solid #c8102e;
	text-align: center;
}

.ec-h-moment img {
	display: block;
	width: 30px;
	height: 30px;
	margin: 0 auto 11px;
	object-fit: contain;
}

.ec-h-moment strong {
	display: block;
	color: #1d1d1f;
	font-size: 14px;
}

.ec-h-ee {
	padding: 96px 0;
	background: #f5f5f7;
}

.ec-h-ee-grid {
	display: grid;
	grid-template-columns: minmax(270px,.78fr) minmax(560px,1.52fr);
	gap: 46px;
	align-items: center;
}

.ec-h-ee-copy .ec-h-lead {
	font-size: 20px;
}

.ec-h-ee-copy .ec-h-button {
	margin-top: 28px;
}

.ec-h-ee-visual {
	position: relative;
	min-height: 470px;
	border-radius: 32px;
	overflow: hidden;
	background: #dfe7f2;
}

.ec-h-ee-visual>img {
	display: block;
	width: 100%;
	height: 470px;
	object-fit: cover;
}

.ec-h-ee-preview {
	position: absolute;
	right: 40px;
	bottom: 28px;
	left: 40px;
	padding: 26px 28px 24px;
	border-radius: 26px;
	background: rgba(255,255,255,.97);
	box-shadow: 0 18px 44px rgba(0,0,0,.16);
}

.ec-h-ee-preview h3 {
	margin: 4px 0 18px;
	font-size: 27px;
	line-height: 1.08;
	letter-spacing: -.03em;
}

.ec-h-timeline {
	display: grid;
	grid-template-columns: repeat(6,minmax(86px,1fr));
	min-width: 580px;
}

.ec-h-timeline-wrap {
	overflow-x: auto;
	padding-bottom: 3px;
}

.ec-h-step {
	position: relative;
	padding: 0 6px 14px;
	border-bottom: 2px solid #c9cbd1;
	text-align: center;
}

.ec-h-step:after {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -6px;
	width: 10px;
	height: 10px;
	border-radius: 50%;
	background: #0c3282;
	transform: translateX(-50%);
}

.ec-h-step strong {
	display: block;
	font-size: 13px;
}

.ec-h-step small {
	display: block;
	color: #6e6e73;
	font-size: 11px;
}

.ec-h-transition {
	padding: 32px 18px;
	text-align: center;
	background: #fff;
}

.ec-h-transition p {
	margin: 0;
	color: #0c3282;
	font-size: clamp(24px,3vw,38px);
	font-weight: 750;
	letter-spacing: -.035em;
}

.ec-h-story {
	padding: 68px 0;
	background: #fff;
}

.ec-h-story--tint {
	background: #f5f5f7;
}

.ec-h-story-grid {
	display: grid;
	grid-template-columns: minmax(300px,.82fr) minmax(500px,1.35fr);
	gap: 64px;
	align-items: center;
}

.ec-h-story-copy .ec-h-button {
	margin-top: 26px;
}

.ec-h-story-media {
	overflow: hidden;
	border-radius: 28px;
	background: #e8e8ed;
}

.ec-h-story-media img {
	display: block;
	width: 100%;
	height: 360px;
	object-fit: cover;
}

.ec-h-credit {
	margin: 8px 2px 0;
	color: #777;
	font-size: 11px;
	text-align: right;
}

.ec-h-credit a {
	color: #53535a;
	text-decoration: underline;
}

.ec-h-cities {
	padding: 92px 0;
	background: #fff;
}

.ec-h-cities-note {
	max-width: 800px;
	margin: 8px 0 0;
	color: #7a7a80;
	font-size: 15px;
}

.ec-h-cities-grid {
	display: grid;
	grid-template-columns: repeat(4,minmax(0,1fr));
	gap: 18px;
	margin-top: 42px;
}

.ec-h-city {
	overflow: hidden;
	border: 1px solid #e6e6ea;
	border-radius: 24px;
	background: #fff;
	color: #1d1d1f;
	box-shadow: 0 14px 34px rgba(0,0,0,.055);
	transition: transform .2s ease, box-shadow .2s ease;
}

.ec-h-city:hover {
	transform: translateY(-3px);
	box-shadow: 0 18px 40px rgba(0,0,0,.09);
}

.ec-h-city img {
	display: block;
	width: 100%;
	height: 185px;
	object-fit: cover;
}

.ec-h-city div {
	padding: 20px 22px 22px;
}

.ec-h-city h3 {
	margin: 0 0 4px;
	color: #0c3282;
	font-size: 25px;
	letter-spacing: -.025em;
}

.ec-h-city p {
	margin: 0;
	color: #6e6e73;
	font-size: 15px;
}

.ec-h-cta {
	padding: 110px 24px;
	text-align: center;
	background: #0c3282;
	color: #fff;
}

.ec-h-cta h2 {
	margin: 0 0 18px;
	color: #fff;
	font-size: clamp(40px,5vw,62px);
	line-height: 1.05;
	letter-spacing: -.045em;
}

.ec-h-cta p {
	max-width: 680px;
	margin: 0 auto;
	color: rgba(255,255,255,.82);
	font-size: 21px;
}

.ec-h-cta .ec-h-button {
	margin-top: 30px;
	background: #fff;
	color: #0c3282 !important;
}

@media(max-width:980px) {
	.ec-h-moments-grid {
		grid-template-columns: repeat(2,1fr);
	}
	
	.ec-h-moment-intro {
		grid-column: 1/-1;
	}
	
	.ec-h-ee-grid,.ec-h-story-grid {
		grid-template-columns: 1fr;
	}
	
	.ec-h-ee-copy {
		max-width: 720px;
	}
	
	.ec-h-ee-visual {
		min-height: auto;
	}
	
	.ec-h-cities-grid {
		grid-template-columns: repeat(2,minmax(0,1fr));
	}
}

@media(max-width:640px) {
	.ec-h-shell {
		width: min(100% - 28px,1180px);
	}
	
	.ec-h-hero {
		min-height: 520px;
		padding: 70px 20px;
	}
	
	.ec-h-actions {
		flex-direction: column;
		align-items: stretch;
	}
	
	.ec-h-actions .ec-h-button {
		width: 100%;
	}
	
	.ec-h-moments {
		padding: 34px 0;
	}
	
	.ec-h-moments-grid {
		gap: 16px;
	}
	
	.ec-h-moment {
		min-height: 88px;
	}
	
	.ec-h-ee {
		padding: 68px 0;
	}
	
	.ec-h-ee-grid {
		gap: 28px;
	}
	
	.ec-h-ee-visual {
		overflow: visible;
		background: transparent;
	}
	
	.ec-h-ee-visual>img {
		height: 290px;
		border-radius: 24px;
	}
	
	.ec-h-ee-preview {
		position: relative;
		right: auto;
		bottom: auto;
		left: auto;
		margin: -34px 12px 0;
		padding: 22px 18px;
		border-radius: 22px;
	}
	
	.ec-h-transition {
		padding: 28px 16px;
	}
	
	.ec-h-story {
		padding: 54px 0;
	}
	
	.ec-h-story-grid {
		gap: 28px;
	}
	
	.ec-h-story-media {
		grid-row: 1;
	}
	
	.ec-h-story-media img {
		height: 260px;
	}
	
	.ec-h-cities {
		padding: 64px 0;
	}
	
	.ec-h-cities-grid {
		grid-template-columns: 1fr;
		margin-top: 30px;
	}
	
	.ec-h-city img {
		height: 220px;
	}
}

/* Página local de Barrhaven: usa o título editorial do conteúdo */
.page-id-543 .wp-block-post-title {
	display: none !important;
}

.page-id-543 .wp-block-post-content {
	margin-top: 0 !important;
}

/* Correção de largura da seção Express Entry em telas estreitas */
@media(max-width:980px) {
	.ec-h-ee-grid {
		grid-template-columns: minmax(0,1fr) !important;
	}
	
	.ec-h-ee-copy,.ec-h-ee-visual {
		min-width: 0 !important;
		width: 100% !important;
	}
}

@media(max-width:640px) {
	.ec-h-ee-preview {
		min-width: 0 !important;
		width: auto !important;
		max-width: calc(100% - 24px) !important;
	}
	
	.ec-h-timeline-wrap {
		width: 100% !important;
		max-width: 100% !important;
		overflow-x: auto !important;
	}
}

@media(max-width:640px) {
	.ec-h-timeline {
		min-width: 0 !important;
		width: 100% !important;
		grid-template-columns: repeat(3,minmax(0,1fr)) !important;
	}
}

/* Perfis úteis: usa o título editorial do conteúdo */
.page-id-566 .wp-block-post-title {
	display: none !important;
}

.page-id-566 .wp-block-post-content {
	margin-top: 0 !important;
}