/* Partner panel (parts/partner.php), printed inside an Elementor page. */

.dp-pt {
	padding: 56px 0;
	font-family: "DM Sans", sans-serif;
	color: #6b7280;
	font-size: 16px;
	line-height: 1.5;
}
.dp-pt *, .dp-pt *::before, .dp-pt *::after { box-sizing: border-box; }
.dp-pt-container { width: 100%; max-width: 1140px; margin: 0 auto; padding: 0 20px; }

.dp-pt-panel {
	display: grid;
	grid-template-columns: 1.15fr 1fr;
	gap: 40px;
	align-items: center;
	padding: 40px;
	border-radius: 18px;
	background: #f3f8f4;
	border: 1px solid #dcebdf;
}

.dp-pt .dp-pt-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	margin: 0 0 10px;
	padding: 4px 12px;
	border-radius: 999px;
	background: #fff;
	color: #2e7d32;
	font-size: 14px;
	font-weight: 600;
}
.dp-pt h2, .dp-on .dp-pt h2 {
	text-align: left;
	margin: 0 0 12px;
	color: #1f2937;
	font-family: "DM Sans", sans-serif;
	font-size: 26px;
	font-weight: 700;
	line-height: 1.25;
}
.dp-pt p { margin: 0 0 10px; }

.dp-pt .dp-pt-place {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-top: 14px;
	color: #1f2937;
	font-weight: 500;
}
.dp-pt-place .dp-pt-icon { color: #2e7d32; }
.dp-pt .dp-pt-action { margin: 20px 0 0; }

.dp-pt a.dp-pt-button {
	display: inline-block;
	padding: 12px 24px;
	border-radius: 25px;
	background: #2e7d32;
	color: #fff;
	font-size: 16px;
	font-weight: 600;
	line-height: 1.5;
	text-decoration: none;
	transition: background .2s, box-shadow .2s, transform .2s;
}
.dp-pt a.dp-pt-button:hover, .dp-pt a.dp-pt-button:focus-visible {
	background: #27692a;
	color: #fff;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .25);
	transform: translateY(-2px);
}
.dp-pt a:focus-visible { outline: 3px solid #f59e0b; outline-offset: 2px; }

.dp-pt-icon { width: 18px; height: 18px; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.dp-pt-eyebrow .dp-pt-icon { width: 16px; height: 16px; }

.dp-pt-facts {
	display: grid;
	gap: 12px;
	margin: 0;
	padding: 24px;
	border-radius: 18px;
	background: #fff;
	list-style: none;
	box-shadow: 0 8px 20px rgba(0, 0, 0, .06);
}
.dp-pt-facts li {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
	color: #1f2937;
}
.dp-pt-facts .dp-pt-icon { margin-top: 3px; color: #2e7d32; }

/* The site's Custom CSS frames every image; this photo fills its box. */
.dp-pt .dp-pt-photo {
	width: 100%;
	height: 100%;
	min-height: 280px;
	object-fit: cover;
	border: 0;
	border-radius: 14px;
	box-shadow: none;
}

@media (max-width: 767px) {
	.dp-pt { padding: 32px 0; }
	.dp-pt-panel { grid-template-columns: 1fr; gap: 24px; padding: 24px 20px; }
	.dp-pt h2, .dp-on .dp-pt h2 { font-size: 22px; }
	.dp-pt a.dp-pt-button { display: block; text-align: center; }
	.dp-pt .dp-pt-photo { min-height: 200px; }
}

@media (prefers-reduced-motion: reduce) {
	.dp-pt a.dp-pt-button { transition: none; }
	.dp-pt a.dp-pt-button:hover { transform: none; }
}

/* With a photo: the facts sit under the text, without their own card. */
.dp-pt-panel--photo { grid-template-columns: 1fr 1fr; align-items: stretch; }
.dp-pt-panel--photo .dp-pt-body { align-self: center; }
.dp-pt-panel--photo .dp-pt-facts { gap: 8px; margin: 16px 0 0; padding: 0; background: none; box-shadow: none; border-radius: 0; }
@media (max-width: 767px) {
	.dp-pt-panel--photo { grid-template-columns: 1fr; }
	.dp-pt-panel--photo .dp-pt-photo { order: -1; max-height: 260px; }
}
