/**
 * Sprint 6.24C All Insights catalogue.
 * All rules remain scoped to the dedicated template/component.
 */

.page-template-all-insights .site.grid-container,
.page-template-all-insights .site-content,
.page-template-all-insights .content-area,
.page-template-all-insights .site-main {
	max-width: none;
	width: 100%;
	margin: 0;
	padding: 0;
}

.page-template-all-insights .site-content {
	display: block;
}

.bp-all-insights {
	overflow: clip;
	color: var(--bp-color-text);
	background: var(--bp-color-surface);
}

.bp-all-insights__container,
.bp-all-insights__breadcrumb {
	width: min(90rem, calc(100vw - 6rem));
	margin-inline: auto;
}

.bp-all-insights__section {
	padding-block: var(--bp-space-section-compact);
}

.bp-all-insights__eyebrow {
	margin: 0 0 var(--bp-space-3);
	color: var(--bp-color-link);
	font-size: var(--bp-font-size-caption);
	font-weight: var(--bp-font-weight-bold);
	letter-spacing: var(--bp-letter-spacing-eyebrow);
	text-transform: uppercase;
}

.bp-all-insights h1,
.bp-all-insights h2,
.bp-all-insights h3,
.bp-all-insights p {
	margin-top: 0;
}

.bp-all-insights h1 {
	max-width: 50rem;
	margin-bottom: var(--bp-space-5);
	color: var(--bp-color-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2.8rem, 4.8vw, 4.6rem);
	line-height: 1;
	letter-spacing: -0.04em;
}

.bp-all-insights h2 {
	color: var(--bp-color-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(2rem, 3vw, 3rem);
	line-height: 1.08;
	letter-spacing: -0.025em;
}

.bp-all-insights__breadcrumb {
	padding-block: var(--bp-space-4);
	font-size: var(--bp-font-size-small);
}

.bp-all-insights__breadcrumb ol {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bp-space-2);
	margin: 0;
	padding: 0;
	list-style: none;
}

.bp-all-insights__breadcrumb li + li::before {
	content: "/";
	margin-right: var(--bp-space-2);
	color: var(--bp-color-border-strong);
}

.bp-all-insights__breadcrumb a {
	color: var(--bp-color-link);
}

.bp-all-insights__breadcrumb [aria-current="page"] {
	color: var(--bp-color-text-muted);
}

.bp-all-insights__hero {
	padding-block: clamp(3rem, 5vw, 4.8rem);
	background: linear-gradient(120deg, var(--bp-color-surface-subtle), var(--bp-color-background));
}

.bp-all-insights__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(22rem, 0.75fr);
	gap: clamp(2rem, 5vw, 5rem);
	align-items: center;
}

.bp-all-insights__hero-grid > div > p:not(.bp-all-insights__eyebrow) {
	max-width: 47rem;
	margin-bottom: var(--bp-space-6);
	color: var(--bp-color-text-muted);
	font-size: var(--bp-font-size-body-large);
}

.bp-all-insights__subscribe {
	padding: clamp(1.5rem, 3vw, 2.25rem);
	border: 1px solid var(--bp-color-border);
	border-radius: var(--bp-radius-lg);
	background: var(--bp-color-surface);
	box-shadow: var(--bp-shadow-card);
}

.bp-all-insights__subscribe h2 {
	margin-bottom: var(--bp-space-6);
	font-size: clamp(1.55rem, 2vw, 2.15rem);
}

.bp-all-insights__subscribe label,
.bp-all-insights__control label {
	display: block;
	margin-bottom: var(--bp-space-2);
	color: var(--bp-color-secondary);
	font-size: var(--bp-font-size-caption);
	font-weight: var(--bp-font-weight-bold);
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.bp-all-insights__subscribe > div {
	display: grid;
	grid-template-columns: 1fr auto;
}

.bp-all-insights__subscribe input,
.bp-all-insights__subscribe button,
.bp-all-insights__control input,
.bp-all-insights__control select,
.bp-all-insights__control-grid > button {
	min-height: var(--bp-target-min);
	border: 1px solid var(--bp-color-border-strong);
	font: inherit;
}

.bp-all-insights__subscribe input {
	min-width: 0;
	padding-inline: var(--bp-space-4);
	border-radius: var(--bp-radius-sm) 0 0 var(--bp-radius-sm);
	background: var(--bp-color-background);
}

.bp-all-insights__subscribe button {
	padding-inline: var(--bp-space-5);
	border-radius: 0 var(--bp-radius-sm) var(--bp-radius-sm) 0;
	background: var(--bp-color-primary);
	color: var(--bp-color-text-inverse);
}

.bp-all-insights__subscribe small,
.bp-all-insights__control-note {
	display: block;
	margin-top: var(--bp-space-3);
	color: var(--bp-color-text-muted);
	font-size: var(--bp-font-size-caption);
}

.bp-all-insights__section-head,
.bp-all-insights__results-head {
	display: flex;
	align-items: end;
	justify-content: space-between;
	gap: var(--bp-space-10);
	margin-bottom: var(--bp-space-8);
}

.bp-all-insights__section-head h2,
.bp-all-insights__results-head h2 {
	max-width: 48rem;
	margin-bottom: 0;
}

.bp-all-insights__section-head > p,
.bp-all-insights__results-head > p {
	max-width: 32rem;
	margin-bottom: 0;
	color: var(--bp-color-text-muted);
}

.bp-all-insights__featured {
	background: var(--bp-color-surface);
}

.bp-all-insights__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--bp-space-6);
}

.bp-all-insights__card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--bp-color-border);
	border-radius: var(--bp-radius-lg);
	background: var(--bp-color-surface);
	box-shadow: var(--bp-shadow-card);
}

.bp-all-insights__card-media,
.bp-all-insights__card-graphic {
	height: 11.5rem;
	background: var(--bp-color-surface-subtle);
}

.bp-all-insights__card-media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.bp-all-insights__card-graphic {
	display: flex;
	flex-direction: column;
	justify-content: end;
	padding: var(--bp-space-6);
	background: linear-gradient(135deg, var(--bp-color-primary), var(--bp-color-secondary));
	color: var(--bp-color-text-inverse);
}

.bp-all-insights__card--tool .bp-all-insights__card-graphic {
	background: linear-gradient(135deg, var(--bp-color-surface-subtle), var(--bp-color-background));
	color: var(--bp-color-link);
}

.bp-all-insights__card-graphic span {
	font-size: var(--bp-font-size-caption);
	font-weight: var(--bp-font-weight-bold);
	letter-spacing: var(--bp-letter-spacing-eyebrow);
	text-transform: uppercase;
}

.bp-all-insights__card-graphic b {
	margin-top: var(--bp-space-2);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.6rem;
}

.bp-all-insights__card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: var(--bp-space-6);
}

.bp-all-insights__card-labels {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--bp-space-3);
}

.bp-all-insights__card-labels span,
.bp-all-insights__authority-label {
	padding: 0.3rem 0.55rem;
	border-radius: var(--bp-radius-pill);
	background: var(--bp-color-surface-subtle);
	color: var(--bp-color-link);
	font-size: var(--bp-font-size-caption);
	font-weight: var(--bp-font-weight-bold);
	text-transform: uppercase;
}

.bp-all-insights__card-labels small {
	color: var(--bp-color-text-muted);
	font-size: var(--bp-font-size-caption);
	font-weight: var(--bp-font-weight-semibold);
	text-align: right;
}

.bp-all-insights__authority-label {
	align-self: flex-start;
	margin: var(--bp-space-3) 0 0;
	background: var(--bp-color-background);
}

.bp-all-insights__card h3 {
	margin: var(--bp-space-4) 0 var(--bp-space-3);
	color: var(--bp-color-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.3rem, 1.7vw, 1.65rem);
	line-height: 1.16;
}

.bp-all-insights__card-body > p:not(.bp-all-insights__authority-label) {
	margin-bottom: var(--bp-space-5);
	color: var(--bp-color-text-muted);
	font-size: var(--bp-font-size-small);
}

.bp-all-insights__meta {
	display: flex;
	flex-wrap: wrap;
	gap: var(--bp-space-2) var(--bp-space-4);
	margin-top: auto;
	padding-block: var(--bp-space-4);
	border-top: 1px solid var(--bp-color-border);
	color: var(--bp-color-text-muted);
	font-size: var(--bp-font-size-caption);
}

.bp-all-insights__card-footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--bp-space-4);
	padding-top: var(--bp-space-3);
	border-top: 1px solid var(--bp-color-border);
}

.bp-all-insights__card-footer small {
	overflow: hidden;
	color: var(--bp-color-text-muted);
	font-size: var(--bp-font-size-caption);
	text-overflow: ellipsis;
	white-space: nowrap;
}

.bp-all-insights__card-footer button,
.bp-all-insights__pagination button,
.bp-all-insights__control-grid > button {
	flex: 0 0 auto;
	border: 0;
	background: transparent;
	color: var(--bp-color-link);
	font-weight: var(--bp-font-weight-bold);
}

.bp-all-insights__controls {
	padding-block: var(--bp-space-8);
	border-block: 1px solid var(--bp-color-border);
	background: var(--bp-color-surface);
}

.bp-all-insights__control-grid {
	display: grid;
	grid-template-columns: minmax(16rem, 1.4fr) repeat(3, minmax(10rem, 0.7fr)) auto;
	gap: var(--bp-space-4);
	align-items: end;
}

.bp-all-insights__control input,
.bp-all-insights__control select {
	width: 100%;
	padding-inline: var(--bp-space-4);
	border-radius: var(--bp-radius-sm);
	background: var(--bp-color-background);
	color: var(--bp-color-text);
}

.bp-all-insights__results {
	background: var(--bp-color-background);
}

.bp-all-insights__results-head > p {
	display: flex;
	flex-direction: column;
	text-align: right;
}

.bp-all-insights__results-head strong {
	color: var(--bp-color-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.75rem;
}

.bp-all-insights__pagination {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: var(--bp-space-2);
	margin-top: var(--bp-space-10);
}

.bp-all-insights__pagination > * {
	display: inline-grid;
	min-width: var(--bp-target-min);
	height: var(--bp-target-min);
	place-items: center;
	padding-inline: var(--bp-space-3);
	border: 1px solid var(--bp-color-border);
	border-radius: var(--bp-radius-sm);
	background: var(--bp-color-surface);
}

.bp-all-insights__pagination [aria-current="page"] {
	border-color: var(--bp-color-primary);
	background: var(--bp-color-primary);
	color: var(--bp-color-text-inverse);
}

.bp-all-insights__zero {
	margin-top: var(--bp-space-8);
	padding: var(--bp-space-8);
	border-radius: var(--bp-radius-lg);
	background: var(--bp-color-surface-subtle);
}

.bp-all-insights__zero[hidden] {
	display: none;
}

.bp-all-insights__formats {
	background: var(--bp-color-surface-subtle);
}

.bp-all-insights__format-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--bp-space-4);
}

.bp-all-insights__format-grid article {
	padding: var(--bp-space-6);
	border-left: 0.25rem solid var(--bp-color-accent);
	background: var(--bp-color-surface);
}

.bp-all-insights__format-grid b {
	color: var(--bp-color-primary);
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.4rem;
}

.bp-all-insights__format-grid p {
	margin: var(--bp-space-2) 0 0;
	color: var(--bp-color-text-muted);
}

.bp-all-insights__future-contract {
	display: flex;
	justify-content: space-between;
	gap: var(--bp-space-4);
	margin-top: var(--bp-space-5);
	color: var(--bp-color-text-muted);
	font-size: var(--bp-font-size-caption);
}

.bp-all-insights__categories,
.bp-all-insights__bridges {
	background: var(--bp-color-primary);
}

.bp-all-insights__categories h2,
.bp-all-insights__bridges h2,
.bp-all-insights__categories .bp-all-insights__eyebrow,
.bp-all-insights__bridges .bp-all-insights__eyebrow {
	color: var(--bp-color-text-inverse);
}

.bp-all-insights__category-grid {
	display: grid;
	grid-template-columns: repeat(5, minmax(0, 1fr));
	gap: var(--bp-space-4);
}

.bp-all-insights__category-grid a,
.bp-all-insights__bridge-grid a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--bp-space-4);
	padding: var(--bp-space-5);
	border: 1px solid var(--bp-color-secondary);
	border-radius: var(--bp-radius-md);
	background: var(--bp-color-primary-hover);
	color: var(--bp-color-text-inverse);
	font-weight: var(--bp-font-weight-bold);
}

.bp-all-insights__bridge-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: var(--bp-space-4);
}

.bp-all-insights__bridge-grid a {
	display: grid;
	grid-template-columns: 1fr auto;
}

.bp-all-insights__bridge-grid small {
	grid-column: 1 / -1;
	color: var(--bp-color-border-strong);
}

.bp-all-insights__final {
	padding-block: var(--bp-space-section-compact);
	background: var(--bp-color-surface-subtle);
}

.bp-all-insights__final .bp-all-insights__container {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: var(--bp-space-10);
}

.bp-all-insights__final h2 {
	margin-bottom: var(--bp-space-3);
}

.bp-all-insights__final p:not(.bp-all-insights__eyebrow) {
	margin-bottom: 0;
	color: var(--bp-color-text-muted);
}

.bp-all-insights__final .bp-all-insights__container > div:last-child {
	display: flex;
	gap: var(--bp-space-3);
}

.bp-all-insights :is(a, button, input, select):focus-visible {
	outline: none;
	box-shadow: var(--bp-focus-ring);
}

.bp-all-insights :disabled {
	cursor: not-allowed;
	opacity: 0.62;
}

.bp-all-insights__visually-hidden {
	position: absolute;
	width: 1px;
	height: 1px;
	overflow: hidden;
	clip: rect(0 0 0 0);
	clip-path: inset(50%);
	white-space: nowrap;
}

@media (max-width: 100rem) {
	.bp-all-insights__container,
	.bp-all-insights__breadcrumb {
		width: min(78rem, calc(100vw - 5rem));
	}

	.bp-all-insights__control-grid {
		grid-template-columns: minmax(16rem, 1.25fr) repeat(3, minmax(9rem, 0.75fr));
	}

	.bp-all-insights__control-grid > button {
		grid-column: 1 / -1;
		justify-self: end;
	}
}

@media (max-width: 68.75rem) {
	.bp-all-insights__container,
	.bp-all-insights__breadcrumb {
		width: min(100% - 3rem, 60rem);
	}

	.bp-all-insights__hero-grid {
		grid-template-columns: 1fr;
	}

	.bp-all-insights__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bp-all-insights__control-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.bp-all-insights__control--search {
		grid-column: 1 / -1;
	}

	.bp-all-insights__category-grid {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.bp-all-insights__bridge-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 50rem) {
	.bp-all-insights__container,
	.bp-all-insights__breadcrumb {
		width: min(100% - 2rem, 44rem);
	}

	.bp-all-insights__section-head,
	.bp-all-insights__results-head,
	.bp-all-insights__final .bp-all-insights__container {
		align-items: flex-start;
		flex-direction: column;
	}

	.bp-all-insights__results-head > p {
		text-align: left;
	}

	.bp-all-insights__format-grid {
		grid-template-columns: 1fr;
	}

	.bp-all-insights__future-contract {
		flex-direction: column;
	}

	.bp-all-insights__category-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 30rem) {
	.bp-all-insights__grid,
	.bp-all-insights__control-grid,
	.bp-all-insights__category-grid,
	.bp-all-insights__bridge-grid {
		grid-template-columns: 1fr;
	}

	.bp-all-insights__control--search {
		grid-column: auto;
	}

	.bp-all-insights__subscribe > div,
	.bp-all-insights__final .bp-all-insights__container > div:last-child {
		display: flex;
		align-items: stretch;
		flex-direction: column;
	}

	.bp-all-insights__subscribe input,
	.bp-all-insights__subscribe button {
		border-radius: var(--bp-radius-sm);
	}

	.bp-all-insights__pagination {
		flex-wrap: wrap;
	}
}
