/* ==========================================================================
   Mach Tech Services — site styles
   Tokens follow the existing brand: Lindner blue, deep navy, bright accent.
   Component rules use direct-child selectors where copy is wrapped by the
   Visual Editor's <span class="pmve-editable">, so nothing styles twice.
   ========================================================================== */

:root {
	--blue: #154f91;
	--blue-deep: #0f3d72;
	--navy: #13263e;
	--navy-deep: #0d1b2e;
	--accent: #3c8ce8;
	--grey: #f4f6f9;
	--line: #d0dbe5;
	--text: #13263e;
	--muted: #4d5f75;
	--white: #fff;

	--f-head: "Montserrat", "Helvetica Neue", Arial, sans-serif;
	--f-body: "Inter", "Helvetica Neue", Helvetica, Arial, sans-serif;

	--wrap: 1240px;
	--gutter: clamp(16px, 4vw, 40px);
	--header-h: 84px;
	--radius: 2px;
	--skew: polygon(4% 0, 100% 0, 96% 100%, 0 100%);
	--ease: cubic-bezier(.2, .7, .2, 1);
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
body { margin: 0; font: 400 16px/1.65 var(--f-body); color: var(--text); background: var(--white); -webkit-font-smoothing: antialiased; overflow-x: hidden; }
img, video, iframe { max-width: 100%; display: block; }
img { height: auto; }
a { color: var(--blue); }
a:hover { color: var(--accent); }
h1, h2, h3, h4 { font-family: var(--f-head); font-weight: 900; line-height: 1.12; margin: 0 0 .6em; text-transform: uppercase; letter-spacing: .005em; }
p { margin: 0 0 1em; }
button { font: inherit; cursor: pointer; }
:focus-visible { outline: 3px solid var(--accent); outline-offset: 2px; }
.sr-only { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }
.skip-link { position: absolute; left: 12px; top: -60px; z-index: 200; background: var(--white); padding: 10px 16px; font-weight: 600; }
.skip-link:focus { top: 12px; }

.wrap { width: 100%; max-width: var(--wrap); margin-inline: auto; padding-inline: var(--gutter); }
.wrap--narrow { max-width: 920px; }
.wrap--text { max-width: 860px; }

.panel { padding-block: clamp(56px, 8vw, 104px); }
.panel--tight { padding-block: clamp(32px, 4vw, 56px); }
.panel--grey { background: var(--grey); }
.panel--blue { background: var(--blue); color: var(--white); }
.panel--navy { background: var(--navy); color: var(--white); }

.h-page { font-size: clamp(2rem, 4vw, 3.1rem); }
.h-section { font-size: clamp(1.6rem, 3vw, 2.4rem); color: var(--navy); }
.h-section--light, .panel--blue .h-section, .panel--navy .h-section, .split--navy .h-section { color: var(--white); }
.h-center { text-align: center; }
.lede { color: var(--muted); max-width: 60ch; }
.small-label { font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); margin: 0 0 .4em; }

.prose { max-width: 62ch; }
.prose--wide { max-width: none; }
.prose--light { color: rgba(255, 255, 255, .9); }
.prose > p:last-child { margin-bottom: 0; }
.entry-content h2 { font-size: 1.6rem; margin-top: 1.6em; color: var(--navy); }
.entry-content h3 { font-size: 1.25rem; margin-top: 1.4em; color: var(--navy); }
.entry-content img { margin: 1.5em auto; }
.entry-content ul, .entry-content ol { padding-left: 1.2em; }
.entry-content li { margin-bottom: .4em; }
.entry-content blockquote { margin: 1.5em 0; padding: 1em 1.4em; border-left: 4px solid var(--accent); background: var(--grey); }
.entry-content iframe { width: 100%; aspect-ratio: 16 / 9; height: auto; }
.entry-content .alignleft { float: left; margin: .3em 1.4em 1em 0; }
.entry-content .alignright { float: right; margin: .3em 0 1em 1.4em; }
.entry-content .aligncenter { margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: .5em; min-height: 46px; padding: 12px 26px; font: 600 .82rem/1 var(--f-body); text-transform: uppercase; letter-spacing: .08em; text-decoration: none; border: 2px solid currentColor; border-radius: var(--radius); transition: background .2s var(--ease), color .2s var(--ease), border-color .2s var(--ease); }
.btn--solid { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--solid:hover { background: var(--accent); border-color: var(--accent); color: var(--white); }
.btn--outline { color: var(--blue); background: transparent; }
.btn--outline:hover { background: var(--blue); border-color: var(--blue); color: var(--white); }
.btn--outline-light { color: var(--white); border-color: rgba(255, 255, 255, .75); }
.btn--outline-light:hover { background: var(--white); color: var(--navy); border-color: var(--white); }
.btn-row { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 1.4em; }

.more-link { display: inline-flex; align-items: center; gap: .35em; font-size: .85rem; font-weight: 600; color: var(--blue); border-bottom: 1px solid var(--accent); padding-bottom: 2px; }
.chev { flex: none; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--blue); color: var(--white); transition: background .3s var(--ease), box-shadow .3s var(--ease); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: clamp(14px, 3vw, 40px); text-decoration: none; color: var(--white); flex: none; }
.brand-logo { height: 58px; width: auto; }
.brand-partner { height: 20px; width: auto; }
.brand-text { font: 900 1.3rem var(--f-head); letter-spacing: .04em; }

.primary-nav .menu { list-style: none; display: flex; align-items: center; gap: clamp(10px, 2vw, 30px); margin: 0; padding: 0; }
.primary-nav .menu > li { position: relative; }
.primary-nav .menu > li > a { display: block; padding: 10px 0; color: var(--white); font-size: .92rem; font-weight: 500; text-decoration: none; line-height: 1.25; text-align: center; }
.primary-nav .menu > li > a:hover,
.primary-nav .menu > .current-menu-item > a,
.primary-nav .menu > .current-menu-ancestor > a { color: #bfd8f7; }
.primary-nav .menu-item-has-children > a::after { content: ""; display: inline-block; width: 6px; height: 6px; margin-left: 6px; border: solid currentColor; border-width: 0 2px 2px 0; transform: translateY(-3px) rotate(45deg); }
.primary-nav .sub-menu { list-style: none; position: absolute; left: 50%; top: 100%; min-width: 220px; margin: 0; padding: 10px 0; background: var(--white); box-shadow: 0 18px 40px rgba(13, 27, 46, .18); opacity: 0; visibility: hidden; transform: translate(-50%, 8px); transition: opacity .2s var(--ease), transform .2s var(--ease), visibility .2s; }
.primary-nav li:hover > .sub-menu,
.primary-nav li:focus-within > .sub-menu { opacity: 1; visibility: visible; transform: translate(-50%, 0); }
.primary-nav .sub-menu a { display: block; padding: 9px 22px; color: var(--navy); font-size: .9rem; text-decoration: none; }
.primary-nav .sub-menu a:hover { background: var(--grey); color: var(--blue); }

.nav-toggle { display: none; position: relative; width: 44px; height: 44px; background: none; border: 0; color: var(--white); }
.nav-toggle-bars, .nav-toggle-bars::before, .nav-toggle-bars::after { position: absolute; left: 10px; right: 10px; height: 2px; background: currentColor; transition: transform .25s var(--ease), opacity .2s; content: ""; }
.nav-toggle-bars { top: 21px; }
.nav-toggle-bars::before { top: -8px; }
.nav-toggle-bars::after { top: 8px; }
.nav-open .nav-toggle-bars { background: transparent; }
.nav-open .nav-toggle-bars::before { transform: translateY(8px) rotate(45deg); }
.nav-open .nav-toggle-bars::after { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 1080px) {
	:root { --header-h: 72px; }
	.brand-logo { height: 48px; }
	.nav-toggle { display: block; }
	.primary-nav { position: fixed; inset: var(--header-h) 0 0 0; background: var(--navy); padding: 24px var(--gutter) 40px; overflow-y: auto; transform: translateX(100%); transition: transform .3s var(--ease); }
	.nav-open .primary-nav { transform: none; }
	.primary-nav .menu { flex-direction: column; align-items: stretch; gap: 0; }
	.primary-nav .menu > li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
	.primary-nav .menu > li > a { padding: 16px 0; font-size: 1.05rem; text-align: left; }
	.primary-nav .sub-menu { position: static; transform: none; opacity: 1; visibility: visible; background: none; box-shadow: none; padding: 0 0 12px 14px; min-width: 0; display: none; }
	.primary-nav li.is-open > .sub-menu { display: block; }
	.primary-nav li:hover > .sub-menu, .primary-nav li:focus-within > .sub-menu { transform: none; }
	.primary-nav .sub-menu a { color: rgba(255, 255, 255, .85); padding: 8px 0; }
	.primary-nav .sub-menu a:hover { background: none; color: var(--white); }
	body.nav-open { overflow: hidden; }
}
@media (max-width: 520px) { .brand-partner { height: 15px; } }

/* ---------- Heroes ---------- */
.hero { position: relative; color: var(--white); background: var(--navy); overflow: hidden; isolation: isolate; }
.hero-media { position: absolute; inset: 0; z-index: -1; }
.hero-video, .hero-img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(13, 27, 46, .82) 0%, rgba(13, 27, 46, .45) 55%, rgba(13, 27, 46, .15) 100%); }
.hero-content { position: relative; display: flex; flex-direction: column; justify-content: center; gap: 18px; min-height: clamp(420px, 62vh, 640px); padding-block: 72px; }
.hero-heading { font-size: clamp(2.1rem, 4.6vw, 3.6rem); max-width: 18ch; margin: 0; color: var(--white); }
.hero-heading--sm { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
.hero-sub { max-width: 62ch; font-size: clamp(1rem, 1.4vw, 1.15rem); color: rgba(255, 255, 255, .92); margin: 0; }
.hero-content .btn { align-self: flex-start; }
.hero--home .hero-content { min-height: clamp(460px, 72vh, 720px); padding-bottom: 140px; }
.hero--band .hero-content { min-height: 380px; }

.video-toggle { position: absolute; right: var(--gutter); bottom: 24px; z-index: 2; width: 42px; height: 42px; border-radius: 50%; border: 2px solid rgba(255, 255, 255, .7); background: rgba(13, 27, 46, .35); }
.video-toggle::before, .video-toggle::after { content: ""; position: absolute; top: 13px; width: 4px; height: 12px; background: var(--white); }
.video-toggle::before { left: 14px; }
.video-toggle::after { right: 14px; }
.video-toggle[aria-pressed="true"]::before { left: 15px; width: 0; height: 0; background: none; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent var(--white); }
.video-toggle[aria-pressed="true"]::after { display: none; }
.hero--home .video-toggle { bottom: 120px; }

/* Application buttons that sit on the bottom edge of the home hero */
.type-buttons { list-style: none; display: grid; grid-template-columns: repeat(5, 1fr); gap: 10px; margin: -96px 0 0; padding: 0 0 36px; position: relative; z-index: 2; }
.type-button { display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 22px; background: var(--white); color: var(--navy); text-decoration: none; font: 800 .76rem/1.15 var(--f-head); text-transform: uppercase; clip-path: var(--skew); transition: background .2s var(--ease), color .2s var(--ease); }
.type-button img { width: 28px; height: 28px; flex: none; }
.type-button:hover { background: var(--accent); color: var(--white); }
.type-button:hover img { filter: brightness(0) invert(1); }
@media (max-width: 980px) {
	.type-buttons { grid-template-columns: repeat(2, 1fr); margin-top: -80px; }
	.type-buttons li:last-child { grid-column: 1 / -1; }
}
@media (max-width: 480px) { .type-buttons { grid-template-columns: 1fr; } }

/* Plain title band */
.title-band { position: relative; background: var(--blue); color: var(--white); padding-block: clamp(48px, 7vw, 88px); overflow: hidden; isolation: isolate; }
.title-band-heading { margin: 0; font-size: clamp(2rem, 4.4vw, 3.4rem); color: var(--white); }
.title-band--image { padding-block: clamp(96px, 14vw, 180px); }
.title-band-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; }
.title-band--image .hero-overlay { z-index: -1; }

/* ---------- Split image / text blocks ---------- */
.split { display: grid; grid-template-columns: 1fr 1fr; min-height: 520px; }
.split-media { position: relative; min-height: 320px; background: var(--grey); }
.split-media .cover, .cover { width: 100%; height: 100%; object-fit: cover; }
.split-media .cover { position: absolute; inset: 0; }
.split-text { display: flex; align-items: center; padding: clamp(40px, 6vw, 88px) var(--gutter); }
.split-text-inner { max-width: 560px; }
.split--navy { background: var(--navy); color: var(--white); }
.split--navy .prose { color: rgba(255, 255, 255, .9); }
.split--navy .btn--outline { color: var(--white); border-color: rgba(255, 255, 255, .75); }
.split--navy .btn--outline:hover { background: var(--white); color: var(--navy); }
.split--light { background: var(--white); }
.split--reverse .split-media { order: 2; }
.split--text-only { grid-template-columns: 1fr; min-height: 0; }
.split--text-only .split-text { justify-content: center; }
.split--text-only .split-text-inner { max-width: 860px; }
@media (max-width: 860px) {
	.split { grid-template-columns: 1fr; min-height: 0; }
	.split--reverse .split-media { order: 0; }
	.split-media { aspect-ratio: 16 / 10; min-height: 0; }
}

/* Two-image row */
.pair-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.pair-img { width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
@media (max-width: 640px) { .pair-grid { grid-template-columns: 1fr; } }

/* Text box overlapping an image */
.textbox-grid { display: grid; grid-template-columns: 7fr 5fr; align-items: center; }
.textbox-media { grid-column: 1 / 2; grid-row: 1; aspect-ratio: 4 / 3; }
.textbox-card { grid-column: 2 / 3; grid-row: 1; margin-left: -18%; position: relative; background: var(--white); padding: clamp(28px, 4vw, 52px); box-shadow: 0 24px 60px rgba(13, 27, 46, .14); }
@media (max-width: 860px) {
	.textbox-grid { grid-template-columns: 1fr; }
	.textbox-card { grid-column: 1; grid-row: 2; margin: -48px 16px 0; }
}

/* Cards (careers) */
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 24px; margin-top: 32px; }
.card { background: var(--white); border: 1px solid var(--line); }
.card-media { aspect-ratio: 3 / 2; overflow: hidden; }
.card-title { margin: 0; padding: 18px 20px; font-size: 1.05rem; color: var(--navy); }

/* ---------- Home ---------- */
.panel-head { margin-bottom: 40px; }
.panel-head--split { display: flex; align-items: flex-end; justify-content: space-between; gap: 24px; flex-wrap: wrap; padding-bottom: 28px; border-bottom: 2px solid var(--line); }
.panel-head--split .h-section { margin-bottom: .3em; }
.panel-head--split .lede { margin: 0; }

.quote-bar { background: var(--blue); color: var(--white); }
.quote-bar-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px 32px; flex-wrap: wrap; padding-block: 34px; }
.quote-bar-text { margin: 0; font: 800 clamp(1rem, 1.8vw, 1.3rem)/1.25 var(--f-head); text-transform: uppercase; }

.duo { display: grid; grid-template-columns: 1fr 1fr; }
.duo-panel { position: relative; min-height: clamp(360px, 46vw, 560px); display: flex; align-items: flex-end; color: var(--white); overflow: hidden; isolation: isolate; }
.duo-panel > img { position: absolute; inset: 0; z-index: -2; transition: transform 1.2s var(--ease); }
.duo-panel:hover > img { transform: scale(1.04); }
.duo-overlay { position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, rgba(13, 27, 46, .88) 0%, rgba(13, 27, 46, .25) 65%); }
.duo-content { padding: clamp(28px, 4vw, 56px); }
.duo-heading { font-size: clamp(1.5rem, 2.6vw, 2.2rem); color: var(--white); max-width: 16ch; }
@media (max-width: 760px) { .duo { grid-template-columns: 1fr; } }

/* ---------- Shredders ---------- */
.shredder-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 56px 40px; }
.shredder-grid > [hidden] { display: none; }
@media (max-width: 960px) { .shredder-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .shredder-grid { grid-template-columns: 1fr; } }
.shredder-card { display: flex; flex-direction: column; height: 100%; color: var(--navy); text-decoration: none; }
.shredder-card-title { font-size: 1.3rem; margin: 0 0 .2em; }
.models { list-style: none; display: flex; flex-wrap: wrap; margin: 0; padding: 0; font-size: .8rem; color: var(--muted); }
.models li + li::before { content: "|"; margin: 0 .55em; color: var(--line); }
.models--lg { font: 700 1.05rem var(--f-head); color: var(--navy); margin-bottom: 1em; }
.shredder-card-media { aspect-ratio: 43 / 32; margin: 18px 0; display: grid; place-items: center; }
.shredder-card-media img { max-height: 100%; width: auto; object-fit: contain; transition: transform .5s var(--ease); }
.shredder-card:hover .shredder-card-media img { transform: scale(1.04); }
.shredder-card-cat { margin: auto 0 8px; font-size: .9rem; }
.type-icons { list-style: none; display: flex; flex-wrap: wrap; gap: 8px; margin: 0 0 14px; padding: 0; }
.type-icons li { position: relative; width: 30px; height: 30px; }
.type-icons img { width: 100%; height: 100%; }
.shredder-card .more-link { align-self: flex-start; }
.has-tip .tip { position: absolute; bottom: calc(100% + 8px); left: 50%; transform: translateX(-50%); white-space: nowrap; background: var(--navy); color: var(--white); font-size: .75rem; padding: 4px 8px; opacity: 0; pointer-events: none; transition: opacity .2s; }
.has-tip:hover .tip { opacity: 1; }

.shredders-intro { padding-bottom: 24px; }
.filters { background: var(--grey); border-block: 1px solid var(--line); padding-block: 18px; }
.filters-label { margin: 0 0 10px; font-size: .78rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.filter-list { list-style: none; display: flex; flex-wrap: wrap; gap: 10px; margin: 0; padding: 0; }
.filter { display: inline-flex; align-items: center; gap: 8px; padding: 9px 16px; background: var(--white); border: 1px solid var(--line); color: var(--navy); font-size: .88rem; font-weight: 500; text-decoration: none; }
.filter img { width: 22px; height: 22px; }
.filter:hover { border-color: var(--accent); color: var(--blue); }
.filter.is-active { background: var(--blue); border-color: var(--blue); color: var(--white); }
.filter.is-active img { filter: brightness(0) invert(1); }
.filter-empty { margin-top: 24px; }

/* Single shredder */
.shredder-intro { display: grid; grid-template-columns: 7fr 5fr; background: var(--white); }
.shredder-intro-media { position: relative; min-height: 460px; background: var(--grey); }
.shredder-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.gallery { position: absolute; inset: 0; }
.gallery-slide { position: absolute; inset: 0; margin: 0; opacity: 0; transition: opacity .6s var(--ease); }
.gallery-slide.is-active { opacity: 1; }
.gallery-nav { position: absolute; right: 16px; bottom: 16px; display: flex; gap: 8px; }
.gallery-nav button, .carousel-controls button { width: 44px; height: 44px; background: var(--white); border: 1px solid var(--line); position: relative; }
.gallery-nav button::after, .carousel-controls button::after { content: ""; position: absolute; top: 50%; left: 50%; width: 9px; height: 9px; border: solid var(--navy); border-width: 0 2px 2px 0; }
.gallery-prev::after, .carousel-prev::after { transform: translate(-30%, -50%) rotate(135deg); }
.gallery-next::after, .carousel-next::after { transform: translate(-70%, -50%) rotate(-45deg); }
.shredder-intro-text { padding: clamp(32px, 5vw, 72px) var(--gutter); }
.shredder-intro-text .h-page { margin-bottom: .2em; color: var(--navy); }
@media (max-width: 900px) {
	.shredder-intro { grid-template-columns: 1fr; }
	.shredder-intro-media { min-height: 0; aspect-ratio: 4 / 3; }
}

.features .h-section { max-width: 14ch; }
.feature-track { display: grid; grid-auto-flow: column; grid-auto-columns: minmax(280px, 31%); gap: 20px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 8px max(var(--gutter), calc((100vw - var(--wrap)) / 2 + var(--gutter))) 20px; scrollbar-width: none; }
.feature-track::-webkit-scrollbar { display: none; }
.feature { position: relative; scroll-snap-align: start; background: var(--navy); color: var(--white); overflow: hidden; min-height: 300px; display: flex; flex-direction: column; }
.feature-media { aspect-ratio: 16 / 9; }
.feature-title { display: flex; justify-content: space-between; align-items: center; gap: 12px; width: 100%; padding: 16px 20px; background: var(--blue); color: var(--white); border: 0; text-align: left; font: 800 .85rem/1.25 var(--f-head); text-transform: uppercase; margin-top: auto; }
.feature-more { flex: none; font: 500 .72rem var(--f-body); text-transform: none; opacity: .85; }
.feature-detail { position: absolute; inset: 0; padding: 24px 22px; background: var(--navy); overflow-y: auto; }
.feature-detail[hidden] { display: none; }
.feature-detail-title { font-size: 1rem; color: var(--white); padding-right: 36px; }
.feature-detail .prose { font-size: .9rem; }
.feature-close { position: absolute; top: 10px; right: 12px; width: 36px; height: 36px; background: none; border: 0; color: var(--white); font-size: 1.8rem; line-height: 1; }
.carousel-controls { display: flex; gap: 8px; }
@media (max-width: 700px) { .feature-track { grid-auto-columns: 85%; } }

.downloads { text-align: center; padding-bottom: 32px; }
.brochure { display: inline-flex; flex-direction: column; align-items: center; gap: 10px; text-decoration: none; color: var(--navy); }
.brochure-cover { width: 220px; aspect-ratio: 1; object-fit: cover; box-shadow: 0 18px 40px rgba(13, 27, 46, .18); transition: transform .3s var(--ease); }
.brochure:hover .brochure-cover { transform: translateY(-4px); }
.brochure-title { font: 800 1rem var(--f-head); text-transform: uppercase; }

.techdata-card { max-width: 980px; margin: 0 auto; border: 1px solid var(--line); padding: clamp(24px, 4vw, 56px); }
.techdata-img { margin: 0 auto; }

.testimonial-grid { display: grid; grid-template-columns: 220px 1fr; gap: 40px; max-width: 980px; }
.testimonial-meta { text-align: right; font-size: .95rem; }
.testimonial-logo { max-width: 160px; margin: 0 0 16px auto; }
.testimonial-quote { margin: 0; padding-left: 32px; border-left: 3px solid var(--accent); font-size: clamp(1.05rem, 1.6vw, 1.25rem); line-height: 1.6; }
@media (max-width: 700px) {
	.testimonial-grid { grid-template-columns: 1fr; gap: 20px; }
	.testimonial-meta { text-align: left; }
	.testimonial-logo { margin-left: 0; }
}

/* ---------- News ---------- */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
@media (max-width: 900px) { .news-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 580px) { .news-grid { grid-template-columns: 1fr; } }
.news-grid--card { background: var(--white); padding: clamp(20px, 3vw, 40px); }
.news-card { display: flex; flex-direction: column; color: var(--navy); text-decoration: none; }
.news-card-media { aspect-ratio: 3 / 2; overflow: hidden; background: var(--grey); }
.news-card-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s var(--ease); }
.news-card:hover .news-card-media img { transform: scale(1.04); }
.news-card-body { display: flex; flex-direction: column; flex: 1; padding-top: 16px; }
.news-card-title { font-size: 1.02rem; line-height: 1.3; margin-bottom: 12px; }
.news-card .more-link { margin-top: auto; align-self: flex-start; }
.post-meta { list-style: none; display: flex; flex-wrap: wrap; gap: 4px 16px; margin: 0 0 8px; padding: 0; font-size: .78rem; color: var(--muted); text-transform: uppercase; letter-spacing: .05em; }
.post-meta--light, .post-meta--light a { color: rgba(255, 255, 255, .85); }
.panel--blue .news-card { color: var(--navy); }

.post-hero { background: var(--blue); color: var(--white); padding-block: clamp(48px, 7vw, 96px) clamp(96px, 12vw, 160px); }
.post-title { font-size: clamp(1.8rem, 3.6vw, 2.8rem); margin: 0; color: var(--white); }
.post-feature { margin-top: clamp(-120px, -9vw, -64px); margin-bottom: 40px; }
.post-feature-img { width: 100%; box-shadow: 0 24px 60px rgba(13, 27, 46, .2); }
.post-back { margin: 48px 0 0; padding-bottom: clamp(48px, 7vw, 88px); }
.post:not(:has(.post-feature)) .post-hero { padding-bottom: clamp(48px, 7vw, 96px); }
.post:not(:has(.post-feature)) .entry-content { padding-top: 48px; }

.navigation.pagination { margin-top: 48px; }
.nav-links { display: flex; flex-wrap: wrap; gap: 8px; justify-content: center; }
.page-numbers { display: inline-flex; min-width: 44px; height: 44px; align-items: center; justify-content: center; padding: 0 14px; border: 1px solid var(--line); text-decoration: none; color: var(--navy); }
.page-numbers.current { background: var(--blue); border-color: var(--blue); color: var(--white); }

/* ---------- FAQs ---------- */
.accordion { margin-top: 32px; border-top: 1px solid rgba(255, 255, 255, .25); }
.accordion-item { border-bottom: 1px solid rgba(255, 255, 255, .25); }
.accordion-q { list-style: none; display: flex; justify-content: space-between; align-items: center; gap: 20px; padding: 22px 0; font: 700 1.02rem/1.35 var(--f-body); cursor: pointer; }
.accordion-q::-webkit-details-marker { display: none; }
.accordion-q::after { content: "+"; flex: none; font: 400 1.6rem/1 var(--f-body); transition: transform .25s var(--ease); }
.accordion-item[open] .accordion-q::after { transform: rotate(45deg); }
.accordion-a { padding: 0 0 24px; max-width: none; }

/* ---------- Enquiry + contact ---------- */
.enquiry-grid, .contact-grid { display: grid; grid-template-columns: 5fr 6fr; gap: clamp(32px, 6vw, 88px); align-items: start; }
.enquiry .panel-heading { font-size: clamp(1.6rem, 3vw, 2.3rem); color: var(--accent); }
.enquiry-phone { margin-top: 1.2em; font-weight: 600; }
.enquiry-phone a { color: var(--white); }
.form-card { background: var(--white); color: var(--text); padding: clamp(24px, 3.5vw, 44px); box-shadow: 0 24px 60px rgba(13, 27, 46, .18); }
.contact .form-card { border: 1px solid var(--line); }
.contact-methods { list-style: none; margin: 32px 0 0; padding: 0; display: grid; gap: 18px; }
.contact-methods .label { display: block; font-size: .75rem; text-transform: uppercase; letter-spacing: .08em; color: var(--muted); }
.contact-methods a { font: 700 1.15rem var(--f-body); text-decoration: none; }
.contact-methods address { font-style: normal; }
.map iframe { width: 100%; height: 440px; border: 0; }
.form-missing { padding: 16px; background: #fff4d6; color: #6b4d00; }
@media (max-width: 860px) { .enquiry-grid, .contact-grid { grid-template-columns: 1fr; } }

/* Ninja Forms, brought into line with the brand */
.form-card .nf-form-content { padding: 0; max-width: none; }
.form-card .nf-form-content .label-above .nf-field-label { margin-bottom: 6px; }
.form-card .nf-form-content label { font-size: .88rem; font-weight: 600; color: var(--navy); }
.form-card .nf-form-content input:not([type="checkbox"]):not([type="radio"]):not([type="submit"]):not([type="button"]),
.form-card .nf-form-content select.ninja-forms-field,
.form-card .nf-form-content textarea { background: var(--white); border: 1px solid var(--line); border-radius: 0; color: var(--text); font: 400 1rem var(--f-body); padding: 12px 14px; height: auto; }
.form-card .nf-form-content textarea { height: 140px; }
.form-card .nf-form-content input:focus, .form-card .nf-form-content textarea:focus, .form-card .nf-form-content select:focus { border-color: var(--accent); outline: none; box-shadow: 0 0 0 3px rgba(60, 140, 232, .2); }
.form-card .nf-form-content .list-checkbox-wrap .nf-field-element li label { font-weight: 400; }
.form-card .nf-form-content input[type="submit"], .form-card .nf-form-content button { background: var(--blue); border: 0; color: var(--white); font: 600 .82rem var(--f-body); text-transform: uppercase; letter-spacing: .08em; padding: 15px 34px; height: auto; border-radius: var(--radius); cursor: pointer; transition: background .2s; }
.form-card .nf-form-content input[type="submit"]:hover { background: var(--accent); }
.form-card .nf-form-fields-required { font-size: .8rem; color: var(--muted); margin-bottom: 14px; }
.form-card .nf-response-msg { padding: 16px; background: #e8f3e8; color: #1d5a1d; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-deep); color: rgba(255, 255, 255, .8); font-size: .92rem; }
.footer-top { display: grid; grid-template-columns: auto 1fr auto auto; gap: 32px 48px; align-items: center; padding-block: 48px; }
.footer-menu { list-style: none; columns: 3; column-gap: 40px; margin: 0; padding: 0; }
.footer-menu li { margin-bottom: 10px; break-inside: avoid; }
.footer-menu a, .footer-contact a { color: rgba(255, 255, 255, .85); text-decoration: none; }
.footer-menu a:hover, .footer-contact a:hover { color: var(--white); }
.footer-contact { display: grid; gap: 8px; }
.socials { list-style: none; display: flex; gap: 10px; margin: 0; padding: 0; }
.socials a { display: grid; place-items: center; width: 40px; height: 40px; border-radius: 50%; background: var(--accent); color: var(--white); }
.socials a:hover { background: var(--white); color: var(--blue); }
@media (max-width: 960px) {
	.footer-top { grid-template-columns: 1fr 1fr; }
	.footer-menu { columns: 2; }
}
@media (max-width: 560px) {
	.footer-top { grid-template-columns: 1fr; }
}

/* PM footer credit (standard on every Pure Marketing build) */
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .12); }
.footer-bottom-row { display: flex; align-items: center; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-block: 22px; font-size: .85rem; }
.back-to-top { display: inline-flex; align-items: center; gap: 8px; color: rgba(255, 255, 255, .68); text-decoration: none; }
.back-to-top:hover { color: var(--white); }
.footer-credit { display: inline-flex; align-items: center; gap: 9px; color: rgba(255, 255, 255, .68); text-decoration: none !important; border: 0 !important; box-shadow: none !important; }
.footer-credit:hover { color: var(--white); }
.footer-credit-logo { height: 20px; width: auto; display: block; filter: brightness(0) invert(1); }

/* ---------- Visual Editor guard ----------
   pmve wraps copy in <span class="pmve-editable">; keep it layout-neutral. */
.hero-heading > .pmve-editable, .h-section > .pmve-editable, .h-page > .pmve-editable,
.title-band-heading > .pmve-editable, .duo-heading > .pmve-editable, .card-title > .pmve-editable,
.quote-bar-text > .pmve-editable, .accordion-q > .pmve-editable, .feature-title > span > .pmve-editable {
	display: inline; background: none; border: 0; box-shadow: none; padding: 0; margin: 0;
}

/* ---------- Motion ---------- */
@media (prefers-reduced-motion: reduce) {
	*, *::before, *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* Two images side by side inside editor content (application pages) */
.entry-content .mt-pair { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin: 2em 0; }
.entry-content .mt-pair img { margin: 0; width: 100%; aspect-ratio: 8 / 5; object-fit: cover; }
@media (max-width: 640px) { .entry-content .mt-pair { grid-template-columns: 1fr; } }
