/* Corporate Reports page — shared by the front end and block editor. */
.reports-page {
	--reports-ink: #071a34;
	--reports-muted: #66758a;
	--reports-line: #dce3ea;
	--reports-blue: #087fae;
	--reports-orange: #ef7622;
	padding: clamp(3.5rem, 7vw, 7.5rem) clamp(1.25rem, 4vw, 5rem);
}

.reports-page > .wp-block-group__inner-container,
.reports-page-inner {
	width: min(100%, 1280px);
	margin-inline: auto;
}

.reports-intro {
	margin-bottom: clamp(2.5rem, 5vw, 4.5rem);
}

.reports-intro::before {
	content: "";
	display: block;
	width: 7.5rem;
	height: 0.375rem;
	margin-bottom: 2.25rem;
	background: var(--reports-orange);
}

.reports-intro .wp-block-heading {
	max-width: 900px;
	margin: 0 0 1rem;
	color: var(--reports-ink);
	font-size: clamp(3rem, 5.5vw, 5.25rem);
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -0.04em;
}

.reports-intro p {
	max-width: 900px;
	margin: 0;
	color: var(--reports-muted);
	font-size: clamp(1.15rem, 2vw, 1.75rem);
	line-height: 1.45;
}

.reports-featured-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: clamp(1.25rem, 2.5vw, 2.5rem);
	margin-bottom: clamp(4rem, 8vw, 7rem);
}

.reports-featured-card {
	overflow: hidden;
	border: 1px solid var(--reports-line);
	border-radius: 0.75rem;
	background: #fff;
	box-shadow: 0 1.25rem 3.5rem rgba(7, 26, 52, 0.04);
}

.reports-featured-card .report-cover {
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: clamp(22rem, 36vw, 34rem);
	padding: clamp(2rem, 4vw, 4rem);
	background: #fbfcfd;
}

.reports-featured-card .report-cover .wp-block-image {
	margin: 0;
}

.reports-featured-card .report-cover img {
	display: block;
	width: auto;
	max-width: 100%;
	height: clamp(18rem, 28vw, 29rem);
	object-fit: contain;
	border-radius: 0.25rem;
	box-shadow: 0 1rem 2.5rem rgba(7, 26, 52, 0.12);
}

.reports-featured-card .report-card-content {
	padding: clamp(1.75rem, 3vw, 3rem);
}

.reports-featured-card h2 {
	margin: 0 0 0.75rem;
	color: var(--reports-ink);
	font-size: clamp(1.75rem, 2.75vw, 2.75rem);
	font-weight: 500;
	line-height: 1.15;
	letter-spacing: -0.025em;
}

.reports-featured-card .report-description {
	min-height: 3.4em;
	margin: 0 0 1.5rem;
	color: var(--reports-muted);
	font-size: clamp(1rem, 1.45vw, 1.35rem);
	line-height: 1.5;
}

.reports-featured-card .report-link {
	margin: 0;
	font-size: 1.15rem;
	font-weight: 700;
}

.reports-featured-card .report-link a {
	color: var(--reports-blue);
	text-decoration-thickness: 2px;
	text-underline-offset: 0.35rem;
}

.reports-table-section .wp-block-heading {
	margin: 0 0 2rem;
	color: var(--reports-ink);
	font-size: clamp(2rem, 4vw, 3.75rem);
	font-weight: 400;
	letter-spacing: -0.03em;
}

.reports-table-section .documents-container {
	overflow-x: auto;
	border: 1px solid var(--reports-line);
	border-radius: 0.5rem;
}

.reports-table-section .documents-table {
	min-width: 920px;
	margin: 0;
	color: var(--reports-ink);
	font-size: 1rem;
}

.reports-table-section .documents-table th {
	padding: 1.4rem 1.5rem;
	background: #f4f7fa;
	color: #485a72;
	font-size: 1rem;
	border-bottom: 2px solid var(--reports-line);
}

.reports-table-section .documents-table td {
	padding: 1.4rem 1.5rem;
	border-bottom-color: var(--reports-line);
	vertical-align: middle;
}

.reports-table-section .documents-table tbody tr:last-child td {
	border-bottom: 0;
}

.reports-table-section .documents-table th:first-child,
.reports-table-section .documents-table td:first-child {
	width: 34%;
}

.reports-table-section .document-download {
	margin: 0;
	padding: 0.7rem 1.15rem;
	border-radius: 0.35rem;
	background: var(--reports-orange);
	color: #fff;
	font-weight: 700;
}

.reports-table-section .document-download:hover,
.reports-table-section .document-download:focus-visible {
	background: #cb5d12;
	color: #fff;
}

.reports-table-section .documents-sections {
	display: grid;
	gap: 1rem;
}

.reports-table-section .documents-section {
	overflow: hidden;
	border: 1px solid var(--reports-line);
	border-radius: 0.75rem;
	background: #fff;
}

.reports-table-section .documents-section-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1.5rem;
	padding: clamp(1.25rem, 2vw, 1.75rem) clamp(1.25rem, 3vw, 2.25rem);
	background: #f1f1f1;
	color: #111;
	cursor: pointer;
	font-size: clamp(1.25rem, 2vw, 1.65rem);
	font-weight: 700;
	line-height: 1.25;
	list-style: none;
}

.reports-table-section .documents-section-toggle::-webkit-details-marker {
	display: none;
}

.reports-table-section .documents-section-toggle:focus:not(:focus-visible) {
	outline: 0;
}

.reports-table-section .documents-section-toggle:focus-visible {
	outline: 3px solid var(--reports-blue);
	outline-offset: -3px;
}

.reports-table-section .documents-section-toggle .dashicons {
	flex: 0 0 auto;
	width: 1.5rem;
	height: 1.5rem;
	font-size: 1.5rem;
	transition: transform 180ms ease;
}

.reports-table-section .documents-section:not([open]) .documents-section-toggle .dashicons {
	transform: rotate(-90deg);
}

.reports-table-section .documents-section-content {
	padding: clamp(1.75rem, 4vw, 3.25rem) clamp(2rem, 6vw, 5.5rem);
}

.reports-table-section .documents-section-list {
	display: grid;
	gap: 0.9rem;
	margin: 0;
	padding-left: 1.5rem;
	color: #111;
	font-size: clamp(1.1rem, 1.75vw, 1.45rem);
	line-height: 1.5;
}

.reports-table-section .documents-section-list li {
	padding-left: 0.35rem;
}

.reports-table-section .documents-section-list a {
	color: #111;
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.16em;
}

.reports-table-section .documents-section-list a:hover,
.reports-table-section .documents-section-list a:focus-visible {
	color: var(--reports-blue);
}

/* Keep the native blocks compact and easy to select in Gutenberg. */
.editor-styles-wrapper .reports-page {
	padding: 2.5rem clamp(1rem, 3vw, 3rem);
}

.editor-styles-wrapper .reports-featured-grid {
	gap: 1.5rem;
}

.editor-styles-wrapper .reports-featured-card .report-cover {
	min-height: 22rem;
	padding: 2rem;
}

.editor-styles-wrapper .reports-featured-card .report-cover img {
	height: 18rem;
}

.editor-styles-wrapper .reports-featured-card .report-card-content {
	padding: 1.75rem;
}

.editor-styles-wrapper .documents-block-editor {
	padding: 1.5rem;
	border: 1px solid var(--reports-line);
	border-radius: 0.75rem;
	background: #fff;
}

.editor-styles-wrapper .documents-sections-preview {
	display: grid;
	gap: 0.65rem;
	margin-top: 1.25rem;
}

.editor-styles-wrapper .documents-section-preview-row {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.25rem;
	border-radius: 0.4rem;
	background: #f1f1f1;
	color: #111;
}

@media (max-width: 781px) {
	.reports-page {
		padding-inline: 1rem;
	}

	.reports-featured-grid {
		grid-template-columns: 1fr;
	}

	.reports-featured-card .report-cover {
		min-height: 22rem;
	}

	.reports-featured-card .report-cover img {
		height: 20rem;
	}

	.reports-featured-card .report-description {
		min-height: 0;
	}

	.reports-table-section .documents-section-content {
		padding: 1.5rem 1.5rem 1.75rem;
	}

	.reports-table-section .documents-section-list {
		font-size: 1rem;
	}
}
