/* #wewe-5 — sales network / partners */
#wewe-5.section-network {
	position: relative;
	padding-top: 72px;
	padding-bottom: 72px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 55%, #f8fafc 100%);
	overflow: hidden;
}

#wewe-5.section-network::before {
	content: "";
	position: absolute;
	top: 0;
	left: 50%;
	width: 72px;
	height: 3px;
	margin-left: -36px;
	background: linear-gradient(90deg, #15499a 0%, #2a7de8 50%, #15499a 100%);
	border-radius: 0 0 3px 3px;
}

#wewe-5.section-network::after {
	content: "";
	position: absolute;
	bottom: -120px;
	left: -80px;
	width: 300px;
	height: 300px;
	background: radial-gradient(circle, rgba(21, 73, 154, 0.05) 0%, transparent 70%);
	pointer-events: none;
}

#wewe-5 .network-content {
	max-width: 1100px;
	margin: 0 auto;
}

#wewe-5 .network-heading,
#wewe-5 .network-content > h2:first-child,
#wewe-5 .network-content > .heading-title:first-child {
	margin-bottom: 28px;
	text-align: center;
}

#wewe-5 .network-heading b,
#wewe-5 .network-content > h2:first-child {
	color: #1e293b;
	font-size: clamp(24px, 2.8vw, 36px);
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

#wewe-5 .network-heading b::before,
#wewe-5 .network-heading b::after {
	border-top-color: rgba(21, 73, 154, 0.22) !important;
}

#wewe-5 .network-content > h2:first-child::after,
#wewe-5 .network-heading::after {
	content: "";
	display: block;
	width: 56px;
	height: 3px;
	margin: 18px auto 0;
	background: linear-gradient(90deg, #15499a 0%, #2a7de8 100%);
	border-radius: 2px;
}

#wewe-5 .network-tagline,
#wewe-5 .network-content h2.aligncenter {
	max-width: 860px;
	margin: 0 auto 20px;
	font-size: clamp(20px, 2.4vw, 28px);
	font-weight: 600;
	line-height: 1.45;
	color: #1e293b;
	text-align: center;
}

#wewe-5 .network-tagline span,
#wewe-5 .network-content h2.aligncenter span,
#wewe-5 .network-content h2 span {
	color: #15499a !important;
	font-weight: 700;
}

#wewe-5 .network-lead,
#wewe-5 .network-content p.max70,
#wewe-5 .network-content > p {
	max-width: 760px;
	margin: 0 auto 24px;
	font-size: 15px;
	line-height: 1.85;
	color: #64748b;
	text-align: center;
}

#wewe-5 .network-content > p:empty,
#wewe-5 .network-content > p:has(br:only-child) {
	display: none;
}

#wewe-5 .partners-logos,
#wewe-5 .network-content .gallery {
	display: flex;
	flex-wrap: wrap;
	align-items: stretch;
	justify-content: center;
	gap: 16px;
	margin: 40px auto 0;
	padding: 32px 28px;
	background: #fff;
	border: 1px solid rgba(21, 73, 154, 0.08);
	border-radius: 8px;
	overflow: visible;
}

#wewe-5 .gallery-columns-6 .gallery-item,
#wewe-5 .partners-logos .gallery-item {
	float: none;
	clear: none;
	width: calc(16.666% - 14px);
	min-width: 120px;
	margin: 0;
	padding: 0;
	box-sizing: border-box;
}

#wewe-5 .gallery-item .gallery-icon {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 84px;
	padding: 14px 16px;
	background: linear-gradient(180deg, #f8fafc 0%, #ffffff 100%);
	border: 1px solid rgba(21, 73, 154, 0.08);
	border-radius: 6px;
	transition: border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

#wewe-5 .gallery-item:hover .gallery-icon {
	border-color: rgba(21, 73, 154, 0.18);
	transform: translateY(-3px);
	-moz-box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	-webkit-box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
	box-shadow: 0 10px 24px rgba(15, 23, 42, 0.08);
}

#wewe-5 .gallery-item img {
	display: block;
	width: auto;
	max-width: 100%;
	max-height: 52px;
	margin: 0 auto;
	object-fit: contain;
	filter: grayscale(20%);
	opacity: 0.85;
	-moz-box-shadow: none;
	-webkit-box-shadow: none;
	box-shadow: none;
	transition: filter 0.22s ease, opacity 0.22s ease, transform 0.22s ease;
}

#wewe-5 .gallery-item:hover img {
	filter: none;
	opacity: 1;
	transform: scale(1.04);
}

#wewe-5 .gallery-caption,
#wewe-5 figcaption {
	display: none;
}

#wewe-5 .network-content ul {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 20px;
	margin: 32px 0 0;
	padding: 0;
	list-style: none;
}

#wewe-5 .network-content ul li {
	padding: 24px 22px;
	text-align: center;
	background: #fff;
	border: 1px solid rgba(21, 73, 154, 0.08);
	border-radius: 8px;
}

@media only screen and (max-width: 1199px) {
	#wewe-5 .gallery-columns-6 .gallery-item,
	#wewe-5 .partners-logos .gallery-item {
		width: calc(25% - 12px);
	}
}

@media only screen and (max-width: 1023px) {
	#wewe-5.section-network {
		padding-top: 56px;
		padding-bottom: 56px;
	}

	#wewe-5 .partners-logos,
	#wewe-5 .network-content .gallery {
		padding: 24px 20px;
	}

	#wewe-5 .gallery-columns-6 .gallery-item,
	#wewe-5 .partners-logos .gallery-item {
		width: calc(33.333% - 11px);
		min-width: 0;
	}

	#wewe-5 .network-content ul {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media only screen and (max-width: 640px) {
	#wewe-5 .gallery-columns-6 .gallery-item,
	#wewe-5 .partners-logos .gallery-item {
		width: calc(50% - 8px);
	}

	#wewe-5 .network-content ul {
		grid-template-columns: 1fr;
	}
}
