/**
 * Blog: archive (Figma «mr-blog») and post (Figma «mr-single»).
 *
 * 1.  Tokens
 * 2.  Shared post-card parts
 * 3.  Title band and featured row
 * 4.  Category chips
 * 5.  «Останні статті» bar
 * 6.  Bento: big + side cards
 * 7.  Wide cards
 * 8.  Grid cards
 * 9.  Pagination, search, empty state
 * 10. Post: hero
 * 11. Post: subscribe rail and article column
 * 12. Post: content blocks
 * 13. Post: engagement row
 * 14. Comments
 * 15. Toast
 * 16. Adaptive
 */

/* ==========================================================================
   1. Tokens
   ========================================================================== */

.mv-blog,
.mv-post,
.mv-comments {
	--mvb-pill-bg: #ecf8fe;
	--mvb-date: #9ba1ac;
	--mvb-excerpt: #637381;
	--mvb-glass: rgba(255, 255, 255, 0.9);
	--mvb-glass-shadow: 0 8px 24px -6px rgba(15, 23, 41, 0.08);
	--mvb-gap: 24px;
	--mvb-cover-bg: var(--mv-color-placeholder);
}

/* The blog lays out its own bands, so the shared .site-main padding is dropped. */
.site-main.mv-blog,
.site-main.mv-post {
	max-width: none;
	padding: 0;
}

.mv-blog,
.mv-post {
	background: var(--mv-color-surface);
}

/* ==========================================================================
   2. Shared post-card parts
   ========================================================================== */

.mv-post-pill {
	display: inline-flex;
	align-items: center;
	height: 22px;
	padding-inline: 10px;
	border-radius: var(--mv-radius-pill);
	background: var(--mvb-pill-bg);
	color: var(--mv-color-accent);
	font-size: var(--mv-fs-11);
	font-weight: 600;
	line-height: 1;
	white-space: nowrap;
	text-decoration: none;
	transition: background var(--mv-transition), color var(--mv-transition);
}

a.mv-post-pill:hover,
a.mv-post-pill:focus-visible {
	background: var(--mv-color-accent);
	color: #ffffff;
}

.mv-post-pill--solid {
	background: var(--mv-color-accent);
	color: #ffffff;
}

.mv-post-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.mv-post-card__date {
	color: var(--mvb-date);
	font-size: var(--mv-fs-12);
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mv-post-bookmark {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 16px;
	height: 16px;
	margin-inline-start: auto;
	padding: 6px;
	margin-block: -6px;
	margin-inline-end: -6px;
	box-sizing: content-box;
	border: 0;
	border-radius: var(--mv-radius-sm);
	background: transparent;
	color: var(--mvb-date);
	cursor: pointer;
	transition: color var(--mv-transition), background var(--mv-transition);
}

.mv-post-bookmark svg {
	width: 16px;
	height: 16px;
}

.mv-post-bookmark:hover,
.mv-post-bookmark:focus-visible {
	background: var(--mvb-pill-bg);
	color: var(--mv-color-accent);
}

.mv-post-bookmark.is-active {
	color: var(--mv-color-accent);
}

.mv-post-bookmark.is-active svg {
	fill: currentColor;
}

.mv-post-card__bottom {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: auto;
}

.mv-post-stat {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	color: var(--mvb-date);
	font-size: var(--mv-fs-12);
	line-height: 1;
}

.mv-post-stat svg {
	width: 14px;
	height: 14px;
}

.mv-post-more {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	width: 34px;
	height: 34px;
	margin-inline-start: auto;
	border-radius: 50%;
	background: var(--mv-color-accent);
	color: #ffffff;
	transition: background var(--mv-transition), transform var(--mv-transition);
}

.mv-post-more svg {
	width: 16px;
	height: 16px;
}

.mv-post-more:hover,
.mv-post-more:focus-visible {
	background: var(--mv-color-accent-hover);
	transform: translateX(2px);
}

.mv-post-more--sm {
	width: 32px;
	height: 32px;
}

.mv-post-author {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-width: 0;
}

.mv-post-author__text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	min-width: 0;
}

.mv-post-author__name {
	color: var(--mv-color-text-strong);
	font-size: var(--mv-fs-13);
	font-weight: 600;
	line-height: 1.2;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.mv-post-author__date {
	color: var(--mvb-date);
	font-size: var(--mv-fs-12);
	line-height: 1.2;
}

.mv-avatar {
	flex: none;
	border-radius: 50%;
	object-fit: cover;
	background: var(--mv-color-icon-bg);
}

span.mv-avatar {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	color: var(--mv-color-accent);
	font-size: var(--mv-fs-13);
	font-weight: 700;
	line-height: 1;
	text-transform: uppercase;
}

/* ==========================================================================
   3. Title band and featured row
   ========================================================================== */

.mv-blog-hero {
	padding-block: 48px 56px;
	background: var(--mv-gradient-page);
	text-align: center;
}

.mv-blog-hero__crumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 6px;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--mvb-date);
	font-size: var(--mv-fs-13);
	line-height: 1.3;
}

.mv-blog-hero__crumbs li + li::before {
	content: "/";
	margin-inline-end: 6px;
	color: var(--mv-color-subtle);
}

.mv-blog-hero__crumbs a {
	color: var(--mvb-date);
	text-decoration: none;
	transition: color var(--mv-transition);
}

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

.mv-blog-hero__crumbs [aria-current="page"] {
	color: var(--mv-color-text-strong);
}

.mv-blog-hero__title {
	margin: 12px 0 0;
	color: var(--mv-color-text-strong);
	font-family: var(--mv-font-display);
	font-size: var(--mv-fs-40);
	font-weight: 800;
	line-height: 1.425;
	letter-spacing: -0.02em;
}

.mv-blog-hero__subtitle {
	max-width: 640px;
	margin: 12px auto 0;
	color: var(--mvb-excerpt);
	font-size: var(--mv-fs-15);
	line-height: 1.4;
}

.mv-blog-featured {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--mvb-gap);
	margin-top: 48px;
	text-align: start;
}

.mv-post-featured {
	position: relative;
	min-height: 420px;
}

.mv-post-featured__cover {
	display: block;
	overflow: hidden;
	height: 300px;
	border-radius: var(--mv-radius-lg);
	background: var(--mvb-cover-bg);
}

.mv-post-featured__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mv-post-featured__card {
	position: absolute;
	inset-inline: 16px;
	top: 216px;
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-height: 204px;
	padding: 16px 18px;
	border-radius: var(--mv-radius-lg);
	background: var(--mvb-glass);
	box-shadow: var(--mvb-glass-shadow);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.mv-post-featured__title {
	margin: 0;
	font-size: var(--mv-fs-18);
	font-weight: 700;
	line-height: 1.28;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mv-post-featured__title a {
	color: var(--mv-color-text-strong);
	text-decoration: none;
	transition: color var(--mv-transition);
}

.mv-post-featured__title a:hover,
.mv-post-featured__title a:focus-visible,
.mv-post-side__title a:hover,
.mv-post-side__title a:focus-visible,
.mv-post-wide__title a:hover,
.mv-post-wide__title a:focus-visible,
.mv-post-grid-card__title a:hover,
.mv-post-grid-card__title a:focus-visible {
	color: var(--mv-color-accent);
}

.mv-post-featured__excerpt {
	margin: 0;
	color: var(--mvb-excerpt);
	font-size: var(--mv-fs-13);
	line-height: 1.5;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* ==========================================================================
   4. Category chips
   ========================================================================== */

.mv-blog-chips {
	padding-block: 40px 8px;
}

.mv-blog-chips__list {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 10px;
}

.mv-blog-chip {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 34px;
	padding-inline: 16px 10px;
	border: 1px solid var(--mv-color-border);
	border-radius: var(--mv-radius-pill);
	background: var(--mv-color-surface);
	color: var(--mv-color-muted);
	font-size: var(--mv-fs-13);
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	white-space: nowrap;
	transition: border-color var(--mv-transition), background var(--mv-transition), color var(--mv-transition);
}

.mv-blog-chip__count {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 20px;
	height: 18px;
	padding-inline: 6px;
	border-radius: var(--mv-radius-pill);
	background: var(--mv-color-surface-alt);
	color: var(--mvb-date);
	font-size: var(--mv-fs-11);
	font-weight: 600;
}

.mv-blog-chip:hover,
.mv-blog-chip:focus-visible {
	border-color: var(--mv-color-accent);
	color: var(--mv-color-accent);
}

.mv-blog-chip.is-active {
	border-color: var(--mv-color-accent);
	background: var(--mv-color-accent);
	color: #ffffff;
}

.mv-blog-chip.is-active .mv-blog-chip__count {
	background: rgba(255, 255, 255, 0.24);
	color: #ffffff;
}

/* ==========================================================================
   5. «Останні статті» bar
   ========================================================================== */

.mv-blog-body {
	padding-block: 32px 72px;
}

.mv-blog-latest-head {
	display: flex;
	align-items: center;
	gap: 12px;
	height: 60px;
	padding: 12px 12px 12px 20px;
	border: 1px solid var(--mv-color-border);
	border-radius: var(--mv-radius-lg);
	background: var(--mv-gradient-soft);
}

.mv-blog-latest-head__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	flex: none;
	color: var(--mv-color-accent);
}

.mv-blog-latest-head__icon svg {
	width: 20px;
	height: 20px;
}

.mv-blog-latest-head__title {
	margin: 0;
	color: var(--mv-color-text-strong);
	font-family: var(--mv-font-display);
	font-size: var(--mv-fs-20);
	font-weight: 800;
	line-height: 1.2;
	white-space: nowrap;
}

.mv-blog-latest-head__subtitle {
	color: var(--mvb-date);
	font-size: var(--mv-fs-13);
	line-height: 1.2;
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}

.mv-blog-latest-head__link {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin-inline-start: auto;
	color: var(--mv-color-text-strong);
	font-size: var(--mv-fs-14);
	font-weight: 600;
	text-decoration: none;
	white-space: nowrap;
}

.mv-blog-latest-head__arrow {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--mv-color-accent);
	color: #ffffff;
	transition: background var(--mv-transition), transform var(--mv-transition);
}

.mv-blog-latest-head__arrow svg {
	width: 16px;
	height: 16px;
}

.mv-blog-latest-head__link:hover .mv-blog-latest-head__arrow,
.mv-blog-latest-head__link:focus-visible .mv-blog-latest-head__arrow {
	background: var(--mv-color-accent-hover);
	transform: translateX(2px);
}

/* ==========================================================================
   6. Bento: big + side cards
   ========================================================================== */

.mv-blog-bento {
	display: grid;
	grid-template-columns: 836fr 420fr;
	gap: var(--mvb-gap);
	margin-top: var(--mvb-gap);
}

.mv-post-big {
	position: relative;
	overflow: hidden;
	min-height: 440px;
	border-radius: var(--mv-radius-xl);
	background: var(--mv-color-hero-bg);
	isolation: isolate;
}

.mv-post-big__img {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mv-post-big::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(15, 23, 41, 0) 35%, rgba(15, 23, 41, 0.78) 100%);
	pointer-events: none;
}

.mv-post-big__panel {
	position: absolute;
	inset-inline: 24px;
	bottom: 24px;
	z-index: 1;
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 12px;
}

.mv-post-big__title {
	margin: 0;
	max-width: 620px;
	font-family: var(--mv-font-display);
	font-size: var(--mv-fs-28);
	font-weight: 800;
	line-height: 1.2;
}

.mv-post-big__title a {
	color: #ffffff;
	text-decoration: none;
}

.mv-post-big__title a:hover,
.mv-post-big__title a:focus-visible {
	text-decoration: underline;
	text-underline-offset: 4px;
}

.mv-post-big__author {
	display: flex;
	align-items: center;
	gap: 10px;
}

.mv-post-big__author-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
}

.mv-post-big__author-name {
	color: #ffffff;
	font-size: var(--mv-fs-13);
	font-weight: 600;
	line-height: 1.2;
}

.mv-post-big__author-meta {
	color: rgba(255, 255, 255, 0.72);
	font-size: var(--mv-fs-12);
	line-height: 1.2;
}

.mv-post-more--float {
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 1;
	margin: 0;
	width: 40px;
	height: 40px;
	background: rgba(255, 255, 255, 0.9);
	color: var(--mv-color-text-strong);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
}

.mv-post-more--float:hover,
.mv-post-more--float:focus-visible {
	background: #ffffff;
	color: var(--mv-color-accent);
}

.mv-blog-bento__side {
	display: flex;
	flex-direction: column;
	gap: var(--mvb-gap);
}

.mv-post-side {
	display: flex;
	gap: 16px;
	min-height: 208px;
	padding: 16px;
	border-radius: var(--mv-radius-lg);
	background: var(--mv-color-surface);
	/* Inset stroke: like Figma, the border must not add to the 208px height. */
	box-shadow: inset 0 0 0 1px var(--mv-color-border);
	transition: box-shadow var(--mv-transition);
}

.mv-post-side:hover {
	box-shadow: var(--mv-shadow-card);
}

.mv-post-side__cover {
	display: block;
	flex: none;
	overflow: hidden;
	width: 150px;
	height: 176px;
	border-radius: var(--mv-radius-md);
	background: var(--mvb-cover-bg);
}

.mv-post-side__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.mv-post-side__text {
	display: flex;
	flex-direction: column;
	gap: 10px;
	min-width: 0;
	flex: 1;
}

.mv-post-side__title {
	margin: 0;
	font-size: var(--mv-fs-16);
	font-weight: 700;
	line-height: 1.31;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mv-post-side__title a {
	color: var(--mv-color-text-strong);
	text-decoration: none;
	transition: color var(--mv-transition);
}

/* ==========================================================================
   7. Wide cards
   ========================================================================== */

.mv-blog-wide-row {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: var(--mvb-gap);
	margin-top: var(--mvb-gap);
}

.mv-post-wide {
	display: flex;
	flex-direction: column;
	gap: 14px;
	padding: 20px;
	border: 1px solid var(--mv-color-border);
	border-radius: var(--mv-radius-lg);
	background: var(--mv-color-surface);
	transition: border-color var(--mv-transition), box-shadow var(--mv-transition);
}

.mv-post-wide:hover {
	border-color: transparent;
	box-shadow: var(--mv-shadow-card);
}

.mv-post-wide__top {
	gap: 8px;
}

.mv-post-wide__title {
	margin: 0;
	font-family: var(--mv-font-display);
	font-size: var(--mv-fs-20);
	font-weight: 700;
	line-height: 1.3;
}

.mv-post-wide__title a {
	color: var(--mv-color-text-strong);
	text-decoration: none;
	transition: color var(--mv-transition);
}

.mv-post-wide__cover {
	display: block;
	overflow: hidden;
	height: 260px;
	border-radius: var(--mv-radius-md);
	background: var(--mvb-cover-bg);
}

.mv-post-wide__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.mv-post-wide:hover .mv-post-wide__img,
.mv-post-grid-card:hover .mv-post-grid-card__img {
	transform: scale(1.04);
}

.mv-post-wide__excerpt {
	margin: 0;
	color: var(--mvb-excerpt);
	font-size: var(--mv-fs-14);
	line-height: 1.6;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mv-post-wide__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: auto;
	padding-top: 14px;
}

.mv-post-wide__stats {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

/* ==========================================================================
   8. Grid cards
   ========================================================================== */

.mv-blog-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: var(--mvb-gap);
	margin-top: var(--mvb-gap);
}

.mv-blog--archive .mv-blog-grid,
.mv-blog--archive .mv-blog-body > .mv-container > .mv-blog-grid:first-child {
	margin-top: 0;
}

.mv-post-grid-card {
	display: flex;
	flex-direction: column;
	gap: 12px;
	padding: 16px;
	border: 1px solid var(--mv-color-border);
	border-radius: var(--mv-radius-lg);
	background: var(--mv-color-surface);
	transition: border-color var(--mv-transition), box-shadow var(--mv-transition);
}

.mv-post-grid-card:hover {
	border-color: transparent;
	box-shadow: var(--mv-shadow-card);
}

.mv-post-grid-card__cover {
	display: block;
	overflow: hidden;
	height: 210px;
	border-radius: var(--mv-radius-md);
	background: var(--mvb-cover-bg);
}

.mv-post-grid-card__img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.mv-post-grid-card__title {
	margin: 0;
	font-size: var(--mv-fs-16);
	font-weight: 700;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mv-post-grid-card__title a {
	color: var(--mv-color-text-strong);
	text-decoration: none;
	transition: color var(--mv-transition);
}

.mv-post-grid-card__excerpt {
	margin: 0;
	color: var(--mvb-excerpt);
	font-size: var(--mv-fs-13);
	line-height: 1.55;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

.mv-post-grid-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 12px;
}

/* ==========================================================================
   9. Pagination, search, empty state
   ========================================================================== */

.mv-blog-pagination {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
	margin-top: 40px;
}

.mv-blog-pagination__btn {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	height: 38px;
	padding-inline: 16px;
	border: 1px solid var(--mv-color-border);
	border-radius: var(--mv-radius-pill);
	background: var(--mv-color-surface);
	color: var(--mv-color-text-strong);
	font-size: var(--mv-fs-14);
	font-weight: 600;
	text-decoration: none;
	transition: border-color var(--mv-transition), color var(--mv-transition);
}

.mv-blog-pagination__btn svg {
	width: 16px;
	height: 16px;
}

.mv-blog-pagination__btn:hover,
.mv-blog-pagination__btn:focus-visible {
	border-color: var(--mv-color-accent);
	color: var(--mv-color-accent);
}

.mv-blog-pagination__btn.is-disabled {
	color: var(--mv-color-subtle);
	pointer-events: none;
}

.mv-blog-pagination__pages {
	display: flex;
	align-items: center;
	gap: 8px;
}

.mv-blog-pagination__page,
.mv-blog-pagination__dots {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 32px;
	padding-inline: 8px;
	border-radius: var(--mv-radius-sm);
	color: var(--mv-color-muted);
	font-size: var(--mv-fs-14);
	font-weight: 600;
	text-decoration: none;
	transition: background var(--mv-transition), color var(--mv-transition);
}

a.mv-blog-pagination__page:hover,
a.mv-blog-pagination__page:focus-visible {
	background: var(--mvb-pill-bg);
	color: var(--mv-color-accent);
}

.mv-blog-pagination__page.is-current {
	background: var(--mv-color-accent);
	color: #ffffff;
}

.mv-blog-search {
	display: flex;
	gap: 10px;
	margin-bottom: 28px;
}

.mv-blog-search input[type="search"] {
	flex: 1;
	height: 46px;
	padding-inline: 16px;
	border: 1px solid var(--mv-color-border);
	border-radius: var(--mv-radius-md);
	background: var(--mv-color-surface);
	font: inherit;
	color: var(--mv-color-text);
}

.mv-blog-search input[type="search"]:focus-visible {
	border-color: var(--mv-color-accent);
	outline: none;
}

.mv-blog-search button {
	height: 46px;
	padding-inline: 24px;
	border: 0;
	border-radius: var(--mv-radius-md);
	background: var(--mv-color-accent);
	color: #ffffff;
	font-size: var(--mv-fs-14);
	font-weight: 600;
	cursor: pointer;
	transition: background var(--mv-transition);
}

.mv-blog-search button:hover,
.mv-blog-search button:focus-visible {
	background: var(--mv-color-accent-hover);
}

.mv-blog-empty {
	margin: 0;
	padding-block: 48px;
	color: var(--mvb-excerpt);
	font-size: var(--mv-fs-16);
	text-align: center;
}

.mv-blog-empty__link {
	display: block;
	color: var(--mv-color-accent);
	font-weight: 600;
	text-align: center;
	text-decoration: none;
}

/* ==========================================================================
   10. Post: hero
   ========================================================================== */

.mv-post-hero {
	padding-block: 56px 48px;
	background: var(--mv-gradient-page);
	text-align: center;
}

.mv-post-hero__meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	margin-top: 16px;
}

.mv-post-hero__date {
	color: var(--mvb-date);
	font-size: var(--mv-fs-13);
	line-height: 1.2;
}

.mv-post-hero__title {
	max-width: 900px;
	margin: 16px auto 0;
	color: var(--mv-color-text-strong);
	font-family: var(--mv-font-display);
	font-size: var(--mv-fs-40);
	font-weight: 800;
	line-height: 1.2;
	letter-spacing: -0.02em;
}

.mv-post-hero__author {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 48px;
	margin-top: 16px;
}

.mv-post-hero__author-text {
	display: flex;
	flex-direction: column;
	gap: 2px;
	text-align: start;
}

.mv-post-hero__author-name {
	color: var(--mv-color-text-strong);
	font-size: var(--mv-fs-14);
	font-weight: 600;
	line-height: 1.2;
}

.mv-post-hero__author-role {
	color: var(--mvb-date);
	font-size: var(--mv-fs-12);
	line-height: 1.2;
}

.mv-post-hero__divider {
	width: 1px;
	height: 24px;
	background: var(--mv-color-border);
}

.mv-post-share {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.mv-post-share__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 32px;
	padding: 0;
	border: 1px solid var(--mv-color-border);
	border-radius: var(--mv-radius-sm);
	background: var(--mv-color-surface);
	color: var(--mv-color-muted);
	cursor: pointer;
	transition: border-color var(--mv-transition), color var(--mv-transition), background var(--mv-transition);
}

.mv-post-share__btn svg {
	width: 16px;
	height: 16px;
}

.mv-post-share__btn:hover,
.mv-post-share__btn:focus-visible {
	border-color: var(--mv-color-accent);
	background: var(--mvb-pill-bg);
	color: var(--mv-color-accent);
}

/* ==========================================================================
   11. Post: subscribe rail and article column
   ========================================================================== */

.mv-post-body {
	padding-block: 48px 8px;
}

.mv-post-body__inner {
	position: relative;
}

.mv-post-rail {
	position: absolute;
	top: 0;
	left: calc(var(--mv-gutter) + 16px);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 14px;
	color: var(--mvb-date);
	text-decoration: none;
	transition: color var(--mv-transition);
}

.mv-post-rail:hover,
.mv-post-rail:focus-visible {
	color: var(--mv-color-accent);
}

.mv-post-rail__text {
	font-size: var(--mv-fs-12);
	font-weight: 600;
	letter-spacing: 0.08em;
	text-transform: uppercase;
	white-space: nowrap;
	writing-mode: vertical-rl;
	transform: rotate(180deg);
}

.mv-post-rail__line {
	width: 1px;
	height: 120px;
	background: var(--mv-color-border);
}

.mv-post__content {
	counter-reset: mv-post-section;
	max-width: 760px;
	margin-inline: auto;
	color: var(--mv-color-text);
	font-size: var(--mv-fs-16);
	line-height: 1.8;
}

/* ==========================================================================
   12. Post: content blocks
   ========================================================================== */

.mv-post__content > * {
	margin-block: 0 22px;
}

.mv-post__content > *:last-child {
	margin-bottom: 0;
}

.mv-post__content p {
	margin: 0 0 22px;
}

.mv-post__content a:not(.mv-btn) {
	color: var(--mv-color-accent);
	text-decoration: underline;
	text-underline-offset: 3px;
}

.mv-post__content > p:first-of-type::first-letter {
	float: left;
	margin: 6px 12px 0 0;
	color: var(--mv-color-accent);
	font-family: var(--mv-font-display);
	font-size: 55px;
	font-weight: 800;
	line-height: 0.9;
}

.mv-post__content h2 {
	counter-increment: mv-post-section;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 12px;
	margin-block: 40px 20px;
	color: var(--mv-color-text-strong);
	font-family: var(--mv-font-display);
	font-size: var(--mv-fs-24);
	font-weight: 800;
	line-height: 1.3;
	text-align: center;
}

.mv-post__content h2::before {
	content: "— " counter(mv-post-section, decimal-leading-zero) " —";
	color: var(--mv-color-accent);
	font-family: var(--mv-font-base);
	font-size: var(--mv-fs-13);
	font-weight: 600;
	letter-spacing: 0.18em;
}

.mv-post__content h3 {
	margin-block: 32px 14px;
	color: var(--mv-color-text-strong);
	font-family: var(--mv-font-display);
	font-size: var(--mv-fs-20);
	font-weight: 700;
	line-height: 1.35;
}

.mv-post__content ul,
.mv-post__content ol {
	margin: 0 0 22px;
	padding-inline-start: 22px;
}

.mv-post__content li + li {
	margin-top: 8px;
}

.mv-post__content figure,
.mv-post__content .wp-block-image {
	margin-block: 32px;
}

.mv-post__content img {
	width: 100%;
	height: auto;
	border-radius: var(--mv-radius-lg);
}

.mv-post__content figcaption {
	margin-top: 12px;
	color: var(--mvb-date);
	font-size: var(--mv-fs-13);
	line-height: 1.5;
	text-align: center;
}

.mv-post__content blockquote {
	margin-block: 28px;
	padding-inline-start: 20px;
	border-inline-start: 3px solid var(--mv-color-accent);
	color: var(--mv-color-text-strong);
	font-family: var(--mv-font-display);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.32;
}

.mv-post__content blockquote p {
	margin: 0 0 12px;
}

.mv-post__content blockquote cite {
	display: flex;
	align-items: center;
	gap: 8px;
	color: var(--mvb-date);
	font-family: var(--mv-font-base);
	font-size: var(--mv-fs-13);
	font-style: normal;
	font-weight: 600;
}

/* Text on the left, pull quote on the right (Figma «text-quote»). */
.mv-post-split {
	display: grid;
	grid-template-columns: 440fr 280fr;
	gap: 40px;
	align-items: start;
	margin-block: 32px;
}

.mv-post-split > p {
	margin: 0;
}

.mv-post-quote {
	position: relative;
	padding-inline-start: 20px;
	border-inline-start: 3px solid var(--mv-color-accent);
}

.mv-post-quote::before {
	content: "";
	display: block;
	width: 28px;
	height: 28px;
	background: var(--mv-color-accent);
	-webkit-mask: url("../img/icons/blog-quote.svg") no-repeat center / contain;
	mask: url("../img/icons/blog-quote.svg") no-repeat center / contain;
}

.mv-post-quote__text {
	margin: 10px 0 0;
	color: var(--mv-color-text-strong);
	font-family: var(--mv-font-display);
	font-size: 21px;
	font-weight: 700;
	line-height: 1.32;
}

.mv-post-quote__author {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-top: 14px;
	color: var(--mvb-date);
	font-size: var(--mv-fs-13);
	font-weight: 600;
}

/* Summary box (Figma «summary»). */
.mv-post-summary {
	margin-block: 32px;
	padding: 22px 24px 24px;
	border-radius: var(--mv-radius-lg);
	background: var(--mvb-pill-bg);
}

.mv-post-summary__title {
	margin: 0 0 12px;
	color: var(--mv-color-text-strong);
	font-family: var(--mv-font-display);
	font-size: 17px;
	font-weight: 700;
	line-height: 1.3;
}

.mv-post-summary ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

.mv-post-summary li {
	position: relative;
	display: flex;
	align-items: flex-start;
	gap: 10px;
	color: var(--mv-color-text-strong);
	font-size: var(--mv-fs-15);
	font-weight: 600;
	line-height: 1.5;
}

.mv-post-summary li + li {
	margin-top: 12px;
}

.mv-post-summary li::before {
	content: "";
	flex: none;
	width: 18px;
	height: 18px;
	margin-top: 4px;
	background: var(--mv-color-accent);
	-webkit-mask: url("../img/icons/blog-check.svg") no-repeat center / contain;
	mask: url("../img/icons/blog-check.svg") no-repeat center / contain;
}

/* ==========================================================================
   13. Post: engagement row
   ========================================================================== */

.mv-post-engagement {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: center;
	gap: 36px;
	max-width: 760px;
	margin: 40px auto 0;
	padding-block: 20px;
	border-block: 1px solid var(--mv-color-border);
}

.mv-post-action {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mv-color-muted);
	font-family: inherit;
	font-size: var(--mv-fs-14);
	font-weight: 600;
	cursor: pointer;
	transition: color var(--mv-transition);
}

.mv-post-action svg {
	width: 18px;
	height: 18px;
}

.mv-post-action:hover,
.mv-post-action:focus-visible {
	color: var(--mv-color-accent);
}

.mv-post-action.is-active {
	color: var(--mv-color-accent);
}

.mv-post-action.is-active svg {
	fill: currentColor;
}

.mv-post-action[disabled] {
	opacity: 0.6;
	cursor: default;
}

/* ==========================================================================
   14. Comments
   ========================================================================== */

.mv-comments {
	padding-block: 48px 72px;
}

.mv-comments__inner > * {
	max-width: 760px;
	margin-inline: auto;
}

.mv-comments__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.mv-comments__title {
	display: flex;
	align-items: center;
	gap: 10px;
	margin: 0;
	color: var(--mv-color-text-strong);
	font-family: var(--mv-font-display);
	font-size: var(--mv-fs-20);
	font-weight: 800;
	line-height: 1.2;
}

.mv-comments__title svg {
	width: 20px;
	height: 20px;
	color: var(--mv-color-accent);
}

.mv-comments__sort {
	display: inline-flex;
	align-items: center;
	gap: 14px;
}

.mv-comments__sort-link {
	color: var(--mvb-date);
	font-size: var(--mv-fs-13);
	font-weight: 600;
	text-decoration: none;
	transition: color var(--mv-transition);
}

.mv-comments__sort-link:hover,
.mv-comments__sort-link:focus-visible,
.mv-comments__sort-link.is-active {
	color: var(--mv-color-accent);
}

.mv-comments__form-wrap {
	margin-top: 20px;
	padding: 16px;
	border: 1px solid var(--mv-color-border);
	border-radius: var(--mv-radius-lg);
	background: var(--mv-color-surface);
}

.mv-comment-form__row {
	display: flex;
	gap: 12px;
}

.mv-comment-form__field {
	flex: 1;
	min-width: 0;
}

.mv-comment-form__field textarea {
	width: 100%;
	min-height: 88px;
	padding: 10px 12px;
	border: 1px solid var(--mv-color-border);
	border-radius: var(--mv-radius-md);
	background: var(--mv-color-surface);
	font: inherit;
	font-size: var(--mv-fs-15);
	color: var(--mv-color-text);
	resize: vertical;
}

.mv-comment-form__field textarea:focus-visible {
	border-color: var(--mv-color-accent);
	outline: none;
}

.mv-comment-form__preview {
	min-height: 88px;
	padding: 10px 12px;
	border: 1px dashed var(--mv-color-accent);
	border-radius: var(--mv-radius-md);
	background: var(--mvb-pill-bg);
	font-size: var(--mv-fs-15);
	line-height: 1.6;
}

.mv-comment-form__preview p {
	margin: 0 0 10px;
}

.mv-comment-form__preview p:last-child {
	margin-bottom: 0;
}

.mv-comment-form__foot {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	gap: 12px;
	margin-top: 2px;
	padding-top: 14px;
	border-top: 1px solid var(--mv-color-border);
}

.mv-comment-form__preview-btn {
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mv-color-muted);
	font: inherit;
	font-size: var(--mv-fs-14);
	font-weight: 600;
	cursor: pointer;
	transition: color var(--mv-transition);
}

.mv-comment-form__preview-btn:hover,
.mv-comment-form__preview-btn:focus-visible {
	color: var(--mv-color-accent);
}

.mv-comment-form__submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 118px;
	height: 42px;
	padding-inline: 20px;
	border: 0;
	border-radius: var(--mv-radius-pill);
	background: var(--mv-color-accent);
	color: #ffffff;
	font-size: var(--mv-fs-14);
	font-weight: 600;
	cursor: pointer;
	transition: background var(--mv-transition);
}

.mv-comment-form__submit:hover,
.mv-comment-form__submit:focus-visible {
	background: var(--mv-color-accent-hover);
}

.mv-comment-form__cancel a,
.mv-comment-form__note a {
	color: var(--mv-color-accent);
	font-size: var(--mv-fs-13);
	font-weight: 600;
}

.mv-comment-form__note {
	margin: 0;
	color: var(--mvb-excerpt);
	font-size: var(--mv-fs-14);
}

/* Two columns so the guest fields can sit under the textarea, as in the mockup. */
.mv-comment-form {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 12px;
}

.mv-comment-form__row {
	grid-column: 1 / -1;
	order: 1;
}

.mv-comment-form__half {
	order: 2;
	margin: 0;
	padding-inline-start: 52px;
	color: var(--mv-color-muted);
	font-size: var(--mv-fs-13);
}

.mv-comment-form__half + .mv-comment-form__half {
	order: 3;
	padding-inline-start: 0;
}

.mv-comments .comment-form-cookies-consent {
	grid-column: 1 / -1;
	order: 4;
	margin: 0;
	padding-inline-start: 52px;
	color: var(--mv-color-muted);
	font-size: var(--mv-fs-13);
}

.mv-comment-form__foot {
	grid-column: 1 / -1;
	order: 5;
}

.mv-comment-form__half input {
	width: 100%;
	height: 40px;
	margin-top: 4px;
	padding-inline: 12px;
	border: 1px solid var(--mv-color-border);
	border-radius: var(--mv-radius-md);
	background: var(--mv-color-surface);
	font: inherit;
	font-size: var(--mv-fs-14);
	color: var(--mv-color-text);
}

.mv-comment-form__half input:focus-visible {
	border-color: var(--mv-color-accent);
	outline: none;
}

.mv-comments .comment-form-cookies-consent input {
	margin-inline-end: 8px;
}

.mv-comment-list {
	margin: 28px auto 0;
	padding: 0;
	list-style: none;
}

.mv-comment-list .children {
	margin: 0;
	padding-inline-start: 52px;
	list-style: none;
}

.mv-comment {
	padding-block: 20px;
	border-top: 1px solid var(--mv-color-border);
}

.mv-comment .children > .mv-comment {
	padding-bottom: 0;
}

.mv-comment__body {
	display: flex;
	gap: 12px;
}

.mv-comment__main {
	flex: 1;
	min-width: 0;
}

.mv-comment__head {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
}

.mv-comment__author {
	color: var(--mv-color-text-strong);
	font-size: var(--mv-fs-15);
	font-weight: 600;
	line-height: 1.2;
}

.mv-comment__badge {
	display: inline-flex;
	align-items: center;
	height: 20px;
	padding-inline: 8px;
	border-radius: var(--mv-radius-pill);
	background: var(--mvb-pill-bg);
	color: var(--mv-color-accent);
	font-size: var(--mv-fs-11);
	font-weight: 600;
}

.mv-comment__date {
	color: var(--mvb-date);
	font-size: var(--mv-fs-13);
	line-height: 1.2;
}

.mv-comment__moderation {
	margin: 8px 0 0;
	color: var(--mv-color-warning);
	font-size: var(--mv-fs-13);
}

.mv-comment__text {
	margin-top: 8px;
	color: var(--mv-color-text);
	font-size: var(--mv-fs-15);
	line-height: 1.6;
}

.mv-comment__text p {
	margin: 0 0 10px;
}

.mv-comment__text p:last-child {
	margin-bottom: 0;
}

.mv-comment__actions {
	display: flex;
	align-items: center;
	gap: 18px;
	margin-top: 12px;
}

.mv-comment__actions .comment-reply-link {
	color: var(--mv-color-muted);
	font-size: var(--mv-fs-13);
	font-weight: 600;
	text-decoration: none;
	transition: color var(--mv-transition);
}

.mv-comment__actions .comment-reply-link:hover,
.mv-comment__actions .comment-reply-link:focus-visible {
	color: var(--mv-color-accent);
}

.mv-comment__like {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 0;
	border: 0;
	background: transparent;
	color: var(--mvb-date);
	font: inherit;
	font-size: var(--mv-fs-13);
	font-weight: 600;
	cursor: pointer;
	transition: color var(--mv-transition);
}

.mv-comment__like svg {
	width: 14px;
	height: 14px;
}

.mv-comment__like:hover,
.mv-comment__like:focus-visible,
.mv-comment__like.is-active {
	color: var(--mv-color-accent);
}

.mv-comment__like.is-active svg {
	fill: currentColor;
}

.mv-comments__pagination {
	margin-top: 24px;
	font-size: var(--mv-fs-14);
}

.mv-comments__pagination a {
	color: var(--mv-color-accent);
	text-decoration: none;
}

.mv-comments__closed {
	margin: 24px auto 0;
	color: var(--mvb-excerpt);
	font-size: var(--mv-fs-14);
}

/* ==========================================================================
   15. Toast
   ========================================================================== */

.mv-blog-toast {
	position: fixed;
	left: 50%;
	bottom: 28px;
	z-index: 120;
	padding: 12px 20px;
	border-radius: var(--mv-radius-pill);
	background: var(--mv-color-text-strong);
	color: #ffffff;
	font-size: var(--mv-fs-14);
	font-weight: 600;
	box-shadow: var(--mv-shadow-dropdown);
	opacity: 0;
	transform: translate(-50%, 12px);
	pointer-events: none;
	transition: opacity var(--mv-transition), transform var(--mv-transition);
}

.mv-blog-toast.is-visible {
	opacity: 1;
	transform: translate(-50%, 0);
}

/* ==========================================================================
   16. Adaptive
   ========================================================================== */

@media (max-width: 1279.98px) {
	.mv-blog-featured,
	.mv-blog-grid {
		grid-template-columns: repeat(2, 1fr);
	}

	.mv-blog-bento {
		grid-template-columns: 1fr;
	}

	.mv-blog-bento__side {
		flex-direction: row;
	}

	.mv-blog-bento__side > * {
		flex: 1;
		min-width: 0;
	}

	.mv-post-rail {
		display: none;
	}

	.mv-post-split {
		grid-template-columns: 1fr;
		gap: 24px;
	}
}

@media (max-width: 1023.98px) {
	.mv-blog-hero {
		padding-block: 32px 40px;
	}

	.mv-blog-hero__title,
	.mv-post-hero__title {
		font-size: var(--mv-fs-32);
	}

	.mv-blog-wide-row {
		grid-template-columns: 1fr;
	}

	.mv-blog-latest-head {
		height: auto;
		flex-wrap: wrap;
		padding: 14px 14px 14px 18px;
	}

	.mv-blog-latest-head__subtitle {
		width: 100%;
		order: 3;
		white-space: normal;
	}

	.mv-post-big {
		min-height: 360px;
	}

	.mv-post-big__title {
		font-size: var(--mv-fs-24);
	}
}

@media (max-width: 767.98px) {
	.mv-blog-hero {
		padding-block: 24px 32px;
	}

	.mv-blog-hero__title,
	.mv-post-hero__title {
		font-size: var(--mv-fs-28);
	}

	.mv-blog-featured,
	.mv-blog-grid {
		grid-template-columns: 1fr;
	}

	.mv-blog-featured {
		gap: 16px;
	}

	.mv-post-featured {
		min-height: 0;
	}

	.mv-post-featured__cover {
		height: 220px;
	}

	.mv-post-featured__card {
		position: static;
		min-height: 0;
		margin: -32px 12px 0;
		/* No cover behind the card here, so the glass tint would only muddy the text. */
		background: var(--mv-color-surface);
		backdrop-filter: none;
		-webkit-backdrop-filter: none;
	}

	.mv-blog-body {
		padding-block: 28px 48px;
	}

	.mv-blog-bento,
	.mv-blog-wide-row,
	.mv-blog-grid {
		gap: 16px;
		margin-top: 16px;
	}

	.mv-blog-bento__side {
		flex-direction: column;
		gap: 16px;
	}

	.mv-post-side {
		min-height: 0;
	}

	.mv-post-side__cover {
		width: 110px;
		height: 128px;
	}

	.mv-post-big {
		min-height: 300px;
	}

	.mv-post-big__panel {
		inset-inline: 16px;
		bottom: 16px;
	}

	.mv-post-big__title {
		font-size: var(--mv-fs-20);
	}

	.mv-post-wide__cover {
		height: 200px;
	}

	.mv-post-grid-card__cover {
		height: 190px;
	}

	.mv-blog-pagination {
		flex-wrap: wrap;
		justify-content: center;
		gap: 12px;
		margin-top: 28px;
	}

	.mv-blog-pagination__pages {
		order: -1;
		width: 100%;
		justify-content: center;
	}

	.mv-post-hero {
		padding-block: 28px 28px;
	}

	.mv-post-body {
		padding-block: 32px 4px;
	}

	.mv-post__content {
		font-size: var(--mv-fs-15);
	}

	.mv-post__content > p:first-of-type::first-letter {
		font-size: 44px;
	}

	.mv-post__content blockquote,
	.mv-post-quote__text {
		font-size: var(--mv-fs-18);
	}

	.mv-post-engagement {
		gap: 20px;
		margin-top: 28px;
	}

	.mv-post-action span {
		font-size: var(--mv-fs-13);
	}

	.mv-comments {
		padding-block: 32px 48px;
	}

	.mv-comment-list .children {
		padding-inline-start: 20px;
	}

	.mv-comment-form__row {
		gap: 10px;
	}

	.mv-comment-form__foot {
		flex-wrap: wrap;
	}
}

@media (max-width: 479.98px) {
	.mv-post-hero__divider {
		display: none;
	}

	.mv-post-share {
		width: 100%;
	}

	.mv-post-side {
		flex-direction: column;
	}

	.mv-post-side__cover {
		width: 100%;
		height: 160px;
	}

	.mv-blog-search {
		flex-direction: column;
	}
}

@media (prefers-reduced-motion: reduce) {
	.mv-post-more,
	.mv-post-wide__img,
	.mv-post-grid-card__img,
	.mv-blog-latest-head__arrow,
	.mv-blog-toast {
		transition: none;
	}
}
