/*
 * Sustainability - ESG table.
 *
 * Read from cp-all-designer css/sustain.css:779-905 (.sufwtb), 1224-1235
 * (.suspil__band).
 *
 * Colour, type, padding and the measures arrive from the Style tab and are not
 * repeated here.
 */

/* sustain.css:800-805 — the table cut to the leaf */
.custom-sustainability-esg-table .custom-sustainability-esg-table__frame {
	overflow: hidden;
	border: 2px solid #EEF2F7;               /* sustain.css:802 measures 1px */
	background: #FFFFFF;
	box-shadow: 0 6px 18px -6px rgba(22, 65, 140, 0.14);   /* --sh-sm */
}

.custom-sustainability-esg-table .custom-sustainability-esg-table__frame .custom-sustainability-esg-table__table {
	width: 100%;
	margin: 0;
	border: 0;
	border-collapse: collapse;
	table-layout: fixed;
}


/* sustain.css:817-857 — a head in its pillar's colour */
.custom-sustainability-esg-table .custom-sustainability-esg-table__table .custom-sustainability-esg-table__col-head {
	border: 0;
	background: var(--custom-sustainability-esg-table-p, rgba(63, 122, 42, 0.94));
	font-weight: inherit;
	text-align: center;
	vertical-align: top;
}

.custom-sustainability-esg-table .custom-sustainability-esg-table__col-icon {
	display: grid;
	place-items: center;
	box-sizing: border-box;
	width: 58px;
	height: 58px;
	margin: 0 auto 14px;
	padding: 10px;
	border-radius: 50%;
	background: #FFFFFF;
	color: var(--custom-sustainability-esg-table-p, rgba(63, 122, 42, 0.94));
}

.custom-sustainability-esg-table .custom-sustainability-esg-table__col-icon svg,
.custom-sustainability-esg-table .custom-sustainability-esg-table__cell-icon svg {
	display: block;
	width: 100%;
	height: 100%;
}

.custom-sustainability-esg-table .custom-sustainability-esg-table__col-name {
	display: block;
	font-weight: 400;
	line-height: 1.5;
	opacity: 0.82;
}

.custom-sustainability-esg-table .custom-sustainability-esg-table__col-go {
	display: block;
	margin-top: 4px;
	font-weight: 700;
	line-height: 1.35;
}

.custom-sustainability-esg-table .custom-sustainability-esg-table__col-tag {
	display: block;
	margin-top: 8px;
	font-weight: 400;
	line-height: 1.6;
	opacity: 0.9;
}

/* sustain.css:861-891 — a topic under a drawing in its column's colour; the rows told apart by a tint, never a rule */
.custom-sustainability-esg-table .custom-sustainability-esg-table__table .custom-sustainability-esg-table__cell {
	border: 0;
	background: transparent;
	font-weight: 400;
	line-height: 1.65;
	text-align: center;
	vertical-align: top;
}

.custom-sustainability-esg-table .custom-sustainability-esg-table__table tbody tr:nth-child(odd) .custom-sustainability-esg-table__cell {
	background: color-mix(in srgb, var(--custom-sustainability-esg-table-p, rgba(63, 122, 42, 0.94)) 10%, #FFFFFF);
}

.custom-sustainability-esg-table .custom-sustainability-esg-table__cell-icon {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	margin: 0 auto 10px;
	color: var(--custom-sustainability-esg-table-p, rgba(63, 122, 42, 0.94));
}

.custom-sustainability-esg-table .custom-sustainability-esg-table__cell-text {
	display: block;
}

/* sustain.css:1224-1235 — the issue the three share, a band across them */
.custom-sustainability-esg-table .custom-sustainability-esg-table__band {
	background: linear-gradient(120deg, var(--custom-sustainability-esg-table-from, #16418C) 0%, var(--custom-sustainability-esg-table-to, #2E6BC4) 100%);
	text-align: center;
}

.custom-sustainability-esg-table .custom-sustainability-esg-table__inner .custom-sustainability-esg-table__band .custom-sustainability-esg-table__band-words {
	margin: 0;
	font-weight: 600;
	line-height: 1.4;
}

/* sustain.css:899-902 — narrow, the table keeps a readable column and scrolls sideways */
@media (max-width: 760px) {
	.custom-sustainability-esg-table .custom-sustainability-esg-table__frame {
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
	}
	.custom-sustainability-esg-table .custom-sustainability-esg-table__frame .custom-sustainability-esg-table__table {
		min-width: 720px;
	}
	.custom-sustainability-esg-table .custom-sustainability-esg-table__frame .custom-sustainability-esg-table__table[data-custom-items="1"] {
		min-width: 0;
	}
	.custom-sustainability-esg-table .custom-sustainability-esg-table__frame .custom-sustainability-esg-table__table[data-custom-items="2"] {
		min-width: 480px;
	}
}
