/*
 * Apex Events — content.css
 * The look of the Events and Products added in the dashboard (printed by includes/content-render.php).
 * Values copied from the original Elementor cards so the design is unchanged. The photo panel,
 * hover and scroll effects come from effects.css / layout.css (.apex-card-grid, .apex-home-…).
 */

/* ---------- Category sections (Events and Products pages) ---------- */

.elementor .apex-cat {
	display: flex;
	flex-direction: column;
	gap: 40px;
	padding: 64px 48px;
}

.elementor .apex-cat-head {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.elementor .apex-cat-eyebrow {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 3px;
	text-transform: uppercase;
	color: var(--brand-red, #E22128);
}

.elementor .apex-cat-title {
	margin: 0;
	font-size: 64px;
	font-weight: 100;
	line-height: 1;
	letter-spacing: -2px;
	text-transform: none;
	color: #000;
}

.elementor .apex-cat-grid {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 28px;
	padding: 0;
}

/* ---------- Cards ---------- */

.elementor .apex-card {
	display: flex;
	flex-direction: column;
	flex: 1 1 320px;
	overflow: hidden;
	padding: 0;
	border: 1px solid rgba(0, 0, 0, .12);
	border-radius: 20px;
	background-color: #fff;
}

.elementor .apex-card-media {
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	gap: 10px;
	min-height: 190px;
	padding: 28px;
	background-image: linear-gradient(150deg, #3a0b0d 0%, #000 70%);
}

.elementor .apex-card-year {
	font-size: 72px;
	font-weight: 100;
	line-height: .85;
	letter-spacing: -3px;
	color: #fff;
}

.elementor .apex-card-num {
	font-size: 88px;
	font-weight: 100;
	line-height: .8;
	letter-spacing: -4px;
	color: #fff;
}

.elementor .apex-card-place {
	font-size: 12px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	color: #fff;
	opacity: .75;
}

.elementor .apex-card-body {
	display: flex;
	flex-direction: column;
	flex: 1 1 auto;
	gap: 12px;
	padding: 28px;
}

.elementor .apex-card--product .apex-card-body {
	gap: 14px;
}

.elementor .apex-card-title {
	margin: 0;
	font-size: 30px;
	font-weight: 300;
	line-height: 1.15;
	letter-spacing: -.5px;
	color: #000;
}

.elementor .apex-card-client {
	margin: 0;
	font-size: 13px;
	font-weight: 600;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: var(--brand-red, #E22128);
}

.elementor .apex-card-text {
	margin: 0;
	font-size: 16px;
	line-height: 1.65;
	color: #111;
}

.elementor .apex-card-scope {
	margin: auto 0 0;
	padding-top: 14px;
	border-top: 1px solid rgba(0, 0, 0, .12);
	font-size: 13px;
	line-height: 2;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #000;
	opacity: .75;
}

.elementor .apex-card-scope:empty,
.elementor .apex-card-text:empty {
	display: none;
}

/* ---------- Category buttons (top of the Events and Products pages) ---------- */

.elementor .apex-pills {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 12px;
	margin-top: 16px;
	padding: 0;
}

.elementor .apex-pill {
	display: inline-block;
	padding: 12px 26px;
	border: 1px solid rgba(0, 0, 0, .25);
	border-radius: 40px;
	background-color: transparent;
	font-size: 15px;
	color: #000;
	text-decoration: none;
	transition: color .25s ease, background-color .25s ease;
}

.elementor .apex-pill:hover,
.elementor .apex-pill:focus-visible {
	color: #fff;
	background-color: #000;
}

/* The buttons rise in one after another, like the rest of the page header. */
html.apex-fx body .elementor .apex-page-head .apex-pills > * {
	animation: apex-fx-rise .8s cubic-bezier(.2, .7, .2, 1) both;
}

html.apex-fx body .elementor .apex-page-head .apex-pills > :nth-child(1) { animation-delay: .57s; }
html.apex-fx body .elementor .apex-page-head .apex-pills > :nth-child(2) { animation-delay: .64s; }
html.apex-fx body .elementor .apex-page-head .apex-pills > :nth-child(3) { animation-delay: .71s; }
html.apex-fx body .elementor .apex-page-head .apex-pills > :nth-child(4) { animation-delay: .78s; }
html.apex-fx body .elementor .apex-page-head .apex-pills > :nth-child(5) { animation-delay: .85s; }
html.apex-fx body .elementor .apex-page-head .apex-pills > :nth-child(n+6) { animation-delay: .92s; }

/* ---------- Home: "Selected projects" rows ---------- */

.elementor .apex-home-project-list {
	display: flex;
	flex-direction: column;
	gap: 0;
	padding: 0;
	border-bottom: 1px solid rgba(255, 255, 255, .15);
}

.elementor .apex-home-project {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	padding: 32px 0;
	border-top: 1px solid rgba(255, 255, 255, .15);
}

.elementor .apex-home-project-num {
	flex: 0 0 48px;
	font-size: 14px;
	letter-spacing: 2px;
	color: var(--brand-red, #E22128);
}

.elementor .apex-home-project-title {
	flex: 1 1 480px;
	margin: 0;
	font-size: 56px;
	font-weight: 300;
	line-height: 1.05;
	letter-spacing: -1.5px;
	text-transform: none;
	color: #fff;
}

.elementor .apex-home-project-meta {
	flex: 0 1 340px;
	margin: 0;
	font-size: 13px;
	line-height: 1.8;
	letter-spacing: 1px;
	text-transform: uppercase;
	color: #fff;
	opacity: .65;
}

/* ---------- Home: "Hire & supply" list ---------- */

.elementor .apex-home-product-list {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	column-gap: 32px;
	padding: 0;
}

.elementor .apex-home-product {
	flex: 1 1 280px;
	margin: 0;
	padding: 20px 0;
	border-top: 1px solid rgba(0, 0, 0, .12);
	font-size: 22px;
	font-weight: 300;
	line-height: 1.3;
	color: #000;
}

/* ---------- Phones ---------- */

@media (max-width: 767px) {
	.elementor .apex-cat {
		gap: 28px;
		padding: 40px 20px;
	}

	.elementor .apex-cat-title {
		font-size: 40px;
	}

	.elementor .apex-home-project-title {
		flex: 1 1 100%;
		font-size: 32px;
		letter-spacing: -1px;
	}

	.elementor .apex-home-project-meta {
		flex: 1 1 100%;
	}

	.elementor .apex-home-product {
		font-size: 18px;
	}
}
