:root {
	--ink: #010101;
	--muted: #6a7079;
	--line: #dde1e7;
	--paper: #ffffff;
	--soft: #f3f5f8;
	--night: #151a1f;
	--navy: #002955;
	--navy-hover: #1438a6;
	--menu-hover: #6a9dd4;
	--aqua: #009aad;
	--lime: #b8e13a;
	--sun: #f5b640;
	--red: #e94d3c;
	--radius: 8px;
	--shadow: 0 14px 40px rgba(16, 17, 20, 0.12);
}

* {
	box-sizing: border-box;
}

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--soft);
	background-attachment: fixed;
	background-position: center top;
	background-size: cover;
	color: var(--ink);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	font-size: 16px;
	line-height: 1.65;
}

a {
	color: var(--ink);
	text-decoration: none;
	-webkit-tap-highlight-color: rgba(0, 0, 0, 0.25);
}

a:hover {
	color: var(--navy);
}

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

.container {
	margin: 0 auto;
	max-width: 1200px;
	padding: 0 24px;
	width: 100%;
}

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

.skip-link:focus {
	background: var(--paper);
	clip: auto;
	height: auto;
	left: 16px;
	padding: 10px 14px;
	top: 16px;
	width: auto;
	z-index: 999;
}

.site-header {
	background: var(--paper);
	border-bottom: 1px solid var(--line);
	position: sticky;
	top: 0;
	z-index: 50;
}

.top-bar {
	background: var(--navy);
	color: #d9edf0;
	font-size: 13px;
}

.top-bar-inner,
.masthead,
.primary-nav-inner,
.footer-grid {
	align-items: center;
	display: flex;
	justify-content: space-between;
	gap: 24px;
}

.top-bar-inner {
	gap: 18px;
}

.utility-nav,
.menu,
.footer-menu {
	align-items: center;
	display: flex;
	gap: 18px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.top-bar a {
	color: #ffffff;
}

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

.social-link {
	align-items: center;
	background: #17456f;
	border-radius: 50%;
	display: inline-flex;
	height: 28px;
	justify-content: center;
	line-height: 1;
	width: 28px;
}

.social-link svg {
	display: block;
	fill: currentColor;
	height: 14px;
	width: 14px;
}

.social-link:hover {
	background: var(--aqua);
	color: #ffffff;
}

.masthead {
	min-height: 104px;
}

.logo-align-center .masthead {
	justify-content: center;
	position: relative;
	text-align: center;
}

.logo-align-center .masthead .brand {
	align-items: center;
	display: flex;
	flex-direction: column;
}

.logo-align-center .masthead .nav-toggle {
	position: absolute;
	right: 24px;
}

.brand {
	min-width: 0;
}

.site-title,
.footer-brand {
	color: var(--ink);
	display: inline-block;
	font-size: 34px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1;
	text-transform: uppercase;
}

.site-title::after,
.footer-brand::after {
	background: linear-gradient(90deg, var(--aqua), var(--lime), var(--sun), var(--red));
	content: "";
	display: block;
	height: 5px;
	margin-top: 8px;
	width: 100%;
}

.site-tagline {
	color: var(--muted);
	font-size: 14px;
	margin: 10px 0 0;
}

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

.primary-nav {
	background: #ffffff;
	border-top: 1px solid var(--navy);
	border-bottom: 1px solid var(--navy);
	position: relative;
}

.primary-nav-inner {
	min-height: 56px;
}

.menu a {
	color: var(--navy);
	display: block;
	font-size: 14px;
	font-weight: 800;
	padding: 18px 0;
	text-transform: uppercase;
}

.menu > li > a:hover,
.menu > li > a:focus {
	background: var(--menu-hover);
	color: var(--navy);
	outline: 0;
}

.menu > li {
	position: relative;
}

.menu > .menu-item-has-children > a::after,
.menu > li:has(.sub-menu) > a::after {
	border-left: 4px solid transparent;
	border-right: 4px solid transparent;
	border-top: 5px solid currentColor;
	content: "";
	display: inline-block;
	margin-left: 8px;
	vertical-align: 2px;
}

.menu .sub-menu {
	background: var(--paper);
	border: 1px solid var(--navy);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	display: none;
	gap: 2px;
	grid-template-columns: repeat(2, minmax(170px, 1fr));
	left: 50%;
	list-style: none;
	margin: 0;
	padding: 16px;
	pointer-events: none;
	position: absolute;
	top: calc(100% - 1px);
	transform: translateX(-50%) translateY(10px);
	transition: opacity 160ms ease, transform 160ms ease;
	width: min(460px, calc(100vw - 32px));
	z-index: 80;
}

.menu > li:first-child .sub-menu {
	left: 0;
	transform: translateX(0) translateY(10px);
}

.menu > li:last-child .sub-menu {
	left: auto;
	right: 0;
	transform: translateX(0) translateY(10px);
}

.menu > li:hover > .sub-menu,
.menu > li:focus-within > .sub-menu {
	display: grid;
	pointer-events: auto;
	transform: translateX(-50%) translateY(0);
}

.menu > li:first-child:hover > .sub-menu,
.menu > li:first-child:focus-within > .sub-menu,
.menu > li:last-child:hover > .sub-menu,
.menu > li:last-child:focus-within > .sub-menu {
	transform: translateX(0) translateY(0);
}

.menu .sub-menu a {
	border-radius: 4px;
	font-size: 13px;
	padding: 10px 12px;
	position: relative;
	text-transform: uppercase;
}

.menu .sub-menu a::before {
	border: 1px solid var(--muted);
	border-radius: 50%;
	content: "";
	display: inline-block;
	height: 5px;
	margin-right: 10px;
	vertical-align: 2px;
	width: 5px;
}

.menu .sub-menu a:hover,
.menu .sub-menu a:focus {
	background: var(--menu-hover);
	color: var(--navy);
	outline: 0;
}

.menu .sub-menu .sub-menu {
	box-shadow: none;
	display: block;
	left: auto;
	margin: 6px 0 0 18px;
	opacity: 1;
	padding: 0;
	position: static;
	transform: none;
	visibility: visible;
	width: auto;
}

.header-search input,
.search-field {
	background: var(--soft);
	border: 1px solid transparent;
	border-radius: var(--radius);
	color: var(--ink);
	min-height: 38px;
	padding: 0 12px;
	width: 190px;
}

.header-search input:focus,
.search-field:focus {
	border-color: var(--aqua);
	outline: 0;
}

.icon-button {
	background: var(--ink);
	border: 0;
	border-radius: var(--radius);
	cursor: pointer;
	display: none;
	height: 42px;
	place-items: center;
	width: 46px;
}

.nav-toggle span:not(.screen-reader-text) {
	background: #ffffff;
	display: block;
	height: 2px;
	margin: 4px 0;
	width: 20px;
}

.home-hero {
	background: transparent;
	padding: 28px 0;
}

.hero-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: 2fr 1fr 1fr;
}

.hero-card {
	background: var(--night);
	border: 1px solid rgba(255, 255, 255, 0.58);
	border-radius: var(--radius);
	box-shadow: var(--shadow);
	min-height: 250px;
	overflow: hidden;
	position: relative;
}

.hero-card-main {
	grid-row: span 2;
	min-height: 516px;
}

.hero-media,
.card-media,
.list-media,
.single-hero-media {
	background: #2d3338;
	display: block;
	height: 100%;
}

.hero-media::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.72));
	content: "";
	inset: 0;
	position: absolute;
}

.post-image {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.placeholder-image {
	align-items: center;
	aspect-ratio: 16 / 10;
	color: #ffffff;
	display: flex;
	font-weight: 900;
	justify-content: center;
	text-transform: uppercase;
}

.hero-content {
	bottom: 0;
	color: #ffffff;
	left: 0;
	padding: 24px;
	position: absolute;
	right: 0;
	z-index: 2;
}

.category-badge {
	background: var(--lime);
	border-radius: 4px;
	color: var(--ink);
	display: inline-block;
	font-size: 12px;
	font-weight: 900;
	letter-spacing: 0;
	line-height: 1;
	margin-bottom: 12px;
	padding: 8px 9px;
	text-transform: uppercase;
}

.hero-title-main,
.hero-title,
.card-title,
.post-list-item h2,
.section-heading h2,
.archive-header h1,
.single-title-block h1,
.page-header h1 {
	color: var(--navy);
	font-family: Inter, -apple-system, BlinkMacSystemFont, "Segoe UI", Arial, sans-serif;
	letter-spacing: 0;
	line-height: 1.08;
	margin: 0;
}

.hero-content .hero-title-main,
.hero-content .hero-title {
	color: #ffffff;
	text-shadow: 0 3px 16px rgba(0, 0, 0, 0.68), 0 1px 3px rgba(0, 0, 0, 0.9);
}

.hero-content .hero-title-main a,
.hero-content .hero-title a {
	color: #ffffff;
}

.hero-content .hero-title-main a:hover,
.hero-content .hero-title a:hover {
	color: var(--aqua);
}

.single-hero .single-title-block h1 {
	color: #ffffff;
}

.hero-title-main {
	font-size: clamp(32px, 4vw, 58px);
	max-width: 760px;
}

.hero-title {
	font-size: 21px;
}

.post-meta {
	align-items: center;
	color: currentColor;
	display: flex;
	flex-wrap: wrap;
	font-size: 13px;
	gap: 8px 14px;
	margin-top: 12px;
	opacity: 0.82;
}

.section-grid,
.archive-layout,
.single-layout {
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) 330px;
	padding-top: 36px;
}

.section-heading,
.archive-header,
.page-header {
	margin-bottom: 22px;
}

.section-heading p,
.archive-header p,
.error-page p {
	color: var(--red);
	font-size: 13px;
	font-weight: 900;
	margin: 0 0 4px;
	text-transform: uppercase;
}

.section-heading h2,
.archive-header h1,
.page-header h1 {
	font-size: clamp(28px, 4vw, 46px);
}

.compact h2 {
	font-size: 28px;
}

.main-feed > .section-heading h2 {
	color: #ffffff;
	text-shadow: 0 3px 18px rgba(0, 0, 0, 0.55);
}

.post-list-item {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: grid !important;
	grid-template-columns: minmax(280px, 420px) minmax(0, 1fr) !important;
	margin-bottom: 16px;
	min-height: 220px;
	overflow: hidden;
	width: 100%;
}

.list-media {
	display: block;
	grid-column: 1;
	height: 100%;
	min-height: 220px;
	overflow: hidden;
	width: 100% !important;
	z-index: 0;
}

.list-body {
	background: var(--paper);
	grid-column: 2;
	min-width: 0;
	padding: 24px;
	position: relative;
	z-index: 1;
}

.post-list-item .list-media .post-image,
.post-list-item .list-media img {
	height: 100% !important;
	max-width: none !important;
	object-fit: cover;
	width: 100% !important;
}

.list-body h2 {
	font-size: clamp(22px, 2vw, 34px);
	overflow-wrap: anywhere;
}

.list-body h2 a,
.card-title a,
.post-list-item h2 a,
.post-card .card-title a {
	color: var(--navy);
}

.list-body h2 a:hover,
.card-title a:hover,
.post-list-item h2 a:hover,
.post-card .card-title a:hover {
	color: var(--aqua);
}

.list-body p,
.card-body p {
	color: var(--muted);
	margin: 10px 0 0;
}

.sidebar {
	display: flex;
	flex-direction: column;
	gap: 18px;
}

.widget,
.side-panel,
.home-widget {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	padding: 20px;
}

.side-panel-accent {
	background: var(--navy);
	color: #ffffff;
}

.widget-title,
.side-panel h2,
.home-widget-title {
	color: var(--navy);
	font-size: 18px;
	line-height: 1.15;
	margin: 0 0 16px;
	text-transform: uppercase;
}

.side-panel-accent h2,
.side-panel-accent a {
	color: #ffffff;
}

.terrain-list {
	display: flex;
	flex-direction: column;
	gap: 10px;
}

.terrain-list a {
	background: #17456f;
	border-radius: 4px;
	display: block;
	font-weight: 800;
	padding: 12px 14px;
	text-align: left;
	width: 100%;
}

.terrain-list a:hover {
	background: var(--aqua);
	color: #ffffff;
}

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

.sidebar .widget ul,
.sidebar .widget .wp-block-categories-list,
.sidebar .widget .wp-block-page-list,
.sidebar .widget .menu {
	align-items: stretch;
	display: flex;
	flex-direction: column;
	gap: 10px;
	list-style: none;
	margin: 0;
	padding: 0;
}

.sidebar .widget li {
	display: block;
	margin: 0;
	width: 100%;
}

.sidebar .widget li a {
	color: var(--navy);
	display: block;
	font-weight: 900;
	overflow-wrap: anywhere;
	padding: 6px 0;
	text-transform: uppercase;
	width: 100%;
}

.sidebar .tagcloud a,
.sidebar .wp-block-tag-cloud a {
	border: 1px solid var(--navy);
	color: var(--navy);
	display: inline-block;
	font-size: inherit !important;
	font-weight: 700;
	margin: 0 4px 8px 0;
	padding: 5px 10px;
	text-transform: none;
	width: auto;
}

.sidebar .tagcloud a:hover,
.sidebar .wp-block-tag-cloud a:hover {
	background: var(--navy-hover);
	color: #ffffff;
}

.related-posts-widget {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.related-post-item {
	align-items: center;
	border-bottom: 1px solid var(--line);
	display: grid;
	gap: 12px;
	grid-template-columns: 92px minmax(0, 1fr);
	padding-bottom: 14px;
}

.related-post-item:last-child {
	border-bottom: 0;
	padding-bottom: 0;
}

.related-post-thumb {
	aspect-ratio: 4 / 3;
	background: var(--night);
	border-radius: 6px;
	display: block;
	overflow: hidden;
}

.related-post-thumb .post-image,
.related-post-thumb img {
	height: 100%;
	object-fit: cover;
	width: 100%;
}

.related-post-item h3 {
	color: var(--navy);
	font-size: 14px;
	line-height: 1.2;
	margin: 0;
	text-transform: uppercase;
}

.related-post-item h3 a {
	color: var(--navy);
}

.related-post-date {
	color: var(--muted);
	font-size: 12px;
	margin-top: 5px;
}

.simple-list li {
	border-bottom: 1px solid var(--line);
	padding: 10px 0;
}

.widget-strip {
	margin-top: 18px;
}

.home-sections {
	padding: 40px 0 60px;
}

.category-section {
	border-top: 4px solid var(--ink);
	margin-top: 34px;
	padding-top: 20px;
}

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

.post-card {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	overflow: hidden;
}

.card-media {
	aspect-ratio: 16 / 10;
	overflow: hidden;
}

.card-body {
	padding: 18px;
}

.card-title {
	font-size: 22px;
}

.archive-layout .card-grid {
	gap: 22px;
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.archive-layout .post-card {
	background: var(--paper);
	display: flex;
	flex-direction: column;
	min-width: 0;
}

.archive-layout .card-media {
	aspect-ratio: 1 / 1;
	display: block;
	flex: 0 0 auto;
	height: auto !important;
	width: 100%;
}

.archive-layout .card-media .post-image,
.archive-layout .card-media img {
	height: 100% !important;
	object-fit: cover;
	width: 100% !important;
}

.archive-layout .card-body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	gap: 10px;
	padding: 16px;
}

.archive-layout .card-title {
	font-size: 19px;
	line-height: 1.18;
}

.archive-layout .card-title a {
	color: var(--navy);
}

.archive-layout .card-title a:hover {
	color: var(--aqua);
}

.archive-layout .card-body p {
	color: var(--muted);
	display: block;
	font-size: 14px;
	line-height: 1.45;
	margin: 0;
}

.archive-layout .post-meta {
	display: none;
}

.category-carousel {
	display: flex;
	gap: 16px;
	grid-template-columns: none;
	overflow-x: auto;
	overflow-y: hidden;
	padding: 2px 0 16px;
	scroll-snap-type: x proximity;
	scrollbar-color: var(--ink) rgba(16, 17, 20, 0.16);
	scrollbar-width: thin;
}

.category-carousel::-webkit-scrollbar {
	height: 8px;
}

.category-carousel::-webkit-scrollbar-track {
	background: rgba(16, 17, 20, 0.16);
	border-radius: 999px;
}

.category-carousel::-webkit-scrollbar-thumb {
	background: var(--ink);
	border-radius: 999px;
}

.category-carousel .post-card {
	background: var(--night);
	border: 1px solid rgba(255, 255, 255, 0.5);
	box-shadow: none;
	flex: 0 0 clamp(180px, 18vw, 240px);
	position: relative;
	scroll-snap-align: start;
}

.category-carousel .post-card::after {
	background: linear-gradient(180deg, rgba(0, 0, 0, 0.05), rgba(0, 0, 0, 0.78));
	content: "";
	inset: 0;
	pointer-events: none;
	position: absolute;
	z-index: 1;
}

.category-carousel .card-media {
	aspect-ratio: 1 / 1;
	display: block;
}

.category-carousel .card-body {
	bottom: 0;
	color: #ffffff;
	left: 0;
	padding: 16px;
	position: absolute;
	right: 0;
	z-index: 2;
}

.category-carousel .category-badge {
	margin-bottom: 10px;
}

.category-carousel .card-title {
	color: #ffffff;
	font-size: 18px;
	line-height: 1.12;
	text-shadow: 0 1px 10px rgba(0, 0, 0, 0.4);
}

.category-carousel .card-title a {
	color: #ffffff;
}

.category-carousel .post-meta,
.category-carousel .card-body p {
	display: none;
}

.pagination,
.nav-links {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
}

.page-numbers,
.nav-links a,
.nav-links span {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: 4px;
	display: inline-block;
	font-weight: 800;
	padding: 8px 12px;
}

.single-hero {
	background: var(--navy);
	color: #ffffff;
	padding: 38px 0;
}

.single-hero .post-meta a {
	color: var(--aqua);
}

.single-hero .post-meta a:hover {
	color: #ffffff;
}

.single-hero-grid {
	align-items: center;
	display: grid;
	gap: 34px;
	grid-template-columns: minmax(0, 1fr) 44%;
}

.single-title-block h1 {
	font-size: clamp(36px, 5vw, 64px);
}

.single-hero-media {
	aspect-ratio: 16 / 10;
	border-radius: var(--radius);
	overflow: hidden;
}

.entry-content {
	background: var(--paper);
	border-radius: var(--radius);
	overflow: hidden;
	padding: 34px;
}

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

.entry-content h2,
.entry-content h3 {
	color: var(--navy);
	line-height: 1.2;
	margin-top: 1.6em;
}

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

.entry-content img,
.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-caption {
	height: auto;
	max-width: 100% !important;
}

.entry-content img {
	display: block;
	object-fit: contain;
	width: auto;
}

.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-caption {
	margin-left: 0 !important;
	margin-right: 0 !important;
	width: 100% !important;
}

.entry-content figure img,
.entry-content .wp-block-image img,
.entry-content .wp-caption img,
.entry-content p > img {
	height: auto !important;
	max-width: 100% !important;
	width: 100% !important;
}

.entry-content .alignwide,
.entry-content .alignfull {
	margin-left: 0 !important;
	margin-right: 0 !important;
	max-width: 100% !important;
	width: 100% !important;
}

.entry-content figcaption,
.entry-content .wp-caption-text {
	color: var(--muted);
	font-size: 13px;
	margin-top: 8px;
	text-align: left;
}

.entry-content img.emoji,
.entry-content img.wp-smiley,
.entry-content .emoji {
	display: inline-block !important;
	height: 1.15em !important;
	margin: 0 0.05em !important;
	max-height: 1.15em !important;
	max-width: 1.15em !important;
	object-fit: contain !important;
	vertical-align: -0.15em !important;
	width: 1.15em !important;
}

.entry-content p a,
.entry-content li a {
	color: var(--aqua);
	font-weight: 500;
	text-decoration: underline;
}

.entry-content p a:hover,
.entry-content li a:hover {
	color: var(--navy);
}

.entry-content blockquote {
	border-left: 5px solid var(--aqua);
	color: var(--ink);
	font-size: 22px;
	font-weight: 700;
	margin: 28px 0;
	padding-left: 22px;
}

.rsm-lightbox-active {
	overflow: hidden;
}

.rsm-lightbox {
	align-items: center;
	background: rgba(0, 15, 31, 0.88);
	display: none;
	inset: 0;
	justify-content: center;
	padding: 28px;
	position: fixed;
	z-index: 9999;
}

.rsm-lightbox.is-open {
	display: flex;
}

.rsm-lightbox img {
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: var(--radius);
	box-shadow: 0 24px 80px rgba(0, 0, 0, 0.45);
	display: block;
	max-height: calc(100vh - 80px);
	max-width: min(1180px, calc(100vw - 56px));
	object-fit: contain;
	width: auto;
}

.rsm-lightbox-close {
	align-items: center;
	background: var(--aqua);
	border: 0;
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	font-size: 32px;
	font-weight: 800;
	height: 44px;
	justify-content: center;
	line-height: 1;
	position: fixed;
	right: 24px;
	top: 24px;
	width: 44px;
	z-index: 10000;
}

.rsm-lightbox-close:hover {
	background: #ffffff;
	color: var(--navy);
}

.rsm-lightbox-nav {
	align-items: center;
	background: rgba(0, 41, 85, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.55);
	border-radius: 50%;
	color: #ffffff;
	cursor: pointer;
	display: flex;
	font-size: 48px;
	font-weight: 700;
	height: 58px;
	justify-content: center;
	line-height: 1;
	position: fixed;
	top: 50%;
	transform: translateY(-50%);
	width: 58px;
	z-index: 10000;
}

.rsm-lightbox-nav:hover {
	background: var(--aqua);
}

.rsm-lightbox-prev {
	left: 24px;
}

.rsm-lightbox-next {
	right: 24px;
}

.rsm-lightbox-count {
	background: rgba(0, 41, 85, 0.88);
	border-radius: 999px;
	bottom: 22px;
	color: #ffffff;
	font-size: 13px;
	font-weight: 800;
	left: 50%;
	padding: 7px 12px;
	position: fixed;
	transform: translateX(-50%);
	z-index: 10000;
}

.tag-list {
	border-top: 1px solid var(--line);
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 28px;
	padding-top: 20px;
}

.tag-list a {
	background: var(--soft);
	border-radius: 4px;
	font-size: 13px;
	font-weight: 800;
	padding: 8px 10px;
}

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

.post-navigation a {
	background: var(--paper);
	border: 1px solid var(--line);
	border-radius: var(--radius);
	display: block;
	font-size: 13px;
	font-weight: 900;
	padding: 16px;
	text-transform: uppercase;
}

.post-navigation span {
	display: block;
	font-size: 18px;
	font-weight: 800;
	line-height: 1.2;
	margin-top: 6px;
	text-transform: none;
}

.narrow-page,
.error-page {
	padding-bottom: 60px;
	padding-top: 44px;
}

.narrow-page {
	max-width: 860px;
}

.error-page h1 {
	font-size: clamp(34px, 5vw, 64px);
	line-height: 1.05;
	margin: 0 0 22px;
}

.search-form {
	display: flex;
	gap: 8px;
	max-width: 460px;
}

.search-form label {
	flex: 1;
}

.search-form .search-field {
	width: 100%;
}

.search-form button {
	background: var(--ink);
	border: 0;
	border-radius: var(--radius);
	color: #ffffff;
	cursor: pointer;
	font-weight: 900;
	padding: 0 18px;
}

.comments-area {
	background: var(--paper);
	border-radius: var(--radius);
	margin-top: 20px;
	padding: 28px;
}

.site-footer {
	background: var(--aqua);
	color: #ffffff;
	margin-top: 50px;
	padding: 58px 0;
}

.site-footer a {
	color: var(--navy);
}

.footer-brand {
	color: var(--navy);
	font-size: 30px;
	font-weight: 900;
	line-height: 1.05;
	text-transform: none;
}

.footer-brand::after {
	display: none;
}

.footer-grid {
	align-items: flex-start;
	display: grid;
	gap: 70px;
	grid-template-columns: minmax(0, 1.1fr) minmax(320px, 0.9fr);
	max-width: 1120px;
}

.footer-about p {
	font-size: 15px;
	line-height: 1.75;
	margin: 14px 0 0;
	max-width: 620px;
}

.footer-copyright {
	font-weight: 500;
}

.footer-links {
	display: flex;
	flex-direction: column;
	gap: 18px;
	padding-top: 24px;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 18px 28px;
	justify-content: flex-end;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu a {
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
}

.footer-menu a:hover {
	color: #ffffff;
}

.footer-meta {
	color: rgba(255, 255, 255, 0.8);
}

@media (max-width: 980px) {
	.hero-grid {
		grid-template-columns: 1fr 1fr;
	}

	.hero-card-main {
		grid-column: 1 / -1;
		min-height: 430px;
	}

	.section-grid,
	.archive-layout,
	.single-layout,
	.single-hero-grid {
		grid-template-columns: 1fr;
	}

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

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

	.sidebar {
		order: 2;
	}

	.footer-grid {
		gap: 32px;
		grid-template-columns: 1fr;
	}

	.footer-menu {
		justify-content: flex-start;
	}
}

@media (max-width: 760px) {
	.container {
		padding: 0 16px;
	}

	.top-bar-inner,
	.masthead,
	.primary-nav-inner {
		align-items: flex-start;
		flex-direction: column;
		gap: 12px;
	}

	.top-bar {
		display: none;
	}

	.masthead {
		align-items: center;
		flex-direction: row;
		min-height: 82px;
	}

	.logo-align-center .masthead {
		justify-content: space-between;
		text-align: left;
	}

	.logo-align-center .masthead .brand {
		align-items: flex-start;
	}

	.logo-align-center .masthead .nav-toggle {
		position: static;
	}

	.custom-logo {
		max-height: 68px;
	}

	.site-title {
		font-size: 26px;
	}

	.site-tagline {
		display: none;
	}

	.icon-button {
		display: grid;
	}

	.primary-nav {
		display: none;
	}

	.primary-nav.is-open {
		display: block;
	}

	.primary-nav-inner {
		padding-bottom: 14px;
	}

	.menu,
	.utility-nav {
		align-items: stretch;
		flex-direction: column;
		gap: 0;
		width: 100%;
	}

	.footer-menu {
		align-items: flex-start;
		flex-direction: column;
		gap: 10px;
		justify-content: flex-start;
	}

	.site-footer {
		padding: 42px 0;
	}

	.menu a {
		border-bottom: 1px solid var(--line);
		padding: 12px 0;
	}

	.menu > .menu-item-has-children > a::after,
	.menu > li:has(.sub-menu) > a::after {
		float: right;
		margin-top: 8px;
	}

	.menu .sub-menu {
		background: transparent;
		border: 0;
		box-shadow: none;
		display: none;
		left: auto;
		padding: 0 0 0 16px;
		pointer-events: auto;
		position: static;
		transform: none;
		width: 100%;
	}

	.menu .is-submenu-open > .sub-menu {
		display: block;
	}

	.menu .sub-menu a {
		font-size: 12px;
		padding: 10px 0;
	}

	.header-search,
	.header-search input {
		width: 100%;
	}

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

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

	.category-carousel {
		display: flex;
	}

	.category-carousel .post-card {
		flex-basis: 170px;
	}

	.hero-card,
	.hero-card-main {
		min-height: 300px;
	}

	.hero-content {
		padding: 18px;
	}

	.hero-title-main {
		font-size: 31px;
	}

	.post-list-item {
		display: block !important;
		min-height: 0;
	}

	.list-body {
		padding: 18px;
	}

	.list-media {
		aspect-ratio: 16 / 10;
		display: block;
		min-height: 0;
		width: 100%;
	}

	.entry-content {
		padding: 24px 18px;
	}
}
