/*
Theme Name: Emaurri Child
Theme URI: https://emaurri.qodeinteractive.com
Description: A child theme of Emaurri
Author: Mikado Themes
Author URI: https://qodeinteractive.com
Version: 1.0.1
Text Domain: emaurri
Template: emaurri
*/

/* =============================================
   ECEC BRAND IDENTITY
   Brand colors, typography, and visual overrides
   ============================================= */

:root {
	--ecec-white: #ffffff;
	--ecec-platinum: #e7e8ea;
	--ecec-isabelline: #ece6e6;
	--ecec-silver-sand: #bbcdd1;
	--ecec-slate-gray: #687a84;
	--ecec-raisin-black: #231f20;
}

/* ─── Typography: Body ─── */

body {
	font-family: 'Argentum Sans', sans-serif !important;
	color: var(--ecec-raisin-black);
}

p,
li,
td,
th,
address,
.qodef-e-text,
.qodef-e-excerpt {
	color: var(--ecec-raisin-black);
}

/* ─── Typography: Headings ─── */

h1, .qodef-h1,
h2, .qodef-h2,
h3, .qodef-h3,
h4, .qodef-h4,
h5, .qodef-h5,
h6, .qodef-h6,
.wp-block-quote,
blockquote {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	color: var(--ecec-raisin-black);
}

/* ─── Typography: UI elements (replaces Montserrat) ─── */

.qodef-theme-button,
button[type=submit],
input[type=submit],
.wp-block-button .wp-block-button__link,
.qodef-header-navigation > ul > li > a,
.qodef-mobile-header-navigation > ul > li > a,
.qodef-m-filter .qodef-m-filter-item,
.qodef-blog .qodef-blog-item .qodef-e-info.qodef-info--top,
.qodef-blog .qodef-blog-item.format-quote .qodef-e-quote-author,
#qodef-page-comments-list .qodef-comment-item .qodef-e-date a,
#qodef-page-comments-list .qodef-comment-item .qodef-e-links > *,
.qodef-copy-text {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
}

/* ─── Typography: Inputs ─── */

input[type=date],
input[type=email],
input[type=number],
input[type=password],
input[type=search],
input[type=tel],
input[type=text],
input[type=url],
textarea,
select {
	font-family: 'Argentum Sans', sans-serif !important;
	color: var(--ecec-slate-gray);
	border-color: var(--ecec-silver-sand);
}

input:focus,
textarea:focus,
select:focus {
	border-color: var(--ecec-slate-gray);
}

/* ─── Colors: Links ─── */

a {
	color: var(--ecec-raisin-black);
}

a:hover {
	color: var(--ecec-slate-gray);
}

/* ─── Colors: Buttons ─── */

.qodef-theme-button,
button[type=submit],
input[type=submit] {
	color: var(--ecec-raisin-black);
	border-color: var(--ecec-slate-gray);
}

.qodef-theme-button:hover,
button[type=submit]:hover,
input[type=submit]:hover {
	color: var(--ecec-white);
	background-color: var(--ecec-raisin-black);
	border-color: var(--ecec-raisin-black);
}

.wp-block-button .wp-block-button__link {
	color: var(--ecec-white);
	background-color: var(--ecec-raisin-black);
}

.wp-block-button .wp-block-button__link:hover {
	background-color: var(--ecec-slate-gray);
}

/* ─── Colors: Navigation ─── */

.qodef-header-navigation > ul > li > a {
	color: var(--ecec-raisin-black);
}

.qodef-header-navigation > ul > li > a:hover,
.qodef-header-navigation > ul > li.current-menu-item > a {
	color: var(--ecec-slate-gray);
}

.qodef-mobile-header-navigation > ul > li > a {
	color: var(--ecec-raisin-black);
}

/* ─── Colors: Secondary text & meta ─── */

.qodef-blog .qodef-blog-item .qodef-e-info.qodef-info--top,
.qodef-blog .qodef-blog-item.format-quote .qodef-e-quote-author,
#qodef-page-comments-list .qodef-comment-item .qodef-e-date a,
.qodef-copy-text {
	color: var(--ecec-slate-gray);
}

/* ─── Colors: Widget titles ─── */

.widget .qodef-widget-title,
.widget h5 {
	color: var(--ecec-raisin-black);
}

/* =============================================
   FOOTER - Dark brand footer
   ============================================= */

#qodef-page-footer-top-area {
	background-color: var(--ecec-silver-sand);
	padding: 0;
}

/* Theme's INNER wrapper has the real padding (130px 0 113px) — override */
#qodef-page-footer-top-area #qodef-page-footer-top-area-inner {
	padding: 22px 0 18px;
}

#qodef-page-footer-top-area .qodef-grid-inner {
	gap: 20px;
}

/* Zero out theme widget vertical margins in the footer */
#qodef-page-footer .widget,
#qodef-page-footer-top-area .widget:last-child {
	padding: 0 15px;
	margin: 0 !important;
}
#qodef-page-footer-top-area .qodef-grid-item {
	padding-top: 0;
	padding-bottom: 0;
	margin: 0;
}

/* Brand link hover (inline styles handle base color) */
#qodef-page-footer-top-area a:hover {
	color: var(--ecec-white);
}

#qodef-page-footer-top-area,
#qodef-page-footer-top-area p,
#qodef-page-footer-top-area li,
#qodef-page-footer-top-area address,
#qodef-page-footer-top-area .qodef-e-text,
#qodef-page-footer-top-area .widget {
	color: var(--ecec-platinum);
}

#qodef-page-footer-top-area .qodef-widget-title,
#qodef-page-footer-top-area h1,
#qodef-page-footer-top-area h2,
#qodef-page-footer-top-area h3,
#qodef-page-footer-top-area h4,
#qodef-page-footer-top-area h5,
#qodef-page-footer-top-area h6 {
	color: var(--ecec-white);
}

#qodef-page-footer-top-area a {
	color: var(--ecec-silver-sand);
	transition: color 0.2s ease;
}

#qodef-page-footer-top-area a:hover {
	color: var(--ecec-white);
}

/* Invert logo in footer so it appears white on dark */
#qodef-page-footer-top-area img[class*="logo"],
#qodef-page-footer-top-area .widget_media_image img,
#qodef-page-footer-top-area .wp-block-image img {
	filter: brightness(0) invert(1);
}

#qodef-page-footer-bottom-area {
	background-color: #1a1a1b;
	padding: 25px 0;
	border-top: 1px solid rgba(255, 255, 255, 0.1);
}

#qodef-page-footer-bottom-area,
#qodef-page-footer-bottom-area p,
#qodef-page-footer-bottom-area .qodef-copy-text,
#qodef-page-footer-bottom-area a {
	color: var(--ecec-slate-gray);
}

#qodef-page-footer-bottom-area a:hover {
	color: var(--ecec-white);
}

#qodef-page-footer .widget {
	padding: 0 15px;
}

/* =============================================
   PEOPLE PAGE - Team Grid
   ============================================= */

.ecec-team-grid {
	display: grid;
	gap: 50px 36px;
	max-width: 1280px;
	margin: 0 auto;
	padding: 20px 0;
}
.ecec-team-columns-1 { grid-template-columns: 1fr; }
.ecec-team-columns-2 { grid-template-columns: repeat(2, 1fr); }
.ecec-team-columns-3 { grid-template-columns: repeat(3, 1fr); }
.ecec-team-columns-4 { grid-template-columns: repeat(4, 1fr); }

.ecec-team-card {
	text-align: center;
	padding: 0;
}

.ecec-team-photo {
	display: block;
	width: 100%;
	max-width: 400px;
	aspect-ratio: 1 / 1;
	margin: 0 auto 22px;
	border-radius: 12px;
	overflow: hidden;
	background: var(--ecec-platinum);
}
.ecec-team-photo img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ecec-team-photo-placeholder {
	width: 100%;
	height: 100%;
	background: linear-gradient(135deg, var(--ecec-platinum), var(--ecec-silver-sand));
}

.ecec-team-card .ecec-team-name {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 20px;
	font-weight: 600;
	color: var(--ecec-raisin-black);
	margin: 0 0 6px;
	line-height: 1.3;
}
.ecec-team-card .ecec-team-role {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--ecec-slate-gray);
	margin: 0 0 4px;
}
.ecec-team-card .ecec-team-location {
	font-size: 13px;
	color: var(--ecec-slate-gray);
	margin: 0;
	line-height: 1.4;
}

.ecec-team-empty {
	text-align: center;
	color: var(--ecec-slate-gray);
	padding: 40px 0;
}

/* Placeholder team-member cards (rendered when [ecec_team_grid min="N"]
   needs more cards than there are real members). Visual nag for the client
   to upload more team profiles. Same gray-dashed pattern as project image
   placeholders for site-wide consistency. */
.ecec-team-photo-placeholder--ghost {
	background: var(--ecec-platinum);
	display: flex;
	align-items: center;
	justify-content: center;
	color: var(--ecec-silver-sand);
}
.ecec-team-photo-placeholder__icon {
	width: 28%;
	height: auto;
	max-width: 90px;
	opacity: 0.9;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
	.ecec-team-columns-3,
	.ecec-team-columns-4 { grid-template-columns: repeat(2, 1fr); }
	.ecec-team-photo { max-width: 320px; }
}
@media only screen and (max-width: 600px) {
	.ecec-team-columns-2,
	.ecec-team-columns-3,
	.ecec-team-columns-4 { grid-template-columns: 1fr; }
	.ecec-team-photo { max-width: 280px; }
}

/* =============================================
   PROJECTS PAGE - Hero / Tabs (anchor scroll)
   ============================================= */

html { scroll-behavior: smooth; }

/* When an anchor jumps to #featured-projects or #recent-projects, offset under
   the sticky header. */
#featured-projects,
#recent-projects {
	scroll-margin-top: 120px;
}

/* Tabs strip (FEATURED | RECENT PROJECTS) */
.ecec-projects-tabs {
	display: flex;
	gap: 40px;
	justify-content: flex-end;
	align-items: center;
	padding: 18px 0;
	border-bottom: 1px solid var(--ecec-platinum);
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.2em;
	text-transform: uppercase;
}
.ecec-projects-tabs a {
	color: var(--ecec-slate-gray);
	text-decoration: none;
	position: relative;
	padding-bottom: 4px;
	transition: color 0.2s ease;
}
.ecec-projects-tabs a:hover,
.ecec-projects-tabs a.is-active {
	color: var(--ecec-raisin-black);
}
.ecec-projects-tabs a.is-active::after {
	content: "";
	position: absolute;
	left: 0; right: 0;
	bottom: -19px;
	height: 2px;
	background: var(--ecec-raisin-black);
}

/* =============================================
   PROJECTS PAGE - Featured Projects section
   ============================================= */

.ecec-featured-grid {
	display: grid;
	gap: 40px;
	margin: 40px 0 80px;
}
.ecec-featured-cols-1 { grid-template-columns: 1fr; }
.ecec-featured-cols-2 { grid-template-columns: repeat(2, 1fr); }
.ecec-featured-cols-3 { grid-template-columns: repeat(3, 1fr); }

.ecec-featured-card {
	display: flex;
	flex-direction: column;
	background: transparent;
}
.ecec-featured-media {
	display: block;
	overflow: hidden;
	border-radius: 4px;
	background: var(--ecec-platinum);
	aspect-ratio: 16 / 10;
}
.ecec-featured-media img.ecec-featured-img,
.ecec-featured-media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}
.ecec-featured-media:hover img { transform: scale(1.04); }

.ecec-featured-body {
	padding: 22px 0 0;
}
.ecec-featured-title {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 24px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0 0 6px;
}
.ecec-featured-title a {
	color: var(--ecec-raisin-black);
	text-decoration: none;
}
.ecec-featured-title a:hover { color: var(--ecec-slate-gray); }
.ecec-featured-meta {
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ecec-slate-gray);
	margin: 0 0 12px;
}
.ecec-featured-link {
	display: inline-block;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 13px;
	font-weight: 600;
	color: var(--ecec-raisin-black);
	text-decoration: none;
	padding-bottom: 2px;
	border-bottom: 1px solid var(--ecec-raisin-black);
	transition: color 0.2s ease, border-color 0.2s ease;
}
.ecec-featured-link:hover {
	color: var(--ecec-slate-gray);
	border-bottom-color: var(--ecec-slate-gray);
}

.ecec-featured-empty {
	text-align: center;
	color: var(--ecec-slate-gray);
	padding: 40px 0;
}

/* ─── Featured badge — auto-applied to any card with .ecec-featured class ─── */
/* Works on BOTH the Featured grid AND the Recent grid (theme card).
   The parent article has position set (or we set it), and the badge is an
   ::before pseudo on the media container. */

.qodef-portfolio-list .qodef-grid-item.ecec-featured,
.ecec-featured-card.ecec-featured {
	position: relative;
}

/* Star badge on the image */
.qodef-portfolio-list .qodef-grid-item.ecec-featured .qodef-e-image,
.ecec-featured-card .ecec-featured-media {
	position: relative;
}

.qodef-portfolio-list .qodef-grid-item.ecec-featured .qodef-e-image::before,
.ecec-featured-card .ecec-featured-media::before {
	content: "★ FEATURED";
	position: absolute;
	top: 14px;
	left: 14px;
	z-index: 2;
	padding: 5px 10px 5px 8px;
	background: var(--ecec-raisin-black);
	color: var(--ecec-white);
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 10px;
	font-weight: 600;
	letter-spacing: 0.15em;
	border-radius: 3px;
	pointer-events: none;
}

/* Don't double up the badge inside the Featured section (all are featured) —
   hide only inside the featured grid. */
.ecec-featured-grid .ecec-featured-media::before {
	display: none;
}

/* Responsive */
@media only screen and (max-width: 1024px) {
	.ecec-featured-cols-2,
	.ecec-featured-cols-3 { grid-template-columns: 1fr; }
	.ecec-featured-title { font-size: 20px; }
	.ecec-projects-tabs { gap: 24px; }
}

/* =============================================
   PROJECTS PAGE - Search / Type / Location bar
   ============================================= */

.ecec-project-search {
	display: flex;
	gap: 20px;
	align-items: stretch;
	padding: 10px 0 0;
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.ecec-project-search .ecec-ps-field {
	flex: 1 1 0;
	min-width: 0;
}
.ecec-project-search .ecec-ps-field--search { flex: 2 1 0; }

.ecec-project-search .ecec-ps-input,
.ecec-project-search .ecec-ps-select {
	width: 100%;
	height: 56px;
	padding: 0 18px;
	background: var(--ecec-white);
	border: 1px solid var(--ecec-silver-sand);
	border-radius: 6px;
	font-family: 'Argentum Sans', sans-serif !important;
	font-size: 15px;
	color: var(--ecec-raisin-black);
	box-sizing: border-box;
	appearance: none;
	-webkit-appearance: none;
	transition: border-color 0.2s ease;
}
.ecec-project-search .ecec-ps-input:focus,
.ecec-project-search .ecec-ps-select:focus {
	outline: none;
	border-color: var(--ecec-slate-gray);
}
.ecec-project-search .ecec-ps-input::placeholder {
	color: var(--ecec-slate-gray);
	opacity: 0.75;
}

.ecec-project-search .ecec-ps-select {
	padding-right: 42px;
	background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'><path fill='none' stroke='%23687a84' stroke-width='1.5' d='M1 1l5 5 5-5'/></svg>");
	background-repeat: no-repeat;
	background-position: right 16px center;
	cursor: pointer;
}

.ecec-project-search .ecec-ps-button {
	flex: 0 0 auto;
	min-width: 160px;
	height: 56px;
	padding: 0 36px;
	background: var(--ecec-raisin-black);
	color: var(--ecec-white) !important;
	border: 1px solid var(--ecec-raisin-black);
	border-radius: 6px;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.2em;
	cursor: pointer;
	transition: background 0.2s ease, color 0.2s ease;
}
.ecec-project-search .ecec-ps-button:hover {
	background: var(--ecec-slate-gray);
	border-color: var(--ecec-slate-gray);
}

/* Responsive */
@media only screen and (max-width: 1024px) {
	.ecec-project-search {
		flex-wrap: wrap;
		gap: 12px;
	}
	.ecec-project-search .ecec-ps-field--search {
		flex: 1 1 100%;
	}
	.ecec-project-search .ecec-ps-field--select {
		flex: 1 1 calc(50% - 6px);
	}
	.ecec-project-search .ecec-ps-button {
		flex: 1 1 100%;
	}
}

/* =============================================
   PROJECTS PAGE - Year Timeline Filter
   ============================================= */

.ecec-year-timeline {
	display: flex;
	align-items: center;
	gap: 30px;
	padding: 30px 0 20px;
	margin-bottom: 40px;
	border-bottom: 1px solid var(--ecec-platinum);
	font-family: 'Plus Jakarta Sans', sans-serif;
}

.ecec-year-all {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	padding: 10px 16px;
	background: transparent;
	border: 1px solid var(--ecec-silver-sand);
	border-radius: 4px;
	cursor: pointer;
	transition: all 0.25s ease;
	font-family: inherit;
}
.ecec-year-all:hover,
.ecec-year-all.qodef--active {
	background: var(--ecec-raisin-black);
	border-color: var(--ecec-raisin-black);
}
.ecec-year-all .ecec-year-all-label {
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 0.15em;
	text-transform: uppercase;
	color: var(--ecec-raisin-black);
	line-height: 1.2;
}
.ecec-year-all .ecec-year-all-count {
	font-size: 10px;
	color: var(--ecec-slate-gray);
	margin-top: 2px;
}
.ecec-year-all:hover .ecec-year-all-label,
.ecec-year-all.qodef--active .ecec-year-all-label,
.ecec-year-all:hover .ecec-year-all-count,
.ecec-year-all.qodef--active .ecec-year-all-count {
	color: var(--ecec-white);
}

.ecec-year-track {
	flex: 1;
	position: relative;
	min-width: 0;
}
.ecec-year-line {
	position: absolute;
	left: 0;
	right: 0;
	top: 28px;
	height: 2px;
	background: var(--ecec-silver-sand);
	z-index: 0;
}
.ecec-year-nodes {
	list-style: none;
	margin: 0;
	padding: 0;
	display: flex;
	justify-content: space-between;
	align-items: flex-start;
	position: relative;
	z-index: 1;
}
.ecec-year-nodes li {
	flex: 0 0 auto;
}

.ecec-year-node {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 6px;
	padding: 4px 8px;
	background: transparent;
	border: none;
	cursor: pointer;
	font-family: inherit;
	transition: transform 0.25s ease;
}
.ecec-year-node:hover {
	transform: translateY(-2px);
}

.ecec-year-dot {
	display: block;
	border-radius: 50%;
	background: var(--ecec-white);
	border: 2px solid var(--ecec-slate-gray);
	transition: all 0.25s ease;
	box-shadow: 0 0 0 4px var(--ecec-white);
}
.ecec-year-node:hover .ecec-year-dot,
.ecec-year-node.qodef--active .ecec-year-dot {
	background: var(--ecec-raisin-black);
	border-color: var(--ecec-raisin-black);
}

.ecec-year-label {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.1em;
	color: var(--ecec-slate-gray);
	line-height: 1.2;
	transition: color 0.25s ease;
}
.ecec-year-node:hover .ecec-year-label,
.ecec-year-node.qodef--active .ecec-year-label {
	color: var(--ecec-raisin-black);
}
.ecec-year-count {
	font-size: 10px;
	color: var(--ecec-slate-gray);
	opacity: 0.7;
}

/* Responsive: tablets and below */
@media only screen and (max-width: 1024px) {
	.ecec-year-timeline {
		flex-direction: column;
		align-items: stretch;
		gap: 20px;
	}
	.ecec-year-track {
		overflow-x: auto;
		padding-bottom: 5px;
	}
	.ecec-year-nodes {
		gap: 20px;
		justify-content: flex-start;
		min-width: max-content;
	}
}

/* =============================================
   PROJECTS PAGE - Left sidebar filter
   ============================================= */

/* Allow sticky positioning on Projects page (override theme overflow:hidden) */
.elementor-page-122 #qodef-page-wrapper {
	overflow: visible;
}
.elementor-page-122 #qodef-page-outer,
.elementor-page-122 #qodef-page-inner,
.elementor-page-122 .elementor,
.elementor-page-122 .elementor-element {
	overflow: visible;
}

/* Main container becomes a flex row */
.qodef-portfolio-list.qodef-filter--on {
	display: flex !important;
	flex-wrap: wrap;
	gap: 0;
}

/* Filter becomes a vertical left sidebar */
.qodef-portfolio-list.qodef-filter--on > .qodef-m-filter {
	width: 220px;
	flex-shrink: 0;
	margin: 0;
	padding-right: 40px;
	border-right: 1px solid var(--ecec-platinum);
	position: sticky;
	top: 100px;
	align-self: flex-start;
}

/* Filter items stack vertically */
.qodef-portfolio-list.qodef-filter--on .qodef-m-filter-items {
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;
}

/* Individual filter item styling */
.qodef-portfolio-list.qodef-filter--on .qodef-m-filter-item {
	display: block;
	width: 100%;
	margin: 0;
	padding: 12px 0 12px 18px;
	font-size: 13px;
	font-weight: 500;
	letter-spacing: 0.15em;
	color: var(--ecec-slate-gray);
	text-transform: uppercase;
	border-left: 3px solid transparent;
	transition: all 0.3s ease;
}

/* Remove the pipe separator */
.qodef-portfolio-list.qodef-filter--on .qodef-m-filter-item:after {
	content: none !important;
}

/* Active & hover state */
.qodef-portfolio-list.qodef-filter--on .qodef-m-filter-item:hover,
.qodef-portfolio-list.qodef-filter--on .qodef-m-filter-item.qodef--active {
	color: var(--ecec-raisin-black);
	border-left-color: var(--ecec-raisin-black);
	background-color: rgba(104, 122, 132, 0.05);
}

/* Grid takes remaining width AND becomes a flex container so hidden items
   (display:none) reflow cleanly instead of leaving gaps from theme floats. */
.qodef-portfolio-list.qodef-filter--on > .qodef-grid-inner {
	flex: 1;
	min-width: 0;
	padding-left: 40px;
	display: flex;
	flex-wrap: wrap;
}

/* Kill the theme's float + clear rules for items inside the filtered grid,
   so the flex reflow actually works left-to-right. */
.qodef-portfolio-list.qodef-filter--on > .qodef-grid-inner > .qodef-grid-item {
	float: none !important;
	clear: none !important;
}

/* ---- Responsive: tablet and below ---- */
@media only screen and (max-width: 1024px) {
	.qodef-portfolio-list.qodef-filter--on {
		flex-direction: column;
	}

	.qodef-portfolio-list.qodef-filter--on > .qodef-m-filter {
		width: 100%;
		position: static;
		border-right: none;
		border-bottom: 1px solid var(--ecec-platinum);
		padding-right: 0;
		padding-bottom: 10px;
		margin-bottom: 30px;
	}

	.qodef-portfolio-list.qodef-filter--on .qodef-m-filter-items {
		flex-direction: row;
		flex-wrap: wrap;
		gap: 5px;
	}

	.qodef-portfolio-list.qodef-filter--on .qodef-m-filter-item {
		width: auto;
		padding: 8px 16px;
		border-left: none;
		border-radius: 4px;
		font-size: 11px;
		background-color: var(--ecec-platinum);
	}

	.qodef-portfolio-list.qodef-filter--on .qodef-m-filter-item:hover,
	.qodef-portfolio-list.qodef-filter--on .qodef-m-filter-item.qodef--active {
		background-color: var(--ecec-raisin-black);
		color: var(--ecec-white);
		border-left-color: transparent;
	}

	.qodef-portfolio-list.qodef-filter--on > .qodef-grid-inner {
		padding-left: 0;
	}
}

/* ============================================================
   Single-Project Page (block system)
   ============================================================ */

.ecec-single-project {
	color: var(--ecec-raisin-black);
	background: var(--ecec-white);
}

/* Silver Sand breadcrumb bar — single-project pages only */
.single-portfolio-item .qodef-page-title {
	background-color: var(--ecec-silver-sand);
}

/* ============================================================
   Sticky header (site-wide) — solid bg so menu is always visible
   Uses position:fixed because theme's #qodef-page-wrapper has
   overflow:hidden which breaks position:sticky on descendants.
   ============================================================ */
#qodef-page-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 100;
	background-color: var(--ecec-white);
	box-shadow: 0 1px 6px rgba(35, 31, 32, 0.06);
}
#qodef-page-mobile-header {
	position: fixed !important;
	top: 0;
	left: 0;
	right: 0;
	width: 100%;
	z-index: 100;
	background-color: var(--ecec-white);
}

/* Push page content below the fixed header so nothing hides underneath */
body:not(.qodef-mobile-header--enabled) #qodef-page-wrapper {
	padding-top: 100px;
}
.qodef-mobile-header--enabled #qodef-page-wrapper {
	padding-top: 70px;
}
@media (max-width: 1024px) {
	#qodef-page-wrapper { padding-top: 70px; }
}

/* Menu text always dark for contrast on white */
#qodef-page-header .qodef-header-navigation > ul > li > a,
#qodef-page-header .qodef-header-navigation > ul > li > a .qodef-menu-item-text {
	color: var(--ecec-raisin-black);
}
#qodef-page-header .qodef-header-navigation > ul > li > a:hover,
#qodef-page-header .qodef-header-navigation > ul > li.current-menu-item > a,
#qodef-page-header .qodef-header-navigation > ul > li.current-menu-ancestor > a {
	color: var(--ecec-slate-gray);
}

/* Header widget icons (search, etc.) also dark */
#qodef-page-header .qodef-widget-holder a,
#qodef-page-header .qodef-widget-holder svg {
	color: var(--ecec-raisin-black);
	fill: var(--ecec-raisin-black);
}

/* ----- Hero ----- */
.ecec-sp-hero {
	position: relative;
	min-height: 60vh;
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background: var(--ecec-raisin-black);
}
.ecec-sp-hero__image {
	position: absolute;
	inset: 0;
	z-index: 1;
}
.ecec-sp-hero__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.ecec-sp-hero__overlay {
	position: absolute;
	inset: 0;
	z-index: 2;
	background: linear-gradient(180deg, rgba(35,31,32,0.1) 0%, rgba(35,31,32,0.75) 100%);
}
.ecec-sp-hero__inner {
	position: relative;
	z-index: 3;
	width: 100%;
	max-width: 1280px;
	margin: 0 auto;
	padding: 120px 40px 80px;
	color: var(--ecec-white);
}
.ecec-sp-hero__overline {
	font-size: 13px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ecec-silver-sand);
	margin-bottom: 18px;
}
.ecec-sp-hero__title {
	font-size: clamp(36px, 5.5vw, 72px);
	line-height: 1.05;
	font-weight: 600;
	letter-spacing: 0.015em;
	margin: 0 0 18px;
	color: var(--ecec-white);
	max-width: 20ch;
}
.ecec-sp-hero__location {
	font-size: 16px;
	color: var(--ecec-platinum);
	letter-spacing: 0.02em;
}

/* ----- Body layout ----- */
.ecec-sp-body {
	max-width: 1280px;
	margin: 0 auto;
	padding: 80px 40px;
	display: grid;
	grid-template-columns: minmax(0, 1fr) 280px;
	gap: 80px;
	align-items: start;
}
.ecec-sp-body__blocks {
	min-width: 0;
}
.ecec-sp-body__blocks > .ecec-block + .ecec-block {
	margin-top: 72px;
}
.ecec-sp-body__info {
	position: sticky;
	top: 120px;
}

/* ----- Info sidebar ----- */
.ecec-sp-info {
	padding: 24px 0 24px 32px;
	border-left: 1px solid var(--ecec-silver-sand);
}
.ecec-sp-info__overline {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ecec-slate-gray);
	margin-bottom: 20px;
}
.ecec-sp-info__row + .ecec-sp-info__row {
	margin-top: 18px;
}
.ecec-sp-info__label {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ecec-slate-gray);
	margin-bottom: 4px;
}
.ecec-sp-info__value {
	font-size: 15px;
	color: var(--ecec-raisin-black);
	line-height: 1.5;
}
.ecec-sp-info__value a {
	color: inherit;
	text-decoration: underline;
	text-decoration-color: var(--ecec-silver-sand);
	text-underline-offset: 3px;
}

/* ----- Blocks: shared ----- */
.ecec-block {
	max-width: 920px;
	margin-left: auto;
	margin-right: auto;
}

/* ----- text-paragraph ----- */
.ecec-block-text-paragraph__inner {
	font-size: 17px;
	line-height: 1.75;
	color: var(--ecec-raisin-black);
	text-align: justify;
	hyphens: manual;
	-webkit-hyphens: manual;
	word-break: normal;
	overflow-wrap: normal;
}
.ecec-block-text-paragraph__inner p {
	text-align: justify;
	hyphens: manual;
	-webkit-hyphens: manual;
}
.ecec-block-text-paragraph__inner p + p {
	margin-top: 1em;
}

/* ----- full-image ----- */
.ecec-block-full-image {
	max-width: 1200px;
	margin: 0 auto;
}
.ecec-block-full-image__img {
	width: 100%;
	height: auto;
	aspect-ratio: 3 / 1;
	object-fit: cover;
	display: block;
}
.ecec-block-full-image__caption {
	margin-top: 16px;
	font-size: 13px;
	color: var(--ecec-slate-gray);
	letter-spacing: 0.04em;
	text-align: center;
}

/* ----- image-pair ----- */
.ecec-block-image-pair {
	max-width: 1200px;
}
.ecec-block-image-pair__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	align-items: start;
}
.ecec-block-image-pair__cell {
	margin: 0;
}
.ecec-block-image-pair__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
	display: block;
}
.ecec-block-image-pair__caption {
	margin-top: 12px;
	font-size: 13px;
	color: var(--ecec-slate-gray);
	letter-spacing: 0.04em;
}

/* ----- image-text-split ----- */
.ecec-block-split {
	max-width: 1200px;
}
.ecec-block-split__grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 64px;
	align-items: center;
}
.ecec-block-split--image-right .ecec-block-split__grid {
	grid-template-areas: "text media";
}
.ecec-block-split--image-right .ecec-block-split__media { grid-area: media; }
.ecec-block-split--image-right .ecec-block-split__text  { grid-area: text;  }
.ecec-block-split__img {
	width: 100%;
	height: auto;
	display: block;
}
.ecec-block-split__overline {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ecec-slate-gray);
	margin-bottom: 16px;
}
.ecec-block-split__heading {
	font-size: clamp(26px, 3vw, 40px);
	line-height: 1.2;
	font-weight: 600;
	letter-spacing: 0.03em;
	color: var(--ecec-raisin-black);
	margin: 0 0 20px;
}
.ecec-block-split__body {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ecec-raisin-black);
	text-align: justify;
	hyphens: manual;
	-webkit-hyphens: manual;
	word-break: normal;
	overflow-wrap: normal;
}
.ecec-block-split__body p {
	text-align: justify;
	hyphens: manual;
	-webkit-hyphens: manual;
}
.ecec-block-split__body p + p { margin-top: 1em; }

/* ----- project-data ----- */
.ecec-block-project-data {
	padding: 48px 0;
	border-top: 1px solid var(--ecec-silver-sand);
	border-bottom: 1px solid var(--ecec-silver-sand);
}
.ecec-block-project-data__overline {
	font-size: 12px;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	color: var(--ecec-slate-gray);
	margin-bottom: 12px;
}
.ecec-block-project-data__heading {
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 600;
	letter-spacing: 0.03em;
	margin: 0 0 28px;
}
.ecec-block-project-data__list {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 24px 40px;
	margin: 0;
}
.ecec-block-project-data__row {
	border-top: 1px solid var(--ecec-platinum);
	padding-top: 14px;
}
.ecec-block-project-data__label {
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ecec-slate-gray);
	margin-bottom: 4px;
}
.ecec-block-project-data__value {
	font-size: 17px;
	color: var(--ecec-raisin-black);
	font-weight: 500;
	margin: 0;
}

/* ----- pull-quote ----- */
.ecec-block-pull-quote {
	max-width: 800px;
	padding: 16px 0 16px 32px;
	border-left: 3px solid var(--ecec-slate-gray);
	margin: 0 auto;
}
.ecec-block-pull-quote__text {
	font-size: clamp(20px, 2.2vw, 28px);
	line-height: 1.4;
	font-style: italic;
	color: var(--ecec-raisin-black);
	margin: 0 0 12px;
}
.ecec-block-pull-quote__attribution {
	font-style: normal;
	font-size: 13px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ecec-slate-gray);
}

/* ----- gallery ----- */
.ecec-block-gallery {
	max-width: 1200px;
}
.ecec-block-gallery__grid {
	display: grid;
	gap: 16px;
}
.ecec-block-gallery--cols-3 .ecec-block-gallery__grid { grid-template-columns: repeat(3, 1fr); }
.ecec-block-gallery--cols-2 .ecec-block-gallery__grid { grid-template-columns: repeat(2, 1fr); }
.ecec-block-gallery--legacy .ecec-block-gallery__grid { grid-template-columns: repeat(3, 1fr); }
.ecec-block-gallery__item { margin: 0; }
.ecec-block-gallery__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	aspect-ratio: 4 / 3;
	display: block;
}

/* ----- Empty image placeholders -----
   Rendered by image partials when image_id is 0/missing.
   Visual nag for the client to upload real photos via admin. */
.ecec-block-placeholder {
	background: var(--ecec-platinum);
	border: 2px dashed var(--ecec-silver-sand);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--ecec-slate-gray);
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	text-align: center;
	padding: 24px;
	width: 100%;
}
.ecec-block-placeholder__size {
	font-size: clamp(20px, 2.4vw, 32px);
	font-weight: 600;
	letter-spacing: 0.06em;
	margin: 0;
	color: var(--ecec-slate-gray);
	font-feature-settings: "tnum" 1;
}
.ecec-block-placeholder__hint {
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	margin: 8px 0 0;
	opacity: 0.75;
}
.ecec-block-placeholder--full-image { aspect-ratio: 3 / 1; }
.ecec-block-placeholder--pair       { aspect-ratio: 4 / 3; }
.ecec-block-placeholder--gallery    { aspect-ratio: 4 / 3; }
.ecec-block-placeholder--split      { aspect-ratio: 4 / 3; }

/* ----- Back to projects ----- */
.ecec-sp-footer-nav {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px 80px;
}
.ecec-sp-back {
	font-size: 14px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	color: var(--ecec-raisin-black);
	text-decoration: none;
	border-bottom: 1px solid var(--ecec-silver-sand);
	padding-bottom: 4px;
	transition: border-color 0.2s ease;
}
.ecec-sp-back:hover { border-bottom-color: var(--ecec-raisin-black); }

/* ----- Responsive ----- */
@media (max-width: 900px) {
	.ecec-sp-hero__inner { padding: 100px 24px 60px; }
	.ecec-sp-body {
		grid-template-columns: 1fr;
		padding: 56px 24px;
		gap: 48px;
	}
	.ecec-sp-body__info { position: static; }
	.ecec-sp-info { padding-left: 0; border-left: none; border-top: 1px solid var(--ecec-silver-sand); padding-top: 24px; }
	.ecec-block-split__grid,
	.ecec-block-project-data__list {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.ecec-block-gallery--cols-3 .ecec-block-gallery__grid,
	.ecec-block-gallery--legacy .ecec-block-gallery__grid { grid-template-columns: repeat(2, 1fr); }
	.ecec-sp-body__blocks > .ecec-block + .ecec-block { margin-top: 48px; }
	.ecec-sp-footer-nav { padding: 0 24px 56px; }
}
@media (max-width: 560px) {
	.ecec-block-gallery__grid { grid-template-columns: 1fr !important; }
}

/* ============================================================
   Services — Vertical Divided List
   ============================================================ */

.ecec-services-list {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 0;
}
.ecec-services-list__items {
	list-style: none;
	margin: 0;
	padding: 0;
	counter-reset: none;
	border-top: 1px solid var(--ecec-silver-sand);
}
.ecec-services-list__item {
	display: grid;
	grid-template-columns: 80px minmax(0, 1.1fr) minmax(0, 1.4fr) 32px;
	gap: 40px;
	align-items: start;
	padding: 40px 0;
	border-bottom: 1px solid var(--ecec-silver-sand);
	transition: padding-left 0.3s ease, background-color 0.3s ease;
	position: relative;
}
.ecec-services-list__item:hover {
	background-color: var(--ecec-isabelline);
	padding-left: 24px;
	padding-right: 24px;
}
.ecec-services-list__index {
	font-size: 14px;
	letter-spacing: 0.12em;
	color: var(--ecec-slate-gray);
	font-weight: 500;
	font-variant-numeric: tabular-nums;
	padding-top: 8px;
}
.ecec-services-list__name {
	font-size: clamp(24px, 2.6vw, 34px);
	font-weight: 600;
	line-height: 1.15;
	color: var(--ecec-raisin-black);
	letter-spacing: -0.005em;
}
.ecec-services-list__body {
	font-size: 16px;
	line-height: 1.7;
	color: var(--ecec-slate-gray);
	max-width: 54ch;
}
.ecec-services-list__arrow {
	font-size: 22px;
	color: var(--ecec-slate-gray);
	padding-top: 10px;
	opacity: 0.35;
	transition: transform 0.3s ease, opacity 0.3s ease, color 0.3s ease;
	justify-self: end;
}
.ecec-services-list__item:hover .ecec-services-list__arrow {
	opacity: 1;
	color: var(--ecec-raisin-black);
	transform: translateX(6px);
}

/* Responsive: collapse to stacked on mobile */
@media (max-width: 860px) {
	.ecec-services-list__item {
		grid-template-columns: 56px minmax(0, 1fr);
		gap: 16px 24px;
		padding: 32px 0;
	}
	.ecec-services-list__item:hover {
		padding-left: 12px;
		padding-right: 12px;
	}
	.ecec-services-list__name {
		grid-column: 2;
	}
	.ecec-services-list__body {
		grid-column: 2;
		margin-top: 4px;
	}
	.ecec-services-list__arrow { display: none; }
}

/* /our-services/ — justify the three body-text areas in the Elementor page.
   Scoped by page ID because the slug is the same across envs but the post
   IDs differ (168 local, 328 VPS). */
.page-id-168 .elementor-widget-emaurri_core_section_title .qodef-m-text,
.page-id-328 .elementor-widget-emaurri_core_section_title .qodef-m-text,
.page-id-168 .elementor-widget-text-editor p,
.page-id-328 .elementor-widget-text-editor p,
.page-id-168 .qodef-accordion-content-inner p,
.page-id-328 .qodef-accordion-content-inner p {
	text-align: justify;
	hyphens: manual;
	-webkit-hyphens: manual;
	word-break: normal;
	overflow-wrap: normal;
}

/* ──────────────────────────────────────────────────────────────────────
 * Home page — Clients Marquee ([ecec_clients_marquee])
 * Infinite horizontal scroll, grayscale -> color on hover, pause on hover.
 * ────────────────────────────────────────────────────────────────────── */

.ecec-clients-block {
	background: var(--ecec-white);
	padding: 60px 0 0;
}

.ecec-clients-marquee__title {
	display: block !important;
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: clamp(20px, 2vw, 28px) !important;
	font-weight: 700 !important;
	color: var(--ecec-slate-gray) !important;
	text-transform: uppercase !important;
	letter-spacing: 0.18em !important;
	text-align: center !important;
	margin: 0 0 36px !important;
	padding: 0 !important;
	line-height: 1.2 !important;
	position: relative;
	z-index: 1;
}

.ecec-clients-marquee {
	--ecec-clients-speed: 50s;
	--ecec-clients-h: 60px;
	padding: 0 0 60px;
	overflow: hidden;
	background: var(--ecec-white);
	-webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
	        mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}

.ecec-clients-track {
	display: flex;
	width: max-content;
	animation: ecec-clients-scroll var(--ecec-clients-speed) linear infinite;
	will-change: transform;
}

.ecec-clients-marquee:hover .ecec-clients-track { animation-play-state: paused; }

.ecec-clients-lane {
	display: flex;
	list-style: none;
	margin: 0;
	padding: 0;
	gap: 64px;
	flex-shrink: 0;
	padding-right: 64px; /* gap between lane-end and next lane-start */
}

.ecec-clients-item {
	flex: 0 0 auto;
	display: flex !important;
	align-items: center;
	justify-content: center;
	height: clamp(80px, 7vw, 130px) !important;
	max-height: clamp(80px, 7vw, 130px) !important;
	overflow: hidden;
	margin: 0 !important;
	padding: 0 !important;
}

.ecec-clients-item img {
	height: clamp(80px, 7vw, 130px) !important;
	max-height: clamp(80px, 7vw, 130px) !important;
	width: auto !important;
	max-width: none !important;
	object-fit: contain !important;
	display: block !important;
	margin: 0 !important;
	opacity: 0.55 !important;
	filter: grayscale(100%) !important;
	transition: filter 0.3s ease, opacity 0.3s ease;
}

.ecec-clients-item:hover img,
.ecec-clients-track:hover .ecec-clients-item img {
	filter: grayscale(0%) !important;
	opacity: 1 !important;
}

@keyframes ecec-clients-scroll {
	from { transform: translate3d(0, 0, 0); }
	to   { transform: translate3d(-50%, 0, 0); }
}

/* Respect reduced-motion preference */
@media (prefers-reduced-motion: reduce) {
	.ecec-clients-track { animation: none; }
}

/* ──────────────────────────────────────────────────────────────────────
 * Home page — Portfolio Carousel ([ecec_portfolio_carousel])
 * Horizontal scroll-snap, arrow buttons on sides, card = image + meta.
 * ────────────────────────────────────────────────────────────────────── */

.ecec-pcar {
	position: relative;
	padding: 40px 0;
	overflow: hidden;
}

.ecec-pcar__track {
	display: flex;
	gap: 24px;
	overflow-x: auto;
	scroll-snap-type: x mandatory;
	scroll-behavior: smooth;
	padding: 0 6vw 20px;
	-webkit-overflow-scrolling: touch;
	scrollbar-width: thin;
	scrollbar-color: var(--ecec-silver-sand) transparent;
}
.ecec-pcar__track::-webkit-scrollbar { height: 6px; }
.ecec-pcar__track::-webkit-scrollbar-thumb {
	background: var(--ecec-silver-sand);
	border-radius: 3px;
}

.ecec-pcar__item {
	flex: 0 0 clamp(260px, 28vw, 380px);
	scroll-snap-align: start;
}

.ecec-pcar__link {
	display: block;
	color: var(--ecec-raisin-black);
	text-decoration: none;
}

.ecec-pcar__media {
	aspect-ratio: 4 / 5;
	overflow: hidden;
	background: var(--ecec-platinum);
	margin-bottom: 18px;
}

.ecec-pcar__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.6s ease;
}

.ecec-pcar__link:hover .ecec-pcar__img { transform: scale(1.04); }

.ecec-pcar__meta {
	padding: 0 4px;
}

.ecec-pcar__cat {
	display: inline-block;
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 11px;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--ecec-slate-gray);
	margin-bottom: 10px;
}

.ecec-pcar__title {
	font-family: 'Plus Jakarta Sans', sans-serif;
	font-size: 20px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
	color: var(--ecec-raisin-black);
}

.ecec-pcar__link:hover .ecec-pcar__title { color: var(--ecec-slate-gray); }

.ecec-pcar__nav {
	position: absolute;
	top: 36%;
	width: 48px;
	height: 48px;
	border-radius: 50%;
	background: var(--ecec-white);
	border: 1px solid var(--ecec-silver-sand);
	color: var(--ecec-raisin-black);
	font-size: 18px;
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: center;
	z-index: 2;
	transition: background 0.25s, color 0.25s, border-color 0.25s;
	box-shadow: 0 6px 18px rgba(35, 31, 32, 0.08);
}
.ecec-pcar__nav:hover { background: var(--ecec-raisin-black); color: var(--ecec-white); border-color: var(--ecec-raisin-black); }
.ecec-pcar__nav--prev { left: 16px; }
.ecec-pcar__nav--next { right: 16px; }

@media (max-width: 640px) {
	.ecec-pcar__nav { display: none; }
	.ecec-pcar__item { flex-basis: 80vw; }
}

/* ──────────────────────────────────────────────────────────────────────
 * Home page — Block 2 "We Design the Future" intro
 * ────────────────────────────────────────────────────────────────────── */

.ecec-home-intro {
	padding: 90px 6vw;
	max-width: min(1600px, 92vw);
	margin: 0 auto;
}

/* Override Elementor's boxed container cap for Block 2 so it can fill wide screens */
body.page-id-119 .elementor-element-307c52e > .elementor-container {
	max-width: 100% !important;
}

.ecec-home-intro__row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

.ecec-home-intro__heading {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: clamp(36px, 5vw, 72px) !important;
	font-weight: 700 !important;
	line-height: 1.05 !important;
	margin: 0 !important;
	color: var(--ecec-slate-gray) !important;
	letter-spacing: 0 !important;
	text-transform: uppercase !important;
}

.ecec-home-intro__body {
	font-family: 'Argentum Sans', sans-serif !important;
	font-size: clamp(16px, 1.4vw, 22px) !important;
	line-height: 1.5 !important;
	color: var(--ecec-slate-gray) !important;
	text-align: justify !important;
	hyphens: manual;
	-webkit-hyphens: manual;
	word-break: normal;
	overflow-wrap: normal;
	margin: 0 !important;
}

.ecec-home-intro__body p:last-child { margin-bottom: 0; }

@media (max-width: 900px) {
	.ecec-home-intro { padding: 60px 24px; }
	.ecec-home-intro__row {
		grid-template-columns: 1fr;
		gap: 24px;
	}
	.ecec-home-intro__heading { font-size: clamp(36px, 8vw, 56px); }
}

/* Home page Block 5 — "Featured Projects" heading: align color with brand palette */
body.page-id-119 .elementor-element-87d2534 .elementor-heading-title {
	color: var(--ecec-slate-gray) !important;
}

/* ──────────────────────────────────────────────────────────────────────
 * Projects page (post 122) — heading typography unification
 * "Featured Projects" + "Our Recent Projects" use vanilla Elementor heading
 * widgets with no brand class. Theme's .qodef-h2 overrides them with
 * Metric-Semibold + black + letter-spacing -2px (negative — words run
 * together). Page-scoped override matches About / People / Contact pattern.
 * ────────────────────────────────────────────────────────────────────── */
body.page-id-122 .elementor-widget-heading .elementor-heading-title {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	color: var(--ecec-slate-gray) !important;
	letter-spacing: 0.08em !important;
	word-spacing: 0.15em !important;
	text-transform: uppercase !important;
	font-weight: 700 !important;
}
body.page-id-122 .elementor-widget-heading h2.elementor-heading-title {
	font-size: clamp(28px, 3.2vw, 48px) !important;
	line-height: 1.1 !important;
	margin: 0 0 24px !important;
}
body.page-id-122 .elementor-widget-heading h3.elementor-heading-title {
	font-size: clamp(22px, 2.4vw, 32px) !important;
	line-height: 1.15 !important;
	margin: 0 0 18px !important;
}

/* ──────────────────────────────────────────────────────────────────────
 * Contact Us page (post 124) — typography unification
 * Brand fonts/colors/sizes for all headings + body, matching the rest
 * of the site (About Us / People / Services use same patterns).
 * ────────────────────────────────────────────────────────────────────── */
body.page-id-124 .elementor-widget-heading .elementor-heading-title {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	color: var(--ecec-slate-gray) !important;
	letter-spacing: 0.08em !important;
	word-spacing: 0.15em !important;
	text-transform: uppercase !important;
}
/* h2: large section titles (e.g. SEND US A MESSAGE) */
body.page-id-124 .elementor-widget-heading h2.elementor-heading-title {
	font-size: clamp(28px, 3.2vw, 48px) !important;
	font-weight: 700 !important;
	margin: 0 0 24px !important;
}
/* h3: section subtitles (OUR OFFICES, SEND US A MESSAGE) */
body.page-id-124 .elementor-widget-heading h3.elementor-heading-title {
	font-size: clamp(22px, 2.4vw, 32px) !important;
	font-weight: 700 !important;
	line-height: 1.15 !important;
	margin: 0 0 18px !important;
}
/* h4: city names (Dubai, Riyadh, Amman) */
body.page-id-124 h4 {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 16px !important;
	font-weight: 700 !important;
	letter-spacing: 0.12em !important;
	text-transform: uppercase !important;
	color: var(--ecec-raisin-black) !important;
	margin: 16px 0 6px !important;
}
/* Body paragraphs in text-editor widgets — brand body font + slate-gray */
body.page-id-124 .elementor-widget-text-editor p,
body.page-id-124 .elementor-widget-text-editor {
	font-family: 'Argentum Sans', sans-serif !important;
	font-size: 15px !important;
	line-height: 1.65 !important;
	color: var(--ecec-slate-gray) !important;
	hyphens: manual !important;
	-webkit-hyphens: manual !important;
	word-break: normal;
	overflow-wrap: normal;
}
/* Contact Form 7 — labels + inputs use brand sans-serif */
body.page-id-124 .wpcf7 label,
body.page-id-124 .wpcf7 input[type="text"],
body.page-id-124 .wpcf7 input[type="email"],
body.page-id-124 .wpcf7 input[type="tel"],
body.page-id-124 .wpcf7 textarea,
body.page-id-124 .wpcf7 select {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	color: var(--ecec-raisin-black) !important;
}
body.page-id-124 .wpcf7 input[type="submit"] {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-weight: 600 !important;
	letter-spacing: 0.18em !important;
	text-transform: uppercase !important;
	background: var(--ecec-slate-gray) !important;
	color: var(--ecec-white) !important;
	border: none !important;
	transition: opacity 0.2s ease;
}
body.page-id-124 .wpcf7 input[type="submit"]:hover { opacity: 0.85; }

/* ──────────────────────────────────────────────────────────────────────
 * About Us page (rebuilt 2026-04-25 — strict Emaurri demo layout)
 * Unified to brand fonts only (Plus Jakarta Sans + Argentum Sans).
 * Cormorant import removed 2026-04-25 — was inconsistent with other pages.
 * ────────────────────────────────────────────────────────────────────── */

/* About Us page-title bar — chairs hero, replicates Emaurri demo
   Centered both horizontally and vertically over the chairs image. */
body.page-id-382 .qodef-page-title {
	height: 470px !important;
	background-image: url('/ecec/wp-content/uploads/about-hero/about-chairs.jpg') !important;
	background-size: cover !important;
	background-position: center center !important;
	background-color: var(--ecec-raisin-black) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	text-align: center !important;
}
body.page-id-382 .qodef-page-title .qodef-m-inner,
body.page-id-382 .qodef-page-title .qodef-m-content,
body.page-id-382 .qodef-page-title .qodef-m-content-inner {
	width: 100% !important;
	text-align: center !important;
}
body.page-id-382 .qodef-page-title .qodef-m-title,
body.page-id-382 .qodef-page-title .qodef-m-title a {
	color: #ffffff !important;
	text-align: center !important;
	width: 100% !important;
}
body.page-id-382 .qodef-page-title .qodef-breadcrumbs {
	text-align: center !important;
}
body.page-id-382 .qodef-page-title .qodef-breadcrumbs span,
body.page-id-382 .qodef-page-title .qodef-breadcrumbs a {
	color: #ffffff !important;
}

/* Hero — big "ABOUT US" + serif tagline (legacy — h1 now removed via script;
   subtitle still rendered by Elementor section 1) */
.ecec-about-hero-title .elementor-heading-title {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: clamp(48px, 7vw, 96px) !important;
	font-weight: 700 !important;
	letter-spacing: 0 !important;
	color: var(--ecec-raisin-black) !important;
	line-height: 1.05 !important;
	margin: 0 !important;
}
/* "ABOUT ECEC" main intro heading — same brand sans-serif treatment as
   .ecec-about-section-title, just slightly larger to keep visual hierarchy
   above the smaller WHO WE ARE / OUR EXPERT TEAM section titles. */
.ecec-about-hero-subtitle .elementor-heading-title {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: clamp(32px, 3.6vw, 56px) !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	word-spacing: 0.15em !important;
	color: var(--ecec-slate-gray) !important;
	text-transform: uppercase !important;
	line-height: 1.1 !important;
	margin: 0 !important;
}

/* Section titles (h2 like ABOUT ECEC, WHO WE ARE, etc.) — tracked spacing
   so uppercase words don't visually run into each other. */
.ecec-about-section-title .elementor-heading-title {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: clamp(28px, 3.2vw, 48px) !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	word-spacing: 0.15em !important;
	color: var(--ecec-slate-gray) !important;
	text-transform: uppercase !important;
	margin: 0 0 24px !important;
}
.ecec-about-section-subtitle .elementor-heading-title {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: clamp(20px, 2vw, 28px) !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	word-spacing: 0.15em !important;
	color: var(--ecec-slate-gray) !important;
	text-transform: uppercase !important;
	margin: 32px 0 12px !important;
}

/* Narrative body — same typographic treatment as Block 2 home intro */
.ecec-about-narrative {
	font-family: 'Argentum Sans', sans-serif;
	color: var(--ecec-slate-gray);
}
.ecec-about-narrative p {
	font-size: clamp(15px, 1.1vw, 17px);
	line-height: 1.7;
	color: var(--ecec-slate-gray);
	text-align: justify;
	hyphens: manual;
	-webkit-hyphens: manual;
	word-break: normal;
	overflow-wrap: normal;
	margin: 0 0 1em;
}
.ecec-about-narrative--centered p { text-align: center; max-width: 1100px; margin-left: auto; margin-right: auto; }

/* Placeholder boxes inside About 2-col sections — stretch to full column height */
.ecec-block-placeholder--about {
	width: 100%;
	height: 100%;
	min-height: 360px;
	background: var(--ecec-platinum);
	border: 2px dashed var(--ecec-silver-sand);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--ecec-slate-gray);
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	text-align: center;
	padding: 24px;
}

/* 4-col Key Highlights cards */
.ecec-about-highlights {
	background: var(--ecec-isabelline);
}
.ecec-about-highlight-card {
	background: var(--ecec-white);
	padding: 32px !important;
	min-width: 0;
	text-align: center;
}

/* Add horizontal breathing room between the 4 highlight columns so cards
   read as 4 distinct cards, not a single merged strip. */
body.page-id-382 .ecec-about-highlights .elementor-column {
	padding-left: 28px !important;
	padding-right: 28px !important;
}

/* ──────────────────────────────────────────────────────────────────────
 * Why ECEC page — scrollytelling sticky-left + scrolling-right
 * Mirrors Emaurri's portfolio/vertical-divided-list demo. JS: why-ecec.js
 * uses IntersectionObserver to swap the active title on the left as each
 * slide on the right enters viewport center.
 *
 * IMPORTANT: Qode theme's #qodef-page-wrapper has overflow:hidden which
 * makes position:sticky on descendants stick to the wrapper's scroll
 * context (which doesn't scroll, killing the sticky behavior). Override
 * scoped to this page so sticky resolves to viewport instead.
 * ────────────────────────────────────────────────────────────────────── */
body:has(.ecec-why),
body:has(.ecec-why) #qodef-page-wrapper,
body:has(.ecec-why) #qodef-page-inner,
body:has(.ecec-why) #qodef-page-outer,
body:has(.ecec-why) #qodef-page-content,
body:has(.ecec-why) #qodef-page-content-section {
	overflow: visible !important;
	overflow-x: visible !important;
	overflow-y: visible !important;
}

/* Hide the theme's page-title bar (which would render "Why ECEC" + breadcrumb)
   — page goes straight into the scrollytelling content. */
body:has(.ecec-why) .qodef-page-title { display: none !important; }

.ecec-why { background: var(--ecec-white); padding: 100px 0; }
.ecec-why-inner {
	max-width: 1280px;
	margin: 0 auto;
	padding: 0 40px;
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 80px;
	align-items: start;
}

/* LEFT — sticky title rotator */
.ecec-why-info-holder {
	position: sticky;
	top: 140px;
	min-height: 60vh;
}
.ecec-why-info-item {
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	opacity: 0;
	transform: translateY(8px);
	transition: opacity 0.45s ease, transform 0.45s ease;
	pointer-events: none;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-height: 60vh;
}
.ecec-why-info-item.is-active {
	opacity: 1;
	transform: none;
	pointer-events: auto;
}
/* Unified with .ecec-about-section-title typography (Plus Jakarta Sans bold
   uppercase slate-gray + same letter/word spacing). Same scale and color as
   other section headings across the site (About, People, etc). */
.ecec-why .qodef-e-info-top,
.ecec-why .qodef-e-category {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 12px !important;
	font-weight: 500 !important;
	letter-spacing: 0.2em !important;
	color: var(--ecec-slate-gray) !important;
	text-transform: uppercase !important;
	opacity: 0.6;
}
.ecec-why .qodef-e-info-category .qodef-e-category:after {
	content: "" !important;
}
.ecec-why .qodef-e-title,
.ecec-why h1.qodef-e-title {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: clamp(28px, 3.2vw, 48px) !important;
	font-weight: 700 !important;
	letter-spacing: 0.08em !important;
	word-spacing: 0.15em !important;
	line-height: 1.1 !important;
	color: var(--ecec-slate-gray) !important;
	margin: 6px 87px 36px 0 !important;
	text-transform: uppercase !important;
	hyphens: manual !important;
	-webkit-hyphens: manual !important;
	word-break: normal;
	overflow-wrap: normal;
}
.ecec-why .qodef-e-read-more .qodef-button,
.ecec-why .qodef-e-read-more .qodef-button .qodef-m-text {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 12px !important;
	font-weight: 600 !important;
	letter-spacing: 0.2em !important;
	text-transform: uppercase !important;
	color: var(--ecec-slate-gray) !important;
}
.ecec-why .qodef-e-portfolio-exhibition-bg-text {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	color: var(--ecec-platinum) !important;
	-webkit-text-stroke: 1px var(--ecec-silver-sand) !important;
}

/* RIGHT — scrolling slides */
.ecec-why-main {
	display: flex;
	flex-direction: column;
	gap: 60px;
}
.ecec-why-slide {
	min-height: 80vh;
	display: flex;
	align-items: center;
}
.ecec-why-placeholder {
	width: 100%;
	aspect-ratio: 1300 / 848;
	background: var(--ecec-platinum);
	border: 2px dashed var(--ecec-silver-sand);
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	color: var(--ecec-slate-gray);
	font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
	text-align: center;
	padding: 24px;
}

@media (max-width: 900px) {
	.ecec-why { padding: 60px 0; }
	.ecec-why-inner {
		grid-template-columns: 1fr;
		gap: 32px;
		padding: 0 24px;
	}
	.ecec-why-info-holder { position: static; min-height: 0; }
	.ecec-why-info-item {
		position: static;
		opacity: 1;
		transform: none;
		pointer-events: auto;
		min-height: 0;
		margin-bottom: 24px;
	}
	.ecec-why-slide { min-height: 0; margin-bottom: 32px; }
	.ecec-why-placeholder { aspect-ratio: 4 / 3; width: 100%; }
}
.ecec-about-highlight-num img {
	max-width: 140px !important;
	height: auto;
	display: block;
	margin: 0 auto 20px !important;
}
.ecec-about-highlight-heading .elementor-heading-title {
	font-family: 'Plus Jakarta Sans', sans-serif !important;
	font-size: 20px !important;
	font-weight: 700 !important;
	color: var(--ecec-raisin-black) !important;
	margin: 0 0 12px !important;
	letter-spacing: 0 !important;
	text-align: center !important;
}
.ecec-about-highlight-body p {
	font-family: 'Argentum Sans', sans-serif;
	font-size: 14px;
	line-height: 1.6;
	color: var(--ecec-slate-gray);
	margin: 0;
	/* DECISION (do not flip back to justify): card columns are ~150px wide
	   in a 4-col grid. Justified text needs hyphenation OR wider columns to
	   avoid "rivers" of white-space — and we have neither (no auto-hyphens
	   per word-for-word rule, wider columns conflict with the gap request).
	   Left-align is the only clean option. The slightly ragged right edge
	   reads better than gappy justified text in this width. */
	text-align: left !important;
	hyphens: manual !important;
	-webkit-hyphens: manual !important;
	word-break: normal;
	overflow-wrap: normal;
}

/* Responsive: collapse 4 cards to 2-col, then 1-col */
@media (max-width: 1024px) {
	.ecec-about-highlights .e-con-inner > .e-con,
	.ecec-about-highlights > .e-con-inner > .e-con {
		flex-basis: calc(50% - 16px) !important;
	}
}
@media (max-width: 600px) {
	.ecec-about-highlights .e-con-inner > .e-con,
	.ecec-about-highlights > .e-con-inner > .e-con {
		flex-basis: 100% !important;
	}
}

/* ──────────────────────────────────────────────────────────────────────
 * Services page (post 328) — image height alignment
 * Make every emaurri_core_single_image widget stretch to fill its column
 * so the image height matches the adjacent text-column height in each
 * 2-column section (matches srv-1 / srv-2 / srv-3 reference mockups).
 * ────────────────────────────────────────────────────────────────────── */
body.page-id-328 .elementor-widget-emaurri_core_single_image,
body.page-id-328 .elementor-widget-emaurri_core_single_image > .elementor-widget-container,
body.page-id-328 .elementor-widget-emaurri_core_single_image .qodef-shortcode,
body.page-id-328 .elementor-widget-emaurri_core_single_image .qodef-m-image {
	height: 100% !important;
	display: block;
}
body.page-id-328 .elementor-widget-emaurri_core_single_image img {
	height: 100% !important;
	width: 100% !important;
	object-fit: cover !important;
	display: block;
}

/* Services page — breathing room between Progress (block 2) and the
   Services Accordion section (block 3 after the reorder). Targeted by
   Elementor element id, so it applies on both local + VPS regardless of
   page-id. */
.elementor-element-0eb738e {
	margin-top: 80px !important;
}
@media (max-width: 768px) {
	.elementor-element-0eb738e {
		margin-top: 40px !important;
	}
}

/* Home page Block 1 blog-list slider — cap to a reasonable hero height.
   The previous attempt used RevSlider's configured gh values (958px) but
   that was oversized since RevSlider scales down at render time. This is a
   safer standard-hero clamp. Scoped to the home page only. */
body.page-id-119 .elementor-widget-emaurri_core_blog_list .qodef-swiper-container,
body.page-id-119 .elementor-widget-emaurri_core_blog_list .swiper-wrapper,
body.page-id-119 .elementor-widget-emaurri_core_blog_list .swiper-slide,
body.page-id-119 .elementor-widget-emaurri_core_blog_list .qodef-blog-item,
body.page-id-119 .elementor-widget-emaurri_core_blog_list .qodef-blog-item .qodef-e-inner,
body.page-id-119 .elementor-widget-emaurri_core_blog_list .qodef-e-media-image {
	height: clamp(360px, 60vh, 560px) !important;
	min-height: 360px !important;
	max-height: 560px !important;
}

@media (max-width: 767px) {
	body.page-id-119 .elementor-widget-emaurri_core_blog_list .qodef-swiper-container,
	body.page-id-119 .elementor-widget-emaurri_core_blog_list .swiper-wrapper,
	body.page-id-119 .elementor-widget-emaurri_core_blog_list .swiper-slide,
	body.page-id-119 .elementor-widget-emaurri_core_blog_list .qodef-blog-item,
	body.page-id-119 .elementor-widget-emaurri_core_blog_list .qodef-blog-item .qodef-e-inner,
	body.page-id-119 .elementor-widget-emaurri_core_blog_list .qodef-e-media-image {
		height: 420px !important;
		min-height: 420px !important;
		max-height: 420px !important;
	}
}

/* Constrain the image inside the media container so it fills the slide
   without pushing the parent taller. */
body.page-id-119 .elementor-widget-emaurri_core_blog_list .qodef-e-media-image img {
	height: 100% !important;
	width: 100% !important;
	object-fit: cover !important;
}
