/*
 * Voce Economia — main stylesheet.
 *
 * Identity: cut felt. Soft rounded shapes, "stitched" dashed outlines, solid
 * offset shadows that read as a second layer of felt, pill chips in rotating
 * felt colours, scalloped and pinked (zigzag) edges. System fonts only.
 *
 *  1. Tokens            7. Hero and home bands   13. Tutorial kit, TOC, FAQ
 *  2. Base              8. Cards and grids       14. Post footer, navigation
 *  3. Layout            9. Archives and search   15. Comments, widgets, ads
 *  4. Buttons, chips   10. Article and pages     16. Footer
 *  5. Header and nav   11. Prose                 17. 404, utilities
 *  6. Forms            12. Callouts              18. Motion, print
 */

/* 1. Tokens --------------------------------------------------------------- */

:root {
	--vce-cream: #fbf5ea;
	--vce-surface: #ffffff;
	--vce-ink: #3a2f3d;
	--vce-ink-soft: #655a69;
	--vce-raspberry: #c8456b;
	--vce-raspberry-deep: #b0375b;
	--vce-raspberry-dark: #8f2947;
	--vce-teal: #2f8f83;
	--vce-teal-deep: #226f65;
	--vce-mustard: #e9b44c;
	--vce-mustard-deep: #c98f24;
	--vce-violet: #7a67b0;
	--vce-blush: #fbe6e1;
	--vce-mint: #e3f1ea;
	--vce-butter: #fdf0cf;
	--vce-lavender: #ece7f6;
	--vce-line: #e6dccb;
	--vce-thread: #cbbfa9;

	--vce-font-body: "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
	--vce-font-head: "Trebuchet MS", "Segoe UI", system-ui, -apple-system, "Helvetica Neue", Arial, sans-serif;

	--vce-r-sm: 12px;
	--vce-r: 18px;
	--vce-r-lg: 26px;
	--vce-wide: 71.25rem;
	--vce-narrow: 46.25rem;
	--vce-gutter: 1.125rem;

	/* Per-component felt colour, overridden by the rotation rules below. */
	--vce-felt: var(--vce-raspberry);
	--vce-felt-tint: var(--vce-blush);
}

/* 2. Base ----------------------------------------------------------------- */

*,
*::before,
*::after {
	box-sizing: border-box;
}

html {
	-webkit-text-size-adjust: 100%;
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background: var(--vce-cream);
	color: var(--vce-ink);
	font-family: var(--vce-font-body);
	font-size: 1.0625rem;
	line-height: 1.7;
	overflow-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
	margin: 0 0 0.6em;
	font-family: var(--vce-font-head);
	font-weight: 700;
	line-height: 1.15;
	letter-spacing: -0.015em;
	color: var(--vce-ink);
}

h1 { font-size: clamp(1.9rem, 4.6vw, 2.75rem); }
h2 { font-size: clamp(1.45rem, 3vw, 1.85rem); }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.0625rem; }

p, ul, ol, dl, table, figure, blockquote, pre {
	margin: 0 0 1.25rem;
}

a {
	color: var(--vce-raspberry-deep);
	text-decoration-thickness: 2px;
	text-underline-offset: 3px;
}

a:hover {
	color: var(--vce-raspberry-dark);
}

:focus-visible {
	outline: 3px solid var(--vce-teal-deep);
	outline-offset: 3px;
	border-radius: 6px;
}

img, svg, video {
	max-width: 100%;
	height: auto;
}

img {
	display: block;
}

hr {
	height: 0;
	margin: 2.25rem 0;
	border: 0;
	border-top: 2px dashed var(--vce-thread);
}

::selection {
	background: var(--vce-mustard);
	color: var(--vce-ink);
}

.screen-reader-text {
	position: absolute !important;
	width: 1px;
	height: 1px;
	margin: -1px;
	padding: 0;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

.vce-skip-link:focus {
	position: fixed !important;
	top: 0.75rem;
	left: 0.75rem;
	z-index: 100;
	width: auto;
	height: auto;
	margin: 0;
	padding: 0.6rem 1rem;
	clip: auto;
	background: var(--vce-ink);
	color: var(--vce-cream);
	border-radius: 999px;
}

.vce-icon {
	flex: 0 0 auto;
	width: 1.1em;
	height: 1.1em;
	fill: none;
	stroke: currentColor;
	stroke-width: 1.8;
	stroke-linecap: round;
	stroke-linejoin: round;
}

/* 3. Layout --------------------------------------------------------------- */

.vce-container {
	width: 100%;
	max-width: calc(var(--vce-wide) + 2 * var(--vce-gutter));
	margin-inline: auto;
	padding-inline: var(--vce-gutter);
}

.vce-container--narrow {
	max-width: calc(var(--vce-narrow) + 2 * var(--vce-gutter));
}

.vce-site-main {
	display: block;
	padding: 1.5rem 0 3.5rem;
}

.vce-site-main:focus {
	outline: 0;
}

.vce-site-main--flush {
	padding: 0;
}

.vce-layout > * {
	min-width: 0;
}

/* Single articles and pages keep a comfortable reading measure. */
.vce-no-sidebar.single .vce-layout,
.vce-page {
	max-width: var(--vce-narrow);
	margin-inline: auto;
}

.vce-section {
	margin-top: 3rem;
}

.vce-section__head {
	display: grid;
	grid-template-columns: minmax(0, 1fr) auto;
	align-items: center;
	gap: 0.5rem 1rem;
	margin-bottom: 1.5rem;
}

.vce-section__head > * {
	justify-self: start;
}

.vce-section__title {
	position: relative;
	margin: 0;
	padding-bottom: 0.5rem;
}

/* A short line of running stitch under every section title. */
.vce-section__title::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 4.5rem;
	border-top: 3px dashed var(--vce-raspberry);
}

.vce-section__link {
	justify-self: end;
	padding: 0.3rem 0.9rem;
	border: 2px solid var(--vce-ink);
	border-radius: 999px;
	background: var(--vce-surface);
	color: var(--vce-ink);
	font-size: 0.9rem;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
}

.vce-section__link::after {
	content: " \2192";
}

.vce-section__link:hover {
	background: var(--vce-ink);
	color: var(--vce-cream);
}

.vce-section__description {
	grid-column: 1 / -1;
	max-width: 38rem;
	margin: 0;
	color: var(--vce-ink-soft);
}

/* 4. Buttons and chips ---------------------------------------------------- */

.vce-button,
.wp-block-button__link,
button[type="submit"],
input[type="submit"] {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.5rem;
	padding: 0.7rem 1.4rem;
	border: 2px solid var(--vce-raspberry-dark);
	border-radius: 999px;
	background: var(--vce-raspberry-deep);
	box-shadow: 3px 4px 0 var(--vce-raspberry-dark);
	color: #fff;
	font: inherit;
	font-family: var(--vce-font-head);
	font-weight: 700;
	line-height: 1.2;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: transform 0.12s ease, box-shadow 0.12s ease;
}

.vce-button:hover,
.wp-block-button__link:hover,
button[type="submit"]:hover,
input[type="submit"]:hover {
	color: #fff;
	transform: translate(2px, 2px);
	box-shadow: 1px 2px 0 var(--vce-raspberry-dark);
}

.vce-button--secondary {
	border-color: var(--vce-teal-deep);
	background: var(--vce-surface);
	box-shadow: 3px 4px 0 var(--vce-teal-deep);
	color: var(--vce-teal-deep);
}

.vce-button--secondary:hover {
	color: var(--vce-teal-deep);
	box-shadow: 1px 2px 0 var(--vce-teal-deep);
}

.vce-button--light {
	border-color: var(--vce-ink);
	background: var(--vce-mustard);
	box-shadow: 3px 4px 0 var(--vce-ink);
	color: var(--vce-ink);
}

.vce-button--light:hover {
	color: var(--vce-ink);
	box-shadow: 1px 2px 0 var(--vce-ink);
}

.vce-button--small {
	padding: 0.4rem 0.9rem;
	font-size: 0.9rem;
}

.vce-chip,
.vce-eyebrow {
	display: inline-block;
	padding: 0.18rem 0.75rem;
	border-radius: 999px;
	background: var(--vce-felt-tint);
	color: var(--vce-ink);
	font-size: 0.8125rem;
	font-weight: 700;
	line-height: 1.5;
	text-decoration: none;
}

.vce-chip {
	padding: 0.35rem 0.95rem;
	border: 2px dashed var(--vce-felt);
	font-size: 0.9rem;
}

.vce-chip:hover,
.vce-eyebrow:hover {
	background: var(--vce-ink);
	border-color: var(--vce-ink);
	color: var(--vce-cream);
}

/* Felt colour rotation: cards, steps, chips and topics cycle through four. */
.vce-grid > :nth-child(4n + 2),
.vce-card-list > :nth-child(4n + 2),
.vce-steps > :nth-child(4n + 2),
.vce-topics > :nth-child(4n + 2),
.vce-subcategories > :nth-child(4n + 2),
.vce-tags > :nth-child(4n + 3) {
	--vce-felt: var(--vce-teal);
	--vce-felt-tint: var(--vce-mint);
}

.vce-grid > :nth-child(4n + 3),
.vce-card-list > :nth-child(4n + 3),
.vce-steps > :nth-child(4n + 3),
.vce-topics > :nth-child(4n + 3),
.vce-subcategories > :nth-child(4n + 3),
.vce-tags > :nth-child(4n + 4) {
	--vce-felt: var(--vce-mustard-deep);
	--vce-felt-tint: var(--vce-butter);
}

.vce-grid > :nth-child(4n + 4),
.vce-card-list > :nth-child(4n + 4),
.vce-steps > :nth-child(4n + 4),
.vce-topics > :nth-child(4n + 4),
.vce-subcategories > :nth-child(4n + 4),
.vce-tags > :nth-child(4n + 5) {
	--vce-felt: var(--vce-violet);
	--vce-felt-tint: var(--vce-lavender);
}

.vce-subcategories,
.vce-tags {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.6rem;
	margin: 0 0 1.5rem;
	padding: 0;
	list-style: none;
}

.vce-tags__label {
	font-weight: 700;
}

/* 5. Header and navigation ------------------------------------------------ */

.vce-site-header {
	position: relative;
	z-index: 20;
	background: var(--vce-surface);
	border-bottom: 3px dashed var(--vce-thread);
}

.vce-header__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.8rem 0;
}

.vce-branding {
	display: flex;
	align-items: center;
	gap: 0.7rem;
	min-width: 0;
}

.vce-branding__mark {
	flex: 0 0 auto;
	width: 2.75rem;
	height: 2.75rem;
}

.vce-branding__title {
	margin: 0;
	font-family: var(--vce-font-head);
	font-size: 1.4rem;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: -0.02em;
}

.vce-branding__title a {
	color: var(--vce-ink);
	text-decoration: none;
}

.vce-branding__tagline {
	display: none;
	margin: 0.15rem 0 0;
	color: var(--vce-ink-soft);
	font-size: 0.8125rem;
	line-height: 1.3;
}

.vce-custom-logo-link img,
.custom-logo {
	width: auto;
	max-height: 3rem;
}

.vce-menu-toggle {
	display: inline-flex;
	align-items: center;
	gap: 0.6rem;
	padding: 0.5rem 1rem;
	border: 2px solid var(--vce-ink);
	border-radius: 999px;
	background: var(--vce-butter);
	color: var(--vce-ink);
	font: inherit;
	font-size: 0.95rem;
	font-weight: 700;
	cursor: pointer;
}

.vce-menu-toggle[aria-expanded="true"] {
	background: var(--vce-ink);
	color: var(--vce-cream);
}

.vce-menu-toggle__bars,
.vce-menu-toggle__bars::before,
.vce-menu-toggle__bars::after {
	display: block;
	width: 1.1rem;
	height: 2px;
	border-radius: 2px;
	background: currentColor;
}

.vce-menu-toggle__bars {
	position: relative;
}

.vce-menu-toggle__bars::before,
.vce-menu-toggle__bars::after {
	content: "";
	position: absolute;
	left: 0;
}

.vce-menu-toggle__bars::before { top: -6px; }
.vce-menu-toggle__bars::after { top: 6px; }

.vce-header__panel {
	display: none;
	padding-bottom: 1.1rem;
}

.vce-header__panel.is-open {
	display: block;
}

.vce-nav__list,
.vce-nav__list .sub-menu {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vce-nav__list .sub-menu {
	margin-top: 0.5rem;
}

.vce-nav__list a {
	display: block;
	padding: 0.4rem 0.95rem;
	border: 2px solid transparent;
	border-radius: 999px;
	background: var(--vce-cream);
	color: var(--vce-ink);
	font-size: 0.95rem;
	font-weight: 600;
	line-height: 1.4;
	text-decoration: none;
}

.vce-nav__list a:hover {
	border-color: var(--vce-ink);
}

.vce-nav .current-menu-item > a,
.vce-nav .current-menu-ancestor > a,
.vce-nav .current_page_item > a,
.vce-nav__list a[aria-current="page"] {
	background: var(--vce-raspberry-deep);
	color: #fff;
}

.vce-header__search {
	margin-top: 1rem;
}

.vce-nav--empty {
	margin: 0;
	font-size: 0.9rem;
}

@media (min-width: 62em) {
	.vce-menu-toggle {
		display: none;
	}

	/* Two rows: wordmark + search on top, the pill navigation underneath. */
	.vce-site-header .vce-container {
		display: grid;
		grid-template-columns: minmax(0, 1fr) minmax(12rem, 17rem);
		grid-template-areas: "brand search" "nav nav";
		align-items: center;
		gap: 0 1.5rem;
	}

	.vce-header__inner {
		grid-area: brand;
		padding: 1rem 0 0.75rem;
	}

	.vce-header__panel {
		display: contents !important;
	}

	.vce-nav {
		grid-area: nav;
		padding-bottom: 0.9rem;
	}

	.vce-header__search {
		grid-area: search;
		margin: 0;
	}

	.vce-branding__tagline {
		display: block;
	}

	.vce-nav__list li {
		position: relative;
	}

	.vce-nav__list .sub-menu {
		display: none;
		position: absolute;
		top: 100%;
		left: 0;
		z-index: 60;
		flex-direction: column;
		min-width: 13rem;
		margin: 0;
		padding: 0.6rem;
		border: 2px solid var(--vce-ink);
		border-radius: var(--vce-r);
		background: var(--vce-surface);
	}

	.vce-nav__list li:hover > .sub-menu,
	.vce-nav__list li:focus-within > .sub-menu {
		display: flex;
	}
}

/* 6. Forms ---------------------------------------------------------------- */

label {
	display: block;
	margin-bottom: 0.4rem;
	font-size: 0.95rem;
	font-weight: 700;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
input[type="password"],
input[type="number"],
select,
textarea {
	display: block;
	width: 100%;
	max-width: 100%;
	padding: 0.65rem 0.95rem;
	border: 2px solid var(--vce-thread);
	border-radius: var(--vce-r-sm);
	background: var(--vce-surface);
	color: var(--vce-ink);
	font: inherit;
	line-height: 1.4;
}

textarea {
	min-height: 9rem;
	resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
	border-color: var(--vce-teal-deep);
	outline: 3px solid var(--vce-mint);
	outline-offset: 0;
}

[aria-invalid="true"] {
	border-color: var(--vce-raspberry-deep);
}

.vce-search-form {
	display: flex;
	gap: 0.4rem;
}

.vce-search-form__field {
	flex: 1 1 auto;
	min-width: 0;
}

.vce-search-form input[type="search"] {
	border-radius: 999px;
	-webkit-appearance: none;
	appearance: none;
}

.vce-search-form__submit,
button.vce-search-form__submit[type="submit"] {
	flex: 0 0 auto;
	width: 2.9rem;
	height: 2.9rem;
	padding: 0;
	border-color: var(--vce-teal-deep);
	background: var(--vce-teal-deep);
	box-shadow: none;
}

.vce-search-form__submit:hover {
	transform: none !important;
	box-shadow: none !important;
	background: var(--vce-ink);
	border-color: var(--vce-ink);
}

/* Contact form: a stitched felt panel. */
.vce-contact {
	margin-top: 1.75rem;
	padding: 1.5rem 1.25rem;
	border: 2px dashed var(--vce-teal);
	border-radius: var(--vce-r-lg);
	background: var(--vce-surface);
	box-shadow: 6px 7px 0 var(--vce-mint);
	scroll-margin-top: 1.5rem;
}

.vce-field {
	margin-bottom: 1.25rem;
}

.vce-field__hint,
.vce-field__error {
	display: block;
	margin-top: 0.35rem;
	color: var(--vce-ink-soft);
	font-size: 0.875rem;
}

.vce-field__error,
.vce-required {
	color: var(--vce-raspberry-deep);
}

.vce-form__honeypot {
	position: absolute !important;
	left: -9999px;
	width: 1px;
	height: 1px;
	overflow: hidden;
}

.vce-form-notice {
	margin-bottom: 1.5rem;
	padding: 1rem 1.25rem;
	border: 2px dashed var(--vce-teal-deep);
	border-radius: var(--vce-r);
	background: var(--vce-mint);
}

.vce-form-notice--error {
	border-color: var(--vce-raspberry-deep);
	background: var(--vce-blush);
}

.vce-form-notice p,
.vce-form-notice ul {
	margin: 0 0 0.4rem;
}

.vce-form-notice > :last-child {
	margin-bottom: 0;
}

.vce-form-notice__list {
	padding-left: 1.2rem;
}

/* 7. Hero and home bands -------------------------------------------------- */

.vce-hero {
	position: relative;
	background: var(--vce-blush);
	overflow: hidden;
}

.vce-hero__inner {
	display: grid;
	gap: 1.5rem;
	align-items: center;
	padding: 2.5rem 0 3rem;
}

.vce-hero__title {
	margin-bottom: 1rem;
	font-size: clamp(2.15rem, 6vw, 3.5rem);
	line-height: 1.05;
	letter-spacing: -0.03em;
}

.vce-hero__text {
	max-width: 34rem;
	margin-bottom: 1.75rem;
	font-size: 1.15rem;
	line-height: 1.6;
}

.vce-hero__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
}

.vce-hero__figure {
	max-width: 26rem;
	margin-inline: auto;
}

.vce-hero__figure svg {
	display: block;
	width: 100%;
}

/* Scalloped edge: half circles of the page colour biting into the band. */
.vce-scallop,
.vce-band::before,
.vce-band::after {
	display: block;
	height: 14px;
	background: radial-gradient(circle at 50% 100%, var(--vce-cream) 0 13px, transparent 13.5px) 50% 0 / 28px 14px repeat-x;
}

.vce-band {
	position: relative;
	padding: 3rem 0;
}

.vce-band--none {
	padding: 2.75rem 0;
}

.vce-band::before,
.vce-band::after {
	position: absolute;
	left: 0;
	right: 0;
	bottom: 0;
}

.vce-band::before {
	top: 0;
	bottom: auto;
	transform: scaleY(-1);
}

.vce-band:not(.vce-band--none)::before,
.vce-band:not(.vce-band--none)::after {
	content: "";
}

.vce-band--blush { background: var(--vce-blush); }
.vce-band--mint { background: var(--vce-mint); }
.vce-band--butter { background: var(--vce-butter); }
.vce-band--lavender { background: var(--vce-lavender); }

.vce-band:not(.vce-band--none) {
	padding: 4rem 0;
}

/* "Start Here": numbered felt patches, read in order. */
.vce-steps {
	display: grid;
	gap: 1.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
	counter-reset: vce-step;
}

.vce-steps__item {
	position: relative;
	min-width: 0;
	padding: 2.4rem 1.25rem 1.25rem;
	border-radius: var(--vce-r);
	background: var(--vce-felt-tint);
	box-shadow: 5px 6px 0 var(--vce-felt);
	counter-increment: vce-step;
}

.vce-steps__item::after {
	content: "";
	position: absolute;
	inset: 8px;
	border: 2px dashed var(--vce-felt);
	border-radius: 11px;
	pointer-events: none;
}

.vce-steps__item::before {
	content: counter(vce-step);
	position: absolute;
	top: -1.1rem;
	left: 1.1rem;
	z-index: 1;
	display: grid;
	place-items: center;
	width: 2.6rem;
	height: 2.6rem;
	border: 3px solid var(--vce-cream);
	border-radius: 50%;
	background: var(--vce-ink);
	color: var(--vce-cream);
	font-family: var(--vce-font-head);
	font-weight: 700;
}

.vce-steps__title {
	margin-bottom: 0.5rem;
	font-size: 1.2rem;
}

.vce-steps__title a {
	color: var(--vce-ink);
	text-decoration: none;
}

/* The whole patch is the link target. */
.vce-steps__title a::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 2;
	border-radius: var(--vce-r);
}

.vce-steps__item:hover .vce-steps__title a {
	text-decoration: underline;
}

.vce-steps__item p {
	margin: 0;
	color: var(--vce-ink-soft);
	font-size: 0.95rem;
	line-height: 1.55;
}

/* Closing call to action: one big raspberry patch. */
.vce-cta {
	position: relative;
	display: grid;
	gap: 1.25rem;
	align-items: center;
	padding: 2.25rem 1.6rem;
	border-radius: var(--vce-r-lg);
	background: var(--vce-raspberry-deep);
	box-shadow: 7px 8px 0 var(--vce-raspberry-dark);
	color: #fff;
}

.vce-cta::before {
	content: "";
	position: absolute;
	inset: 10px;
	border: 2px dashed rgba(255, 255, 255, 0.55);
	border-radius: 18px;
	pointer-events: none;
}

.vce-cta > * {
	position: relative;
}

.vce-cta__title {
	margin-bottom: 0.5rem;
	color: #fff;
}

.vce-cta__text {
	max-width: 38rem;
	margin: 0;
}

/* Topic cards (optional home section). */
.vce-topics {
	display: grid;
	gap: 1.25rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vce-topic {
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	height: 100%;
	padding: 1.2rem;
	border: 2px dashed var(--vce-felt);
	border-radius: var(--vce-r);
	background: var(--vce-felt-tint);
	color: var(--vce-ink);
	text-decoration: none;
}

.vce-topic__name {
	font-family: var(--vce-font-head);
	font-size: 1.15rem;
	font-weight: 700;
}

.vce-topic__desc,
.vce-topic__count {
	color: var(--vce-ink-soft);
	font-size: 0.9rem;
	line-height: 1.5;
}

.vce-topic__count {
	margin-top: auto;
	font-weight: 700;
}

/* 8. Cards and grids ------------------------------------------------------ */

.vce-grid {
	display: grid;
	gap: 1.75rem 1.5rem;
}

.vce-card {
	display: flex;
	flex-direction: column;
	min-width: 0;
	border-radius: var(--vce-r);
	background: var(--vce-surface);
	box-shadow: 5px 6px 0 var(--vce-felt);
	transition: transform 0.14s ease, box-shadow 0.14s ease;
}

.vce-card:hover {
	transform: translate(-2px, -2px);
	box-shadow: 8px 9px 0 var(--vce-felt);
}

.vce-card__media,
.vce-card-row__media {
	position: relative;
	display: block;
	overflow: hidden;
	border-radius: var(--vce-r) var(--vce-r) 0 0;
	background: var(--vce-felt-tint);
	aspect-ratio: 16 / 9;
}

.vce-card__media img,
.vce-card-row__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

/* Stitched frame sewn over the picture. */
.vce-card__media::after,
.vce-card-row__media::after {
	content: "";
	position: absolute;
	inset: 8px;
	border: 2px dashed rgba(255, 255, 255, 0.9);
	border-radius: 11px;
	pointer-events: none;
}

.vce-card__media--placeholder,
.vce-card-row__media--placeholder {
	background:
		radial-gradient(circle at 50% 50%, var(--vce-felt) 0 1.4rem, transparent 1.45rem),
		var(--vce-felt-tint);
}

.vce-card__body {
	display: flex;
	flex: 1 1 auto;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.55rem;
	padding: 1.1rem 1.15rem 1.2rem;
}

.vce-card__title,
.vce-card-row__title {
	margin: 0;
	font-size: 1.2rem;
	line-height: 1.25;
}

.vce-card__title a,
.vce-card-row__title a {
	color: var(--vce-ink);
	text-decoration: none;
}

.vce-card__title a:hover,
.vce-card-row__title a:hover {
	color: var(--vce-raspberry-deep);
	text-decoration: underline;
}

.vce-card__excerpt,
.vce-card-row__excerpt {
	margin: 0;
	color: var(--vce-ink-soft);
	font-size: 0.95rem;
	line-height: 1.55;
}

.vce-card__footer {
	width: 100%;
	margin-top: auto;
	padding-top: 0.7rem;
	border-top: 2px dashed var(--vce-line);
}

.vce-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
	margin: 0;
	padding: 0;
	list-style: none;
	color: var(--vce-ink-soft);
	font-size: 0.875rem;
}

.vce-meta li {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 1rem;
}

.vce-meta__item {
	display: inline-flex;
	align-items: center;
	gap: 0.35rem;
}

.vce-meta a {
	color: inherit;
}

.vce-card-list {
	display: grid;
	gap: 1.5rem;
}

.vce-card-row {
	display: grid;
	gap: 1rem;
	min-width: 0;
	padding: 1rem;
	border-radius: var(--vce-r);
	background: var(--vce-surface);
	box-shadow: 5px 6px 0 var(--vce-felt);
}

.vce-card-row__media {
	border-radius: var(--vce-r-sm);
	aspect-ratio: 4 / 3;
}

.vce-card-row__body {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 0.5rem;
	min-width: 0;
}

@media (min-width: 36em) {
	.vce-grid--2,
	.vce-grid--3,
	.vce-grid--4,
	.vce-steps,
	.vce-topics {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vce-card-row {
		grid-template-columns: 11rem minmax(0, 1fr);
		align-items: start;
	}
}

@media (min-width: 48em) {
	:root {
		--vce-gutter: 1.75rem;
	}

	.vce-hero__inner {
		grid-template-columns: minmax(0, 1.1fr) minmax(0, 0.9fr);
		gap: 2.5rem;
		padding: 3.5rem 0 4.25rem;
	}

	.vce-hero__figure {
		max-width: none;
		margin: 0;
	}

	.vce-cta {
		grid-template-columns: minmax(0, 1fr) auto;
		padding: 2.75rem 2.5rem;
	}

	.vce-contact {
		padding: 2rem;
	}
}

@media (min-width: 62em) {
	.vce-grid--3,
	.vce-topics {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.vce-grid--4,
	.vce-steps {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}

	.vce-layout--with-sidebar {
		display: grid;
		grid-template-columns: minmax(0, 1fr) 18rem;
		gap: 3rem;
		align-items: start;
	}

	.vce-layout--with-sidebar .vce-grid--3 {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vce-sidebar--sticky {
		position: sticky;
		top: 1.5rem;
	}
}

/* 9. Archives and search -------------------------------------------------- */

.vce-breadcrumbs {
	margin-bottom: 1.5rem;
	color: var(--vce-ink-soft);
	font-size: 0.875rem;
}

.single .vce-breadcrumbs,
.page .vce-breadcrumbs {
	max-width: var(--vce-narrow);
	margin-inline: auto;
}

.vce-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	gap: 0.3rem 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vce-breadcrumbs li + li::before {
	content: "\2022";
	margin-right: 0.5rem;
	color: var(--vce-raspberry);
}

.vce-breadcrumbs a {
	color: var(--vce-ink-soft);
}

.vce-archive-header,
.vce-search-intro {
	position: relative;
	margin-bottom: 2.25rem;
	padding: 1.75rem 1.4rem;
	border-radius: var(--vce-r-lg);
	background: var(--vce-butter);
}

.vce-archive-header::before,
.vce-search-intro::before {
	content: "";
	position: absolute;
	inset: 9px;
	border: 2px dashed var(--vce-mustard);
	border-radius: 18px;
	pointer-events: none;
}

.vce-archive-header > *,
.vce-search-intro > * {
	position: relative;
}

.vce-archive-header__title {
	margin-bottom: 0.5rem;
}

.vce-archive-header__description {
	max-width: 42rem;
	font-size: 1.1rem;
}

.vce-archive-header__description p {
	margin-bottom: 0.75rem;
}

.vce-archive-header__count {
	display: inline-block;
	margin: 0;
	padding: 0.15rem 0.8rem;
	border-radius: 999px;
	background: var(--vce-ink);
	color: var(--vce-cream);
	font-size: 0.85rem;
	font-weight: 700;
}

.vce-archive-header .vce-subcategories {
	margin-bottom: 1rem;
}

.vce-search-intro .vce-search-form {
	max-width: 30rem;
	margin-top: 1.1rem;
}

.vce-no-results {
	padding: 1.75rem 1.4rem;
	border: 2px dashed var(--vce-thread);
	border-radius: var(--vce-r-lg);
	background: var(--vce-surface);
}

.vce-no-results .vce-search-form {
	max-width: 30rem;
}

.vce-pagination {
	margin-top: 2.75rem;
}

.vce-pagination ul {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.vce-pagination .page-numbers {
	display: inline-block;
	min-width: 2.75rem;
	padding: 0.45rem 0.9rem;
	border: 2px solid var(--vce-ink);
	border-radius: 999px;
	background: var(--vce-surface);
	color: var(--vce-ink);
	font-weight: 700;
	text-align: center;
	text-decoration: none;
}

.vce-pagination ul.page-numbers {
	display: flex;
	min-width: 0;
	padding: 0;
	border: 0;
	background: none;
}

.vce-pagination .page-numbers.current,
.vce-pagination a.page-numbers:hover {
	background: var(--vce-ink);
	color: var(--vce-cream);
}

.vce-pagination .page-numbers.dots {
	border-color: transparent;
	background: none;
}

/* 10. Article and pages --------------------------------------------------- */

.vce-article__header,
.vce-page__header {
	margin-bottom: 1.75rem;
}

.vce-article__header .vce-eyebrow {
	margin-bottom: 0.9rem;
	background: var(--vce-raspberry-deep);
	color: #fff;
}

.vce-article__title,
.vce-page__title {
	margin-bottom: 0.9rem;
	letter-spacing: -0.025em;
}

.vce-article__summary {
	margin-bottom: 1rem;
	color: var(--vce-ink-soft);
	font-size: 1.2rem;
	line-height: 1.55;
}

.vce-article__meta {
	padding-top: 0.9rem;
	border-top: 2px dashed var(--vce-thread);
}

.vce-page__updated {
	margin: 0;
	color: var(--vce-ink-soft);
	font-size: 0.9rem;
}

/* Featured image: a white mount with a stitched edge on a felt layer. */
.vce-article__figure {
	margin: 0 0 2rem;
	padding: 10px;
	border: 2px dashed var(--vce-raspberry);
	border-radius: var(--vce-r-lg);
	background: var(--vce-surface);
	box-shadow: 7px 8px 0 var(--vce-blush);
}

.vce-article__figure img {
	width: 100%;
	border-radius: 15px;
}

.vce-article__figure figcaption {
	padding: 0.6rem 0.4rem 0.1rem;
	color: var(--vce-ink-soft);
	font-size: 0.9rem;
	text-align: center;
}

/* 11. Prose (article and page body) --------------------------------------- */

.vce-content {
	font-size: 1.09rem;
}

.vce-content > :last-child {
	margin-bottom: 0;
}

.vce-content h2 {
	position: relative;
	margin-top: 2.6rem;
	padding-bottom: 0.5rem;
	scroll-margin-top: 1.5rem;
}

.vce-content h2::after {
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 3.5rem;
	border-top: 3px dashed var(--vce-mustard);
}

.vce-content h3 {
	margin-top: 1.9rem;
	color: var(--vce-teal-deep);
	scroll-margin-top: 1.5rem;
}

.vce-content ul,
.vce-content ol {
	padding-left: 1.5rem;
}

.vce-content li {
	margin-bottom: 0.5rem;
}

.vce-content ul > li::marker {
	color: var(--vce-raspberry);
}

/* Numbered steps: each number sits on a small felt dot. */
.vce-content > ol {
	padding-left: 0;
	list-style: none;
	counter-reset: vce-ol;
}

.vce-content > ol > li {
	position: relative;
	min-height: 2.1rem;
	margin-bottom: 0.9rem;
	padding-left: 2.9rem;
	counter-increment: vce-ol;
}

.vce-content > ol > li::before {
	content: counter(vce-ol);
	position: absolute;
	top: 0;
	left: 0;
	display: grid;
	place-items: center;
	width: 2.1rem;
	height: 2.1rem;
	border-radius: 50%;
	background: var(--vce-teal-deep);
	color: #fff;
	font-family: var(--vce-font-head);
	font-size: 0.95rem;
	font-weight: 700;
}

.vce-content blockquote {
	margin-inline: 0;
	padding: 1rem 1.25rem;
	border-left: 6px solid var(--vce-violet);
	border-radius: 0 var(--vce-r) var(--vce-r) 0;
	background: var(--vce-lavender);
}

.vce-content blockquote > :last-child {
	margin-bottom: 0;
}

.vce-content code,
.vce-content pre {
	border-radius: 8px;
	background: var(--vce-lavender);
	font-family: ui-monospace, SFMono-Regular, Menlo, Consolas, monospace;
	font-size: 0.9em;
}

.vce-content code {
	padding: 0.1em 0.4em;
}

.vce-content pre {
	padding: 1rem;
	overflow-x: auto;
}

/* Figures inside the text: rounded picture in a stitched frame. */
.vce-content figure,
.wp-block-image {
	margin: 2rem 0;
	padding: 8px;
	border: 2px dashed var(--vce-teal);
	border-radius: var(--vce-r);
	background: var(--vce-surface);
}

.vce-content figure img {
	width: 100%;
	border-radius: 11px;
}

.vce-content figcaption,
.wp-caption-text {
	padding: 0.55rem 0.5rem 0.2rem;
	color: var(--vce-ink-soft);
	font-size: 0.9rem;
	line-height: 1.5;
	text-align: center;
}

/* Tables: scroll sideways on small screens instead of breaking the page. */
.vce-content table,
.wp-block-table table {
	display: block;
	width: max-content;
	max-width: 100%;
	overflow-x: auto;
	border: 2px solid var(--vce-ink);
	border-radius: var(--vce-r-sm);
	border-collapse: separate;
	border-spacing: 0;
	background: var(--vce-surface);
	font-size: 0.95rem;
	line-height: 1.5;
}

.vce-content figure.wp-block-table {
	padding: 0;
	border: 0;
	background: none;
}

.vce-content th,
.vce-content td {
	min-width: 7.5rem;
	padding: 0.65rem 0.9rem;
	border-bottom: 1px solid var(--vce-line);
	text-align: left;
	vertical-align: top;
}

.vce-content th {
	background: var(--vce-butter);
	border-bottom: 2px dashed var(--vce-mustard-deep);
	font-family: var(--vce-font-head);
}

.vce-content tbody tr:nth-child(even) td {
	background: #fdfaf4;
}

.vce-content tbody tr:last-child td {
	border-bottom: 0;
}

@media (min-width: 48em) {
	.vce-content table,
	.wp-block-table table {
		display: table;
		width: 100%;
		overflow: hidden;
	}
}

.alignleft,
.alignright,
.aligncenter {
	display: block;
	margin-inline: auto;
}

.alignwide,
.alignfull {
	max-width: 100%;
}

.wp-block-embed__wrapper,
.wp-block-embed iframe {
	max-width: 100%;
}

.wp-embed-aspect-16-9 .wp-block-embed__wrapper {
	position: relative;
	aspect-ratio: 16 / 9;
}

.wp-embed-aspect-16-9 iframe {
	position: absolute;
	inset: 0;
	width: 100%;
	height: 100%;
}

/* 12. Callouts: felt notes pinned into the text ---------------------------- */

.vce-callout {
	position: relative;
	margin: 2rem 0;
	padding: 1.2rem 1.3rem 1.2rem 1.4rem;
	border: 2px dashed var(--vce-teal);
	border-radius: var(--vce-r);
	background: var(--vce-mint);
	box-shadow: 5px 6px 0 var(--vce-teal);
}

.vce-callout--atencao {
	border-color: var(--vce-mustard-deep);
	background: var(--vce-butter);
	box-shadow: 5px 6px 0 var(--vce-mustard);
}

.vce-callout > :last-child {
	margin-bottom: 0;
}

.vce-callout p {
	margin-bottom: 0.6rem;
}

.vce-callout__title {
	display: flex;
	align-items: center;
	gap: 0.55rem;
	font-family: var(--vce-font-head);
	font-size: 1.05rem;
	font-weight: 700;
	color: var(--vce-teal-deep);
}

.vce-callout--atencao .vce-callout__title {
	color: #7a5200;
}

/* A four-hole button marks the note. */
.vce-callout__title::before {
	content: "";
	flex: 0 0 auto;
	width: 1.5rem;
	height: 1.5rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%232f8f83'/%3E%3Ccircle cx='24' cy='24' r='15' fill='none' stroke='%23e3f1ea' stroke-width='2'/%3E%3Cg fill='%23fbf5ea'%3E%3Ccircle cx='18.500' cy='18.500' r='3'/%3E%3Ccircle cx='29.500' cy='18.500' r='3'/%3E%3Ccircle cx='18.500' cy='29.500' r='3'/%3E%3Ccircle cx='29.500' cy='29.500' r='3'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.vce-callout--atencao .vce-callout__title::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='24' cy='24' r='22' fill='%23c98f24'/%3E%3Ccircle cx='24' cy='24' r='15' fill='none' stroke='%23fdf0cf' stroke-width='2'/%3E%3Cg fill='%233a2f3d'%3E%3Ccircle cx='18.500' cy='18.500' r='3'/%3E%3Ccircle cx='29.500' cy='18.500' r='3'/%3E%3Ccircle cx='18.500' cy='29.500' r='3'/%3E%3Ccircle cx='29.500' cy='29.500' r='3'/%3E%3C/g%3E%3C/svg%3E");
}

/* 13. Tutorial kit card, table of contents, FAQ --------------------------- */

.vce-tutorial-facts {
	position: relative;
	margin: 0 0 2rem;
	padding: 1.6rem 1.4rem 1.4rem;
	border-radius: var(--vce-r-lg);
	background: var(--vce-mint);
	box-shadow: 7px 8px 0 var(--vce-teal);
}

.vce-tutorial-facts::before {
	content: "";
	position: absolute;
	inset: 9px;
	border: 2px dashed var(--vce-teal);
	border-radius: 18px;
	pointer-events: none;
}

/* Mustard button sewn onto the corner of the patch. */
.vce-tutorial-facts::after {
	content: "";
	position: absolute;
	top: -0.9rem;
	right: 1.4rem;
	width: 2.6rem;
	height: 2.6rem;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 48 48'%3E%3Ccircle cx='25' cy='26' r='21' fill='%23c98f24'/%3E%3Ccircle cx='23' cy='23' r='21' fill='%23e9b44c'/%3E%3Ccircle cx='23' cy='23' r='14' fill='none' stroke='%23c98f24' stroke-width='2'/%3E%3Cg fill='%233a2f3d'%3E%3Ccircle cx='18' cy='18' r='2.800'/%3E%3Ccircle cx='28' cy='18' r='2.800'/%3E%3Ccircle cx='18' cy='28' r='2.800'/%3E%3Ccircle cx='28' cy='28' r='2.800'/%3E%3C/g%3E%3C/svg%3E") center / contain no-repeat;
}

.vce-tutorial-facts > * {
	position: relative;
}

.vce-tutorial-facts__title {
	display: flex;
	align-items: center;
	gap: 0.5rem;
	margin-bottom: 1rem;
	color: var(--vce-teal-deep);
	font-size: 1.3rem;
}

.vce-facts {
	display: grid;
	gap: 0.75rem;
	grid-template-columns: repeat(auto-fit, minmax(min(100%, 15.5rem), 1fr));
}

.vce-facts__item {
	display: flex;
	align-items: flex-start;
	gap: 0.7rem;
	min-width: 0;
	padding: 0.75rem 0.85rem;
	border-radius: var(--vce-r-sm);
	background: var(--vce-surface);
}

.vce-facts__icon {
	display: grid;
	flex: 0 0 auto;
	place-items: center;
	width: 2.2rem;
	height: 2.2rem;
	border-radius: 50%;
	background: var(--vce-teal-deep);
	color: #fff;
}

.vce-facts__label {
	display: block;
	margin: 0;
	color: var(--vce-ink-soft);
	font-family: var(--vce-font-body);
	font-size: 0.78rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	line-height: 1.4;
	text-transform: uppercase;
}

.vce-facts__value {
	display: block;
	font-weight: 700;
	line-height: 1.35;
}

.vce-materials {
	margin-top: 1rem;
	padding: 0.9rem 1rem;
	border-radius: var(--vce-r-sm);
	background: var(--vce-surface);
}

.vce-materials__list {
	display: grid;
	gap: 0.3rem 1.5rem;
	grid-template-columns: repeat(auto-fit, minmax(14rem, 1fr));
	margin: 0.5rem 0 0;
	padding: 0;
	list-style: none;
	font-size: 0.98rem;
	line-height: 1.5;
}

.vce-materials__list li {
	position: relative;
	padding-left: 1.4rem;
}

/* A tiny cross-stitch as the bullet. */
.vce-materials__list li::before {
	content: "\00D7";
	position: absolute;
	left: 0.1rem;
	color: var(--vce-raspberry-deep);
	font-weight: 700;
}

.vce-toc {
	margin: 0 0 2rem;
	padding: 1.2rem 1.4rem;
	border: 2px dashed var(--vce-violet);
	border-radius: var(--vce-r);
	background: var(--vce-lavender);
}

.vce-toc__title {
	margin-bottom: 0.6rem;
	font-size: 1.1rem;
}

.vce-toc ol {
	margin: 0;
	padding-left: 1.3rem;
	font-size: 0.98rem;
}

.vce-toc ol ol {
	margin-top: 0.25rem;
	list-style: lower-alpha;
}

.vce-toc li {
	margin-bottom: 0.25rem;
}

.vce-toc a {
	color: var(--vce-ink);
	text-decoration-color: var(--vce-violet);
}

.vce-faq {
	margin-top: 3rem;
}

.vce-faq__item {
	margin-bottom: 0.85rem;
	border: 2px solid var(--vce-line);
	border-radius: var(--vce-r);
	background: var(--vce-surface);
}

.vce-faq__item[open] {
	border: 2px dashed var(--vce-raspberry);
	background: #fffaf7;
}

.vce-faq__question {
	position: relative;
	padding: 0.95rem 3.2rem 0.95rem 1.2rem;
	font-family: var(--vce-font-head);
	font-size: 1.08rem;
	font-weight: 700;
	line-height: 1.35;
	list-style: none;
	cursor: pointer;
}

.vce-faq__question::-webkit-details-marker {
	display: none;
}

.vce-faq__question::after {
	content: "+";
	position: absolute;
	top: 50%;
	right: 1rem;
	display: grid;
	place-items: center;
	width: 1.7rem;
	height: 1.7rem;
	margin-top: -0.85rem;
	border-radius: 50%;
	background: var(--vce-blush);
	color: var(--vce-raspberry-dark);
	font-size: 1.2rem;
	line-height: 1;
}

.vce-faq__item[open] > .vce-faq__question::after {
	content: "\2212";
	background: var(--vce-raspberry-deep);
	color: #fff;
}

.vce-faq__answer {
	padding: 0 1.2rem 0.4rem;
}

.vce-faq__answer p {
	margin-bottom: 0.8rem;
}

/* 14. Post footer and navigation ------------------------------------------ */

.vce-article__footer {
	margin-top: 2.5rem;
	padding-top: 1.5rem;
	border-top: 2px dashed var(--vce-thread);
}

.vce-author-box {
	display: flex;
	gap: 1rem;
	padding: 1.2rem;
	border-radius: var(--vce-r);
	background: var(--vce-lavender);
}

.vce-author-box img {
	flex: 0 0 auto;
	border-radius: 50%;
}

.vce-author-box__name {
	margin-bottom: 0.3rem;
	font-size: 1.1rem;
}

.vce-author-box__bio {
	margin: 0;
	font-size: 0.95rem;
}

.vce-post-nav {
	margin-top: 2.5rem;
}

.vce-post-nav__links {
	display: grid;
	gap: 1.25rem;
}

.vce-post-nav__link {
	display: block;
	min-width: 0;
	padding: 1rem 1.2rem;
	border: 2px dashed var(--vce-teal);
	border-radius: var(--vce-r);
	background: var(--vce-surface);
	color: var(--vce-ink);
	text-decoration: none;
}

.vce-post-nav__link:hover {
	background: var(--vce-mint);
	color: var(--vce-ink);
}

.vce-post-nav__direction {
	display: block;
	color: var(--vce-teal-deep);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.vce-post-nav__title {
	display: block;
	font-family: var(--vce-font-head);
	font-weight: 700;
	line-height: 1.3;
}

@media (min-width: 36em) {
	.vce-post-nav__links {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.vce-post-nav__link--next {
		grid-column: 2;
		text-align: right;
	}
}

/* Related tutorials break out of the reading column on wide screens. */
@media (min-width: 62em) {
	.vce-no-sidebar.single .vce-related {
		width: min(var(--vce-wide), 100vw - 2 * var(--vce-gutter) - 1.25rem);
		margin-left: 50%;
		transform: translateX(-50%);
	}
}

/* 15. Comments, widgets, ads ---------------------------------------------- */

.vce-comments {
	margin-top: 3rem;
}

.comment-list {
	margin: 0 0 2rem;
	padding: 0;
	list-style: none;
}

.comment-list ol {
	padding-left: 1.25rem;
	list-style: none;
}

.comment-body {
	margin-bottom: 1rem;
	padding: 1rem 1.2rem;
	border: 2px solid var(--vce-line);
	border-radius: var(--vce-r);
	background: var(--vce-surface);
}

.comment-author img {
	display: inline-block;
	margin-right: 0.5rem;
	border-radius: 50%;
	vertical-align: middle;
}

.comment-meta,
.comment-notes {
	color: var(--vce-ink-soft);
	font-size: 0.875rem;
}

.comment-form > p {
	margin-bottom: 1rem;
}

.comment-form-cookies-consent {
	display: flex;
	align-items: flex-start;
	gap: 0.5rem;
}

.comment-form-cookies-consent label {
	margin: 0;
	font-weight: 400;
}

.vce-widget {
	margin-bottom: 1.75rem;
	padding: 1.2rem;
	border: 2px dashed var(--vce-thread);
	border-radius: var(--vce-r);
	background: var(--vce-surface);
}

.vce-widget__title,
.widget-title {
	margin-bottom: 0.7rem;
	font-size: 1.1rem;
}

.vce-widget ul {
	margin: 0;
	padding-left: 1.1rem;
}

.vce-ad-slot {
	margin: 2rem 0;
	text-align: center;
}

.vce-ad-slot__label {
	display: block;
	margin-bottom: 0.35rem;
	color: var(--vce-ink-soft);
	font-size: 0.72rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

/* 16. Footer -------------------------------------------------------------- */

.vce-site-footer {
	background: var(--vce-ink);
	color: #eee6dc;
	font-size: 0.98rem;
}

/* Pinking-shears edge between the page and the footer. */
.vce-zigzag {
	height: 12px;
	background:
		linear-gradient(-45deg, var(--vce-ink) 8.5px, transparent 0) 0 100% / 24px 12px repeat-x,
		linear-gradient(45deg, var(--vce-ink) 8.5px, transparent 0) 0 100% / 24px 12px repeat-x,
		var(--vce-cream);
}

.vce-footer__grid {
	display: grid;
	gap: 2rem;
	padding: 2.75rem 0 2rem;
}

.vce-footer__grid > * {
	min-width: 0;
}

.vce-footer__brand {
	margin-bottom: 0.5rem;
	color: #fff;
	font-family: var(--vce-font-head);
	font-size: 1.45rem;
	font-weight: 700;
	letter-spacing: -0.02em;
}

.vce-footer__about p:last-child {
	max-width: 24rem;
	margin: 0;
}

.vce-footer__heading {
	margin-bottom: 0.8rem;
	color: var(--vce-mustard);
	font-size: 0.82rem;
	letter-spacing: 0.1em;
	text-transform: uppercase;
}

.vce-footer__menu {
	margin: 0;
	padding: 0;
	list-style: none;
}

.vce-footer__menu li {
	margin-bottom: 0.45rem;
}

.vce-site-footer a {
	color: #fff;
	text-decoration: none;
}

.vce-site-footer a:hover {
	color: var(--vce-mustard);
	text-decoration: underline;
}

.vce-site-footer :focus-visible {
	outline-color: var(--vce-mustard);
}

.vce-footer__bottom {
	padding: 1.25rem 0 1.75rem;
	border-top: 2px dashed rgba(255, 255, 255, 0.28);
	color: #d9cfd6;
	font-size: 0.9rem;
}

.vce-footer__bottom p {
	margin: 0 0 0.3rem;
}

@media (min-width: 36em) {
	.vce-footer__menu--columns {
		columns: 2;
		column-gap: 2rem;
	}

	.vce-footer__menu li {
		break-inside: avoid;
	}
}

@media (min-width: 62em) {
	.vce-footer__grid {
		grid-template-columns: minmax(0, 1.25fr) minmax(0, 1.5fr) minmax(0, 0.8fr);
		gap: 3rem;
	}
}

/* 17. 404 and utilities --------------------------------------------------- */

.vce-error-404 {
	padding-top: 1rem;
}

.vce-error-404 > p,
.vce-error-404 > .vce-search-form {
	max-width: 34rem;
}

.vce-error-404__code {
	display: inline-block;
	margin-bottom: 1.25rem;
	padding: 0.2rem 1.4rem;
	border: 3px dashed var(--vce-raspberry-dark);
	border-radius: var(--vce-r-lg);
	background: var(--vce-blush);
	box-shadow: 6px 7px 0 var(--vce-raspberry);
	color: var(--vce-raspberry-dark);
	font-family: var(--vce-font-head);
	font-size: clamp(3rem, 12vw, 5rem);
	font-weight: 700;
	line-height: 1.1;
	transform: rotate(-3deg);
}

.vce-error-404__headline {
	margin-top: 2rem;
	font-size: 1.25rem;
}

.vce-stack > * + * { margin-top: 1rem; }
.vce-mt-0 { margin-top: 0 !important; }
.vce-mb-0 { margin-bottom: 0 !important; }
.vce-text-center { text-align: center; }

.sticky,
.bypostauthor {
	display: block;
}

/* 18. Motion and print ---------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {
	html {
		scroll-behavior: auto;
	}

	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
	}

	.vce-button:hover,
	.vce-card:hover {
		transform: none;
	}
}

@media print {
	.vce-site-header,
	.vce-site-footer,
	.vce-breadcrumbs,
	.vce-post-nav,
	.vce-related,
	.vce-comments,
	.vce-sidebar,
	.vce-ad-slot,
	.vce-search-form {
		display: none !important;
	}

	body {
		background: #fff;
		font-size: 11pt;
	}

	.vce-card,
	.vce-callout,
	.vce-tutorial-facts,
	.vce-article__figure {
		box-shadow: none;
	}

	.vce-faq__item:not([open]) > .vce-faq__answer {
		display: block;
	}

	a {
		color: inherit;
	}
}
