/*
Theme Name: WanderLife Editorial
Theme URI: https://wanderlife.site/
Author: WanderLife
Author URI: https://wanderlife.site/
Description: A calm, image-led editorial travel theme built for WanderLife's practical destination guides.
Version: 1.1.0
Requires at least: 6.5
Tested up to: 7.0
Requires PHP: 7.4
Text Domain: wanderlife
*/

:root {
	--wl-ink: #132b32;
	--wl-ink-soft: #52666b;
	--wl-green: #19784a;
	--wl-green-dark: #105d39;
	--wl-green-light: #e8f4ed;
	--wl-blue: #155b72;
	--wl-surface: #ffffff;
	--wl-canvas: #f6f8f7;
	--wl-border: #dfe7e3;
	--wl-border-strong: #cad7d1;
	--wl-sand: #f2eee4;
	--wl-shadow: 0 16px 38px rgba(22, 54, 45, 0.08);
	--wl-shadow-small: 0 8px 22px rgba(22, 54, 45, 0.07);
	--wl-radius: 18px;
	--wl-radius-small: 12px;
	--wl-shell: 1180px;
	--wl-font: "Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, "Segoe UI", "Noto Sans KR", sans-serif;
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--wl-canvas);
	color: var(--wl-ink);
	font-family: var(--wl-font);
	font-size: 16px;
	line-height: 1.65;
	-webkit-font-smoothing: antialiased;
}

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

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

a:hover {
	color: var(--wl-green);
}

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

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

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

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

h1,
h2,
h3,
h4 {
	color: var(--wl-ink);
	font-weight: 760;
	letter-spacing: -0.035em;
	line-height: 1.28;
}

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

.section-pad {
	padding-block: 42px 76px;
}

.section-pad--topless {
	padding-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 {
	top: 8px;
	left: 8px;
	z-index: 99999;
	display: block;
	width: auto;
	height: auto;
	padding: 10px 16px;
	clip: auto;
	background: var(--wl-ink);
	color: #fff;
	border-radius: 8px;
}

:focus-visible {
	outline: 3px solid rgba(25, 120, 74, 0.35);
	outline-offset: 3px;
}

.button,
.wp-block-button__link,
button,
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 8px;
	min-height: 44px;
	padding: 10px 18px;
	border: 1px solid transparent;
	border-radius: 10px;
	font-weight: 700;
	line-height: 1.2;
	transition: transform 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.button:hover,
.wp-block-button__link:hover,
button:hover,
input[type="submit"]:hover {
	transform: translateY(-1px);
}

.button--green,
.wp-block-button__link,
input[type="submit"] {
	background: var(--wl-green);
	color: #fff;
}

.button--green:hover,
.wp-block-button__link:hover,
input[type="submit"]:hover {
	background: var(--wl-green-dark);
	color: #fff;
}

.button--light {
	background: #fff;
	color: var(--wl-ink);
}

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

.site-header__primary {
	display: grid;
	grid-template-columns: minmax(190px, 1fr) minmax(320px, 500px) minmax(190px, 1fr);
	align-items: center;
	gap: 28px;
	min-height: 82px;
}

.site-brand,
.site-brand__link {
	display: inline-flex;
	align-items: center;
	gap: 11px;
}

.site-brand__link:hover {
	color: var(--wl-ink);
}

.custom-logo-link {
	display: inline-flex;
	align-items: center;
}

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

.site-brand__mark {
	display: inline-grid;
	place-items: center;
	width: 40px;
	height: 40px;
	background: linear-gradient(150deg, var(--wl-green) 0 50%, var(--wl-blue) 50% 100%);
	border-radius: 12px;
	box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.25);
	color: #fff;
	font-size: 18px;
	font-weight: 850;
	line-height: 1;
}

.site-brand__name {
	font-size: 22px;
	font-weight: 820;
	letter-spacing: -0.04em;
}

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

.search-form {
	position: relative;
	display: flex;
	align-items: center;
}

.search-field {
	width: 100%;
	height: 46px;
	padding: 0 58px 0 17px;
	background: #fff;
	border: 1px solid var(--wl-border-strong);
	border-radius: 12px;
	color: var(--wl-ink);
	outline: none;
	transition: border-color 160ms ease, box-shadow 160ms ease;
}

.search-field::placeholder {
	color: #87969a;
}

.search-field:focus {
	border-color: var(--wl-green);
	box-shadow: 0 0 0 4px rgba(25, 120, 74, 0.1);
}

.search-submit {
	position: absolute;
	right: 5px;
	width: 38px;
	min-height: 36px;
	padding: 0;
	background: var(--wl-green);
	border: 0;
	border-radius: 9px;
}

.search-submit:hover {
	background: var(--wl-green-dark);
}

.search-submit__icon {
	position: relative;
	display: block;
	width: 14px;
	height: 14px;
	border: 2px solid #fff;
	border-radius: 50%;
}

.search-submit__icon::after {
	position: absolute;
	right: -5px;
	bottom: -3px;
	width: 6px;
	height: 2px;
	background: #fff;
	border-radius: 2px;
	transform: rotate(45deg);
	content: "";
}

.header-about {
	display: inline-flex;
	align-items: center;
	justify-self: end;
	gap: 7px;
	font-size: 14px;
	font-weight: 700;
}

.header-about span {
	color: var(--wl-green);
}

.primary-navigation {
	border-top: 1px solid #edf1ef;
}

.primary-navigation__inner {
	display: flex;
	justify-content: center;
}

.primary-menu,
.primary-menu ul,
.footer-menu,
.site-footer__column ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.primary-menu {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.primary-menu > li {
	position: relative;
}

.primary-menu > li > a {
	display: block;
	padding: 14px 18px 13px;
	border-bottom: 2px solid transparent;
	font-size: 14px;
	font-weight: 720;
}

.primary-menu > li.current-menu-item > a,
.primary-menu > li.current-menu-ancestor > a,
.primary-menu > li > a:hover {
	border-bottom-color: var(--wl-green);
	color: var(--wl-green);
}

.primary-menu .sub-menu {
	position: absolute;
	top: calc(100% - 1px);
	left: 0;
	z-index: 5;
	display: none;
	width: 210px;
	padding: 8px;
	background: #fff;
	border: 1px solid var(--wl-border);
	border-radius: 12px;
	box-shadow: var(--wl-shadow-small);
}

.primary-menu li:hover > .sub-menu,
.primary-menu li:focus-within > .sub-menu {
	display: block;
}

.primary-menu .sub-menu a {
	display: block;
	padding: 9px 11px;
	border-radius: 8px;
	font-size: 14px;
}

.primary-menu .sub-menu a:hover {
	background: var(--wl-green-light);
}

.menu-toggle,
.mobile-search {
	display: none;
}

/* Homepage lead */
.front-intro {
	background: #fff;
}

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

.lead-story,
.lead-story__visual {
	position: relative;
	display: block;
	min-height: 410px;
	overflow: hidden;
	border-radius: var(--wl-radius);
	color: #fff;
}

.lead-story__visual:hover {
	color: #fff;
}

.lead-story__image,
.lead-story .post-visual {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.lead-story .post-visual--fallback {
	display: grid;
	place-items: end start;
	padding: 36px;
	background:
		radial-gradient(circle at 80% 22%, rgba(250, 210, 113, 0.7) 0 9%, transparent 9.5%),
		linear-gradient(135deg, #0e526b 0%, #177251 58%, #8abf91 100%);
}

.lead-story .post-visual--fallback span {
	display: none;
}

.lead-story__shade {
	position: absolute;
	inset: 0;
	background: linear-gradient(90deg, rgba(5, 31, 39, 0.9) 0%, rgba(5, 31, 39, 0.52) 48%, rgba(5, 31, 39, 0.08) 78%);
}

.lead-story__content {
	position: absolute;
	left: 42px;
	bottom: 39px;
	z-index: 2;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	width: min(620px, calc(100% - 84px));
}

.lead-story__kicker {
	margin-bottom: 10px;
	color: #bce3cc;
	font-size: 13px;
	font-weight: 750;
	letter-spacing: 0.08em;
}

.lead-story__title {
	margin: 0;
	color: #fff;
	font-size: clamp(28px, 3.4vw, 45px);
	font-weight: 820;
	letter-spacing: -0.05em;
	line-height: 1.18;
}

.lead-story__excerpt {
	display: -webkit-box;
	max-width: 570px;
	margin-top: 13px;
	overflow: hidden;
	color: rgba(255, 255, 255, 0.86);
	font-size: 15px;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.lead-story .button {
	margin-top: 22px;
	font-size: 14px;
}

.lead-story--empty {
	background:
		radial-gradient(circle at 80% 20%, rgba(245, 205, 95, 0.55) 0 9%, transparent 9.5%),
		linear-gradient(135deg, #0c4d64, var(--wl-green));
}

.editors-picks,
.sidebar-card {
	background: #fff;
	border: 1px solid var(--wl-border);
	border-radius: var(--wl-radius);
}

.editors-picks {
	padding: 22px 20px;
}

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

.section-heading h2 {
	margin: 0;
	font-size: 25px;
}

.section-heading > a,
.section-heading--compact > a {
	flex: none;
	color: var(--wl-ink-soft);
	font-size: 13px;
	font-weight: 650;
}

.section-heading > a:hover {
	color: var(--wl-green);
}

.section-heading__kicker {
	display: block;
	margin-bottom: 5px;
	color: var(--wl-green);
	font-size: 11px;
	font-weight: 800;
	letter-spacing: 0.11em;
}

.section-heading--compact {
	align-items: center;
	margin-bottom: 15px;
}

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

.editors-picks__list {
	display: grid;
	gap: 15px;
}

.editor-pick {
	display: grid;
	grid-template-columns: 78px minmax(0, 1fr);
	align-items: center;
	gap: 12px;
}

.editor-pick__media {
	display: block;
	height: 68px;
	overflow: hidden;
	border-radius: 10px;
}

.editor-pick__media .post-visual {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.editor-pick h3 {
	display: -webkit-box;
	margin: 0 0 4px;
	overflow: hidden;
	font-size: 14px;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.editor-pick p {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	color: var(--wl-ink-soft);
	font-size: 11px;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 1;
}

.destination-nav {
	display: flex;
	gap: 10px;
	padding-top: 16px;
	overflow-x: auto;
	scrollbar-width: none;
}

.destination-nav::-webkit-scrollbar {
	display: none;
}

.destination-chip {
	display: inline-flex;
	flex: 0 0 auto;
	align-items: center;
	gap: 8px;
	padding: 6px 13px 6px 7px;
	background: #fff;
	border: 1px solid var(--wl-border);
	border-radius: 999px;
	font-size: 13px;
	font-weight: 700;
	white-space: nowrap;
}

.destination-chip:hover {
	background: var(--wl-green-light);
	border-color: #bad3c4;
}

.destination-chip__mark {
	display: grid;
	place-items: center;
	width: 30px;
	height: 30px;
	background: linear-gradient(145deg, #ddecdf, #c9ded4);
	border-radius: 50%;
	color: var(--wl-green-dark);
	font-size: 12px;
	font-weight: 850;
}

/* Content cards and front-page sections */
.content-with-sidebar {
	display: grid;
	grid-template-columns: minmax(0, 1fr) 300px;
	align-items: start;
	gap: 30px;
}

.front-section {
	padding: 38px 0 32px;
	border-bottom: 1px solid var(--wl-border);
}

.front-section:last-child {
	border-bottom: 0;
}

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

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

.post-card {
	min-width: 0;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--wl-border);
	border-radius: var(--wl-radius-small);
	box-shadow: 0 1px 0 rgba(22, 54, 45, 0.01);
	transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.post-card:hover {
	border-color: var(--wl-border-strong);
	box-shadow: var(--wl-shadow-small);
	transform: translateY(-3px);
}

.post-card__media {
	display: block;
	height: 190px;
	overflow: hidden;
	background: var(--wl-green-light);
}

.post-card__media .post-visual {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 350ms ease;
}

.post-card:hover .post-card__media .post-visual {
	transform: scale(1.025);
}

.post-visual--fallback {
	display: grid;
	place-items: end start;
	padding: 17px;
	background:
		radial-gradient(circle at 78% 25%, rgba(255, 222, 132, 0.65) 0 8%, transparent 8.5%),
		linear-gradient(145deg, #155970 0%, #2c8560 58%, #add0b4 100%);
	color: #fff;
}

.post-visual--fallback span {
	font-size: 13px;
	font-weight: 780;
	letter-spacing: 0.02em;
}

.post-card__body {
	padding: 18px 18px 16px;
}

.eyebrow {
	display: inline-block;
	margin-bottom: 7px;
	color: var(--wl-green);
	font-size: 11px;
	font-weight: 780;
	letter-spacing: 0.02em;
}

.post-card__title {
	display: -webkit-box;
	margin: 0;
	overflow: hidden;
	font-size: 18px;
	line-height: 1.45;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.post-card__title a:hover {
	color: var(--wl-green);
}

.post-card__excerpt {
	display: -webkit-box;
	margin: 9px 0 14px;
	overflow: hidden;
	color: var(--wl-ink-soft);
	font-size: 13px;
	line-height: 1.6;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.post-card__meta {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #7a8b8f;
	font-size: 11px;
}

.post-grid--compact .post-card__media {
	height: 150px;
}

.post-grid--compact .post-card__excerpt {
	display: none;
}

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

.region-card {
	position: relative;
	display: flex;
	min-height: 120px;
	aspect-ratio: 4 / 3;
	flex-direction: column;
	justify-content: flex-end;
	padding: 16px;
	overflow: hidden;
	background: #155a69;
	border: 1px solid rgba(255, 255, 255, 0.18);
	border-radius: 14px;
	box-shadow: 0 10px 24px rgba(18, 39, 34, 0.12);
	color: #fff;
	isolation: isolate;
	transition: transform 220ms ease, box-shadow 220ms ease;
}

.region-card::before {
	position: absolute;
	inset: 0;
	z-index: -1;
	background: linear-gradient(180deg, rgba(8, 24, 27, 0.04) 18%, rgba(8, 24, 27, 0.28) 58%, rgba(8, 24, 27, 0.86) 100%);
	content: "";
}

.region-card::after {
	position: absolute;
	inset: 0;
	z-index: -1;
	border: 1px solid rgba(255, 255, 255, 0.12);
	border-radius: inherit;
	content: "";
	pointer-events: none;
}

.region-card__image {
	position: absolute;
	inset: 0;
	z-index: -2;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 500ms cubic-bezier(0.2, 0.7, 0.2, 1);
}

.region-card__content {
	position: relative;
	display: flex;
	flex-direction: column;
}

.region-card:hover {
	color: #fff;
	box-shadow: 0 16px 30px rgba(18, 39, 34, 0.2);
	transform: translateY(-4px);
}

.region-card:hover .region-card__image {
	transform: scale(1.055);
}

.region-card__arrow {
	position: absolute;
	top: 12px;
	right: 12px;
	display: grid;
	width: 29px;
	height: 29px;
	place-items: center;
	background: rgba(255, 255, 255, 0.88);
	border: 1px solid rgba(255, 255, 255, 0.65);
	border-radius: 50%;
	color: var(--wl-ink);
	font-size: 13px;
	font-weight: 850;
	box-shadow: 0 5px 16px rgba(8, 24, 27, 0.16);
	transition: background 180ms ease, transform 180ms ease;
}

.region-card:hover .region-card__arrow {
	background: #fff;
	transform: translate(1px, -1px);
}

.region-card__label {
	position: relative;
	color: #fff;
	font-size: 16px;
	font-weight: 820;
	letter-spacing: -0.025em;
	line-height: 1.3;
	text-shadow: 0 2px 12px rgba(5, 20, 22, 0.45);
}

.region-card__count {
	position: relative;
	margin-top: 3px;
	color: rgba(255, 255, 255, 0.82);
	font-size: 11px;
	font-weight: 650;
	text-shadow: 0 1px 8px rgba(5, 20, 22, 0.55);
}

.front-sidebar {
	position: sticky;
	top: 20px;
	display: grid;
	gap: 15px;
	padding-top: 38px;
}

.sidebar-card {
	padding: 21px;
}

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

.topic-ranking li {
	display: grid;
	grid-template-columns: 28px minmax(0, 1fr) auto;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	border-bottom: 1px solid #edf1ef;
	font-size: 13px;
}

.topic-ranking li:last-child {
	border-bottom: 0;
}

.topic-ranking__number {
	display: grid;
	place-items: center;
	width: 24px;
	height: 24px;
	background: var(--wl-canvas);
	border-radius: 7px;
	font-weight: 780;
}

.topic-ranking__count {
	color: var(--wl-green);
	font-size: 11px;
	font-weight: 750;
}

.tag-cloud {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.tag-cloud a,
.article-tags a {
	display: inline-flex;
	padding: 6px 10px;
	background: #fff;
	border: 1px solid var(--wl-border);
	border-radius: 999px;
	color: var(--wl-ink-soft);
	font-size: 11px;
	font-weight: 650;
}

.tag-cloud a:hover,
.article-tags a:hover {
	background: var(--wl-green-light);
	border-color: #bad3c4;
	color: var(--wl-green-dark);
}

.sidebar-card--accent {
	background: linear-gradient(150deg, #edf7f1, #f8fbf9);
	border-color: #d5e9dc;
	text-align: center;
}

.sidebar-card__eyebrow {
	color: var(--wl-green);
	font-size: 10px;
	font-weight: 850;
	letter-spacing: 0.12em;
}

.sidebar-card--accent h2 {
	margin: 7px 0;
	font-size: 19px;
}

.sidebar-card--accent p {
	margin-bottom: 17px;
	color: var(--wl-ink-soft);
	font-size: 13px;
}

.sidebar-card--accent .button {
	width: 100%;
	font-size: 13px;
}

.sidebar-widget + .sidebar-widget {
	margin-top: 22px;
	padding-top: 20px;
	border-top: 1px solid var(--wl-border);
}

.sidebar-widget__title,
.sidebar-card--widgets .wp-block-heading {
	margin: 0 0 13px;
	font-size: 17px;
}

.sidebar-card--widgets ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

.sidebar-card--widgets li + li {
	margin-top: 10px;
}

.sidebar-card--widgets li,
.sidebar-card--widgets p {
	font-size: 13px;
}

.sidebar-card--widgets .wp-block-search__inside-wrapper {
	position: relative;
}

.sidebar-card--widgets .wp-block-search__input {
	width: 100%;
	min-width: 0;
	height: 42px;
	padding: 0 11px;
	border: 1px solid var(--wl-border-strong);
	border-radius: 9px;
}

.sidebar-card--widgets .wp-block-search__button {
	min-height: 42px;
	padding: 8px 12px;
	background: var(--wl-green);
	border: 0;
	border-radius: 9px;
	color: #fff;
	font-size: 12px;
}

/* Listings */
.listing-page {
	min-height: 65vh;
}

.listing-header {
	max-width: 760px;
	margin-bottom: 34px;
}

.listing-header h1 {
	margin: 0 0 10px;
	font-size: clamp(32px, 5vw, 48px);
}

.listing-header__description {
	color: var(--wl-ink-soft);
	font-size: 16px;
}

.listing-header__description p {
	margin-bottom: 0;
}

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

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

.nav-links .page-numbers {
	display: grid;
	min-width: 40px;
	height: 40px;
	place-items: center;
	padding: 0 10px;
	background: #fff;
	border: 1px solid var(--wl-border);
	border-radius: 9px;
	font-size: 13px;
	font-weight: 700;
}

.nav-links .page-numbers.current,
.nav-links .page-numbers:hover {
	background: var(--wl-green);
	border-color: var(--wl-green);
	color: #fff;
}

.empty-state,
.not-found-page {
	max-width: 670px;
	margin-inline: auto;
	padding: 64px 42px;
	background: #fff;
	border: 1px solid var(--wl-border);
	border-radius: var(--wl-radius);
	text-align: center;
}

.empty-state h2,
.not-found-page h1 {
	font-size: 28px;
}

.empty-state p,
.not-found-page p {
	color: var(--wl-ink-soft);
}

.empty-state .search-form,
.not-found-page .search-form {
	max-width: 480px;
	margin: 24px auto;
}

.not-found-page__code {
	display: block;
	color: #c9ded4;
	font-size: 72px;
	font-weight: 850;
	letter-spacing: -0.08em;
	line-height: 1;
}

/* Single posts and pages */
.singular-shell {
	max-width: 1000px;
}

.breadcrumbs {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 29px;
	overflow: hidden;
	color: #78898d;
	font-size: 12px;
	white-space: nowrap;
}

.breadcrumbs span[aria-current="page"] {
	overflow: hidden;
	text-overflow: ellipsis;
}

.singular-header {
	max-width: 820px;
	margin: 0 auto 34px;
	text-align: center;
}

.singular-header--page {
	margin-top: 22px;
}

.singular-header h1 {
	margin: 4px 0 17px;
	font-size: clamp(34px, 5.5vw, 54px);
	line-height: 1.2;
}

.singular-header__intro {
	max-width: 720px;
	margin: 0 auto 18px;
	color: var(--wl-ink-soft);
	font-size: 18px;
	line-height: 1.7;
}

.singular-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 7px;
	color: #78898d;
	font-size: 12px;
}

.singular-featured-image {
	margin: 0 auto 42px;
}

.singular-featured-image img {
	width: 100%;
	max-height: 610px;
	object-fit: cover;
	border-radius: var(--wl-radius);
	box-shadow: var(--wl-shadow);
}

.singular-featured-image figcaption {
	margin-top: 9px;
	color: #7a8b8f;
	font-size: 12px;
	text-align: center;
}

.entry-content {
	max-width: 760px;
	margin-inline: auto;
	color: #253c42;
	font-size: 17px;
	line-height: 1.88;
}

.entry-content > * {
	margin-top: 0;
	margin-bottom: 1.45em;
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
	margin-top: 2.1em;
	margin-bottom: 0.7em;
	scroll-margin-top: 24px;
}

.entry-content h2 {
	padding-bottom: 10px;
	border-bottom: 1px solid var(--wl-border);
	font-size: 29px;
}

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

.entry-content a:not(.wp-block-button__link) {
	color: var(--wl-green-dark);
	text-decoration: underline;
	text-decoration-color: rgba(25, 120, 74, 0.35);
	text-underline-offset: 3px;
}

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

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

.entry-content blockquote {
	padding: 20px 24px;
	background: var(--wl-green-light);
	border-left: 4px solid var(--wl-green);
	border-radius: 0 var(--wl-radius-small) var(--wl-radius-small) 0;
	color: #214b39;
}

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

.entry-content figure,
.entry-content .wp-block-image {
	margin-block: 2em;
}

.entry-content img {
	border-radius: var(--wl-radius-small);
}

.entry-content figcaption {
	margin-top: 7px;
	color: #78898d;
	font-size: 12px;
	text-align: center;
}

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

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

.entry-content table {
	width: 100%;
	border-spacing: 0;
	border-collapse: separate;
	overflow: hidden;
	border: 1px solid var(--wl-border);
	border-radius: 10px;
	font-size: 14px;
}

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

.entry-content th {
	background: #eef5f1;
	font-weight: 750;
}

.entry-content tr:last-child td,
.entry-content tr:last-child th {
	border-bottom: 0;
}

.entry-content td:last-child,
.entry-content th:last-child {
	border-right: 0;
}

.entry-content code,
.entry-content pre {
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
}

.entry-content pre {
	padding: 18px;
	overflow-x: auto;
	background: #122d34;
	border-radius: var(--wl-radius-small);
	color: #edf5f1;
	font-size: 14px;
}

.entry-content .adsbygoogle,
.entry-content [id^="google_ads"],
.entry-content .google-auto-placed {
	max-width: 100%;
	margin-block: 30px;
}

.article-tags {
	display: flex;
	max-width: 760px;
	flex-wrap: wrap;
	gap: 8px;
	margin: 42px auto 0;
	padding-top: 24px;
	border-top: 1px solid var(--wl-border);
}

.post-navigation-cards {
	display: grid;
	max-width: 760px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 13px;
	margin: 28px auto 0;
}

.post-navigation-cards > div {
	padding: 17px;
	background: #fff;
	border: 1px solid var(--wl-border);
	border-radius: 10px;
}

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

.post-navigation-cards span {
	display: block;
	margin-bottom: 4px;
	color: #7a8b8f;
	font-size: 11px;
}

.post-navigation-cards a {
	display: -webkit-box;
	overflow: hidden;
	font-size: 13px;
	font-weight: 700;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.related-guides {
	margin-top: 68px;
	padding-top: 40px;
	border-top: 1px solid var(--wl-border);
}

.comments-area {
	max-width: 760px;
	margin: 55px auto 0;
	padding: 28px;
	background: #fff;
	border: 1px solid var(--wl-border);
	border-radius: var(--wl-radius);
}

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

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

.comment-list .children {
	padding-left: 24px;
	list-style: none;
}

.comment-body {
	padding-block: 18px;
	border-bottom: 1px solid var(--wl-border);
}

.comment-author {
	display: flex;
	align-items: center;
	gap: 9px;
}

.comment-author .avatar {
	border-radius: 50%;
}

.comment-metadata,
.comment-notes,
.logged-in-as {
	color: #78898d;
	font-size: 12px;
}

.comment-form label {
	display: block;
	margin-bottom: 5px;
	font-size: 13px;
	font-weight: 700;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
	width: 100%;
	padding: 11px 12px;
	background: var(--wl-canvas);
	border: 1px solid var(--wl-border-strong);
	border-radius: 9px;
}

/* Footer */
.site-footer {
	background: #fff;
	border-top: 1px solid var(--wl-border);
}

.site-footer__grid {
	display: grid;
	grid-template-columns: minmax(260px, 1.5fr) repeat(2, minmax(160px, 0.7fr));
	gap: 48px;
	padding-block: 46px 38px;
}

.site-footer__brand p {
	max-width: 360px;
	margin: 15px 0 0;
	color: var(--wl-ink-soft);
	font-size: 13px;
}

.site-footer__column h2,
.footer-widget__title {
	margin: 0 0 13px;
	font-size: 14px;
}

.site-footer__column li + li,
.footer-menu li + li {
	margin-top: 7px;
}

.site-footer__column li,
.footer-menu li {
	color: var(--wl-ink-soft);
	font-size: 12px;
}

.site-footer__bottom {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding-block: 17px 22px;
	border-top: 1px solid var(--wl-border);
	color: #7a8b8f;
	font-size: 11px;
}

.site-footer__bottom p {
	margin: 0;
}

.back-to-top {
	font-weight: 700;
}

@media (max-width: 1020px) {
	.site-header__primary {
		grid-template-columns: minmax(180px, 1fr) minmax(300px, 430px) auto;
	}

	.header-about {
		font-size: 0;
	}

	.header-about span {
		font-size: 18px;
	}

	.front-intro__grid {
		grid-template-columns: minmax(0, 2.15fr) minmax(250px, 1fr);
	}

	.lead-story,
	.lead-story__visual {
		min-height: 380px;
	}

	.content-with-sidebar {
		grid-template-columns: minmax(0, 1fr) 270px;
		gap: 22px;
	}

	.post-card__media {
		height: 165px;
	}

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

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

@media (max-width: 760px) {
	.site-shell {
		width: min(calc(100% - 28px), var(--wl-shell));
	}

	.section-pad {
		padding-block: 28px 54px;
	}

	.site-header__primary {
		grid-template-columns: 1fr auto;
		gap: 16px;
		min-height: 67px;
	}

	.site-brand__mark {
		width: 36px;
		height: 36px;
		border-radius: 10px;
	}

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

	.custom-logo {
		max-width: 185px;
		max-height: 42px;
	}

	.header-search,
	.header-about {
		display: none;
	}

	.menu-toggle {
		display: grid;
		width: 42px;
		min-height: 42px;
		place-items: center;
		padding: 0;
		background: #fff;
		border: 1px solid var(--wl-border);
		border-radius: 10px;
	}

	.menu-toggle__bars {
		display: grid;
		gap: 4px;
	}

	.menu-toggle__bars span {
		display: block;
		width: 18px;
		height: 2px;
		background: var(--wl-ink);
		border-radius: 3px;
	}

	.primary-navigation {
		position: fixed;
		inset: 121px 0 0;
		display: none;
		overflow-y: auto;
		background: rgba(246, 248, 247, 0.98);
	}

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

	.primary-navigation__inner {
		display: block;
		padding-block: 14px;
	}

	.primary-menu {
		display: block;
		background: #fff;
		border: 1px solid var(--wl-border);
		border-radius: 14px;
	}

	.primary-menu > li + li {
		border-top: 1px solid var(--wl-border);
	}

	.primary-menu > li > a {
		padding: 14px 16px;
		border-bottom: 0;
	}

	.primary-menu .sub-menu {
		position: static;
		display: block;
		width: auto;
		padding: 0 15px 12px 28px;
		background: transparent;
		border: 0;
		box-shadow: none;
	}

	.mobile-search {
		display: block;
		padding-bottom: 12px;
	}

	.mobile-search .search-field {
		height: 42px;
		background: var(--wl-canvas);
	}

	.front-intro__grid {
		grid-template-columns: 1fr;
	}

	.lead-story,
	.lead-story__visual {
		min-height: 430px;
	}

	.lead-story__shade {
		background: linear-gradient(0deg, rgba(5, 31, 39, 0.92), rgba(5, 31, 39, 0.16) 85%);
	}

	.lead-story__content {
		left: 25px;
		bottom: 26px;
		width: calc(100% - 50px);
	}

	.lead-story__title {
		font-size: 31px;
	}

	.editors-picks {
		padding: 19px 17px;
	}

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

	.front-sidebar {
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		padding-top: 0;
	}

	.front-sidebar .sidebar-card--accent {
		grid-column: 1 / -1;
	}

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

	.singular-header h1 {
		font-size: 37px;
	}

	.singular-header__intro {
		font-size: 16px;
	}

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

	.entry-content h2 {
		font-size: 25px;
	}

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

	.site-footer__grid {
		grid-template-columns: 1.4fr 1fr 1fr;
		gap: 30px;
	}
}

@media (max-width: 540px) {
	.post-grid,
	.post-grid--three,
	.post-grid--archive,
	.front-sidebar,
	.site-footer__grid {
		grid-template-columns: 1fr;
	}

	.post-card__media,
	.post-grid--compact .post-card__media {
		height: 210px;
	}

	.front-sidebar .sidebar-card--accent {
		grid-column: auto;
	}

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

	.region-grid {
		gap: 9px;
	}

	.region-card {
		min-height: 120px;
		padding: 13px;
	}

	.region-card__label {
		font-size: 14px;
	}

	.region-card__arrow {
		top: 9px;
		right: 9px;
		width: 26px;
		height: 26px;
	}

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

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

	.singular-header h1 {
		font-size: 32px;
	}

	.singular-featured-image {
		margin-bottom: 30px;
	}

	.comments-area {
		padding: 21px 17px;
	}

	.empty-state,
	.not-found-page {
		padding: 42px 20px;
	}

	.site-footer__grid {
		gap: 28px;
	}

	.site-footer__bottom {
		align-items: flex-start;
		gap: 14px;
	}
}

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

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