.wb-journal-hub,
.wb-journal-entry {
	--wb-jh-ink: #332b27;
	--wb-jh-muted: #6f655f;
	--wb-jh-brown: #9b6f55;
	--wb-jh-brown-dark: #73503e;
	--wb-jh-blue: #087b9b;
	--wb-jh-blue-dark: #055f78;
	--wb-jh-ivory: #f8f4ee;
	--wb-jh-soft: #fcfaf7;
	--wb-jh-line: #e8ded4;
	--wb-jh-white: #fff;
	color: var(--wb-jh-ink);
}

.wb-journal-hub *,
.wb-journal-entry * {
	box-sizing: border-box;
}

.wb-journal-hub {
	background: var(--wb-jh-white);
	overflow: clip;
}

.wb-journal-hub__breadcrumb {
	align-items: center;
	border-bottom: 1px solid var(--wb-jh-line);
	display: flex;
	font-size: 13px;
	gap: 8px;
	margin: 0 auto;
	max-width: 1240px;
	padding: 14px 24px;
}

.wb-journal-hub__breadcrumb a {
	color: var(--wb-jh-brown-dark);
	text-decoration: none;
}

.wb-journal-hub__hero {
	background: linear-gradient(145deg, #fff 0%, var(--wb-jh-ivory) 100%);
	padding: clamp(72px, 10vw, 132px) 24px;
	text-align: center;
}

.wb-journal-hub__hero > p:first-child,
.wb-journal-hub__section-heading > p,
.wb-journal-entry__heading > p:first-child {
	color: var(--wb-jh-blue-dark);
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.16em;
	margin: 0 0 14px;
}

.wb-journal-hub__hero h1 {
	font-family: "Noto Serif JP", "Yu Mincho", serif;
	font-size: clamp(38px, 6vw, 66px);
	font-weight: 500;
	letter-spacing: 0.035em;
	line-height: 1.3;
	margin: 0;
}

.wb-journal-hub__hero > p:last-child {
	color: var(--wb-jh-muted);
	font-size: clamp(17px, 2vw, 21px);
	margin: 22px 0 0;
}

.wb-journal-hub__layout {
	align-items: start;
	display: grid;
	gap: clamp(40px, 5vw, 72px);
	grid-template-columns: minmax(0, 860px) minmax(230px, 280px);
	margin: 0 auto;
	max-width: 1240px;
	padding: clamp(72px, 9vw, 120px) 24px;
}

.wb-journal-hub__main {
	min-width: 0;
}

.wb-journal-hub__section-heading {
	margin-bottom: 36px;
}

.wb-journal-hub__section-heading h2,
.wb-journal-entry__heading h2 {
	font-family: "Noto Serif JP", "Yu Mincho", serif;
	font-size: clamp(28px, 4vw, 38px);
	font-weight: 500;
	line-height: 1.5;
	margin: 0;
}

.wb-journal-hub__grid {
	display: grid;
	gap: 28px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wb-journal-hub-card {
	background: var(--wb-jh-white);
	border: 1px solid var(--wb-jh-line);
	border-radius: 18px;
	box-shadow: 0 14px 36px rgba(69, 50, 39, 0.06);
	min-width: 0;
	overflow: hidden;
	transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.wb-journal-hub-card > a {
	color: inherit;
	display: block;
	height: 100%;
	text-decoration: none;
}

.wb-journal-hub-card__image,
.wb-journal-hub-card__placeholder {
	aspect-ratio: 16 / 10;
	background: linear-gradient(145deg, var(--wb-jh-ivory), #eaf9fd);
	display: flex;
	overflow: hidden;
}

.wb-journal-hub-card__placeholder {
	align-items: center;
	color: var(--wb-jh-blue-dark);
	font-family: "Noto Serif JP", "Yu Mincho", serif;
	font-size: 17px;
	justify-content: center;
	padding: 20px;
	text-align: center;
}

.wb-journal-hub-card__image img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.wb-journal-hub-card__body {
	display: block;
	padding: 24px;
}

.wb-journal-hub-card__meta {
	align-items: center;
	color: var(--wb-jh-muted);
	display: flex;
	flex-wrap: wrap;
	font-size: 12px;
	gap: 8px 14px;
}

.wb-journal-hub-card__meta > span {
	color: var(--wb-jh-blue-dark);
	font-weight: 700;
}

.wb-journal-hub-card h3 {
	font-size: 20px;
	line-height: 1.65;
	margin: 14px 0 10px;
}

.wb-journal-hub-card__excerpt {
	color: var(--wb-jh-muted);
	display: block;
	font-size: 14px;
	line-height: 1.75;
}

.wb-journal-hub-card__more {
	color: var(--wb-jh-blue-dark);
	display: inline-block;
	font-size: 14px;
	font-weight: 700;
	margin-top: 18px;
}

.wb-journal-hub__pagination {
	margin-top: 48px;
}

.wb-journal-hub__pagination .page-numbers {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	list-style: none;
	margin: 0;
	padding: 0;
}

.wb-journal-hub__pagination a,
.wb-journal-hub__pagination span {
	align-items: center;
	border: 1px solid var(--wb-jh-line);
	border-radius: 999px;
	color: var(--wb-jh-brown-dark);
	display: inline-flex;
	justify-content: center;
	min-height: 44px;
	min-width: 44px;
	padding: 8px 14px;
	text-decoration: none;
}

.wb-journal-hub__pagination .current {
	background: var(--wb-jh-blue);
	border-color: var(--wb-jh-blue);
	color: var(--wb-jh-white);
}

.wb-journal-hub__sidebar {
	position: sticky;
	top: 32px;
}

.wb-journal-hub__sidebar section {
	border-bottom: 1px solid var(--wb-jh-line);
	padding: 28px 0;
}

.wb-journal-hub__sidebar section:first-child {
	padding-top: 0;
}

.wb-journal-hub__sidebar h2 {
	font-size: 17px;
	margin: 0 0 18px;
}

.wb-journal-hub__sidebar ol,
.wb-journal-hub__sidebar ul {
	margin: 0;
	padding-left: 22px;
}

.wb-journal-hub__sidebar li + li {
	margin-top: 12px;
}

.wb-journal-hub__sidebar a {
	color: var(--wb-jh-ink);
	line-height: 1.6;
	text-decoration: none;
}

.wb-journal-hub__sidebar-links {
	display: grid;
	gap: 12px;
}

.wb-journal-hub__sidebar-links h2 {
	margin-bottom: 6px;
}

.wb-journal-hub__sidebar-links > a {
	align-items: center;
	background: var(--wb-jh-blue);
	border-radius: 999px;
	color: var(--wb-jh-white);
	display: flex;
	font-weight: 700;
	justify-content: center;
	min-height: 52px;
	padding: 10px 18px;
	text-align: center;
}

.wb-journal-entry {
	background: linear-gradient(145deg, var(--wb-jh-soft), var(--wb-jh-ivory));
	padding: clamp(72px, 9vw, 112px) 24px;
}

.wb-journal-entry__inner {
	margin: 0 auto;
	max-width: 1120px;
}

.wb-journal-entry__heading {
	margin: 0 auto 40px;
	max-width: 720px;
	text-align: center;
}

.wb-journal-entry__heading > p:last-child {
	color: var(--wb-jh-muted);
	font-size: 16px;
	line-height: 1.8;
	margin: 16px 0 0;
}

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

.wb-journal-hub-card--compact h3 {
	font-size: 17px;
}

.wb-journal-hub-card--compact .wb-journal-hub-card__body {
	padding: 20px;
}

.wb-journal-hub-card--compact .wb-journal-hub-card__excerpt {
	display: none;
}

.wb-journal-entry__action {
	margin: 40px 0 0;
	text-align: center;
}

.wb-journal-entry__action a {
	align-items: center;
	background: var(--wb-jh-blue);
	border-radius: 999px;
	color: var(--wb-jh-white);
	display: inline-flex;
	font-weight: 700;
	justify-content: center;
	min-height: 56px;
	min-width: min(100%, 280px);
	padding: 12px 28px;
	text-decoration: none;
	transition: background-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.wb-journal-hub a:focus-visible,
.wb-journal-entry a:focus-visible {
	outline: 3px solid #f0a500;
	outline-offset: 4px;
}

@media (hover: hover) {
	.wb-journal-hub-card:hover {
		box-shadow: 0 18px 42px rgba(69, 50, 39, 0.11);
		transform: translateY(-3px);
	}

	.wb-journal-entry__action a:hover,
	.wb-journal-hub__sidebar-links > a:hover {
		background: var(--wb-jh-blue-dark);
		color: var(--wb-jh-white);
	}
}

@media (max-width: 1023px) {
	.wb-journal-hub__layout {
		grid-template-columns: 1fr;
	}

	.wb-journal-hub__sidebar {
		display: grid;
		gap: 24px;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		position: static;
	}

	.wb-journal-hub__sidebar section,
	.wb-journal-hub__sidebar section:first-child {
		border: 1px solid var(--wb-jh-line);
		border-radius: 16px;
		padding: 24px;
	}
}

@media (max-width: 768px) {
	.wb-journal-hub__breadcrumb {
		padding: 12px 20px;
	}

	.wb-journal-hub__hero {
		padding: 64px 20px;
	}

	.wb-journal-hub__layout {
		padding: 64px 20px 80px;
	}

	.wb-journal-hub__grid,
	.wb-journal-entry__grid,
	.wb-journal-hub__sidebar {
		grid-template-columns: 1fr;
	}

	.wb-journal-hub-card__body {
		padding: 20px;
	}

	.wb-journal-entry {
		padding: 64px 20px;
	}

	.wb-journal-entry__heading {
		margin-bottom: 32px;
	}

	.wb-journal-entry__action a {
		width: 100%;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wb-journal-hub *,
	.wb-journal-entry * {
		transition-duration: 0.01ms !important;
	}
}
