/*
Theme Name: 北海道鉄道みらい会議
Theme URI: https://miraitrain.com/
Author: 北海道鉄道みらい会議
Description: 北海道鉄道みらい会議の公式サイト用オリジナルテーマ。告知スライダー、イベント、ブログ、固定ページに対応しています。
Version: 1.0.1
Requires at least: 6.4
Tested up to: 6.8
Requires PHP: 7.4
Text Domain: mirai-train
*/

:root {
	--blue-900: #12376b;
	--blue-800: #164781;
	--blue-700: #1d579d;
	--blue-100: #eaf3ff;
	--cyan-600: #10a7b8;
	--cyan-100: #e1f8f8;
	--green-500: #4cbb79;
	--green-100: #e9f8ee;
	--purple-500: #8762c6;
	--purple-100: #f0eafd;
	--yellow-500: #efc526;
	--ink: #17314c;
	--ink-soft: #526578;
	--line: #dbe5ec;
	--paper: #ffffff;
	--snow: #f5f9fc;
	--shadow: 0 24px 80px rgba(18, 55, 107, 0.14);
	--header-height: 102px;
	--rail-width: 74px;
	--content-width: 1180px;
	--radius-lg: 34px;
	--radius-md: 22px;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--paper);
	color: var(--ink);
	font-family: -apple-system, BlinkMacSystemFont, "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
	font-size: 16px;
	line-height: 1.85;
	letter-spacing: 0.035em;
	overflow-x: hidden;
}

body.menu-open {
	overflow: hidden;
}

img {
	display: block;
	max-width: 100%;
	height: auto;
}

a {
	color: inherit;
	text-decoration: none;
}

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

button {
	color: inherit;
}

h1,
h2,
h3,
h4,
p {
	margin-top: 0;
}

.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 {
	z-index: 10000;
	top: 8px;
	left: 8px;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: #fff;
	color: var(--blue-900);
	border-radius: 8px;
	box-shadow: var(--shadow);
}

.section-shell {
	width: min(calc(100% - 64px), var(--content-width));
	margin-inline: auto;
}

.section-kicker {
	margin-bottom: 12px;
	color: var(--cyan-600);
	font-size: 12px;
	font-weight: 800;
	letter-spacing: 0.2em;
	line-height: 1.4;
}

.button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 28px;
	min-height: 56px;
	padding: 14px 24px;
	border-radius: 100px;
	font-size: 14px;
	font-weight: 800;
	letter-spacing: 0.08em;
	transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover,
.button:focus-visible {
	transform: translateY(-2px);
}

.button--white {
	background: #fff;
	color: var(--blue-900);
	box-shadow: 0 12px 30px rgba(9, 30, 58, 0.18);
}

.button--white:hover,
.button--white:focus-visible {
	box-shadow: 0 16px 38px rgba(9, 30, 58, 0.3);
}

.button--blue {
	background: var(--blue-800);
	color: #fff;
}

/* Header */
.site-header {
	position: relative;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: var(--header-height);
	padding: 10px 26px 10px calc(var(--rail-width) + 26px);
	background: rgba(255, 255, 255, 0.97);
	border-bottom: 1px solid rgba(22, 71, 129, 0.1);
}

.site-brand {
	display: block;
	width: min(260px, 42vw);
}

.site-brand img {
	width: auto;
	max-width: 100%;
	height: 80px;
	object-fit: contain;
	object-position: left center;
}

.header-actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.member-link {
	display: grid;
	grid-template-columns: 20px auto;
	grid-template-rows: auto auto;
	align-items: center;
	column-gap: 10px;
	min-width: 168px;
	padding: 10px 20px;
	color: var(--blue-900);
	border: 1px solid var(--line);
	border-radius: 999px;
	transition: color 180ms ease, background 180ms ease, border-color 180ms ease;
}

.member-link__icon {
	grid-row: 1 / 3;
	color: var(--green-500);
	font-size: 11px;
}

.member-link > span:not(.member-link__icon) {
	font-size: 13px;
	font-weight: 800;
	line-height: 1.25;
}

.member-link small {
	color: var(--ink-soft);
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.14em;
	line-height: 1.2;
}

.member-link:hover,
.member-link:focus-visible {
	background: var(--blue-800);
	border-color: var(--blue-800);
	color: #fff;
}

.member-link:hover small,
.member-link:focus-visible small {
	color: rgba(255, 255, 255, 0.75);
}

/* Drawer navigation */
.site-menu-shell {
	position: fixed;
	z-index: 1000;
	top: 0;
	left: 0;
	height: max(100vh, 760px);
	pointer-events: none;
}

.menu-rail {
	position: relative;
	z-index: 3;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 9px;
	width: var(--rail-width);
	height: var(--header-height);
	padding: 0;
	background: var(--blue-900);
	color: #fff;
	border: 0;
	cursor: pointer;
	pointer-events: auto;
}

.menu-rail__lines {
	display: grid;
	gap: 5px;
	width: 25px;
}

.menu-rail__lines i {
	display: block;
	height: 2px;
	background: currentColor;
	border-radius: 2px;
	transition: transform 180ms ease, opacity 180ms ease;
}

.menu-rail__label {
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.2em;
}

.site-menu-shell.is-open .menu-rail__lines i:nth-child(1) {
	transform: translateY(7px) rotate(45deg);
}

.site-menu-shell.is-open .menu-rail__lines i:nth-child(2) {
	opacity: 0;
}

.site-menu-shell.is-open .menu-rail__lines i:nth-child(3) {
	transform: translateY(-7px) rotate(-45deg);
}

.site-drawer {
	position: absolute;
	z-index: 2;
	top: 0;
	left: 0;
	width: min(390px, calc(100vw - 30px));
	min-height: min(760px, 100vh);
	padding: 26px 28px 32px calc(var(--rail-width) + 28px);
	background: var(--blue-900);
	color: #fff;
	box-shadow: 28px 0 60px rgba(7, 31, 61, 0.24);
	transform: translateX(-105%);
	transition: transform 280ms cubic-bezier(0.22, 1, 0.36, 1);
	pointer-events: auto;
}

.site-menu-shell.is-open .site-drawer {
	transform: translateX(0);
}

@media (hover: hover) and (min-width: 761px) {
	.site-menu-shell:hover .site-drawer {
		transform: translateX(0);
	}
}

.site-drawer__head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 50px;
	margin-bottom: 40px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.drawer-close {
	display: none;
	width: 42px;
	height: 42px;
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
	border: 0;
	border-radius: 50%;
	font-size: 25px;
	line-height: 1;
	cursor: pointer;
}

.drawer-menu,
.site-drawer .menu {
	display: grid;
	gap: 0;
	padding: 0;
	margin: 0;
	list-style: none;
}

.drawer-menu li,
.site-drawer .menu li {
	border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

.drawer-menu a,
.site-drawer .menu a {
	position: relative;
	display: flex;
	flex-direction: column;
	gap: 2px;
	padding: 14px 26px 14px 0;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.35;
	transition: color 180ms ease, padding-left 180ms ease;
}

.drawer-menu a::after,
.site-drawer .menu a::after {
	content: "→";
	position: absolute;
	top: 50%;
	right: 4px;
	color: var(--green-500);
	transform: translateY(-50%);
}

.drawer-menu a small,
.site-drawer .menu a small {
	color: rgba(255, 255, 255, 0.55);
	font-size: 9px;
	font-weight: 700;
	letter-spacing: 0.14em;
}

.drawer-menu a:hover,
.drawer-menu a:focus-visible,
.site-drawer .menu a:hover,
.site-drawer .menu a:focus-visible {
	padding-left: 10px;
	color: #9ae6bd;
}

.site-drawer__message {
	padding-top: 40px;
}

.site-drawer__message > span {
	color: #8cdaec;
	font-size: 9px;
	font-weight: 800;
	letter-spacing: 0.18em;
}

.site-drawer__message strong {
	display: block;
	margin: 8px 0 4px;
	font-size: 24px;
}

.site-drawer__message p {
	margin: 0;
	color: rgba(255, 255, 255, 0.72);
	font-size: 12px;
	line-height: 1.7;
}

.menu-scrim {
	position: fixed;
	z-index: 950;
	inset: 0;
	background: rgba(7, 31, 61, 0.48);
	opacity: 0;
	visibility: hidden;
	transition: opacity 200ms ease, visibility 200ms ease;
}

.menu-scrim.is-visible {
	opacity: 1;
	visibility: visible;
}

/* Hero */
.hero {
	position: relative;
}

.hero-stage {
	position: relative;
	height: clamp(560px, calc(100vh - var(--header-height) - 56px), 780px);
	min-height: 560px;
	overflow: hidden;
	background: var(--blue-900);
}

.hero-slide {
	position: absolute;
	inset: 0;
	display: flex;
	align-items: flex-end;
	padding: clamp(44px, 6vw, 92px) max(7vw, 90px);
	color: #fff;
	opacity: 0;
	visibility: hidden;
	transform: scale(1.025);
	transition: opacity 900ms ease, visibility 900ms ease, transform 6.5s linear;
}

.hero-slide.is-active {
	z-index: 2;
	opacity: 1;
	visibility: visible;
	transform: scale(1);
}

.hero-slide--post {
	background:
		linear-gradient(90deg, rgba(7, 31, 61, 0.82) 0%, rgba(7, 31, 61, 0.44) 56%, rgba(7, 31, 61, 0.12) 100%),
		var(--hero-image, linear-gradient(135deg, var(--blue-800), var(--cyan-600)));
	background-position: center;
	background-size: cover;
}

.hero-slide--blue {
	background: linear-gradient(135deg, #163e7b 0%, #1c6db6 58%, #25b2c1 100%);
}

.hero-slide--green {
	background: linear-gradient(135deg, #146f7c 0%, #37aa8a 54%, #8bd7ae 100%);
}

.hero-slide--purple {
	background: linear-gradient(135deg, #42377f 0%, #7757b7 55%, #b898e1 100%);
}

.hero-slide__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(0deg, rgba(4, 19, 37, 0.22), transparent 48%);
}

.hero-slide__content {
	position: relative;
	z-index: 2;
	width: min(680px, 72vw);
}

.hero-slide__kicker {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-bottom: 14px;
	color: #aee9dc;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.2em;
}

.hero-slide__kicker span {
	color: rgba(255, 255, 255, 0.7);
}

.hero-slide h1 {
	margin-bottom: 18px;
	font-size: clamp(36px, 5.6vw, 74px);
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.26;
	text-wrap: balance;
}

.hero-slide__content > p:not(.hero-slide__kicker) {
	max-width: 620px;
	margin-bottom: 32px;
	font-size: clamp(15px, 1.45vw, 18px);
	font-weight: 600;
	line-height: 1.9;
}

.hero-slide__art {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.hero-slide__art::before {
	content: "";
	position: absolute;
	top: 9%;
	right: 8%;
	width: min(34vw, 460px);
	aspect-ratio: 1;
	border: 2px solid rgba(255, 255, 255, 0.2);
	border-radius: 46% 54% 57% 43% / 53% 44% 56% 47%;
	transform: rotate(18deg);
}

.hero-slide__art::after {
	content: "";
	position: absolute;
	right: 19%;
	bottom: 21%;
	width: 110px;
	aspect-ratio: 1;
	background: rgba(255, 255, 255, 0.13);
	border-radius: 50%;
}

.track {
	position: absolute;
	left: 35%;
	width: 85%;
	height: 16px;
	border: 3px solid rgba(255, 255, 255, 0.7);
	border-right: 0;
	border-bottom: 0;
	border-radius: 50% 0 0 0;
	transform-origin: left center;
}

.track--one {
	top: 20%;
	transform: rotate(18deg);
}

.track--two {
	top: 25%;
	border-color: rgba(159, 236, 189, 0.75);
	transform: rotate(14deg);
}

.track--three {
	top: 30%;
	border-color: rgba(216, 198, 253, 0.78);
	transform: rotate(10deg);
}

.hero-controls {
	display: flex;
	align-items: center;
	gap: 14px;
	min-height: 56px;
	padding: 0 max(7vw, 90px);
	background: #fff;
	border-bottom: 1px solid var(--line);
}

.hero-meters {
	display: grid;
	grid-template-columns: repeat(4, minmax(40px, 120px));
	flex: 1;
	gap: 8px;
}

.hero-meter {
	position: relative;
	height: 5px;
	padding: 0;
	overflow: hidden;
	background: #d7e0e7;
	border: 0;
	border-radius: 99px;
	cursor: pointer;
}

.hero-meter i {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, var(--green-500), var(--cyan-600), var(--purple-500));
	border-radius: inherit;
	transform: scaleX(0);
	transform-origin: left;
}

.hero-meter.is-active i {
	animation: hero-meter 6.5s linear forwards;
}

.slider-paused .hero-meter.is-active i {
	animation-play-state: paused;
}

@keyframes hero-meter {
	to { transform: scaleX(1); }
}

.slider-toggle {
	display: grid;
	place-items: center;
	width: 32px;
	height: 32px;
	padding: 0;
	background: transparent;
	border: 1px solid var(--line);
	border-radius: 50%;
	font-size: 10px;
	cursor: pointer;
}

.play-icon {
	display: none;
	margin-left: 2px;
}

.slider-toggle.is-paused .pause-icon {
	display: none;
}

.slider-toggle.is-paused .play-icon {
	display: inline;
}

/* Home sections */
.message-section {
	display: grid;
	grid-template-columns: minmax(300px, 0.92fr) minmax(360px, 1.08fr);
	gap: clamp(52px, 8vw, 110px);
	align-items: center;
	padding-block: 128px;
}

.logo-square {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 1;
	padding: 8%;
	overflow: hidden;
	background:
		linear-gradient(145deg, rgba(255, 255, 255, 0.94), rgba(234, 243, 255, 0.8)),
		repeating-linear-gradient(90deg, transparent 0 32px, rgba(18, 55, 107, 0.04) 32px 33px);
	border: 1px solid rgba(22, 71, 129, 0.1);
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
}

.logo-square::before,
.logo-square::after {
	content: "";
	position: absolute;
	border-radius: 50%;
	filter: blur(2px);
}

.logo-square::before {
	top: -15%;
	right: -10%;
	width: 46%;
	aspect-ratio: 1;
	background: rgba(143, 213, 179, 0.4);
}

.logo-square::after {
	bottom: -12%;
	left: -7%;
	width: 38%;
	aspect-ratio: 1;
	background: rgba(173, 153, 218, 0.34);
}

.logo-square__halo {
	position: absolute;
	width: 70%;
	aspect-ratio: 1;
	border: 1px solid rgba(16, 167, 184, 0.2);
	border-radius: 50%;
}

.logo-square img {
	position: relative;
	z-index: 2;
	width: 95%;
}

.message-copy h2 {
	margin-bottom: 28px;
	font-size: clamp(32px, 4.2vw, 54px);
	line-height: 1.42;
	letter-spacing: 0.02em;
}

.message-copy > p:not(.section-kicker) {
	margin-bottom: 30px;
	color: var(--ink-soft);
	font-size: 16px;
	line-height: 2.1;
}

.message-tags {
	display: flex;
	flex-wrap: wrap;
	gap: 9px;
}

.message-tags span {
	padding: 7px 14px;
	background: var(--snow);
	color: var(--blue-800);
	border: 1px solid var(--line);
	border-radius: 999px;
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.about-banner {
	margin-bottom: 128px;
}

.about-banner a {
	position: relative;
	display: grid;
	grid-template-columns: minmax(170px, 0.7fr) minmax(300px, 1.1fr) auto;
	grid-template-rows: auto auto;
	align-items: center;
	gap: 6px 42px;
	min-height: 230px;
	padding: 46px 52px;
	overflow: hidden;
	background: linear-gradient(120deg, var(--blue-900), var(--blue-700) 64%, #16899a);
	color: #fff;
	border-radius: var(--radius-lg);
	box-shadow: var(--shadow);
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.about-banner a:hover,
.about-banner a:focus-visible {
	transform: translateY(-4px);
	box-shadow: 0 32px 90px rgba(18, 55, 107, 0.23);
}

.about-banner__eyebrow {
	grid-column: 1;
	align-self: end;
	color: #9de4bd;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.2em;
}

.about-banner__title {
	grid-column: 1;
	grid-row: 2;
	align-self: start;
	font-size: clamp(24px, 2.8vw, 34px);
	font-weight: 800;
	line-height: 1.45;
}

.about-banner__description {
	grid-column: 2;
	grid-row: 1 / 3;
	color: rgba(255, 255, 255, 0.76);
	font-size: 14px;
	line-height: 1.9;
}

.about-banner__arrow {
	z-index: 2;
	grid-column: 3;
	grid-row: 1 / 3;
	display: grid;
	place-items: center;
	width: 60px;
	height: 60px;
	background: #fff;
	color: var(--blue-900);
	border-radius: 50%;
	font-size: 24px;
	transition: transform 200ms ease;
}

.about-banner a:hover .about-banner__arrow {
	transform: translateX(5px);
}

.about-banner__map {
	position: absolute;
	top: -44%;
	right: 4%;
	width: 330px;
	aspect-ratio: 1;
	border: 42px solid rgba(255, 255, 255, 0.045);
	border-radius: 46% 54% 52% 48% / 54% 39% 61% 46%;
	transform: rotate(16deg);
}

.news-section {
	padding-bottom: 140px;
}

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

.section-heading h2 {
	margin: 0;
	font-size: clamp(32px, 4vw, 48px);
	line-height: 1.25;
}

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 14px;
	padding-bottom: 7px;
	color: var(--blue-800);
	border-bottom: 1px solid currentColor;
	font-size: 13px;
	font-weight: 800;
}

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

.post-card {
	position: relative;
	min-width: 0;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: var(--radius-md);
	overflow: hidden;
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.post-card:hover {
	transform: translateY(-6px);
	box-shadow: 0 22px 60px rgba(18, 55, 107, 0.12);
}

.post-card__image {
	position: relative;
	display: grid;
	place-items: center;
	aspect-ratio: 3 / 2;
	overflow: hidden;
	background: linear-gradient(135deg, var(--blue-800), var(--cyan-600));
}

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

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

.post-card__fallback {
	color: rgba(255, 255, 255, 0.8);
	font-size: 23px;
	font-weight: 800;
	letter-spacing: 0.16em;
	line-height: 1.25;
	text-align: center;
}

.post-card__body {
	padding: 24px 24px 26px;
}

.post-card__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px 12px;
	margin-bottom: 13px;
	color: var(--ink-soft);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.08em;
	line-height: 1.5;
}

.post-card__meta span {
	padding: 2px 8px;
	background: var(--green-100);
	color: #27734a;
	border-radius: 99px;
}

.post-card h3 {
	margin-bottom: 12px;
	font-size: 18px;
	line-height: 1.65;
}

.post-card h3 a {
	transition: color 180ms ease;
}

.post-card h3 a:hover,
.post-card h3 a:focus-visible {
	color: var(--cyan-600);
}

.post-card__body > p:not(.post-card__meta) {
	margin-bottom: 20px;
	color: var(--ink-soft);
	font-size: 13px;
	line-height: 1.8;
}

.post-card__link {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-top: 16px;
	color: var(--blue-800);
	border-top: 1px solid var(--line);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.14em;
}

.post-card--placeholder .post-card__image {
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.08), transparent),
		repeating-linear-gradient(45deg, transparent 0 22px, rgba(255, 255, 255, 0.07) 22px 23px),
		var(--blue-800);
}

.post-card--placeholder:nth-child(2) .post-card__image {
	background-color: var(--green-500);
}

.post-card--placeholder:nth-child(3) .post-card__image {
	background-color: var(--purple-500);
}

.post-card--placeholder .post-card__image span {
	color: #fff;
	font-size: 13px;
	font-weight: 800;
	letter-spacing: 0.2em;
}

/* Inner pages */
.inner-page {
	min-height: 60vh;
}

.page-hero {
	position: relative;
	display: flex;
	align-items: center;
	min-height: 320px;
	overflow: hidden;
	background: linear-gradient(125deg, var(--blue-100), #fff 62%, var(--green-100));
	border-bottom: 1px solid var(--line);
}

.page-hero--blog {
	background: linear-gradient(125deg, var(--purple-100), #fff 62%, var(--blue-100));
}

.page-hero--event {
	background: linear-gradient(125deg, var(--green-100), #fff 62%, #fff7cc);
}

.page-hero__track {
	position: absolute;
	top: 50%;
	right: -10%;
	width: 58%;
	height: 110px;
	border: 2px solid rgba(22, 71, 129, 0.1);
	border-right: 0;
	border-bottom: 0;
	border-radius: 50% 0 0 0;
	transform: rotate(-7deg);
}

.page-hero__track::before,
.page-hero__track::after {
	content: "";
	position: absolute;
	left: 0;
	width: 100%;
	height: 2px;
	background: rgba(76, 187, 121, 0.16);
}

.page-hero__track::before {
	top: 17px;
}

.page-hero__track::after {
	top: 35px;
	background: rgba(135, 98, 198, 0.14);
}

.page-hero .section-shell {
	position: relative;
	z-index: 2;
}

.page-hero h1 {
	max-width: 900px;
	margin: 0;
	font-size: clamp(34px, 5vw, 62px);
	line-height: 1.35;
}

.page-hero .section-shell > p:not(.section-kicker) {
	max-width: 700px;
	margin: 18px 0 0;
	color: var(--ink-soft);
}

.page-content,
.single-content {
	padding-block: 90px 130px;
}

.page-content {
	max-width: 980px;
}

.page-featured-image,
.single-featured {
	margin: 0 auto 60px;
	overflow: hidden;
	border-radius: var(--radius-lg);
}

.page-featured-image img,
.single-featured img {
	width: 100%;
}

.entry-content {
	font-size: 16px;
	line-height: 2;
}

.entry-content > * {
	max-width: 780px;
	margin-right: auto;
	margin-left: auto;
}

.entry-content > .alignwide {
	max-width: 1080px;
}

.entry-content > .alignfull {
	max-width: none;
}

.entry-content h2 {
	margin-top: 2.2em;
	margin-bottom: 0.9em;
	padding-bottom: 0.45em;
	font-size: clamp(26px, 3.2vw, 38px);
	line-height: 1.45;
	border-bottom: 2px solid var(--blue-100);
}

.entry-content h3 {
	margin-top: 2em;
	margin-bottom: 0.75em;
	color: var(--blue-800);
	font-size: 24px;
	line-height: 1.5;
}

.entry-content p,
.entry-content ul,
.entry-content ol {
	margin-bottom: 1.6em;
}

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

.entry-content li {
	margin-bottom: 0.6em;
}

.entry-content a {
	color: var(--blue-700);
	text-decoration: underline;
	text-underline-offset: 0.25em;
}

.entry-content blockquote {
	padding: 28px 32px;
	background: var(--blue-100);
	border-left: 5px solid var(--cyan-600);
	border-radius: 0 var(--radius-md) var(--radius-md) 0;
}

.archive-content {
	padding-block: 90px 130px;
}

.archive-page .post-grid {
	row-gap: 38px;
}

.navigation.pagination {
	margin-top: 60px;
}

.nav-links {
	display: flex;
	justify-content: center;
	gap: 8px;
}

.page-numbers {
	display: grid;
	place-items: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border: 1px solid var(--line);
	border-radius: 50px;
	font-size: 13px;
	font-weight: 700;
}

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

.single-header {
	max-width: 980px;
	padding-top: 90px;
	padding-bottom: 54px;
}

.single-meta {
	display: flex;
	gap: 16px;
	margin-bottom: 20px;
	color: var(--ink-soft);
	font-size: 12px;
	font-weight: 700;
}

.single-meta a {
	color: var(--cyan-600);
}

.single-header h1 {
	margin: 0;
	font-size: clamp(34px, 5vw, 56px);
	line-height: 1.45;
}

.single-featured {
	max-width: 1180px;
}

.single-content {
	max-width: 980px;
	padding-top: 20px;
}

.post-navigation-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin-top: 80px;
	padding-top: 28px;
	border-top: 1px solid var(--line);
}

.post-navigation-links > div:last-child {
	text-align: right;
}

.post-navigation-links a {
	display: inline-flex;
	flex-direction: column;
	max-width: 300px;
	font-size: 13px;
	font-weight: 700;
	line-height: 1.6;
}

.post-navigation-links span {
	color: var(--cyan-600);
	font-size: 9px;
	letter-spacing: 0.15em;
}

.comments-area {
	margin-top: 72px;
	padding-top: 44px;
	border-top: 1px solid var(--line);
}

.comments-title,
.comment-reply-title {
	font-size: 24px;
}

.comment-list {
	display: grid;
	gap: 18px;
	padding: 0;
	list-style: none;
}

.comment-body {
	padding: 22px;
	background: var(--snow);
	border-radius: 16px;
}

.comment-form input:not([type="submit"]),
.comment-form textarea {
	width: 100%;
	padding: 12px 14px;
	background: #fff;
	border: 1px solid var(--line);
	border-radius: 10px;
}

.comment-form input[type="submit"] {
	padding: 13px 24px;
	background: var(--blue-800);
	color: #fff;
	border: 0;
	border-radius: 999px;
	font-weight: 800;
	cursor: pointer;
}

.empty-state {
	padding: 90px 30px;
	background: var(--snow);
	border: 1px solid var(--line);
	border-radius: var(--radius-lg);
	text-align: center;
}

.empty-state h2 {
	font-size: clamp(28px, 4vw, 42px);
}

.empty-state p:not(.section-kicker) {
	margin-bottom: 28px;
	color: var(--ink-soft);
}

.error-page {
	display: grid;
	place-items: center;
	min-height: 680px;
	background: linear-gradient(140deg, var(--blue-100), #fff 58%, var(--purple-100));
	text-align: center;
}

.error-page__inner {
	max-width: 820px;
	padding-block: 100px;
}

.error-code {
	margin-bottom: 4px;
	color: var(--blue-800);
	font-size: clamp(90px, 17vw, 190px);
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 0.8;
	opacity: 0.11;
}

.error-page h1 {
	font-size: clamp(28px, 4vw, 46px);
}

.error-page__inner > p:not(.error-code, .section-kicker) {
	margin-bottom: 30px;
	color: var(--ink-soft);
}

/* Footer */
.site-footer {
	padding: 80px max(32px, 6vw) 30px;
	background: #0c2b54;
	color: #fff;
}

.site-footer__inner {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 60px;
	width: min(100%, var(--content-width));
	margin: 0 auto 64px;
}

.footer-brand {
	max-width: 450px;
}

.footer-brand img {
	width: min(330px, 80vw);
	margin-bottom: 18px;
	filter: drop-shadow(0 10px 24px rgba(0, 0, 0, 0.14));
}

.footer-brand p {
	margin: 0;
	color: rgba(255, 255, 255, 0.62);
	font-size: 12px;
}

.footer-social .section-kicker {
	color: #9de4bd;
}

.social-links {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
	gap: 10px;
}

.social-links a {
	display: grid;
	place-items: center;
	width: 48px;
	height: 48px;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 50%;
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.05em;
	transition: background 180ms ease, transform 180ms ease;
}

.social-links a:hover,
.social-links a:focus-visible {
	background: var(--green-500);
	transform: translateY(-2px);
}

.social-placeholder {
	max-width: 250px;
	color: rgba(255, 255, 255, 0.48);
	font-size: 11px;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 30px;
	width: min(100%, var(--content-width));
	padding-top: 26px;
	margin: 0 auto;
	border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.site-footer__bottom ul {
	display: flex;
	flex-wrap: wrap;
	gap: 18px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.site-footer__bottom a,
.site-footer__bottom p {
	margin: 0;
	color: rgba(255, 255, 255, 0.52);
	font-size: 10px;
}

/* Reveal effect */
.reveal {
	opacity: 0;
	transform: translateY(24px);
	transition: opacity 700ms ease, transform 700ms ease;
}

.reveal.is-visible {
	opacity: 1;
	transform: translateY(0);
}

/* WordPress helpers */
.alignleft {
	float: left;
	margin: 0 2em 1.5em 0;
}

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

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

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

.wp-caption-text {
	color: var(--ink-soft);
	font-size: 12px;
}

/* Responsive */
@media (max-width: 980px) {
	:root {
		--header-height: 88px;
		--rail-width: 64px;
	}

	.site-header {
		padding-right: 18px;
		padding-left: calc(var(--rail-width) + 18px);
	}

	.site-brand {
		width: min(215px, 38vw);
	}

	.member-link {
		min-width: auto;
		padding: 10px 14px;
	}

	.hero-stage {
		height: 630px;
	}

	.hero-slide {
		padding-right: 7vw;
		padding-left: calc(var(--rail-width) + 7vw);
	}

	.hero-slide__content {
		width: min(680px, 82vw);
	}

	.hero-controls {
		padding-right: 6vw;
		padding-left: calc(var(--rail-width) + 6vw);
	}

	.message-section {
		gap: 50px;
		padding-block: 100px;
	}

	.about-banner a {
		grid-template-columns: 1fr auto;
	}

	.about-banner__eyebrow,
	.about-banner__title {
		grid-column: 1;
	}

	.about-banner__description {
		grid-column: 1;
		grid-row: 3;
		max-width: 560px;
		margin-top: 8px;
	}

	.about-banner__arrow {
		grid-column: 2;
		grid-row: 1 / 4;
	}

	.post-grid {
		gap: 18px;
	}

	.post-card__body {
		padding: 20px;
	}
}

@media (max-width: 760px) {
	:root {
		--header-height: 76px;
		--rail-width: 58px;
		--radius-lg: 26px;
		--radius-md: 18px;
	}

	body {
		font-size: 15px;
	}

	.section-shell {
		width: min(calc(100% - 36px), var(--content-width));
	}

	.site-header {
		padding-right: 12px;
		padding-left: calc(var(--rail-width) + 12px);
	}

	.site-brand {
		width: min(182px, 48vw);
	}

	.site-brand img {
		height: 60px;
	}

	.member-link {
		grid-template-columns: auto;
		padding: 9px 12px;
	}

	.member-link__icon,
	.member-link small {
		display: none;
	}

	.member-link > span:not(.member-link__icon) {
		font-size: 11px;
	}

	.site-menu-shell {
		position: fixed;
		height: var(--header-height);
	}

	.menu-rail {
		height: var(--header-height);
	}

	.site-menu-shell.is-open .site-drawer {
		transform: translateX(0);
	}

	.site-drawer {
		position: fixed;
		width: min(380px, 92vw);
		min-height: 100dvh;
		padding: 18px 24px 32px;
		overflow-y: auto;
	}

	.site-drawer__head {
		margin-bottom: 24px;
	}

	.drawer-close {
		display: grid;
		place-items: center;
	}

	.hero-stage {
		height: 650px;
		min-height: 650px;
	}

	.hero-slide {
		align-items: flex-end;
		padding: 48px 24px 58px;
	}

	.hero-slide--post {
		background-position: center;
	}

	.hero-slide--post::after {
		content: "";
		position: absolute;
		inset: 0;
		background: linear-gradient(0deg, rgba(7, 31, 61, 0.82) 0%, rgba(7, 31, 61, 0.3) 65%, rgba(7, 31, 61, 0.12) 100%);
	}

	.hero-slide__content {
		z-index: 3;
		width: 100%;
	}

	.hero-slide h1 {
		font-size: clamp(34px, 10vw, 50px);
	}

	.hero-slide__content > p:not(.hero-slide__kicker) {
		font-size: 14px;
	}

	.hero-slide__art::before {
		top: 8%;
		right: -12%;
		width: 80vw;
	}

	.track {
		left: 12%;
		width: 120%;
	}

	.hero-controls {
		min-height: 52px;
		padding: 0 18px;
	}

	.hero-meters {
		grid-template-columns: repeat(4, minmax(24px, 1fr));
	}

	.message-section {
		grid-template-columns: 1fr;
		gap: 52px;
		padding-block: 82px;
	}

	.logo-square {
		width: min(100%, 520px);
		margin-inline: auto;
	}

	.message-copy h2 {
		font-size: clamp(30px, 8vw, 42px);
	}

	.about-banner {
		margin-bottom: 88px;
	}

	.about-banner a {
		grid-template-columns: 1fr;
		padding: 36px 28px;
	}

	.about-banner__eyebrow,
	.about-banner__title,
	.about-banner__description,
	.about-banner__arrow {
		grid-column: 1;
		grid-row: auto;
	}

	.about-banner__arrow {
		width: 50px;
		height: 50px;
		margin-top: 15px;
	}

	.news-section {
		padding-bottom: 96px;
	}

	.section-heading {
		align-items: flex-start;
		flex-direction: column;
		margin-bottom: 30px;
	}

	.post-grid {
		grid-template-columns: 1fr;
		gap: 24px;
	}

	.post-card {
		display: grid;
		grid-template-columns: 42% 58%;
	}

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

	.post-card__body {
		padding: 18px;
	}

	.post-card h3 {
		font-size: 16px;
		line-height: 1.55;
	}

	.post-card__body > p:not(.post-card__meta) {
		display: none;
	}

	.page-hero {
		min-height: 240px;
	}

	.page-content,
	.archive-content {
		padding-block: 64px 90px;
	}

	.single-header {
		padding-top: 64px;
		padding-bottom: 38px;
	}

	.single-featured {
		width: calc(100% - 36px);
	}

	.single-content {
		padding-top: 0;
		padding-bottom: 90px;
	}

	.site-footer {
		padding: 64px 24px 28px;
	}

	.site-footer__inner,
	.site-footer__bottom {
		align-items: flex-start;
		flex-direction: column;
	}

	.site-footer__inner {
		margin-bottom: 46px;
	}
}

@media (max-width: 500px) {
	.hero-slide {
		padding-bottom: 42px;
	}

	.hero-slide .button {
		min-height: 50px;
	}

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

	.post-card__image {
		aspect-ratio: 3 / 2;
	}

	.post-card__body > p:not(.post-card__meta) {
		display: block;
	}

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

	.post-navigation-links > div:last-child {
		text-align: left;
	}
}

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

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

	.reveal {
		opacity: 1;
		transform: none;
	}
}
