.blog-tiles-section {
	padding: 80px 0;
	display: flex;
	flex-direction: column;
	gap: 40px;
}

.blog-tiles-section-heading {
	display: flex;
	gap: 12px;
	justify-content: space-between;
	flex-direction: column;
}

.blog-category-labels-container {
	display: flex;
	gap: 12px;
	overflow: auto;
	text-wrap: nowrap;
	scrollbar-width: none;
	align-items: center;
}

.blog-tiles-container {
	display: grid;
	grid-template-columns: 1fr;
}

.blog-tile {
	display: flex;
	font: var(--font-s-regular);
	color: var(--color-text-3);
	border-bottom: 1px solid var(--color-stroke-2);
	overflow: hidden;
	height: 136px;
}

.blog-tile > img {
	border-radius: 10px;
	width: 138px;
	margin: auto;
}

.blog-tile-content {
	padding: 16px;
	display: flex;
	flex-direction: column;
	gap: 8px;
	flex: 1;
	overflow: hidden;
}

.blog-featured-tiles-container {
	display: flex;
	gap: 16px;
	overflow-x: auto;
	scrollbar-width: none;
	scroll-snap-type: x mandatory;
}

.blog-featured-tile {
	border-radius: 16px;
	display: flex;
	flex-direction: column;
	background-color: var(--color-background-1-default);
	font: var(--font-s-regular);
	color: var(--color-text-3);
	flex: 0 0 300px;
	scroll-snap-align: center;
}

.blog-featured-tile:focus {
	outline-offset: -2px;
}


.blog-featured-tile > img {
	width: 100%;
	border-radius: 16px 16px 0 0;
}

.blog-featured-tile-content {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 8px;
}

.blog-featured-tile h5,
.blog-tile h6 {
	color: var(--color-text-1);
	/* Remove WebKit-prefixed line clamping in 2027 after confirming unprefixed support. */
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.blog-author-section {
	display: flex;
	gap: 8px;
	align-items: center;
	color: var(--color-text-3);
	margin-top: auto;
}

.blog-author-section > span {
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.blog-author-section .profile-image-container {
	width: 20px;
	height: 20px;
	font-size: 7px;
	border: 0.5px solid var(--color-stroke-7);
}

.blog-author-section .profile-image-container + .profile-image-container {
	margin-left: -12px;
}

.blog-meta {
	display: flex;
	gap: 8px;
	align-items: center;
	color: var(--color-text-3);
	white-space: nowrap;
}

.blog-meta > span {
	overflow: hidden;
	text-overflow: ellipsis;
}

.blog-dot {
	width: 5px;
	height: 5px;
	flex: 0 0 5px;
	border-radius: 50%;
	background-color: var(--color-text-3);
	display: inline-flex;
}

.blog-preview-image {
	width: 100%;
	border-radius: 16px;
}

.blog-article-heading {
	padding: 80px 0;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.blog-article-heading h1 {
	font: var(--font-h3);
	white-space: pre-line;
	text-wrap: balance;
}

.blog-article-heading h2 {
	font: var(--font-h6);
	white-space: pre-line;
	text-wrap: pretty;
}

.blog-article-section {
	display: flex;
	flex-direction: column;
	gap: 24px;
	color: var(--color-text-2);
	flex: 1;
}

.blog-article-section h2 {
	font: var(--font-h4);
	color: var(--color-text-1);
}

.blog-article-section h3 {
	font: var(--font-h5);
	color: var(--color-text-1);
	margin-top: 16px;
}

.blog-article-section code {
	font-family: 'Fraktion Mono';
}

.blog-article-section-side-by-side {
	display: flex;
	flex-direction: column;
	gap: 40px;
	color: var(--color-text-2);
}

.blog-article-image {
	display: block;
	width: 100%;
	height: auto;
}

.blog-article-caption {
	margin-top: 12px;
	font: var(--font-m-regular);
	color: var(--color-text-3);
}

.blog-article-lead {
	padding-bottom: 40px;
	border-bottom: 1px solid var(--color-stroke-2);
	color: var(--color-text-1);
}

.blog-article-lead li {
	padding: 8px;
}

.blog-article-table-container {
	width: 100%;
	overflow-x: auto;
}

.blog-article-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	border: 1px solid var(--color-stroke-7);
	border-radius: 8px;
	overflow: hidden;
	color: var(--color-text-2);
	font: var(--font-l-regular);
}

.blog-article-table th,
.blog-article-table td {
	border-bottom: 1px solid var(--color-stroke-7);
	border-right: 1px solid var(--color-stroke-7);
	padding: 8px 10px;
	text-align: left;
	align-content: start;
}

.blog-article-table th {
	color: var(--color-text-1);
	background-color: var(--color-background-1-default);
}

.blog-article-table-wide {
	min-width: 600px;
}

.blog-article-table tr > *:last-child {
	border-right: none;
}

.blog-article-table tr:last-child > * {
	border-bottom: none;
}

.blog-article-sources {
	border-top: 1px solid var(--color-stroke-7);
	border-bottom: 1px solid var(--color-stroke-7);
	padding: 24px 0;
	color: var(--color-text-3);
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.blog-article-sources h6 {
	color: var(--color-text-1);
}

.blog-article-sources a {
	color: var(--color-text-3);
	text-decoration: underline;
}

.blog-article-quote {
	padding: 24px;
	background-color: var(--color-background-2-default);
	border-radius: 24px;
	font: var(--font-h6);
	color: var(--color-text-1);
	display: flex;
	flex-direction: column;
	gap: 24px;
	letter-spacing: 0.02em;
}

.blog-article-quote cite {
	color: var(--color-text-2);
	font: var(--font-l-bold);
}

.blog-article-cite-details {
	font: var(--font-s-regular);
}

.blog-article-section ul li {
	list-style-type: disc;
}

.blog-article-content {
	padding: 80px 0;
	display: flex;
	flex-direction: column;
	gap: 80px;
	font: var(--font-l-regular);
}

.blog-faq-details-container {
	display: flex;
	flex-direction: column;
	gap: 16px;
}

.blog-faq-details-container details {
	display: flex;
	flex-direction: column;
	gap: 4px;
}

.blog-faq-details-container summary {
	font: var(--font-l-bold);
	color: var(--color-text-1);
	display: flex;
	justify-content: space-between;
	cursor: pointer;
	gap: 24px;
}

.blog-faq-details-container summary::-webkit-details-marker {
	display: none;
}

.blog-faq-details-container summary::after {
	content: '';
	width: 24px;
	height: 24px;
	flex: 0 0 24px;
	background: url('/static/icons/chevron-down.svg') center / contain no-repeat;
	filter: invert(1);
}

.blog-faq-details-container details[open] summary::after {
	background: url('/static/icons/chevron-top.svg') center / contain no-repeat;
}

.blog-faq-details-container p {
	color: var(--color-text-3);
}

.blog-see-all-button {
	display: flex;
	gap: 8px;
	padding: 10px 12px;
	align-items: center;
	color: var(--color-interactive-1-default);
	font: var(--font-label-m);
}

.blog-see-all-button span {
	background-color: var(--color-interactive-1-default);
	mask-position: center;
	mask-repeat: no-repeat;
	mask-size: 16px 16px;
	width: 16px;
	height: 16px;
	display: flex;
}

.blog-see-all-button:active {
	color: var(--color-interactive-1-pressed);
}

.blog-see-all-button:active span {
	background-color: var(--color-interactive-1-pressed);
}

.blog-changelog-section-heading {
	display: flex;
	gap: 4px;
	text-transform: uppercase;
	color: var(--color-text-2);
	margin-bottom: 12px;
}

.blog-status-dot {
	width: 12px;
	height: 12px;
	margin: 6px;
	border-radius: 9999px;
}

.blog-status-dot.blog-changelog-updates {
	background-color: var(--color-status-updates);
}

.blog-status-dot.blog-changelog-bugs {
	background-color: var(--color-status-bugs);
}

.blog-changelog-updates-list hr {
	background-color: var(--color-stroke-2);
}

.blog-changelog-updates-list > div {
	padding: 8px 6px;
	color: var(--color-text-3);
	font: var(--font-m-regular);
}

.blog-changelog-entry-title {
	color: var(--color-text-1);
	font: var(--font-l-bold);
}

.blog-filter-button {
	height: 32px;
	padding: 0 10px;
	font: var(--font-label-m);
	display: flex;
	gap: 4px;
	align-items: center;
	border-radius: 4px;
	color: var(--color-text-1);
	background-color: var(--color-background-3-default);
}

.blog-filter-button:active {
	background-color: var(--color-background-3-pressed);
}

.blog-filter-button-selected {
	background-color: var(--color-background-3-active);
}

.blog-filter-button:focus {
	outline-offset: -2px;
}

@media screen and (min-width: 960px) {
	.blog-tiles-section-heading {
		flex-direction: row;
	}

	.blog-tiles-container {
		grid-template-columns: repeat(auto-fit, 413px);
		gap: 40px;
	}

	.blog-tile {
		border-bottom: none;
	}

	.blog-tile > img {
		width: 200px;
	}

	.blog-featured-tiles-container {
		gap: 40px;
	}

	.blog-featured-tile {
		flex: 1;
		max-width: 413px;
	}

	.blog-article-section-side-by-side {
		flex-direction: row;
	}

	.blog-article-table th {
		width: 200px;
	}

	.blog-article-table-wide th {
		width: auto;
	}
}
