.hpv-main--404,
.hpv-main--404 > * { margin: 0; padding: 0; }
.wp-site-blocks .hpv-main--404 { --wp--style--block-gap: 0; }
.wp-site-blocks > .hpv-main--404 { width: auto; max-width: none; margin-left: calc(var(--wp--style--root--padding-left) * -1); margin-right: calc(var(--wp--style--root--padding-right) * -1); }
body:has(.hpv-main--404) .hpv-rodape { padding-bottom: 6.5rem; }

.hpv-not-found { width: min(100% - clamp(32px, 8vw, 128px), 64rem); margin-inline: auto; padding-block: 6rem; }
.hpv-not-found,
.hpv-not-found__grid,
.hpv-not-found__copy,
.hpv-not-found__intro,
.hpv-not-found__actions { --wp--style--block-gap: 0; }
.hpv-not-found__grid,
.hpv-not-found__copy,
.hpv-not-found__intro,
.hpv-not-found__actions { margin-block-start: 0; }

.hpv-not-found__grid { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 2.5rem; align-items: center; }
.hpv-not-found__code { margin: 0; color: var(--wp--preset--color--grupo-mar-300); font-family: var(--wp--preset--font-family--roihu); font-size: clamp(4.5rem, 8vw, 6rem); font-weight: 600; line-height: 1; }
.hpv-not-found__title { margin: 1rem 0 0; color: var(--wp--preset--color--tinta-900); font-size: clamp(1.875rem, 3vw, 2.25rem); font-weight: 600; line-height: 1.2; }
.hpv-not-found__lead { margin: 1rem 0 0; color: var(--wp--preset--color--tinta-700); font-size: 1.125rem; line-height: 1.65; }

.hpv-not-found__shortcuts { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0.75rem; margin: 2rem 0 0; padding: 0; list-style: none; }
.hpv-not-found__shortcuts li { margin: 0; }
.hpv-not-found__shortcuts a { display: block; padding: 1rem; border-radius: 1rem; background: var(--wp--preset--color--branco); box-shadow: 0 2px 8px color-mix(in srgb, var(--wp--preset--color--grupo-mar-700) 7%, transparent), 0 12px 32px color-mix(in srgb, var(--wp--preset--color--grupo-mar-700) 9%, transparent); color: inherit; text-decoration: none; transition: background-color 180ms ease; }
.hpv-not-found__shortcuts a:hover,
.hpv-not-found__shortcuts a:focus-visible { background: var(--wp--preset--color--grupo-mar-50); }
.hpv-not-found__label { display: block; color: var(--wp--preset--color--grupo-mar-800); font-weight: 800; }
.hpv-not-found__detail { display: block; margin-top: 0.125rem; color: var(--wp--preset--color--tinta-500); font-size: 0.75rem; font-weight: 400; line-height: 1.4; }

.hpv-not-found__actions { display: flex; flex-wrap: wrap; gap: 0.75rem; margin-top: 2rem; }
.hpv-not-found__actions .hpv-home__pill { margin: 0; }

.hpv-not-found__media { margin: 0; overflow: hidden; border-radius: 1.5rem; box-shadow: 0 2px 8px color-mix(in srgb, var(--wp--preset--color--grupo-mar-700) 7%, transparent), 0 12px 32px color-mix(in srgb, var(--wp--preset--color--grupo-mar-700) 9%, transparent); }
.hpv-not-found__media img { display: block; width: 100%; height: 100%; aspect-ratio: 4 / 5; object-fit: cover; }

@media (max-width: 1280px) {
	.hpv-not-found { padding-block: 4rem; }
}
@media (max-width: 899px) {
	.hpv-not-found__grid { grid-template-columns: 1fr; }
	.hpv-not-found__media { display: none; }
}
@media (max-width: 767px) {
	.hpv-not-found { padding-block: 4rem; }
	.hpv-not-found__shortcuts { grid-template-columns: 1fr; }
}
@media (prefers-reduced-motion: reduce) {
	.hpv-not-found__shortcuts a { transition: none; }
	html.hpv-js .hpv-main--404 .hpv-unit-cascade__item,
	html.hpv-js .hpv-main--404 .hpv-unit-cascade__item.is-in { opacity: 1; transform: none; transition: none; }
}
