/**
 * Platform channel module.
 * Desktop: Figma 2456:40073 | Mobile: 2456:41992
 *
 * @package Fundamento
 */

.platform-channel-module {
	--pcm-bg: var(--color-surface-default, #fff);
	--pcm-text: var(--color-text-default, #1b1b1b);
	--pcm-text-subtle: var(--color-neutral-600);
	--pcm-brand: var(--color-text-brand, #175844);
	--pcm-eyebrow-bg: var(--color-bg-emphasis, #e6e1d8);
	--pcm-eyebrow-marker: var(--color-neutral-600, #59554f);
	--pcm-action-icon-bg: var(--color-surface-accent, #cfe6fa);
	--pcm-matrix-bg: var(--color-surface-overlay, #efede5);
	--pcm-border: var(--color-border-default, #e6e1d8);
	--pcm-max: 74rem;
	background-color: var(--pcm-bg);
	color: var(--pcm-text);
}

.platform-channel-module__inner {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-80, 5rem);
	max-width: var(--pcm-max);
	margin-inline: auto;
	padding: var(--space-160, 10rem) 0;
}

.platform-channel-module__intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-16, 1rem);
	width: 100%;
}

.platform-channel-module__eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	margin: 0;
	background-color: var(--pcm-eyebrow-bg);
}

.platform-channel-module__eyebrow-marker {
	width: 10px;
	height: 10px;
	flex-shrink: 0;
	background-color: var(--pcm-eyebrow-marker);
}

.platform-channel-module__eyebrow-text {
	font-family: var(--font-family-body);
	font-size: 0.875rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--pcm-text-subtle);
}

.platform-channel-module__heading {
	margin: 0;
	max-width: 72rem;
	font-family: var(--font-family-display);
	font-size: var(--text-display-h1-alt-size, 3.75rem);
	font-weight: 400;
	line-height: var(--text-display-h1-alt-lh, 1.2);
	color: var(--pcm-brand);
}

.platform-channel-module__paragraph {
	margin: 0;
	max-width: 66.5rem;
	font-family: var(--font-family-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--pcm-text-subtle);
}

.platform-channel-module__actions {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-40, 2.5rem);
	width: 100%;
}

.platform-channel-module__actions-intro {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: var(--space-16, 1rem);
	width: 100%;
}

.platform-channel-module__actions-heading {
	margin: 0;
	font-family: var(--font-family-display);
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 1.2;
	color: var(--pcm-brand);
}

.platform-channel-module__actions-heading-mobile {
	display: none;
}

.platform-channel-module__actions-lead {
	margin: 0;
	font-family: var(--font-family-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--pcm-text-subtle);
}

.platform-channel-module__actions-list {
	display: flex;
	flex-wrap: wrap;
	gap: var(--space-32, 2rem);
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.platform-channel-module__action {
	display: flex;
	align-items: flex-start;
	gap: var(--space-16, 1rem);
	flex: 1 1 0;
	min-width: 12rem;
	max-width: 13.875rem;
}

.platform-channel-module__action-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	flex-shrink: 0;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 4px;
	background-color: var(--pcm-action-icon-bg);
	overflow: hidden;
}

.platform-channel-module__action-icon img {
	display: block;
	width: 1.5rem;
	height: 1.5rem;
	object-fit: contain;
}

.platform-channel-module__action-label {
	font-family: var(--font-family-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--pcm-brand);
}

.platform-channel-module__actions-closing {
	margin: 0;
	max-width: 43.25rem;
	font-family: var(--font-family-display);
	font-size: 1.75rem;
	font-weight: 400;
	line-height: 1.2;
	color: var(--pcm-text-subtle);
}

.platform-channel-module__matrix-wrap {
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: var(--space-40, 2.5rem);
	width: 100%;
}

.platform-channel-module__matrix-heading {
	margin: 0;
	width: 100%;
	font-family: var(--font-family-display);
	font-size: 2.5rem;
	font-weight: 400;
	line-height: 1.2;
	color: var(--pcm-brand);
	text-align: left;
}

.platform-channel-module__matrix {
	display: flex;
	flex-direction: column;
	gap: var(--space-20, 1.25rem);
	width: 100%;
	padding: var(--space-20, 1.25rem);
	border-radius: var(--space-20, 1.25rem);
	background-color: var(--pcm-matrix-bg);
}

.platform-channel-module__matrix-head {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	width: 100%;
}

.platform-channel-module__matrix-col-label {
	font-family: var(--font-family-body);
	font-size: 1.25rem;
	font-weight: 500;
	line-height: 1.3;
	color: var(--pcm-text);
}

.platform-channel-module__matrix-rows {
	display: flex;
	flex-direction: column;
	gap: 0.75rem;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
}

.platform-channel-module__matrix-row {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 1.25rem;
	width: 100%;
	min-height: 4.5rem;
}

.platform-channel-module__matrix-cell {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	min-width: 0;
	padding: var(--space-20, 1.25rem);
	border: 1px solid var(--pcm-border);
	border-radius: 0.75rem;
	background-color: #fff;
}

.platform-channel-module__matrix-icon {
	display: flex;
	flex-shrink: 0;
	width: 1.5rem;
	height: 1.5rem;
}

.platform-channel-module__matrix-icon img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: contain;
}

.platform-channel-module__matrix-capability {
	font-family: var(--font-family-body);
	font-size: 1rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--pcm-text-subtle);
}

.platform-channel-module__matrix-function {
	font-family: var(--font-family-body);
	font-size: 1.125rem;
	font-weight: 400;
	line-height: 1.4;
	color: var(--pcm-text-subtle);
}

@media (max-width: 1023px) {
	.platform-channel-module__inner {
		align-items: flex-start;
		gap: var(--space-64, 4rem);
		padding: var(--space-64, 4rem) var(--space-20, 1.25rem);
	}

	.platform-channel-module__heading {
		font-size: 2rem;
		line-height: 1.2;
	}

	.platform-channel-module__actions {
		gap: 2.5rem;
	}

	.platform-channel-module__actions-heading {
		font-size: 1.5rem;
		line-height: 1.2;
	}

	.platform-channel-module__actions-heading-desktop {
		display: none;
	}

	.platform-channel-module__actions-heading-mobile {
		display: inline;
	}

	.platform-channel-module__actions-list {
		flex-direction: column;
		flex-wrap: nowrap;
		gap: var(--space-32, 2rem);
	}

	.platform-channel-module__action {
		align-items: center;
		flex: none;
		max-width: none;
		width: 100%;
	}

	.platform-channel-module__actions-closing {
		font-size: 1.25rem;
		line-height: 1.2;
		color: var(--pcm-brand);
	}

	.platform-channel-module__matrix-wrap {
		align-items: flex-start;
	}

	.platform-channel-module__matrix-heading {
		font-size: 1.5rem;
		line-height: 1.2;
	}

	.platform-channel-module__matrix {
		padding: 0.75rem 0.25rem 0.25rem;
		border-radius: 0.75rem;
	}

	.platform-channel-module__matrix-head {
		gap: 1.25rem;
		text-align: center;
	}

	.platform-channel-module__matrix-rows {
		gap: 0.25rem;
	}

	.platform-channel-module__matrix-row {
		gap: 0.25rem;
		min-height: 0;
	}

	.platform-channel-module__matrix-cell {
		justify-content: center;
		padding: 1.3rem 1rem;
		border-radius: 0.5rem;
	}

	.platform-channel-module__matrix-cell--function {
		justify-content: flex-start;
	}

	.platform-channel-module__matrix-function {
		font-size: 1rem;
	}
}