/**
 * plugins/generic/partnerInstitutions/css/partners-public.css
 *
 * Public page /partners. Colours come from the theme (currentColor, inherit).
 */
.page_partners .partners__intro {
	max-width: 48rem;
}

.page_partners .partners__country {
	margin: 2rem 0 0;
}

.page_partners .partners__countryName {
	font-size: 1.25rem;
	margin: 0 0 0.75rem;
	padding-bottom: 0.375rem;
	border-bottom: 1px solid rgba(0, 0, 0, 0.12);
}

.page_partners .partners__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(15rem, 1fr));
	gap: 1rem;
}

.page_partners .partners__item {
	display: flex;
	align-items: center;
	gap: 0.875rem;
	padding: 0.875rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	background: #fff;
}

.page_partners .partners__logo {
	flex: 0 0 4rem;
	height: 4rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.page_partners .partners__logo img {
	max-width: 4rem;
	max-height: 4rem;
	object-fit: contain;
}

.page_partners .partners__initials {
	width: 4rem;
	height: 4rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-weight: 700;
	letter-spacing: 0.04em;
	background: rgba(0, 0, 0, 0.06);
}

.page_partners .partners__name {
	font-weight: 600;
	line-height: 1.35;
}


/* [partner-institutions] placeholder inside other pages */
.pi-embed {
	margin: 1rem 0 1.5rem;
}

.pi-embed__list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(14rem, 1fr));
	gap: 0.75rem;
}

.pi-embed__item {
	display: flex;
	align-items: center;
	gap: 0.75rem;
	margin: 0;
	padding: 0.75rem;
	border: 1px solid rgba(0, 0, 0, 0.12);
	border-radius: 6px;
	background: #fff;
}

.pi-embed__logo {
	flex: 0 0 3.25rem;
	height: 3.25rem;
	display: flex;
	align-items: center;
	justify-content: center;
}

.pi-embed__logo img {
	max-width: 3.25rem;
	max-height: 3.25rem;
	object-fit: contain;
}

.pi-embed__initials {
	width: 3.25rem;
	height: 3.25rem;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 0.875rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	background: rgba(0, 0, 0, 0.06);
}

.pi-embed__text {
	display: flex;
	flex-direction: column;
	gap: 0.125rem;
	min-width: 0;
}

.pi-embed__name {
	font-weight: 600;
	line-height: 1.3;
}

.pi-embed__country {
	font-size: 0.875rem;
	opacity: 0.75;
}

.pi-embed__more {
	margin: 0.875rem 0 0;
	font-weight: 600;
}


/* 1.0.0.7: agreement not started yet ("From 2027") */
.page_partners .partners__text {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.375rem;
	min-width: 0;
}

.pi-embed__text {
	align-items: flex-start;
}

.pi-badge {
	display: inline-block;
	padding: 0.125rem 0.5rem;
	border-radius: 999px;
	font-size: 0.75rem;
	font-weight: 600;
	line-height: 1.4;
	letter-spacing: 0.02em;
	white-space: nowrap;
}

.pi-badge--upcoming {
	color: #8a5a00;
	background: #fff4d6;
	border: 1px solid #f0d48a;
}
