/*
Theme Name: MATO BKF Space Truck
Theme URI: https://www.netprom.org/
Author: NETPROM
Author URI: https://www.netprom.org/
Description: Futuristisches, responsives WordPress Theme für MATO BKF. Das Führerhaus bildet die Navigation, die Ladefläche den dynamischen Inhaltsbereich.
Version: 1.0.0
Requires at least: 7.0
Tested up to: 7.1
Requires PHP: 8.0
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: mato-bkf-space-truck
Tags: custom-logo, custom-menu, featured-images, accessibility-ready, block-styles, wide-blocks, dark
*/

:root {
	--mato-blue: #0868ff;
	--mato-blue-light: #54a4ff;
	--mato-orange: #ff7500;
	--mato-bg: #020712;
	--mato-panel: #03142d;
	--mato-panel-soft: rgba( 5, 25, 57, 0.92 );
	--mato-text: #f5f8ff;
	--mato-muted: #bdc8db;
	--mato-border: rgba( 99, 171, 255, 0.38 );
	--mato-radius: 18px;
	--mato-content: 980px;
	--mato-shadow: 0 26px 80px rgba( 0, 0, 0, 0.5 );
}

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

html {
	scroll-behavior: smooth;
}

body {
	margin: 0;
	background:
		radial-gradient( circle at 50% 108%, rgba( 8, 104, 255, 0.2 ), transparent 36rem ),
		linear-gradient( 180deg, #01040b 0%, var( --mato-bg ) 100% );
	color: var( --mato-text );
	font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 16px;
	line-height: 1.65;
	min-height: 100vh;
	overflow-x: hidden;
	text-rendering: optimizeLegibility;
}

body.admin-bar .cab-interface__inner {
	top: 32px;
}

a {
	color: var( --mato-blue-light );
	text-decoration-thickness: 0.08em;
	text-underline-offset: 0.2em;
}

a:hover,
a:focus-visible {
	color: #ffffff;
}

img {
	display: block;
	height: auto;
	max-width: 100%;
}

button,
input,
textarea,
select {
	font: inherit;
}

h1,
h2,
h3,
h4,
h5,
h6 {
	color: #ffffff;
	font-weight: 760;
	letter-spacing: -0.025em;
	line-height: 1.14;
	margin: 1.5em 0 0.55em;
}

h1 {
	font-size: clamp( 2.15rem, 3.35vw, 4.6rem );
	margin-top: 0;
}

h2 {
	font-size: clamp( 1.5rem, 2vw, 2.35rem );
}

h3 {
	font-size: clamp( 1.2rem, 1.5vw, 1.65rem );
}

p,
ul,
ol,
blockquote,
figure,
table {
	margin: 0 0 1.35rem;
}

::selection {
	background: var( --mato-orange );
	color: #09101f;
}

:focus-visible {
	outline: 3px solid var( --mato-orange );
	outline-offset: 4px;
}

.screen-reader-text {
	clip: rect( 1px, 1px, 1px, 1px );
	clip-path: inset( 50% );
	height: 1px;
	overflow: hidden;
	position: absolute !important;
	white-space: nowrap;
	width: 1px;
}

.screen-reader-text:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	left: 1rem;
	padding: 0.8rem 1rem;
	top: 1rem;
	width: auto;
	z-index: 100000;
	background: #ffffff;
	color: #071225;
	border-radius: 8px;
}

.site-shell {
	min-height: 100vh;
	position: relative;
}

.scroll-progress {
	background: rgba( 255, 255, 255, 0.14 );
	border-radius: 999px;
	height: calc( 100vh - 2rem );
	position: fixed;
	right: 0.7rem;
	top: 1rem;
	width: 5px;
	z-index: 120;
}

.scroll-progress span {
	background: linear-gradient( 180deg, var( --mato-blue-light ), var( --mato-blue ) );
	border-radius: inherit;
	box-shadow: 0 0 18px rgba( 8, 104, 255, 0.9 );
	display: block;
	height: var( --scroll-progress, 0% );
	transition: height 120ms linear;
	width: 100%;
}

.mobile-cockpit {
	display: none;
}

.vehicle-stage {
	isolation: isolate;
	margin: 0 auto;
	max-width: 1920px;
	min-height: max( 100svh, 56.28vw );
	position: relative;
	width: 100%;
}

.truck-art {
	background-image: url( "assets/images/space-truck-shell.webp" );
	background-position: top center;
	background-repeat: no-repeat;
	background-size: 100% auto;
	inset: 0 0 auto;
	min-height: min( 56.28vw, 1080px );
	pointer-events: none;
	position: absolute;
	z-index: -2;
}

.truck-art::after {
	background: linear-gradient( 180deg, transparent 70%, var( --mato-bg ) 100% );
	content: "";
	inset: 0;
	position: absolute;
}

.vehicle-grid {
	display: grid;
	grid-template-columns: 35% minmax( 0, 65% );
	min-height: max( 100svh, 56.28vw );
	position: relative;
	width: 100%;
}

.cab-interface {
	grid-column: 1;
	min-height: min( 56.28vw, 1080px );
	position: relative;
}

.cab-interface__inner {
	height: min( 56.28vw, 100vh );
	min-height: 620px;
	position: sticky;
	top: 0;
}

.mato-logo--cab {
	left: 13%;
	position: absolute;
	top: 16%;
	width: 44%;
	z-index: 4;
}

.mato-logo img {
	filter: drop-shadow( 0 0 17px rgba( 8, 104, 255, 0.35 ) );
	width: 100%;
}

.custom-logo-link {
	display: block;
}

.cockpit-navigation {
	left: 62%;
	position: absolute;
	top: 28.5%;
	width: 35%;
	z-index: 5;
}

.cockpit-menu {
	display: grid;
	gap: clamp( 0.36rem, 0.52vw, 0.72rem );
	list-style: none;
	margin: 0;
	padding: 0;
}

.cockpit-menu li {
	margin: 0;
	padding: 0;
}

.cockpit-menu a {
	align-items: center;
	background: linear-gradient( 145deg, rgba( 8, 22, 45, 0.96 ), rgba( 2, 8, 18, 0.93 ) );
	border: 1px solid rgba( 148, 196, 255, 0.65 );
	border-radius: clamp( 8px, 0.75vw, 14px );
	box-shadow: inset 0 0 20px rgba( 35, 114, 255, 0.08 );
	color: #ffffff;
	display: grid;
	font-size: clamp( 0.72rem, 0.91vw, 1.08rem );
	font-weight: 650;
	gap: clamp( 0.45rem, 0.7vw, 0.85rem );
	grid-template-columns: clamp( 1.4rem, 1.65vw, 2rem ) 1fr;
	line-height: 1.2;
	min-height: clamp( 3.1rem, 4.45vw, 5.35rem );
	padding: 0.65em 0.8em;
	text-decoration: none;
	transition: border-color 180ms ease, box-shadow 180ms ease, transform 180ms ease, background 180ms ease;
}

.cockpit-menu a::before {
	background:
		radial-gradient( circle, #ffffff 0 18%, transparent 21% ),
		linear-gradient( 135deg, rgba( 84, 164, 255, 0.95 ), rgba( 8, 104, 255, 0.25 ) );
	border: 1px solid rgba( 255, 255, 255, 0.75 );
	border-radius: 7px;
	box-shadow: 0 0 12px rgba( 8, 104, 255, 0.7 );
	content: "";
	display: block;
	height: clamp( 1.25rem, 1.65vw, 1.9rem );
	width: clamp( 1.25rem, 1.65vw, 1.9rem );
}

.cockpit-menu .menu-signal {
	display: none;
}

.cockpit-menu .current-menu-item > a,
.cockpit-menu .current_page_item > a,
.cockpit-menu a:hover,
.cockpit-menu a:focus-visible {
	background: linear-gradient( 145deg, rgba( 9, 79, 191, 0.98 ), rgba( 4, 36, 92, 0.96 ) );
	border-color: #ffffff;
	box-shadow: 0 0 12px rgba( 8, 104, 255, 0.9 ), inset 0 0 26px rgba( 84, 164, 255, 0.3 );
	color: #ffffff;
	transform: translateX( 3px );
}

.cargo-column {
	grid-column: 2;
	min-width: 0;
	padding: clamp( 4.7rem, 7.4vw, 8.8rem ) clamp( 1.5rem, 2.8vw, 3.5rem ) clamp( 7rem, 12vw, 14rem ) clamp( 0.55rem, 1.25vw, 1.4rem );
	position: relative;
}

.cargo-panel {
	background:
		linear-gradient( 180deg, rgba( 3, 19, 45, 0.88 ), rgba( 3, 13, 31, 0.96 ) ),
		radial-gradient( circle at 85% 18%, rgba( 8, 104, 255, 0.15 ), transparent 28rem );
	border: 1px solid rgba( 76, 155, 255, 0.34 );
	border-radius: 5px 5px var( --mato-radius ) var( --mato-radius );
	box-shadow: inset 0 0 48px rgba( 8, 104, 255, 0.05 ), var( --mato-shadow );
	margin: 0;
	max-width: none;
	min-height: clamp( 34rem, 39vw, 47rem );
	overflow: visible;
	padding: clamp( 2rem, 3.1vw, 4rem );
	position: relative;
}

.cargo-panel::before,
.cargo-panel::after {
	content: "";
	pointer-events: none;
	position: absolute;
}

.cargo-panel::before {
	background: linear-gradient( 180deg, var( --mato-blue-light ), var( --mato-blue ) 75%, transparent );
	box-shadow: 0 0 14px rgba( 8, 104, 255, 0.9 );
	inset: 0 auto 9rem -2px;
	width: 3px;
}

.cargo-panel::after {
	background: repeating-linear-gradient( 90deg, var( --mato-orange ) 0 12px, transparent 12px 66px );
	bottom: -2px;
	height: 3px;
	left: 2rem;
	opacity: 0.85;
	right: 2rem;
}

.eyebrow {
	color: var( --mato-orange );
	font-size: clamp( 0.75rem, 0.82vw, 0.95rem );
	font-weight: 800;
	letter-spacing: 0.12em;
	margin-bottom: 0.7rem;
	text-transform: uppercase;
}

.home-hero {
	max-width: var( --mato-content );
}

.home-hero h1 {
	max-width: 14ch;
}

.home-hero__intro {
	color: var( --mato-muted );
	font-size: clamp( 1rem, 1.18vw, 1.3rem );
	max-width: 72ch;
}

.hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.85rem;
	margin: clamp( 1.6rem, 2.5vw, 2.8rem ) 0;
}

.button,
.wp-element-button,
.wp-block-button__link {
	align-items: center;
	border: 1px solid transparent;
	border-radius: 999px;
	cursor: pointer;
	display: inline-flex;
	font-weight: 760;
	gap: 0.6rem;
	justify-content: center;
	line-height: 1.2;
	min-height: 3.15rem;
	padding: 0.82rem 1.35rem;
	text-decoration: none;
	transition: box-shadow 180ms ease, transform 180ms ease, filter 180ms ease;
}

.button:hover,
.button:focus-visible,
.wp-element-button:hover,
.wp-element-button:focus-visible,
.wp-block-button__link:hover,
.wp-block-button__link:focus-visible {
	color: #ffffff;
	filter: brightness( 1.08 );
	transform: translateY( -2px );
}

.button--orange {
	background: linear-gradient( 135deg, #ff8c18, var( --mato-orange ) );
	box-shadow: 0 10px 26px rgba( 255, 117, 0, 0.3 );
	color: #ffffff;
}

.button--blue,
.wp-element-button,
.wp-block-button__link {
	background: linear-gradient( 135deg, #167cff, #064cc7 );
	box-shadow: 0 10px 26px rgba( 8, 104, 255, 0.3 );
	color: #ffffff;
}

.feature-grid {
	display: grid;
	gap: clamp( 0.7rem, 1.15vw, 1.2rem );
	grid-template-columns: repeat( 4, minmax( 0, 1fr ) );
	margin: clamp( 2rem, 3vw, 3.6rem ) 0;
}

.feature-card {
	background: linear-gradient( 145deg, rgba( 9, 33, 71, 0.82 ), rgba( 4, 16, 36, 0.9 ) );
	border: 1px solid var( --mato-border );
	border-radius: 14px;
	min-width: 0;
	padding: clamp( 1rem, 1.35vw, 1.45rem );
}

.feature-card__icon {
	align-items: center;
	background: rgba( 8, 104, 255, 0.17 );
	border: 1px solid rgba( 84, 164, 255, 0.62 );
	border-radius: 9px;
	color: #ffffff;
	display: inline-flex;
	font-size: 0.72rem;
	font-weight: 850;
	height: 2.25rem;
	justify-content: center;
	letter-spacing: 0.04em;
	margin-bottom: 1rem;
	min-width: 2.25rem;
	padding: 0.3rem;
}

.feature-card h2 {
	color: #ffffff;
	font-size: clamp( 0.95rem, 1vw, 1.15rem );
	margin: 0 0 0.45rem;
}

.feature-card p {
	color: var( --mato-muted );
	font-size: clamp( 0.78rem, 0.82vw, 0.92rem );
	line-height: 1.5;
	margin: 0;
}

.home-details {
	align-items: start;
	background: linear-gradient( 135deg, rgba( 5, 33, 78, 0.78 ), rgba( 5, 18, 40, 0.92 ) );
	border: 1px solid var( --mato-border );
	border-radius: 16px;
	display: grid;
	gap: clamp( 1.5rem, 3vw, 3.5rem );
	grid-template-columns: minmax( 0, 1.35fr ) minmax( 14rem, 0.8fr );
	margin: 3rem 0;
	padding: clamp( 1.35rem, 2.5vw, 2.8rem );
}

.home-details h2 {
	margin-top: 0;
}

.check-list {
	display: grid;
	gap: 0.7rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.check-list li {
	align-items: start;
	display: grid;
	gap: 0.65rem;
	grid-template-columns: 1.25rem 1fr;
}

.check-list li::before {
	align-items: center;
	background: var( --mato-blue );
	border-radius: 50%;
	color: #ffffff;
	content: "✓";
	display: flex;
	font-size: 0.75rem;
	height: 1.25rem;
	justify-content: center;
	margin-top: 0.15rem;
	width: 1.25rem;
}

.contact-module {
	align-items: center;
	background: linear-gradient( 110deg, #07275f, #064bbd );
	border: 1px solid rgba( 255, 255, 255, 0.28 );
	border-radius: 18px;
	display: flex;
	gap: 2rem;
	justify-content: space-between;
	margin-top: 3rem;
	padding: clamp( 1.3rem, 2vw, 2.2rem );
}

.contact-module h2,
.contact-module p {
	margin: 0;
}

.contact-module__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.7rem;
}

.contact-module__actions a {
	background: #ffffff;
	border-radius: 999px;
	color: #083477;
	font-weight: 800;
	padding: 0.75rem 1rem;
	text-decoration: none;
}

.cargo-article,
.archive-header,
.post-grid,
.navigation,
.content-none,
.error-404,
.comments-area {
	margin-inline: auto;
	max-width: var( --mato-content );
}

.entry-header {
	border-bottom: 1px solid rgba( 148, 196, 255, 0.2 );
	margin-bottom: 1.8rem;
	padding-bottom: 1.4rem;
}

.entry-title {
	max-width: 18ch;
}

.entry-meta {
	color: var( --mato-muted );
	display: flex;
	flex-wrap: wrap;
	font-size: 0.92rem;
	gap: 0.55rem;
}

.entry-featured-image {
	border: 1px solid var( --mato-border );
	border-radius: 16px;
	overflow: hidden;
}

.entry-featured-image img {
	width: 100%;
}

.longform-content {
	color: #d9e1ef;
	font-size: clamp( 1rem, 1.02vw, 1.15rem );
	max-width: 78ch;
}

.longform-content > * {
	max-width: 100%;
}

.longform-content h2,
.longform-content h3 {
	scroll-margin-top: 1.5rem;
}

.longform-content h2 {
	color: var( --mato-orange );
	margin-top: 2.3em;
}

.longform-content h3 {
	color: #ffffff;
}

.longform-content a:not( .wp-element-button ) {
	color: #85bdff;
}

.longform-content blockquote,
.wp-block-quote {
	background: rgba( 8, 104, 255, 0.1 );
	border-left: 4px solid var( --mato-blue );
	border-radius: 0 12px 12px 0;
	color: #ffffff;
	margin-inline: 0;
	padding: 1.2rem 1.4rem;
}

.longform-content table,
.wp-block-table table {
	border-collapse: collapse;
	font-size: 0.94rem;
	width: 100%;
}

.longform-content th,
.longform-content td,
.wp-block-table th,
.wp-block-table td {
	border: 1px solid rgba( 148, 196, 255, 0.24 );
	padding: 0.75rem;
	text-align: left;
}

.longform-content th,
.wp-block-table th {
	background: rgba( 8, 104, 255, 0.14 );
	color: #ffffff;
}

.cargo-toc {
	background: rgba( 2, 10, 24, 0.72 );
	border: 1px solid var( --mato-border );
	border-radius: 12px;
	margin: 0 0 2rem;
	padding: 0.7rem;
}

.cargo-toc:not( [hidden] ) {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem;
}

.cargo-toc a {
	border-bottom: 2px solid transparent;
	border-radius: 8px;
	color: #dce8fa;
	font-size: 0.9rem;
	font-weight: 650;
	padding: 0.6rem 0.8rem;
	text-decoration: none;
}

.cargo-toc a:hover,
.cargo-toc a:focus-visible,
.cargo-toc a.is-active {
	background: rgba( 8, 104, 255, 0.15 );
	border-bottom-color: var( --mato-orange );
	color: #ffffff;
}

.alignwide {
	margin-left: min( -5vw, -3rem );
	margin-right: min( -5vw, -3rem );
	max-width: calc( 100% + 10vw );
}

.alignfull {
	margin-left: calc( 50% - 50vw );
	margin-right: calc( 50% - 50vw );
	max-width: 100vw;
	width: 100vw;
}

.wp-block-image img,
.wp-block-cover,
.wp-block-media-text,
.wp-block-gallery {
	border-radius: 14px;
}

.archive-header {
	margin-bottom: 2rem;
}

.archive-description {
	color: var( --mato-muted );
	max-width: 70ch;
}

.post-grid {
	display: grid;
	gap: 1.25rem;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.post-card {
	background: linear-gradient( 145deg, rgba( 8, 31, 68, 0.86 ), rgba( 3, 13, 29, 0.94 ) );
	border: 1px solid var( --mato-border );
	border-radius: 16px;
	overflow: hidden;
}

.post-card__image {
	display: block;
}

.post-card__image img {
	aspect-ratio: 16 / 9;
	object-fit: cover;
	width: 100%;
}

.post-card__content {
	padding: 1.35rem;
}

.post-card time {
	color: var( --mato-orange );
	font-size: 0.82rem;
	font-weight: 750;
}

.post-card h2 {
	font-size: clamp( 1.2rem, 1.5vw, 1.65rem );
	margin: 0.55rem 0;
}

.post-card h2 a {
	color: #ffffff;
	text-decoration: none;
}

.post-card p {
	color: var( --mato-muted );
}

.text-link {
	font-weight: 750;
}

.navigation.pagination {
	margin-top: 2rem;
}

.nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	justify-content: center;
}

.page-numbers {
	align-items: center;
	background: rgba( 8, 104, 255, 0.12 );
	border: 1px solid var( --mato-border );
	border-radius: 8px;
	display: inline-flex;
	height: 2.6rem;
	justify-content: center;
	min-width: 2.6rem;
	padding: 0.4rem;
	text-decoration: none;
}

.page-numbers.current {
	background: var( --mato-blue );
	color: #ffffff;
}

.post-navigation {
	margin: 2.5rem auto 0;
	max-width: var( --mato-content );
}

.post-navigation .nav-links {
	display: grid;
	grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
}

.post-navigation a {
	background: rgba( 8, 104, 255, 0.1 );
	border: 1px solid var( --mato-border );
	border-radius: 12px;
	display: block;
	padding: 1rem;
	text-decoration: none;
}

.comments-area {
	border-top: 1px solid rgba( 148, 196, 255, 0.2 );
	margin-top: 3rem;
	padding-top: 2rem;
}

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

.comment-body {
	background: rgba( 8, 30, 65, 0.55 );
	border: 1px solid var( --mato-border );
	border-radius: 12px;
	margin-bottom: 1rem;
	padding: 1rem;
}

input[type="text"],
input[type="email"],
input[type="url"],
input[type="search"],
textarea,
select {
	background: rgba( 0, 5, 13, 0.75 );
	border: 1px solid var( --mato-border );
	border-radius: 9px;
	color: #ffffff;
	max-width: 100%;
	min-height: 2.9rem;
	padding: 0.7rem 0.8rem;
	width: 100%;
}

textarea {
	min-height: 10rem;
}

button,
input[type="submit"],
.search-submit {
	background: var( --mato-blue );
	border: 0;
	border-radius: 9px;
	color: #ffffff;
	cursor: pointer;
	font-weight: 750;
	min-height: 2.9rem;
	padding: 0.7rem 1rem;
}

.search-form {
	display: flex;
	gap: 0.55rem;
	max-width: 36rem;
}

.search-form label {
	flex: 1;
}

.error-404 {
	padding-block: 4rem;
	text-align: center;
}

.error-code {
	color: var( --mato-blue );
	font-size: clamp( 5rem, 12vw, 11rem );
	font-weight: 900;
	letter-spacing: -0.08em;
	line-height: 0.8;
	margin: 0;
	text-shadow: 0 0 40px rgba( 8, 104, 255, 0.45 );
}

.content-none {
	background: rgba( 8, 30, 65, 0.55 );
	border: 1px solid var( --mato-border );
	border-radius: 14px;
	padding: 1.5rem;
}

.site-footer {
	align-items: center;
	display: flex;
	gap: 1rem;
	justify-content: center;
	min-height: 5rem;
	padding: 1rem 3rem 2rem;
	position: relative;
	text-align: center;
}

.site-footer::before {
	background: linear-gradient( 90deg, transparent, rgba( 8, 104, 255, 0.8 ), var( --mato-orange ), rgba( 8, 104, 255, 0.8 ), transparent );
	content: "";
	height: 1px;
	left: 10%;
	position: absolute;
	right: 10%;
	top: 0;
}

.site-footer__links {
	position: absolute;
	right: 3rem;
}

.footer-menu {
	display: flex;
	flex-wrap: wrap;
	font-size: 0.82rem;
	gap: 0.9rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.footer-menu a {
	color: var( --mato-muted );
}

.netprom-credit {
	align-items: baseline;
	color: #e7edf7;
	display: inline-flex;
	font-size: clamp( 0.76rem, 0.9vw, 1rem );
	gap: 0.35em;
	text-decoration: none;
}

.netprom-credit strong {
	color: var( --mato-blue );
	font-size: 1.18em;
	letter-spacing: 0.05em;
	text-shadow: 0 0 16px rgba( 8, 104, 255, 0.65 );
}

@media ( min-width: 1921px ) {
	.vehicle-stage {
		min-height: 1080px;
	}

	.vehicle-grid {
		min-height: 1080px;
	}
}

@media ( max-width: 1350px ) {
	.vehicle-grid {
		grid-template-columns: 33% minmax( 0, 67% );
	}

	.mato-logo--cab {
		left: 12%;
		width: 46%;
	}

	.cockpit-navigation {
		left: 57%;
		width: 40%;
	}

	.cargo-column {
		padding-left: 1.4rem;
	}

	.feature-grid {
		grid-template-columns: repeat( 2, minmax( 0, 1fr ) );
	}
}

@media ( max-width: 1100px ) and ( min-width: 961px ) {
	.vehicle-grid {
		grid-template-columns: 30% minmax( 0, 70% );
	}

	.truck-art {
		opacity: 0.52;
	}

	.cab-interface__inner {
		min-height: 700px;
	}

	.mato-logo--cab {
		left: 10%;
		top: 11%;
		width: 66%;
	}

	.cockpit-navigation {
		left: 8%;
		top: 32%;
		width: 86%;
	}

	.cockpit-menu a {
		font-size: 0.92rem;
		min-height: 3.7rem;
	}

	.cargo-column {
		padding-top: 5rem;
	}
}

@media ( max-width: 960px ) {
	body {
		background: linear-gradient( 180deg, #01040b, #03142d 38rem, #020712 );
	}

	body.admin-bar .mobile-cockpit {
		top: 46px;
	}

	.scroll-progress {
		right: 0.35rem;
		width: 3px;
	}

	.mobile-cockpit {
		align-items: center;
		backdrop-filter: blur( 18px );
		background: rgba( 2, 9, 22, 0.9 );
		border-bottom: 1px solid rgba( 84, 164, 255, 0.38 );
		display: flex;
		justify-content: space-between;
		left: 0;
		min-height: 5.2rem;
		padding: 0.65rem 1.2rem;
		position: sticky;
		right: 0;
		top: 0;
		z-index: 100;
	}

	.mato-logo--mobile {
		width: 8.4rem;
	}

	.mobile-menu-toggle {
		align-items: center;
		background: rgba( 8, 104, 255, 0.15 );
		border: 1px solid rgba( 84, 164, 255, 0.65 );
		border-radius: 10px;
		display: flex;
		height: 3rem;
		justify-content: center;
		padding: 0;
		width: 3rem;
	}

	.mobile-menu-toggle__lines,
	.mobile-menu-toggle__lines::before,
	.mobile-menu-toggle__lines::after {
		background: #ffffff;
		border-radius: 99px;
		display: block;
		height: 2px;
		position: relative;
		transition: transform 180ms ease, opacity 180ms ease;
		width: 1.35rem;
	}

	.mobile-menu-toggle__lines::before,
	.mobile-menu-toggle__lines::after {
		content: "";
		position: absolute;
	}

	.mobile-menu-toggle__lines::before {
		top: -7px;
	}

	.mobile-menu-toggle__lines::after {
		top: 7px;
	}

	.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__lines {
		background: transparent;
	}

	.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__lines::before {
		top: 0;
		transform: rotate( 45deg );
	}

	.mobile-menu-toggle[aria-expanded="true"] .mobile-menu-toggle__lines::after {
		top: 0;
		transform: rotate( -45deg );
	}

	.mobile-navigation {
		background: rgba( 1, 7, 18, 0.98 );
		border-bottom: 1px solid var( --mato-blue );
		display: none;
		left: 0;
		padding: 1rem;
		position: absolute;
		right: 0;
		top: 100%;
	}

	.mobile-navigation.is-open {
		display: block;
	}

	.mobile-navigation .cockpit-menu {
		gap: 0.5rem;
	}

	.mobile-navigation .cockpit-menu a {
		font-size: 1rem;
		min-height: 3.4rem;
	}

	.vehicle-stage,
	.vehicle-grid {
		display: block;
		min-height: 0;
	}

	.truck-art,
	.cab-interface {
		display: none;
	}

	.cargo-column {
		padding: 1rem clamp( 0.75rem, 3vw, 1.5rem ) 3rem;
	}

	.cargo-panel {
		border-radius: 18px;
		min-height: calc( 100svh - 8rem );
		padding: clamp( 1.25rem, 4vw, 2rem );
	}

	.home-hero h1,
	.entry-title {
		max-width: none;
	}

	.site-footer {
		flex-direction: column;
		padding-inline: 1rem;
	}

	.site-footer__links {
		position: static;
	}
}

@media ( max-width: 700px ) {
	h1 {
		font-size: clamp( 2rem, 10vw, 3.15rem );
	}

	.feature-grid,
	.home-details,
	.post-grid,
	.post-navigation .nav-links {
		grid-template-columns: 1fr;
	}

	.contact-module {
		align-items: stretch;
		flex-direction: column;
	}

	.contact-module__actions {
		flex-direction: column;
	}

	.contact-module__actions a {
		text-align: center;
	}

	.hero-actions,
	.hero-actions .button {
		width: 100%;
	}

	.alignwide,
	.alignfull {
		margin-left: 0;
		margin-right: 0;
		max-width: 100%;
		width: 100%;
	}

	.search-form {
		align-items: stretch;
		flex-direction: column;
	}
}

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

	*,
	*::before,
	*::after {
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
		scroll-behavior: auto !important;
		transition-duration: 0.01ms !important;
	}
}

@media print {
	body {
		background: #ffffff;
		color: #111111;
	}

	.mobile-cockpit,
	.cab-interface,
	.truck-art,
	.scroll-progress,
	.site-footer {
		display: none !important;
	}

	.vehicle-grid {
		display: block;
	}

	.cargo-column {
		padding: 0;
	}

	.cargo-panel {
		background: #ffffff;
		border: 0;
		box-shadow: none;
		color: #111111;
		padding: 0;
	}

	h1,
	h2,
	h3,
	h4,
	h5,
	h6,
	.longform-content {
		color: #111111;
	}
}
