/*
Theme Name: Success Labo Journal
Theme URI: https://successlabo.com/
Author: Success Labo
Description: サクセスラボの長期コンテンツ資産を守りながら、実践メディアとして再設計する移行互換テーマ。
Version: 0.9.0
Requires at least: 6.1
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: success-labo-journal
*/

:root {
	--slj-ink: #102a43;
	--slj-ink-2: #243b53;
	--slj-text: #334e68;
	--slj-muted: #5d7185;
	--slj-line: #dce5e8;
	--slj-paper: #ffffff;
	--slj-canvas: #f5f7f4;
	--slj-soft: #eaf6f3;
	--slj-accent: #0f9f8f;
	--slj-accent-dark: #087c71;
	--slj-warm: #f2b05e;
	--slj-warm-dark: #9a5200;
	--slj-warm-soft: #fff4e4;
	--slj-danger: #c94b44;
	--slj-radius-sm: 10px;
	--slj-radius: 18px;
	--slj-radius-lg: 30px;
	--slj-shadow-sm: 0 8px 28px rgba(16, 42, 67, 0.07);
	--slj-shadow: 0 24px 70px rgba(16, 42, 67, 0.12);
	--slj-container: 1180px;
	--slj-reading: 760px;
	--slj-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", "Hiragino Kaku Gothic ProN", "Yu Gothic", Meiryo, sans-serif;
	--slj-serif: "Yu Mincho", "Hiragino Mincho ProN", "Hiragino Mincho Pro", serif;
}

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
	text-size-adjust: 100%;
}

body {
	margin: 0;
	background: var(--slj-canvas);
	color: var(--slj-text);
	font-family: var(--slj-sans);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

body.menu-is-open {
	overflow: hidden;
}

img,
svg,
video,
iframe,
audio,
object,
embed {
	max-width: 100%;
}

img {
	height: auto;
}

iframe {
	border: 0;
}

audio {
	width: 100%;
}

a {
	color: var(--slj-accent-dark);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

a:hover {
	color: var(--slj-ink);
}

button,
input,
select,
textarea {
	font: inherit;
}

button,
input[type="submit"] {
	cursor: pointer;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="password"],
input[type="date"],
input:not([type]),
textarea,
select {
	width: 100%;
	min-height: 48px;
	border: 1px solid var(--slj-line);
	border-radius: var(--slj-radius-sm);
	background: var(--slj-paper);
	color: var(--slj-ink);
	padding: 0.75rem 0.9rem;
}

textarea {
	min-height: 160px;
	resize: vertical;
}

:focus-visible {
	outline: 3px solid #fff;
	outline-offset: 2px;
	box-shadow: 0 0 0 6px var(--slj-accent-dark);
}

.container {
	width: min(calc(100% - 40px), var(--slj-container));
	margin-inline: auto;
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.screen-reader-text:focus,
.skip-link:focus {
	top: 10px;
	left: 10px;
	z-index: 99999;
	display: block;
	width: auto;
	height: auto;
	clip: auto;
	padding: 0.8rem 1rem;
	background: var(--slj-paper);
	color: var(--slj-ink);
}

.icon {
	display: inline-flex;
	width: 1.1em;
	height: 1.1em;
	flex: 0 0 auto;
	vertical-align: -0.17em;
}

.icon svg {
	width: 100%;
	height: 100%;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* Header */
.site-header {
	position: relative;
	z-index: 50;
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid rgba(16, 42, 67, 0.1);
}

.site-header__signal {
	background: var(--slj-ink);
	color: #dce9ef;
	font-size: 11px;
	letter-spacing: 0.08em;
}

.site-header__signal-inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 31px;
}

.site-header__signal p {
	margin: 0;
}

.site-header__signal a {
	color: #dce9ef;
	text-decoration: none;
}

.site-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 88px;
	gap: 28px;
}

.site-brand__link,
.site-footer__brand a {
	display: inline-flex;
	align-items: center;
	gap: 12px;
	color: var(--slj-ink);
	text-decoration: none;
}

.site-brand__mark {
	position: relative;
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	flex: 0 0 48px;
	border-radius: 15px 15px 15px 5px;
	background: var(--slj-ink);
	box-shadow: 5px 5px 0 var(--slj-warm);
	color: #fff;
	font-family: Georgia, serif;
	font-size: 27px;
	font-weight: 700;
	line-height: 1;
	overflow: hidden;
}

.site-brand__mark i {
	position: absolute;
	right: -6px;
	bottom: -8px;
	width: 24px;
	height: 24px;
	border: 5px solid var(--slj-accent);
	border-radius: 50%;
}

.site-brand__text {
	display: flex;
	flex-direction: column;
	line-height: 1.1;
}

.site-brand__name {
	color: var(--slj-ink);
	font-size: 23px;
	font-weight: 800;
	letter-spacing: 0.03em;
}

.site-brand__sub {
	margin-top: 7px;
	color: var(--slj-muted);
	font-size: 8px;
	font-weight: 700;
	letter-spacing: 0.15em;
}

.custom-logo-link {
	display: block;
	line-height: 0;
}

.custom-logo {
	width: auto;
	max-height: 58px;
}

.primary-navigation {
	display: flex;
	align-items: center;
	gap: 23px;
}

.primary-navigation .menu,
.footer-navigation .menu {
	display: flex;
	align-items: center;
	gap: 24px;
	margin: 0;
	padding: 0;
	list-style: none;
}

.primary-navigation .menu-item {
	position: relative;
}

.primary-navigation .menu > li > a {
	display: flex;
	align-items: center;
	min-height: 44px;
	color: var(--slj-ink-2);
	font-size: 13px;
	font-weight: 700;
	text-decoration: none;
}

.primary-navigation .menu > li > a::after {
	content: "";
	position: absolute;
	left: 0;
	right: 100%;
	bottom: 5px;
	height: 2px;
	background: var(--slj-accent);
	transition: right 180ms ease;
}

.primary-navigation .menu > li > a:hover::after,
.primary-navigation .current-menu-item > a::after {
	right: 0;
}

.primary-navigation .sub-menu {
	position: absolute;
	top: calc(100% - 3px);
	left: -18px;
	width: 230px;
	margin: 0;
	padding: 10px;
	border: 1px solid var(--slj-line);
	border-radius: 12px;
	background: var(--slj-paper);
	box-shadow: var(--slj-shadow-sm);
	list-style: none;
	opacity: 0;
	pointer-events: none;
	transform: translateY(8px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.primary-navigation li:hover > .sub-menu,
.primary-navigation li:focus-within > .sub-menu {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

.primary-navigation .sub-menu a {
	display: block;
	padding: 0.55rem 0.65rem;
	border-radius: 7px;
	color: var(--slj-text);
	font-size: 13px;
	text-decoration: none;
}

.primary-navigation .sub-menu a:hover {
	background: var(--slj-soft);
}

.header-cta,
.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
	min-height: 46px;
	padding: 0.68rem 1.08rem;
	border: 0;
	border-radius: 999px;
	background: var(--slj-accent-dark);
	box-shadow: 0 9px 22px rgba(15, 159, 143, 0.22);
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
	transition: background 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.header-cta:hover,
.button:hover {
	background: #065f57;
	box-shadow: 0 12px 26px rgba(15, 159, 143, 0.28);
	color: #fff;
	transform: translateY(-1px);
}

.primary-navigation .menu > li.menu-item--slj-cta > a {
	min-height: 46px;
	padding: 0.68rem 1.08rem;
	border-radius: 999px;
	background: var(--slj-accent-dark);
	box-shadow: 0 9px 22px rgba(15, 159, 143, 0.22);
	color: #fff;
}

.primary-navigation .menu > li.menu-item--slj-cta > a:hover {
	background: #065f57;
	color: #fff;
}

.primary-navigation .menu > li.menu-item--slj-cta > a::after {
	display: none;
}

.button--dark {
	background: var(--slj-ink);
	box-shadow: 0 10px 24px rgba(16, 42, 67, 0.18);
}

.button--dark:hover {
	background: var(--slj-ink-2);
}

.button--ghost {
	border: 1px solid rgba(255, 255, 255, 0.36);
	background: transparent;
	box-shadow: none;
}

.menu-toggle {
	display: none;
	width: 46px;
	height: 46px;
	border: 1px solid var(--slj-line);
	border-radius: 50%;
	background: var(--slj-paper);
	color: var(--slj-ink);
}

.menu-toggle__close {
	display: none;
}

/* Hero */
.home-hero {
	position: relative;
	overflow: hidden;
	padding: 92px 0 82px;
	background:
		radial-gradient(circle at 82% 25%, rgba(15, 159, 143, 0.16), transparent 25%),
		linear-gradient(128deg, #f8faf8 0%, #edf4f2 100%);
}

.home-hero::before {
	content: "";
	position: absolute;
	top: -190px;
	right: -70px;
	width: 470px;
	height: 470px;
	border: 1px solid rgba(16, 42, 67, 0.1);
	border-radius: 50%;
	box-shadow: 0 0 0 58px rgba(16, 42, 67, 0.025), 0 0 0 118px rgba(16, 42, 67, 0.02);
}

.home-hero__grid {
	position: relative;
	display: grid;
	grid-template-columns: minmax(0, 1.15fr) minmax(330px, 0.85fr);
	gap: 74px;
	align-items: center;
}

.eyebrow {
	margin: 0 0 18px;
	color: var(--slj-accent-dark);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: 0.18em;
	line-height: 1.5;
	text-transform: uppercase;
}

.home-hero h1 {
	max-width: 790px;
	margin: 0;
	color: var(--slj-ink);
	font-family: var(--slj-serif);
	font-size: clamp(38px, 5.1vw, 70px);
	font-weight: 700;
	letter-spacing: -0.035em;
	line-height: 1.34;
}

.home-hero__lead {
	max-width: 650px;
	margin: 26px 0 0;
	color: #49667c;
	font-size: 17px;
	line-height: 2;
}

.home-hero__actions {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 14px;
	margin-top: 34px;
}

.home-hero__text-link {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	padding: 0.7rem;
	color: var(--slj-ink);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.home-hero__note {
	position: relative;
	min-height: 390px;
}

.lab-card {
	position: absolute;
	border-radius: var(--slj-radius-lg);
	box-shadow: var(--slj-shadow);
}

.lab-card--primary {
	top: 0;
	right: 0;
	width: min(100%, 390px);
	padding: 34px;
	background: var(--slj-ink);
	color: #e7f0f4;
}

.lab-card--primary::after {
	content: "";
	position: absolute;
	right: 28px;
	bottom: 26px;
	width: 56px;
	height: 56px;
	border: 10px solid var(--slj-accent);
	border-radius: 50%;
	opacity: 0.75;
}

.lab-card__index {
	display: block;
	margin-bottom: 52px;
	color: var(--slj-warm);
	font-family: Georgia, serif;
	font-size: 14px;
	letter-spacing: 0.12em;
}

.lab-card--primary strong {
	display: block;
	max-width: 250px;
	color: #fff;
	font-family: var(--slj-serif);
	font-size: 28px;
	line-height: 1.55;
}

.lab-card--primary p {
	max-width: 250px;
	margin: 18px 0 0;
	color: #b8c8d3;
	font-size: 13px;
}

.lab-card--stamp {
	left: 2px;
	bottom: 0;
	width: 188px;
	padding: 19px 23px;
	background: var(--slj-warm);
	color: var(--slj-ink);
	transform: rotate(-4deg);
}

.lab-card--stamp span {
	display: block;
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.14em;
}

.lab-card--stamp strong {
	display: block;
	margin-top: 3px;
	font-size: 23px;
	line-height: 1.2;
}

/* Shared sections */
.section {
	padding: 92px 0;
}

.section--paper {
	background: var(--slj-paper);
}

.section--ink {
	background: var(--slj-ink);
	color: #dbe6ed;
}

.section-heading {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 28px;
	margin-bottom: 34px;
}

.section-heading--compact {
	display: block;
	margin-bottom: 24px;
}

.section-heading h1,
.section-heading h2 {
	margin: 0;
	color: var(--slj-ink);
	font-family: var(--slj-serif);
	font-size: clamp(30px, 4vw, 45px);
	letter-spacing: -0.025em;
	line-height: 1.35;
}

.section-heading--compact h2 {
	font-size: 30px;
}

.section-heading__copy {
	max-width: 540px;
}

.section-heading__copy > p:last-child {
	margin: 12px 0 0;
	color: var(--slj-muted);
	font-size: 14px;
}

.section-heading__link {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	color: var(--slj-ink);
	font-size: 13px;
	font-weight: 800;
	text-decoration: none;
}

.section-heading__link:hover {
	color: var(--slj-accent-dark);
}

/* Featured and article cards */
.featured-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
	gap: 24px;
}

.featured-grid__secondary {
	display: grid;
	gap: 24px;
}

.post-card {
	position: relative;
	display: flex;
	flex-direction: column;
	min-width: 0;
	border: 1px solid rgba(16, 42, 67, 0.1);
	border-radius: var(--slj-radius);
	background: var(--slj-paper);
	box-shadow: var(--slj-shadow-sm);
	overflow: hidden;
	transition: transform 180ms ease, box-shadow 180ms ease;
}

.post-card:hover {
	box-shadow: 0 16px 40px rgba(16, 42, 67, 0.12);
	transform: translateY(-3px);
}

.post-card__image {
	position: relative;
	display: block;
	background: linear-gradient(145deg, var(--slj-ink), var(--slj-accent-dark));
	aspect-ratio: 16 / 9;
	overflow: hidden;
}

.post-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 400ms ease;
}

.post-card:hover .post-card__image img {
	transform: scale(1.025);
}

.post-card__placeholder {
	display: grid;
	width: 100%;
	height: 100%;
	place-items: center;
	color: rgba(255, 255, 255, 0.8);
	font-family: Georgia, serif;
	font-size: 52px;
}

.post-card__body {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

.post-card h2,
.post-card h3 {
	margin: 0;
	color: var(--slj-ink);
	font-size: 20px;
	line-height: 1.55;
}

.post-card h2 a,
.post-card h3 a {
	color: inherit;
	text-decoration: none;
}

.post-card__excerpt {
	margin: 14px 0 0;
	color: var(--slj-muted);
	font-size: 14px;
	line-height: 1.8;
}

.post-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 21px;
	color: var(--slj-muted);
	font-size: 11px;
	font-weight: 700;
}

.post-card__footer .icon {
	color: var(--slj-accent-dark);
}

.post-card--lead .post-card__body {
	padding: 30px;
}

.post-card--lead h2 {
	font-family: var(--slj-serif);
	font-size: clamp(24px, 3vw, 34px);
	line-height: 1.5;
}

.post-card--horizontal {
	display: grid;
	grid-template-columns: 42% 1fr;
	min-height: 0;
}

.post-card--horizontal .post-card__image {
	height: 100%;
	aspect-ratio: auto;
}

.post-card--horizontal .post-card__body {
	padding: 22px;
}

.post-card--horizontal h3 {
	font-size: 17px;
}

.category-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 13px;
}

.category-chips a {
	display: inline-flex;
	align-items: center;
	min-height: 25px;
	padding: 0.15rem 0.58rem;
	border-radius: 999px;
	background: var(--slj-soft);
	color: var(--slj-accent-dark);
	font-size: 10px;
	font-weight: 900;
	letter-spacing: 0.04em;
	text-decoration: none;
}

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

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

.post-card--small {
	box-shadow: none;
}

.post-card--small .post-card__body {
	padding: 18px;
}

.post-card--small h3 {
	font-size: 15px;
}

/* Topic hubs */
.topic-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 2px;
	border: 1px solid var(--slj-line);
	border-radius: var(--slj-radius);
	background: var(--slj-line);
	overflow: hidden;
}

.topic-card {
	display: grid;
	grid-template-columns: 48px 1fr auto;
	align-items: center;
	gap: 15px;
	min-height: 124px;
	padding: 24px;
	background: var(--slj-paper);
	color: var(--slj-ink);
	text-decoration: none;
	transition: background 160ms ease;
}

.topic-card:hover {
	background: var(--slj-soft);
	color: var(--slj-ink);
}

.topic-card__number {
	color: var(--slj-warm-dark);
	font-family: Georgia, serif;
	font-size: 22px;
}

.topic-card strong {
	display: block;
	font-size: 16px;
}

.topic-card small {
	display: block;
	margin-top: 4px;
	color: var(--slj-muted);
	font-size: 10px;
	letter-spacing: 0.08em;
}

.topic-card .icon {
	color: var(--slj-accent-dark);
}

/* Newsletter */
.newsletter-panel {
	position: relative;
	display: grid;
	grid-template-columns: 1fr auto;
	align-items: center;
	gap: 50px;
	padding: 54px 62px;
	border-radius: var(--slj-radius-lg);
	background: var(--slj-ink);
	box-shadow: var(--slj-shadow);
	color: #dce8ee;
	overflow: hidden;
}

.newsletter-panel::before {
	content: "";
	position: absolute;
	right: -50px;
	bottom: -105px;
	width: 260px;
	height: 260px;
	border: 45px solid rgba(15, 159, 143, 0.35);
	border-radius: 50%;
}

.newsletter-panel > * {
	position: relative;
}

.newsletter-panel .eyebrow {
	color: var(--slj-warm);
}

.newsletter-panel h2 {
	max-width: 700px;
	margin: 0;
	color: #fff;
	font-family: var(--slj-serif);
	font-size: clamp(27px, 4vw, 42px);
	line-height: 1.45;
}

.newsletter-panel p:not(.eyebrow) {
	max-width: 710px;
	margin: 14px 0 0;
	color: #b8c8d3;
	font-size: 14px;
}

.newsletter-panel .button {
	min-width: 190px;
	background: var(--slj-warm);
	color: var(--slj-ink);
	box-shadow: none;
}

.newsletter-panel .button:hover {
	background: #ffca86;
	color: var(--slj-ink);
}

/* Inner pages */
.page-shell {
	padding: 34px 0 96px;
}

.page-shell--full {
	padding-top: 46px;
}

.content-layout {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 310px;
	gap: 52px;
	align-items: start;
}

.content-layout--left {
	grid-template-columns: 310px minmax(0, 1fr);
}

.content-layout--left .sidebar {
	grid-column: 1;
	grid-row: 1;
}

.content-layout--left .page-primary {
	grid-column: 2;
}

.content-layout--full {
	display: block;
	max-width: 980px;
	margin-inline: auto;
}

.breadcrumbs {
	margin: 0 0 28px;
	overflow: hidden;
}

.breadcrumbs ol {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

.breadcrumbs li {
	display: flex;
	align-items: center;
	min-width: 0;
	gap: 7px;
	color: var(--slj-muted);
	font-size: 11px;
}

.breadcrumbs li:not(:last-child)::after {
	content: "/";
	color: #a7b5bf;
}

.breadcrumbs a,
.breadcrumbs span {
	display: block;
	overflow: hidden;
	text-overflow: ellipsis;
	color: inherit;
	text-decoration: none;
}

.breadcrumbs .icon {
	color: var(--slj-accent-dark);
}

.archive-header,
.search-header {
	margin-bottom: 32px;
	padding: 42px;
	border: 1px solid var(--slj-line);
	border-radius: var(--slj-radius);
	background: var(--slj-paper);
}

.archive-header h1,
.search-header h1 {
	margin: 0;
	color: var(--slj-ink);
	font-family: var(--slj-serif);
	font-size: clamp(30px, 4vw, 44px);
	line-height: 1.35;
}

.archive-description {
	margin-top: 13px;
	color: var(--slj-muted);
}

.archive-description > *:last-child {
	margin-bottom: 0;
}

/* Article */
.entry--single,
.entry--page {
	border: 1px solid rgba(16, 42, 67, 0.1);
	border-radius: var(--slj-radius);
	background: var(--slj-paper);
	box-shadow: var(--slj-shadow-sm);
	overflow: hidden;
}

.entry-header {
	padding: 52px 58px 34px;
}

.entry-header h1 {
	margin: 8px 0 0;
	color: var(--slj-ink);
	font-family: var(--slj-serif);
	font-size: clamp(31px, 4.2vw, 49px);
	font-weight: 700;
	letter-spacing: -0.025em;
	line-height: 1.5;
}

.entry-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	margin-top: 22px;
	color: var(--slj-muted);
	font-size: 11px;
	font-weight: 700;
}

.entry-meta > span {
	display: inline-flex;
	align-items: center;
	gap: 6px;
}

.entry-meta .icon {
	color: var(--slj-accent-dark);
}

.entry-hero-image {
	margin: 0 30px;
	border-radius: 14px;
	overflow: hidden;
}

.entry-hero-image img {
	display: block;
	width: 100%;
	max-height: 620px;
	object-fit: cover;
}

.entry-content {
	width: min(calc(100% - 48px), var(--slj-reading));
	margin: 0 auto;
	padding: 54px 0 60px;
	color: #263f53;
	font-size: 17px;
	line-height: 2.05;
}

.entry--page .entry-content {
	padding-top: 24px;
}

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

.entry-content > *:last-child {
	margin-bottom: 0;
}

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

.entry-content p:empty {
	display: none;
}

.entry-content h1,
.entry-content h2 {
	margin: 2.7em 0 1em;
	padding: 0.2em 0 0.7em;
	border-bottom: 1px solid var(--slj-line);
	color: var(--slj-ink);
	font-family: var(--slj-sans);
	font-size: clamp(25px, 3vw, 31px);
	font-weight: 800;
	letter-spacing: -0.02em;
	line-height: 1.55;
}

.entry-content h1::before,
.entry-content h2::before {
	content: "";
	display: block;
	width: 38px;
	height: 4px;
	margin-bottom: 13px;
	border-radius: 2px;
	background: var(--slj-accent);
}

.entry-content h3 {
	margin: 2.2em 0 0.8em;
	padding-left: 0.8em;
	border-left: 4px solid var(--slj-warm);
	color: var(--slj-ink);
	font-size: clamp(21px, 2.5vw, 25px);
	line-height: 1.6;
}

.entry-content h4,
.entry-content h5,
.entry-content h6 {
	margin: 2em 0 0.7em;
	color: var(--slj-ink-2);
	line-height: 1.6;
}

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

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

.entry-content blockquote {
	margin: 2em 0;
	padding: 1.5em 1.7em;
	border: 0;
	border-left: 5px solid var(--slj-accent);
	border-radius: 0 var(--slj-radius-sm) var(--slj-radius-sm) 0;
	background: var(--slj-soft);
	color: var(--slj-ink-2);
}

.entry-content hr {
	width: 64px;
	height: 1px;
	margin: 3.1em auto;
	border: 0;
	background: #a9bac5;
}

.entry-content a {
	overflow-wrap: anywhere;
}

.entry-content figure {
	margin: 2.1em 0;
}

.entry-content figcaption,
.wp-caption-text {
	margin-top: 0.6em;
	color: var(--slj-muted);
	font-size: 12px;
	text-align: center;
}

.wp-caption {
	max-width: 100%;
}

.entry-content pre {
	max-width: 100%;
	padding: 1.2em;
	border-radius: var(--slj-radius-sm);
	background: #eef3f5;
	overflow: auto;
}

.entry-content code {
	overflow-wrap: anywhere;
}

.entry-content table {
	display: block;
	width: 100%;
	max-width: 100%;
	margin: 2em 0;
	border-collapse: collapse;
	font-size: 14px;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-content th,
.entry-content td {
	padding: 0.8em;
	border: 1px solid var(--slj-line);
	text-align: left;
	vertical-align: top;
}

.entry-content th {
	background: var(--slj-soft);
	color: var(--slj-ink);
}

.alignleft {
	float: left;
	margin: 0.5em 1.5em 1em 0;
}

.alignright {
	float: right;
	margin: 0.5em 0 1em 1.5em;
}

.aligncenter {
	display: block;
	margin-right: auto;
	margin-left: auto;
}

.alignwide {
	width: min(940px, calc(100vw - 50px));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.alignfull {
	width: 100vw;
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignwide,
.entry-content .alignfull {
	width: calc(100% + 48px);
	max-width: calc(100% + 48px);
	margin-left: -24px;
	transform: none;
}

.entry-widgets {
	width: min(calc(100% - 48px), var(--slj-reading));
	margin: 0 auto;
}

.entry-widgets--top {
	padding-top: 34px;
}

.entry-widgets--bottom {
	padding-bottom: 34px;
}

.entry-footer {
	width: min(calc(100% - 48px), var(--slj-reading));
	margin: 0 auto;
	padding: 0 0 54px;
}

.share {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 30px 0;
	padding: 17px 0;
	border-top: 1px solid var(--slj-line);
	border-bottom: 1px solid var(--slj-line);
}

.share__label {
	margin-right: 7px;
	color: var(--slj-muted);
	font-size: 9px;
	font-weight: 900;
	letter-spacing: 0.16em;
}

.share__button {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	min-height: 35px;
	padding: 0.35rem 0.7rem;
	border: 1px solid var(--slj-line);
	border-radius: 999px;
	background: var(--slj-paper);
	color: var(--slj-ink-2);
	font-size: 10px;
	font-weight: 800;
	text-decoration: none;
}

.share__button:hover {
	border-color: var(--slj-accent);
	color: var(--slj-accent-dark);
}

.post-navigation {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
	margin: 30px 0;
}

.post-navigation a {
	display: block;
	min-height: 100%;
	padding: 17px;
	border: 1px solid var(--slj-line);
	border-radius: var(--slj-radius-sm);
	color: var(--slj-ink-2);
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	text-decoration: none;
}

.related-posts {
	margin-top: 46px;
}

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

/* Sidebar and widgets */
.sidebar__sticky {
	position: static;
}

.widget {
	margin: 0 0 22px;
	padding: 25px;
	border: 1px solid var(--slj-line);
	border-radius: var(--slj-radius);
	background: var(--slj-paper);
	box-shadow: var(--slj-shadow-sm);
	font-size: 13px;
}

.widget__title,
.widget-title {
	margin: 0 0 17px;
	padding-bottom: 12px;
	border-bottom: 1px solid var(--slj-line);
	color: var(--slj-ink);
	font-size: 17px;
	line-height: 1.5;
}

.widget ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.widget li + li {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px solid #edf1f2;
}

.widget a {
	color: var(--slj-text);
	text-decoration: none;
}

.widget a:hover {
	color: var(--slj-accent-dark);
}

.widget--welcome {
	padding: 29px;
	background: var(--slj-ink);
	color: #d8e4eb;
}

.widget--welcome .eyebrow {
	color: var(--slj-warm);
}

.widget--welcome .widget__title {
	border-color: rgba(255, 255, 255, 0.13);
	color: #fff;
}

.widget--welcome p:last-child {
	margin-bottom: 0;
}

.search-form {
	position: relative;
	display: flex;
	gap: 7px;
}

.search-form label {
	flex: 1;
}

.search-form .search-submit,
input[type="submit"] {
	min-height: 48px;
	border: 0;
	border-radius: var(--slj-radius-sm);
	background: var(--slj-ink);
	color: #fff;
	font-weight: 800;
	padding: 0.75rem 1rem;
}

/* Pagination */
.pagination,
.posts-navigation {
	margin-top: 38px;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 7px;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	padding: 0 0.7rem;
	border: 1px solid var(--slj-line);
	border-radius: 50px;
	background: var(--slj-paper);
	color: var(--slj-ink-2);
	font-size: 12px;
	font-weight: 800;
	text-decoration: none;
}

.page-numbers.current,
.page-numbers:hover {
	border-color: var(--slj-ink);
	background: var(--slj-ink);
	color: #fff;
}

/* Comments */
.comments-area {
	margin-top: 34px;
	padding: 40px;
	border: 1px solid var(--slj-line);
	border-radius: var(--slj-radius);
	background: var(--slj-paper);
}

.comments-title,
.comment-reply-title {
	margin: 0 0 24px;
	color: var(--slj-ink);
	font-size: 24px;
}

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

.comment-list .comment-body {
	margin-bottom: 18px;
	padding: 20px;
	border-radius: var(--slj-radius-sm);
	background: var(--slj-canvas);
}

.comment-list .children {
	list-style: none;
}

.comment-meta {
	font-size: 12px;
}

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

.comment-form label {
	display: block;
	margin-bottom: 5px;
	color: var(--slj-ink-2);
	font-size: 12px;
	font-weight: 800;
}

/* Sitemap / empty states / 404 */
.site-index {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
}

.site-index__section {
	padding: 28px;
	border: 1px solid var(--slj-line);
	border-radius: var(--slj-radius);
	background: var(--slj-paper);
}

.site-index__section h2 {
	margin-top: 0;
	color: var(--slj-ink);
}

.site-index__section--all-posts {
	grid-column: 1 / -1;
}

.site-index__section--all-posts ul {
	columns: 2;
	column-gap: 42px;
}

.site-index__section--all-posts li {
	break-inside: avoid;
}

.not-found {
	padding: 68px 40px;
	border: 1px solid var(--slj-line);
	border-radius: var(--slj-radius);
	background: var(--slj-paper);
	text-align: center;
}

.not-found__code {
	display: block;
	color: var(--slj-warm-dark);
	font-family: Georgia, serif;
	font-size: clamp(70px, 13vw, 140px);
	font-weight: 700;
	line-height: 1;
}

.not-found h1 {
	margin: 14px 0 10px;
	color: var(--slj-ink);
	font-family: var(--slj-serif);
}

/* Footer */
.site-footer {
	position: relative;
	padding: 72px 0 25px;
	background: #0b2034;
	color: #b7c8d3;
}

.site-footer__accent {
	position: absolute;
	top: 0;
	left: 0;
	width: 37%;
	height: 5px;
	background: var(--slj-accent);
}

.footer-widgets {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 24px;
	margin-bottom: 48px;
}

.footer-widgets .widget {
	border-color: rgba(255, 255, 255, 0.1);
	background: rgba(255, 255, 255, 0.04);
	box-shadow: none;
	color: #b7c8d3;
}

.footer-widgets .widget__title,
.footer-widgets .widget-title {
	border-color: rgba(255, 255, 255, 0.1);
	color: #fff;
}

.footer-widgets a {
	color: #dbe6ed;
}

.site-footer__main {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 35px;
	padding-bottom: 44px;
}

.site-brand__mark--footer {
	width: 42px;
	height: 42px;
	flex-basis: 42px;
	border: 1px solid rgba(255, 255, 255, 0.22);
	background: transparent;
	box-shadow: none;
	font-size: 24px;
}

.site-footer__brand strong,
.site-footer__brand small {
	display: block;
}

.site-footer__brand strong {
	color: #fff;
	font-size: 19px;
}

.site-footer__brand small {
	margin-top: 4px;
	color: #91a7b5;
	font-size: 10px;
}

.footer-navigation .menu {
	flex-wrap: wrap;
	justify-content: flex-end;
}

.footer-navigation a {
	color: #c7d5de;
	font-size: 12px;
	text-decoration: none;
}

.site-footer__bottom {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	padding-top: 22px;
	border-top: 1px solid rgba(255, 255, 255, 0.09);
	color: #7891a0;
	font-size: 10px;
	letter-spacing: 0.05em;
}

.site-footer__bottom p {
	margin: 0;
}

.back-to-top {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 40;
	display: grid;
	width: 46px;
	height: 46px;
	place-items: center;
	border: 0;
	border-radius: 50%;
	background: var(--slj-ink);
	box-shadow: 0 10px 26px rgba(16, 42, 67, 0.23);
	color: #fff;
	opacity: 0;
	pointer-events: none;
	transform: translateY(10px);
	transition: opacity 160ms ease, transform 160ms ease;
}

.back-to-top .icon {
	transform: rotate(-90deg);
}

.back-to-top.is-visible {
	opacity: 1;
	pointer-events: auto;
	transform: translateY(0);
}

/* WordPress utilities */
.sticky {
	border-color: rgba(15, 159, 143, 0.35);
}

.bypostauthor {
	display: block;
}

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

.gallery-item {
	margin: 0;
}

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

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

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

.gallery-columns-5,
.gallery-columns-6,
.gallery-columns-7,
.gallery-columns-8,
.gallery-columns-9 {
	grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.wp-block-button__link {
	background: var(--slj-accent-dark);
	border-radius: 999px;
	color: #fff;
}

.wp-block-separator {
	border-color: var(--slj-line);
}

/* Responsive */
@media (max-width: 1100px) {
	.primary-navigation .menu {
		gap: 17px;
	}

	.primary-navigation .menu > li > a {
		font-size: 12px;
	}

	.content-layout {
		grid-template-columns: minmax(0, 1fr) 280px;
		gap: 30px;
	}
}

@media (max-width: 960px) {
	.site-header__inner {
		min-height: 75px;
	}

	.site-brand__mark {
		width: 43px;
		height: 43px;
		flex-basis: 43px;
		font-size: 24px;
	}

	.menu-toggle {
		display: grid;
		place-items: center;
	}

	.menu-is-open .menu-toggle__open {
		display: none;
	}

	.menu-is-open .menu-toggle__close {
		display: inline-flex;
	}

	.primary-navigation {
		position: fixed;
		inset: 106px 0 0;
		display: block;
		padding: 24px 20px 40px;
		background: var(--slj-paper);
		opacity: 0;
		pointer-events: none;
		transform: translateY(-8px);
		transition: opacity 160ms ease, transform 160ms ease;
		overflow: auto;
	}

	.primary-navigation[hidden] {
		display: none;
	}

	.menu-is-open .primary-navigation {
		opacity: 1;
		pointer-events: auto;
		transform: translateY(0);
	}

	.primary-navigation .menu {
		display: block;
	}

	.primary-navigation .menu > li {
		border-bottom: 1px solid var(--slj-line);
	}

	.primary-navigation .menu > li > a {
		min-height: 58px;
		font-size: 15px;
	}

	.primary-navigation .menu > li > a::after {
		display: none;
	}

	.primary-navigation .sub-menu {
		position: static;
		width: auto;
		padding: 0 0 12px 15px;
		border: 0;
		box-shadow: none;
		opacity: 1;
		pointer-events: auto;
		transform: none;
	}

	.header-cta {
		width: 100%;
		margin-top: 24px;
	}

	.home-hero {
		padding: 72px 0 64px;
	}

	.home-hero__grid {
		grid-template-columns: 1fr;
		gap: 48px;
	}

	.home-hero__note {
		width: min(100%, 540px);
		margin-inline: auto;
	}

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

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

	.post-card--horizontal {
		display: flex;
	}

	.post-card--horizontal .post-card__image {
		height: auto;
		aspect-ratio: 16 / 9;
	}

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

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

	.content-layout,
	.content-layout--left {
		grid-template-columns: 1fr;
	}

	.content-layout--left .sidebar,
	.content-layout--left .page-primary {
		grid-column: auto;
		grid-row: auto;
	}

	.sidebar__sticky {
		position: static;
	}

	.sidebar {
		max-width: 720px;
		margin: 0 auto;
	}

	.newsletter-panel {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.newsletter-panel .button {
		justify-self: start;
	}
}

@media (max-width: 680px) {
	:root {
		--slj-radius: 14px;
		--slj-radius-lg: 21px;
	}

	body {
		font-size: 15px;
	}

	.container {
		width: min(calc(100% - 28px), var(--slj-container));
	}

	.site-header__signal p {
		max-width: 270px;
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.site-brand__name {
		font-size: 19px;
	}

	.site-brand__sub {
		display: none;
	}

	.primary-navigation {
		inset-block-start: 106px;
	}

	.home-hero {
		padding: 54px 0 48px;
	}

	.home-hero h1 {
		font-size: clamp(34px, 11vw, 48px);
		line-height: 1.42;
	}

	.home-hero__lead {
		font-size: 15px;
		line-height: 1.9;
	}

	.home-hero__note {
		min-height: 350px;
	}

	.lab-card--primary {
		width: calc(100% - 22px);
		padding: 28px;
	}

	.lab-card--primary strong {
		font-size: 25px;
	}

	.lab-card--stamp {
		width: 165px;
		padding: 16px 20px;
	}

	.section {
		padding: 66px 0;
	}

	.section-heading {
		display: block;
	}

	.section-heading__link {
		margin-top: 18px;
	}

	.featured-grid__secondary,
	.post-grid,
	.topic-grid {
		grid-template-columns: 1fr;
	}

	.post-card--horizontal {
		display: grid;
		grid-template-columns: 38% 1fr;
	}

	.post-card--horizontal .post-card__image {
		height: 100%;
		aspect-ratio: auto;
	}

	.post-card--horizontal .post-card__body {
		padding: 16px;
	}

	.post-card--horizontal h3 {
		font-size: 15px;
	}

	.post-card--horizontal .post-card__excerpt {
		display: none;
	}

	.topic-card {
		min-height: 102px;
		padding: 19px;
	}

	.newsletter-panel {
		padding: 38px 27px;
	}

	.newsletter-panel .button {
		width: 100%;
	}

	.page-shell {
		padding: 25px 0 68px;
	}

	.entry-header {
		padding: 35px 24px 25px;
	}

	.entry-header h1 {
		font-size: clamp(28px, 8.2vw, 39px);
		line-height: 1.5;
	}

	.entry-hero-image {
		margin: 0 12px;
		border-radius: 10px;
	}

	.entry-content {
		width: min(calc(100% - 38px), var(--slj-reading));
		padding: 40px 0 48px;
		font-size: 16px;
		line-height: 2;
	}

	.entry-content h1,
	.entry-content h2 {
		font-size: 24px;
		line-height: 1.58;
	}

	.entry-content h3 {
		font-size: 20px;
	}

	.entry-content .alignwide,
	.entry-content .alignfull {
		width: calc(100% + 38px);
		max-width: calc(100% + 38px);
		margin-left: -19px;
	}

	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		display: block;
		margin: 1.3em auto;
	}

	.entry-footer,
	.entry-widgets {
		width: min(calc(100% - 38px), var(--slj-reading));
	}

	.share__button span:last-child {
		display: none;
	}

	.share__button {
		width: 44px;
		min-height: 44px;
		padding: 0;
		justify-content: center;
	}

	.post-navigation {
		grid-template-columns: 1fr;
	}

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

	.related-grid .post-card {
		display: grid;
		grid-template-columns: 120px 1fr;
	}

	.related-grid .post-card__image {
		height: 100%;
		aspect-ratio: auto;
	}

	.archive-header,
	.search-header,
	.comments-area {
		padding: 26px 22px;
	}

	.site-index {
		grid-template-columns: 1fr;
	}

	.site-index__section--all-posts ul {
		columns: 1;
	}

	.site-footer {
		padding-top: 55px;
	}

	.footer-widgets {
		grid-template-columns: 1fr;
	}

	.site-footer__main,
	.site-footer__bottom {
		display: block;
	}

	.footer-navigation .menu {
		justify-content: flex-start;
		margin-top: 28px;
		gap: 12px 20px;
	}

	.site-footer__bottom p + p {
		margin-top: 7px;
	}
}

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		scroll-behavior: auto !important;
		transition-duration: 0.001ms !important;
		animation-duration: 0.001ms !important;
		animation-iteration-count: 1 !important;
	}
}
