/*
Theme Name:   Edigitaal Child - Ethnos
Description:  Child theme of Edigitaal for Ethnos Consultancy. Put custom CSS here so theme updates don't overwrite it.
Author:       Kayla
Template:     edigitaal
Version:      1.0.0
Requires PHP: 8.1
Text Domain:  edigitaal-child
*/

/* Brand colors, pulled from the current Wix site (see ethnos-assets/brand-styles.md) */
:root {
	--ethnos-red: #E21C21;
	--ethnos-gold: #E8B24D;
	--ethnos-coral: #FF6161;
	--ethnos-text: #000000;
	--ethnos-dark: #242323;
	--ethnos-gray: #BFBFBF;
	--ethnos-offwhite: #FAFAFA;
	--ethnos-overlay: rgba(0, 0, 0, 0.75);
}

/* Site-wide style overrides go below. Scroll effects live in assets/css/ethnos-effects.css. */

/* Section label icon: the theme's star is lime green; swap in a gold one. */
.tm-sc-section-title img.title-icon {
	content: url("assets/images/star-gold.png");
}
/* Client logos: the carousel shows images at full size, so cap their height. */
.each-logo img.thumb {
	width: auto;
	max-width: 70%;
	max-height: 64px;
	margin: 0 auto;
	object-fit: contain;
}

/* Our Promise cards (Home): every title gets room for two lines, so a one-line title
   ("On-Time Deliverables") no longer makes its card shorter. Less space under the title
   keeps all four cards at the height the one-line card had. */
.elementor-element-22a8332 .working-block-style1 .working-title {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: calc(100px + 2.8em);
	margin-bottom: 0;
}
.elementor-element-22a8332 .working-block-style1 .inner-box {
	padding-bottom: 32px;
}

/* Paragraph text: the theme's grey (#8c8f94) in thin Urbanist is hard to read on the dark
   sections. Set on the widget wrapper so colors and sizes chosen in Elementor still win;
   the cream "paper" panels on the solution pages keep their dark text. */
.elementor-widget-tm-ele-text-editor .tm-text-editor {
	color: #d9d9d9;
	font-size: 17px;
	font-weight: 500;
	line-height: 1.8;
}
.ethnos-panel-copy .tm-text-editor {
	color: #2f2a23;
}
/* Intro paragraphs that Elementor sets to 80% white (Home and the solution pages): a little brighter. */
body .elementor-109 .elementor-element.elementor-element-eef95eb .tm-text-editor,
body .elementor-109 .elementor-element.elementor-element-eef95eb .tm-text-editor *,
body .elementor-110 .elementor-element.elementor-element-90542d2 .tm-text-editor,
body .elementor-110 .elementor-element.elementor-element-90542d2 .tm-text-editor *,
body .elementor-111 .elementor-element.elementor-element-c52b870 .tm-text-editor,
body .elementor-111 .elementor-element.elementor-element-c52b870 .tm-text-editor *,
body .elementor-112 .elementor-element.elementor-element-1388dd4 .tm-text-editor,
body .elementor-112 .elementor-element.elementor-element-1388dd4 .tm-text-editor *,
body .elementor-113 .elementor-element.elementor-element-3c535e0 .tm-text-editor,
body .elementor-113 .elementor-element.elementor-element-3c535e0 .tm-text-editor * {
	color: rgba(255, 255, 255, 0.92);
}

/* Circle text badge: keep the center image inside the ring. */
.tm-circle-text .icon img {
	width: 82% !important;
	height: auto !important;
	max-width: 160px;
	border-radius: 0;
}

/* Home, "It's all about Enhancing your brand": the "Enhancing" pill hugs the word,
   sits evenly inside its outline ring, and never splits the word on smaller screens. */
.elementor-109 .elementor-element.elementor-element-d95fcb8.e-con {
	--width: auto;
	flex: 0 0 auto;
}
.elementor-109 .elementor-element.elementor-element-69419e6.e-con {
	--padding-top: 8px;
	--padding-right: 8px;
	--padding-bottom: 8px;
	--padding-left: 8px;
	align-self: flex-start;
}
.elementor-109 .elementor-element.elementor-element-487a930.e-con {
	--padding-top: 12px;
	--padding-right: 34px;
	--padding-bottom: 14px;
	--padding-left: 34px;
}
.elementor-109 .elementor-element.elementor-element-2ff4e4a .tm-text-editor p {
	margin: 0;
	font-size: clamp(40px, 4vw, 60px) !important;
	line-height: 1.2 !important;
	white-space: nowrap;
}
/* Same section: the headline stacks on three lines ("It's all about" / Enhancing pill /
   "Your brand") with even spacing, the text keeps clear of the photo, and the paragraph
   gets a comfortable reading width instead of a narrow column. */
.elementor-109 .elementor-element.elementor-element-03b04ea.e-con {
	gap: 0;
	padding-right: 48px;
}
.elementor-109 .elementor-element.elementor-element-a1ed212 {
	margin-bottom: 36px;
}
.elementor-109 .elementor-element.elementor-element-74c178b.e-con {
	flex-direction: column;
	align-items: flex-start;
	gap: 30px;
}
.elementor-109 .elementor-element.elementor-element-f583199.e-con {
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 6px;
}
.elementor-109 .elementor-element.elementor-element-861a802 .title {
	line-height: 1 !important;
}
/* The spacer above the paragraph is 30px on desktop and zero below that, so set the gap here. */
.elementor-109 .elementor-element.elementor-element-a01e602 {
	display: none;
}
.elementor-109 .elementor-element.elementor-element-b286a4d.e-con {
	margin-top: 52px;
}
.elementor-109 .elementor-element.elementor-element-7bce2e7.e-con {
	--width: 100%;
	max-width: 560px;
}
@media (max-width: 1024px) {
	.elementor-109 .elementor-element.elementor-element-03b04ea.e-con {
		padding-right: 0;
	}
}
@media (max-width: 767px) {
	.elementor-109 .elementor-element.elementor-element-a1ed212 {
		margin-bottom: 24px;
	}
	.elementor-109 .elementor-element.elementor-element-74c178b.e-con {
		gap: 22px;
	}
	.elementor-109 .elementor-element.elementor-element-b286a4d.e-con {
		margin-top: 36px;
	}
}

/* Loading screen: black background with the logo pulsing in and out
   (logo markup added in functions.php). */
#preloader.three-layer-loaderbg .layer .overlay {
	background: #000;
}

#preloader #spinner,
#preloader #disable-preloader {
	display: none !important;
}

.ethnos-preloader-logo {
	position: absolute;
	inset: 0;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: center;
}

.ethnos-preloader-logo img {
	width: 480px;
	max-width: 70vw;
	height: auto;
	animation: ethnos-logo-pulse 1.8s ease-in-out infinite;
}

@keyframes ethnos-logo-pulse {
	0%, 100% { opacity: 0.35; transform: scale(0.88); }
	50%      { opacity: 1;    transform: scale(1); }
}

/* What We Do: logo fills the space under the heading, pulsing like the loading screen. */
.ethnos-pulse-logo {
	margin: auto 0;
	padding: 40px 0;
}

.ethnos-pulse-logo img {
	animation: ethnos-logo-pulse 2.4s ease-in-out infinite;
}

@media (prefers-reduced-motion: reduce) {
	.ethnos-pulse-logo img,
	.ethnos-preloader-logo img {
		animation: none;
	}
}

/* "Don't Let Ineffective Marketing Slow You Down": benefits accordion (HTML widget on Home). */
.ethnos-accordion {
	border-top: 1px solid rgba(255, 255, 255, 0.18);
}

.ethnos-accordion details {
	border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.ethnos-accordion summary {
	display: flex;
	align-items: center;
	gap: 24px;
	min-height: 44px;
	padding: 28px 0;
	cursor: pointer;
	list-style: none;
}

.ethnos-accordion summary::-webkit-details-marker {
	display: none;
}

.ethnos-accordion .num {
	width: 32px;
	flex-shrink: 0;
	font-weight: 600;
	color: var(--ethnos-gold);
}

.ethnos-accordion .title {
	flex-grow: 1;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
	color: #FFFFFF;
	transition: color 0.2s ease;
}

.ethnos-accordion summary:hover .title,
.ethnos-accordion summary:focus-visible .title {
	color: var(--ethnos-gold);
}

/* Plus/minus button drawn with two bars; the vertical bar hides when open. */
.ethnos-accordion .icon {
	position: relative;
	width: 44px;
	height: 44px;
	flex-shrink: 0;
	border: 1px solid rgba(255, 255, 255, 0.3);
	border-radius: 50%;
}

.ethnos-accordion .icon::before,
.ethnos-accordion .icon::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 16px;
	height: 2px;
	background: #FFFFFF;
	transform: translate(-50%, -50%);
	transition: transform 0.2s ease;
}

.ethnos-accordion .icon::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.ethnos-accordion details[open] .icon::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.ethnos-accordion details p {
	margin: 0;
	padding: 0 68px 30px 56px;
	font-size: 17px;
	line-height: 1.65;
	color: var(--ethnos-gray);
}

@media (max-width: 767px) {
	.ethnos-accordion .title {
		font-size: 21px;
	}

	.ethnos-accordion details p {
		padding: 0 0 24px 56px;
	}
}

/* ------------------------------------------------------------------
   Header navigation
   Desktop = Elementor header templates 3599 (top) and 9802 (sticky).
   Tablet/phone (1024px and below) = the theme's mobile header, whose
   slide-out menu is Elementor template 7480.
   ------------------------------------------------------------------ */

/* Desktop links: a little more breathing room, and a gold underline on hover/current page. */
@media (min-width: 1025px) {
	/* Top header columns were 20% / 50% / 30%, which pulled the menu left of center.
	   Equal side columns put it in the middle of the page. */
	#elementor-header-top .elementor-element.elementor-element-f4296d2,
	#elementor-header-top .elementor-element.elementor-element-3a7b843 {
		--width: 25%;
	}
	/* The button is now the last item on the right, so match the logo's 20px inset from the edge. */
	#elementor-header-top .elementor-element.elementor-element-3a7b843 {
		padding-right: 10px;
	}

	#elementor-header-top .menuzord-menu > li > a,
	#elementor-header-top-sticky .menuzord-menu > li > a {
		padding: 8px 18px;
		font-size: 14px;
		letter-spacing: 0.06em;
	}

	#elementor-header-top .menuzord-menu > li > a > span:first-child,
	#elementor-header-top-sticky .menuzord-menu > li > a > span:first-child {
		position: relative;
	}

	#elementor-header-top .menuzord-menu > li > a > span:first-child::after,
	#elementor-header-top-sticky .menuzord-menu > li > a > span:first-child::after {
		content: "";
		position: absolute;
		left: 0;
		right: 0;
		bottom: -6px;
		height: 1px;
		background: var(--ethnos-gold);
		transform: scaleX(0);
		transform-origin: left;
		transition: transform 0.25s ease;
	}

	#elementor-header-top .menuzord-menu > li:hover > a > span:first-child::after,
	#elementor-header-top .menuzord-menu > li.active > a > span:first-child::after,
	#elementor-header-top-sticky .menuzord-menu > li:hover > a > span:first-child::after,
	#elementor-header-top-sticky .menuzord-menu > li.active > a > span:first-child::after {
		transform: scaleX(1);
	}

	/* Solutions dropdown: gold top edge, rounded, gold on hover */
	#elementor-header-top .menuzord-menu ul.dropdown,
	#elementor-header-top-sticky .menuzord-menu ul.dropdown {
		padding: 10px 0;
		background: #0b0b0b;
		border-top: 2px solid var(--ethnos-gold);
		border-radius: 0 0 8px 8px;
		box-shadow: 0 18px 40px rgba(0, 0, 0, 0.5);
	}

	#elementor-header-top .menuzord-menu ul.dropdown li a,
	#elementor-header-top-sticky .menuzord-menu ul.dropdown li a {
		padding: 11px 24px;
		color: #FFFFFF;
		transition: color 0.2s ease, padding-left 0.2s ease;
	}

	#elementor-header-top .menuzord-menu ul.dropdown li:hover > a,
	#elementor-header-top-sticky .menuzord-menu ul.dropdown li:hover > a {
		padding-left: 30px;
		color: var(--ethnos-gold);
	}

	/* Sticky header: was 181px tall (a fifth of the screen). Slim it to ~84px
	   with a smaller crest, and match the black of the page. */
	#elementor-header-top-sticky .elementor-element-fa9cc9b {
		--padding-top: 10px;
		--padding-bottom: 10px;
		background-color: rgba(0, 0, 0, 0.92) !important;
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
		backdrop-filter: blur(8px);
		-webkit-backdrop-filter: blur(8px);
	}

	header#header #elementor-header-top-sticky .site-brand {
		margin: 0;
	}

	#elementor-header-top-sticky .elementor-element-ab4c4a4 {
		--padding-top: 0px;
		--padding-bottom: 0px;
	}

	/* The theme sizes logos by width through this variable (155px = 131px tall). */
	#elementor-header-top-sticky .site-brand {
		--menuzord-brand-width: 76px;
	}

	header#header #elementor-header-top-sticky .menuzord-menu > li.menu-item {
		padding-top: 12px;
		padding-bottom: 12px;
	}
}

/* Tablet/phone header bar: black like the page, thin divider instead of a grey slab. */
@media (max-width: 1024px) {
	#elementor-header-top-mobile,
	#elementor-header-top-mobile #tm-header-mobile {
		background-color: #000;
		box-shadow: none;
	}

	#elementor-header-top-mobile #tm-header-mobile {
		border-bottom: 1px solid rgba(255, 255, 255, 0.08);
	}

	#elementor-header-top-mobile .tm-header-branding {
		padding-left: 6px;
	}

	/* Hamburger: white bars and a 44px tap target (it was a 34x20 grey icon).
	   The theme's click handler is on #tm-nav-mobile, so padding grows the target. */
	#elementor-header-top-mobile #tm-nav-mobile {
		right: 4px;
		padding: 12px 5px;
	}

	.tm-nav-mobile-button {
		width: 30px;
	}

	.tm-nav-mobile-button::before,
	.tm-nav-mobile-button::after,
	.tm-nav-mobile-button span {
		background-color: #FFFFFF;
	}

	/* Slide-out menu */
	body:not(.elementor-editor-active) .tm-header-menu {
		width: 380px;
		max-width: 100%;
		background-color: #0b0b0b;
		overflow-y: auto; /* "scroll" showed an empty scrollbar down the edge */
	}

	.tm-header-menu-backdrop {
		background-color: rgba(0, 0, 0, 0.8);
	}

	.tm-header-menu-scroll {
		padding: 72px 8px 40px;
	}

	/* Elementor sets 147px !important on this logo widget (template 7480) */
	.tm-header-menu .elementor-7480 .elementor-element.elementor-element-6fcb114 img {
		width: 150px !important;
	}

	/* Close button: was a dark X on a dark panel, nearly invisible */
	.tm-header-menu .tm-menu-close {
		top: 20px;
		right: 14px;
		width: 44px;
		height: 44px;
		border: 1px solid rgba(255, 255, 255, 0.25);
		border-radius: 50%;
		background: transparent;
	}

	.tm-header-menu .tm-menu-close::before,
	.tm-header-menu .tm-menu-close::after {
		left: 50%;
		width: 18px;
		margin-left: -9px;
		background-color: #FFFFFF;
	}

	/* Menu links: bigger and easier to tap */
	#tm-header-mobile .menuzord-menu > li > a {
		padding: 16px 48px 16px 0;
		font-size: 18px;
		letter-spacing: 0.06em;
		color: #FFFFFF;
	}

	#tm-header-mobile .menuzord-menu > li.active > a,
	#tm-header-mobile .menuzord-menu li a:hover {
		color: var(--ethnos-gold);
	}

	#tm-header-mobile .menuzord-menu ul.dropdown {
		border: 0;
		border-left: 1px solid rgba(232, 178, 77, 0.4);
	}

	#tm-header-mobile .menuzord-menu ul.dropdown li,
	#tm-header-mobile .menuzord-menu ul.dropdown li a {
		border: 0;
	}

	#tm-header-mobile .menuzord-menu ul.dropdown li a {
		padding: 10px 0 10px 16px;
		font-size: 16px;
		color: var(--ethnos-gray);
	}

	/* Submenu toggle: outlined gold circle instead of a red square */
	#tm-header-mobile .menuzord-menu .indicator {
		width: 36px;
		height: 36px;
		border: 1px solid var(--ethnos-gold);
		border-radius: 50%;
		background: transparent;
		color: var(--ethnos-gold);
	}
}

/* On phones the menu fills the screen rather than leaving a sliver of page beside it. */
@media (max-width: 767px) {
	body:not(.elementor-editor-active) .tm-header-menu {
		width: 100%;
	}
}

/* Keyboard users can see where they are in the nav. */
.menuzord-menu a:focus-visible,
#tm-nav-mobile:focus-visible,
.tm-menu-close:focus-visible {
	outline: 2px solid var(--ethnos-gold);
	outline-offset: 4px;
}

/* Home on phones: tidy-ups for spacing and wrapping that only show up on small screens. */
@media (max-width: 767px) {
	/* Less black space between the intro video and "It's All About" */
	body .elementor-109 .elementor-element.elementor-element-bd7f096.e-con {
		--padding-top: 50px;
	}
	/* Solutions list: the dot sits beside each name instead of on its own line */
	.elementor-element-3b6ee5e .features-block-style1 .inner-box {
		display: flex;
		align-items: center;
		gap: 14px;
		padding-top: 28px;
		padding-bottom: 28px;
	}
	.elementor-element-3b6ee5e .features-block-style1 .features-title {
		margin: 0;
	}
	.elementor-element-3b6ee5e .features-block-style1 .info-box {
		margin: 0;
	}
	/* Our Promise: shorter gap under the cards */
	body .elementor-109 .elementor-element.elementor-element-423acea {
		--divider-gap: 30px;
	}
	/* Footer: the arrow button is smaller, the address lines get breathing room,
	   and a link that wraps ("Business Development") still reads as one link */
	body .elementor-13432 .elementor-element.elementor-element-dcbad03 .elementor-button {
		padding: 14px 44px;
		border-width: 5px;
	}
	body .elementor-13432 .elementor-element.elementor-element-2855801 .elementor-heading-title {
		line-height: 1.7;
		font-weight: 600;
	}
	.elementor-13432 .elementor-element-ac99acd li a,
	.elementor-13432 .elementor-element-2ea2e68 li a {
		line-height: 1.35;
	}
	.elementor-13432 .elementor-element-ac99acd li,
	.elementor-13432 .elementor-element-2ea2e68 li {
		padding: 5px 0;
	}
}
/* Long button labels ("Schedule A Free Consultation Today") wrap onto two neat lines on phones */
@media (max-width: 480px) {
	.btn-style-one .btn-title {
		padding: 12px 24px;
		line-height: 1.3;
		font-size: 15px;
	}
}

/* ------------------------------------------------------------------
   Tablet and phone (1024px and below)
   ------------------------------------------------------------------ */
@media (max-width: 1024px) {
	/* Home, big outlined "SOLUTIONS": it broke mid-word on phones ("SOLUTION / S") and
	   split in two over "What We Do" on tablets. */
	body .elementor-109 .elementor-element.elementor-element-53ba767 .elementor-repeater-item-9c1902b,
	body .elementor-109 .elementor-element.elementor-element-53ba767 .elementor-repeater-item-9c1902b * {
		font-size: 12vw;
		line-height: 1;
		white-space: nowrap;
	}
	/* Its scroll parallax slides it up to 300px left, which cut the word off ("LUTIONS")
	   once it fills the screen width. Hold it still and centered here. */
	body .elementor-109 .elementor-element.elementor-element-53ba767 .elementor-repeater-item-9c1902b {
		transform: none !important;
		text-align: center;
	}

	/* Photos and illustrations that are rounded into circles on desktop were squashed into
	   wide ovals on tablets and phones. Keep them true circles, centered. */
	.ethnos-circle-img img,
	.elementor-109 .elementor-element-e25f4b6 img,
	.elementor-110 .elementor-element-16bd2fd img,
	.elementor-111 .elementor-element-73fe2b9 img,
	.elementor-111 .elementor-element-3acd8d1 img,
	.elementor-111 .elementor-element-2ebacfa img,
	.elementor-112 .elementor-element-c971b65 img,
	.elementor-112 .elementor-element-d836f19 img,
	.elementor-113 .elementor-element-e93976a img,
	.elementor-113 .elementor-element-1193824 img,
	.elementor-113 .elementor-element-184a2e3 img {
		display: block;
		width: min(300px, 100%) !important;
		margin: 0 auto;
	}
}

/* ------------------------------------------------------------------
   Tablet only (768px to 1024px)
   Elementor keeps some desktop two-column rows side by side at this size,
   which squeezed big headings into narrow columns. Stack them as on phones.
   ------------------------------------------------------------------ */
@media (min-width: 768px) and (max-width: 1024px) {
	/* Home: "Don't Let Ineffective Marketing Slow You Down" + accordion
	   (the headline broke mid-word: "Ineffectiv / e", "Marketin / g"),
	   "What We Do" + solutions list, and testimonials ring + quotes. */
	body .elementor-109 .elementor-element.elementor-element-c7e1a01,
	body .elementor-109 .elementor-element.elementor-element-066e87f,
	body .elementor-109 .elementor-element.elementor-element-3438b6d {
		--flex-direction: column;
		--flex-wrap: nowrap;
	}
	body .elementor-109 .elementor-element.elementor-element-c7e1a01 > .e-con,
	body .elementor-109 .elementor-element.elementor-element-066e87f > .e-con,
	body .elementor-109 .elementor-element.elementor-element-3438b6d > .e-con {
		--width: 100%;
	}

	/* Footer: the email split mid-word and the "Let's Chat" arrow button ran off the right edge. */
	body .elementor-13432 .elementor-element.elementor-element-b5fa809 {
		--flex-direction: column;
		--flex-wrap: nowrap;
	}
	body .elementor-13432 .elementor-element.elementor-element-b5fa809 > .e-con {
		--width: 100%;
	}
}

/* ------------------------------------------------------------------
   Phone layout pass (767px and below)
   ------------------------------------------------------------------ */
@media (max-width: 767px) {
	/* Inner-page heroes (About, Services, the three solutions): 190px of empty black
	   sat between the header and the page title. */
	body:not(.home) [data-elementor-type="wp-page"] > .e-con:first-child {
		--padding-top: 56px;
		--padding-bottom: 80px;
	}
	/* Contact: the photo leads straight into the form card below it, so less space between. */
	body .elementor-115[data-elementor-type="wp-page"] > .e-con.elementor-element-d1c9634:first-child {
		--padding-bottom: 0px;
	}

	/* Services and solution pages: the button sat right against the paragraph above it. */
	.elementor-110 .elementor-widget-tm-ele-text-editor + .elementor-widget:has(.btn-style-one),
	.elementor-111 .elementor-widget-tm-ele-text-editor + .elementor-widget:has(.btn-style-one),
	.elementor-112 .elementor-widget-tm-ele-text-editor + .elementor-widget:has(.btn-style-one),
	.elementor-113 .elementor-widget-tm-ele-text-editor + .elementor-widget:has(.btn-style-one) {
		margin-top: 24px;
	}

	/* "Trusted by clients" ring (Home and solution pages): the 340px ring ran into the
	   edges of its card. */
	.tm-circle-text svg {
		width: 280px !important;
		height: 280px !important;
	}
	.tm-circle-text .icon {
		width: 140px !important;
		height: 140px !important;
	}

	/* Client logos: each slide was 264px tall (100px padding above and below a 64px logo). */
	.tm-sc-clients-logo .each-logo {
		padding-top: 36px !important;
		padding-bottom: 36px !important;
	}

	/* Back-to-top button: smaller and tucked into the corner so it covers less text. */
	.scroll-to-top .scroll-link {
		width: 40px !important;
		height: 40px !important;
		line-height: 40px !important;
		font-size: 16px !important;
		right: 12px !important;
		bottom: 12px !important;
	}
}

/* ------------------------------------------------------------------
   Inner-page headers (Services, the three solutions, About)
   Editorial split: small gold label, two-line headline (white word,
   then gold italic word), photo with a thin gold frame. Replaces the
   dark pill ("bubble") that sat around the middle word.
   ------------------------------------------------------------------ */
:is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child {
	--ethnos-head-size: clamp(48px, 7vw, 104px);
}

/* Label above the headline ("DIGITAL MARKETING", "ABOUT"…), with a short gold rule. */
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .elementor-widget-tm-ele-section-title .title {
	font-family: Urbanist, sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.24em !important;
	color: #E8B24D !important;
	margin: 0 0 20px !important;
	padding-left: 64px;
	background: linear-gradient(#E8B24D, #E8B24D) left center / 48px 1px no-repeat;
}

/* The pill: strip its ring and dark fill so the word sits in the headline. */
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .e-con:nth-child(2) {
	--flex-direction: column;
	--align-items: flex-start;
	--gap: 0px;
	--row-gap: 0px;
	--column-gap: 0px;
	flex-direction: column !important;
	align-items: flex-start !important;
	gap: 0 !important;
}
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .e-con:nth-child(2) > .e-con,
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .e-con:nth-child(2) > .e-con .e-con {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	width: auto !important;
	min-width: 0 !important;
	--width: auto;
	--min-height: 0px;
	min-height: 0 !important;
}
/* First headline word, white. */
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .e-con:nth-child(2) .tm-text-editor,
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .e-con:nth-child(2) .tm-text-editor p {
	font-family: "GT Walsheim Pro", sans-serif !important;
	font-size: var(--ethnos-head-size) !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: -0.02em !important;
	color: #ffffff !important;
	text-align: left !important;
	margin: 0 !important;
}
/* Second headline word, gold, set in the same regular face as the white word (client, Nov 13). */
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .e-con:nth-child(2) .tm-sc-section-title .title {
	font-family: "GT Walsheim Pro", sans-serif !important;
	font-size: var(--ethnos-head-size) !important;
	font-style: normal !important;
	font-weight: 500 !important;
	line-height: 1.04 !important;
	letter-spacing: -0.02em !important;
	text-transform: none !important;
	color: #E8B24D !important;
	margin: 0 !important;
	padding: 0 !important;
}
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child .title-seperator-line {
	display: none;
}
/* Space between the headline and the paragraph. */
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .elementor-widget-spacer {
	--spacer-size: 28px;
}
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .elementor-widget-spacer .elementor-spacer-inner {
	height: 28px !important;
}

/* Services: "The" joins "Ethnos" on the first line ("The Ethnos / Advantage"),
   and a "SOLUTIONS" label takes its place above. */
body .elementor-110[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child {
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: baseline !important;
	column-gap: 0 !important;
	row-gap: 0 !important;
	--flex-direction: row;
	--flex-wrap: wrap;
}
body .elementor-110[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child::before {
	content: "SOLUTIONS";
	position: static !important;
	inset: auto !important;
	opacity: 1 !important;
	display: block !important;
	width: auto !important;
	height: auto !important;
	flex: 0 0 100%;
	font-family: Urbanist, sans-serif;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.24em;
	color: #E8B24D;
	margin-bottom: 20px;
	padding-left: 64px;
	background: linear-gradient(#E8B24D, #E8B24D) left center / 48px 1px no-repeat !important;
}
body .elementor-110[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .e-con:nth-child(2) {
	display: contents !important;
}
body .elementor-110[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .elementor-widget-tm-ele-section-title {
	width: auto !important;
	margin-right: 0.24em;
	font-size: var(--ethnos-head-size);
}
body .elementor-110[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .elementor-widget-tm-ele-section-title .title {
	font-family: "GT Walsheim Pro", sans-serif !important;
	font-size: var(--ethnos-head-size) !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: -0.02em !important;
	text-transform: none !important;
	color: #ffffff !important;
	margin: 0 !important;
	padding: 0 !important;
	background: none !important;
}
body .elementor-110[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .e-con:nth-child(2) > .e-con:last-child,
body .elementor-110[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .elementor-widget-spacer,
body .elementor-110[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .elementor-widget-spacer ~ * {
	flex-basis: 100% !important;
	width: 100% !important;
}

/* Photo: squarer corners and a thin gold frame just outside it. */
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:nth-child(2) {
	border-radius: 6px !important;
	outline: 1px solid rgba(232, 178, 77, 0.7);
	outline-offset: 14px;
}
/* Tablet and phone: the photo runs edge to edge, so the frame moves inside it. */
@media (max-width: 1024px) {
	body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:nth-child(2) {
		outline-offset: -12px;
	}
	/* Services: its spacer is hidden below desktop, so the paragraph sat on the headline. */
	body .elementor-110[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:first-child > .e-con:last-child {
		margin-top: 28px !important;
	}
}
@media (min-width: 768px) and (max-width: 1024px) {
	/* Less empty black between the menu bar and the header label on tablets. */
	body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child {
		--padding-top: 72px;
	}
}

/* Home, "It's all about Enhancing your brand": same editorial header as the inner pages.
   "IT'S ALL ABOUT" becomes the small gold label, "Enhancing" loses its pill and turns
   white, "Your brand" is the gold italic second line, and the photo gets the gold frame. */
body .elementor-109 .elementor-element.elementor-element-a1ed212 {
	margin-bottom: 20px !important;
}
body .elementor-109 .elementor-element.elementor-element-a1ed212 .title {
	font-family: Urbanist, sans-serif !important;
	font-size: 14px !important;
	font-weight: 600 !important;
	line-height: 1.4 !important;
	letter-spacing: 0.24em !important;
	color: #E8B24D !important;
	margin: 0 !important;
	padding-left: 64px;
	background: linear-gradient(#E8B24D, #E8B24D) left center / 48px 1px no-repeat;
}
body .elementor-109 .elementor-element.elementor-element-a1ed212 .title-seperator-line,
body .elementor-109 .elementor-element.elementor-element-861a802 .title-seperator-line {
	display: none;
}
body .elementor-109 .elementor-element.elementor-element-74c178b.e-con {
	gap: 0 !important;
}
body .elementor-109 .elementor-element:is(.elementor-element-d95fcb8, .elementor-element-69419e6, .elementor-element-487a930, .elementor-element-f583199).e-con {
	background: none !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	margin: 0 !important;
	--padding-top: 0px;
	--padding-right: 0px;
	--padding-bottom: 0px;
	--padding-left: 0px;
	min-height: 0 !important;
	--min-height: 0px;
}
body .elementor-109 .elementor-element.elementor-element-2ff4e4a .tm-text-editor,
body .elementor-109 .elementor-element.elementor-element-2ff4e4a .tm-text-editor p {
	font-family: "GT Walsheim Pro", sans-serif !important;
	font-size: clamp(48px, 7vw, 104px) !important;
	font-weight: 500 !important;
	line-height: 1 !important;
	letter-spacing: -0.02em !important;
	color: #ffffff !important;
	margin: 0 !important;
}
body .elementor-109 .elementor-element.elementor-element-861a802 .title {
	font-family: "GT Walsheim Pro", sans-serif !important;
	font-size: clamp(48px, 7vw, 104px) !important;
	font-style: normal !important;
	font-weight: 500 !important;
	line-height: 1.04 !important;
	letter-spacing: -0.02em !important;
	text-transform: none !important;
	color: #E8B24D !important;
	margin: 0 !important;
	padding: 0 !important;
}
body .elementor-109 .elementor-element.elementor-element-b286a4d.e-con {
	margin-top: 32px !important;
}
body .elementor-109 .elementor-element.elementor-element-72ace0a {
	border-radius: 6px !important;
	outline: 1px solid rgba(232, 178, 77, 0.7);
	outline-offset: 14px;
}
@media (max-width: 1024px) {
	body .elementor-109 .elementor-element.elementor-element-72ace0a {
		outline-offset: -12px;
	}
}

/* Home, "Enhancing your brand": on phones the woman photo comes first, above the text. */
@media (max-width: 767px) {
	body .elementor-109 .elementor-element.elementor-element-72ace0a { order: -1; }
}

/* ==================================================================
   Client revisions, Nov 13 2026
   All of these are CSS-only so they never overwrite edits the client
   makes in Elementor on the live site.
   ================================================================== */

/* 1. One solid background across the site, matching the logo's black
      (it was a mix of #0d0d0d, #151414, #121310 and a grey gradient image). */
:root {
	--ethnos-bg: #000000;
}
body,
body.tm-stretched-layout,
#wrapper,
.main-content {
	background-color: var(--ethnos-bg) !important;
}
/* Sections that used the grey diagonal-gradient image (Bg-1.jpg) or a dark-grey fill. */
:is(
	.elementor-109 .elementor-element-77d2059,
	.elementor-109 .elementor-element-50c8a35,
	.elementor-110 .elementor-element-ebfd5fd,
	.elementor-111 .elementor-element-7acd543,
	.elementor-112 .elementor-element-782e047,
	.elementor-113 .elementor-element-c36a836,
	.elementor-114 .elementor-element-e7e7688,
	.elementor-115 .elementor-element-7af0d01
):not(.elementor-motion-effects-element-type-background) {
	background-color: var(--ethnos-bg) !important;
	background-image: none !important;
}
/* Testimonial ring centers, nav dropdown and mobile menu panel. */
.tm-circle-text .icon {
	background-color: var(--ethnos-bg) !important;
}
#elementor-header-top .menuzord-menu ul.dropdown,
#elementor-header-top-sticky .menuzord-menu ul.dropdown,
body:not(.elementor-editor-active) .tm-header-menu {
	background-color: var(--ethnos-bg);
}

/* 4. Header phone icon ("Let's Chat"): white instead of the theme red. */
.tm-sc-icon-box .icon svg.e-fas-phone {
	fill: #ffffff !important;
}
.tm-sc-icon-box .icon i.fa-phone,
.tm-sc-icon-box .icon i.fa-phone-alt {
	color: #ffffff !important;
}

/* 5. Gold words in section titles ("About Us.", "Outcomes"...): regular, not italic. */
body .tm-sc-section-title .title,
body .tm-sc-section-title .title [class*="elementor-repeater-item-"] {
	font-style: normal !important;
}

/* 6. Home: big "SOLUTIONS" word filled white instead of an outline. */
body .elementor-109 .elementor-element:is(.elementor-element-53ba767, .elementor-element-15fc616, .elementor-element-1100a48) .elementor-repeater-item-9c1902b,
body .elementor-109 .elementor-element:is(.elementor-element-53ba767, .elementor-element-15fc616, .elementor-element-1100a48) .elementor-repeater-item-9c1902b * {
	color: #ffffff !important;
	-webkit-text-fill-color: #ffffff;
}

/* 7. Outcomes cards: the photo spun continuously on hover. Now it holds still and
      gives a small wiggle with a slight zoom instead. */
.service-block-style1 .inner-column .image-box img {
	transition: transform 0.3s ease;
}
.service-block-style1 .inner-column:hover .image-box img {
	animation: ethnos-wiggle 0.6s ease-in-out !important;
	transform: scale(1.04);
}
@keyframes ethnos-wiggle {
	0%, 100% { transform: scale(1.04) rotate(0deg); }
	25%      { transform: scale(1.04) rotate(-3deg); }
	50%      { transform: scale(1.04) rotate(3deg); }
	75%      { transform: scale(1.04) rotate(-1.5deg); }
}
@media (prefers-reduced-motion: reduce) {
	.service-block-style1 .inner-column:hover .image-box img {
		animation: none !important;
	}
}

/* 8. Round photos on Home, Services and the solution pages: perfect circles at every
      screen size (non-square photos were stretched into ovals). Images listed here plus
      any image rounded to 50%+ in Elementor, which ethnos-effects.js tags with
      .ethnos-circle-img, so new ones the client adds become circles too. */
.ethnos-circle-img img,
.elementor-109 .elementor-element-e25f4b6 img,
.elementor-110 :is(.elementor-element-796986e, .elementor-element-5c87a6c, .elementor-element-16bd2fd) img,
.elementor-111 :is(.elementor-element-73fe2b9, .elementor-element-37ebe95, .elementor-element-3acd8d1, .elementor-element-2ebacfa) img,
.elementor-112 :is(.elementor-element-c971b65, .elementor-element-d836f19, .elementor-element-cc8b240) img,
.elementor-113 :is(.elementor-element-e93976a, .elementor-element-1193824, .elementor-element-184a2e3, .elementor-element-a4147c9) img {
	aspect-ratio: 1 / 1;
	height: auto !important;
	object-fit: cover;
	border-radius: 50% !important;
}

/* 10. Footer: same chalk texture as the header sections, instead of flat black. */
.elementor-13432 .elementor-element.elementor-element-784b816:not(.elementor-motion-effects-element-type-background) {
	background-color: var(--ethnos-bg) !important;
	background-image: url("assets/images/chalk-texture.jpg") !important;
	background-position: center center !important;
	background-repeat: no-repeat !important;
	background-size: cover !important;
}

/* 11. Contact: taller photo so it shows her holding the folders. The box keeps the
       photo's own shape on desktop, so nothing is cropped off the bottom. */
body .elementor-115 .elementor-element.elementor-element-9bd64c6 {
	--min-height: 0px;
	aspect-ratio: 1868 / 1029;
	background-position: center top !important;
}
@media (max-width: 767px) {
	body .elementor-115 .elementor-element.elementor-element-9bd64c6 {
		aspect-ratio: auto;
		--min-height: 340px;
		background-position: 35% bottom !important;
	}
}

/* 2. Header logo: the new wide lion + "ETHNOS CONSULTANCY" logo (swapped in by functions.php).
      The theme sized logos for the old square crest, so give the wide one more width. */
header#header #elementor-header-top .site-brand {
	--menuzord-brand-width: 300px;
}
header#header #elementor-header-top-sticky .site-brand {
	--menuzord-brand-width: 230px;
}
.ethnos-header-logo {
	height: auto;
	max-width: 100%;
}
/* Tablet/phone bar: the theme caps this logo's height for the old crest, which shrank
   the wide logo to 64px across. */
header#header .tm-header-branding .menuzord-brand img.logo-mobile-version {
	width: 210px !important;
	max-width: 60vw;
	height: auto !important;
	max-height: none !important;
}
/* Sticky header: solid black like the rest of the site (it was 92% black over the page). */
@media (min-width: 1025px) {
	#elementor-header-top-sticky .elementor-element-fa9cc9b {
		background-color: var(--ethnos-bg) !important;
	}
}

/* 3. Main logo (stacked lion + silver "ETHNOS"). */
body .elementor-109 .elementor-element.elementor-element-c7e1a03 img {
	width: 200px !important;
	max-width: 100%;
	height: auto !important;
}
body .elementor-13432 .elementor-element.elementor-element-04b3342 .site-brand {
	--menuzord-brand-width: 190px;
	--menuzord-brand-width-responsive: 170px;
}
body .elementor-13432 .elementor-element.elementor-element-04b3342 img {
	width: 190px !important;
	max-width: 100%;
	height: auto !important;
}
/* "Trusted by clients" ring: keep the logo inside the round center, uncropped
   (the widget rounds the image itself, which clipped the logo's corners). */
.tm-circle-text .icon img[src*="ethnos-logo-2026"] {
	width: 68% !important;
	border-radius: 0 !important;
	overflow: visible !important;
}

/* ==========================================================================
   Client revisions, Nov 22 2026
   ========================================================================== */

/* Services, "What We Do / Our Solutions": the Brand Development row is mirrored (photo on the
   right), so slide each half in from its own side, as the Digital Marketing row does. */
@media (min-width: 768px) {
	.elementor-110 .elementor-element-1620411 .elementor-element-bc3f9ff.animated {
		animation-name: tm-fadeInRight;
	}
	.elementor-110 .elementor-element-1620411 .elementor-element-2c5f99f.animated {
		animation-name: tm-fadeInLeft;
	}
}

/* Contact page: the footer doesn't repeat the email, phone, LinkedIn, hours and address
   that are already in the contact card. */
body.page-id-115 footer :is(
	.elementor-element-8a42eb8,
	.elementor-element-08c9e23,
	.elementor-element-acaab5d,
	.elementor-element-c9f07cd
) {
	display: none !important;
}

/* Client mobile revisions, Nov 22 2026 */
@media (max-width: 767px) {
	/* Home: less empty space between the "Let's Discuss Your Brand Strategy"
	   button and the About Us photo. */
	body.page-id-109 .elementor-element-03b04ea {
		margin-bottom: 0 !important;
	}
	body.page-id-109 .elementor-element-bd7f096 > .e-con-inner {
		padding-bottom: 40px !important;
	}
	body.page-id-109 .elementor-element-7243052 > .e-con-inner {
		padding-top: 60px !important;
	}

	/* Home: "We Foster Better Outcomes" on one line, "In These Areas" below it. */
	body.page-id-109 .elementor-element-124146f h2.title {
		font-size: 6.5vw;
	}
	body.page-id-109 .elementor-element-124146f .title-part1 {
		white-space: nowrap;
	}
	body.page-id-109 .elementor-element-124146f .title-part1 + span {
		display: block;
	}

	/* Testimonials: keep the name and avatar at the bottom of every slide, so
	   they line up with the arrows however many lines the quote takes. */
	.tm-testimonial-carousel .swiper-slide {
		height: auto;
	}
	.tm-testimonial-carousel .testimonial-block-style1 {
		height: 100%;
		display: flex;
		flex-direction: column;
	}
	.tm-testimonial-carousel .testimonial-block-style1 .author-text {
		flex: 1 0 auto;
	}

	/* Services, the three solution pages and About: the top photo comes first,
	   so the page reads photo, text, photo, text. */
	:is(
		.elementor-110 .elementor-element-aecc0f3,
		.elementor-111 .elementor-element-b3b0a45,
		.elementor-112 .elementor-element-58fa599,
		.elementor-113 .elementor-element-46cc14f,
		.elementor-114 .elementor-element-26c78d4
	) {
		order: -1 !important;
	}
}

/* Hero photos: the dark overlay (::before) keeps Elementor's 20px corners while the
   photo above is squared to 6px, so the bright photo showed in the corners.
   Make the overlay follow the photo's corners. */
body :is(.elementor-110, .elementor-111, .elementor-112, .elementor-113, .elementor-114)[data-elementor-type="wp-page"] > .e-con:first-child > .e-con-inner > .e-con:first-child > .e-con:nth-child(2)::before,
body .elementor-109 .elementor-element.elementor-element-72ace0a::before {
	border-radius: inherit !important;
}

/* "What We Do / What We Offer" lists (Services and the three solution pages) and the
   home "Our Solutions" block: the desktop spacing left ~180px gaps on phones. */
@media (max-width: 767px) {
	:is(.elementor-element-4961f09, .elementor-element-2c699fe, .elementor-element-3b27bb4, .elementor-element-095eeb2) > .e-con-inner > .e-con > .e-con-inner {
		padding-top: 0 !important;
		padding-bottom: 0 !important;
	}
	:is(.elementor-element-4961f09, .elementor-element-2c699fe, .elementor-element-3b27bb4, .elementor-element-095eeb2) > .e-con-inner > .e-con:not(:first-child) {
		margin-top: 56px !important;
	}
	/* photo to its text */
	:is(.elementor-element-4961f09, .elementor-element-2c699fe, .elementor-element-3b27bb4, .elementor-element-095eeb2) > .e-con-inner > .e-con > .e-con-inner > .e-con:nth-child(2) {
		margin-top: 8px !important;
	}

	body.page-id-109 .elementor-element-b42fbd7 {
		padding-top: 64px !important;
	}
	body.page-id-109 .elementor-element-ed21d27 {
		margin-top: 0 !important;
		padding-top: 48px !important;
		padding-bottom: 48px !important;
	}
	body.page-id-109 .elementor-element-50c8a35 {
		padding-top: 56px !important;
	}
}

/* Solution pages' testimonials: gold arrow buttons on the name row, styled like the arrow
   widget on the home page. The markup is added in functions.php (ethnos_child_shared_testimonials). */
.elementor-widget-container:has(> .ethnos-testimonial-arrows) {
	position: relative;
}
.ethnos-testimonial-arrows {
	position: absolute;
	right: 0;
	bottom: 4px; /* centred on the photo, as on the home page */
	z-index: 2;
	display: flex;
}
.ethnos-testimonial-arrows .tm-swiper-arrow {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	cursor: pointer;
	background-color: var(--theme-color1);
	box-shadow: 0 1px 72px 0 rgba(0, 0, 0, 0.14);
	transition: background-color 0.3s ease;
}
.ethnos-testimonial-arrows .tm-swiper-arrow-prev {
	margin-right: 12px;
}
.ethnos-testimonial-arrows .tm-swiper-arrow i {
	color: #000;
	font-size: 16px;
	transition: color 0.3s ease;
}
.ethnos-testimonial-arrows .tm-swiper-arrow i::before {
	position: relative;
	top: 1px;
}
.ethnos-testimonial-arrows .tm-swiper-arrow:hover,
.ethnos-testimonial-arrows .tm-swiper-arrow:focus-visible {
	background-color: var(--theme-color2);
}
.ethnos-testimonial-arrows .tm-swiper-arrow:hover i,
.ethnos-testimonial-arrows .tm-swiper-arrow:focus-visible i {
	color: #fff;
}
/* Keep a long name clear of the arrows */
.elementor-widget-container:has(> .ethnos-testimonial-arrows) .testimonial-block-style1 .infu {
	padding-right: 120px; /* the arrows (116px) plus a little air */
}
/* At every width, pin the name row to the bottom of each slide so it stays level with the
   arrows when the quotes differ in length (the same as the phone layout above). */
.elementor-widget-container:has(> .ethnos-testimonial-arrows) .swiper-slide {
	height: auto;
}
.elementor-widget-container:has(> .ethnos-testimonial-arrows) .testimonial-block-style1 {
	height: 100%;
	display: flex;
	flex-direction: column;
}
.elementor-widget-container:has(> .ethnos-testimonial-arrows) .testimonial-block-style1 .author-text {
	flex: 1 0 auto;
}
@media (max-width: 767px) {
	.ethnos-testimonial-arrows {
		bottom: 5px; /* the name row has more padding below it on phones */
	}
}

/* Footer "Let's / Work Together" on phones: the Let's row had a 20px margin plus a 10px column gap,
 * so Let's sat further from Work than Work does from Together. Remove the extra 30px. */
@media (max-width: 767px) {
	.elementor-element-7cb92c7 {
		row-gap: 0 !important;
	}
	.elementor-element-b9ffc85 {
		margin-bottom: 0 !important;
	}
}

/* Home "What We Do": the big drifting "SOLUTIONS" word (160px) ran off the right edge on desktop.
 * Scale it to the screen so the whole word stays visible while it drifts. Tablet/phone already fit. */
@media (min-width: 1025px) {
	.elementor-element-53ba767 .each-item,
	.elementor-element-53ba767 .each-item p {
		font-size: min(160px, 6vw) !important;
	}
}
