.sw-blog,
.sw-blog *,
.sw-blog-article,
.sw-blog-article * {
	box-sizing: border-box;
}

/* Forest Workshop palette and type scale, scoped to the journal. */
.sw-blog,
.sw-blog-article {
	--sw-blog-ink: #333;
	--sw-blog-body: #4b514e;
	--sw-blog-muted: #666;
	--sw-blog-accent: #387e80;
	--sw-blog-highlight: #c39160;
	--sw-blog-paper: #f7f6f2;
	--sw-blog-border: #dedbd3;
	--sw-blog-card: #fff;
	--sw-blog-page-title: clamp(44px, 5.4vw, 75px);
	--sw-blog-card-title: 21px;
	--sw-blog-body-size: 16px;
	--sw-blog-lead: 17px;
	--sw-blog-caption: 14px;
	--sw-blog-label: 12px;
	max-width: 100%;
	background: var(--sw-blog-paper);
	color: var(--sw-blog-ink);
	font-family: "Nunito Sans", "Noto Sans SC", "PingFang SC", "Microsoft YaHei", sans-serif;
}

.sw-blog {
	min-height: 520px;
	margin: 0 auto;
	padding: 112px 24px 96px;
}

.sw-blog__intro {
	max-width: 760px;
	margin: 0 auto;
	text-align: center;
}

.sw-blog__title {
	margin: 0;
	color: var(--sw-blog-accent);
	font-size: var(--sw-blog-page-title);
	font-weight: 800;
	letter-spacing: -.055em;
	line-height: 1.045;
}

.sw-blog__description {
	max-width: 580px;
	margin: 18px auto 0;
	color: var(--sw-blog-muted);
	font-size: var(--sw-blog-lead);
	font-weight: 400;
	line-height: 1.7;
}

.sw-blog__categories {
	display: flex;
	max-width: 1160px;
	margin: 36px auto 44px;
	align-items: center;
	justify-content: center;
	gap: 10px;
	overflow-x: auto;
	scrollbar-width: none;
}

.sw-blog__categories::-webkit-scrollbar {
	display: none;
}

.sw-blog__category {
	display: inline-flex;
	min-height: 42px;
	padding: 0 18px;
	border-radius: 999px;
	align-items: center;
	justify-content: center;
	color: var(--sw-blog-body);
	font-size: var(--sw-blog-caption);
	font-weight: 700;
	line-height: 1.3;
	text-decoration: none;
	white-space: nowrap;
	transition: background-color .18s ease, color .18s ease;
}

.sw-blog__category:hover,
.sw-blog__category:focus-visible {
	color: var(--sw-blog-accent);
}

.sw-blog__category.is-active {
	background: var(--sw-blog-accent);
	color: #fff;
}

.sw-blog__grid {
	display: grid;
	width: 100%;
	max-width: 1160px;
	margin: 0 auto;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

.sw-blog-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--sw-blog-border);
	border-radius: 16px;
	background: var(--sw-blog-card);
	box-shadow: 0 2px 7px rgb(25 25 20 / 4%);
	transition: transform .24s ease, box-shadow .24s ease;
}

.sw-blog-card:hover {
	transform: translateY(-4px);
	box-shadow: 0 16px 34px rgb(25 25 20 / 10%);
}

.sw-blog-card__image-link {
	position: relative;
	display: block;
	width: 100%;
	overflow: hidden;
	aspect-ratio: 1.05;
	background: #eeece7;
}

.sw-blog-card__image-link > .sw-blog-card__image {
	position: absolute;
	inset: 0;
	display: block;
	width: 100%;
	height: 100%;
	max-width: none;
	max-height: none;
	object-fit: cover;
	object-position: center;
	transition: transform .36s ease;
}

.sw-blog-card:hover .sw-blog-card__image {
	transform: scale(1.04);
}

.sw-blog-card__image--empty {
	background: linear-gradient(135deg, #e4e1da, #f7f5ef);
}

.sw-blog-card__body {
	display: flex;
	min-height: 204px;
	padding: 18px 20px;
	flex-direction: column;
}

.sw-blog-card__category {
	overflow: hidden;
	margin: 0 0 6px;
	color: var(--sw-blog-accent);
	font-size: var(--sw-blog-label);
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.4;
	text-overflow: ellipsis;
	text-transform: uppercase;
	white-space: nowrap;
}

.sw-blog-card__title {
	display: -webkit-box;
	overflow: hidden;
	margin: 0;
	color: var(--sw-blog-ink);
	font-size: var(--sw-blog-card-title);
	font-weight: 800;
	letter-spacing: -.025em;
	line-height: 1.25;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sw-blog-card__title a {
	color: inherit;
	text-decoration: none;
}

.sw-blog-card__title a:hover,
.sw-blog-card__title a:focus-visible {
	color: var(--sw-blog-accent);
}

.sw-blog-card__excerpt {
	display: -webkit-box;
	overflow: hidden;
	margin: 8px 0 10px;
	color: var(--sw-blog-muted);
	font-size: var(--sw-blog-caption);
	font-weight: 400;
	line-height: 1.7;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 2;
}

.sw-blog-card__meta {
	display: flex;
	margin-top: auto;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	color: #777;
	font-size: var(--sw-blog-caption);
	line-height: 1.5;
}

.sw-blog-card__meta a {
	color: var(--sw-blog-accent);
	font-size: var(--sw-blog-caption);
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.sw-blog-card__meta a:hover {
	text-decoration: underline;
}

.sw-blog__more-wrap {
	display: flex;
	margin: 48px auto 0;
	align-items: center;
	justify-content: center;
	gap: 20px;
}

.sw-blog .sw-blog__more {
	display: inline-flex;
	min-height: 44px;
	padding: 0 24px;
	align-items: center;
	justify-content: center;
	border: 1px solid var(--sw-blog-accent);
	border-radius: 999px;
	background: transparent;
	color: var(--sw-blog-accent);
	font-family: inherit;
	font-size: var(--sw-blog-caption);
	font-weight: 700;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: background-color .18s ease, color .18s ease, opacity .18s ease;
}

.sw-blog .sw-blog__more:hover,
.sw-blog .sw-blog__more:focus-visible {
	background: var(--sw-blog-accent);
	color: #fff;
}

.sw-blog .sw-blog__more.is-loading {
	opacity: .55;
	cursor: wait;
}

.sw-blog .sw-blog__more.is-complete[aria-disabled="true"] {
	border-color: var(--sw-blog-border);
	background: #edf3ef;
	color: #59716b;
	opacity: 1;
	cursor: default;
}

.sw-blog .sw-blog__previous {
	color: var(--sw-blog-accent);
	font-size: var(--sw-blog-caption);
	font-weight: 700;
	text-decoration: none;
}

.sw-blog .sw-blog__previous:hover {
	text-decoration: underline;
}

.sw-blog__load-error {
	margin: 14px 0 0;
	color: #a54242;
	font-size: var(--sw-blog-caption);
	text-align: center;
}

.sw-blog__empty {
	grid-column: 1 / -1;
	padding: 72px 24px;
	border: 1px solid var(--sw-blog-border);
	border-radius: 16px;
	background: var(--sw-blog-card);
	text-align: center;
}

.sw-blog__empty h2 {
	margin: 0;
	color: var(--sw-blog-accent);
	font-size: 21px;
	font-weight: 800;
}

.sw-blog__empty p {
	margin: 14px 0 0;
	color: var(--sw-blog-muted);
	font-size: var(--sw-blog-body-size);
	line-height: 1.7;
}

.sw-blog-article__breadcrumbs,
.sw-blog-article__header,
.sw-blog-article__cover,
.sw-blog-article__content,
.sw-blog-article__footer {
	max-width: 820px;
	margin-right: auto;
	margin-left: auto;
}

.sw-blog-article__breadcrumbs {
	display: flex;
	margin-bottom: 36px;
	flex-wrap: wrap;
	gap: 9px;
	color: #77817e;
	font-size: var(--sw-blog-caption);
	line-height: 1.5;
}

.sw-blog-article__breadcrumbs a {
	color: inherit;
	text-decoration: none;
}

.sw-blog-article__breadcrumbs a:hover,
.sw-blog-article__breadcrumbs a:focus-visible {
	color: var(--sw-blog-accent);
}

.sw-blog-article__header {
	text-align: center;
}

.sw-blog-article__category {
	margin: 0 0 16px;
	color: var(--sw-blog-accent);
	font-size: var(--sw-blog-label);
	font-weight: 800;
	letter-spacing: .12em;
	line-height: 1.4;
	text-transform: uppercase;
}

.sw-blog-article__header h1 {
	margin: 0;
	color: #293432;
	font-size: clamp(44px, 4vw, 56px);
	font-weight: 800;
	letter-spacing: -.055em;
	line-height: 1.045;
}

.sw-blog-article__header time {
	display: block;
	margin-top: 20px;
	color: #77817e;
	font-size: var(--sw-blog-caption);
	line-height: 1.6;
}

.sw-blog-article__cover {
	display: block;
	width: min(100%, 820px);
	overflow: hidden;
	margin: 42px auto 0 !important;
	border-radius: 16px;
}

.sw-blog-article__cover img {
	display: block;
	width: 100%;
	height: auto;
	max-height: 620px;
	object-fit: cover;
}

.sw-blog-article__content {
	margin-top: 48px;
	color: var(--sw-blog-body);
	font-size: var(--sw-blog-body-size);
	font-weight: 400;
	line-height: 1.7;
}

.sw-blog-article__content > * {
	max-width: 100%;
}

.sw-blog-article__content p,
.sw-blog-article__content ul,
.sw-blog-article__content ol {
	margin: 0 0 22px;
}

.sw-blog-article__content h2,
.sw-blog-article__content h3 {
	color: #293432;
	font-family: inherit;
	font-weight: 800;
	letter-spacing: -.045em;
	line-height: 1.13;
}

.sw-blog-article__content h2 {
	margin: 48px 0 18px;
	font-size: clamp(30px, 3vw, 38px);
}

.sw-blog-article__content h3 {
	margin: 32px 0 14px;
	font-size: 21px;
	line-height: 1.25;
}

.sw-blog-article__content img {
	height: auto;
	border-radius: 10px;
}

.sw-blog-article__content a,
.sw-blog-article__footer a {
	color: var(--sw-blog-accent);
}

.sw-blog-article__footer {
	margin-top: 64px;
	padding-top: 24px;
	border-top: 1px solid var(--sw-blog-border);
}

.sw-blog-article__footer a {
	font-size: var(--sw-blog-caption);
	font-weight: 700;
	text-decoration: none;
}

.sw-blog :is(a, button):focus-visible,
.sw-blog-article a:focus-visible {
	outline: 2px solid var(--sw-blog-highlight);
	outline-offset: 3px;
}

.swem-blog-list-view .sw-global-header:not(.is-scrolled):not(.is-menu-open) {
	border-bottom: 1px solid rgba(222, 219, 211, .78);
	background: rgba(247, 246, 242, .96);
	box-shadow: 0 8px 28px rgba(29, 47, 43, .08);
}

.swem-blog-list-view .sw-global-header:not(.is-scrolled):not(.is-menu-open) .sw-global-header__logo,
.swem-blog-list-view .sw-global-header:not(.is-scrolled):not(.is-menu-open) .sw-global-header__menu > li > a,
.swem-blog-list-view .sw-global-header:not(.is-scrolled):not(.is-menu-open) .sw-global-header__toggle {
	color: #333 !important;
	text-shadow: none;
}

.swem-blog-list-view .sw-global-header .current-menu-item > a,
.swem-blog-list-view .sw-global-header .current_page_item > a {
	color: #387e80 !important;
}

.swem-blog-list-view .sw-global-header:not(.is-scrolled):not(.is-menu-open) .sw-global-header__logo-image--light {
	opacity: 0;
	visibility: hidden;
}

.swem-blog-list-view .sw-global-header:not(.is-scrolled):not(.is-menu-open) .sw-global-header__logo-image--dark {
	opacity: 1;
	visibility: visible;
}

@media (max-width: 1100px) {
	.sw-blog__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	.sw-blog,
	.sw-blog-article {
		--sw-blog-page-title: clamp(41px, 10vw, 57px);
		--sw-blog-lead: 16px;
	}

	.sw-blog {
		padding: 100px 18px 72px;
	}

	.sw-blog__categories {
		justify-content: flex-start;
		margin: 28px -18px 32px;
		padding: 0 18px;
	}

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

	.sw-blog-card__body {
		min-height: 204px;
	}

	.sw-blog-article__breadcrumbs {
		margin-bottom: 28px;
	}

	.sw-blog-article__header h1 {
		font-size: clamp(41px, 10vw, 57px);
	}

	.sw-blog-article__cover {
		margin-top: 32px !important;
		border-radius: 12px;
	}

	.sw-blog-article__content {
		margin-top: 36px;
	}

	.sw-blog-article__content h2 {
		margin-top: 38px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.sw-blog-card,
	.sw-blog-card__image,
	.sw-blog__category,
	.sw-blog__more {
		transition: none;
	}
}
