/*
 * Newsroom page: the members as cards (round photo, name, opening of the
 * presentation) and the content of the page (editor, publisher) in a box.
 * Loaded only on the newsroom page.
 */
.newsroom-members .wp-block-post-template {
	gap: var(--wp--preset--spacing--60) var(--wp--preset--spacing--50);
}

.newsroom-member {
	display: flex;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.newsroom-member > * {
	margin: 0;
}

.newsroom-member .wp-block-post-featured-image {
	inline-size: min(100%, 11rem);
	margin-block-end: var(--wp--preset--spacing--30);
}

.newsroom-member .wp-block-post-featured-image img {
	border-radius: 50%;
	box-shadow: 0 0 0 4px var(--wp--preset--color--base), 0 0 0 5px var(--wp--preset--color--border);
}

/* Members without a photo: a plain circle keeps the row aligned. */
.wp-block-post-template.is-layout-grid > li > .newsroom-member:not(:has(.wp-block-post-featured-image))::before {
	display: block;
	inline-size: min(100%, 11rem);
	aspect-ratio: 1;
	margin-block-end: var(--wp--preset--spacing--30);
	border: 0;
	border-radius: 50%;
	background-color: var(--wp--preset--color--base-2);
	content: "";
}

.newsroom-member .wp-block-post-title a {
	text-decoration: none;
}

.newsroom-member .wp-block-read-more {
	color: var(--wp--preset--color--primary);
	font-weight: 600;
}

/* The content of the page: headings as section labels, lists in columns. */
.newsroom-colophon .wp-block-post-content > .wp-block-heading {
	margin-block: var(--wp--preset--spacing--50) var(--wp--preset--spacing--20);
	padding-block-start: var(--wp--preset--spacing--20);
	border-block-start: 3px solid var(--wp--preset--color--contrast);
	font-family: var(--wp--preset--font-family--body);
	font-size: var(--wp--preset--font-size--sm);
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.newsroom-colophon .wp-block-post-content > .wp-block-heading:first-child {
	margin-block-start: 0;
}

.newsroom-colophon .wp-block-post-content > .wp-block-list {
	padding: 0;
	list-style: none;
	columns: 3 12rem;
	column-gap: var(--wp--preset--spacing--50);
}

.newsroom-colophon .wp-block-post-content > .wp-block-list li {
	break-inside: avoid;
	margin-block-end: var(--wp--preset--spacing--10);
}
