/* Standalone supply-lists page (navbar "List").
 *
 * `.impact-portal` is the dashboard shell: a grid whose first column is the
 * 250px sidebar, with `.impact-portal-main` pinned to `grid-column: 2`. There is
 * no sidebar here, so that left an empty 250px column and pushed everything to
 * the right. Drop the grid and centre the content on the page instead. The
 * !important flags are needed because the portal sets these per breakpoint. */
.impact-portal--standalone {
	display: block !important;
	grid-template-columns: none !important;
	background: var(--icp-surface, #f7f5f1);
	padding: 0 0 56px !important;
}

.impact-portal--standalone .impact-portal-main {
	display: block !important;
	grid-column: auto !important;
	grid-row: auto !important;
	width: min(100% - 128px, 1312px) !important;
	max-width: none !important;
	margin-inline: auto !important;
	padding: 40px 0 0 !important;
}

.impact-portal-standalone-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 24px;
	margin-bottom: 24px;
}

.impact-portal-standalone-head h1 {
	margin: 6px 0 0;
	color: var(--icp-night-teal, #0b1a21);
	font-size: 30px;
	font-weight: 600;
	letter-spacing: -.01em;
}

.impact-portal-standalone-head__lead {
	max-width: 620px;
	margin-top: 8px;
	color: var(--icp-muted, #6b7480);
	font-size: 14.5px;
	line-height: 1.55;
}

@media (max-width: 1120px) {
	.impact-portal--standalone .impact-portal-main { width: min(100% - 64px, 1056px) !important; }
}

@media (max-width: 767px) {
	.impact-portal--standalone .impact-portal-main { width: calc(100% - 36px) !important; padding: 26px 0 0 !important; }
	.impact-portal-standalone-head { flex-direction: column; align-items: flex-start; gap: 14px; }
	.impact-portal-standalone-head h1 { font-size: 22px; }
}

/* The portal's button styles stretch inside a flex row. */
.impact-portal-standalone-head > .impact-portal-button {
	flex: 0 0 auto;
	width: auto;
	white-space: nowrap;
}

/* On this page the ordering bar sits outside `.impact-portal-supply-hub`, so it
   picks up the dark-teal variant. Pin it to the light treatment used inside the
   hub and set every text colour explicitly, so no variant can leave white on
   white here. */
.impact-portal--standalone .impact-portal-list-order-bar {
	background: linear-gradient(180deg, rgba(43, 100, 117, .08), rgba(255, 255, 255, .92)) !important;
	color: var(--icp-heading, #3d4752) !important;
}

.impact-portal--standalone .impact-portal-list-order-bar h3 {
	color: var(--icp-night-teal, #0b1a21) !important;
}

.impact-portal--standalone .impact-portal-list-order-bar .impact-portal-eyebrow {
	color: var(--icp-red, #c00000) !important;
}

.impact-portal--standalone .impact-portal-list-order-bar span,
.impact-portal--standalone .impact-portal-list-order-bar p,
.impact-portal--standalone .impact-portal-list-order-bar label {
	color: var(--icp-muted, #6b7480) !important;
}

.impact-portal--standalone .impact-portal-list-order-bar strong,
.impact-portal--standalone .impact-portal-list-order-bar b {
	color: var(--icp-heading, #3d4752) !important;
}
