/* LEAP WordPress archive, article, and Gutenberg styles. */

.editor-styles-wrapper {
	--blue: #005663;
	--blue2: #d49b37;
	--ink: #172522;
	--muted: #596a5d;
	--paper: #f7f8fb;
	--cream: #e1d7c6;
	--line: #d9d4ca;
	--white: #fff;
	color: var(--ink);
	font-family: "Noto Sans JP", "Hiragino Kaku Gothic ProN", "Yu Gothic", sans-serif;
	line-height: 2;
}

.subpage-main {
	padding-top: var(--header-height);
	overflow: hidden;
}

.subpage-container {
	width: 100%;
	max-width: var(--content-max);
	margin-inline: auto;
}

/* Page title: the grid and oversized initial continue LEAP's drafting motif. */
.subpage-hero {
	position: relative;
	min-height: clamp(330px, 34vw, 500px);
	padding: clamp(76px, 8vw, 118px) var(--pad);
	display: flex;
	align-items: flex-end;
	overflow: hidden;
	background-color: var(--white);
	background-image: linear-gradient(rgba(0, 86, 99, 0.035) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 86, 99, 0.035) 1px, transparent 1px);
	background-size: 72px 72px;
	border-bottom: 1px solid rgba(0, 86, 99, 0.1);
}

.subpage-hero::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--pad);
	right: var(--pad);
	height: 1px;
	background: linear-gradient(90deg, var(--blue2) 0 52px, rgba(0, 86, 99, 0.18) 52px 100%);
}

.subpage-hero-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(280px, 0.62fr);
	gap: clamp(40px, 7vw, 110px);
	align-items: end;
}

.subpage-label,
.subpage-section-label,
.article-type {
	margin: 0;
	color: var(--blue);
	font: 700 11px/1.4 "DM Sans", sans-serif;
	letter-spacing: 0.16em;
}

.subpage-hero h1 {
	margin: 18px 0 0;
	font-size: clamp(50px, 6vw, 94px);
	font-weight: 700;
	line-height: 1.04;
	letter-spacing: -0.055em;
}

.subpage-lead {
	max-width: 620px;
	margin: 0;
	color: var(--muted);
	font-size: clamp(14px, 1.2vw, 16px);
	line-height: 2;
}

.subpage-hero-mark {
	position: absolute;
	right: -0.04em;
	bottom: -0.2em;
	color: rgba(0, 86, 99, 0.035);
	font: 700 clamp(250px, 29vw, 440px) / 0.78 "DM Sans", sans-serif;
	pointer-events: none;
}

.breadcrumbs {
	padding: 15px var(--pad);
	background: var(--white);
	border-bottom: 1px solid rgba(0, 86, 99, 0.1);
}

.breadcrumbs ol {
	max-width: var(--content-max);
	margin: 0 auto;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 6px 9px;
	list-style: none;
	color: var(--muted);
	font-size: 11px;
}

.breadcrumbs li {
	display: flex;
	align-items: center;
}

.breadcrumbs li + li::before {
	content: "/";
	margin-right: 9px;
	color: var(--line);
}

.breadcrumbs a {
	text-decoration: underline;
	text-decoration-color: transparent;
	text-underline-offset: 3px;
}

.breadcrumbs [aria-current="page"] {
	color: var(--ink);
}

.subpage-section {
	padding: clamp(76px, 8vw, 120px) var(--pad);
	background: var(--white);
}

.archive-content__inner {
	max-width: 1220px;
}

/* News list */
.content-list {
	margin: 0;
	padding: 0;
	border-top: 1px solid var(--ink);
	list-style: none;
}

.content-list__item {
	position: relative;
	display: grid;
	grid-template-columns: 116px 150px minmax(0, 1fr) 28px;
	gap: clamp(16px, 2.5vw, 36px);
	align-items: center;
	padding: 28px 8px;
	border-bottom: 1px solid var(--line);
	transition: background-color var(--motion-fast);
}

.content-list__item::before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -1px;
	width: 0;
	height: 1px;
	background: var(--blue2);
	transition: width 0.42s var(--ease-out);
}

.content-list__item time,
.content-list__category {
	color: var(--muted);
	font-size: 12px;
}

.content-list__item time {
	grid-column: 1;
	font-family: "DM Sans", sans-serif;
	letter-spacing: 0.04em;
}

.content-list__category {
	grid-column: 2;
}

.content-list__title {
	grid-column: 3;
	margin: 0;
	font-size: clamp(15px, 1.3vw, 18px);
	font-weight: 600;
	line-height: 1.7;
}

.content-list__title a {
	background-image: linear-gradient(var(--blue2), var(--blue2));
	background-repeat: no-repeat;
	background-position: 0 100%;
	background-size: 0 1px;
	transition: background-size 0.35s var(--ease-out), color var(--motion-fast);
}

.content-list__arrow {
	grid-column: 4;
	color: var(--blue);
	font-size: 17px;
	transition: transform var(--motion-fast) var(--ease-out);
}

/* Column archive */
.taxonomy-navigation {
	margin-bottom: clamp(34px, 4vw, 52px);
	padding-bottom: 18px;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	border-bottom: 1px solid var(--line);
}

.taxonomy-navigation a,
.subpage-tag,
.article-category {
	padding: 7px 13px;
	border: 1px solid rgba(0, 86, 99, 0.2);
	border-radius: 999px;
	color: var(--blue);
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
	transition: background-color var(--motion-fast), color var(--motion-fast), border-color var(--motion-fast);
}

.taxonomy-navigation a[aria-current="page"] {
	border-color: var(--blue);
	background: var(--blue);
	color: var(--white);
}

.content-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(16px, 1.8vw, 26px);
}

.content-card {
	min-width: 0;
	border: 1px solid rgba(0, 86, 99, 0.13);
	border-radius: 24px;
	background: var(--white);
	overflow: hidden;
	box-shadow: 0 10px 34px rgba(23, 37, 34, 0.04);
	transition: transform 0.32s var(--ease-out), border-color var(--motion-fast), box-shadow 0.32s var(--ease-out);
}

.content-card__link {
	height: 100%;
	padding: clamp(18px, 1.8vw, 26px);
	display: flex;
	flex-direction: column;
}

.content-card__media {
	position: relative;
	margin: 0 0 20px;
	aspect-ratio: 16 / 10;
	border-radius: 16px;
	overflow: hidden;
	background: #f0eee8;
}

.content-card__media::after {
	content: "";
	position: absolute;
	inset: 0;
	border: 1px solid rgba(0, 86, 99, 0.08);
	border-radius: inherit;
	pointer-events: none;
}

.content-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.6s var(--ease-out);
}

.content-card__media--placeholder {
	display: grid;
	place-items: center;
	background-color: #f4f0e9;
	background-image: linear-gradient(rgba(0, 86, 99, 0.05) 1px, transparent 1px), linear-gradient(90deg, rgba(0, 86, 99, 0.05) 1px, transparent 1px), linear-gradient(135deg, rgba(0, 86, 99, 0.08), rgba(212, 155, 55, 0.12));
	background-size: 32px 32px, 32px 32px, 100% 100%;
}

.content-card__media--placeholder span {
	color: rgba(0, 86, 99, 0.35);
	font: 700 11px/1 "DM Sans", sans-serif;
	letter-spacing: 0.22em;
}

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

.content-card__category {
	margin: 0;
	color: var(--blue);
	font-size: 11px;
	font-weight: 600;
}

.content-card__meta time {
	flex: 0 0 auto;
	color: var(--muted);
	font: 500 11px/1.4 "DM Sans", sans-serif;
	letter-spacing: 0.04em;
}

.content-card__title {
	margin: 12px 0;
	font-size: clamp(18px, 1.6vw, 22px);
	line-height: 1.55;
}

.content-card__summary {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.85;
}

.content-card__footer {
	margin-top: auto;
	padding-top: 24px;
	display: flex;
	justify-content: space-between;
	gap: 14px;
	color: var(--blue);
	font-size: 11px;
	font-weight: 700;
	letter-spacing: 0.05em;
}

.content-card__footer span:last-child {
	font-size: 17px;
	transition: transform var(--motion-fast) var(--ease-out);
}

.content-card--compact .content-card__summary {
	display: -webkit-box;
	overflow: hidden;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.template-pagination {
	margin-top: clamp(38px, 5vw, 60px);
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

.template-pagination .page-numbers {
	min-width: 46px;
	height: 46px;
	padding: 0 13px;
	display: inline-grid;
	place-items: center;
	border: 1px solid var(--line);
	border-radius: 50%;
	font: 600 12px/1 "DM Sans", sans-serif;
	transition: color var(--motion-fast), border-color var(--motion-fast), background-color var(--motion-fast);
}

.template-pagination .prev,
.template-pagination .next {
	border-radius: 999px;
}

.template-pagination .current {
	border-color: var(--blue);
	background: var(--blue);
	color: var(--white);
}

/* Article shell */
.single-entry {
	position: relative;
}

.single-entry::before {
	content: "";
	position: absolute;
	top: 0;
	left: var(--pad);
	right: var(--pad);
	height: 1px;
	background: linear-gradient(90deg, var(--blue2) 0 52px, rgba(0, 86, 99, 0.18) 52px 100%);
}

.article-shell {
	max-width: 1040px;
}

.article-header {
	max-width: 900px;
	margin-inline: auto;
}

.article-type {
	margin-bottom: 20px;
}

.article-header h1 {
	margin: 18px 0 0;
	font-size: clamp(36px, 4.5vw, 58px);
	font-weight: 700;
	line-height: 1.38;
	letter-spacing: -0.04em;
}

.article-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 18px;
	color: var(--muted);
	font-size: 12px;
}

.article-meta time {
	font-family: "DM Sans", sans-serif;
	letter-spacing: 0.04em;
}

.article-featured-image {
	max-width: 1040px;
	margin: clamp(42px, 6vw, 68px) auto 0;
	border-radius: 24px;
	overflow: hidden;
	box-shadow: var(--shadow-soft);
}

.article-featured-image img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article-introduction {
	max-width: 760px;
	margin: clamp(36px, 5vw, 54px) auto 0;
	padding: 4px 0 4px 22px;
	border-left: 3px solid var(--blue2);
	font-size: clamp(16px, 1.5vw, 18px);
	font-weight: 600;
	line-height: 2;
}

.article-body {
	max-width: 760px;
	margin: clamp(48px, 6vw, 72px) auto 0;
	font-size: 16px;
	line-height: 2;
}

.single-entry--news .article-body {
	max-width: 820px;
}

/* Gutenberg and classic-editor output */
.entry-content > * {
	max-width: 100%;
}

.entry-content > * + * {
	margin-top: 1.6em;
}

.entry-content p {
	margin-bottom: 0;
}

.entry-content h2 {
	position: relative;
	margin-top: 2.8em;
	padding: 0 0 0.7em 20px;
	border-bottom: 1px solid var(--line);
	font-size: clamp(25px, 3vw, 34px);
	line-height: 1.5;
}

.entry-content h2::before {
	content: "";
	position: absolute;
	left: 0;
	top: 0.25em;
	bottom: 0.85em;
	width: 3px;
	background: var(--blue2);
}

.entry-content h3 {
	margin-top: 2.3em;
	padding-left: 16px;
	border-left: 2px solid var(--blue2);
	color: var(--blue);
	font-size: clamp(20px, 2.2vw, 26px);
	line-height: 1.55;
}

.entry-content h4 {
	margin-top: 2em;
	font-size: 18px;
	line-height: 1.6;
}

.entry-content a:not(.wp-block-button__link) {
	color: var(--blue);
	text-decoration: underline;
	text-decoration-color: var(--blue2);
	text-underline-offset: 4px;
}

.entry-content strong {
	color: var(--ink);
	font-weight: 700;
}

.entry-content ul,
.entry-content ol {
	padding-left: 1.55em;
}

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

.entry-content li::marker {
	color: var(--blue2);
	font-weight: 700;
}

.entry-content blockquote,
.entry-content .wp-block-quote {
	margin-inline: 0;
	padding: 22px 26px;
	border-left: 3px solid var(--blue2);
	background: var(--paper);
	color: var(--muted);
}

.entry-content blockquote p:first-child {
	margin-top: 0;
}

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

.entry-content figure {
	margin-inline: 0;
}

.entry-content figcaption {
	margin-top: 10px;
	color: var(--muted);
	font-size: 12px;
	line-height: 1.7;
	text-align: center;
}

.entry-content .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-content > table {
	display: block;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.entry-content table {
	width: 100%;
	min-width: 560px;
	border-collapse: collapse;
	font-size: 14px;
}

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

.entry-content th {
	background: rgba(0, 86, 99, 0.06);
	color: var(--blue);
}

.entry-content code,
.entry-content kbd {
	padding: 0.18em 0.4em;
	border-radius: 4px;
	background: rgba(0, 86, 99, 0.08);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.entry-content pre {
	max-width: 100%;
	padding: 20px;
	overflow-x: auto;
	border-radius: 12px;
	background: var(--ink);
	color: var(--white);
	font-size: 13px;
	line-height: 1.75;
}

.entry-content pre code {
	padding: 0;
	background: transparent;
	color: inherit;
}

.entry-content hr,
.entry-content .wp-block-separator {
	margin-block: 3em;
	border: 0;
	border-top: 1px solid var(--line);
}

.entry-content .wp-block-button__link {
	min-height: 52px;
	padding: 12px 24px;
	display: inline-flex;
	align-items: center;
	border-radius: 999px;
	background: var(--blue);
	color: var(--white);
	font-size: 13px;
	font-weight: 700;
}

.entry-content .wp-block-image img,
.entry-content .wp-block-gallery,
.entry-content .wp-block-cover {
	border-radius: 12px;
}

.entry-content .wp-block-embed,
.entry-content iframe,
.entry-content video {
	max-width: 100%;
}

.entry-content .alignwide {
	width: min(900px, calc(100vw - (var(--pad) * 2)));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.entry-content .alignfull {
	width: min(1040px, calc(100vw - (var(--pad) * 2)));
	max-width: none;
	margin-left: 50%;
	transform: translateX(-50%);
}

.wp-block-file {
	padding: 16px 18px;
	border: 1px solid var(--line);
	border-radius: 12px;
}

.wp-block-columns {
	gap: 22px;
}

/* WORKS / IDEAS detail: fixed facts first, free-form editor content second. */
.single-entry--works {
	padding-top: clamp(68px, 7vw, 104px);
}

.works-detail {
	max-width: 1180px;
}

.works-detail__header {
	max-width: 900px;
	margin-inline: auto;
}

.works-detail__eyebrow {
	margin: 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px 16px;
	color: var(--blue);
	font: 700 11px/1.4 "DM Sans", sans-serif;
	letter-spacing: 0.14em;
}

.works-detail__eyebrow span + span {
	padding-left: 16px;
	border-left: 1px solid rgba(0, 86, 99, 0.2);
}

.works-detail__header h1 {
	max-width: 850px;
	margin: 18px 0 0;
	font-size: clamp(38px, 5vw, 68px);
	font-weight: 700;
	line-height: 1.3;
	letter-spacing: -0.045em;
}

.works-detail__summary {
	max-width: 760px;
	margin: clamp(24px, 3vw, 36px) 0 0;
	color: var(--muted);
	font-size: clamp(15px, 1.35vw, 18px);
	line-height: 2;
}

.works-detail__notice {
	width: max-content;
	max-width: 100%;
	margin: 20px 0 0;
	padding: 8px 12px;
	border-left: 2px solid var(--blue2);
	background: rgba(0, 86, 99, 0.045);
	color: var(--muted);
	font-size: 11px;
}

.works-detail__featured {
	margin: clamp(42px, 6vw, 72px) 0 0;
	overflow: hidden;
	border: 1px solid rgba(0, 86, 99, 0.12);
	border-radius: 24px;
	background: var(--white);
	box-shadow: var(--shadow-soft);
}

.works-detail__featured img {
	width: 100%;
	height: auto;
}

.works-detail__facts {
	max-width: 900px;
	margin: clamp(44px, 6vw, 70px) auto 0;
	padding: clamp(28px, 4vw, 44px) 0;
	border-top: 1px solid rgba(0, 86, 99, 0.18);
	border-bottom: 1px solid rgba(0, 86, 99, 0.18);
}

.works-detail__overview {
	margin: 0;
	font-size: clamp(15px, 1.4vw, 18px);
	font-weight: 600;
	line-height: 1.8;
}

.works-detail__spec {
	margin: 28px 0 0;
}

.works-detail__spec dt,
.works-detail__metrics dt {
	margin: 0 0 8px;
	color: var(--muted);
	font: 700 10px/1.4 "DM Sans", sans-serif;
	letter-spacing: 0.1em;
}

.works-detail__spec dd,
.works-detail__metrics dd {
	margin: 0;
	font-size: 15px;
	line-height: 1.85;
}

.works-detail__metrics {
	margin: 32px 0 0;
	padding-top: 24px;
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 24px;
	border-top: 1px solid var(--line);
}

.works-detail__metrics div {
	min-width: 0;
}

.works-detail__metrics .is-price dd {
	color: var(--blue);
	font-size: 17px;
	font-weight: 700;
}

.works-detail__external {
	margin: 30px 0 0;
}

.works-detail__external .btn {
	min-width: 280px;
	min-height: 60px;
	justify-content: space-between;
	gap: 24px;
	padding: 0 24px 0 28px;
	border-color: var(--blue2);
	background: var(--blue2);
	color: var(--blue);
	font-size: 13px;
	font-weight: 700;
	box-shadow: 0 12px 28px rgba(212, 155, 55, 0.22);
}

.works-detail__external .btn svg {
	width: 20px;
	height: 20px;
	flex: 0 0 20px;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.7;
	stroke-linecap: round;
	stroke-linejoin: round;
	transition: transform 0.2s ease;
}

@media (hover: hover) {
	.works-detail__external .btn:hover {
		border-color: #e0aa49;
		background: #e0aa49;
		box-shadow: 0 15px 32px rgba(212, 155, 55, 0.3);
	}

	.works-detail__external .btn:hover svg {
		transform: translate(2px, -2px);
	}
}

.works-detail__body {
	margin-top: clamp(64px, 8vw, 100px);
}

.works-related-idea {
	max-width: 900px;
	margin: clamp(58px, 7vw, 82px) auto 0;
	padding-top: clamp(32px, 4vw, 44px);
	border-top: 1px solid var(--line);
}

.works-related-idea__header {
	max-width: 660px;
}

.works-related-idea__label,
.works-related-idea__title > p {
	margin: 0;
	color: var(--blue);
	font: 700 10px/1.4 "DM Sans", sans-serif;
	letter-spacing: 0.16em;
}

.works-related-idea__header h2 {
	margin: 10px 0 0;
	font-size: clamp(24px, 2.8vw, 34px);
	line-height: 1.45;
	letter-spacing: -0.035em;
}

.works-related-idea__header h2 span + span::before {
	content: " ";
}

.works-related-idea__card {
	margin-top: 24px;
	padding: clamp(24px, 3vw, 32px);
	display: grid;
	grid-template-columns: minmax(220px, 0.9fr) minmax(260px, 1.2fr) auto;
	gap: clamp(22px, 3vw, 40px);
	align-items: center;
	border: 1px solid rgba(0, 86, 99, 0.15);
	border-radius: 18px;
	background: rgba(225, 215, 198, 0.22);
	transition: border-color var(--motion-fast), background-color var(--motion-fast), transform var(--motion-fast) var(--ease-out);
}

.works-related-idea__title h3 {
	margin: 9px 0 0;
	font-size: clamp(18px, 1.8vw, 23px);
	line-height: 1.55;
	letter-spacing: -0.025em;
}

.works-related-idea__title h3 span {
	display: block;
}

.works-related-idea__description {
	margin: 0;
	color: var(--muted);
	font-size: 13px;
	line-height: 1.85;
}

.works-related-idea__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	white-space: nowrap;
	color: var(--blue);
	font-size: 12px;
	font-weight: 700;
}

.works-related-idea__link span {
	font-size: 16px;
	transition: transform var(--motion-fast) var(--ease-out);
}

@media (hover: hover) {
	.works-related-idea__card:hover {
		border-color: rgba(0, 86, 99, 0.38);
		background: rgba(225, 215, 198, 0.12);
		transform: translateY(-2px);
	}

	.works-related-idea__card:hover .works-related-idea__link span {
		transform: translateX(3px);
	}
}

.works-detail__back {
	max-width: 760px;
	margin: clamp(64px, 8vw, 96px) auto 0;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

@media (max-width: 700px) {
	.single-entry--works {
		padding-top: 54px;
	}

	.works-detail__eyebrow {
		font-size: 10px;
	}

	.works-detail__header h1 {
		margin-top: 14px;
		font-size: clamp(30px, 9vw, 42px);
	}

	.works-detail__summary {
		margin-top: 22px;
		font-size: 14px;
		line-height: 1.9;
	}

	.works-detail__featured {
		margin-top: 36px;
		border-radius: 16px;
	}

	.works-detail__facts {
		margin-top: 38px;
		padding-block: 26px;
	}

	.works-detail__spec {
		margin-top: 24px;
	}

	.works-detail__metrics {
		margin-top: 26px;
		padding-top: 20px;
		gap: 14px;
	}

	.works-detail__spec dd,
	.works-detail__metrics dd {
		font-size: 14px;
	}

	.works-detail__metrics .is-price dd {
		font-size: 16px;
	}

	.works-detail__external .btn {
		width: 100%;
		min-width: 0;
	}

	.works-related-idea {
		margin-top: 54px;
		padding-top: 30px;
	}

	.works-related-idea__header h2 {
		font-size: 24px;
	}

	.works-related-idea__header h2 span {
		display: block;
	}

	.works-related-idea__header h2 span + span::before {
		content: none;
	}

	.works-related-idea__card {
		margin-top: 20px;
		padding: 22px;
		grid-template-columns: 1fr;
		gap: 16px;
		border-radius: 14px;
	}

	.works-related-idea__title h3 {
		font-size: 20px;
	}

	.works-related-idea__link {
		margin-top: 2px;
	}
}

@media (max-width: 420px) {
	.works-detail__metrics {
		grid-template-columns: 1fr;
	}
}

/* Related posts and navigation */
.related-columns {
	margin-top: clamp(80px, 10vw, 130px);
	padding-top: clamp(42px, 5vw, 62px);
	border-top: 1px solid var(--ink);
}

.related-columns__header {
	margin-bottom: 30px;
}

.related-columns__header h2 {
	margin: 10px 0 0;
	font-size: clamp(26px, 3vw, 38px);
	line-height: 1.4;
}

.content-grid--related {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.article-nav .navigation {
	width: 100%;
	margin-top: clamp(64px, 8vw, 96px);
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.article-nav .nav-links {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 12px;
}

.article-nav .nav-previous,
.article-nav .nav-next {
	min-width: 0;
	border: 1px solid var(--line);
	border-radius: 16px;
	transition: border-color var(--motion-fast), transform var(--motion-fast) var(--ease-out);
}

.article-nav .nav-previous:empty,
.article-nav .nav-next:empty {
	display: none;
}

.article-nav a {
	height: 100%;
	padding: 19px 20px;
	display: block;
}

.article-nav .nav-next {
	text-align: right;
}

.post-navigation__label,
.post-navigation__title {
	display: block;
}

.post-navigation__label {
	margin-bottom: 5px;
	color: var(--muted);
	font-size: 10px;
	letter-spacing: 0.05em;
}

.post-navigation__title {
	overflow-wrap: anywhere;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.6;
}

.article-back {
	margin: 28px 0 0;
	text-align: center;
}

/* Shared contact CTA */
.subpage-cta {
	position: relative;
	padding: clamp(82px, 9vw, 132px) var(--pad);
	overflow: hidden;
	background: var(--blue);
	color: var(--white);
}

.subpage-cta::before {
	content: "L";
	position: absolute;
	right: -0.06em;
	bottom: -0.27em;
	color: transparent;
	-webkit-text-stroke: 1px rgba(255, 255, 255, 0.1);
	font: 700 clamp(270px, 35vw, 530px) / 0.8 "DM Sans", sans-serif;
	pointer-events: none;
}

.subpage-cta-inner {
	position: relative;
	z-index: 1;
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(40px, 8vw, 130px);
	align-items: end;
}

.subpage-cta h2 {
	max-width: 720px;
	margin: 18px 0 20px;
	font-size: clamp(36px, 5vw, 66px);
	line-height: 1.28;
	letter-spacing: -0.04em;
}

.subpage-cta p:not(.subpage-section-label) {
	max-width: 660px;
	margin-bottom: 0;
	color: var(--blue2);
}

.subpage-cta .subpage-section-label {
	color: var(--blue2);
}

.subpage-cta-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-end;
}

.subpage-cta .btn {
	width: 240px;
	min-width: 240px;
	min-height: 56px;
	border-color: var(--white);
	color: var(--white);
}

.subpage-cta .contact-inquiry-button {
	background: var(--white);
	color: var(--blue);
}

.subpage-cta .line-button {
	background: transparent;
	justify-content: flex-start;
}

.subpage-cta .line-button span:last-child {
	margin-left: auto;
}

.subpage-cta .line-icon {
	width: 21px;
	height: 21px;
	flex-basis: 21px;
}

.content-empty,
.fallback-entry,
.error-actions {
	padding: 30px;
	border: 1px solid var(--line);
	border-radius: 18px;
	background: var(--paper);
}

.fallback-entry + .fallback-entry {
	margin-top: 12px;
}

.fallback-entry h2 {
	margin-top: 0;
}

.error-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

/* Added only when JavaScript is active; content remains visible without it. */
html.js .leap-reveal {
	opacity: 0;
	transform: translateY(18px);
	transition: opacity 0.68s var(--ease-out), transform 0.68s var(--ease-out);
}

html.js .leap-reveal.is-visible {
	opacity: 1;
	transform: none;
}

@media (hover: hover) {
	.breadcrumbs a:hover {
		text-decoration-color: var(--blue2);
	}

	.content-list__item:hover::before {
		width: 100%;
	}

	.content-list__item:hover .content-list__title a {
		color: var(--blue);
		background-size: 100% 1px;
	}

	.content-list__item:hover .content-list__arrow {
		transform: translate(3px, -3px);
	}

	.taxonomy-navigation a:hover,
	.template-pagination .page-numbers:hover {
		border-color: var(--blue);
		background: var(--blue);
		color: var(--white);
	}

	.content-card:hover {
		transform: translateY(-5px);
		border-color: rgba(0, 86, 99, 0.3);
		box-shadow: var(--shadow-soft);
	}

	.content-card:hover .content-card__media img {
		transform: scale(1.025);
	}

	.content-card:hover .content-card__footer span:last-child {
		transform: translate(3px, -3px);
	}

	.article-nav .nav-previous:hover,
	.article-nav .nav-next:hover {
		transform: translateY(-2px);
		border-color: var(--blue);
	}
}

@media (max-width: 1050px) {
	.subpage-hero-inner,
	.subpage-cta-inner {
		grid-template-columns: 1fr;
	}

	.subpage-lead {
		max-width: 540px;
	}

	.subpage-cta-actions {
		justify-content: flex-start;
	}

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

}

@media (max-width: 700px) {
	.subpage-hero {
		min-height: 310px;
		padding: 66px var(--pad) 56px;
		background-size: 48px 48px;
	}

	.subpage-hero::before,
	.single-entry::before {
		left: var(--pad);
		right: var(--pad);
	}

	.subpage-hero h1 {
		font-size: clamp(42px, 13vw, 56px);
	}

	.subpage-lead {
		font-size: 13px;
	}

	.subpage-hero-mark {
		right: -58px;
		font-size: 250px;
	}

	.breadcrumbs ol {
		flex-wrap: nowrap;
		overflow: hidden;
	}

	.breadcrumbs li:last-child {
		min-width: 0;
		overflow: hidden;
	}

	.breadcrumbs li:last-child span {
		overflow: hidden;
		text-overflow: ellipsis;
		white-space: nowrap;
	}

	.subpage-section {
		padding-block: 68px;
	}

	.content-list__item {
		grid-template-columns: 1fr auto;
		gap: 6px 12px;
		padding: 21px 2px;
	}

	.content-list__item time {
		grid-column: 1;
	}

	.content-list__category {
		grid-column: 2;
		text-align: right;
	}

	.content-list__title {
		grid-column: 1 / -1;
		font-size: 15px;
	}

	.content-list__arrow {
		display: none;
	}

	.taxonomy-navigation {
		margin-right: calc(var(--pad) * -1);
		padding-right: var(--pad);
		flex-wrap: nowrap;
		overflow-x: auto;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
	}

	.taxonomy-navigation::-webkit-scrollbar {
		display: none;
	}

	.taxonomy-navigation a {
		flex: 0 0 auto;
	}

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

	.content-card {
		border-radius: 18px;
	}

	.content-card__media {
		border-radius: 12px;
	}

	.content-card__summary {
		display: -webkit-box;
		overflow: hidden;
		-webkit-box-orient: vertical;
		-webkit-line-clamp: 3;
	}

	.article-header h1 {
		font-size: clamp(28px, 8vw, 36px);
		line-height: 1.45;
	}

	.article-type {
		margin-bottom: 16px;
	}

	.article-featured-image {
		border-radius: 16px;
	}

	.article-introduction {
		padding-left: 17px;
		font-size: 15px;
	}

	.article-body {
		font-size: 15px;
		line-height: 1.95;
	}

	.entry-content h2 {
		padding-left: 15px;
		font-size: 24px;
	}

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

	.entry-content blockquote,
	.entry-content .wp-block-quote {
		padding: 18px;
	}

	.entry-content .alignwide,
	.entry-content .alignfull {
		width: 100%;
		margin-left: 0;
		transform: none;
	}

	.related-columns {
		margin-top: 72px;
	}

	.article-nav .nav-links {
		grid-template-columns: 1fr;
	}

	.article-nav .nav-next {
		text-align: left;
	}

	.subpage-cta-actions,
	.error-actions {
		display: grid;
	}

	.subpage-cta .btn {
		width: 100%;
		min-width: 0;
	}
}

@media (prefers-reduced-motion: reduce) {
	html.js .leap-reveal {
		opacity: 1;
		transform: none;
	}
}

/* One-column page headings shared by NEWS and COLUMN archives. */
.subpage-hero-inner {
	display: block;
	max-width: 1200px;
}

.subpage-title-group {
	width: 100%;
	max-width: 900px;
}

.subpage-hero h1 {
	max-width: 900px;
	margin-top: 8px;
}

.subpage-title-group > .subpage-lead {
	max-width: 640px;
	margin-top: 20px;
}

.subpage-cta-inner > div:first-child {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
}

.subpage-cta h2 {
	max-width: 900px;
	margin-top: 8px;
}

.subpage-cta p:not(.subpage-section-label) {
	max-width: 640px;
	margin-top: 20px;
}

@media (max-width: 768px) {
	body {
		font-size: 16px;
		line-height: 1.8;
	}

	.subpage-section {
		padding-block: 60px;
	}

	.subpage-hero h1 {
		font-size: clamp(34px, 9vw, 44px);
		line-height: 1.3;
	}

	.subpage-title-group > .subpage-lead,
	.content-list__title,
	.content-card__summary,
	.article-introduction,
	.article-body,
	.entry-content,
	.subpage-cta p:not(.subpage-section-label) {
		font-size: 16px;
		line-height: 1.8;
	}

	.article-header h1 {
		font-size: clamp(28px, 7vw, 36px);
	}

	.subpage-cta h2 {
		font-size: clamp(31px, 8.5vw, 40px);
		line-height: 1.4;
	}

	.heading-break {
		display: none;
	}

	.subpage-label,
	.subpage-section-label,
	.article-type,
	.content-card__label,
	.content-card__category,
	.content-list__category {
		font-size: 15px;
		line-height: 1.5;
	}

	.article-meta,
	.content-card__footer,
	.content-empty,
	.post-navigation__label {
		font-size: 14px;
		line-height: 1.8;
	}

	.content-card__link {
		padding: 21px;
	}

}
