:root {
	--jwdb-ink: #242321;
	--jwdb-muted: #777570;
	--jwdb-accent: #cbb696;
	--jwdb-border: #deddd9;
	--jwdb-paper: #ffffff;
}

.jwdb-page .site-main,
.jwdb-main {
	width: 100%;
	max-width: none;
	padding: 0;
	margin: 0;
}

.jwdb-container,
.jwdb-article-container {
	width: min(1120px, calc(100% - 40px));
	margin: 0 auto;
}

.jwdb-article-container {
	width: min(920px, calc(100% - 40px));
}

.jwdb-hero {
	position: relative;
	display: grid;
	min-height: 330px;
	place-items: center;
	overflow: hidden;
	color: #fff;
	background-color: #596057;
	background-image: var(--jwdb-hero-image);
	background-position: center;
	background-size: cover;
}

.jwdb-single-hero {
	min-height: 350px;
}

.jwdb-hero-overlay {
	position: absolute;
	inset: 0;
	background: rgba( 17, 19, 18, 0.48 );
}

.jwdb-hero-content {
	position: relative;
	z-index: 1;
	width: min(1150px, calc(100% - 40px));
	padding: 58px 0;
	text-align: center;
}

.jwdb-hero h1 {
	max-width: 1100px;
	margin: 24px auto 0;
	color: #fff;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp( 2.7rem, 5vw, 4.5rem );
	font-weight: 400;
	line-height: 1.04;
	letter-spacing: -0.02em;
	text-transform: uppercase;
}

.jwdb-single-hero h1 {
	font-size: clamp( 2.2rem, 4.1vw, 4rem );
}

.jwdb-breadcrumb {
	display: flex;
	justify-content: center;
	gap: 5px;
	font-size: 1rem;
}

.jwdb-breadcrumb,
.jwdb-breadcrumb a {
	color: #fff;
	text-decoration: none;
}

.jwdb-archive-section {
	padding: 68px 0 110px;
	background: #fff;
}

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

.jwdb-card {
	display: flex;
	min-width: 0;
	flex-direction: column;
	overflow: hidden;
	border: 1px solid var(--jwdb-border);
	border-radius: 18px;
	background: var(--jwdb-paper);
	box-shadow: 0 12px 28px rgba( 29, 27, 24, 0.07 );
}

.jwdb-card-image-link {
	display: block;
	padding: 18px 18px 0;
}

.jwdb-card-image {
	display: block;
	width: 100%;
	height: 220px;
	object-fit: cover;
	border-radius: 14px;
}

.jwdb-card-image-placeholder {
	background: #efeee9;
}

.jwdb-card-body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 18px;
}

.jwdb-card h2 {
	margin: 0;
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp( 1.5rem, 2vw, 2rem );
	font-weight: 400;
	line-height: 1.12;
	text-transform: uppercase;
}

.jwdb-card h2 a {
	color: var(--jwdb-ink);
	text-decoration: none;
}

.jwdb-card h2 a:hover,
.jwdb-card h2 a:focus-visible {
	color: #6f624d;
}

.jwdb-card-excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: 15px 0 22px;
	color: var(--jwdb-muted);
	font-size: 1.03rem;
	line-height: 1.55;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 3;
}

.jwdb-card-meta {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-top: auto;
}

.jwdb-card-meta strong,
.jwdb-card-meta time {
	display: block;
}

.jwdb-card-meta strong {
	color: var(--jwdb-ink);
	font-size: 1.05rem;
}

.jwdb-card-meta time {
	margin-top: 2px;
	color: var(--jwdb-accent);
	font-size: 0.91rem;
}

.jwdb-author-image {
	width: 48px;
	height: 48px;
	border-radius: 50%;
	object-fit: cover;
}

.jwdb-single-section {
	padding: 72px 0 110px;
	background: #fff;
}

.jwdb-kicker {
	margin: 0 0 10px;
	color: #77736a;
	font-size: 0.82rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.jwdb-article-title {
	margin: 0 0 12px;
	color: var(--jwdb-ink);
	font-family: Georgia, 'Times New Roman', serif;
	font-size: clamp( 2rem, 4vw, 3.15rem );
	font-weight: 400;
	line-height: 1.12;
	text-transform: uppercase;
}

.jwdb-date {
	display: block;
	margin-bottom: 25px;
	color: var(--jwdb-accent);
	font-size: 0.95rem;
}

.jwdb-date::before {
	content: '\1F4C5';
	margin-right: 7px;
	font-size: 0.9em;
}

.jwdb-intro,
.jwdb-content {
	color: #686763;
	font-size: 1.02rem;
	line-height: 1.72;
}

.jwdb-intro p,
.jwdb-content p {
	margin: 0 0 1em;
}

.jwdb-featured-image {
	margin: 30px 0 34px;
}

.jwdb-featured-image img {
	display: block;
	width: 100%;
	height: auto;
}

.jwdb-content h2,
.jwdb-content h3 {
	color: var(--jwdb-ink);
	font-family: inherit;
	font-weight: 700;
	line-height: 1.2;
	text-transform: uppercase;
}

.jwdb-content h2 {
	margin: 2.2em 0 0.55em;
	font-size: clamp( 1.35rem, 2.3vw, 1.75rem );
}

.jwdb-content h3 {
	margin: 1.8em 0 0.5em;
	font-size: 1.2rem;
}

.jwdb-content ul,
.jwdb-content ol {
	margin: 0 0 1.4em 1.4em;
}

.jwdb-content a {
	color: #2659a5;
	text-decoration: underline;
	text-underline-offset: 2px;
}

.jwdb-content details {
	border-bottom: 1px solid #d8d6d0;
}

.jwdb-content summary {
	position: relative;
	padding: 15px 34px 15px 0;
	color: var(--jwdb-ink);
	cursor: pointer;
	font-weight: 600;
	list-style: none;
}

.jwdb-content summary::-webkit-details-marker {
	display: none;
}

.jwdb-content summary::after {
	position: absolute;
	top: 50%;
	right: 4px;
	content: '+';
	font-size: 1.35rem;
	font-weight: 400;
	transform: translateY(-50%);
}

.jwdb-content details[open] summary::after {
	content: '\2212';
}

.jwdb-content details > :not(summary) {
	padding-right: 24px;
	padding-left: 0;
}

.jwdb-content details > p:last-child {
	padding-bottom: 15px;
}

.jwdb-empty {
	text-align: center;
}

.jwdb-archive-section .navigation.pagination {
	margin-top: 44px;
}

.jwdb-archive-section .nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
}

.jwdb-archive-section .page-numbers {
	padding: 8px 12px;
	border: 1px solid var(--jwdb-border);
	border-radius: 4px;
	color: var(--jwdb-ink);
	text-decoration: none;
}

.jwdb-archive-section .page-numbers.current {
	color: #fff;
	background: var(--jwdb-ink);
}

@media (max-width: 900px) {
	.jwdb-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.jwdb-container,
	.jwdb-article-container,
	.jwdb-hero-content {
		width: min(100% - 28px, 1120px);
	}

	.jwdb-hero,
	.jwdb-single-hero {
		min-height: 280px;
	}

	.jwdb-hero h1 {
		font-size: clamp( 2.05rem, 11vw, 3rem );
	}

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

	.jwdb-archive-section,
	.jwdb-single-section {
		padding-top: 45px;
		padding-bottom: 75px;
	}

	.jwdb-card-image {
		height: 210px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.jwdb-page *,
	.jwdb-page *::before,
	.jwdb-page *::after {
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}
