/* Coverage: industry publications list (patterns/coverage-publications.php, Group style coverage-publications). Rows: assets/css/blocks/core-query.css.
   Differs from the media list: rules between rows, marks in greyscale, and the date and arrow stay on the row below 1024. */
.section-news-industry-publications {
	scroll-margin-top: 100px;
}

.section-news-industry-publications .wp-block-post-template > li {
	border-top: 1px solid color-mix(in srgb, var(--wp--preset--color--charcoal) 20%, transparent);
}

.section-news-industry-publications .wp-block-post-template > li:first-child {
	border-top: 0;
}

.section-news-industry-publications .coverage-row {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
	align-items: center;
	gap: 20px;
}

.section-news-industry-publications .coverage-row__who {
	width: auto;
}

.section-news-industry-publications .coverage-row__logo img {
	filter: grayscale(1);
}

.section-news-industry-publications .coverage-row__what {
	flex-direction: row;
	align-items: center;
	gap: 20px;
}

.section-news-industry-publications .coverage-row__date {
	width: auto;
}

.section-news-industry-publications .coverage-row__arrow::after {
	width: 16px;
	height: 16px;
}

@media (width >= 1024px) {
	.section-news-industry-publications .coverage-row {
		grid-template-columns: minmax(0, 280px) minmax(0, 1fr);
		gap: 145px;
	}

	.section-news-industry-publications .coverage-row__what {
		gap: 50px;
	}

	.section-news-industry-publications .coverage-row__date {
		width: 90px;
	}
}

/* Marks are sized one by one, as in the prototype (they run from 1:1 to 9.7:1) */
.section-news-industry-publications .coverage-row__logo img[src*="pub-munich-re"] { height: 35px; }
.section-news-industry-publications .coverage-row__logo img[src*="pub-howden"] { height: 30px; }
.section-news-industry-publications .coverage-row__logo img[src*="pub-chubb"] { height: 20px; }
.section-news-industry-publications .coverage-row__logo img[src*="pub-ons"] { height: 30px; }
