/**
 * Extracted template styles; preserve the original rendering conditions.
 */

.media-resource-section {
	height: 100%;
}

.media-left-column {
	display: flex;
	background: var(--black);
}

.media-right-column {
	display: flex;
	height: 100%;
	background: var(--white);
}

.media-title {
	font-family: var(--font-roobert);
	font-size: 48px;
	font-weight: 900;
	line-height: 52px;
	letter-spacing: 1px;
	text-transform: uppercase;
}

.media-subtitle {
	font-size: 24px;
	opacity: 0.9;
}

.media-description {
	max-width: 500px;
	font-size: 22px;
	font-weight: 400;
	line-height: 33px;
}

.media-btn {
	border: none;
	background: linear-gradient(135deg, #8b5cf6 0%, #ec4899 100%);

	&:hover {
		background: linear-gradient(135deg, #a78bfa 0%, #f472b6 100%);
	}
}

.media-logos-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	grid-template-rows: repeat(3, 1fr);
	margin: 0 auto;
}

.media-logo-item {
	border: 0.5px dashed #c7c7c7;
	min-height: 180px;
	background: var(--white);
}

.media-logo-img {
	max-height: 60px;
	max-width: 100%;
	object-fit: contain;
	transition: filter 0.3s ease;
}

.media-logo-item:hover .media-logo-img {
	filter: grayscale(0%);
}

.media-logo-text {
	color: #374151;
	font-size: 14px;
	text-align: center;
	line-height: 1.3;
}


/**
 * Responsive styles.
 * Preserve precedence where breakpoint conditions overlap.
 */

@media (max-width: 1200px) {
	.media-logos-grid {
		grid-template-columns: repeat(3, 1fr);
		grid-template-rows: repeat(4, 1fr);
		gap: 24px;
	}
}

@media (max-width: 991px) {
	.media-left-column,
	.media-right-column {
		min-height: auto;
	}

	.media-title {
		font-size: 38px;
		line-height: 40px;
	}

	.media-subtitle {
		font-size: 20px;
	}

	.media-logos-grid {
		grid-template-columns: repeat(2, 1fr);
		grid-template-rows: repeat(6, minmax(120px, 1fr));
		gap: 0;
	}

	.media-logo-item {
		min-height: 120px;
		padding: 0;
		height: auto;
	}

	.media-logo-img {
		max-height: 50px;
	}
}
