/*
 * CSR partnership page (spec P26).
 *
 * Loaded only on pages that use one of the CSR shortcodes.
 */

/* The eligibility verdict. Deliberately the loudest element on the page: a
   company's finance team needs to know before they read anything else whether
   their money can be booked as CSR, and burying that in body copy would waste
   their time and ours. */
.aop-csr__verdict {
	padding: 20px 24px;
	margin: 0 0 28px;
	border-radius: var(--aop-radius, 12px);
	border-left: 5px solid;
}

.aop-csr__verdict p {
	margin: 0 0 12px;
	line-height: 1.65;
}

.aop-csr__verdict p:last-child {
	margin-bottom: 0;
}

.aop-csr__verdict--yes {
	color: #0B5D4A;
	background: var(--aop-tint, #E6F5F1);
	border-left-color: var(--global-palette1, #0B5D4A);
}

/* Amber rather than red. This is a fact a company needs before deciding, not
   an error and not a warning about danger. */
.aop-csr__verdict--no {
	color: #7A5200;
	background: #FFF6E5;
	border-left-color: #C8912A;
}

.aop-csr__tiles {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
	margin: 0 0 8px;
}

.aop-csr__tile {
	padding: 18px 20px;
	background: #fff;
	border: 1px solid var(--global-palette6, #D9D5CC);
	border-top: 4px solid var(--global-palette6, #D9D5CC);
	border-radius: var(--aop-radius, 12px);
}

.aop-csr__tile.is-yes {
	border-top-color: var(--global-palette1, #0B5D4A);
}

.aop-csr__tile.is-no {
	border-top-color: #C8912A;
	background: #FDFBF6;
}

.aop-csr__tile h3 {
	margin: 0 0 8px;
	font-size: .78rem;
	font-weight: 700;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: var(--global-palette5, #5A6672);
}

.aop-csr__tile p {
	margin: 0 0 6px;
	font-size: 1.15rem;
	font-weight: 700;
	line-height: 1.25;
	color: var(--global-palette4, #2E3A44);
}

.aop-csr__tile span {
	display: block;
	font-size: .85rem;
	line-height: 1.5;
	color: var(--global-palette5, #5A6672);
}

/* Where the money goes */
.aop-csr__areas {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
	gap: 20px;
	margin: 24px 0;
}

.aop-csr__area {
	padding: 20px;
	background: var(--aop-tint, #E6F5F1);
	border-radius: var(--aop-radius, 12px);
}

.aop-csr__area h3 {
	margin: 0 0 8px;
	font-size: 1.05rem;
}

.aop-csr__what {
	margin: 0 0 10px;
	font-size: .92rem;
	line-height: 1.55;
}

/* The Schedule VII head, set apart because it is the line a CSR officer copies
   into their own paperwork. */
.aop-csr__schedule {
	margin: 0;
	padding-top: 10px;
	font-size: .8rem;
	font-weight: 600;
	color: var(--global-palette1, #0B5D4A);
	border-top: 1px solid rgba(11, 93, 74, .18);
}

/* Partners wall */
.aop-partners {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 20px 0 0;
	padding: 0;
	list-style: none;
}

.aop-partner {
	display: flex;
	flex-direction: column;
	gap: 8px;
	align-items: center;
	width: 190px;
	padding: 18px;
	text-align: center;
	background: #fff;
	border: 1px solid var(--global-palette6, #D9D5CC);
	border-radius: var(--aop-radius, 12px);
}

.aop-partner__logo {
	max-width: 140px;
	height: auto;
}

.aop-partner__name {
	font-weight: 700;
	line-height: 1.3;
}

.aop-partner__meta {
	font-size: .82rem;
	line-height: 1.45;
	color: var(--global-palette5, #5A6672);
}

.aop-partners__quiet {
	margin: 16px 0 0;
	font-size: .9rem;
	font-style: italic;
	color: var(--global-palette5, #5A6672);
}
