/* WordPress chrome, menus, inner pages and mobile navigation. */

.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

.screen-reader-text:focus,
.skip-link:focus {
	clip: auto;
	clip-path: none;
	height: auto;
	left: 16px;
	top: 16px;
	width: auto;
	z-index: 100000;
	padding: 12px 16px;
	background: var(--ink-2);
	color: white;
	font-size: 13px;
	font-weight: 700;
}

.site-header nav ul {
	display: flex;
	align-items: center;
	gap: 28px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.site-header nav li {
	margin: 0;
}

.menu-toggle {
	display: none;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 1px solid var(--line);
	background: white;
	cursor: pointer;
	align-items: center;
	justify-content: center;
}

.menu-toggle span[aria-hidden] {
	display: block;
	width: 18px;
	height: 2px;
	background: var(--ink-2);
	box-shadow: 0 -6px 0 var(--ink-2), 0 6px 0 var(--ink-2);
}

.site-header.is-nav-open .menu-toggle span[aria-hidden] {
	background: transparent;
	box-shadow: none;
	transform: rotate(45deg);
}

.site-header.is-nav-open .menu-toggle span[aria-hidden]::after {
	content: "";
	display: block;
	width: 18px;
	height: 2px;
	background: var(--ink-2);
	transform: rotate(-90deg);
}

body.home.admin-bar .site-header {
	top: 32px;
}

body:not(.home) .site-header {
	position: sticky;
	top: 0;
	z-index: 40;
}

body:not(.home).admin-bar .site-header {
	top: 32px;
}

.page-hero {
	position: relative;
	min-height: 320px;
	padding: 140px 0 72px;
	color: white;
	background: var(--ink);
	overflow: hidden;
}

.page-hero .hero-image {
	position: absolute;
	inset: 0;
	background: url("../images/hero-governance-v2.png") center/cover no-repeat;
	filter: saturate(0.88) contrast(1.02);
	opacity: 0.55;
}

.page-hero .hero-shade {
	position: absolute;
	inset: 0;
	background:
		linear-gradient(90deg, rgba(2, 31, 43, 0.88) 0%, rgba(3, 42, 56, 0.62) 48%, rgba(4, 56, 75, 0.28) 100%),
		linear-gradient(0deg, rgba(2, 31, 43, 0.42), transparent 58%);
}

.page-hero-content {
	position: relative;
	z-index: 2;
}

.page-hero-content h1 {
	margin: 0;
	max-width: 900px;
	font-size: clamp(42px, 5vw, 72px);
	line-height: 1.02;
	letter-spacing: -0.045em;
	font-weight: 360;
}

.page-body {
	padding: 88px 0 120px;
}

.entry-shell {
	max-width: 820px;
}

.entry-back {
	margin: 0 0 20px;
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
}

.entry-back a {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	padding: 4px 0;
	color: var(--cyan-deep);
	border-bottom: 1px solid transparent;
	transition: 0.2s ease;
}

.entry-back a:hover {
	color: var(--ink);
	border-bottom-color: var(--ink);
}

.entry-meta {
	margin: 0 0 28px;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.entry-content,
.comment-body {
	color: var(--ink);
	font-size: 17px;
	line-height: 1.75;
}

.entry-content > *:first-child {
	margin-top: 0;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	letter-spacing: -0.03em;
	line-height: 1.2;
}

.entry-content h2 {
	margin: 2.1em 0 0.7em;
	font-size: 28px;
	font-weight: 480;
}

.entry-content h3 {
	margin: 1.5em 0 0.5em;
	font-size: 20px;
	font-weight: 620;
}

.entry-content p {
	margin: 0 0 1.1em;
}

.entry-content ul,
.entry-content ol {
	margin: 0 0 1.4em;
	padding-left: 1.25em;
}

.entry-content li {
	margin: 0 0 0.45em;
}

.entry-content .privacy-updated {
	margin-bottom: 1.6em;
	color: var(--muted);
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.entry-content .button-primary {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	margin: 8px 0 4px;
	border-bottom: 0;
}

.entry-content .ethics-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px 16px;
	margin: 1.4em 0 2em;
}

.entry-content .ethics-file {
	margin: 1.6em 0 0;
	padding: 22px 24px;
	background: white;
	border: 1px solid var(--line);
}

.entry-content a {
	color: var(--cyan-deep);
	border-bottom: 1px solid rgba(7, 148, 165, 0.35);
}

.entry-content img,
.entry-content figure,
.entry-content iframe,
.entry-content video {
	max-width: 100%;
	height: auto;
}

.entry-content .alignwide,
.entry-content .alignfull {
	max-width: 100%;
}

.page-body .insight-tags {
	margin-top: 0;
	margin-bottom: 36px;
}

.insight-tags a {
	padding: 9px 16px;
	background: white;
	border: 1px solid rgba(7, 88, 119, 0.1);
	border-radius: 30px;
	font-size: 10px;
	color: #526c77;
}

.insight-tags a.active,
.insight-tags a:hover {
	color: white;
	background: var(--ink-2);
	border-color: var(--ink-2);
}

.insights-empty {
	margin: 28px 0 0;
	color: var(--muted);
	font-size: 15px;
	line-height: 1.7;
}

.insights-empty a {
	margin-left: 8px;
	border-bottom: 1px solid var(--ink);
	color: var(--ink);
	font-weight: 700;
}

.insight-meta {
	display: block;
	margin: 0 0 16px;
	color: var(--muted);
	font-size: 11px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.insight-feature .insight-meta {
	margin: -12px 0 22px;
}

.insight-card.has-image {
	padding-top: 0;
}

.insight-card-image {
	display: block;
	height: 132px;
	margin: 0 -28px 18px;
	background: center 50% / cover no-repeat;
}

.insight-card:first-child .insight-card-image {
	height: 168px;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 22px;
}

.posts-grid .insight-card,
.posts-grid .insight-card:first-child {
	grid-column: auto;
	min-height: 0;
	aspect-ratio: 1;
	overflow: hidden;
}

.posts-grid .insight-card-image,
.posts-grid .insight-card:first-child .insight-card-image {
	height: 124px;
	margin-bottom: 16px;
}

.posts-grid .insight-card h3 {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	margin: 14px 0 10px;
	font-size: 18px;
}

.posts-grid .insight-card p {
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	overflow: hidden;
	margin: 0 0 14px;
}

.posts-grid .insight-meta {
	margin-bottom: 12px;
}

.pagination {
	display: flex;
	justify-content: space-between;
	gap: 24px;
	margin-top: 48px;
	font-size: 12px;
	font-weight: 700;
}

.pagination a {
	border-bottom: 1px solid var(--ink);
	padding: 10px 0;
}

.empty-state {
	max-width: 640px;
	color: var(--muted);
	font-size: 16px;
	line-height: 1.7;
}

.posts-lead {
	max-width: 720px;
	margin: 0 0 48px;
}

.entry-external {
	margin: 36px 0 0;
}

#comments {
	margin: 48px 0 0;
	padding: 28px 0 0;
	border-top: 1px solid var(--line);
}

.comments-title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 22px;
	color: var(--ink);
	font-size: 15px;
	font-weight: 650;
	letter-spacing: 0;
	line-height: 1.2;
}

.comments-title-icon {
	width: 19px;
	height: 19px;
	flex: 0 0 auto;
	color: var(--ink-2);
}

#reply-title {
	margin: 0 0 16px;
	font-size: 15px;
	font-weight: 650;
	letter-spacing: 0;
	line-height: 1.3;
}

#reply-title:empty,
#reply-title:not(:has(a#cancel-comment-reply-link[style*="inline"])) {
	display: none;
}

#reply-title small {
	margin-left: 10px;
	font-size: 13px;
	font-weight: 600;
}

.comment-list {
	margin: 0 0 28px;
	padding: 0;
	list-style: none;
}

.comment-list .children {
	margin: 0;
	padding: 0 0 0 50px;
	list-style: none;
}

.comment-list .comment {
	margin: 0;
}

.comment-body {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 10px 12px;
	margin: 0;
	padding: 16px 0;
	background: transparent;
	border: 0;
	border-bottom: 1px solid var(--line);
	font-size: 15px;
	line-height: 1.6;
}

.comment-avatar img,
.comments-composer-avatar img,
.comments-composer-avatar svg {
	display: block;
	width: 40px;
	height: 40px;
	border-radius: 50%;
}

.comment-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: baseline;
	gap: 8px 10px;
	margin: 0 0 4px;
	color: var(--muted);
	font-size: 12px;
	letter-spacing: 0;
	text-transform: none;
}

.comment-author {
	color: var(--ink);
	font-size: 14px;
	font-weight: 700;
}

.comment-permalink {
	color: var(--muted);
}

.comment-content p {
	margin: 0 0 0.7em;
}

.comment-content p:last-child {
	margin-bottom: 0;
}

.reply {
	margin-top: 8px;
	font-size: 12px;
	font-weight: 650;
}

.reply a,
.comment-reply-login,
#cancel-comment-reply-link {
	color: var(--ink-2);
	border-bottom: 0;
}

.no-comments,
.must-log-in {
	margin: 10px 0 12px;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.5;
}

.comments-login {
	padding: 0;
}

.comments-composer {
	display: grid;
	grid-template-columns: 40px minmax(0, 1fr);
	gap: 12px;
	align-items: start;
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
	color: inherit;
	font: inherit;
	text-align: left;
}

button.comments-composer {
	cursor: pointer;
}

.comments-composer-placeholder,
.comments-composer textarea {
	width: 100%;
	min-height: 44px;
	padding: 12px 0 10px;
	border: 0;
	border-bottom: 1px solid var(--line);
	background: transparent;
	color: var(--ink);
	font: inherit;
	font-size: 15px;
	line-height: 1.5;
	resize: none;
}

.comments-composer textarea:focus {
	outline: none;
	border-bottom-color: var(--ink-2);
}

.comments-composer-placeholder {
	color: var(--muted);
}

.comments-auth-dialog {
	width: min(420px, calc(100% - 32px));
	max-height: calc(100% - 32px);
	overflow: auto;
	padding: 44px 36px 32px;
	border: 0;
	background: white;
	color: var(--ink);
	box-shadow: 0 28px 80px rgba(4, 56, 75, 0.22);
}

.comments-auth-dialog[open] {
	position: fixed;
	inset: 0;
	margin: auto;
	height: fit-content;
}

.comments-auth-dialog::backdrop {
	background: rgba(2, 31, 43, 0.55);
}

.comments-auth-close {
	position: absolute;
	top: 12px;
	right: 14px;
	width: 36px;
	height: 36px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--ink-2);
	font-size: 28px;
	line-height: 1;
	cursor: pointer;
}

.comments-auth-dialog h2 {
	margin: 0 0 10px;
	font-size: 32px;
	font-weight: 420;
	letter-spacing: -0.04em;
	line-height: 1.1;
}

.comments-auth-copy {
	margin: 0 0 28px;
	color: var(--muted);
	font-size: 14px;
	line-height: 1.55;
}

.comments-social-buttons-stack,
.comments-auth-dialog .nsl-container-buttons {
	display: grid;
	gap: 10px;
	margin: 0;
}

.comments-social-button-stack {
	display: flex;
	align-items: center;
	justify-content: flex-start;
	gap: 12px;
	width: 100%;
	height: auto;
	padding: 13px 16px;
	background: white;
	border: 1px solid var(--line);
	border-radius: 0;
	font-size: 13px;
	font-weight: 700;
	color: var(--ink);
}

.comments-social-button-stack:hover {
	border-color: var(--ink-2);
	opacity: 1;
	color: var(--ink);
}

.comments-social-button-stack .comments-social-icon {
	display: flex;
	flex: 0 0 auto;
}

.comments-social-button-stack .comments-social-icon,
.comments-social-button-stack .comments-social-icon svg {
	width: 20px;
	height: 20px;
}

.comments-auth-legal {
	margin: 22px 0 0;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.55;
}

.comments-auth-legal a {
	color: var(--ink-2);
	border-bottom: 1px solid rgba(7, 88, 119, 0.35);
}

.comments-oauth-uris {
	margin-top: 22px;
	padding: 16px 18px;
	background: transparent;
	border: 1px dashed var(--line);
	font-size: 13px;
	color: var(--muted);
}

.comments-oauth-uris summary {
	cursor: pointer;
	font-weight: 700;
	color: var(--ink-2);
}

.comments-oauth-uris ul {
	margin: 12px 0 0;
	padding: 0;
	list-style: none;
}

.comments-oauth-uris li {
	margin: 0 0 10px;
}

.comments-oauth-uris code {
	display: block;
	margin-top: 4px;
	word-break: break-all;
	color: var(--ink);
}

.comment-respond {
	margin-top: 4px;
}

.comment-form p {
	margin: 0 0 14px;
}

.comment-form .form-submit {
	display: flex;
	justify-content: flex-end;
	margin: 4px 0 0;
}

.comments-submit {
	padding: 0;
	border: 0;
	background: none;
	color: var(--ink);
	font: inherit;
	font-size: 13px;
	font-weight: 700;
	cursor: pointer;
}

.comments-submit:hover {
	color: var(--cyan-deep);
}

.logged-in-as {
	margin: 0 0 12px 52px;
	color: var(--muted);
	font-size: 12px;
}

.logged-in-as a {
	margin-left: 6px;
	border-bottom: 0;
	color: var(--ink-2);
	font-weight: 650;
}

.nsl-container-buttons {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	margin-bottom: 0;
}

.footer-grid > div:last-child ul,
.footer-grid > div:last-child li {
	display: contents;
}

.cookie-consent[hidden] {
	display: none !important;
}

@media (max-width: 1050px) {
	.menu-toggle {
		display: inline-flex;
		margin-left: auto;
		margin-right: 12px;
	}

	.site-header.is-nav-open nav {
		display: flex;
		position: absolute;
		top: 100%;
		left: 0;
		right: 0;
		z-index: 30;
		flex-direction: column;
		align-items: stretch;
		padding: 8px 32px 28px;
		background: rgba(255, 255, 255, 0.98);
		border-bottom: 1px solid var(--line);
		box-shadow: 0 18px 40px rgba(4, 56, 75, 0.1);
	}

	.site-header.is-nav-open nav ul {
		flex-direction: column;
		align-items: flex-start;
		gap: 16px;
	}

	.site-header.is-nav-open nav a {
		font-size: 15px;
	}

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

@media (max-width: 782px) {
	body.home.admin-bar .site-header,
	body:not(.home).admin-bar .site-header {
		top: 46px;
	}
}

@media (max-width: 720px) {
	.page-hero {
		min-height: 260px;
		padding: 110px 0 52px;
	}

	.page-body {
		padding: 56px 0 88px;
	}

	.site-header.is-nav-open nav {
		padding: 8px 17px 24px;
	}

	.posts-grid {
		grid-template-columns: 1fr;
	}

	.posts-grid .insight-card,
	.posts-grid .insight-card:first-child {
		aspect-ratio: auto;
	}
}
