/**
 * Poils & Compagnie – partners directory cards.
 * Reproduces the reference design: lime rounded card, bunny ears on top,
 * teal category header with a curved underline and two paw prints.
 */

.ptrp-grid {
	--ptrp-teal: #0d3b3b;
	--ptrp-lime: #a4c714;
	--ptrp-lime-dark: #8fae10;
	--ptrp-text: #1f2a2a;

	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
	gap: 46px 30px;
	max-width: 1180px;
	margin: 0 auto;
	padding: 44px 0 10px;
	box-sizing: border-box;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.ptrp-grid *,
.ptrp-grid *::before,
.ptrp-grid *::after {
	box-sizing: border-box;
}

/* ---------- Card ---------- */
.ptrp-card {
	position: relative;
	background: #fff;
	border: 2.5px solid var(--ptrp-lime);
	border-radius: 20px;
	padding: 0 18px 22px;
	margin-top: 40px;
	text-align: center;
	display: flex;
	flex-direction: column;
}

/* Bunny ears sit ABOVE the title in normal flow (never overlapping it),
   lifted with a negative margin so they poke over the top edge. */
.ptrp-ears {
	width: 66px;
	height: 58px;
	margin: -36px auto 0;
	pointer-events: none;
}

.ptrp-ears-svg {
	width: 100%;
	height: 100%;
	display: block;
}

/* ---------- Header ---------- */
.ptrp-head {
	position: relative;
	z-index: 1;
	margin: 4px -6px 4px;
}

.ptrp-cat {
	display: block;
	color: var(--ptrp-teal);
	font-weight: 800;
	font-size: 21px;
	letter-spacing: 1px;
	line-height: 1.1;
}

/* Curved line under the title (not around it) */
.ptrp-underline {
	display: block;
	width: 82%;
	height: 12px;
	margin: 2px auto 0;
}

.ptrp-paws {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	margin-top: 6px;
}

.ptrp-paw {
	width: 24px;
	height: 22px;
	display: block;
}

/* ---------- Logo ---------- */
.ptrp-logo {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 14px 0 16px;
	min-height: 150px;
}

.ptrp-logo-img {
	max-width: 100%;
	max-height: 165px;
	width: auto;
	height: auto;
	object-fit: contain;
}

.ptrp-logo-ph {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	min-height: 150px;
	background: #ececec;
	color: #b3b3b3;
	font-weight: 700;
	letter-spacing: 1px;
	line-height: 1.3;
	text-align: center;
}

/* ---------- Body ---------- */
.ptrp-body {
	margin-top: auto;
}

.ptrp-name {
	font-weight: 800;
	font-size: 16px;
	color: var(--ptrp-text);
	line-height: 1.25;
}

.ptrp-phone {
	font-weight: 700;
	font-size: 15px;
	color: var(--ptrp-text);
	margin-top: 2px;
}

.ptrp-loc {
	margin-top: 14px;
	line-height: 1.35;
}

.ptrp-city {
	display: block;
	font-weight: 700;
	color: var(--ptrp-text);
}

.ptrp-dept {
	display: block;
	color: var(--ptrp-text);
}

.ptrp-empty {
	text-align: center;
	color: #7a8686;
	padding: 30px 0;
}
