/* VMV single blog post. Loaded on single posts only (inc/vmv-blog.php). */
.vmv-post {
	--vb: #21428B;
	--vr: #D32529;
	--vk: #1C1C1D;
	--vt: #3B3C40;
	--tint: #F3F5F9;
	--line: #DFE4EC;
	--col: 1000px;
	--wide: 1000px;
	font-family: "Roboto", sans-serif;
	color: var(--vt);
	background: #fff;
}
.vmv-post a { color: var(--vb); }
.vmv-post a:hover, .vmv-post a:focus { color: var(--vr); }

/* Title header: full-width banner, title then breadcrumb */
.vmv-post-hero { position: relative; padding: 110px 16px; background-color: var(--vk); background-image: linear-gradient(100deg, rgba(28,28,29,.94) 0%, rgba(28,28,29,.86) 45%, rgba(33,66,139,.80) 100%), var(--vmv-hero-bg); background-size: cover; background-position: center; background-repeat: no-repeat; overflow: hidden; }
.vmv-post-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: var(--vr); }
.vmv-post-hero__inner { max-width: var(--wide); margin: 0 auto; }
.vmv-post-title { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 50px; line-height: 1.12; color: #fff; margin: 0; max-width: 900px; word-break: break-word; }
.vmv-crumbs { margin: 30px 0 0; font-family: "Outfit", sans-serif; font-weight: 500; font-size: 18px; line-height: 1.5; color: #fff; }
.vmv-crumbs a { color: #fff !important; text-decoration: none; }
.vmv-crumbs a:hover { color: #fff !important; text-decoration: underline; }
.vmv-crumbs__sep { display: inline-block; margin: 0 10px; color: rgba(255,255,255,.55); }
.vmv-crumbs .breadcrumb_last { color: #FF8A8C; }

/* Featured image and meta */
.vmv-post-feature { margin: 0 0 22px; }
.vmv-post-feature img { display: block; width: 100%; height: auto; aspect-ratio: 2 / 1; object-fit: cover; border-radius: 4px; background: #E8ECF2; }
.vmv-post-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 10px 26px; font-size: 15px; line-height: 1.4; color: #55585F; padding-bottom: 22px; margin-bottom: 34px; border-bottom: 1px solid var(--line); }
.vmv-post-meta__item { display: inline-flex; align-items: center; gap: 8px; white-space: nowrap; }
.vmv-post-meta__item svg { width: 16px; height: 16px; fill: var(--vr); flex: 0 0 16px; }
.vmv-post-meta a { color: var(--vk); font-weight: 500; text-decoration: none; }
.vmv-post-meta a:hover { color: var(--vb); text-decoration: underline; }

/* Body column */
.vmv-post-body { max-width: var(--col); margin: 0 auto; padding: 56px 16px 24px; box-sizing: content-box; }

.vmv-toc { background: var(--tint); border-left: 4px solid var(--vb); border-radius: 0 4px 4px 0; padding: 22px 26px 18px; margin: 0 0 40px; }
.vmv-toc__title { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 20px; color: var(--vk); margin: 0 0 10px; }
.vmv-toc ol { margin: 0; padding: 0; list-style: none; counter-reset: toc; columns: 2; column-gap: 32px; }
.vmv-toc li { counter-increment: toc; break-inside: avoid; position: relative; padding: 6px 0 6px 30px; font-size: 15px; line-height: 1.45; }
.vmv-toc li::before { content: counter(toc, decimal-leading-zero); position: absolute; left: 0; top: 7px; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 13px; color: var(--vr); }
.vmv-toc a { color: var(--vk); text-decoration: none; }
.vmv-toc a:hover { color: var(--vb); text-decoration: underline; }

/* Article typography */
.vmv-content { font-size: 17px; line-height: 1.75; }
.vmv-content > *:first-child { margin-top: 0; }
.vmv-content p { margin: 0 0 1.2em; }
.vmv-content h2 { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 32px; line-height: 1.2; color: var(--vb); margin: 1.6em 0 .6em; scroll-margin-top: 120px; }
.vmv-content h3 { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 22px; line-height: 1.3; color: var(--vk); margin: 1.5em 0 .5em; }
.vmv-content strong { color: var(--vk); font-weight: 600; }
.vmv-content a { text-decoration: underline; text-decoration-thickness: 1px; text-underline-offset: 3px; }
.vmv-content ul, .vmv-content ol { margin: 0 0 1.4em; padding: 0; list-style: none; }
.vmv-content ul > li { position: relative; padding-left: 24px; margin-bottom: .55em; }
.vmv-content ul > li::before { content: ""; position: absolute; left: 4px; top: .7em; width: 7px; height: 7px; background: var(--vr); border-radius: 1px; }
.vmv-content ol { counter-reset: step; }
.vmv-content ol > li { counter-increment: step; position: relative; padding-left: 44px; margin-bottom: .8em; min-height: 30px; }
.vmv-content ol > li::before { content: counter(step); position: absolute; left: 0; top: .1em; width: 30px; height: 30px; border-radius: 50%; background: var(--vb); color: #fff; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 15px; line-height: 30px; text-align: center; }

/* Images */
.vmv-content figure { margin: 2em auto; max-width: 100%; text-align: center; }
.vmv-content figure img, .vmv-content p > img { display: inline-block; max-width: 100%; height: auto; border-radius: 4px; vertical-align: middle; }
.vmv-content figcaption { font-size: 14px; color: #6A6D75; margin-top: 8px; }

/* Tables */
.vmv-table-wrap { overflow-x: auto; margin: 1.6em 0 2em; border: 1px solid var(--line); border-radius: 4px; -webkit-overflow-scrolling: touch; }
.vmv-content table { width: 100%; min-width: 560px; border-collapse: collapse; margin: 0; font-size: 15px; line-height: 1.5; }
.vmv-content th { background: var(--vb); color: #fff; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 15px; text-align: left; padding: 13px 16px; border: 0; }
.vmv-content td { padding: 12px 16px; border: 0; border-top: 1px solid var(--line); vertical-align: top; background: #fff; }
.vmv-content tbody tr:nth-child(even) td { background: #F8F9FB; }
.vmv-content td:first-child { color: var(--vk); font-weight: 500; }

/* In-article call to action */
.vmv-inline-cta { background: var(--vk); color: #fff; border-radius: 4px; padding: 26px 28px; margin: 2.2em 0; border-left: 4px solid var(--vr); }
.vmv-inline-cta__title { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 24px; line-height: 1.25; color: #fff; margin: 0 0 6px !important; }
.vmv-inline-cta__text { font-size: 16px; line-height: 1.6; color: #D5D7DC; margin: 0 0 18px !important; }
.vmv-inline-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; }

/* Buttons (match the site's buttons) */
.vmv-post .vmv-btn { display: inline-flex; align-items: center; justify-content: center; font-family: "Outfit", sans-serif; font-weight: 600; font-size: 14px; line-height: 1; letter-spacing: .5px; text-transform: uppercase; text-decoration: none; padding: 16px 26px; border-radius: 3px; border: 2px solid transparent; transition: background-color .2s, border-color .2s, color .2s; }
.vmv-post .vmv-btn--red { background: var(--vr); border-color: var(--vr); color: #fff; }
.vmv-post .vmv-btn--red:hover, .vmv-post .vmv-btn--red:focus { background: var(--vb); border-color: var(--vb); color: #fff; }
.vmv-post .vmv-btn--line, .vmv-post .vmv-btn--ghost { background: transparent; border-color: rgba(255,255,255,.55); color: #fff; }
.vmv-post .vmv-btn--line:hover, .vmv-post .vmv-btn--line:focus, .vmv-post .vmv-btn--ghost:hover, .vmv-post .vmv-btn--ghost:focus { background: #fff; border-color: #fff; color: var(--vk); }

/* FAQ */
.vmv-faq { margin: 2.4em 0; }
.vmv-faq h2 { margin-top: 0; }
.vmv-faq h3 { font-size: 19px; margin: 0; padding: 18px 0 6px; border-top: 1px solid var(--line); color: var(--vk); }
.vmv-faq h3 + p { margin-bottom: 4px; padding-bottom: 14px; }
.vmv-faq > *:last-child { border-bottom: 1px solid var(--line); }

/* Sources */
.vmv-sources { margin: 2.4em 0 0; padding-top: 6px; }
.vmv-sources h2 { font-size: 20px; color: var(--vk); margin: 0 0 .6em; }
.vmv-sources ul > li { font-size: 15px; line-height: 1.6; }

/* Tags and share */
.vmv-post-footer { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 18px 32px; margin: 40px 0 0; padding: 22px 0; border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.vmv-post-footer__label { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 15px; color: var(--vk); margin-right: 4px; }
.vmv-tags, .vmv-share { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; }
.vmv-tags a { font-size: 14px; line-height: 1; padding: 9px 14px; border: 1px solid var(--line); border-radius: 3px; background: #fff; color: var(--vk); text-decoration: none; }
.vmv-tags a:hover { border-color: var(--vb); background: var(--vb); color: #fff; }
.vmv-share a { display: inline-flex; align-items: center; justify-content: center; width: 38px; height: 38px; border-radius: 3px; background: var(--tint); color: var(--vk); }
.vmv-share a:hover { background: var(--vb); color: #fff; }
.vmv-share svg { fill: currentColor; }

/* Author */
.vmv-author { display: flex; gap: 20px; align-items: flex-start; margin: 32px 0 0; padding: 24px; border: 1px solid var(--line); border-radius: 4px; }
.vmv-author img { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 4px; background: var(--tint); object-fit: contain; padding: 6px; box-sizing: border-box; }
.vmv-author p { margin: 0 0 8px; font-size: 15px; line-height: 1.65; }
.vmv-author .vmv-author__name { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 19px; color: var(--vk); margin-bottom: 4px; }
.vmv-author a { font-size: 15px; font-weight: 500; }

/* Closing call to action */
.vmv-post-cta { background: var(--vb); color: #fff; margin-top: 64px; padding: 56px 16px 0; }
.vmv-post-cta__inner { max-width: var(--wide); margin: 0 auto; display: flex; align-items: center; justify-content: space-between; gap: 32px 48px; padding-bottom: 40px; }
.vmv-post-cta__copy { max-width: 620px; }
.vmv-post-cta__kicker { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 18px; color: #fff; opacity: .8; margin: 0 0 8px; }
.vmv-post-cta h2 { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 36px; line-height: 1.2; color: #fff; margin: 0 0 12px; }
.vmv-post-cta p { font-size: 16px; line-height: 1.7; margin: 0; color: #E3E8F3; }
.vmv-post-cta__actions { display: flex; flex-wrap: wrap; gap: 12px; flex-shrink: 0; }
.vmv-post-cta .vmv-btn--red:hover, .vmv-post-cta .vmv-btn--red:focus { background: var(--vk); border-color: var(--vk); }
.vmv-post-cta__links { max-width: var(--wide); margin: 0 auto; display: flex; flex-wrap: wrap; gap: 6px 28px; padding: 18px 0 20px; border-top: 1px solid rgba(255,255,255,.2); }
.vmv-post-cta__links a { color: #fff !important; font-size: 15px; text-decoration: none; }
.vmv-post-cta__links a::after { content: " \2192"; opacity: .6; }
.vmv-post-cta__links a:hover { text-decoration: underline; }

/* Related posts */
.vmv-related { background: #FBFBFB; padding: 60px 16px 72px; }
.vmv-related__inner { max-width: var(--wide); margin: 0 auto; }
.vmv-related h2 { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 32px; line-height: 1.2; color: var(--vb); margin: 0 0 28px; }
.vmv-related__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.vmv-card { background: #fff; border: 1px solid var(--line); border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; transition: border-color .2s; }
.vmv-card:hover { border-color: var(--vb); }
.vmv-card__img { display: block; aspect-ratio: 16 / 10; background: #E8ECF2; overflow: hidden; }
.vmv-card__img img { display: block; width: 100%; height: 100%; object-fit: cover; }
.vmv-card__body { padding: 18px 20px 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.vmv-card__label { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 15px; color: var(--vr); }
.vmv-card h3 { font-family: "Outfit", sans-serif; font-weight: 600; font-size: 20px; line-height: 1.3; margin: 0; flex: 1; }
.vmv-card h3 a { color: var(--vk); text-decoration: none; }
.vmv-card h3 a:hover { color: var(--vb); }
.vmv-card__meta { font-size: 14px; color: #6A6D75; }

/* Tablet */
@media (max-width: 1024px) {
	.vmv-post-hero { padding: 90px 16px; }
	.vmv-post-title { font-size: 42px; }
	.vmv-crumbs { font-size: 16px; margin-top: 24px; }
	.vmv-post-cta__inner { flex-direction: column; align-items: flex-start; }
	.vmv-post-cta h2 { font-size: 32px; }
}

/* Mobile */
@media (max-width: 767px) {
	.vmv-post-hero { padding: 64px 16px; }
	.vmv-post-title { font-size: 32px; line-height: 1.18; }
	.vmv-crumbs { font-size: 15px; margin-top: 18px; }
	.vmv-crumbs__sep { margin: 0 7px; }
	.vmv-post-meta { font-size: 14px; gap: 10px 18px; margin-bottom: 28px; }
	.vmv-post-feature img { aspect-ratio: 16 / 10; }
	.vmv-post-body { padding-top: 24px; }
	.vmv-toc { padding: 18px 18px 14px; margin-bottom: 32px; }
	.vmv-toc ol { columns: 1; }
	.vmv-content { font-size: 16px; }
	.vmv-content h2 { font-size: 27px; }
	.vmv-content h3 { font-size: 20px; }
	.vmv-inline-cta { padding: 22px 20px; }
	.vmv-inline-cta__title { font-size: 21px; }
	.vmv-inline-cta__actions .vmv-btn, .vmv-post-cta__actions .vmv-btn { flex: 1 1 100%; }
	.vmv-post-cta__actions { width: 100%; }
	.vmv-author { flex-direction: column; gap: 14px; padding: 20px; }
	.vmv-post-cta { margin-top: 48px; padding-top: 44px; }
	.vmv-post-cta h2 { font-size: 27px; }
	.vmv-post-cta__links { gap: 10px 20px; }
	.vmv-related { padding: 44px 16px 52px; }
	.vmv-related h2 { font-size: 27px; margin-bottom: 20px; }
	.vmv-related__grid { grid-template-columns: 1fr; gap: 16px; }
}
@media (min-width: 768px) and (max-width: 900px) {
	.vmv-related__grid { grid-template-columns: repeat(2, 1fr); }
	.vmv-related__grid .vmv-card:nth-child(3) { display: none; }
}
