/**
 * TechBBQ Volunteering Benefits — "What You Get" split layout with orb backdrop.
 *
 * Figma refs in widget PHP (1440 / 1024 / 768 / 360).
 * Section vertical spacing lives on .techbbq-volunteering-benefits (widget root), not the Elementor container,
 * so the orb backdrop fills the padded area.
 *
 * Breakpoints (mobile-first): 0–767 (base), 768–1023, 1024–1439, 1440+.
 */

.techbbq-volunteering-benefits {
	--techbbq-volunteering-benefits-inner-gap: var(--techbbq-space-3);
	--techbbq-volunteering-benefits-intro-gap: var(--techbbq-space-2);
	--techbbq-volunteering-benefits-title-size: 30px;
	--techbbq-volunteering-benefits-desc-max-width: 576px;
	--techbbq-volunteering-benefits-grid-gap: var(--techbbq-space-1);
	--techbbq-volunteering-benefits-card-gap: var(--techbbq-space-3);
	--techbbq-volunteering-benefits-card-title-size: 20px;
	--techbbq-volunteering-benefits-grid-width: 100%;

	position: relative;
	box-sizing: border-box;
	width: 100%;
	padding: var(--techbbq-section-space-medium) 0 72px;
	overflow: hidden;
	color: var(--techbbq-content-primary);
	background-color: var(--techbbq-bg-main);
}

.techbbq-volunteering-benefits__orb {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	overflow: hidden;
	pointer-events: none;
}

img.techbbq-volunteering-benefits__orb-image,
.techbbq-volunteering-benefits__orb-picture {
	display: block;
	width: 100% !important;
	height: 100% !important;
	max-width: none !important;
}

.techbbq-volunteering-benefits__inner {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-volunteering-benefits-inner-gap);
	align-items: stretch;
	width: 100%;
}

.techbbq-volunteering-benefits__intro {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: flex-start;
	width: 100%;
	text-align: left;
}

.techbbq-volunteering-benefits__title {
	margin: 0;
	font-size: var(--techbbq-volunteering-benefits-title-size);
}

.techbbq-volunteering-benefits__description {
	max-width: var(--techbbq-volunteering-benefits-desc-max-width);
	margin: 0;
	color: var(--techbbq-content-secondary);
}

.techbbq-volunteering-benefits__grid {
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-volunteering-benefits-grid-gap);
	width: var(--techbbq-volunteering-benefits-grid-width);
}

.techbbq-volunteering-benefits__card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	gap: var(--techbbq-volunteering-benefits-card-gap);
	align-items: flex-start;
	width: 100%;
	padding: 20px;
	border-radius: 12px;
	background-color: var(--techbbq-bg-surface);
}

.techbbq-volunteering-benefits__icon {
	display: flex;
	flex-shrink: 0;
	align-items: center;
	align-self: flex-start;
	width: fit-content;
	padding: 4px;
}

.techbbq-volunteering-benefits__icon-image {
	display: block;
	flex-shrink: 0;
	width: 32px;
	height: 32px;
}

.techbbq-volunteering-benefits__card-title {
	margin: 0;
	font-size: var(--techbbq-volunteering-benefits-card-title-size);
	line-height: 1.2;
}

/* ── Tablet (768–1023) ── */
@media (min-width: 768px) {
	.techbbq-volunteering-benefits {
		--techbbq-volunteering-benefits-inner-gap: var(--techbbq-space-5);
		--techbbq-volunteering-benefits-title-size: 41px;
		--techbbq-volunteering-benefits-card-title-size: 24px;
		padding-bottom: 80px;
	}

	.techbbq-volunteering-benefits__grid {
		display: grid;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.techbbq-volunteering-benefits__card {
		gap: 0;
		justify-content: space-between;
		min-height: 256px;
	}
}

/* ── Desktop (1024–1439) ── */
@media (min-width: 1024px) {
	.techbbq-volunteering-benefits {
		--techbbq-volunteering-benefits-title-size: 44px;
		padding-bottom: 88px;
	}

	.techbbq-volunteering-benefits__grid {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

/* ── Wide screen (1440+) ── */
@media (min-width: 1440px) {
	.techbbq-volunteering-benefits {
		--techbbq-volunteering-benefits-inner-gap: var(--techbbq-space-2);
		--techbbq-volunteering-benefits-title-size: var(--techbbq-text-h3-size);
		--techbbq-volunteering-benefits-grid-width: 692px;
		padding-bottom: var(--techbbq-section-space-large);
	}

	.techbbq-volunteering-benefits__inner {
		flex-direction: row;
		align-items: flex-start;
	}

	.techbbq-volunteering-benefits__intro {
		flex: 1 1 0;
		min-width: 0;
	}

	.techbbq-volunteering-benefits__grid {
		flex: 0 0 var(--techbbq-volunteering-benefits-grid-width);
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}
