/**
 * Pokémon taxonomy landing pages.
 * Loaded only on pa_filtrer-efter-pokemon archives.
 */

.tax-pa_filtrer-efter-pokemon .woocommerce-products-header {
	margin-bottom: clamp(30px, 4vw, 48px);
}


.pm-pokemon-archive-hero {
	background: var(--pm-dark);
	color: var(--pm-white);
	margin: 0 0 clamp(34px, 5vw, 58px);
	overflow: hidden;
	position: relative;
	width: 100%;
}

.pm-pokemon-archive-hero__inner {
	box-sizing: border-box;
	margin-inline: auto;
	max-width: 1380px;
	padding: clamp(22px, 3.5vw, 46px);
	width: 100%;
}

.pm-pokemon-archive-hero__breadcrumb {
	margin-bottom: clamp(24px, 3vw, 38px);
}

.pm-pokemon-archive-profile {
	align-items: start;
	display: grid;
	gap: clamp(34px, 4vw, 64px);
	grid-template-columns: minmax(470px, .92fr) minmax(0, 1.08fr);
}

.pm-pokemon-archive-profile__summary {
	min-width: 0;
}

.pm-pokemon-archive-hero__heading {
	margin-bottom: clamp(22px, 2.5vw, 32px);
}

.pm-pokemon-archive-hero__eyebrow,
.pm-pokemon-archive-support__eyebrow {
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .075em;
	text-transform: uppercase;
}

.pm-pokemon-archive-hero__eyebrow {
	background: var(--pm-blue);
	border-radius: 3px;
	color: var(--pm-white);
	display: inline-flex;
	gap: .45rem;
	line-height: 1;
	margin: 0 0 12px;
	padding: .58rem .72rem;
}

.pm-pokemon-archive-hero__eyebrow span {
	color: var(--pm-yellow);
}

.pm-pokemon-archive-hero__title {
	color: var(--pm-white);
	font-size: clamp(42px, 4.6vw, 68px);
	font-weight: 900;
	letter-spacing: -.04em;
	line-height: 1;
	margin: 0;
	text-transform: uppercase;
}

.pm-pokemon-archive-profile__details {
	align-items: start;
	display: grid;
	gap: clamp(16px, 2vw, 24px);
	grid-template-columns: minmax(210px, 1fr) minmax(220px, .94fr);
}

.pm-pokemon-archive-hero__media {
	align-items: center;
	aspect-ratio: 1 / 1;
	background:
		radial-gradient(circle at 52% 52%, color-mix(in srgb, var(--pm-blue) 16%, transparent), transparent 58%),
		var(--pm-pokemon-image-surface);
	display: flex;
	justify-content: center;
	min-width: 0;
	overflow: hidden;
	padding: clamp(16px, 2.4vw, 30px);
}

.pm-pokemon-archive-hero__image {
	display: block;
	height: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.pm-pokemon-archive-hero__placeholder {
	color: var(--pm-blue);
	font-size: clamp(90px, 10vw, 155px);
	font-weight: 900;
	line-height: 1;
	opacity: .45;
}

.pm-pokemon-archive-profile__meta {
	background: var(--pm-grey-dark);
	box-sizing: border-box;
	min-width: 0;
	padding: clamp(16px, 2vw, 22px);
}

.pm-pokemon-archive-hero__facts {
	display: grid;
	gap: 14px 18px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	margin: 0;
}

.pm-pokemon-archive-hero__facts div,
.pm-pokemon-archive-hero__facts dt,
.pm-pokemon-archive-hero__facts dd {
	margin: 0;
}

.pm-pokemon-archive-hero__facts dt {
	color: var(--pm-white);
	font-size: 12px;
	font-weight: 800;
	margin-bottom: 4px;
	text-transform: uppercase;
}

.pm-pokemon-archive-hero__facts dd {
	color: var(--pm-yellow);
	font-size: 14px;
	font-weight: 700;
	line-height: 1.35;
}

.pm-pokemon-archive-hero__traits {
	border-top: 1px solid color-mix(in srgb, var(--pm-white) 12%, transparent);
	display: grid;
	gap: 15px;
	margin-top: 18px;
	padding-top: 18px;
}

.pm-pokemon-archive-hero__traits > div {
	display: grid;
	gap: 8px;
}

.pm-pokemon-archive-hero__traits strong {
	color: var(--pm-white);
	font-size: 12px;
	text-transform: uppercase;
}

.pm-pokemon-archive-hero__chips {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
}

.pm-pokemon-type {
	background: var(--pm-decoration-grey);
	border: 1px solid color-mix(in srgb, var(--pm-white) 14%, transparent);
	border-radius: 999px;
	color: var(--pm-white);
	font-size: 12px;
	font-weight: 800;
	line-height: 1;
	padding: .48rem .68rem;
}

.pm-pokemon-type--fire { background: #c6452d; }
.pm-pokemon-type--water { background: var(--pm-blue); }
.pm-pokemon-type--electric { background: var(--pm-yellow); color: var(--pm-dark); }
.pm-pokemon-type--grass { background: #3d8644; }
.pm-pokemon-type--poison { background: #8452a5; }
.pm-pokemon-type--psychic { background: #b44371; }
.pm-pokemon-type--ice { background: #3c8998; }
.pm-pokemon-type--fighting { background: #a85934; }
.pm-pokemon-type--ground { background: #92703b; }
.pm-pokemon-type--flying { background: #526f9e; }
.pm-pokemon-type--bug { background: #667c2b; }
.pm-pokemon-type--rock { background: #776b42; }
.pm-pokemon-type--ghost { background: #57517a; }
.pm-pokemon-type--dragon { background: #5a4eaa; }
.pm-pokemon-type--dark { background: #45404b; }
.pm-pokemon-type--steel { background: #60747d; }
.pm-pokemon-type--fairy { background: #b65f8e; }

.pm-pokemon-archive-profile__story {
	min-width: 0;
	padding-top: clamp(112px, 9vw, 132px);
}

.pm-pokemon-archive-support__eyebrow {
	color: var(--pm-yellow);
	margin: 0 0 7px;
}

.pm-pokemon-archive-support__evolutions h2 {
	color: var(--pm-white);
	font-size: clamp(25px, 2.5vw, 36px);
	font-weight: 900;
	line-height: 1.08;
	margin: 0 0 20px;
}

.pm-pokemon-archive-profile__copy {
	color: var(--pm-pokemon-copy);
	font-size: clamp(16px, 1.05vw, 17px);
	line-height: 1.68;
	max-width: 72ch;
}

.pm-pokemon-archive-profile__copy > :first-child {
	margin-top: 0;
}

.pm-pokemon-archive-profile__copy > :last-child {
	margin-bottom: 0;
}

.pm-pokemon-archive-profile__copy h2,
.pm-pokemon-archive-profile__copy h3 {
	color: var(--pm-yellow);
	font-size: 1.2em;
	line-height: 1.3;
	margin-top: 1.7em;
}

.pm-pokemon-archive-profile__copy a {
	color: var(--pm-yellow);
}

.pm-pokemon-archive-hero--no-story .pm-pokemon-archive-profile {
	grid-template-columns: minmax(0, 650px);
}

.pm-pokemon-archive-support__evolutions {
	border-top: 1px solid color-mix(in srgb, var(--pm-white) 13%, transparent);
	margin-top: clamp(30px, 4vw, 44px);
	min-width: 0;
	padding-top: clamp(24px, 3vw, 34px);
}

.pm-pokemon-evolution-grid {
	display: grid;
	gap: 24px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.pm-pokemon-evolution-card {
	color: var(--pm-white);
	display: flex;
	flex-direction: column;
	gap: 9px;
	min-width: 0;
	position: relative;
	text-decoration: none;
}

.pm-pokemon-evolution-card:not(:last-child)::after {
	border-right: 3px solid var(--pm-blue);
	border-top: 3px solid var(--pm-blue);
	content: "";
	height: 15px;
	position: absolute;
	right: -20px;
	top: 66px;
	transform: rotate(45deg);
	width: 15px;
}

.pm-pokemon-evolution-card:hover,
.pm-pokemon-evolution-card:focus {
	color: var(--pm-yellow);
}

.pm-pokemon-evolution-card:focus-visible {
	outline: 3px solid var(--pm-yellow);
	outline-offset: 4px;
}

.pm-pokemon-evolution-card__media {
	align-items: center;
	aspect-ratio: 1 / 1;
	background: var(--pm-pokemon-image-surface);
	display: flex;
	justify-content: center;
	overflow: hidden;
	padding: 10px;
	width: 100%;
}

.pm-pokemon-evolution-card__media img {
	display: block;
	height: auto;
	max-height: 100%;
	max-width: 100%;
	object-fit: contain;
	width: auto;
}

.pm-pokemon-evolution-card__name {
	align-items: baseline;
	display: flex;
	flex-wrap: wrap;
	gap: 4px;
}

.pm-pokemon-evolution-card__name strong {
	font-size: 16px;
}

.pm-pokemon-evolution-card__name > span {
	color: var(--pm-yellow);
	font-size: 13px;
}

.pm-pokemon-evolution-card__types {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}

.pm-pokemon-evolution-card__types .pm-pokemon-type {
	font-size: 10px;
	padding: .38rem .5rem;
}

@media (max-width: 1180px) {
	.pm-pokemon-archive-profile {
		grid-template-columns: minmax(410px, .9fr) minmax(0, 1.1fr);
	}

	.pm-pokemon-archive-profile__details {
		grid-template-columns: 1fr;
	}

	.pm-pokemon-archive-hero__media {
		max-width: 340px;
	}

	.pm-pokemon-archive-hero__facts {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 900px) {
	.pm-pokemon-archive-hero__inner {
		padding: 28px 24px 34px;
	}

	.pm-pokemon-archive-profile {
		grid-template-columns: 1fr;
		row-gap: 0;
	}

	.pm-pokemon-archive-profile__summary {
		display: contents;
	}

	.pm-pokemon-archive-hero__heading {
		order: 1;
	}

	.pm-pokemon-archive-profile__details {
		order: 2;
	}

	.pm-pokemon-archive-profile__story {
		order: 3;
	}

	.pm-pokemon-archive-support__evolutions {
		order: 4;
	}

	.pm-pokemon-archive-profile__details {
		grid-template-columns: minmax(220px, .8fr) minmax(0, 1.2fr);
	}

	.pm-pokemon-archive-hero__media {
		max-width: none;
	}

	.pm-pokemon-archive-hero__facts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pm-pokemon-archive-profile__story {
		border-top: 1px solid color-mix(in srgb, var(--pm-white) 13%, transparent);
		margin-top: 30px;
		padding-top: 30px;
	}

}

@media (max-width: 575px) {
	.pm-pokemon-archive-hero__inner {
		padding: 22px 18px 30px;
	}

	.pm-pokemon-archive-hero__breadcrumb {
		margin-bottom: 24px;
	}

	.pm-pokemon-archive-hero__title {
		font-size: clamp(38px, 13vw, 52px);
	}

	.pm-pokemon-archive-profile {
		row-gap: 0;
	}

	.pm-pokemon-archive-profile__details {
		grid-template-columns: 1fr;
	}

	.pm-pokemon-archive-hero__media {
		margin-inline: auto;
		max-width: 310px;
		width: 100%;
	}

	.pm-pokemon-archive-profile__meta {
		padding: 18px;
	}

	.pm-pokemon-archive-support__evolutions {
		margin-top: 32px;
		padding-top: 26px;
	}

	.pm-pokemon-evolution-grid {
		gap: 26px 24px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.pm-pokemon-evolution-card:not(:last-child)::after {
		display: none;
	}

	.pm-pokemon-evolution-card__name strong {
		font-size: 15px;
	}
}


