/* Magazine listing + single article (Figma 989:1086 / 993:1240) */

.blog-listing,
.blog-article {
	background: var(--color-bg, #faf8f5);
}

.blog-listing {
	overflow-x: clip;
}

.blog-listing .container,
.blog-article .container,
.blog-more .container,
.blog-faq .container {
	max-width: 1400px;
}

/* ----- Listing title ----- */
.blog-head.listing-head {
	padding-block: 48px 99px;
}

.blog-head__title,
.blog-head .listing-head__title {
	font-size: 80px;
	font-weight: 300;
	letter-spacing: -0.06em;
	line-height: 0.9;
}

/* ----- Featured ----- */
.blog-featured {
	padding-bottom: 64px;
}

.blog-featured__card {
	position: relative;
	display: block;
	overflow: hidden;
	width: 100%;
	height: 700px;
	border-radius: 16px;
	color: inherit;
	text-decoration: none;
}

.blog-featured__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 4s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-featured__card:hover .blog-featured__img,
.blog-featured__card:focus-visible .blog-featured__img,
.blog-featured__card:focus-within .blog-featured__img {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.blog-featured__img {
		transition: none;
	}

	.blog-featured__card:hover .blog-featured__img,
	.blog-featured__card:focus-visible .blog-featured__img,
	.blog-featured__card:focus-within .blog-featured__img {
		transform: none;
	}
}

.blog-featured__strip {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	align-items: center;
	gap: 16px;
	min-height: 140px;
	padding: 20px 24px;
	background: #fff;
	box-sizing: border-box;
	direction: ltr;
}

.blog-featured__plus {
	flex: 0 0 48px;
	display: grid;
	place-items: center;
}

.blog-featured__plus .icon,
.blog-featured__plus svg {
	display: block;
	width: 48px;
	height: 48px;
}

.blog-featured__copy {
	flex: 1 1 auto;
	min-width: 0;
	display: grid;
	gap: 8px;
	text-align: start;
	direction: rtl;
}

html[dir="ltr"] .blog-featured__copy {
	direction: ltr;
}

.blog-featured__meta {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.3;
	color: #252525;
}

.blog-featured__title {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 30px;
	color: #252525;
	transition: color var(--ease, 0.35s cubic-bezier(0.22, 1, 0.36, 1));
}

.blog-featured__card:hover .blog-featured__title,
.blog-featured__card:focus-visible .blog-featured__title,
.blog-featured__card:focus-within .blog-featured__title {
	color: var(--color-accent);
}

.blog-featured__excerpt {
	margin: 0;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.2;
	color: #252525;
	opacity: 0.85;
}

/* ----- Articles section ----- */
.blog-articles {
	padding-block: 32px 64px;
	border-block: 1px solid #efe7dd;
}

.press-listing .blog-articles {
	border-block-start: 0;
}

.blog-chips-scroller {
	margin-bottom: 40px;
}

.blog-chips {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
}

.blog-chips__btn {
	display: inline-flex;
	align-items: center;
	padding: 8px 20px;
	border: 1px solid #cebbaa;
	border-radius: 21px;
	background: #fff;
	color: #252525;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.2;
	text-decoration: none;
}

.blog-chips__btn.is-active,
.blog-chips__btn:hover {
	background: #efe7dd;
	border-color: #efe7dd;
	color: #252525;
}

.blog-grid,
.blog-more__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
}

.post-card {
	min-width: 0;
}

.post-card__link {
	display: flex;
	flex-direction: column;
	gap: 12px;
	color: inherit;
	text-decoration: none;
	text-align: start;
}

.post-card__media {
	overflow: hidden;
	border-radius: 8px;
}

.post-card__media img {
	width: 100%;
	height: 220px;
	aspect-ratio: auto;
	object-fit: cover;
	border-radius: 8px;
	display: block;
	transform: scale(1);
	transform-origin: center center;
	transition: transform 4s cubic-bezier(0.22, 1, 0.36, 1);
}

.post-card__link:hover .post-card__media img,
.post-card__link:focus-visible .post-card__media img,
.post-card__link:focus-within .post-card__media img {
	transform: scale(1.05);
}

@media (prefers-reduced-motion: reduce) {
	.post-card__media img {
		transition: none;
	}

	.post-card__link:hover .post-card__media img,
	.post-card__link:focus-visible .post-card__media img,
	.post-card__link:focus-within .post-card__media img {
		transform: none;
	}
}

.post-card__meta {
	margin: 0;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.3;
	color: #252525;
}

.press-card__logo {
	display: block;
	width: auto;
	max-width: 8.5rem;
	height: 2rem;
	margin: 0 0 0.65rem;
	object-fit: contain;
	object-position: center right;
}

.blog-featured__copy .press-card__logo {
	margin-bottom: 0.85rem;
}

.post-card__title {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.05em;
	line-height: 30px;
	color: #252525;
	transition: color var(--ease, 0.35s cubic-bezier(0.22, 1, 0.36, 1));
}

.post-card__link:hover .post-card__title,
.post-card__link:focus-visible .post-card__title,
.post-card__link:focus-within .post-card__title {
	color: var(--color-accent);
}

.post-card__excerpt {
	margin: 0;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.2;
	color: #252525;
	opacity: 0.8;
}

.blog-pages {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
	margin-top: 48px;
}

.blog-pages__link {
	display: inline-flex;
	align-items: center;
	padding: 8px 14px;
	border: 1px solid #cebbaa;
	border-radius: 21px;
	background: #fff;
	color: #252525;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.3;
	text-decoration: none;
}

.blog-pages__link.is-active,
.blog-pages__link:hover {
	background: #252525;
	border-color: #252525;
	color: #fff;
}

/* ----- Single article ----- */
.blog-article__head {
	display: grid;
	justify-items: center;
	gap: 32px;
	padding: 48px 1.25rem 0;
	text-align: center;
	direction: rtl;
}

html[dir="ltr"] .blog-article__head {
	direction: ltr;
}

.blog-article__title {
	margin: 0;
	max-width: 20ch;
	font-size: 80px;
	font-weight: 300;
	letter-spacing: -0.06em;
	line-height: 0.9;
	color: #252525;
}

.blog-article__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 16px;
	font-size: 16px;
	font-weight: 300;
	letter-spacing: -0.05em;
	line-height: 1.3;
	color: #252525;
    flex-direction: row-reverse;
}

html[dir="ltr"] .blog-article__meta {
	direction: ltr;
}

.blog-article__chip {
	padding: 6px 18px;
	border: 1px solid #cebbaa;
	border-radius: 17px;
	background: #fff;
}

.blog-article__read {
	position: relative;
}

.blog-article__read::before,
.blog-article__read::after {
	content: "";
	position: absolute;
	top: 50%;
	width: 1px;
	height: 16px;
	background: rgba(206, 187, 170, 0.6);
	transform: translateY(-50%);
}

.blog-article__read::before {
	inset-inline-start: -8px;
}

.blog-article__read::after {
	inset-inline-end: -8px;
}

.blog-article__date::before,
.blog-article__date::after {
	content: none;
}

.blog-article__hero {
	padding-block: 48px 72px;
}

.blog-article__hero-img {
	display: block;
	width: 100%;
	height: 700px;
	object-fit: cover;
	border-radius: 16px;
}

.blog-article__row {
	display: grid;
	grid-template-columns: minmax(0, 680px) 320px;
	grid-template-areas: "body side";
	justify-content: center;
	gap: 40px;
	padding-bottom: 100px;
	direction: ltr;
}

.blog-article__body {
	grid-area: body;
	min-width: 0;
	font-size: 22px;
	font-weight: 300;
	letter-spacing: -0.04em;
	line-height: 1.5;
	color: #252525;
	text-align: start;
	direction: rtl;
}

html[dir="ltr"] .blog-article__body {
	direction: ltr;
}

.blog-article__body > *:first-child {
	margin-top: 0;
}

.blog-article__body h2 {
	margin: 36px 0 16px;
	font-size: 32px;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1.25;
	scroll-margin-top: calc(var(--header-height, 5.5rem) + 1.25rem);
}

.blog-article__body h3 {
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.04em;
	line-height: 1.3;
}

.blog-article__body p,
.blog-article__body li {
	font-size: 22px;
	font-weight: 300;
	line-height: 1.5;
}

.blog-article__body ul,
.blog-article__body ol {
	margin: 0 0 20px;
	padding-inline-start: 1.25rem;
    list-style: unset !important;
}

.blog-article__body img,
.blog-article__body figure img {
	display: block;
	width: 100%;
	height: 380px;
	object-fit: cover;
	margin: 28px 0;
	border-radius: 12px;
}

.blog-article__body figure {
	margin: 28px 0;
}

.blog-article__body figure img {
	margin: 0;
}

.blog-article__body blockquote p{
    font-weight: 600 !important;
}
.blog-article__body blockquote {
	margin: 28px 0;
	padding: 32px 40px;
	border: 1px solid #cebbaa;
	background: #faf8f5;
	border-radius: 12px;
	font-weight: 600 !important;
	color: #252525;
}

.blog-article__body blockquote p:last-child {
	margin-bottom: 0;
}

.blog-article__side {
	grid-area: side;
	position: sticky;
	top: calc(var(--header-h, var(--header-height, 5.5rem)) + 1.25rem);
	align-self: start;
	display: grid;
	gap: 36px;
	min-width: 0;
	direction: rtl;
	text-align: start;
}

html[dir="ltr"] .blog-article__side {
	direction: ltr;
}

.blog-article__aside {
	min-width: 0;
}

.blog-article__aside-label {
	margin: 0 0 12px;
	font-size: 16px;
	font-weight: 400;
	letter-spacing: -0.04em;
	color: #252525;
}

.blog-share {
	display: flex;
	flex-direction: row;
	justify-content: flex-start;
	gap: 10px;
}

.blog-share__btn {
	display: grid;
	place-items: center;
	width: 36px;
	height: 36px;
	border: 1px solid var(--color-accent, #cebbaa);
	border-radius: 50%;
	background: #fff;
	color: var(--color-accent, #cebbaa);
	font-size: 13px;
	font-weight: 600;
	text-decoration: none;
	transition:
		background-color var(--ease, 0.35s cubic-bezier(0.22, 1, 0.36, 1)),
		border-color var(--ease, 0.35s cubic-bezier(0.22, 1, 0.36, 1)),
		color var(--ease, 0.35s cubic-bezier(0.22, 1, 0.36, 1));
}

.blog-share__btn .icon,
.blog-share__btn svg {
	display: block;
	width: 18px;
	height: 18px;
}

.blog-share__btn .icon,
.blog-share__btn .icon svg {
	color: inherit;
}

.blog-share__btn:hover,
.blog-share__btn:focus-visible {
	background: var(--color-accent, #cebbaa);
	border-color: var(--color-accent, #cebbaa);
	color: var(--color-white, #fff);
	outline: none;
}

.blog-toc-panel {
	margin: 0;
	padding: 0;
	border: 0;
	background: transparent;
}

.blog-toc-panel__summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin: 0 0 12px;
	padding: 0;
	list-style: none;
	cursor: default;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.04em;
	color: #252525;
}

.blog-toc-panel__summary::-webkit-details-marker {
	display: none;
}

.blog-toc-panel__summary::marker {
	content: "";
}

.blog-toc-panel__chevron {
	display: none;
	width: 10px;
	height: 10px;
	border-inline-end: 1.5px solid currentColor;
	border-block-end: 1.5px solid currentColor;
	transform: rotate(45deg);
	transition: transform var(--ease, 0.35s cubic-bezier(0.22, 1, 0.36, 1));
	flex-shrink: 0;
}

.blog-toc-panel[open] .blog-toc-panel__chevron {
	transform: rotate(225deg);
}

.blog-toc {
	margin: 0;
	padding: 0;
	list-style: none;
	display: grid;
	gap: 20px;
	text-align: start;
}

.blog-toc a {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	gap: 6px;
	font-size: 20px;
	font-weight: 400;
	letter-spacing: -0.03em;
	line-height: 1.2;
	color: #252525;
	text-decoration: none;
	transition: color 0.2s ease;
}

.blog-toc a:hover {
	color: #cebbaa;
}

.blog-toc a.is-active {
	color: #2B5561;
	font-weight: 400;
}

/* ----- More articles ----- */
.blog-more {
	padding-block: 48px 80px;
}

.blog-more__title {
	margin: 0 0 40px;
	text-align: center;
	font-size: 64px;
	font-weight: 400;
	letter-spacing: -0.05em;
	line-height: 1;
	color: #252525;
}

.blog-faq {
	padding-block: 80px;
}

.blog-projects.home-projects {
	width: calc(100% + (2 * var(--gutter, 1.25rem)));
	max-width: none;
	margin-top: 0;
	margin-inline: calc(-1 * var(--gutter, 1.25rem));
	padding-inline: 0;
	box-sizing: border-box;
}

@media (max-width: 1200px) {
	.blog-head.listing-head {
		padding-block: 40px 64px;
	}

	.blog-head__title,
	.blog-head .listing-head__title,
	.blog-article__title {
		font-size: clamp(40px, 6vw, 64px);
		line-height: 1;
		max-width: 22ch;
	}

	.blog-featured__card,
	.blog-article__hero-img {
		height: 520px;
	}

	.blog-article__row {
		grid-template-columns: minmax(0, 1fr) 240px;
		grid-template-areas: "body side";
		gap: 28px;
		padding-bottom: 72px;
	}

	.blog-article__body h2 {
		font-size: 28px;
	}

	.blog-article__body img,
	.blog-article__body figure img {
		height: 320px;
	}


	.blog-more__title {
		font-size: clamp(32px, 5vw, 48px);
	}
}

@media (max-width: 1024px) {
	.blog-head.listing-head {
		padding-block: 1.5rem 48px;
	}

	.blog-articles {
		padding-block: 28px 48px;
	}

	.blog-grid,
	.blog-more__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 20px;
	}

	.blog-featured__card,
	.blog-article__hero-img {
		height: 420px;
	}

	.blog-featured__strip {
		min-height: 120px;
		padding: 16px 20px;
	}

	.blog-featured__title,
	.post-card__title {
		font-size: 22px;
		line-height: 1.2;
	}

	.blog-featured__excerpt,
	.post-card__excerpt,
	.blog-chips__btn {
		font-size: 16px;
	}

	.blog-listing .container {
		padding-inline: var(--gutter, 1.25rem);
		box-sizing: border-box;
	}

	.blog-articles {
		overflow-x: clip;
	}

	.blog-chips-scroller {
		margin-inline: calc(-1 * var(--gutter, 1.25rem));
		margin-bottom: 32px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		overscroll-behavior-x: contain;
	}

	.blog-chips-scroller::-webkit-scrollbar {
		display: none;
	}

	.blog-chips {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: max-content;
		min-width: 100%;
		box-sizing: border-box;
		margin: 0;
		padding-inline: var(--gutter, 1.25rem);
	}

	.blog-chips__btn {
		flex: 0 0 auto;
		white-space: nowrap;
	}

	.blog-article__head {
		gap: 24px;
		padding-inline: 1rem;
	}

	.blog-article__title {
		max-width: 100%;
	}

	.blog-article__meta {
		gap: 12px;
		max-width: 100%;
	}

	.blog-article__hero {
		padding-block: 32px 48px;
	}

	.blog-article__row {
		display: flex;
		flex-direction: column;
		gap: 24px;
		padding-bottom: 56px;
	}

	.blog-article__side {
		display: contents;
		position: static;
	}

	.blog-toc-panel {
		order: -1;
		width: 100%;
		margin: 0;
		border: 1px solid var(--color-line, #efe7dd);
		border-radius: 12px;
		background: #fff;
		overflow: hidden;
	}

	.blog-toc-panel__summary {
		cursor: pointer;
		margin: 0;
		padding: 14px 16px;
		font-size: 16px;
		line-height: 1.3;
	}

	.blog-toc-panel__chevron {
		display: block;
	}

	.blog-toc-panel .blog-toc {
		padding: 4px 16px 16px;
		gap: 12px;
	}

	.blog-toc a {
		font-size: 16px;
	}

	.blog-article__body {
		order: 1;
	}

	.blog-article__aside {
		order: 2;
		position: static;
		display: grid;
		gap: 8px;
	}

	.blog-article__body,
	.blog-article__title {
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.blog-article__body h2 {
		font-size: 28px;
	}

	.blog-article__body h3 {
		font-size: 24px;
	}

	.blog-article__body img,
	.blog-article__body figure img {
		height: 300px;
		max-width: 100%;
	}


	.blog-more,
	.blog-faq {
		padding-block: 56px;
	}
}

@media (max-width: 720px) {
	.blog-head.listing-head,
	.blog-article__head {
		padding-block: 1.25rem 28px;
	}

	.blog-article__head {
		justify-items: center;
		text-align: center;
	}

	.blog-article__head .listing-crumbs {
		display: flex;
		flex-wrap: wrap;
		justify-content: center;
		align-items: center;
		width: 100%;
		max-width: 100%;
		margin: 0;
		padding: 0;
		font-size: 0.875rem;
		line-height: 1.35;
		text-align: center;
		color: var(--color-secondary);
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.blog-article__head .listing-crumbs a,
	.blog-article__head .listing-crumbs span {
		color: inherit;
	}

	.blog-listing .listing-crumbs,
	.blog-head .listing-crumbs {
		display: flex;
		flex-wrap: wrap;
		justify-content: flex-start;
		width: 100%;
		max-width: 100%;
		font-size: 0.875rem;
		line-height: 1.35;
		overflow-wrap: anywhere;
		word-break: break-word;
	}

	.blog-featured {
		padding-bottom: 32px;
	}

	.blog-featured__card,
	.blog-article__hero-img {
		height: 280px;
		border-radius: 12px;
	}

	.blog-featured__strip {
		position: static;
		min-height: 0;
		padding: 16px;
		background: #fff;
		flex-direction: column;
		align-items: flex-start;
		gap: 10px;
	}

	.blog-featured__plus {
		display: none;
	}

	.blog-featured__card {
		height: auto;
		background: #fff;
		overflow: hidden;
	}

	.blog-featured__img {
		height: 220px;
		border-radius: 12px;
	}

	.blog-featured__plus .icon,
	.blog-featured__plus svg {
		width: 40px;
		height: 40px;
	}

	.blog-grid,
	.blog-more__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.post-card__media img {
		height: 200px;
	}

	.blog-listing .container {
		padding-inline: var(--gutter, 1.25rem);
		box-sizing: border-box;
	}

	.blog-articles {
		overflow-x: clip;
	}

	.blog-chips-scroller {
		margin-inline: calc(-1 * var(--gutter, 1.25rem));
		margin-bottom: 28px;
		overflow-x: auto;
		overflow-y: hidden;
		-webkit-overflow-scrolling: touch;
		scrollbar-width: none;
		overscroll-behavior-x: contain;
	}

	.blog-chips-scroller::-webkit-scrollbar {
		display: none;
	}

	.blog-chips {
		flex-wrap: nowrap;
		justify-content: flex-start;
		width: max-content;
		min-width: 100%;
		box-sizing: border-box;
		margin: 0;
		padding-inline: var(--gutter, 1.25rem);
	}

	.blog-chips__btn {
		flex: 0 0 auto;
		padding: 7px 16px;
		white-space: nowrap;
	}

	.blog-article__head {
		gap: 20px;
		padding-inline: 1rem;
	}

	.blog-article__title {
		max-width: 100%;
	}

	.blog-article__meta {
		gap: 10px 12px;
		font-size: 14px;
	}

	.blog-article__chip {
		padding: 5px 14px;
	}

	.blog-article__hero {
		padding-block: 24px 32px;
	}

	.blog-article__row {
		gap: 28px;
		padding-bottom: 40px;
	}

	.blog-article__body,
	.blog-article__body p,
	.blog-article__body li,
	.blog-article__body blockquote {
		font-size: 18px;
	}

	.blog-article__body h2 {
		margin: 28px 0 12px;
		font-size: 24px;
	}

	.blog-article__body h3 {
		font-size: 22px;
	}

	.blog-article__body img,
	.blog-article__body figure img {
		height: 220px;
		margin-block: 20px;
	}

	.blog-article__body blockquote {
		padding: 24px 20px;
	}




	.blog-share {
		flex-wrap: wrap;
	}

	.blog-toc {
		gap: 14px;
	}

	.blog-more {
		padding-block: 40px 56px;
	}

	.blog-more__title {
		font-size: 32px;
		margin-bottom: 24px;
	}

	.blog-faq {
		padding-block: 48px;
	}
}

@media (max-width: 480px) {
	.blog-head.listing-head,
	.blog-article__head {
		padding-block: 1rem 20px;
		gap: 16px;
	}

	.blog-head__title,
	.blog-head .listing-head__title,
	.blog-article__title {
		font-size: clamp(32px, 9vw, 40px);
	}

	.blog-featured__img,
	.blog-article__hero-img {
		height: 180px;
	}

	.blog-article__meta {
		gap: 8px 10px;
	}

	.blog-article__read::before,
	.blog-article__read::after {
		height: 12px;
	}

	.blog-article__body img,
	.blog-article__body figure img {
		height: 180px;
		border-radius: 10px;
	}

	.blog-article__body blockquote {
		padding: 20px 16px;
	}



	.post-card__media img {
		height: 180px;
	}

	.blog-more__title {
		font-size: 28px;
	}
}

/* ----- AJAX filter / pagination (keep listing values above) ----- */
.blog-pages {
	flex-direction: row-reverse;
}

.blog-chips__btn,
.blog-pages__link {
	cursor: pointer;
	transition: background-color 0.22s ease, border-color 0.22s ease, color 0.22s ease, transform 0.22s ease;
}

.blog-chips__btn:focus-visible,
.blog-pages__link:focus-visible {
	outline: 2px solid #cebbaa;
	outline-offset: 3px;
}

.blog-listing.is-busy .blog-chips,
.blog-listing.is-busy .blog-pages {
	pointer-events: none;
}

.blog-articles__stage {
	position: relative;
	min-height: 280px;
}

.blog-loader {
	position: absolute;
	inset: 0;
	z-index: 2;
	display: grid;
	align-content: start;
	padding-top: 0;
	background: rgba(250, 248, 245, 0.92);
	opacity: 0;
	visibility: hidden;
	pointer-events: none;
	transition: opacity 0.28s ease, visibility 0.28s ease;
}

.blog-loader.is-on,
.blog-listing.is-busy .blog-loader {
	opacity: 1;
	visibility: visible;
	pointer-events: auto;
}

.blog-loader[hidden] {
	display: none;
}

.blog-loader.is-on[hidden],
.blog-listing.is-busy .blog-loader[hidden] {
	display: grid;
}

.blog-loader__grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 48px 32px;
}

.blog-loader__card {
	display: block;
	min-height: 320px;
	border-radius: 8px;
	background: linear-gradient(90deg, #efe7dd 0%, #f7f2eb 45%, #efe7dd 90%);
	background-size: 200% 100%;
	animation: blog-shimmer 1.15s ease-in-out infinite;
}

.blog-loader__card::before,
.blog-loader__card::after {
	content: "";
	display: block;
	margin-top: 232px;
	height: 12px;
	width: 42%;
	border-radius: 4px;
	background: rgba(206, 187, 170, 0.45);
}

.blog-loader__card::after {
	margin-top: 14px;
	width: 72%;
	height: 18px;
}

.blog-loader__spin {
	position: absolute;
	inset: 0;
	display: grid;
	place-content: center;
	justify-items: center;
	gap: 14px;
	pointer-events: none;
}

.blog-loader__ring {
	width: 44px;
	height: 44px;
	border: 2px solid #efe7dd;
	border-top-color: #cebbaa;
	border-radius: 50%;
	animation: blog-spin 0.7s linear infinite;
}

.blog-loader__label {
	font-size: 16px;
	font-weight: 300;
	letter-spacing: -0.04em;
	color: #252525;
}

.blog-featured-slot,
.blog-articles__feed {
	overflow: hidden;
	transition: height 0.42s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.32s cubic-bezier(0.22, 1, 0.36, 1), transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-featured-slot.is-leaving,
.blog-articles__feed.is-leaving {
	opacity: 0.18;
	transform: none;
	pointer-events: none;
}

@keyframes blog-shimmer {
	0% {
		background-position: 100% 0;
	}
	100% {
		background-position: -100% 0;
	}
}

@keyframes blog-spin {
	to {
		transform: rotate(360deg);
	}
}

.blog-grid .post-card,
.blog-empty,
.blog-pages {
	transition: opacity 0.4s cubic-bezier(0.22, 1, 0.36, 1), transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.blog-grid .post-card.is-filter-enter,
.blog-empty.is-filter-enter,
.blog-pages.is-filter-enter {
	opacity: 0;
	transform: translateY(18px);
}

.blog-grid .post-card.is-filter-in,
.blog-empty.is-filter-in,
.blog-pages.is-filter-in {
	opacity: 1;
	transform: none;
}

.blog-empty {
	display: grid;
	justify-items: center;
	gap: 8px;
	padding: 48px 16px;
	text-align: center;
}

.blog-empty__title {
	margin: 0;
	font-size: 26px;
	font-weight: 600;
	letter-spacing: -0.05em;
	color: #252525;
}

.blog-empty__text {
	margin: 0;
	font-size: 20px;
	font-weight: 300;
	letter-spacing: -0.05em;
	color: #252525;
	opacity: 0.8;
}

@media (max-width: 1024px) {
	.blog-loader__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
		gap: 32px 20px;
	}

	.blog-loader__card:nth-child(3) {
		display: none;
	}

	.blog-empty__title {
		font-size: 22px;
	}

	.blog-empty__text {
		font-size: 16px;
	}
}

@media (max-width: 720px) {
	.blog-pages {
		gap: 6px;
		margin-top: 32px;
	}

	.blog-pages__link {
		padding: 6px 12px;
		font-size: 14px;
	}

	.blog-empty {
		padding: 32px 8px;
	}

	.blog-empty__title {
		font-size: 20px;
	}

	.blog-loader__grid {
		grid-template-columns: 1fr;
		gap: 28px;
	}

	.blog-loader__card:nth-child(n + 2) {
		display: none;
	}

	.blog-loader__card {
		min-height: 260px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.blog-chips__btn,
	.blog-pages__link,
	.blog-featured-slot,
	.blog-articles__feed,
	.blog-grid .post-card,
	.blog-empty,
	.blog-pages,
	.blog-loader,
	.blog-loader__card,
	.blog-loader__ring {
		transition: none !important;
		animation: none !important;
	}
}
