/**
 * Haris Persona for Elementor — frontend styles.
 * Colours, sizes and spacing come from the Elementor Style tab;
 * the values here are structural fallbacks only.
 */

.haris-persona {
	--haris-persona-col: 40%;
	--haris-persona-align: left;
	--haris-persona-justify: flex-start;
	--haris-persona-stagger: 0.12s;
	position: relative;
	width: 100%;
	padding: 120px 100px;
	background-color: #0a0a0a;
	text-align: var(--haris-persona-align);
}

.haris-persona,
.haris-persona *,
.haris-persona *::before,
.haris-persona *::after {
	box-sizing: border-box;
}

.haris-persona__inner {
	display: flex;
	align-items: center;
	gap: 100px;
	width: 100%;
	margin-inline: auto;
}

/* --------------------------------------------------------------- Columns */

.haris-persona__intro {
	flex: 0 1 var(--haris-persona-col);
	min-width: 0;
}

.haris-persona__main {
	flex: 1 1 0;
	min-width: 0;
}

.haris-persona--quote-left .haris-persona__inner {
	flex-direction: row-reverse;
}

/* --------------------------------------------------------------- Eyebrow */

.haris-persona__eyebrow {
	display: flex;
	align-items: center;
	justify-content: var(--haris-persona-justify);
	gap: 14px;
	margin: 0 0 34px;
	color: #c9a227;
}

.haris-persona__eyebrow-line {
	display: block;
	width: 40px;
	height: 1px;
	background-color: currentColor;
	flex: 0 0 auto;
}

.haris-persona__eyebrow-text {
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 3px;
	text-transform: uppercase;
	line-height: 1;
}

/* ------------------------------------------------------------- Body text */

.haris-persona__body {
	color: #dcdcdc;
	font-size: 19px;
	line-height: 1.75;
}

.haris-persona__body p {
	margin: 0;
}

.haris-persona__body p + p {
	margin-top: 18px;
}

/* ------------------------------------------------------------ Quote mark */

.haris-persona__mark {
	display: block;
	margin-left: -4px;
	margin-bottom: -16px;
	color: #3a3a3a;
	font-size: 86px;
	line-height: 1;
	font-family: inherit;
	font-weight: 600;
	user-select: none;
}

.haris-persona__mark i,
.haris-persona__mark svg {
	display: block;
	width: 1em;
	height: 1em;
	font-size: inherit;
	fill: currentColor;
}

/* ----------------------------------------------------------------- Quote */

.haris-persona__quote {
	margin: 0 0 30px;
	padding: 0;
	border: 0;
	quotes: none;
	color: #f2f2f2;
	font-size: 34px;
	font-weight: 300;
	font-style: italic;
	line-height: 1.32;
}

.haris-persona__quote::before,
.haris-persona__quote::after {
	content: none;
}

.haris-persona__attribution {
	display: flex;
	align-items: center;
	justify-content: var(--haris-persona-justify);
	gap: 8px;
	margin: 0 0 58px;
	color: #c9a227;
	font-size: 11px;
	font-weight: 500;
	letter-spacing: 2px;
	text-transform: uppercase;
	line-height: 1;
}

/* --------------------------------------------------------------- Pillars */

.haris-persona__pillars {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	column-gap: 60px;
	row-gap: 34px;
}

.haris-persona__pillar {
	display: flex;
	flex-direction: column;
	gap: 12px;
	min-width: 0;
	border-top: 0 solid transparent;
	text-decoration: none;
	transition: transform 0.3s ease, opacity 0.3s ease;
}

.haris-persona--pillar-rule .haris-persona__pillar {
	border-top-width: 1px;
	border-top-color: rgba(255, 255, 255, 0.14);
	padding-top: 18px;
}

a.haris-persona__pillar:hover {
	transform: translateY(-2px);
}

.haris-persona__pillar-label {
	color: #fff;
	font-size: 11px;
	font-weight: 600;
	letter-spacing: 2px;
	text-transform: uppercase;
	line-height: 1;
}

.haris-persona__pillar-text {
	color: #adadad;
	font-size: 14px;
	line-height: 1.6;
}

/* -------------------------------------------------------------- Stacking */

@media (max-width: 1024px) {
	.haris-persona {
		padding: 80px 40px;
	}

	.haris-persona--stack-tablet .haris-persona__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.haris-persona--stack-tablet.haris-persona--stacked-quote-first .haris-persona__inner {
		flex-direction: column-reverse;
	}

	.haris-persona--stack-tablet .haris-persona__intro,
	.haris-persona--stack-tablet .haris-persona__main {
		flex: 1 1 auto;
	}
}

@media (max-width: 767px) {
	.haris-persona {
		padding: 60px 20px;
	}

	.haris-persona--stack-mobile .haris-persona__inner {
		flex-direction: column;
		align-items: stretch;
	}

	.haris-persona--stack-mobile.haris-persona--stacked-quote-first .haris-persona__inner {
		flex-direction: column-reverse;
	}

	.haris-persona--stack-mobile .haris-persona__intro,
	.haris-persona--stack-mobile .haris-persona__main {
		flex: 1 1 auto;
	}

	.haris-persona__body {
		font-size: 17px;
	}

	.haris-persona__quote {
		font-size: 23px;
	}

	.haris-persona__mark {
		font-size: 60px;
	}

	.haris-persona__pillars {
		grid-template-columns: minmax(0, 1fr);
	}
}

/* ------------------------------------------------------------ A11y / RM */

@media (prefers-reduced-motion: reduce) {
	.haris-persona *,
	.haris-persona *::before,
	.haris-persona *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
	}
}
