/*
Theme Name: APEX Blog Original
Theme URI: https://apexmarketing.jp/blog/
Author: APEX MARKETING
Author URI: https://apexmarketing.jp/
Description: APEX MARKETINGのブログ専用のオリジナルテーマです。
Version: 1.1.0
Requires at least: 6.4
Requires PHP: 7.4
Text Domain: apex-blog-original
*/

:root {
	--main-color: #0d1261;
	--blue: #4B96FF;
	--grad-a: #22d3ee;
	--grad-b: #a855f7;
	--pink01: #FFA2B6;
	--pink02: #FF708C;
	--apex-bg: #eff3ff;
	--apex-bg-soft: #f5f7ff;
	--apex-white: #fff;
	--apex-ink: #151821;
	--gray: #d6d6d6;
	--apex-line: #d8dff5;
	--black: #222;
	--apex-gradient: linear-gradient(110deg, var(--grad-a), #4b96ff 47%, var(--grad-b));
	--apex-gradient-soft: linear-gradient(120deg, #e5f8ff 0%, #f0eeff 50%, #fff1f7 100%);
	--apex-font-sans: "Noto Sans JP", "Yu Gothic", "YuGothic", "Hiragino Kaku Gothic ProN", sans-serif;
	--apex-font-display: "Orbitron", Arial, sans-serif;
	--apex-container: 1180px;
	--apex-shadow: 0 18px 50px rgba(16, 28, 114, 0.1);
  --width-wrap: min(1180px, 92%);
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--apex-bg);
	color: var(--apex-ink);
	font-family: var(--apex-font-sans);
	font-size: 16px;
	font-weight: 500;
	line-height: 1.8;
	-webkit-font-smoothing: antialiased;
}

body.menu-open {
	overflow: hidden;
}

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

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

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

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

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

.wp-caption-text,
.gallery-caption {
	color: var(--gray);
	font-size: 12px;
	text-align: center;
}

.bypostauthor {
	position: relative;
}

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

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

button,
select {
	cursor: pointer;
}

h1,
h2,
h3,
h4,
p,
figure,
ul,
ol {
	margin: 0;
  padding: 0;
}

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

.container--article {
	width: min(900px, calc(100% - 48px));
}

.section-space {
	padding-block: clamp(72px, 8vw, 116px);
}

.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 {
	top: 12px;
	left: 12px;
	z-index: 10000;
	width: auto;
	height: auto;
	padding: 12px 18px;
	clip: auto;
	background: #fff;
	color: var(--main-color);
	font-weight: 700;
}

:focus-visible {
	outline: 3px solid var(--pink02);
	outline-offset: 4px;
}

/* Header */
.site-header {
	position: fixed;
	z-index: 1000;
	width: 100%;
	padding: 16px 0;
	pointer-events: none;
}

.admin-bar .site-header {
	top: 44px;
}

.site-header__inner {
	display: flex;
  align-items: center;
  justify-content: space-between;
  width: var(--width-wrap);
  min-height: 72px;
  margin: 0 auto;
  padding: 0 18px 0 26px;
  border-radius: 999px;
  background: hsla(0, 0%, 100%, .86);
  box-shadow: 0 18px 46px rgba(16, 28, 114, .08);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  pointer-events: auto;
}

.site-logo {
	display: inline-flex;
	align-items: center;
	flex: 0 0 auto;
}

.site-logo--header img {
	width: auto;
	height: 44px;
	object-fit: contain;
}

.site-header__actions {
	display: flex;
	align-items: center;
	gap: 16px;
}

.header-contact {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 46px;
  padding: 0 18px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 999px;
  white-space: nowrap;
  transition: transform .25s ease, box-shadow .25s ease;
  color: var(--blue);
  background: none;
  border: 1px solid var(--blue);
}

.header-contact svg {
	width: 15px;
	height: 15px;
}

.header-contact:hover {
	transform: translateY(-2px);
	box-shadow: 0 10px 22px rgba(99, 72, 180, 0.3);
}

.menu-toggle {
	display: grid;
	place-content: center;
	gap: 4px;
	width: 42px;
	height: 42px;
	padding: 0;
	border: 0;
	border-radius: 50%;
	background: transparent;
}

.menu-toggle span {
	display: block;
	width: 4px;
	height: 4px;
	border-radius: 50%;
	background: var(--main-color);
}

.site-drawer {
	position: fixed;
	inset: 0;
	z-index: 1010;
	visibility: hidden;
	opacity: 0;
	pointer-events: none;
	transition: visibility 0.35s, opacity 0.35s ease;
}

.site-drawer.is-open {
	visibility: visible;
	opacity: 1;
	pointer-events: auto;
}

.site-drawer__backdrop {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	padding: 0;
	border: 0;
	background: rgba(5, 9, 43, 0.5);
	backdrop-filter: blur(5px);
}

.site-drawer__panel {
	position: absolute;
	top: 0;
	right: 0;
	display: flex;
	flex-direction: column;
	width: min(520px, 92vw);
	height: 100%;
	padding: 38px clamp(28px, 6vw, 64px);
	overflow-y: auto;
	background: var(--apex-bg-soft);
	transform: translateX(100%);
	transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

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

.site-drawer__top {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-bottom: 24px;
	border-bottom: 1px solid var(--apex-line);
}

.site-drawer__top p {
	margin: 0;
	color: var(--main-color);
	font-family: var(--apex-font-display);
	font-size: 25px;
	font-weight: 700;
	letter-spacing: 0.08em;
}

.site-drawer__close {
	position: relative;
	width: 44px;
	height: 44px;
	padding: 0;
	border: 1px solid var(--apex-line);
	border-radius: 50%;
	background: #fff;
}

.site-drawer__close span {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 2px;
	background: var(--main-color);
}

.site-drawer__close span:first-child {
	transform: translate(-50%, -50%) rotate(45deg);
}

.site-drawer__close span:last-child {
	transform: translate(-50%, -50%) rotate(-45deg);
}

.site-drawer__nav {
	margin-top: 24px;
}

.drawer-menu,
.drawer-menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.drawer-menu > li {
	border-bottom: 1px solid var(--apex-line);
}

.drawer-menu a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 54px;
	color: var(--main-color);
	font-size: 15px;
	font-weight: 700;
}

.drawer-menu > li > a::after {
	content: "→";
	color: var(--pink02);
}

.drawer-menu .sub-menu {
	padding: 0 0 12px 18px;
}

.drawer-menu .sub-menu a {
	min-height: 38px;
	color: var(--gray);
	font-size: 13px;
}

.site-drawer__ctas {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 10px;
	margin-top: auto;
	padding-top: 36px;
}

.site-drawer__ctas a {
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 54px;
	padding: 12px 18px;
	border-radius: 8px;
	background: var(--main-color);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.site-drawer__ctas a:first-child {
	background: var(--pink02);
}

/* Hero and breadcrumbs */
.page-hero {
	position: relative;
	display: grid;
	align-items: center;
	min-height: 350px;
	overflow: hidden;
	border-radius: 0 0 36px 36px;
	background:
		radial-gradient(circle at 17% 70%, rgba(34, 211, 238, 0.14), transparent 27%),
		radial-gradient(circle at 82% 28%, rgba(255, 154, 180, 0.13), transparent 26%),
		linear-gradient(115deg, #e5f8ff 0%, #e9edff 48%, #f2e9ff 100%);
}

.page-hero::before,
.page-hero::after {
	position: absolute;
	content: "";
	border-radius: 50%;
	filter: blur(12px);
}

.page-hero::before {
	top: 10%;
	right: 16%;
	width: 180px;
	height: 180px;
	background: rgba(75, 150, 255, 0.09);
}

.page-hero::after {
	bottom: -70px;
	left: 28%;
	width: 230px;
	height: 230px;
	background: rgba(99, 72, 180, 0.07);
}

.page-hero--compact {
	min-height: 275px;
}

.page-hero__inner {
	position: relative;
	z-index: 1;
	padding-top: 86px;
}

.page-hero h1 {
	margin: 0;
	color: var(--main-color);
	font-family: var(--apex-font-display);
	font-size: clamp(42px, 5.2vw, 66px);
	font-weight: 700;
	letter-spacing: 0.1em;
	line-height: 1.15;
	text-shadow: 4px 4px 0 rgba(75, 150, 255, 0.08);
}

.page-hero p {
	margin: 10px 0 0;
	color: var(--main-color);
	font-size: 15px;
	font-weight: 700;
	letter-spacing: 0.12em;
}
.breadcrumb-band {
	background: #fff;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	min-height: 62px;
	color: #8b91a1;
	font-size: 11px;
}

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

.breadcrumbs li {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.breadcrumbs li:not(:last-child)::after {
	content: ">";
}

.breadcrumbs a:hover {
	color: var(--pink02);
}

/* Home featured area */
.home-featured {
	padding-bottom: 58px;
}

.home-featured__grid {
	display: grid;
	grid-template-columns: minmax(0, 2.15fr) minmax(290px, 0.9fr);
	gap: 34px;
	align-items: stretch;
}

.latest-story__card {
	position: relative;
	height: 100%;
	min-height: 450px;
	margin: 0;
	overflow: hidden;
	border: 8px solid var(--blue);
	border-radius: 32px;
	background: #fff;
	box-shadow: var(--apex-shadow);
}

.latest-story__link {
	display: block;
	height: 100%;
}

.latest-story__media {
	position: absolute;
	inset: 0;
	overflow: hidden;
}

.latest-story__image,
.latest-story__media > img,
.latest-story__media .post-media-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.7s cubic-bezier(0.22, 1, 0.36, 1);
}

.latest-story__link:hover .latest-story__image,
.latest-story__link:hover .post-media-fallback {
	transform: scale(1.035);
}

.corner-label {
	position: absolute;
	top: -1px;
	left: -1px;
	z-index: 2;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 178px;
	height: 54px;
	padding: 0 22px;
	border: 1px solid rgba(255, 255, 255, 0.82);
	border-radius: 22px 0 22px 0;
	background: rgba(75, 150, 255, 0.92);
	color: #fff;
	font-family: var(--apex-font-display);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.03em;
	backdrop-filter: blur(6px);
}

.latest-story__content {
	position: absolute;
	right: 18px;
	bottom: 18px;
	left: 18px;
	z-index: 1;
	padding: 20px 22px;
	border: 1px solid rgba(255, 255, 255, 0.8);
	border-radius: 20px;
	background: rgba(255, 255, 255, 0.88);
	box-shadow: 0 12px 32px rgba(16, 28, 114, 0.1);
	backdrop-filter: blur(9px);
}

.latest-story__content h2 {
	margin: 4px 0 2px;
	font-size: clamp(21px, 2.1vw, 29px);
	font-weight: 800;
	line-height: 1.45;
}

.latest-story__content time {
	display: inline-block;
	margin-bottom: 6px;
	color: var(--gray);
	font-family: var(--apex-font-display);
	font-size: 10px;
}

.latest-story__content p {
	display: -webkit-box;
	margin: 0 0 12px;
	overflow: hidden;
	color: #444;
	font-size: 12px;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.button,
.latest-story .button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-height: 48px;
	padding: 10px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--main-color);
	color: #fff;
	font-size: 12px;
	font-weight: 700;
}

.button--small,
.latest-story .button--small {
	min-height: 34px;
	padding: 7px 18px;
	font-size: 10px;
}

.latest-story__empty {
	display: grid;
	place-items: center;
	min-height: 450px;
	padding: 32px;
	border: 8px solid var(--blue);
	border-radius: 32px;
	background: var(--apex-gradient-soft);
	text-align: center;
}

.pickup-panel {
	display: flex;
	flex-direction: column;
	min-height: 450px;
	padding: 28px 24px 22px;
	border-radius: 30px;
	background: #fff;
	box-shadow: 0 15px 40px rgba(16, 28, 114, 0.06);
}

.pickup-panel__heading {
	padding-bottom: 14px;
	border-bottom: 1px solid #9aa0ad;
}

.pickup-panel__heading h2 {
	margin: 0;
	font-family: var(--apex-font-display);
	font-size: 25px;
	line-height: 1.2;
}

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

.pickup-list li {
	min-width: 0;
}

.pickup-list a {
	display: grid;
	grid-template-columns: 82px minmax(0, 1fr);
	gap: 12px;
	align-items: center;
}

.pickup-list__media {
	overflow: hidden;
	aspect-ratio: 1;
	border-radius: 12px;
	background: #d6d6d6;
}

.pickup-list__media > img,
.pickup-list__media .post-media-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.pickup-list__content {
	min-width: 0;
}

.pickup-list__content > span {
	display: block;
	margin-bottom: 3px;
	color: var(--main-color);
	font-family: var(--apex-font-display);
	font-size: 8px;
	font-weight: 700;
	text-transform: uppercase;
}

.pickup-list__content h3 {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.pickup-list__content time {
	color: #9aa0ad;
	font-family: var(--apex-font-display);
	font-size: 8px;
}

.pickup-panel__empty {
	margin: auto;
	color: var(--gray);
	font-size: 13px;
	text-align: center;
}

.pickup-panel__more {
	display: grid;
	place-items: center;
	min-height: 38px;
	margin-top: auto;
	border-radius: 8px;
	background: var(--main-color);
	color: #fff;
	font-size: 11px;
	font-weight: 700;
	transition: background 0.25s ease;
}

.pickup-panel__more:hover {
	background: var(--grad-b);
}

/* Placeholder media */
.post-media-fallback {
	position: relative;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	background:
		linear-gradient(135deg, rgba(255, 255, 255, 0.55), transparent 45%),
		linear-gradient(120deg, #ccefff, #d9dfff 48%, #f2d0ef);
	color: var(--main-color);
}

.post-media-fallback::before,
.post-media-fallback::after {
	position: absolute;
	content: "";
	border: 1px solid rgba(255, 255, 255, 0.7);
	border-radius: 50%;
}

.post-media-fallback::before {
	top: -18%;
	right: -8%;
	width: 62%;
	aspect-ratio: 1;
}

.post-media-fallback::after {
	bottom: -22%;
	left: -6%;
	width: 48%;
	aspect-ratio: 1;
}

.post-media-fallback__orb {
	position: absolute;
	top: 22%;
	left: 22%;
	width: 18px;
	height: 18px;
	border-radius: 4px;
	background: var(--pink01);
	box-shadow: 18px -14px 0 -5px var(--blue);
	transform: rotate(8deg);
}

.post-media-fallback__word {
	position: relative;
	z-index: 1;
	font-family: var(--apex-font-display);
	font-size: clamp(24px, 4vw, 52px);
	font-weight: 800;
	letter-spacing: 0.12em;
	line-height: 1.1;
}

.post-media-fallback__sub {
	position: relative;
	z-index: 1;
	font-family: var(--apex-font-display);
	font-size: clamp(7px, 0.9vw, 12px);
	letter-spacing: 0.35em;
}

/* Filter */
.filter-section {
	padding-block: 0 10px;
}

.filter-toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 70px;
	padding: 14px 28px;
	border: 0;
	border-radius: 8px;
	background: var(--pink01);
	color: #fff;
	font-size: 14px;
	font-weight: 700;
	text-align: left;
}

.filter-toggle > span:first-child {
	display: inline-flex;
	align-items: center;
	gap: 9px;
}

.filter-toggle i {
	font-family: sans-serif;
	font-size: 19px;
	font-style: normal;
}

.filter-toggle__plus {
	position: relative;
	flex: 0 0 38px;
	width: 38px;
	height: 38px;
}

.filter-toggle__plus::before,
.filter-toggle__plus::after {
	position: absolute;
	top: 50%;
	left: 50%;
	width: 34px;
	height: 2px;
	background: #fff;
	content: "";
	transform: translate(-50%, -50%);
	transition: transform 0.3s ease;
}

.filter-toggle__plus::after {
	transform: translate(-50%, -50%) rotate(90deg);
}

.filter-toggle[aria-expanded="true"] .filter-toggle__plus::after {
	transform: translate(-50%, -50%) rotate(0deg);
}

.filter-panel {
	padding: 28px;
	border: 1px solid rgba(255, 154, 180, 0.42);
	border-top: 0;
	border-radius: 0 0 16px 16px;
	background: rgba(255, 255, 255, 0.86);
}

.filter-form {
	display: grid;
	grid-template-columns: 1.25fr 0.8fr auto;
	gap: 16px;
	align-items: end;
}

.filter-form label > span {
	display: block;
	margin-bottom: 7px;
	color: var(--main-color);
	font-size: 12px;
	font-weight: 700;
}

.filter-form input,
.filter-form select {
	width: 100%;
	height: 48px;
	padding: 0 15px;
	border: 1px solid var(--apex-line);
	border-radius: 8px;
	background: #fff;
	color: var(--apex-ink);
	font-size: 14px;
}

.filter-form button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 18px;
	min-width: 180px;
	height: 48px;
	padding: 0 22px;
	border: 0;
	border-radius: 8px;
	background: var(--main-color);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.filter-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 20px;
}

.filter-categories a,
.archive-categories a {
	display: inline-flex;
	align-items: center;
	gap: 7px;
	min-height: 34px;
	padding: 5px 14px;
	border: 1px solid var(--apex-line);
	border-radius: 999px;
	background: #fff;
	color: var(--main-color);
	font-size: 11px;
	font-weight: 700;
	transition: border-color 0.2s ease, background 0.2s ease, color 0.2s ease;
}

.filter-categories a:hover,
.filter-categories a.is-current,
.archive-categories a:hover,
.archive-categories a.is-current {
	border-color: var(--blue);
	background: var(--blue);
	color: #fff;
}

.filter-categories small {
	font-family: var(--apex-font-display);
	font-size: 8px;
}

/* Post grid */
.article-list {
	padding-top: 26px;
}

.article-list__heading {
	display: flex;
	align-items: flex-end;
	min-height: 62px;
	margin-bottom: 54px;
	padding: 0 8px 10px;
	border-bottom: 1px solid #8b91a1;
}

.article-list__heading h2 {
	margin: 0;
	font-size: 14px;
	line-height: 1;
}

.article-list__heading h2 span {
	margin-right: 5px;
	font-family: var(--apex-font-display);
	font-size: 28px;
	font-weight: 700;
}

.post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: clamp(42px, 5vw, 72px) clamp(24px, 3.6vw, 48px);
}

.post-card {
	min-width: 0;
	margin: 0;
}

.post-card__link {
	display: block;
}

.post-card__media {
	position: relative;
	overflow: hidden;
	aspect-ratio: 1.54 / 1;
	border: 5px solid var(--main-color);
	border-radius: 13px;
	background: #c9c9cc;
	box-shadow: 0 10px 24px rgba(16, 28, 114, 0.08);
	transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), border-color 0.25s ease, box-shadow 0.25s ease;
}

.post-card--new .post-card__media {
	border-color: var(--blue);
}

.post-card__image,
.post-card__media > img,
.post-card__media .post-media-fallback {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.55s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card__link:hover .post-card__media {
	border-color: var(--pink02);
	box-shadow: 0 16px 35px rgba(16, 28, 114, 0.14);
	transform: translateY(-5px);
}

.post-card__link:hover .post-card__image,
.post-card__link:hover .post-media-fallback {
	transform: scale(1.035);
}

.post-card .corner-label {
	min-width: 125px;
	height: 34px;
	padding: 0 12px;
	border-radius: 9px 0 10px 0;
	font-size: 9px;
}

.post-card__body {
	padding: 13px 1px 0;
}

.post-card__meta {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-bottom: 5px;
	color: #8b91a1;
	font-family: var(--apex-font-display);
	font-size: 8px;
	letter-spacing: 0.03em;
}

.post-card__meta span {
	position: relative;
}

.post-card__meta span::before {
	position: absolute;
	top: 50%;
	left: -8px;
	width: 2px;
	height: 2px;
	border-radius: 50%;
	background: currentColor;
	content: "";
}

.post-card h2 {
	display: -webkit-box;
	min-height: 3em;
	margin: 0 0 9px;
	overflow: hidden;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.5;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.category-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.category-chips a,
.category-chips span {
	display: inline-flex;
	align-items: center;
	min-height: 22px;
	padding: 3px 9px;
	border-radius: 999px;
	background: #fff;
	color: var(--main-color);
	font-size: 8px;
	font-weight: 700;
	line-height: 1.2;
	transition: background 0.2s ease, color 0.2s ease;
}

.category-chips a:hover {
	background: var(--main-color);
	color: #fff;
}

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

.nav-links .page-numbers {
	display: inline-grid;
	place-items: center;
	min-width: 34px;
	height: 34px;
	padding: 0 6px;
	border-radius: 50%;
	color: var(--pink02);
	font-family: var(--apex-font-display);
	font-size: 10px;
	font-weight: 600;
}

.nav-links .current {
	background: var(--blue);
	color: #fff;
}

.nav-links .prev,
.nav-links .next {
	border: 1px solid var(--pink01);
	color: var(--pink02);
	font-size: 15px;
}

.empty-state {
	display: flex;
	flex-direction: column;
	align-items: center;
	padding: clamp(52px, 8vw, 92px) 24px;
	text-align: center;
}

.empty-state__mark {
	margin: 0;
	background: var(--apex-gradient);
	-webkit-background-clip: text;
	background-clip: text;
	-webkit-text-fill-color: transparent;
	color: transparent;
	font-family: var(--apex-font-display);
	font-size: clamp(70px, 12vw, 130px);
	font-weight: 800;
	line-height: 1;
}

.empty-state h1,
.empty-state h2 {
	margin: 22px 0 10px;
	font-size: clamp(22px, 3vw, 32px);
}

.empty-state > p:not(.empty-state__mark) {
	color: var(--gray);
}

.empty-state .button {
	margin-top: 20px;
}

/* Archive and search */
.archive-section {
	min-height: 50vh;
}

.archive-tools {
	padding: 24px;
	margin-bottom: 44px;
	border-radius: 18px;
	background: rgba(255, 255, 255, 0.78);
	box-shadow: 0 12px 35px rgba(16, 28, 114, 0.05);
}

.search-form {
	display: flex;
	width: min(100%, 560px);
}

.search-form label {
	flex: 1 1 auto;
}

.search-field {
	width: 100%;
	height: 48px;
	padding: 0 16px;
	border: 1px solid var(--apex-line);
	border-right: 0;
	border-radius: 9px 0 0 9px;
	background: #fff;
}

.search-submit {
	display: grid;
	place-items: center;
	flex: 0 0 52px;
	width: 52px;
	height: 48px;
	padding: 0;
	border: 0;
	border-radius: 0 9px 9px 0;
	background: var(--main-color);
	color: #fff;
}

.search-submit svg {
	width: 19px;
	height: 19px;
}

.archive-categories {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 18px;
}

.archive-section__heading {
	justify-content: space-between;
}

.archive-description {
	max-width: 720px;
	color: var(--gray);
	font-size: 13px;
	text-align: right;
}

.archive-description p {
	margin: 0;
}

/* Single post and pages */
.single-layout {
	display: grid;
	grid-template-columns: minmax(0, 820px) minmax(260px, 310px);
	gap: clamp(28px, 4vw, 52px);
	align-items: start;
}

.content-card {
	min-width: 0;
	padding: clamp(30px, 5vw, 68px);
	border: 1px solid rgba(255, 255, 255, 0.9);
	border-radius: 28px;
	background: #fff;
	box-shadow: var(--apex-shadow);
}

.single-article__header {
	padding-bottom: 28px;
	border-bottom: 1px solid var(--apex-line);
}

.single-article__header .category-chips a,
.single-article__header .category-chips span {
	min-height: 28px;
	padding: 5px 12px;
	background: var(--apex-bg);
	font-size: 10px;
}

.single-article__header h1 {
	margin: 18px 0;
	font-size: clamp(27px, 3.2vw, 43px);
	font-weight: 800;
	letter-spacing: 0.01em;
	line-height: 1.45;
}

.single-article__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 9px 22px;
	color: var(--gray);
	font-family: var(--apex-font-display);
	font-size: 10px;
}

.single-article__meta > * + * {
	position: relative;
}

.single-article__meta > * + *::before {
	position: absolute;
	top: 50%;
	left: -12px;
	width: 3px;
	height: 3px;
	border-radius: 50%;
	background: var(--pink01);
	content: "";
}

.single-article__eyecatch {
	margin: 34px 0 0;
	overflow: hidden;
	border: 5px solid var(--main-color);
	border-radius: 18px;
}

.single-article__eyecatch img {
	width: 100%;
	aspect-ratio: 16 / 9;
	object-fit: cover;
}

.article-toc {
	margin: 38px 0;
	overflow: hidden;
	border: 1px solid #cad8fa;
	border-radius: 14px;
	background: var(--apex-bg-soft);
}

.article-toc__toggle {
	display: flex;
	align-items: center;
	justify-content: space-between;
	width: 100%;
	min-height: 54px;
	padding: 12px 19px;
	border: 0;
	background: linear-gradient(90deg, #e5f8ff, #f0eeff);
	color: var(--main-color);
	font-size: 14px;
	font-weight: 800;
	text-align: left;
}

.article-toc ol {
	display: grid;
	gap: 8px;
	padding: 18px 24px 20px 42px;
	margin: 0;
	counter-reset: toc;
}

.article-toc.is-collapsed ol {
	display: none;
}

.article-toc li {
	padding-left: 2px;
	color: var(--main-color);
	font-size: 13px;
}

.article-toc li.is-level-3 {
	margin-left: 20px;
	color: var(--gray);
	font-size: 12px;
}

.article-toc a:hover {
	color: var(--pink02);
	text-decoration: underline;
}

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

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

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

.entry-content p {
	margin-bottom: 1.65em;
}

.entry-content h2 {
	position: relative;
	padding: 17px 20px 17px 26px;
	margin: 3.3em 0 1.35em;
	border-radius: 5px 14px 14px 5px;
	background: linear-gradient(105deg, #e5f8ff 0%, #edf0fa 62%, #f6f4ff 100%);
	color: var(--main-color);
	font-size: clamp(22px, 2.7vw, 29px);
	font-weight: 800;
	line-height: 1.55;
	scroll-margin-top: 112px;
}

.entry-content h2::before {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 7px;
	border-radius: 5px 0 0 5px;
	background: var(--apex-gradient);
	content: "";
}

.entry-content h3 {
	padding: 3px 0 9px 17px;
	margin: 2.5em 0 1.15em;
	border-bottom: 2px solid var(--apex-line);
	border-left: 6px solid var(--pink01);
	color: var(--main-color);
	font-size: clamp(19px, 2.2vw, 24px);
	font-weight: 800;
	line-height: 1.55;
	scroll-margin-top: 112px;
}

.entry-content h4 {
	position: relative;
	padding-left: 18px;
	margin: 2.1em 0 1em;
	color: var(--apex-ink);
	font-size: 18px;
	font-weight: 800;
}

.entry-content h4::before {
	position: absolute;
	top: 0.7em;
	left: 0;
	width: 9px;
	height: 9px;
	border-radius: 2px;
	background: var(--blue);
	content: "";
	transform: rotate(8deg);
}

.entry-content a:not(.wp-element-button) {
	color: #2534a3;
	font-weight: 700;
	text-decoration: underline;
	text-decoration-color: rgba(75, 150, 255, 0.4);
	text-decoration-thickness: 2px;
	text-underline-offset: 4px;
}

.entry-content a:not(.wp-element-button):hover {
	color: var(--pink02);
	text-decoration-color: currentColor;
}

.entry-content ul,
.entry-content ol {
	padding: 20px 22px 20px 44px;
	margin: 1.6em 0;
	border-radius: 12px;
	background: var(--apex-bg-soft);
}

.entry-content li + li {
	margin-top: 7px;
}

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

.entry-content blockquote,
.entry-content .wp-block-quote {
	position: relative;
	padding: 24px 26px 24px 56px;
	margin: 2em 0;
	border: 0;
	border-radius: 14px;
	background: #fff1f7;
	color: #444;
}

.entry-content blockquote::before {
	position: absolute;
	top: 4px;
	left: 18px;
	color: var(--pink01);
	font-family: Georgia, serif;
	font-size: 58px;
	line-height: 1;
	content: "“";
}

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

.entry-content figure {
	max-width: 100%;
	margin: 2.2em 0;
}

.entry-content figure img,
.entry-content > img {
	border-radius: 12px;
}

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

.entry-content .alignwide {
	width: min(960px, calc(100% + 100px));
	max-width: none;
	margin-right: -50px;
	margin-left: -50px;
}

.entry-content .alignfull {
	width: calc(100% + clamp(60px, 10vw, 136px));
	max-width: none;
	margin-right: calc(clamp(30px, 5vw, 68px) * -1);
	margin-left: calc(clamp(30px, 5vw, 68px) * -1);
}

.entry-content table,
.entry-content .wp-block-table table {
	width: 100%;
	border-collapse: collapse;
	font-size: 14px;
	line-height: 1.7;
}

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

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

.entry-content th {
	background: #eaf0ff;
	color: var(--main-color);
	font-weight: 800;
}

.entry-content tr:nth-child(even) td {
	background: #fafbff;
}

.entry-content pre,
.entry-content code {
	font-family: Consolas, Monaco, monospace;
}

.entry-content code {
	padding: 0.18em 0.4em;
	border-radius: 4px;
	background: #edf0fa;
	color: #3b1b8f;
	font-size: 0.9em;
}

.entry-content pre,
.entry-content .wp-block-code {
	padding: 22px;
	overflow-x: auto;
	border: 0;
	border-radius: 12px;
	background: #151821;
	color: #f5f7ff;
	font-size: 13px;
	line-height: 1.75;
}

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

.entry-content .wp-block-button__link,
.entry-content .wp-element-button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 48px;
	padding: 10px 25px;
	border-radius: 999px;
	background: var(--main-color);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
}

.entry-content .wp-block-button__link:hover,
.entry-content .wp-element-button:hover {
	background: var(--grad-b);
}

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

.entry-content details,
.entry-content .wp-block-details {
	padding: 0;
	margin: 1em 0;
	overflow: hidden;
	border: 1px solid var(--apex-line);
	border-radius: 12px;
	background: #fff;
}

.entry-content details summary,
.entry-content .wp-block-details summary {
	padding: 15px 46px 15px 18px;
	background: var(--apex-bg-soft);
	color: var(--main-color);
	font-weight: 800;
	cursor: pointer;
}

.entry-content details > *:not(summary),
.entry-content .wp-block-details > *:not(summary) {
	margin-right: 18px;
	margin-left: 18px;
}

.entry-content .wp-block-columns {
	gap: 24px;
}

.entry-content iframe {
	max-width: 100%;
}

.page-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 36px;
}

.single-article__tags {
	display: flex;
	align-items: flex-start;
	gap: 20px;
	padding-top: 28px;
	margin-top: 52px;
	border-top: 1px solid var(--apex-line);
}

.single-article__tags p {
	margin: 0;
	color: var(--main-color);
	font-family: var(--apex-font-display);
	font-size: 12px;
	font-weight: 700;
}

.single-article__tags ul {
	display: flex;
	flex-wrap: wrap;
	gap: 7px;
	padding: 0;
	margin: 0;
	list-style: none;
}

.single-article__tags a {
	display: inline-flex;
	padding: 4px 11px;
	border-radius: 999px;
	background: var(--apex-bg);
	color: var(--main-color);
	font-size: 10px;
	font-weight: 700;
}

/* Sidebar */
.article-sidebar {
	position: sticky;
	top: 104px;
	display: grid;
	gap: 22px;
}

.admin-bar .article-sidebar {
	top: 136px;
}

.sidebar-card {
	padding: 24px;
	border-radius: 22px;
	background: #fff;
	box-shadow: 0 12px 36px rgba(16, 28, 114, 0.06);
}

.sidebar-card h2 {
	padding-bottom: 12px;
	margin: 0 0 18px;
	border-bottom: 1px solid var(--apex-line);
	font-family: var(--apex-font-display);
	font-size: 19px;
	letter-spacing: 0.02em;
}

.sidebar-card .search-form {
	width: 100%;
}

.sidebar-card .search-field {
	min-width: 0;
	height: 42px;
	font-size: 12px;
}

.sidebar-card .search-submit {
	flex-basis: 44px;
	width: 44px;
	height: 42px;
}

.sidebar-category-list,
.sidebar-posts {
	padding: 0;
	margin: 0;
	list-style: none;
}

.sidebar-category-list li {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 9px 0;
	border-bottom: 1px solid #edf0fa;
	color: var(--main-color);
	font-size: 12px;
	font-weight: 700;
}

.sidebar-category-list li:last-child {
	border-bottom: 0;
}

.sidebar-category-list a {
	flex: 1 1 auto;
}

.sidebar-posts li + li {
	margin-top: 14px;
	padding-top: 14px;
	border-top: 1px solid #edf0fa;
}

.sidebar-posts a {
	display: block;
}

.sidebar-posts time {
	display: block;
	margin-bottom: 3px;
	color: #8b91a1;
	font-family: var(--apex-font-display);
	font-size: 8px;
}

.sidebar-posts span {
	display: -webkit-box;
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sidebar-cta {
	position: relative;
	padding: 28px 24px;
	overflow: hidden;
	border-radius: 22px;
	background: var(--apex-gradient);
	color: #fff;
}

.sidebar-cta::after {
	position: absolute;
	right: -36px;
	bottom: -46px;
	width: 130px;
	height: 130px;
	border: 1px solid rgba(255, 255, 255, 0.45);
	border-radius: 50%;
	content: "";
}

.sidebar-cta p {
	margin: 0 0 9px;
	font-family: var(--apex-font-display);
	font-size: 9px;
	letter-spacing: 0.08em;
}

.sidebar-cta h2 {
	margin: 0 0 22px;
	font-size: 18px;
	line-height: 1.6;
}

.sidebar-cta a {
	position: relative;
	z-index: 1;
	display: flex;
	align-items: center;
	justify-content: space-between;
	min-height: 42px;
	padding: 8px 14px;
	border-radius: 7px;
	background: #fff;
	color: var(--main-color);
	font-size: 11px;
	font-weight: 800;
}

/* Post navigation and related posts */
.post-navigation-wrap {
	padding-bottom: 20px;
}

.post-navigation {
	padding-top: 24px;
	border-top: 1px solid rgba(16, 28, 114, 0.2);
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 20px;
	margin: 0;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation a {
	display: block;
	padding: 16px 18px;
	border-radius: 12px;
	background: rgba(255, 255, 255, 0.7);
}

.post-navigation__label {
	display: block;
	margin-bottom: 4px;
	color: var(--pink02);
	font-family: var(--apex-font-display);
	font-size: 9px;
	font-weight: 700;
	text-transform: uppercase;
}

.post-navigation__title {
	display: -webkit-box;
	overflow: hidden;
	font-size: 12px;
	font-weight: 700;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.related-posts {
	padding-top: 76px;
	background: rgba(255, 255, 255, 0.34);
}

.section-heading {
	margin-bottom: 42px;
}

.section-heading h2 {
	margin: 0;
	color: var(--main-color);
	font-family: var(--apex-font-display);
	font-size: clamp(26px, 3vw, 38px);
	letter-spacing: 0.04em;
}

.section-heading p {
	margin: 4px 0 0;
	color: var(--gray);
	font-size: 12px;
	font-weight: 700;
}

.page-content .content-card {
	min-height: 300px;
}

.comments-wrap {
	padding-block: 70px;
}

.comments-area {
	font-size: 14px;
}

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

.comment-list .children {
	padding-left: 28px;
}

.comment-body {
	padding: 18px 0;
	border-bottom: 1px solid var(--apex-line);
}

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

.comment-form input[type="submit"] {
	padding: 12px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--main-color);
	color: #fff;
	font-weight: 700;
}

/* Footer */
.site-footer {
  background: var(--black);
  color: #fff;
  padding-top: clamp(32px, 6vw, 48px);
}

.site-footer__main {
  width: var(--width-wrap);
  margin-inline: auto;
}
.footer__top {
  display: flex;
  padding-bottom: clamp(24px, 5vw, 40px);
  align-items: center;
  gap: 32px;
  flex-wrap: wrap;
  justify-content: center;
}
.site-footer__brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.site-logo--footer img {
	width: min(200px, 100%);
	height: auto;
	object-fit: contain;
}

.site-footer__company {
	padding-top: 3px;
}

.site-footer__company p {
	margin: 0;
	color: #c9c9cc;
	font-size: 11px;
	line-height: 1.75;
}

.site-footer__company .site-footer__company-name {
	margin-bottom: 5px;
	color: #fff;
	font-size: 16px;
	font-weight: 700;
}

.site-footer__social {
	display: flex;
	grid-column: 1 / -1;
	gap: 9px;
	margin-top: 10px;
}

.site-footer__social a {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid #444;
	border-radius: 7px;
	color: #fff;
}

.site-footer__social span {
	font-family: Arial, sans-serif;
	font-size: 9px;
	font-weight: 700;
}

.site-footer__social svg {
	width: 18px;
	height: 18px;
}
.site-footer__nav {
  display: flex;
  gap: 32px;
  justify-content: space-between;
}
.site-footer__nav-area {
  display: flex;
  gap: clamp(16px, 3vw, 60px);
  align-items: center;
}

.footer-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  white-space: nowrap;
}

.footer-menu a {
	transition: color 0.2s ease;
}

.footer-menu a:hover {
	color: var(--grad-a);
}

.site-footer__buttons {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
  white-space: nowrap;
}

.site-footer__buttons a {
  color: #fff;
  text-decoration: none;
  opacity: .9;
  transition: opacity .15s ease, transform .15s ease;
}
.footer_btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 150px;
  padding: 10px 30px;
  color: #fff;
  font-weight: 700;
  border-radius: 300px;
  z-index: 0;
  overflow: hidden;
  transform: translateZ(0);
  transition: color .3s ease, transform .3s ease, opacity .3s ease;
}

.footer__link--entry {
  background: linear-gradient(90deg, var(--pink01), var(--blue), #6348b4);
  box-shadow: 0 12px 28px rgba(60, 111, 219, .25);
}
.footer__link--button:before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(90deg, var(--pink01), var(--blue), #6348b4);
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  z-index: -1;
}

.page-top {
  color: #fff;
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 0;
	border: 0;
	background: transparent;
}

.page-top span {
	display: grid;
	place-items: center;
	width: 34px;
	height: 34px;
	border: 1px solid #656b7a;
	border-radius: 50%;
}

.site-footer__bottom {
	display: grid;
	place-items: center;
	min-height: 46px;
	border-top: 1px solid #222;
	color: var(--grad-a);
	font-family: var(--apex-font-display);
	font-size: 12px;
	letter-spacing: 0.04em;
}

/* Responsive */
@media (max-width: 1050px) {
	.home-featured__grid {
		grid-template-columns: minmax(0, 1.7fr) minmax(270px, 0.8fr);
		gap: 24px;
	}

	.post-grid {
		gap: 48px 28px;
	}

	.single-layout {
		grid-template-columns: minmax(0, 1fr) 270px;
		gap: 28px;
	}

	.content-card {
		padding: 42px;
	}

	.site-footer__main {
		grid-template-columns: 1fr 1.2fr;
		gap: 48px;
	}

	.site-footer__brand {
		grid-template-columns: 150px 1fr;
	}
}

@media (max-width: 900px) {
	.single-layout {
		grid-template-columns: 1fr;
	}

	.article-sidebar {
		position: static;
		grid-template-columns: 1fr 1fr;
	}

	.sidebar-cta {
		grid-column: 1 / -1;
	}

	.entry-content .alignwide {
		width: 100%;
		margin-right: 0;
		margin-left: 0;
	}

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

@media (max-width: 767px) {
	.admin-bar .site-header {
		top: 58px;
	}

	.container,
	.container--article {
		width: min(100% - 32px, var(--apex-container));
	}

	.site-header {
		top: 8px;
	}

	.site-header__inner {
		width: calc(100% - 20px);
		height: 58px;
		padding: 7px 9px 7px 18px;
	}

	.site-logo--header img {
		height: 38px;
	}

	.site-header__actions {
		gap: 7px;
	}

	.header-contact {
		min-width: 118px;
		height: 34px;
		padding: 0 12px;
	}

	.menu-toggle {
		width: 38px;
		height: 38px;
	}

	.page-hero,
	.page-hero--compact {
		min-height: 255px;
		border-radius: 0 0 24px 24px;
	}

	.page-hero__inner {
		padding-top: 60px;
	}

	.page-hero h1 {
		font-size: clamp(36px, 12vw, 52px);
	}
	.breadcrumbs {
		min-height: 52px;
		overflow: hidden;
	}

	.breadcrumbs ol {
		white-space: nowrap;
	}

	.breadcrumbs li:last-child {
		overflow: hidden;
		text-overflow: ellipsis;
	}

	.section-space {
		padding-block: 66px;
	}

	.home-featured {
		padding-bottom: 42px;
	}

	.home-featured__grid {
		grid-template-columns: 1fr;
	}

	.latest-story__card {
		min-height: 430px;
		border-width: 6px;
		border-radius: 25px;
	}

	.latest-story__content p {
		-webkit-line-clamp: 2;
	}

	.pickup-panel {
		min-height: auto;
	}

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

	.pickup-list a {
		grid-template-columns: 1fr;
	}

	.pickup-list__media {
		aspect-ratio: 1.25;
	}

	.pickup-panel__more {
		margin-top: 8px;
	}

	.filter-toggle {
		min-height: 62px;
		padding: 12px 18px;
	}

	.filter-panel {
		padding: 20px;
	}

	.filter-form {
		grid-template-columns: 1fr 1fr;
	}

	.filter-form button {
		grid-column: 1 / -1;
		width: 100%;
	}

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

	.article-list__heading {
		margin-bottom: 38px;
	}

	.content-card {
		padding: 32px 24px;
		border-radius: 22px;
	}

	.single-article__header h1 {
		font-size: 26px;
	}

	.entry-content {
		font-size: 15px;
	}

	.entry-content h2 {
		margin-top: 2.8em;
		font-size: 22px;
	}

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

	.entry-content .alignfull {
		width: calc(100% + 48px);
		margin-right: -24px;
		margin-left: -24px;
	}

	.post-navigation .nav-links {
		gap: 10px;
	}

	.site-footer__main {
		padding-block: 60px;
	}

	.site-footer__brand {
		grid-template-columns: 145px 1fr;
	}
  .site-footer__nav {
    gap: 0;
    width: 100%;
}
	.site-footer__nav-area {
    width: 100%;
    flex-direction: column;
	}

	.page-top {
		justify-self: start;
	}
}

@media (max-width: 540px) {
	body {
		font-size: 15px;
	}

	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		margin-right: auto;
		margin-left: auto;
	}

	.site-drawer__panel {
		padding: 26px 22px;
	}

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

	.header-contact span {
		font-size: 0;
	}

	.header-contact span::before {
		content: "CONTACT";
	}

	.header-contact {
		min-width: 96px;
	}

	.latest-story__card {
		min-height: 0;
	}

	.latest-story__link {
		display: flex;
		flex-direction: column;
	}

	.latest-story__media {
		position: relative;
		flex: 0 0 auto;
		aspect-ratio: 1.35;
	}

	.latest-story__content {
		position: relative;
		right: auto;
		bottom: auto;
		left: auto;
		padding: 20px 17px;
		border: 0;
		border-radius: 0;
		box-shadow: none;
		background: #fff;
	}

	.latest-story__content h2 {
		font-size: 20px;
	}

	.latest-story__content p {
		-webkit-line-clamp: 3;
	}

	.latest-story > .corner-label,
	.latest-story .corner-label {
		min-width: 132px;
		height: 40px;
		font-size: 10px;
	}

	.pickup-list {
		grid-template-columns: 1fr;
	}

	.pickup-list a {
		grid-template-columns: 78px minmax(0, 1fr);
	}

	.pickup-list__media {
		aspect-ratio: 1;
	}

	.filter-form {
		grid-template-columns: 1fr;
	}

	.filter-form button {
		grid-column: auto;
	}

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

	.post-card h2 {
		min-height: auto;
		font-size: 15px;
	}

	.nav-links {
		gap: 3px;
		margin-top: 58px;
	}

	.nav-links .page-numbers {
		min-width: 31px;
		height: 31px;
	}

	.archive-tools {
		padding: 18px;
	}

	.archive-section__heading {
		display: block;
	}

	.archive-description {
		margin-top: 12px;
		text-align: left;
	}

	.single-article__meta {
		gap: 7px 16px;
	}

	.single-article__meta > * + *::before {
		left: -9px;
	}

	.article-toc ol {
		padding-left: 38px;
	}

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

	.entry-content ul,
	.entry-content ol {
		padding-right: 16px;
		padding-left: 38px;
	}

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

	.sidebar-cta {
		grid-column: auto;
	}

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

	.post-navigation .nav-next {
		text-align: left;
	}

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

	.site-logo--footer img {
		width: 190px;
	}

	.site-footer__social {
		justify-content: center;
	}

	.site-footer__buttons {
		flex-direction: column;
	}
}

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

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