/* ==========================================================================
   POSTS.CSS — Post type specific styles
   Archives, single posts, cards, projects
   ========================================================================== */


/* ==========================================================================
   ARCHIVE HEADER
   ========================================================================== */

.archive-header {
	padding-top: calc(var(--header-height) + var(--block-padding-y));

	& h1 {
		margin-bottom: 0.25em;
	}

	& .subtitle {
		max-width: 600px;
	}
}


/* ==========================================================================
   POST CARDS (Blog / News Grid)
   ========================================================================== */

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);

	@media (max-width: 900px) {
		grid-template-columns: repeat(2, 1fr);
	}

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

.post-card {
	display: flex;
	flex-direction: column;

	& .post-card-image {
		display: block;
		overflow: hidden;
		aspect-ratio: 4/3;
		margin-bottom: 1.25rem;

		& img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			transition: transform var(--transition-slow);
		}

		&:hover img {
			transform: scale(1.03);
		}
	}

	& .post-card-content {
		flex: 1;
		display: flex;
		flex-direction: column;

		& .eyebrow {
			margin-bottom: 0.5em;
		}

		& h3 {
			font-size: var(--fs-h5);
			margin-bottom: 0.5em;

			& a:hover {
				color: var(--color-primary);
			}
		}

		& p {
			font-size: var(--fs-small);
			opacity: 0.7;
			flex: 1;
		}

		& .read-more {
			margin-top: 1rem;
		}
	}
}


/* ==========================================================================
   PROJECTS GRID (Case Studies)
   ========================================================================== */

.projects-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: clamp(1.5rem, 3vw, 2.5rem);

	@media (max-width: 900px) {
		grid-template-columns: repeat(2, 1fr);
	}

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

.project-card {
	display: flex;
	flex-direction: column;

	& .project-card-image {
		display: block;
		overflow: hidden;
		aspect-ratio: 16/10;
		margin-bottom: 1.25rem;

		& img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			transition: transform var(--transition-slow);
		}

		&:hover img {
			transform: scale(1.03);
		}
	}

	& .project-card-content {
		flex: 1;
		display: flex;
		flex-direction: column;

		& .eyebrow {
			margin-bottom: 0.5em;
		}

		& h3 {
			font-size: var(--fs-h5);
			margin-bottom: 0.5em;

			& a:hover {
				color: var(--color-primary);
			}
		}

		& p {
			font-size: var(--fs-small);
			opacity: 0.7;
			flex: 1;
		}

		& .read-more {
			margin-top: 1rem;
		}
	}
}


/* ==========================================================================
   SINGLE POST
   ========================================================================== */

.single-post {

	/* ── Header ────────────────────────────────────────────────────── */
	& .single-post-header {
		padding-top: calc(var(--header-height) + var(--block-padding-y));
		padding-bottom: clamp(2rem, 4vw, 3rem);
	}

	& .single-post-header-inner {
		display: block;
	}

	& .single-post-title-row {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 1.25rem 3rem;
	}

	& .single-post-header-inner h1 {
		margin-bottom: 0;
		font-size: clamp(2.5rem, 4vw, 4.5rem);
	}

	& .single-post-date {
		font-family: var(--font-heading);
		font-weight: var(--fw-heading);
		font-size: var(--fs-h5);
		margin: 0;
	}


	/* ── Gallery / Image ───────────────────────────────────────────── */
	& .single-post-gallery {
		padding-top: 0;
		padding-bottom: clamp(2rem, 4vw, 3.5rem);
	}


	/* ── Content + Related Articles Grid ───────────────────────────── */
	& .post-body-grid {
		display: grid;
		grid-template-columns: 1fr 360px;
		gap: clamp(3rem, 6vw, 6rem);
		align-items: start;
		padding-top: clamp(2.5rem, 5vw, 5rem);
		padding-bottom: 0;

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

	& .post-body-main {

		& .post-body-featured-image {
			margin-bottom: clamp(2rem, 4vw, 3rem);

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

		& h2,
		& .wysiwyg h2 {
			font-size: var(--fs-h3);
			margin-bottom: 0.5em;
		}

		& h3,
		& .wysiwyg h3 {
			font-size: var(--fs-h4);
			margin-bottom: 0.5em;
		}

		& h4,
		& .wysiwyg h4 {
			font-size: var(--fs-h5);
			margin-bottom: 0.5em;
		}

		& .wysiwyg img {
			border-radius: 0;
		}
	}


	/* ── Related-Articles Sidebar ──────────────────────────────────── */
	& .post-sidebar-section {
		& + .post-sidebar-section {
			margin-top: 2rem;
			padding-top: 2rem;
			border-top: 1px solid var(--color-alt-bg);
		}
	}

	& .post-sidebar-heading {
		font-family: var(--font-heading);
		font-weight: 600;
		font-size: var(--fs-h4);
		margin-bottom: 1em;
		color: var(--color-primary);
	}

	& .post-related-list {
		list-style: none;
		margin: 0;
		padding: 0;
	}

	& .post-related-item {
		padding: 1.5rem 0;
		border-top: 1px solid var(--color-alt-bg);

		&:last-child {
			border-bottom: 1px solid var(--color-alt-bg);
		}
	}

	& .post-related-title {
		font-family: var(--font-heading);
		font-weight: var(--fw-heading);
		font-size: var(--fs-body);
		line-height: var(--lh-heading);
		margin: 0 0 0.65em;
	}

	& .post-related-date {
		display: block;
		font-family: var(--font-body);
		font-size: var(--fs-small);
		opacity: 0.5;
		margin-bottom: 0.6em;
	}

	& .post-related-excerpt {
		font-size: var(--fs-small);
		opacity: 0.7;
		margin: 0 0 0.75em;
		line-height: var(--lh-body);
	}

	& .post-related-item .read-more {
		font-size: var(--fs-small);
	}


	/* ── Post Navigation ───────────────────────────────────────────── */
	& .single-post-nav {
		padding-top: 0;
		padding-bottom: 0;
	}

	& .post-nav {
		padding: clamp(2rem, 4vw, 3.5rem) 0;
	}

	& .post-nav-divider {
		height: 1px;
		background: var(--color-alt-bg);
	}

	& .post-nav-links {
		display: flex;
		justify-content: space-between;
		align-items: stretch;
		gap: 2rem;
		padding: clamp(1.5rem, 3vw, 2.5rem) 0;
	}

	& .post-nav-link {
		display: flex;
		align-items: center;
		gap: 1rem;
		text-decoration: none;
		color: var(--color-black);
		max-width: 48%;
		transition: color var(--transition-fast);

		&:hover {
			color: var(--color-primary);

			& .post-nav-arrow {
				background: var(--color-primary);
				color: var(--color-white);
			}
		}
	}

	& .post-nav-placeholder {
		flex: 1;
	}

	& .post-nav-next {
		margin-left: auto;
		text-align: right;
	}

	& .post-nav-arrow {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		width: 2.5rem;
		height: 2.5rem;
		border-radius: 50%;
		background: var(--color-alt-bg);
		flex-shrink: 0;
		transition: background var(--transition-fast), color var(--transition-fast);
	}

	& .post-nav-meta {
		display: flex;
		flex-direction: column;
		gap: 0.2em;
	}

	& .post-nav-label {
		font-family: var(--font-body);
		font-size: var(--fs-small);
		opacity: 0.55;
	}

	& .post-nav-title {
		font-family: var(--font-heading);
		font-weight: var(--fw-heading);
		font-size: var(--fs-body);
		line-height: var(--lh-heading);
	}

	@media (max-width: 600px) {
		& .post-nav-links {
			flex-direction: column;
			gap: 1rem;
		}

		& .post-nav-link {
			max-width: 100%;
		}

		& .post-nav-next {
			margin-left: 0;
			text-align: left;
			flex-direction: row-reverse;
		}
	}
}


/* ==========================================================================
   PAGINATION
   ========================================================================== */

.nav-links {
	display: flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	margin-top: 3rem;
	font-family: var(--font-heading);

	& a,
	& span {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		min-width: 42px;
		height: 42px;
		padding: 0.25em 0.75em;
		border-radius: var(--radius-pill);
		font-weight: 500;
		font-size: var(--fs-small);
		transition: all var(--transition-fast);
	}

	& a:hover {
		background: var(--color-primary);
		color: var(--color-white);
	}

	& .current {
		background: var(--color-primary);
		color: var(--color-white);
	}
}


/* ==========================================================================
   PROJECT SLIDER (shared by case studies & blog posts)
   ========================================================================== */

.project-slider {
	position: relative;
	overflow: hidden;
}

.project-slider-track {
	position: relative;
	aspect-ratio: 16 / 9;

	@media (max-width: 600px) {
		aspect-ratio: 4 / 3;
	}
}

.project-slider-slide {
	position: absolute;
	inset: 0;
	opacity: 0;
	transition: opacity 0.5s ease;
	z-index: 0;
	cursor: zoom-in;
}

.project-slider-slide.is-active {
	opacity: 1;
	z-index: 1;
}

.project-slider-slide img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.project-slider-controls {
	position: absolute;
	bottom: 1.25rem;
	right: 1.25rem;
	display: flex;
	align-items: center;
	gap: 0.25rem;
	z-index: 5;
}

.project-slider-counter {
	font-family: var(--font-heading);
	font-weight: 500;
	font-size: var(--fs-small);
	font-variant-numeric: tabular-nums;
	background: var(--color-white);
	color: var(--color-black);
	padding: 0 1rem;
	height: 44px;
	display: inline-flex;
	align-items: center;
	user-select: none;
}

.project-slider-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 44px;
	height: 44px;
	background: var(--color-white);
	border: none;
	border-radius: 0;
	cursor: pointer;
	color: var(--color-black);
	transition: background var(--transition-fast), color var(--transition-fast);
}

.project-slider-btn:hover {
	background: var(--color-black);
	color: var(--color-white);
}


/* ==========================================================================
   SINGLE PROJECT (CASE STUDY)
   ========================================================================== */

.single-project {

	/* ── Header ────────────────────────────────────────────────────── */
	& .single-project-header {
		padding-top: calc(var(--header-height) + var(--block-padding-y));
		padding-bottom: clamp(2rem, 4vw, 3rem);
	}

	& .single-project-header-inner {
		display: block;
	}

	& .single-project-title-row {
		display: flex;
		align-items: baseline;
		justify-content: space-between;
		flex-wrap: wrap;
		gap: 1.25rem 3rem;
	}

	& .single-project-header-inner h1 {
		margin-bottom: 0;
		font-size: clamp(2.5rem, 4vw, 4.5rem);
	}

	& .single-project-address {
		font-family: var(--font-heading);
		font-weight: var(--fw-heading);
		font-size: var(--fs-h5);
		margin: 0;
	}


	/* ── Gallery Slider ────────────────────────────────────────────── */
	& .single-project-gallery {
		padding-top: 0;
		padding-bottom: clamp(2rem, 4vw, 3.5rem);
	}


	/* ── Key Info Bar ──────────────────────────────────────────────── */
	& .single-project-keyinfo {
		padding-top: clamp(2rem, 4vw, 3.5rem);
		padding-bottom: clamp(2rem, 4vw, 3.5rem);
	}

	& .project-keyinfo-grid {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		gap: 1.5rem 3rem;
	}

	& .project-keyinfo-item {
		display: flex;
		align-items: baseline;
		gap: 0.6em;
		font-size: var(--fs-body);
	}

	& .project-keyinfo-label {
		font-family: var(--font-heading);
		font-weight: 600;
	}

	& .project-keyinfo-sep {
		opacity: 0.35;
	}

	& .project-keyinfo-value {
		opacity: 0.8;
	}


	/* ── Key Statement ─────────────────────────────────────────────── */
	& .project-statement-text {
		font-family: var(--font-heading);
		font-size: var(--fs-h3);
		font-weight: var(--fw-heading);
		line-height: var(--lh-heading);
		letter-spacing: var(--ls-heading);
		text-align: center;
		margin: 0;
	}


	/* ── Content + Sidebar Grid ────────────────────────────────────── */
	& .project-body-grid {
		display: grid;
		grid-template-columns: 1fr 360px;
		gap: clamp(3rem, 6vw, 6rem);
		align-items: start;
		padding-top: clamp(4rem, 7vw, 7rem);
		padding-bottom: 0;

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

	& .project-body-main {

		& .project-body-eyebrow {
			font-family: var(--font-body);
			font-weight: 400;
			font-size: var(--fs-body);
			text-transform: none;
			letter-spacing: normal;
			color: var(--color-black);
			opacity: 0.5;
			margin-top: -0.3em;
			margin-bottom: 0.75em;
		}

		& h2 {
			font-size: var(--fs-h3);
			margin-bottom: 0.5em;
		}

		& .wysiwyg img {
			border-radius: 0;
		}

		& .project-instruction-heading {
			font-size: var(--fs-h3);
			margin-top: 3rem;
			margin-bottom: 0.5em;
			padding-top: 2.5rem;
			border-top: 1px solid var(--color-alt-bg);
		}

		& .project-instruction {
			margin-top: 0;
			padding-top: 0;
		}
	}


	/* ── Sidebar Sections ──────────────────────────────────────────── */
	& .project-sidebar-section {
		& + .project-sidebar-section {
			margin-top: 2rem;
			padding-top: 2rem;
			border-top: 1px solid var(--color-alt-bg);
		}
	}

	& .project-sidebar-heading {
		font-family: var(--font-heading);
		font-weight: 600;
		font-size: var(--fs-h5);
		margin-bottom: 0.6em;
	}

	& .project-body-sidebar p {
		font-size: var(--fs-body);
		line-height: var(--lh-body);
		opacity: 0.8;
		margin: 0;
	}

	/* Tag pill links */
	& .project-sidebar-tags {
		display: flex;
		flex-wrap: wrap;
		gap: 0.4rem;
		margin: 0;
		padding: 0;
		list-style: none;
	}

	& .project-sidebar-tag {
		display: inline-block;
		padding: 0.3em 0.85em;
		background: var(--color-alt-bg);
		font-family: var(--font-heading);
		font-size: var(--fs-small);
		font-weight: 500;
		color: var(--color-black);
		text-decoration: none;
		border-radius: var(--radius-pill);
		transition: background var(--transition-fast), color var(--transition-fast);

		&:hover {
			background: var(--color-primary);
			color: var(--color-white);
		}
	}

}


/* ==========================================================================
   BLOG ARCHIVE (News + Trends)
   ========================================================================== */

.blog-archive {

	/* ── Header ──────────────────────────────────────────────────── */
	& .blog-archive-header {
		padding-top: calc(50px + var(--block-padding-y));
		padding-bottom: clamp(2rem, 4vw, 3.5rem);

		& h1 {
			margin-bottom: 0;
		}
	}


	/* ── Filters ─────────────────────────────────────────────────── */
	& .blog-filters {
		position: relative;
		z-index: 30;
		margin-bottom: clamp(2.5rem, 4.5vw, 4rem);
	}

	& .blog-filters-row {
		display: flex;
		align-items: center;
		gap: 0.75rem;
		flex-wrap: wrap;
	}

	& .blog-filter-group,
	& .blog-sort-group {
		position: relative;
		z-index: 30;
	}

	& .blog-sort-group {
		margin-left: auto;
	}

	& .blog-filter-toggle {
		display: inline-flex;
		align-items: center;
		gap: 0.6em;
		padding: 0.65em 2.25em;
		border: none;
		box-shadow: none;
		border-radius: var(--radius-pill);
		background: var(--color-alt-bg);
		font-family: var(--font-heading);
		font-weight: 500;
		font-size: var(--fs-small);
		color: var(--color-black);
		cursor: pointer;
		transition: background var(--transition-fast), color var(--transition-fast),
			box-shadow var(--transition-fast);

		&:hover {
			background: var(--color-black);
			color: var(--color-white);
		}

		&[aria-expanded="true"] {
			background: var(--color-primary);
			color: var(--color-white);
		}

		&.has-active {
			background: var(--color-primary);
			color: var(--color-white);
		}
	}

	& .blog-filter-chevron {
		width: 10px;
		height: auto;
		transition: transform var(--transition-fast);

		[aria-expanded="true"] & {
			transform: rotate(180deg);
		}
	}

	& .blog-filter-dropdown {
		position: absolute;
		top: calc(100% + 0.65rem);
		left: 0;
		z-index: 40;
		min-width: 280px;
		max-height: 360px;
		overflow-y: auto;
		padding: 0.5rem;
		background: var(--color-white);
		border-radius: var(--radius-md);
		box-shadow: 0 12px 48px rgba(0, 0, 0, 0.15), 0 2px 8px rgba(0, 0, 0, 0.08);
		opacity: 0;
		transform: translateY(-6px);
		transition: opacity 0.25s cubic-bezier(0.22, 1, 0.36, 1),
			transform 0.25s cubic-bezier(0.22, 1, 0.36, 1);
		pointer-events: none;

		&[hidden] {
			display: block !important;
			opacity: 0;
			transform: translateY(-6px);
			pointer-events: none;
			visibility: hidden;
		}

		&.is-open {
			opacity: 1;
			transform: translateY(0);
			pointer-events: auto;
			visibility: visible;
		}

		&::-webkit-scrollbar { width: 5px; }
		&::-webkit-scrollbar-track { background: transparent; }
		&::-webkit-scrollbar-thumb {
			background: var(--color-alt-bg);
			border-radius: 3px;
		}
	}

	& .blog-sort-dropdown {
		left: auto;
		right: 0;
	}

	& .blog-filter-option {
		display: flex;
		align-items: center;
		gap: 0.75em;
		padding: 0.6em 0.85em;
		margin: 0;
		font-family: var(--font-body);
		font-size: var(--fs-small);
		cursor: pointer;
		border-radius: 8px;
		transition: background var(--transition-fast);
		user-select: none;

		&:hover {
			background: var(--color-cream);
		}

		& input[type="checkbox"],
		& input[type="radio"] {
			appearance: none;
			-webkit-appearance: none;
			width: 20px;
			height: 20px;
			border: 2px solid var(--color-alt-bg);
			border-radius: 6px;
			background: var(--color-white);
			cursor: pointer;
			transition: border-color var(--transition-fast), background var(--transition-fast);
			position: relative;
			flex-shrink: 0;

			&:checked {
				background: var(--color-primary);
				border-color: var(--color-primary);
			}

			&:checked::after {
				content: '';
				position: absolute;
				left: 5px;
				top: 2px;
				width: 6px;
				height: 10px;
				border: solid var(--color-white);
				border-width: 0 2px 2px 0;
				transform: rotate(45deg);
			}

			&:focus-visible {
				outline: 2px solid var(--color-primary);
				outline-offset: 2px;
			}
		}

		& input[type="radio"] {
			border-radius: 50%;

			&:checked::after {
				left: 4px;
				top: 4px;
				width: 8px;
				height: 8px;
				border: none;
				border-radius: 50%;
				background: var(--color-white);
				transform: none;
			}
		}

		& span {
			line-height: 1.3;
		}

		& .blog-option-count {
			margin-left: auto;
			font-size: 0.8em;
			opacity: 0.4;
			font-weight: 600;
		}
	}

	& .blog-clear-filters {
		display: inline-flex;
		align-items: center;
		padding: 0;
		border: none;
		background: transparent;
		font-family: var(--font-heading);
		font-weight: 500;
		font-size: var(--fs-small);
		color: var(--color-black);
		opacity: 0.55;
		cursor: pointer;
		transition: opacity var(--transition-fast);
		margin-left: 0.25rem;

		&:hover { opacity: 1; }
	}


	/* ── Blog Grid — alternating 2fr 3fr / 3fr 2fr ─────────────── */
	& .blog-grid {
		display: grid;
		grid-template-columns: repeat(5, 1fr);
		gap: clamp(1.25rem, 2.5vw, 2rem);
	}

	/*  Repeating 4-card pattern:
	    Row A  →  card (2fr)  +  card (3fr)
	    Row B  →  card (3fr)  +  card (2fr)       */
	& .blog-card:nth-child(4n+1) { grid-column: 1 / 3; }
	& .blog-card:nth-child(4n+2) { grid-column: 3 / 6; }
	& .blog-card:nth-child(4n+3) { grid-column: 1 / 4; }
	& .blog-card:nth-child(4n+4) { grid-column: 4 / 6; }


	/* ── Card ────────────────────────────────────────────────────── */
	& .blog-card {
		display: flex;
		flex-direction: column;
		opacity: 0;
		transform: translateY(-20px);
		transition: opacity 0.5s cubic-bezier(0.22, 1, 0.36, 1),
			transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);

		&.is-visible {
			opacity: 1;
			transform: translateY(0);
		}

		&.is-hidden {
			display: none;
		}
	}

	& .blog-card-link {
		display: flex;
		flex-direction: column;
		height: 100%;
		text-decoration: none;
		color: var(--color-black);
	}

	& .blog-card-image {
		overflow: hidden;
		height: clamp(220px, 26vw, 440px);
		flex-shrink: 0;

		& img {
			width: 100%;
			height: 100%;
			object-fit: cover;
			transition: transform var(--transition-slow);
		}
	}

	& .blog-card-link:hover .blog-card-image img {
		transform: scale(1.04);
	}

	& .blog-card-content {
		padding: 1.25rem;
		flex: 1;
		display: flex;
		flex-direction: column;
		background: var(--color-alt-bg);
	}

	& .blog-card-date {
		display: block;
		font-family: var(--font-body);
		font-size: var(--fs-small);
		opacity: 0.55;
		margin-bottom: 0.4em;
	}

	& .blog-card-title {
		font-family: var(--font-heading);
		font-size: var(--fs-h5);
		font-weight: var(--fw-heading);
		line-height: var(--lh-heading);
		margin-bottom: 0.45em;
		transition: color var(--transition-fast);
	}

	& .blog-card-link:hover .blog-card-title {
		color: var(--color-primary);
	}

	& .blog-card-excerpt {
		font-size: var(--fs-small);
		line-height: 1.55;
		opacity: 0.65;
		margin: 0;
		display: -webkit-box;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
		overflow: hidden;
	}


	/* ── No results ──────────────────────────────────────────────── */
	& .blog-no-results {
		text-align: center;
		padding: clamp(3rem, 6vw, 5rem) 1rem;

		& h3 {
			margin-bottom: 0.5em;
		}

		& p {
			max-width: 420px;
			margin: 0 auto 1.5rem;
			opacity: 0.65;
		}
	}


	/* ── Load more ───────────────────────────────────────────────── */
	& .blog-load-more-wrap {
		text-align: center;
		margin-top: clamp(2.5rem, 4vw, 4rem);
	}

	/* ── Showing count ───────────────────────────────────────────── */
	& .blog-showing-count {
		font-family: var(--font-body);
		font-size: var(--fs-small);
		color: var(--color-black);
		opacity: 0.4;
		margin: 0;
	}

	& .blog-showing-count--top {
		white-space: nowrap;
		flex-shrink: 0;
	}

	& .blog-showing-count--bottom {
		margin-top: 1.25rem;
	}
}


/* ── Responsive: tablet & below → equal 2-col grid ─────────────────── */
@media (max-width: 900px) {
	.blog-archive .blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.blog-archive .blog-card:nth-child(4n+1),
	.blog-archive .blog-card:nth-child(4n+2),
	.blog-archive .blog-card:nth-child(4n+3),
	.blog-archive .blog-card:nth-child(4n+4) {
		grid-column: auto;
	}
}

/* ── Mobile: single column ──────────────────────────────────────────── */
@media (max-width: 600px) {
	.blog-archive .blog-grid {
		grid-template-columns: 1fr;
	}

	.blog-archive .blog-card-image {
		height: clamp(200px, 50vw, 280px);
	}

	.blog-archive .blog-filters-row {
		gap: 0.5rem;
	}

	.blog-archive .blog-filter-toggle {
		padding: 0.55em 1.5em;
		font-size: 0.875rem;
	}

	.blog-archive .blog-sort-group {
		margin-left: 0;
	}
}
