/* -----------------------------------------------------------------
 * CabLinks customizations (loaded via roast-child/functions.php)
 * Design tokens: dark #121D23, accent gold #E2B31D, text #CECECE
 * Fonts: Forum (headings), Jost (body)
 * ----------------------------------------------------------------- */

/* 1. Logo sizing: header and footer logos stay compact like the demo. */
.ata-site-logo img,
header .custom-logo {
	max-height: 52px !important;
	width: auto !important;
}
.elementor-widget-roast-site-logo {
	flex: 0 0 auto !important;
	width: auto !important;
}
.ekit-template-content-footer .elementor-widget-image img {
	max-height: 84px !important;
	width: auto !important;
}

/* 2. Menu: one line, tighter, flexible width. */
.elementskit-navbar-nav {
	flex-wrap: nowrap !important;
}
.elementor-widget-ekit-nav-menu {
	flex: 1 1 auto !important;
	width: auto !important;
}
.elementor-widget-ekit-nav-menu .elementskit-navbar-nav > li > a {
	font-size: 16px !important;
	white-space: nowrap;
}
.elementskit-navbar-nav > li {
	margin: 0 1px;
}

/* 3. Cards: Elementor containers default child widgets to height:100% which
   stretches each wrapped row to the full container height and makes card grids
   overflow into the next section. Keep card widgets at their natural height. */
.e-con > .elementor-widget-elementskit-icon-box,
.e-con > .elementor-widget-icon-box {
	height: auto !important;
	align-self: flex-start !important;
}

/* 4. Business hours / fact rows: label left, value right, never overlapping. */
.ekit-business-hours-inner > * {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	gap: 14px;
}
.ekit-business-day {
	padding-right: 8px;
}
.ekit-business-time {
	text-align: right;
	white-space: nowrap;
}

/* 5. Interactive link cards: keep captions legible over images. */
.ekit-interactive-link .ekit-interactive-link-title,
.ekit-interactive-link span {
	text-shadow: 0 1px 12px rgba(0, 0, 0, 0.45);
}

/* 6. Grades tabs: readable active state on dark backgrounds. */
.elementor-widget-n-tabs .e-n-tabs-heading .e-n-tab-title {
	border-color: rgba(226, 179, 29, 0.45) !important;
	color: #E2B31D;
	transition: all 0.25s ease;
}
.elementor-widget-n-tabs .e-n-tabs-heading .e-n-tab-title:hover {
	border-color: #E2B31D !important;
}
.elementor-widget-n-tabs .e-n-tabs-heading .e-n-tab-title[aria-selected="true"] {
	background-color: #E2B31D !important;
	border-color: #E2B31D !important;
	color: #121D23 !important;
}

/* 7. Content ticker band: consistent brand gold gradient. */
.elementor-widget-elementskit-content-ticker .elementor-widget-container {
	background-image: linear-gradient(90deg, #EBBF45 0%, #E2B31D 45%, #D4A417 100%) !important;
}

/* 8. Header offcanvas (slide-out menu): dark panel to match the site. */
.ekit-sidebar-widget {
	background-color: #121D23 !important;
	border-left: 5px solid #E2B31D;
}
.ekit-sidebar-widget .ekit_close-side-widget i {
	color: #121D23 !important;
}
.ekit-sidebar-widget .ekit-heading__description,
.ekit-sidebar-widget p {
	color: #CECECE !important;
}
.ekit-sidebar-widget .elementskit-infobox .ekit-heading__title {
	color: #E2B31D !important;
}
.ekit-sidebar-widget .elementskit-infobox .ekit-heading__description {
	color: #CECECE !important;
}
.ekit-sidebar-widget .elementor-element-3d6f719 {
	background-color: rgba(255, 255, 255, 0.05) !important;
	border: 1px solid rgba(226, 179, 29, 0.25) !important;
	border-radius: 12px;
}
.ekit-sidebar-widget .ekit-business-day {
	color: #E2B31D !important;
}
.ekit-sidebar-widget .ekit-business-time {
	color: #CECECE !important;
}
.ekit-sidebar-widget ul li a i {
	color: #CECECE !important;
}
.ekit-sidebar-widget ul li a:hover i {
	color: #E2B31D !important;
}

/* 12. Request a Quote: dark form card with readable labels and a gold submit. */
.elementor-11571 .elementor-element-8c55c16 .elementor-widget-container {
	background-color: rgba(255, 255, 255, 0.04) !important;
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 26px;
}
.elementor-11571 .wpcf7-form label {
	color: #CECECE !important;
}
.elementor-11571 .wpcf7-form input:not([type="submit"]),
.elementor-11571 .wpcf7-form textarea,
.elementor-11571 .wpcf7-form select {
	color: #FFFFFF !important;
	border-bottom: 1px solid rgba(255, 255, 255, 0.25) !important;
}
.elementor-11571 .wpcf7-form input[type="submit"] {
	background-color: #E2B31D !important;
	color: #121D23 !important;
	border: none;
	border-radius: 100px;
	padding: 16px 36px;
	font-weight: 600;
	cursor: pointer;
}
.elementor-11571 .wpcf7-form input[type="submit"]:hover {
	background-color: #D4A417 !important;
}
.elementor-11571 .wpcf7-not-valid-tip {
	color: #FF9B9B !important;
	font-size: 14px;
}
.elementor-11571 .wpcf7-form .wpcf7-not-valid {
	border-bottom-color: #FF9B9B !important;
}
.elementor-11571 .wpcf7-response-output {
	border-color: rgba(226, 179, 29, 0.5) !important;
	color: #CECECE;
}

/* 9. X (Twitter) icon: replace the bird glyph with the X logo (mask keeps hover colors). */
a[href*="//twitter.com/"] i::before,
a[href*="//x.com/"] i::before {
	content: "" !important;
}
a[href*="//twitter.com/"] i,
a[href*="//x.com/"] i {
	display: inline-block;
	width: 1em;
	height: 1em;
	background-color: currentColor;
	-webkit-mask: url("x-icon.svg") center / contain no-repeat;
	mask: url("x-icon.svg") center / contain no-repeat;
}

/* 10. (Section backgrounds are handled in the page data with full-cover sizing.) */

/* 11. Small screens: alignment polish. */
@media (max-width: 767px) {
	/* Header top bar stacks and centers */
	.elementor-element-e70103c {
		flex-direction: column !important;
		align-items: center !important;
		gap: 4px;
	}
	.elementor-element-98b4bf9 {
		width: 100% !important;
		flex-direction: column !important;
		align-items: center !important;
		gap: 4px;
	}
	.elementor-element-98b4bf9 .elementskit-infobox {
		justify-content: center !important;
	}
	.elementor-element-98b4bf9 .ekit-heading__title,
	.elementor-element-98b4bf9 .ekit-heading__description {
		text-align: center !important;
	}
	.elementor-element-e9124b2 {
		width: 100% !important;
	}
	.elementor-element-e9124b2 .ekit-social-icons-wrapper,
	.elementor-element-e9124b2 ul {
		justify-content: center !important;
		text-align: center !important;
	}

	/* Rows that contain buttons: center them on small screens */
	.e-con:has(> .elementor-widget-button) {
		justify-content: center !important;
	}
	.elementor-widget-button .elementor-widget-container {
		text-align: center;
	}

	/* Section title groups: balanced centered rhythm */
	.section-title,
	.section-title .elementor-heading-title {
		text-align: center;
	}
}

/* Team profile pages */
.team-profile-page {
	background: #121D23;
	color: #C9D0D3;
}

.team-profile-hero {
	background-image:
		linear-gradient(180deg, rgba(18, 29, 35, 0.78) 0%, rgba(18, 29, 35, 0.94) 100%),
		url('https://cablinksest.com/wp-content/uploads/2025/02/page-header-bg.jpg');
	background-size: cover;
	background-position: center;
	padding: 150px 24px 90px;
}

.team-profile-hero-inner {
	max-width: 1200px;
	margin: 0 auto;
}

.team-profile-eyebrow,
.team-profile-section-label {
	color: #E2B31D;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 0.16em;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.team-profile-hero h1 {
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: clamp(42px, 5vw, 68px);
	font-weight: 400;
	letter-spacing: 0.01em;
	line-height: 1.05;
	margin: 0 0 14px;
	text-transform: uppercase;
}

.team-profile-role {
	color: #E2B31D;
	font-size: 18px;
	line-height: 1.5;
	margin: 0 0 26px;
}

.team-profile-breadcrumb {
	align-items: center;
	color: #9AA4A8;
	display: flex;
	flex-wrap: wrap;
	font-size: 14px;
	gap: 8px;
}

.team-profile-breadcrumb a {
	color: #D6DADC;
	text-decoration: none;
}

.team-profile-breadcrumb a:hover {
	color: #E2B31D;
}

.team-profile-main {
	padding: 100px 24px;
}

.team-profile-grid {
	align-items: start;
	display: grid;
	gap: 70px;
	grid-template-columns: minmax(280px, 38%) 1fr;
	margin: 0 auto;
	max-width: 1200px;
}

.team-profile-image img {
	border-radius: 20px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.team-profile-body h2 {
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: clamp(32px, 3.4vw, 48px);
	font-weight: 400;
	line-height: 1.12;
	margin: 0 0 22px;
}

.team-profile-body p {
	color: #C9D0D3;
	font-size: 17px;
	line-height: 1.85;
	margin: 0 0 20px;
}

.team-profile-body h3 {
	color: #fff;
	font-size: 24px;
	font-weight: 500;
	margin: 36px 0 14px;
}

.team-profile-body ul {
	color: #C9D0D3;
	margin: 0 0 24px;
	padding-left: 20px;
}

.team-profile-body li {
	line-height: 1.7;
	margin-bottom: 10px;
}

.team-profile-quote {
	border-left: 3px solid #E2B31D;
	color: #F2F4F4;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: 24px;
	font-style: italic;
	line-height: 1.5;
	margin: 32px 0;
	padding: 8px 0 8px 28px;
}

.team-profile-quote p {
	color: inherit;
	font-size: inherit;
	font-style: inherit;
	line-height: inherit;
	margin: 0;
}

.team-profile-details {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin: 36px 0 0;
	padding-top: 28px;
}

.team-profile-details h3 {
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: 22px;
	font-weight: 400;
	margin: 0 0 18px;
}

.team-profile-details ul {
	list-style: none;
	margin: 0;
	padding: 0;
}

.team-profile-details li {
	align-items: baseline;
	border-bottom: 1px solid rgba(255, 255, 255, 0.06);
	display: flex;
	gap: 14px;
	padding: 14px 0;
}

.team-profile-details li:last-child {
	border-bottom: 0;
}

.team-profile-details .elementor-icon-list-icon {
	color: #E2B31D;
	flex: none;
	font-size: 15px;
	width: 20px;
}

.team-profile-details .elementor-icon-list-text {
	color: #C9D0D3;
	font-size: 16px;
	line-height: 1.6;
	min-width: 0;
	width: 100%;
}





.team-profile-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-top: 30px;
}

.team-profile-actions.footer-contact-item {
	border: 0;
	padding: 0;
	text-align: left;
	width: auto;
}

.team-profile-actions .team-theme-btn {
	align-items: center;
	background: transparent;
	border: 1px solid #E2B31D;
	border-radius: 100px;
	color: #E2B31D;
	display: inline-flex;
	font-size: 16px;
	font-weight: 500;
	justify-content: center;
	line-height: 1;
	padding: 16px 30px;
	text-decoration: none;
	white-space: nowrap;
}

.team-profile-actions .team-theme-btn-primary {
	background: #E2B31D;
	border-color: #E2B31D;
	color: #121D23;
}

.team-profile-more {
	padding: 0 24px 90px;
}

.team-profile-more-inner {
	border-top: 1px solid rgba(255, 255, 255, 0.08);
	margin: 0 auto;
	max-width: 1200px;
	padding-top: 60px;
}

.team-profile-more h2 {
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: 34px;
	font-weight: 400;
	margin: 0 0 28px;
}

.team-profile-more-grid {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.team-profile-more-card {
	align-items: center;
	background: rgba(255, 255, 255, 0.02);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 16px;
	display: flex;
	gap: 18px;
	padding: 16px;
	text-decoration: none;
	transition: border-color 0.25s ease, background-color 0.25s ease;
}

.team-profile-more-card:hover {
	background: rgba(226, 179, 29, 0.04);
	border-color: rgba(226, 179, 29, 0.5);
}

.team-profile-more-card img {
	border-radius: 50%;
	height: 72px;
	object-fit: cover;
	width: 72px;
}

.team-profile-more-copy {
	display: flex;
	flex: 1;
	flex-direction: column;
	gap: 5px;
}

.team-profile-more-copy strong {
	color: #fff;
	font-size: 17px;
}

.team-profile-more-copy span {
	color: #E2B31D;
	font-size: 14px;
	line-height: 1.4;
}

.team-profile-more-arrow {
	color: #E2B31D;
	font-size: 22px;
	line-height: 1;
}

.team-profile-separator {
	align-items: center;
	display: flex;
	gap: 18px;
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 24px 40px;
}

.team-profile-separator::before,
.team-profile-separator::after {
	content: "";
	flex: 1;
	height: 1px;
}

.team-profile-separator::before {
	background: linear-gradient(90deg, rgba(226, 179, 29, 0), rgba(226, 179, 29, 0.45));
}

.team-profile-separator::after {
	background: linear-gradient(90deg, rgba(226, 179, 29, 0.45), rgba(226, 179, 29, 0));
}

.team-profile-separator span {
	background: #E2B31D;
	border-radius: 50%;
	display: block;
	flex: none;
	height: 6px;
	width: 6px;
}

.team-profile-cta {
	background: linear-gradient(120deg, rgba(226, 179, 29, 0.12), rgba(18, 29, 35, 0));
	border-top: 1px solid rgba(226, 179, 29, 0.15);
	padding: 90px 24px;
}

.team-profile-cta-inner {
	margin: 0 auto;
	max-width: 900px;
	text-align: center;
}

.team-profile-cta h2 {
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: clamp(32px, 4vw, 46px);
	font-weight: 400;
	line-height: 1.15;
	margin: 0 0 16px;
}

.team-profile-cta p {
	color: #C9D0D3;
	font-size: 17px;
	line-height: 1.7;
	margin: 0 0 10px;
}

.team-profile-cta .team-profile-actions {
	justify-content: center;
}

@media (max-width: 991px) {
	.team-profile-grid {
		gap: 40px;
		grid-template-columns: 1fr;
	}

	.team-profile-image {
		max-width: 480px;
	}

	.team-profile-main {
		padding: 70px 24px;
	}

	.team-profile-more-grid {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 767px) {
	.team-profile-hero {
		padding: 130px 20px 60px;
	}

	.team-profile-main {
		padding: 60px 20px;
	}

	.team-profile-facts li {
		gap: 4px;
		grid-template-columns: 1fr;
	}

	.team-profile-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.team-profile-actions .team-theme-btn {
		width: 100%;
	}

	.team-profile-more {
		padding: 0 20px 60px;
	}

	.team-profile-cta {
		padding: 60px 20px;
	}
}

/* Uganda Origin page */
.origin-page .origin-section {
	border-top: 1px solid rgba(255, 255, 255, 0.07);
	padding: 90px 24px;
}

.origin-page .origin-intro-section {
	border-top: 0;
}

.origin-inner {
	margin: 0 auto;
	max-width: 1200px;
}

.origin-section h2 {
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: clamp(32px, 4vw, 48px);
	font-weight: 400;
	line-height: 1.1;
	margin: 0 0 18px;
}

.origin-lede {
	color: #C9D0D3;
	font-size: 17px;
	line-height: 1.8;
	margin: 0 0 40px;
	max-width: 780px;
}

.origin-copy p {
	color: #C9D0D3;
	font-size: 17px;
	line-height: 1.85;
	margin: 0 0 20px;
}

.origin-intro {
	align-items: start;
	display: grid;
	gap: 60px;
	grid-template-columns: minmax(0, 1.15fr) minmax(0, 0.85fr);
}

.origin-facts {
	background: linear-gradient(135deg, #E2B31D 0%, #E4CCB4 100%);
	border-radius: 24px;
	color: #121D23;
	padding: 36px;
}

.origin-facts h3 {
	color: #121D23;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: 26px;
	font-weight: 400;
	margin: 0 0 20px;
}

.origin-fact {
	border-bottom: 1px solid rgba(18, 29, 35, 0.16);
	display: grid;
	font-size: 15px;
	gap: 18px;
	grid-template-columns: 128px minmax(0, 1fr);
	line-height: 1.5;
	padding: 12px 0;
}

.origin-fact:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.origin-fact span:first-child {
	font-weight: 600;
}

.origin-regions-grid {
	display: grid;
	gap: 20px;
	grid-template-columns: repeat(4, minmax(0, 1fr));
}

.origin-region-card {
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 18px;
	display: flex;
	flex-direction: column;
	overflow: hidden;
}

.origin-region-image {
	line-height: 0;
}

.origin-region-image img {
	aspect-ratio: 4 / 3;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.origin-region-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 20px;
}

.origin-region-tag {
	color: #E2B31D;
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 0.14em;
	margin-bottom: 8px;
	text-transform: uppercase;
}

.origin-region-body h3 {
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: 24px;
	font-weight: 400;
	margin: 0 0 8px;
}

.origin-region-body p {
	color: #C9D0D3;
	font-size: 15px;
	line-height: 1.7;
	margin: 0 0 16px;
}

.origin-text-link {
	color: #E2B31D;
	font-size: 14px;
	font-weight: 500;
	margin-top: auto;
	text-decoration: none;
	width: fit-content;
}

.origin-text-link:hover {
	text-decoration: underline;
}

.origin-harvest-scroll {
	overflow-x: auto;
	padding-bottom: 4px;
}

.origin-harvest-table {
	border-collapse: collapse;
	min-width: 900px;
	width: 100%;
}

.origin-harvest-table th,
.origin-harvest-table td {
	border: 1px solid rgba(255, 255, 255, 0.08);
	color: #C9D0D3;
	font-size: 14px;
	padding: 14px 10px;
	text-align: center;
}

.origin-harvest-table thead th {
	background: rgba(255, 255, 255, 0.03);
	color: #E2B31D;
	font-weight: 500;
}

.origin-harvest-table tbody th {
	color: #fff;
	font-weight: 600;
	text-align: left;
	white-space: nowrap;
}

.origin-harvest-table .is-main {
	color: #E2B31D;
	font-weight: 600;
}

.origin-harvest-table .is-fly {
	color: #E4CCB4;
}

.origin-harvest-table .is-off {
	color: #6C777C;
}

.origin-note {
	color: #9AA4A8;
	font-size: 14px;
	line-height: 1.7;
	margin: 16px 0 0;
}

.origin-products-grid {
	display: grid;
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.origin-product-card {
	background: rgba(255, 255, 255, 0.025);
	border: 1px solid rgba(255, 255, 255, 0.08);
	border-radius: 20px;
	display: flex;
	flex-direction: column;
	padding: 30px;
}

.origin-product-card h3 {
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: 28px;
	font-weight: 400;
	margin: 0 0 12px;
}

.origin-product-card p {
	color: #C9D0D3;
	font-size: 16px;
	line-height: 1.75;
	margin: 0 0 18px;
}

.origin-product-card ul {
	color: #C9D0D3;
	line-height: 1.8;
	margin: 0 0 22px;
	padding-left: 20px;
}

.origin-product-card .origin-text-link {
	margin-top: auto;
}

.origin-quality {
	align-items: start;
	display: grid;
	gap: 60px;
	grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
}

.origin-quality h2 {
	max-width: 640px;
}

.origin-steps {
	counter-reset: origin-step;
	list-style: none;
	margin: 30px 0 0;
	padding: 0;
}

.origin-steps li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.07);
	counter-increment: origin-step;
	display: grid;
	gap: 16px;
	grid-template-columns: 42px minmax(0, 1fr);
	padding: 16px 0;
}

.origin-steps li:last-child {
	border-bottom: 0;
}

.origin-steps li::before {
	color: #E2B31D;
	content: counter(origin-step, decimal-leading-zero);
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: 22px;
	line-height: 1.3;
}

.origin-steps strong {
	color: #fff;
	display: block;
	font-size: 16px;
	font-weight: 600;
	margin-bottom: 4px;
}

.origin-steps span {
	color: #C9D0D3;
	font-size: 15px;
	line-height: 1.7;
}

.origin-compliance {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(226, 179, 29, 0.25);
	border-radius: 20px;
	padding: 30px;
}

.origin-compliance h3 {
	color: #fff;
	font-family: var(--e-global-typography-primary-font-family, Georgia), Georgia, serif;
	font-size: 26px;
	font-weight: 400;
	margin: 0 0 14px;
}

.origin-compliance ul {
	list-style: none;
	margin: 0 0 18px;
	padding: 0;
}

.origin-compliance li {
	align-items: flex-start;
	color: #C9D0D3;
	display: flex;
	font-size: 15px;
	gap: 10px;
	line-height: 1.6;
	padding: 8px 0;
}

.origin-compliance li i {
	color: #E2B31D;
	flex: none;
	font-size: 13px;
	margin-top: 4px;
}

.origin-network {
	align-items: center;
	display: grid;
	gap: 60px;
	grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
}

.origin-network-image {
	line-height: 0;
}

.origin-network-image img {
	aspect-ratio: 4 / 3;
	border-radius: 24px;
	display: block;
	height: auto;
	object-fit: cover;
	width: 100%;
}

.origin-network .team-profile-actions {
	margin-top: 26px;
}

.origin-cta {
	background:
		radial-gradient(circle at 50% 0%, rgba(226, 179, 29, 0.12) 0%, rgba(18, 29, 35, 0) 62%),
		#121D23;
	text-align: center;
}

.origin-cta .origin-inner {
	margin: 0 auto;
}

.origin-cta .origin-lede {
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}

.origin-cta .team-profile-actions {
	justify-content: center;
}

@media (max-width: 1100px) {
	.origin-regions-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-width: 991px) {
	.origin-intro,
	.origin-quality,
	.origin-network {
		gap: 40px;
		grid-template-columns: 1fr;
	}

	.origin-regions-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.origin-products-grid {
		grid-template-columns: 1fr;
	}

	.origin-page .origin-section {
		padding: 70px 24px;
	}

	.origin-network-image {
		max-width: 560px;
	}
}

@media (max-width: 767px) {
	.origin-page .origin-section {
		padding: 60px 20px;
	}

	.origin-regions-grid {
		grid-template-columns: 1fr;
	}

	.origin-fact {
		gap: 4px;
		grid-template-columns: 1fr;
	}

	.origin-facts {
		padding: 28px;
	}

	.origin-cta .team-profile-actions {
		align-items: stretch;
		flex-direction: column;
	}

	.origin-cta .team-profile-actions .team-theme-btn {
		width: 100%;
	}
}

/* Leadership team cards: theme profile button on hover */
.team-item.team-has-profile {
	-webkit-tap-highlight-color: transparent;
	cursor: pointer;
	flex-shrink: 0;
	min-width: 0;
	position: relative;
	transition: box-shadow 0.35s ease, transform 0.35s ease;
}

.team-item.team-has-profile::after {
	background: linear-gradient(180deg, rgba(18, 29, 35, 0) 38%, rgba(18, 29, 35, 0.55) 68%, rgba(18, 29, 35, 0.94) 100%);
	content: "";
	inset: 0;
	opacity: 0.55;
	pointer-events: none;
	position: absolute;
	transition: opacity 0.35s ease;
	z-index: 0;
}

.team-item.team-has-profile .team-image img {
	transition: transform 0.7s cubic-bezier(0.2, 0.7, 0.2, 1);
}

.team-item.team-has-profile .team-content {
	position: relative;
	text-shadow: 0 1px 3px rgba(18, 29, 35, 0.55);
	z-index: 3;
}

.team-item.team-has-profile .team-content .ekit_global_links {
	display: block;
	text-decoration: none;
	width: 100%;
}

.team-item.team-has-profile .team-content .ekit_global_links:focus,
.team-item.team-has-profile .team-content .ekit_global_links:focus-visible {
	outline: none;
}

/* Keep the three leadership cards on the same content rhythm. */
.team-item.team-has-profile .team-content .elementskit-info-box-title {
	min-height: 27px;
}

.team-item.team-has-profile .team-content .box-body p {
	margin-bottom: 0;
	min-height: 58px;
}

.team-profile-hover-wrap {
	display: flex;
	justify-content: center;
	margin-top: 0;
	max-height: 0;
	opacity: 0;
	overflow: hidden;
	pointer-events: none;
	transform: translateY(6px);
	transition: max-height 0.35s ease, margin-top 0.35s ease, opacity 0.3s ease, transform 0.35s ease;
	width: 100%;
}

.team-profile-hover-wrap .team-theme-btn {
	font-size: 14px;
	font-weight: 500;
	letter-spacing: 0;
	line-height: 1;
	padding: 14px 22px;
	text-transform: none;
	white-space: nowrap;
}

.team-item.team-has-profile:hover .team-profile-hover-wrap,
.team-item.team-has-profile.is-hover .team-profile-hover-wrap,
.team-item.team-has-profile:has(.ekit_global_links:focus-visible) .team-profile-hover-wrap {
	margin-top: 14px;
	max-height: 46px;
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.team-item.team-has-profile:hover .team-profile-hover-btn i,
.team-item.team-has-profile.is-hover .team-profile-hover-btn i {
	transform: translateX(3px);
}

.team-item.team-has-profile .team-profile-hover-btn i {
	transition: transform 0.25s ease;
}

.team-item.team-has-profile:hover,
.team-item.team-has-profile.is-hover {
	box-shadow: 0 20px 40px rgba(0, 0, 0, 0.28);
	transform: translateY(-4px);
}

.team-item.team-has-profile:hover::after,
.team-item.team-has-profile.is-hover::after {
	opacity: 1;
}

.team-item.team-has-profile:hover .team-image img,
.team-item.team-has-profile.is-hover .team-image img {
	transform: scale(1.045);
}

.team-item.team-has-profile.elementor-invisible {
	opacity: 1 !important;
	transform: none !important;
	visibility: visible !important;
}

@media (max-width: 767px) {
	.team-item.team-has-profile .team-content .box-body p {
		min-height: 52px;
	}
}

/* Blog article content */
.post-content h2 {
	color: #FFFFFF;
	font-family: Forum, Georgia, serif !important;
	font-size: clamp(28px, 3vw, 38px);
	font-weight: 400;
	line-height: 1.2;
	margin: 44px 0 16px;
}

.post-content h3 {
	color: #FFFFFF;
	font-size: 23px;
	font-weight: 500;
	line-height: 1.35;
	margin: 32px 0 12px;
}

.post-content p,
.post-content li {
	color: #CECECE;
	font-size: 18px;
	line-height: 1.75;
}

.post-content ul,
.post-content ol {
	margin: 0 0 24px;
	padding-left: 24px;
}

.post-content li {
	margin-bottom: 10px;
}

.post-content a {
	color: #E2B31D;
	text-decoration: underline;
	text-underline-offset: 3px;
}

.post-content a:hover {
	color: #FFFFFF;
}

.post-content .article-table-wrap {
	margin: 28px 0;
	overflow-x: auto;
}

.post-content table {
	border-collapse: collapse;
	margin: 0;
	min-width: 640px;
	width: 100%;
}

.post-content th,
.post-content td {
	border: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 15px;
	line-height: 1.6;
	padding: 12px 14px;
	text-align: left;
	vertical-align: top;
}

.post-content th {
	background: rgba(255, 255, 255, 0.04);
	color: #E2B31D;
	font-weight: 600;
}

.post-content td {
	color: #C9D0D3;
}

.post-content figure {
	margin: 32px 0;
}

.post-content figure img {
	border-radius: 14px;
	display: block;
	height: auto;
	width: 100%;
}

.post-content figcaption {
	color: #9AA4A8;
	font-size: 14px;
	line-height: 1.5;
	margin-top: 8px;
	text-align: center;
}

.post-content .article-cta {
	border-top: 1px solid rgba(255, 255, 255, 0.1);
	margin-top: 40px;
	padding-top: 24px;
}

@media (max-width: 767px) {
	.post-content h2 {
		margin-top: 34px;
	}

	.post-content p,
	.post-content li {
		font-size: 17px;
	}

	.post-content table {
		min-width: 560px;
	}
}

/* Keep the three leadership cards evenly sized on desktop. */
@media (min-width: 992px) {
	.team-item.team-has-profile {
		flex: 0 0 calc(33.333% - 20px);
		max-width: calc(33.333% - 20px);
		width: calc(33.333% - 20px);
	}
}
