/* ─── AV Related Services ─── */

.av-related-svcs {
	padding: 80px 0;
}

.av-related-svcs .av-section-header {
	text-align: center;
	max-width: 800px;
	margin: 0 auto 48px;
}

.av-related-svcs .av-section-header h2 {
	color: var( --e-global-color-primary );
	font-family: "Bricolage Grotesque", Sans-serif;
	font-size: 42px;
	font-weight: 900;
	line-height: 1.2em;
	margin: 0 0 20px;
}

.av-related-svcs .av-related-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 24px;
}

.av-related-svcs .av-svc-card {
	background: #fff;
	border: 1px solid rgba(26, 26, 31, 0.1);
	border-radius: var(--av-r, 8px);
	padding: 28px;
	display: flex;
	flex-direction: column;
	gap: 12px;
	transition: border-color 0.2s, background 0.2s;
	position: relative;
	overflow: hidden;
	--align-left: flex-start;
	--align-center: center;
	--align-right: flex-end; 
	--justify-left: flex-start;
	--justify-center: center;
	--justify-right: flex-end;
}

.av-related-svcs .av-svc-card::before {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	height: 3px;
	background-color: #ffffff;
	transition: all ease .3s;
	transform: scaleX(0);
}

.av-related-svcs .av-svc-card:hover::before {
	transform: scaleX(1);
}

.av-svc-card-icon {
	width: 48px;
	height: 48px;
	color: var(--av-rust);
	display: inline-flex;
	align-items: center;
	justify-content: start;
}

.av-svc-card-icon img {
    width: 100%;
    height: 100%; 
    box-shadow: 0 0px 20px rgb(196 32 46 / 10%);
}

.av-related-svcs .av-svc-card h3 {
	font-family: var(--av-font-display);
	font-size: 1.125rem;
	font-weight: 600;
	margin: 0;
	color: var(--av-navy);
}

.av-related-svcs .av-svc-card p {
	color: rgba(26, 26, 31, 0.72);
	line-height: 1.6;
	margin: 0;
	flex: 1;
}

.av-related-svcs .av-svc-card-link {
	color: var(--av-rust);
	font-weight: 600;
	text-decoration: none;
	font-size: 0.9rem;
	margin-top: auto;
}

@media (max-width: 767px) {
	.av-related-svcs .av-related-grid {
		grid-template-columns: 1fr;
	}
}

@media (min-width: 768px) and (max-width: 1023px) {
	.av-related-svcs .av-related-grid {
		grid-template-columns: repeat(2, 1fr);
	}
}
