/* AIN: coalition letters / statements posted as News posts (rendered by Elementor single template #236).
 * Markup lives in post_content: .ain-letter wrapper, .ain-signatories logo grid.
 * Logos are supplied dark-on-transparent; the template is dark, so they are recoloured white,
 * same treatment as the homepage partners carousel. Never pre-recolour the files. */

.ain-letter__date {
	color: #e0b042;
	font-weight: 500;
	letter-spacing: 0.02em;
}

.ain-letter strong {
	font-weight: 700;
}

.ain-letter__fnref {
	font-size: 0.7em;
	line-height: 0;
	vertical-align: super;
}
.ain-letter__fnref a {
	color: #e0b042;
	text-decoration: none;
}

.ain-letter__signoff {
	margin-top: 2.25rem;
}

.ain-letter__names {
	opacity: 0.75;
	font-size: 0.92em;
	line-height: 1.7;
}

.ain-signatories {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: 0;
	margin: 2.5rem 0 3rem;
	border-top: 1px solid rgba(224, 176, 66, 0.35);
}

.ain-signatories__item {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 104px;
	margin: 0;
	padding: 20px 14px;
	border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.ain-signatories__item img {
	display: block;
	max-width: 100%;
	height: auto;
	filter: brightness(0) invert(1);
	opacity: 0.88;
}

.ain-letter__footnote {
	margin-top: 2rem;
	padding-top: 1rem;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
	font-size: 0.8em;
	line-height: 1.6;
	opacity: 0.7;
	overflow-wrap: anywhere;
}
.ain-letter__footnote a {
	color: inherit;
}

@media (max-width: 1024px) {
	.ain-signatories {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.ain-signatories {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
	.ain-signatories__item {
		min-height: 88px;
		padding: 16px 10px;
	}
	.ain-signatories__item img {
		max-width: 86%;
	}
}
