/* WordPress-specific adjustments layered on top of main.css (admin bar, menu markup). */

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

@media screen and (max-width: 782px) {
	.admin-bar header {
		top: 46px;
	}
}

#navigation ul {
	display: contents;
	list-style: none;
	margin: 0;
	padding: 0;
}

#navigation li {
	display: contents;
}

/* News list: category links, cards with a featured image, pagination */
.filters a {
	background: white;
	border: 1px solid var(--line);
	padding: 10px 23px;
	font-size: 0.875rem;
	color: var(--ink);
}
.filters a.selected {
	background: var(--ink);
	color: white;
	border-color: var(--ink);
}
.news-art.has-image {
	padding: 0;
}
.news-art.has-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}
.news-pagination .nav-links {
	display: flex;
	gap: 8px;
	flex-wrap: wrap;
	margin-top: 60px;
}
.news-pagination .page-numbers {
	min-width: 44px;
	padding: 10px 16px;
	border: 1px solid var(--line);
	text-align: center;
}
.news-pagination .page-numbers.current {
	background: var(--ink);
	color: white;
	border-color: var(--ink);
}
.news-empty {
	padding-block: 40px;
}
.article-image {
	width: 100%;
	height: auto;
	margin-bottom: 40px;
}

/* Body of news posts written in the editor (single.php) */
.article .breadcrumb a:not(.text-link) {
	text-decoration: underline;
}
.article .meta {
	display: flex;
	gap: 16px;
	align-items: center;
	flex-wrap: wrap;
}
.article-body > :last-child {
	margin-bottom: 0;
}
.article-body h2 {
	font-size: clamp(1.5rem, 2.2vw, 2rem);
	margin: 56px 0 20px;
}
.article-body h3 {
	font-size: 1.3rem;
	margin: 40px 0 16px;
}
.article-body ul,
.article-body ol {
	font-size: 1.1rem;
	color: var(--muted);
	margin: 0 0 30px;
	padding-left: 1.4em;
}
.article-body li + li {
	margin-top: 8px;
}
.article-body a {
	color: var(--ink);
	text-decoration: underline;
}
.article-body img {
	height: auto;
	margin: 40px 0;
}
.article-body blockquote {
	margin: 40px 0;
	padding-left: 24px;
	border-left: 3px solid var(--ink);
}
.article-body figure {
	margin: 40px 0;
}
.article-body figcaption {
	font-size: 0.875rem;
	color: var(--muted);
	margin-top: 10px;
}
a.sample:hover {
	background: var(--ink);
	color: white;
}

/* Job and project pages (template-parts/content-job.php, content-project.php),
   on top of the v-4 article styles of tenkn-elementor. */
.tkh .tkh-job-post .tkh-job-apply,
.tkh .tkh-project-post .tkh-project-cta {
	align-self: flex-start;
}
.tkh .tkh-job-post .tkh-post-body + .tkh-job-apply,
.tkh .tkh-project-post .tkh-project-cta {
	margin-top: 8px;
}
.tkh .tkh-project-post .tkh-project-visual {
	height: clamp(220px, 40vw, 380px);
	margin-top: 8px;
}
.tkh .tkh-related-cat {
	flex: none;
	font-size: 13px;
	color: var(--color-muted);
}
