.acthuman {
	--acthuman-gap: 20px;
	--acthuman-padding-y: 40px;
	--acthuman-padding-x: 16px;
	--acthuman-cols: 2;
	--acthuman-bg-start: #000000;
	--acthuman-bg-mid: var(--long-night, #0b0b2a);
	--acthuman-bg-end: #3331c5;
	--acthuman-text: var(--polar, #ffffff);

	padding: var(--acthuman-padding-y) var(--acthuman-padding-x);
}

acthuman-section.acthuman {
	display: block;
}

acthuman-header.acthuman-header,
acthuman-card.acthuman-card,
acthuman-card-inner.acthuman-card__inner,
acthuman-date.acthuman-date,
acthuman-title.acthuman-title,
acthuman-desc.acthuman-desc,
acthuman-video.acthuman-video {
	display: block;
}

acthuman-grid.acthuman-grid {
	display: grid;
}

.acthuman :where(acthuman-date, acthuman-title, acthuman-desc, acthuman-card, acthuman-card-inner) {
	color: var(--acthuman-text) !important;
}

.acthuman a.acthuman-link {
	color: var(--acthuman-text) !important;
	text-decoration: none !important;
}

.acthuman-header {
	background:
		linear-gradient(130deg, #000002, #3331c5);
	background-repeat: no-repeat;
	background-size: contain, cover;
	background-position: center, center;
	border-radius: 8px;
	margin: 0 0 24px 0;
}

.acthuman-grid {
	display: grid;
	grid-template-columns: repeat(var(--acthuman-cols), minmax(0, 1fr));
	gap: var(--acthuman-gap);
	padding: 0;
	margin: 0 0 var(--acthuman-gap) 0;
}

.acthuman-card {
	box-sizing: border-box;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	padding: 30px;
	border-radius: 10px;
	background: linear-gradient(135deg, var(--acthuman-bg-start) 0%, var(--acthuman-bg-mid) 50%, var(--acthuman-bg-end) 100%) !important;
	color: var(--acthuman-text) !important;
}

.acthuman-title,
.acthuman-desc,
.acthuman-link {
	overflow-wrap: anywhere;
	word-break: normal;
}

@media (max-width: 1200px) {
	.acthuman {
		/* Prevent 3–4 column layouts from getting squished on tablets. */
		--acthuman-cols: 2;
	}
}

@media (max-width: 900px) {
	.acthuman {
		--acthuman-cols: 1;
	}
}

.acthuman-card__inner {
	display: flex;
	flex-direction: column;
	height: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	border-radius: 8px;
}

.acthuman-date {
	font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
	font-weight: 700;
	margin: 0;
	font-size: 1.1rem;
	color: var(--acthuman-text) !important;
	padding-bottom: 1rem;
}

.acthuman-title {
	font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
	font-weight: 700;
	font-size: 1.8rem;
	line-height: 1.2;
	margin: 20px 0;
	color: var(--acthuman-text) !important;
	background: transparent;
	border: none;
}

.acthuman-desc {
	font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
	font-weight: 500;
	font-size: 1.15rem;
	line-height: 1.35;
	margin: 0 0 18px 0;
	color: var(--acthuman-text) !important;
	max-width: 42ch;
}

.acthuman-link {
	margin-top: auto;
	width: fit-content;
	padding: 0.9rem 1.1rem;
	border: 1px solid currentColor;
	border-radius: 999px;
	color: var(--acthuman-text) !important;
	text-decoration: none !important;
	font-family: Roboto, system-ui, -apple-system, Segoe UI, Arial, sans-serif;
	font-style: italic;
	font-weight: 700;
	font-size: 1.05rem;
	transition: background-color 160ms ease, color 160ms ease, filter 160ms ease;
}

.acthuman-link:hover,
.acthuman-link:focus-visible {
	background: #000 !important;
	filter: invert(1) !important;
	outline: none;
}

.acthuman-video {
	position: relative;
	width: 100%;
	padding-top: 56.25%;
	border-radius: 10px;
	overflow: hidden;
	margin-top: 6px;
}

.acthuman-video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 0;
}

@media (max-width: 640px) {
	.acthuman-card {
		padding: 22px;
	}
	.acthuman-title {
		font-size: 1.5rem;
	}
	.acthuman {
		--acthuman-padding-x: 12px;
		--acthuman-gap: 16px;
		--acthuman-cols: 1 !important;
	}
}

