/* Stage 7 archive, taxonomy, search, 404 and article layouts. */
.ark-compact-page-header {
	padding: clamp(44px, 5vw, 72px) 0 clamp(34px, 4vw, 54px);
	border-bottom: 1px solid var(--ark-border);
	background: linear-gradient(135deg, #fff 0%, var(--ark-bg-soft) 100%);
}

.ark-compact-page-header__grid {
	display: grid;
	grid-template-columns: minmax(0, 1.45fr) minmax(300px, .75fr);
	gap: clamp(34px, 5vw, 76px);
	align-items: end;
}

.ark-compact-page-header h1,
.ark-article-header h1,
.ark-404-hero h1 {
	max-width: 860px;
	margin: 12px 0 18px;
	font-size: clamp(2.35rem, 4.5vw, 4.7rem);
	line-height: 1.04;
	letter-spacing: -.025em;
}

.ark-compact-page-header p,
.ark-article-lead,
.ark-404-hero__inner > p {
	max-width: 760px;
	margin: 0;
	color: var(--ark-text-muted);
	font-size: clamp(1rem, 1.2vw, 1.12rem);
	line-height: 1.75;
}

.ark-compact-page-header__tools {
	display: grid;
	gap: 16px;
	align-content: end;
}

.ark-header-fact {
	display: flex;
	align-items: baseline;
	gap: 10px;
}

.ark-header-fact strong {
	color: var(--ark-primary);
	font-size: clamp(2rem, 3.3vw, 3.6rem);
	line-height: 1;
}

.ark-header-fact span,
.ark-search-query {
	color: var(--ark-text-muted);
}

.ark-inline-search {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 8px;
	padding: 6px;
	border: 1px solid var(--ark-border);
	border-radius: 999px;
	background: #fff;
	box-shadow: 0 10px 28px rgba(31, 79, 45, .07);
}

.ark-inline-search input {
	min-width: 0;
	padding: 12px 16px;
	border: 0;
	outline: 0;
	background: transparent;
}

.ark-inline-search button {
	padding: 11px 20px;
	border: 0;
	border-radius: 999px;
	color: #fff;
	background: var(--ark-primary);
	font-weight: 700;
	cursor: pointer;
}

.ark-inline-search--large {
	width: min(100%, 620px);
}

.ark-listing-main,
.ark-search-results,
.ark-result-section {
	padding-top: clamp(42px, 5vw, 70px);
	padding-bottom: clamp(54px, 7vw, 92px);
}

.ark-product-grid,
.ark-article-grid {
	display: grid;
	gap: 24px;
}

.ark-product-grid {
	grid-template-columns: repeat(4, minmax(0, 1fr));
	align-items: stretch;
}

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

.ark-content-card {
	min-width: 0;
	overflow: hidden;
	border: 1px solid var(--ark-border);
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 14px 36px rgba(17, 24, 39, .06);
}

.ark-product-grid .ark-content-card {
	display: flex;
	height: 100%;
	flex-direction: column;
}

.ark-content-card__media {
	display: block;
	aspect-ratio: 4 / 3;
	overflow: hidden;
	background: var(--ark-bg-soft);
}

.ark-content-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ark-content-card__body {
	display: grid;
	gap: 13px;
	padding: 24px;
}

.ark-product-grid .ark-content-card__body {
	flex: 1 1 auto;
	grid-template-rows: auto auto 1fr auto;
}

.ark-product-grid .ark-content-card__actions {
	align-self: end;
}

.ark-content-card__label,
.ark-eyebrow {
	display: inline-block;
	color: var(--ark-primary);
	font-size: .76rem;
	font-weight: 800;
	letter-spacing: .13em;
	text-transform: uppercase;
}

.ark-content-card h3,
.ark-page-result-card h3 {
	margin: 0;
	font-size: clamp(1.25rem, 1.7vw, 1.6rem);
	line-height: 1.22;
	letter-spacing: -.01em;
}

.ark-content-card h3 a,
.ark-page-result-card h3 a {
	color: var(--ark-text);
	text-decoration: none;
}

.ark-content-card p,
.ark-page-result-card p {
	margin: 0;
	color: var(--ark-text-muted);
	line-height: 1.7;
}

.ark-content-card__actions,
.ark-empty-state__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	align-items: center;
}

.ark-text-link {
	color: var(--ark-primary);
	font-weight: 750;
	text-decoration: none;
}

.ark-button--small {
	min-height: 38px;
	padding: 8px 14px;
	font-size: .88rem;
}

.ark-button--outline {
	border: 1px solid var(--ark-primary);
	color: var(--ark-primary);
	background: transparent;
}

.ark-button--outline:hover,
.ark-button--outline:focus-visible {
	color: #fff;
	background: var(--ark-primary);
}

.ark-result-section + .ark-result-section {
	border-top: 1px solid var(--ark-border);
}

.ark-result-section__heading {
	display: flex;
	justify-content: space-between;
	gap: 20px;
	align-items: end;
	margin-bottom: 24px;
}

.ark-result-section__heading h2 {
	margin: 0;
	font-size: clamp(1.8rem, 3vw, 3rem);
}

.ark-result-section__heading span {
	color: var(--ark-text-muted);
}

.ark-page-results {
	display: grid;
	gap: 14px;
}

.ark-page-result-card {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: 24px;
	align-items: center;
	padding: 24px 26px;
	border: 1px solid var(--ark-border);
	border-radius: 22px;
	background: #fff;
}

.ark-empty-state {
	max-width: 860px;
	margin-inline: auto;
	padding: clamp(40px, 6vw, 78px);
	text-align: center;
	border: 1px solid var(--ark-border);
	border-radius: 34px;
	background: var(--ark-bg-soft);
}

.ark-empty-state h2 {
	margin: 8px 0 14px;
	font-size: clamp(2rem, 4vw, 3.8rem);
	line-height: 1.08;
}

.ark-empty-state p {
	color: var(--ark-text-muted);
	line-height: 1.75;
}

.ark-empty-state__actions {
	justify-content: center;
	margin-top: 24px;
}

.ark-simple-link-section {
	padding: 56px 0;
}

.ark-chip-links {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.ark-chip-links a {
	padding: 9px 14px;
	border: 1px solid var(--ark-border);
	border-radius: 999px;
	color: var(--ark-primary);
	background: var(--ark-bg-soft);
	font-weight: 700;
	text-decoration: none;
}

.ark-404-hero {
	padding: clamp(56px, 8vw, 110px) 0;
	background: linear-gradient(135deg, var(--ark-bg-soft), #fff);
}

.ark-404-hero__inner {
	max-width: 960px;
	text-align: center;
}

.ark-404-code {
	margin: 0;
	color: rgba(47, 107, 63, .13);
	font-size: clamp(5rem, 15vw, 12rem);
	font-weight: 900;
	line-height: .82;
}

.ark-404-hero .ark-inline-search,
.ark-404-hero .ark-empty-state__actions {
	margin-inline: auto;
	margin-top: 24px;
}

.ark-b2b-intro {
	padding-top: 44px;
	padding-bottom: 10px;
}

.ark-article-header {
	padding: clamp(52px, 7vw, 94px) 0 clamp(38px, 5vw, 62px);
	border-bottom: 1px solid var(--ark-border);
	background: linear-gradient(135deg, #fff, var(--ark-bg-soft));
}

.ark-article-header__inner {
	max-width: 980px;
}

.ark-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	color: var(--ark-text-muted);
	font-size: .9rem;
}

.ark-breadcrumbs a {
	color: var(--ark-primary);
	text-decoration: none;
}

.ark-article-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin: 16px 0;
	color: var(--ark-text-muted);
	font-size: .92rem;
}

.ark-article-meta a {
	color: var(--ark-primary);
	font-weight: 700;
	text-decoration: none;
}

.ark-article-meta a:hover,
.ark-article-meta a:focus-visible { text-decoration: underline; }

.ark-archive-description > :first-child { margin-top: 0; }
.ark-archive-description > :last-child { margin-bottom: 0; }

.ark-article-layout {
	display: grid;
	grid-template-columns: minmax(0, 760px) minmax(280px, 360px);
	gap: clamp(42px, 6vw, 84px);
	align-items: start;
	padding-top: clamp(46px, 6vw, 78px);
	padding-bottom: clamp(50px, 7vw, 92px);
}


.ark-article-layout--no-sidebar {
	grid-template-columns: minmax(0, 900px);
	justify-content: center;
}

.ark-article-main,
.ark-article-content {
	min-width: 0;
}

.ark-article-featured {
	margin: 0 0 34px;
	overflow: hidden;
	border-radius: 30px;
}

.ark-article-featured img {
	width: 100%;
	height: auto;
}

.ark-article-content {
	font-size: 1.05rem;
	line-height: 1.82;
}

.ark-article-content h2,
.ark-article-content h3 {
	scroll-margin-top: calc(var(--ark-admin-bar-height, 0px) + var(--ark-header-height-desktop, 84px) + 32px);
	letter-spacing: -.012em;
}

.ark-article-content h2 {
	margin: 2.4em 0 .7em;
	font-size: clamp(1.8rem, 3vw, 2.7rem);
}

.ark-article-content h3 {
	margin: 1.8em 0 .6em;
	font-size: clamp(1.35rem, 2vw, 1.75rem);
}

.ark-article-sidebar {
	--ark-article-sidebar-top: calc(var(--ark-admin-bar-height, 0px) + var(--ark-header-height-desktop, 84px) + 26px);
	--ark-article-sidebar-max-height: calc(100vh - var(--ark-admin-bar-height, 0px) - var(--ark-header-height-desktop, 84px) - 50px);
	display: grid;
	min-height: 0;
	align-self: start;
	gap: clamp(14px, 2.2vh, 22px);
	position: sticky;
	top: var(--ark-article-sidebar-top);
}

.ark-article-sidebar.is-enhanced {
	max-height: var(--ark-article-sidebar-max-height);
	overflow: hidden;
}

.ark-article-sidebar.is-short-viewport {
	position: static;
	max-height: none;
	overflow: visible;
}

.ark-article-toc,
.ark-article-cta {
	min-height: 0;
	padding: clamp(18px, 2.7vh, 24px);
	border: 1px solid var(--ark-border);
	border-radius: 26px;
	background: #fff;
	box-shadow: 0 12px 34px rgba(17, 24, 39, .05);
}

.ark-article-toc {
	display: grid;
	max-height: clamp(300px, 48vh, 520px);
	grid-template-rows: auto minmax(0, 1fr);
	overflow: hidden;
}

.ark-article-toc h2,
.ark-article-cta h2 {
	margin: 0 0 clamp(10px, 1.6vh, 14px);
	font-size: clamp(1.08rem, 2.2vh, 1.3rem);
	line-height: 1.25;
	overflow-wrap: anywhere;
}

.ark-article-toc__toggle {
	display: none;
}

.ark-article-toc-mobile-slot {
	display: none;
}

.ark-article-toc-mobile-slot:empty,
.ark-article-sidebar.is-empty {
	display: none;
}

.ark-article-toc__panel {
	display: grid;
	min-height: 0;
	height: 100%;
	grid-template-rows: minmax(0, 1fr);
	overflow: hidden;
}

.ark-article-toc ol,
.ark-article-cta__content {
	scrollbar-color: rgba(47, 107, 63, .34) transparent;
	scrollbar-width: thin;
}

.ark-article-toc ol {
	display: grid;
	min-height: 0;
	height: 100%;
	max-height: 100%;
	gap: 9px;
	margin: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding: 0 10px 2px 44px;
	scrollbar-gutter: stable;
}

.ark-article-toc.is-scrollable ol {
	overflow-y: scroll;
}

.ark-article-toc ol::-webkit-scrollbar,
.ark-article-cta__content::-webkit-scrollbar {
	width: 6px;
}

.ark-article-toc ol::-webkit-scrollbar-track,
.ark-article-cta__content::-webkit-scrollbar-track {
	background: rgba(47, 107, 63, .06);
}

.ark-article-toc ol::-webkit-scrollbar-thumb,
.ark-article-cta__content::-webkit-scrollbar-thumb {
	border-radius: 999px;
	background: rgba(47, 107, 63, .42);
}

.ark-article-toc ol::-webkit-scrollbar-thumb:hover,
.ark-article-cta__content::-webkit-scrollbar-thumb:hover {
	background: rgba(47, 107, 63, .58);
}

.ark-article-toc li {
	transition: color .18s ease;
}

.ark-article-toc li.is-h3 {
	margin-left: 14px;
	font-size: .92rem;
}

.ark-article-toc a {
	display: inline-block;
	color: var(--ark-text-muted);
	text-decoration: none;
	transition: color .18s ease;
}

.ark-article-toc a:hover,
.ark-article-toc a:focus-visible,
.ark-article-toc a.is-current {
	color: var(--ark-primary);
}

.ark-article-toc a.is-current {
	font-weight: 750;
}

.ark-article-toc li.is-current::marker {
	color: var(--ark-primary);
}

.ark-article-cta {
	display: grid;
	max-height: min(44vh, 440px);
	grid-template-rows: minmax(0, 1fr) auto;
	overflow: hidden;
	background: var(--ark-bg-soft);
}

.ark-article-cta__content {
	min-height: 0;
	overflow-y: auto;
	overscroll-behavior: contain;
	padding-right: 8px;
}

.ark-article-cta__content > :last-child {
	margin-bottom: 0;
}

.ark-article-cta__actions {
	min-width: 0;
	padding-top: clamp(14px, 2vh, 18px);
}

.ark-article-cta__actions .ark-button {
	width: 100%;
	min-width: 0;
	max-width: 100%;
	padding-inline: 18px;
	white-space: normal;
	overflow-wrap: anywhere;
}

.ark-article-cta p {
	margin: 0;
	color: var(--ark-text-muted);
	line-height: 1.65;
	overflow-wrap: anywhere;
}

@media (prefers-reduced-motion: reduce) {
	.ark-article-toc li,
	.ark-article-toc a,
	.ark-article-toc__toggle-icon::before,
	.ark-article-toc__toggle-icon::after,
	.ark-article-toc__panel {
		transition: none;
	}
}

.ark-article-related > .ark-module:first-of-type {
	border-top: 1px solid var(--ark-border);
}

.pagination,
.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	justify-content: center;
	margin-top: 38px;
}

.page-numbers {
	display: grid;
	min-width: 42px;
	height: 42px;
	place-items: center;
	padding: 0 12px;
	border: 1px solid var(--ark-border);
	border-radius: 999px;
	color: var(--ark-primary);
	background: #fff;
	text-decoration: none;
}

.page-numbers.current {
	color: #fff;
	background: var(--ark-primary);
}

@media (max-width: 1180px) {
	.ark-product-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 1024px) {
	.ark-compact-page-header__grid,
	.ark-article-layout {
		grid-template-columns: 1fr;
	}
	.ark-compact-page-header__tools {
		max-width: 720px;
	}
	.ark-article-content h2,
	.ark-article-content h3 {
		scroll-margin-top: calc(var(--ark-admin-bar-height, 0px) + var(--ark-header-height-mobile, 68px) + 24px);
	}
	.ark-article-sidebar,
	.ark-article-sidebar.is-enhanced,
	.ark-article-sidebar.is-short-viewport {
		max-height: none;
		position: static;
		grid-template-columns: repeat(2, minmax(0, 1fr));
		overflow: visible;
	}
	.ark-article-sidebar.ark-article-sidebar--cta-only,
	.ark-article-sidebar.ark-article-sidebar--toc-only {
		grid-template-columns: minmax(0, 1fr);
	}
	.ark-article-toc-mobile-slot {
		display: block;
		margin: 0 0 clamp(24px, 5vw, 34px);
	}
	.ark-article-toc-mobile-slot:empty {
		display: none;
	}
	.ark-article-toc.is-mobile {
		height: auto;
		max-height: none;
		padding: 0;
		overflow: hidden;
		border-radius: 22px;
	}
	.ark-article-toc.is-mobile .ark-article-toc__desktop-title {
		display: none;
	}
	.ark-article-toc.is-mobile .ark-article-toc__toggle {
		display: flex;
		width: 100%;
		min-height: 58px;
		align-items: center;
		justify-content: space-between;
		gap: 14px;
		padding: 15px 18px;
		border: 0;
		background: transparent;
		color: var(--ark-text);
		font: inherit;
		font-size: 1.08rem;
		font-weight: 800;
		line-height: 1.25;
		text-align: left;
		cursor: pointer;
		position: relative;
		z-index: 1;
		touch-action: manipulation;
	}
	.ark-article-toc__toggle-icon {
		position: relative;
		flex: 0 0 18px;
		width: 18px;
		height: 18px;
	}
	.ark-article-toc__toggle-icon::before,
	.ark-article-toc__toggle-icon::after {
		content: "";
		position: absolute;
		top: 8px;
		width: 10px;
		height: 2px;
		border-radius: 999px;
		background: currentColor;
		transition: transform .18s ease;
	}
	.ark-article-toc__toggle-icon::before {
		left: 1px;
		transform: rotate(-45deg);
	}
	.ark-article-toc__toggle-icon::after {
		right: 1px;
		transform: rotate(45deg);
	}
	.ark-article-toc.is-mobile.is-collapsed .ark-article-toc__toggle-icon::before {
		transform: rotate(45deg);
	}
	.ark-article-toc.is-mobile.is-collapsed .ark-article-toc__toggle-icon::after {
		transform: rotate(-45deg);
	}
	.ark-article-toc.is-mobile .ark-article-toc__panel {
		height: auto;
		max-height: var(--ark-mobile-toc-panel-height, 2400px);
		opacity: 1;
		visibility: visible;
		overflow: hidden;
		transition: none;
	}
	.ark-article-toc.is-mobile.has-mobile-toc-transition .ark-article-toc__panel {
		transition: max-height .28s cubic-bezier(.2, .75, .25, 1), opacity .18s ease, visibility 0s linear 0s;
	}
	.ark-article-toc.is-mobile.is-collapsed .ark-article-toc__panel {
		max-height: 0;
		opacity: 0;
		visibility: hidden;
		transition: none;
	}
	.ark-article-toc.is-mobile.has-mobile-toc-transition.is-collapsed .ark-article-toc__panel {
		transition: max-height .24s cubic-bezier(.4, 0, .6, 1), opacity .15s ease, visibility 0s linear .24s;
	}
	.ark-article-toc.is-mobile ol {
		height: auto;
		max-height: none;
		margin: 0;
		padding: 16px 22px 20px 38px;
		border-top: 1px solid var(--ark-border);
		overflow: visible;
		scrollbar-gutter: auto;
	}
	.ark-article-toc,
	.ark-article-cta {
		height: auto;
		max-height: none;
		overflow: visible;
	}
	.ark-article-cta__content {
		overflow: visible;
		padding-right: 0;
		scrollbar-gutter: auto;
	}
}

@media (max-width: 820px) {
	.ark-product-grid,
	.ark-article-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.ark-compact-page-header {
		padding: 34px 0 30px;
	}
	.ark-compact-page-header h1,
	.ark-article-header h1,
	.ark-404-hero h1 {
		font-size: clamp(2rem, 10vw, 3rem);
	}
	.ark-product-grid,
	.ark-article-grid,
	.ark-article-sidebar {
		grid-template-columns: 1fr;
	}
	.ark-page-result-card {
		grid-template-columns: 1fr;
		align-items: start;
	}
	.ark-content-card {
		border-radius: 22px;
	}
	.ark-content-card__body {
		padding: 20px;
	}
	.ark-inline-search {
		border-radius: 20px;
		grid-template-columns: 1fr;
	}
	.ark-inline-search button {
		width: 100%;
	}
	.ark-result-section__heading {
		align-items: start;
		flex-direction: column;
	}
}

/* Stage 43: dedicated Blog and shared article archive presentation. */
.ark-blog-hero {
	position: relative;
	overflow: hidden;
	padding: clamp(38px, 5vw, 72px) 0 0;
	border-bottom: 1px solid var(--ark-border);
	background:
		radial-gradient(circle at 88% 18%, rgba(138, 177, 119, .18) 0, rgba(138, 177, 119, .18) 90px, transparent 91px),
		linear-gradient(135deg, #fff 0%, #f3f8f2 100%);
}

.ark-blog-breadcrumbs {
	margin-bottom: clamp(24px, 3vw, 38px);
}

.ark-blog-hero__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(32px, 6vw, 88px);
	align-items: end;
	padding-bottom: clamp(34px, 4vw, 54px);
}

.ark-blog-hero__copy {
	max-width: 850px;
}

.ark-blog-hero h1 {
	margin: 10px 0 18px;
	font-size: clamp(2.55rem, 5vw, 5rem);
	line-height: 1;
	letter-spacing: -.035em;
}

.ark-blog-hero__intro {
	max-width: 720px;
	color: var(--ark-text-muted);
	font-size: clamp(1rem, 1.2vw, 1.12rem);
	line-height: 1.75;
}

.ark-blog-hero__intro > :first-child {
	margin-top: 0;
}

.ark-blog-hero__intro > :last-child {
	margin-bottom: 0;
}

.ark-blog-hero__count {
	display: grid;
	min-width: 190px;
	gap: 7px;
	padding: 24px 28px;
	border: 1px solid rgba(36, 88, 50, .14);
	border-radius: 24px;
	background: rgba(255, 255, 255, .82);
	box-shadow: 0 16px 42px rgba(31, 79, 45, .07);
	backdrop-filter: blur(8px);
}

.ark-blog-hero__count strong {
	color: var(--ark-primary);
	font-size: clamp(2.25rem, 4vw, 4rem);
	line-height: .95;
}

.ark-blog-hero__count span {
	color: var(--ark-text-muted);
	font-size: .88rem;
	font-weight: 700;
	letter-spacing: .06em;
	text-transform: uppercase;
}

.ark-blog-topics {
	display: grid;
	grid-template-columns: auto minmax(0, 1fr);
	gap: 18px 28px;
	align-items: center;
	padding: 18px 0 20px;
	border-top: 1px solid rgba(36, 88, 50, .12);
}

.ark-blog-topics__label {
	color: var(--ark-text);
	font-size: .84rem;
	font-weight: 800;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.ark-blog-topics__links {
	display: flex;
	min-width: 0;
	flex-wrap: wrap;
	gap: 9px;
}

.ark-blog-topics__links a {
	display: inline-flex;
	align-items: center;
	min-height: 38px;
	padding: 8px 15px;
	border: 1px solid var(--ark-border);
	border-radius: 999px;
	color: var(--ark-text);
	background: rgba(255, 255, 255, .72);
	font-size: .9rem;
	font-weight: 700;
	text-decoration: none;
	transition: border-color .2s ease, color .2s ease, background-color .2s ease, transform .2s ease;
}

.ark-blog-topics__links a:hover,
.ark-blog-topics__links a:focus-visible,
.ark-blog-topics__links a.is-current {
	border-color: var(--ark-primary);
	color: #fff;
	background: var(--ark-primary);
}

.ark-blog-main {
	padding: clamp(46px, 6vw, 86px) 0 clamp(58px, 7vw, 104px);
}

.ark-blog-featured {
	display: grid;
	overflow: hidden;
	grid-template-columns: minmax(0, 1.25fr) minmax(340px, .75fr);
	margin-bottom: clamp(50px, 7vw, 92px);
	border: 1px solid var(--ark-border);
	border-radius: 34px;
	background: #fff;
	box-shadow: 0 22px 58px rgba(17, 24, 39, .08);
}

.ark-blog-featured__media {
	display: block;
	min-height: 430px;
	overflow: hidden;
	background: var(--ark-bg-soft);
}

.ark-blog-featured__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform .45s ease;
}

.ark-blog-featured__media:hover img,
.ark-blog-featured__media:focus-visible img {
	transform: scale(1.025);
}

.ark-blog-featured__content {
	display: flex;
	flex-direction: column;
	justify-content: center;
	padding: clamp(32px, 4.5vw, 64px);
}

.ark-blog-featured__meta,
.ark-article-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 16px;
	align-items: center;
	color: var(--ark-text-muted);
	font-size: .83rem;
	font-weight: 650;
}

.ark-blog-featured__meta {
	margin: 18px 0 14px;
}

.ark-blog-featured__meta a,
.ark-article-card__meta a {
	color: var(--ark-primary);
	font-weight: 800;
	text-decoration: none;
}

.ark-blog-featured__meta time,
.ark-article-card__meta time {
	position: relative;
}

.ark-blog-featured__meta a + time::before,
.ark-article-card__meta a + time::before {
	content: "";
	display: inline-block;
	width: 4px;
	height: 4px;
	margin: 0 12px 2px 0;
	border-radius: 50%;
	background: var(--ark-border-strong, #9eb8a4);
}

.ark-blog-featured h2 {
	margin: 0;
	font-size: clamp(2rem, 3.4vw, 3.55rem);
	line-height: 1.08;
	letter-spacing: -.028em;
}

.ark-blog-featured h2 a {
	color: var(--ark-text);
	text-decoration: none;
}

.ark-blog-featured p {
	margin: 20px 0 24px;
	color: var(--ark-text-muted);
	font-size: 1rem;
	line-height: 1.75;
}

.ark-blog-featured .ark-text-link {
	align-self: flex-start;
}

.ark-blog-listing + .pagination,
.ark-blog-listing + .nav-links {
	margin-top: 44px;
}

.ark-blog-section-heading {
	max-width: 760px;
	margin-bottom: 28px;
}

.ark-blog-section-heading h2 {
	margin: 8px 0 0;
	font-size: clamp(2rem, 3.4vw, 3.35rem);
	line-height: 1.08;
	letter-spacing: -.025em;
}

.ark-article-grid {
	align-items: stretch;
	gap: 26px;
}

.ark-article-card {
	display: flex;
	height: 100%;
	flex-direction: column;
	border-radius: 24px;
	transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.ark-article-card:hover,
.ark-article-card:focus-within {
	transform: translateY(-4px);
	border-color: rgba(36, 88, 50, .28);
	box-shadow: 0 20px 48px rgba(17, 24, 39, .1);
}

.ark-article-card .ark-content-card__media {
	aspect-ratio: 16 / 10;
}

.ark-article-card .ark-content-card__media img {
	transition: transform .4s ease;
}

.ark-article-card:hover .ark-content-card__media img,
.ark-article-card:focus-within .ark-content-card__media img {
	transform: scale(1.035);
}

.ark-article-card .ark-content-card__body {
	flex: 1 1 auto;
	grid-template-rows: auto auto 1fr auto;
	gap: 14px;
}

.ark-article-card h3 {
	font-size: clamp(1.24rem, 1.55vw, 1.5rem);
	line-height: 1.25;
}

.ark-article-card .ark-text-link {
	align-self: end;
	justify-self: start;
}

.ark-blog-cta {
	padding: 0 0 clamp(64px, 8vw, 112px);
}

.ark-blog-cta__inner {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	gap: clamp(30px, 5vw, 74px);
	align-items: center;
	padding: clamp(34px, 5vw, 62px);
	border: 1px solid rgba(36, 88, 50, .15);
	border-radius: 32px;
	background:
		radial-gradient(circle at 92% 12%, rgba(255, 255, 255, .4) 0, rgba(255, 255, 255, .4) 90px, transparent 91px),
		linear-gradient(135deg, #eaf5e8 0%, #f7faf4 100%);
}

.ark-blog-cta h2 {
	max-width: 780px;
	margin: 8px 0 14px;
	font-size: clamp(1.8rem, 3vw, 3rem);
	line-height: 1.12;
	letter-spacing: -.02em;
}

.ark-blog-cta p {
	max-width: 720px;
	margin: 0;
	color: var(--ark-text-muted);
	line-height: 1.7;
}

.ark-blog-cta__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	justify-content: flex-end;
}

@media (max-width: 1024px) {
	.ark-blog-featured {
		grid-template-columns: 1fr;
	}

	.ark-blog-featured__media {
		min-height: 0;
		aspect-ratio: 16 / 8.5;
	}

	.ark-blog-cta__inner {
		grid-template-columns: 1fr;
	}

	.ark-blog-cta__actions {
		justify-content: flex-start;
	}
}

@media (max-width: 820px) {
	.ark-blog-hero__grid {
		grid-template-columns: 1fr;
	}

	.ark-blog-hero__count {
		min-width: 0;
		width: min(100%, 280px);
	}

	.ark-blog-topics {
		grid-template-columns: 1fr;
	}
}

@media (max-width: 620px) {
	.ark-blog-hero {
		padding-top: 28px;
	}

	.ark-blog-hero h1 {
		font-size: clamp(2.25rem, 12vw, 3.35rem);
	}

	.ark-blog-featured,
	.ark-blog-cta__inner {
		border-radius: 24px;
	}

	.ark-blog-featured__media {
		aspect-ratio: 4 / 3;
	}

	.ark-blog-featured__content {
		padding: 26px 22px 30px;
	}

	.ark-blog-featured h2 {
		font-size: clamp(1.75rem, 8.5vw, 2.45rem);
	}

	.ark-blog-topics__links {
		flex-wrap: nowrap;
		overflow-x: auto;
		padding-bottom: 4px;
		scrollbar-width: thin;
	}

	.ark-blog-topics__links a {
		flex: 0 0 auto;
	}

	.ark-blog-cta__actions {
		align-items: stretch;
		flex-direction: column;
	}

	.ark-blog-cta__actions .ark-button {
		width: 100%;
	}
}

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

.ark-article-grid--items-1 {
	grid-template-columns: minmax(0, 440px);
}

@media (max-width: 620px) {
	.ark-article-grid--items-2,
	.ark-article-grid--items-1 {
		grid-template-columns: 1fr;
	}
}
