/**
 * About Widget — Picklemall Widgets
 */

/* ── Section ──────────────────────────────────────────────────────────────── */

.pm-about {
	position: relative;
	display: flex;
	flex-direction: row;
	align-items: center;
	max-width: 1440px;
	margin: 0 auto;
	/* Clip the horizontal bleed of the ball (no horizontal scrollbar) while
	   keeping vertical overflow visible — `clip` is the only overflow value
	   that doesn't force the other axis to compute to `auto`. */
	overflow-x: clip;
	overflow-y: visible;
}

/* ── Text column ──────────────────────────────────────────────────────────── */

.pm-about__text-col {
	flex: 50%;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 24px;
	padding: 80px clamp(24px, 5vw, 80px);
}

/* ── Image column ─────────────────────────────────────────────────────────── */

.pm-about__image-col {
	flex: 50%;
	/* anchor the absolute image so width:100% = this column's width */
	position: relative;
	align-self: stretch;
	min-height: 400px;
}

.pm-about__image {
	display: block;
	position: absolute;
	top: -40%;
	right: -20%;
	/* Fill the column width; height:auto keeps the intrinsic aspect ratio. */
	width: 100%;
	height: 1000px !important;
	object-fit: cover;
	max-width: none;
	z-index: 2;
}

/* ── Title ────────────────────────────────────────────────────────────────── */

.pm-about__title {
	font-family: var(--pm-font-header, 'A Love of Thunder', serif);
	font-size: 36px;
	font-weight: 400;
	line-height: 1.1;
	color: #fff;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 12px;
}

.pm-about__title-graffiti {
	font-family: var(--pm-font-graffiti, 'Pickup', cursive);
	font-size: 36px;
	font-weight: 400;
	text-transform: none;
	line-height: 1;
	color: var(--Colours-Brand-Primary-secondary---20, #FF6D2E);
	;
}

/* ── Subtitle ─────────────────────────────────────────────────────────────── */

.pm-about__subtitle {
	font-family: 'Inter', sans-serif;
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;
	color: rgba(255, 255, 255, 0.85);
	margin: 0;
	max-width: 480px;
}

/* WYSIWYG wraps content in <p>; keep it on-brand and tidy */
.pm-about__subtitle p {
	margin: 0 0 1em;
	font: inherit;
	color: inherit;
}

.pm-about__subtitle p:last-child {
	margin-bottom: 0;
}

.pm-about__subtitle a {
	color: var(--Colours-Brand-Primary-secondary---20, #FF6D2E);
	text-decoration: underline;
}

/* ── Wide screens (≥ 1440px): image fully visible, no overflow ────────────── */

@media (min-width: 1440px) {
	.pm-about__image {
		/* Pull the ball fully into view; keep height-driven sizing so the
		   ratio is never broken (don't set width here). */
		right: 0;
	}
}

/* ── Mobile (≤ 768px): image on top, text below, centered ─────────────────── */

@media (max-width: 768px) {
	.pm-about {
		/* DOM order is text → image; reverse so the image stacks on top */
		flex-direction: column-reverse;
		/* clip (not hidden) so the ball can still bleed upward on mobile */
		overflow-x: clip;
	}

	.pm-about__image-col {
		position: relative;
		width: 100%;
		min-height: 500px;
	}

	/* Flow the image in-column instead of absolute, and beat the desktop
	   width:auto / height:1000px !important rules. */
	.pm-about__image {
		height: 780px !important;
		position: absolute;
		/* width: 800px !important; */
		object-fit: cover;
		right: 0;
		top: -20%;
	}

	.pm-about__text-col {
		flex: 0 0 auto;
		width: 100%;
		align-items: center;
		text-align: center;
		padding: 40px clamp(20px, 6vw, 48px);
	}

	.pm-about__title {
		justify-content: center;
		font-size: clamp(28px, 6vw, 36px);
	}

	.pm-about__title-graffiti {
		font-size: clamp(28px, 6vw, 36px);
	}

	.pm-about__subtitle {
		max-width: 100%;
	}
}