/*
Theme Name:   GroundPro
Description:  GroundPro General Limited — Blocksy child theme (heavy equipment hire, sales, mining and civil works, Tema, Ghana).
Template:     blocksy
Version:      1.1.0
Requires PHP: 7.4
Text Domain:  groundpro
*/

/* ==========================================================================
   Tokens
   Brand orange #F26A25 is used for fills (buttons, accents) with dark text.
   Text-weight orange #B93D0C is used for links and small text on light
   backgrounds (WCAG AA).

   Colour schemes (Appearance → Customize → GroundPro colour scheme) only
   change the tokens below; every rule in this file uses the tokens.
     --gp-band-*    hero and page banners
     --gp-topbar-*  contact strip above the header
     --gp-footer-*  footer
   ========================================================================== */
:root,
body.gp-palette-classic {
	--gp-orange: #f26a25;
	--gp-orange-ink: #b93d0c;
	--gp-ink: #1b1718;
	--gp-text: #4a4544;
	--gp-muted: #6e6866;
	--gp-line: #e8e1db;
	--gp-line-strong: #cfc6bf;
	--gp-sand: #f7f3ef;
	--gp-page: #fcfaf8;
	--gp-white: #ffffff;
	--gp-whatsapp: #1fa855;

	--gp-band-bg: #1b1718;
	--gp-band-text: #d9d2cc;
	--gp-band-heading: #ffffff;
	--gp-band-muted: #b8b0aa;
	--gp-band-accent: #f26a25;
	--gp-band-stripe: rgb(242 106 37 / 12%);
	--gp-band-outline: rgb(255 255 255 / 55%);

	--gp-topbar-bg: #1b1718;
	--gp-topbar-text: #d9d2cc;
	--gp-topbar-link: #ffffff;

	--gp-footer-bg: #1b1718;
	--gp-footer-text: #bdb5af;
	--gp-footer-heading: #ffffff;
	--gp-footer-link: #e4ddd7;
	--gp-footer-line: rgb(255 255 255 / 10%);

	--gp-bar-bg: #1b1718;

	--gp-radius: 12px;
	--gp-radius-sm: 8px;
	--gp-shadow: 0 1px 2px rgb(27 23 24 / 6%), 0 8px 24px rgb(27 23 24 / 8%);
	--gp-section-y: clamp(48px, 6vw, 88px);
	--gp-heading-font: 'Archivo', system-ui, sans-serif;
	--gp-header-offset: 96px; /* room for the sticky header when jumping to #anchors */
}

/* Light schemes share the same structure: light banners, light footer. */
body.gp-palette-sand,
body.gp-palette-concrete,
body.gp-palette-sage {
	--gp-band-heading: var(--gp-ink);
	--gp-band-text: var(--gp-text);
	--gp-band-muted: var(--gp-muted);
	--gp-band-accent: var(--gp-orange-ink);
	--gp-band-stripe: rgb(242 106 37 / 9%);
	--gp-band-outline: rgb(27 23 24 / 35%);
	--gp-topbar-text: var(--gp-text);
	--gp-topbar-link: var(--gp-ink);
	--gp-footer-text: var(--gp-text);
	--gp-footer-heading: var(--gp-ink);
	--gp-footer-link: var(--gp-ink);
	--gp-footer-line: rgb(27 23 24 / 10%);
}

/* Warm Sand: cream and peach, closest to the brand. */
body.gp-palette-sand {
	--gp-line: #ecdfd2;
	--gp-line-strong: #d6c6b7;
	--gp-sand: #fbf4ec;
	--gp-page: #fffdfa;
	--gp-band-bg: #fcefe2;
	--gp-topbar-bg: #f6e6d6;
	--gp-footer-bg: #f8ece0;
	--gp-bar-bg: #2b2324;
	--theme-palette-color-5: #ecdfd2;
	--theme-palette-color-6: #fbf4ec;
	--theme-palette-color-7: #fffdfa;
}

/* Cool Concrete: pale grey-blue with slate text. */
body.gp-palette-concrete {
	--gp-ink: #1c2530;
	--gp-text: #445163;
	--gp-muted: #5f6b7a;
	--gp-line: #dde3ea;
	--gp-line-strong: #c3ccd6;
	--gp-sand: #f2f5f8;
	--gp-page: #fbfcfd;
	--gp-band-bg: #e9eef3;
	--gp-band-stripe: rgb(28 37 48 / 6%);
	--gp-topbar-bg: #dfe6ed;
	--gp-footer-bg: #e6ebf0;
	--gp-bar-bg: #1c2530;
	--theme-palette-color-3: #445163;
	--theme-palette-color-4: #1c2530;
	--theme-palette-color-5: #dde3ea;
	--theme-palette-color-6: #f2f5f8;
	--theme-palette-color-7: #fbfcfd;
}

/* Fresh Sage: soft green with deep green-grey text. */
body.gp-palette-sage {
	--gp-ink: #1d2a22;
	--gp-text: #45534a;
	--gp-muted: #5f6e64;
	--gp-line: #dbe4d6;
	--gp-line-strong: #c2cfbc;
	--gp-sand: #f3f7f1;
	--gp-page: #fbfcfa;
	--gp-band-bg: #e8f0e4;
	--gp-topbar-bg: #dde8d8;
	--gp-footer-bg: #e5ede1;
	--gp-bar-bg: #1d2a22;
	--theme-palette-color-3: #45534a;
	--theme-palette-color-4: #1d2a22;
	--theme-palette-color-5: #dbe4d6;
	--theme-palette-color-6: #f3f7f1;
	--theme-palette-color-7: #fbfcfa;
}

/* ==========================================================================
   Base
   ========================================================================== */
html {
	scroll-padding-top: var(--gp-header-offset);
}

body {
	-webkit-font-smoothing: antialiased;
	text-rendering: optimizeLegibility;
	background-color: var(--gp-page);
	overflow-x: clip; /* Blocksy uses "hidden", which stops the header from staying on screen */
}

h1, h2, h3, h4, h5, h6 {
	text-wrap: balance;
	letter-spacing: -0.01em;
}

.entry-content p,
.entry-content li {
	text-wrap: pretty;
}

.entry-content a:where(:not(.wp-element-button):not(.gp-btn)) {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 3px;
}

:where(a, button, input, select, textarea, summary):focus-visible {
	outline: 3px solid var(--gp-orange);
	outline-offset: 2px;
}

::selection {
	background: var(--gp-orange);
	color: var(--gp-ink);
}

.gp-icon {
	width: 1.15em;
	height: 1.15em;
	flex: 0 0 auto;
}

/* Full-width pages built from sections: remove the default content gap. */
.page .entry-content > .alignfull:first-child {
	margin-top: 0;
}

.page .entry-content > .alignfull:last-child {
	margin-bottom: 0;
}

/* Blocksy spaces blocks with a bottom margin; between full-width sections that
   leaves a strip of page colour that looks like the end of the page. */
.entry-content > .alignfull,
.entry-content > .alignfull + .alignfull {
	margin-top: 0;
	margin-bottom: 0;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.wp-element-button,
.wp-block-button__link,
.ct-button,
.gp-btn {
	font-family: var(--gp-heading-font);
	font-weight: 700;
	letter-spacing: 0.01em;
	border-radius: var(--gp-radius-sm);
	transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
}

.wp-block-button__link {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 54px;
	padding: 0.95em 1.6em;
}

.wp-block-button__link:hover {
	transform: translateY(-1px);
}

.wp-block-button.is-style-outline > .wp-block-button__link,
.entry-content .wp-block-button[class*='is-style-outline'] > .wp-block-button__link {
	border: 2px solid currentColor;
	background: transparent;
	color: var(--gp-ink);
	padding: calc(0.95em - 2px) calc(1.6em - 2px) !important; /* core sets 5px 20px */
	min-height: 54px;
}

.wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--gp-ink);
	border-color: var(--gp-ink);
	color: var(--gp-white);
}

.gp-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 0.55em;
	min-height: 52px;
	padding: 0.8em 1.3em;
	text-decoration: none;
	border: 2px solid transparent;
	line-height: 1.2;
}

.gp-btn--primary {
	background: var(--gp-orange);
	color: var(--gp-ink);
}

.gp-btn--primary:hover {
	background: var(--gp-ink);
	color: var(--gp-white);
}

.gp-btn--ghost {
	border-color: var(--gp-line);
	color: var(--gp-ink);
	background: var(--gp-white);
}

.gp-btn--ghost:hover {
	border-color: var(--gp-ink);
	color: var(--gp-ink);
}

.gp-btn--whatsapp {
	background: var(--gp-whatsapp);
	color: var(--gp-white);
}

.gp-btn--whatsapp:hover {
	background: #178a45;
	color: var(--gp-white);
}

/* ==========================================================================
   Header
   On desktop the contact strip scrolls away and the logo / menu / button row
   stays at the top of the screen.
   ========================================================================== */
@media (min-width: 1000px) {
	#header {
		position: sticky;
		top: -42px; /* height of the contact strip */
		z-index: 60;
	}

	.admin-bar #header {
		top: calc(32px - 42px);
	}
}

#header [data-row*="top"] {
	--height: 42px;
	background: var(--gp-topbar-bg);
	color: var(--gp-topbar-text);
	font-size: 14px;
}

#header [data-row*="top"] a {
	color: var(--gp-topbar-link);
	text-decoration: none;
}

#header [data-row*="top"] a:hover {
	color: var(--gp-orange-ink);
}

.gp-palette-classic #header [data-row*="top"] a:hover {
	color: var(--gp-orange);
}

.gp-topbar {
	display: flex;
	flex-wrap: wrap;
	gap: 6px 28px;
	align-items: center;
	margin: 0;
}

.gp-topbar,
.gp-topbar span {
	color: var(--gp-topbar-text);
}

.gp-topbar span {
	display: inline-flex;
	align-items: center;
	gap: 8px;
}

.gp-topbar .gp-icon {
	color: var(--gp-orange);
}

#header [data-row*="middle"] {
	--height: 84px;
	background: var(--gp-white);
	border-bottom: 1px solid var(--gp-line);
	box-shadow: 0 6px 18px -14px rgb(27 23 24 / 35%);
}

#header .site-logo-container img,
#header .site-logo-container .default-logo {
	max-height: 46px;
	width: auto;
}

/* Top-level menu: sentence case, and a bar under the section you are in. */
#header [data-id="menu"] {
	--menu-items-spacing: 26px;
	--theme-link-initial-color: var(--gp-ink);
	--theme-link-hover-color: var(--gp-orange-ink);
	--theme-link-active-color: var(--gp-orange-ink);
}

#header [data-id="menu"] > ul > li > a {
	position: relative;
	font-family: var(--gp-heading-font);
	font-weight: 600;
	font-size: 15.5px;
	letter-spacing: 0;
	text-transform: none;
	--theme-text-transform: none;
	--theme-font-size: 15.5px;
}

#header [data-id="menu"] > ul > li > a::after {
	content: '';
	position: absolute;
	left: calc(var(--menu-items-spacing) / 2);
	right: calc(var(--menu-items-spacing) / 2);
	bottom: 0;
	height: 3px;
	border-radius: 3px 3px 0 0;
	background: var(--gp-orange);
	opacity: 1; /* Blocksy hides link pseudo-elements by default */
	transform: scaleX(0);
	transform-origin: center;
	transition: transform 0.2s ease;
}

#header [data-id="menu"] > ul > li:hover > a::after,
#header [data-id="menu"] > ul > li:focus-within > a::after {
	transform: scaleX(0.5);
}

#header [data-id="menu"] > ul > li.current-menu-item > a::after,
#header [data-id="menu"] > ul > li.current-menu-ancestor > a::after,
#header [data-id="menu"] > ul > li.current-menu-parent > a::after {
	transform: scaleX(1);
}

#header [data-id="menu"] > ul > li.current-menu-item > a,
#header [data-id="menu"] > ul > li.current-menu-ancestor > a {
	font-weight: 700;
}

/* Dropdown: light panel with readable hover and "current page" states. */
#header [data-id="menu"] .sub-menu {
	--dropdown-background-color: var(--gp-white);
	--dropdown-width: 300px;
	--dropdown-divider: none;
	--dropdown-items-spacing: 11px;
	--theme-border-radius: 0 0 var(--gp-radius) var(--gp-radius);
	--theme-link-initial-color: var(--gp-ink);
	--theme-link-hover-color: var(--gp-orange-ink);
	--theme-link-active-color: var(--gp-orange-ink);
	padding: 8px;
	border: 1px solid var(--gp-line);
	border-top: 3px solid var(--gp-orange);
	box-shadow: 0 18px 40px -12px rgb(27 23 24 / 22%);
}

#header [data-id="menu"] .sub-menu li {
	border: 0;
}

#header [data-id="menu"] .sub-menu .ct-menu-link {
	margin: 0;
	border-radius: var(--gp-radius-sm);
	font-family: var(--gp-heading-font);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	--theme-font-size: 15px;
	color: var(--gp-ink);
	transition: background-color 0.15s ease, color 0.15s ease;
}

#header [data-id="menu"] .sub-menu li:hover > .ct-menu-link,
#header [data-id="menu"] .sub-menu .ct-menu-link:focus-visible {
	background: var(--gp-sand);
	color: var(--gp-orange-ink);
}

#header [data-id="menu"] .sub-menu li.current-menu-item > .ct-menu-link {
	background: var(--gp-sand);
	color: var(--gp-orange-ink);
	font-weight: 700;
	box-shadow: inset 3px 0 0 var(--gp-orange);
}

#header .ct-header-cta .ct-button {
	min-height: 46px;
	padding-inline: 22px;
}

/* Mobile menu (off-canvas panel) */
#offcanvas .ct-panel-inner,
#offcanvas {
	--theme-link-initial-color: var(--gp-white);
	--theme-link-hover-color: var(--gp-orange);
	--theme-link-active-color: var(--gp-orange);
}

#offcanvas .mobile-menu li.current-menu-item > .ct-menu-link,
#offcanvas .mobile-menu li.current-menu-item > .ct-sub-menu-parent > .ct-menu-link {
	color: var(--gp-orange);
	font-weight: 700;
}

/* Light colour schemes: light menu panel to match. */
body:not(.gp-palette-classic) #offcanvas .ct-panel-inner {
	background-color: var(--gp-page);
}

/* Blocksy sets the link colour on [data-id="mobile-menu"] itself, so override it there. */
body:not(.gp-palette-classic) #offcanvas,
body:not(.gp-palette-classic) #offcanvas .ct-panel-inner,
body:not(.gp-palette-classic) #offcanvas [data-id="mobile-menu"] {
	--theme-link-initial-color: var(--gp-ink);
	--theme-link-hover-color: var(--gp-orange-ink);
	--theme-link-active-color: var(--gp-orange-ink);
	--theme-icon-color: var(--gp-ink);
	color: var(--gp-ink);
}

body:not(.gp-palette-classic) #offcanvas .ct-toggle-close {
	--theme-icon-color: var(--gp-ink);
	--theme-icon-hover-color: var(--gp-orange-ink);
}

body:not(.gp-palette-classic) #offcanvas .mobile-menu li[class*='current-menu-'] > .ct-menu-link,
body:not(.gp-palette-classic) #offcanvas .mobile-menu li[class*='current-menu-'] > .ct-sub-menu-parent > .ct-menu-link {
	color: var(--gp-orange-ink);
}

/* The section you are in (e.g. "Services" on a service page) is highlighted too. */
#offcanvas .mobile-menu li.current-menu-ancestor > .ct-menu-link,
#offcanvas .mobile-menu li.current-menu-ancestor > .ct-sub-menu-parent > .ct-menu-link {
	color: var(--gp-orange);
}

#offcanvas .mobile-menu li.current-menu-item > .ct-menu-link::before {
	content: '';
	display: inline-block;
	width: 8px;
	height: 8px;
	margin-right: 10px;
	border-radius: 2px;
	background: var(--gp-orange);
	transform: rotate(45deg);
}

/* ==========================================================================
   Breadcrumbs ("You are here")
   ========================================================================== */
.gp-breadcrumbs {
	margin: 0 0 18px;
	font-size: 14px;
	line-height: 1.5;
}

.gp-breadcrumbs ol {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 4px 0;
	margin: 0;
	padding: 0;
	list-style: none;
}

.gp-breadcrumbs li {
	display: inline-flex;
	align-items: center;
	margin: 0;
	color: var(--gp-band-muted);
}

.gp-breadcrumbs li + li::before {
	content: '';
	width: 6px;
	height: 6px;
	margin: 0 12px 0 10px;
	border-top: 1.5px solid currentColor;
	border-right: 1.5px solid currentColor;
	transform: rotate(45deg);
	opacity: 0.7;
}

.gp-breadcrumbs a {
	color: var(--gp-band-text) !important;
	text-decoration: none !important;
	border-bottom: 1px solid transparent;
}

.gp-breadcrumbs a:hover {
	color: var(--gp-band-heading) !important;
	border-bottom-color: currentColor;
}

.gp-breadcrumbs [aria-current='page'] {
	color: var(--gp-band-accent);
	font-weight: 700;
}

/* ==========================================================================
   Sections (used as block class names: gp-section, gp-section--sand, ...)
   ========================================================================== */
.gp-section {
	padding-block: var(--gp-section-y);
}

.gp-section--sand {
	background: var(--gp-sand);
}

.gp-section--dark {
	background: var(--gp-band-bg);
	color: var(--gp-band-text);
}

.gp-section--dark :where(h1, h2, h3, h4) {
	color: var(--gp-band-heading);
}

/* A big empty band straight after a page banner reads as "end of page".
   Start the first section closer to the banner. */
.gp-page-header + .gp-section {
	padding-top: clamp(32px, 4vw, 56px);
}

.gp-section-head {
	max-width: 760px;
	margin-bottom: clamp(24px, 3vw, 40px);
}

.gp-section-head.has-text-align-center,
.gp-section-head--center {
	margin-inline: auto;
	text-align: center;
}

.gp-section-head > * + * {
	margin-top: 12px;
}

.gp-section-head > :last-child {
	margin-bottom: 0;
}

/* Buttons that close a section sit close to the content above them. */
.gp-section > .wp-block-buttons:last-child {
	margin-top: 28px;
}

.gp-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 10px;
	margin: 0 0 12px;
	font-family: var(--gp-heading-font);
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gp-orange-ink);
}

.gp-eyebrow::before {
	content: '';
	width: 28px;
	height: 3px;
	border-radius: 2px;
	background: var(--gp-orange);
}

.gp-section--dark .gp-eyebrow,
.gp-hero .gp-eyebrow,
.gp-page-header .gp-eyebrow {
	color: var(--gp-band-accent);
}

.gp-lead {
	font-size: clamp(17px, 1.6vw, 20px);
	line-height: 1.6;
	color: var(--gp-text);
}

/* ==========================================================================
   Hero (home)
   ========================================================================== */
.gp-hero {
	position: relative;
	overflow: hidden;
	background: var(--gp-band-bg);
	color: var(--gp-band-text);
	padding-block: clamp(40px, 5vw, 80px) clamp(88px, 9vw, 130px);
}

.gp-hero::before {
	content: '';
	position: absolute;
	inset: auto -10% -45% 45%;
	height: 90%;
	background: repeating-linear-gradient(-45deg, var(--gp-band-stripe) 0 18px, transparent 18px 44px);
	pointer-events: none;
}

.gp-hero > * {
	position: relative;
}

.gp-hero h1 {
	color: var(--gp-band-heading);
	font-size: clamp(36px, 5.2vw, 62px);
	line-height: 1.06;
	margin: 0 0 8px;
}

.gp-hero h1 em {
	font-style: normal;
	color: var(--gp-band-accent);
}

.gp-hero .gp-lead {
	color: var(--gp-band-text);
	max-width: 36em;
}

.gp-hero .wp-block-buttons {
	margin-top: 28px;
	gap: 14px;
}

.gp-hero .wp-block-button.is-style-outline > .wp-block-button__link {
	color: var(--gp-band-heading);
	border-color: var(--gp-band-outline);
}

.gp-hero .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: var(--gp-band-heading);
	border-color: var(--gp-band-heading);
	color: var(--gp-band-bg);
}

.gp-hero-media {
	position: relative;
	margin: 0;
}

.gp-hero-media img {
	width: 100%;
	border-radius: var(--gp-radius);
	box-shadow: 18px 18px 0 0 var(--gp-orange);
	aspect-ratio: 4 / 3.7;
	object-fit: cover;
}

.gp-hero-note {
	margin-top: 22px;
	font-size: 15px;
	color: var(--gp-band-muted);
}

.gp-hero-note a {
	color: var(--gp-band-heading);
}

/* ==========================================================================
   Page header (inner pages)
   ========================================================================== */
.gp-page-header {
	position: relative;
	overflow: hidden;
	background: var(--gp-band-bg);
	color: var(--gp-band-text);
	padding-block: clamp(32px, 4.5vw, 64px) clamp(36px, 5vw, 72px);
}

.gp-page-header::after {
	content: '';
	position: absolute;
	inset: 0 -20% 0 65%;
	background: repeating-linear-gradient(-45deg, var(--gp-band-stripe) 0 16px, transparent 16px 40px);
	pointer-events: none;
}

.gp-page-header > * {
	position: relative;
	z-index: 1;
}

.gp-page-header h1 {
	color: var(--gp-band-heading);
	font-size: clamp(32px, 4.4vw, 52px);
	line-height: 1.1;
	margin: 0 0 14px;
}

.gp-page-header .gp-lead {
	color: var(--gp-band-text);
	max-width: 40em;
	margin: 0;
}

.gp-page-header__inner > :first-child {
	margin-top: 0;
}

.gp-page-header .gp-eyebrow a {
	color: inherit;
	text-decoration: none;
}

/* ==========================================================================
   Feature strip (home, overlaps the bottom of the hero so the page clearly
   continues below the fold)
   ========================================================================== */
.gp-features {
	gap: 0 !important;
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	background: var(--gp-white);
	box-shadow: var(--gp-shadow);
	margin-top: calc(clamp(88px, 9vw, 130px) * -0.55) !important;
	position: relative;
	z-index: 2;
}

.gp-feature {
	padding: 26px 26px;
}

.gp-feature + .gp-feature {
	border-left: 1px solid var(--gp-line);
}

.gp-feature h3 {
	font-size: 18px;
	margin: 0 0 8px;
	display: flex;
	align-items: center;
	gap: 10px;
}

.gp-feature h3::before {
	content: '';
	width: 10px;
	height: 10px;
	border-radius: 2px;
	background: var(--gp-orange);
	transform: rotate(45deg);
	flex: 0 0 auto;
}

.gp-feature p {
	margin: 0;
	font-size: 15px;
	color: var(--gp-muted);
}

.gp-section.gp-features-wrap {
	padding-top: 0;
	padding-bottom: 0;
}

/* ==========================================================================
   Cards (service grid)
   ========================================================================== */
.gp-cards {
	gap: 24px;
}

.gp-card {
	position: relative;
	display: flex;
	flex-direction: column;
	background: var(--gp-white);
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
	height: 100%;
}

.gp-card:hover {
	transform: translateY(-4px);
	box-shadow: var(--gp-shadow);
	border-color: transparent;
}

.gp-card > .wp-block-image {
	position: relative;
	margin: 0;
	overflow: hidden;
}

.gp-card > .wp-block-image img {
	width: 100%;
	aspect-ratio: 16 / 11;
	object-fit: cover;
	transition: transform 0.4s ease;
}

.gp-card:hover > .wp-block-image img {
	transform: scale(1.03);
}

.gp-card > :not(.wp-block-image) {
	margin-inline: 24px;
}

.gp-card > h3 {
	margin-top: 22px;
	margin-bottom: 8px;
	font-size: 20px;
	line-height: 1.25;
}

.gp-card > h3 a {
	color: var(--gp-ink);
	text-decoration: none;
}

.gp-card > h3 a::after {
	/* Make the whole card clickable through the heading link. */
	content: '';
	position: absolute;
	inset: 0;
}

.gp-card > p {
	margin-top: 0;
	color: var(--gp-muted);
	font-size: 15.5px;
}

.gp-card > .gp-more {
	margin-top: auto;
	padding: 12px 0 24px;
	font-family: var(--gp-heading-font);
	font-weight: 700;
	font-size: 15px;
	color: var(--gp-orange-ink);
}

.gp-card > .gp-more::after {
	content: ' →';
}

/* Photo credit (free-licence photos): small label on the photo itself. */
.wp-block-image.gp-credited {
	position: relative;
}

.wp-block-image.gp-credited figcaption,
.gp-card > .wp-block-image.gp-credited figcaption {
	position: absolute;
	right: 8px;
	bottom: 8px;
	z-index: 2; /* above the card's full-size link */
	max-width: calc(100% - 16px);
	margin: 0;
	padding: 2px 7px;
	border-radius: 4px;
	background: rgb(0 0 0 / 55%);
	color: #fff;
	font-size: 10.5px;
	line-height: 1.5;
	text-align: right;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

.wp-block-image.gp-credited figcaption a {
	color: #fff !important;
	text-decoration: none !important;
}

.wp-block-image.gp-credited figcaption a:hover {
	text-decoration: underline !important;
}

/* ==========================================================================
   Split rows (image + text)
   ========================================================================== */
.gp-split {
	gap: clamp(32px, 5vw, 80px) !important;
}

.gp-split .wp-block-image img {
	width: 100%;
	border-radius: var(--gp-radius);
	aspect-ratio: 4 / 3.4;
	object-fit: cover;
}

.gp-split .wp-block-image.gp-tall img {
	aspect-ratio: 4 / 4.6;
}

.gp-split h2 {
	font-size: clamp(28px, 3.2vw, 40px);
	line-height: 1.15;
	margin-top: 0;
}

/* Check list */
.gp-checks {
	list-style: none;
	padding: 0;
	margin: 24px 0;
	display: grid;
	gap: 12px;
}

.gp-checks li {
	position: relative;
	padding-left: 34px;
	margin: 0;
}

.gp-checks li::before {
	content: '';
	position: absolute;
	left: 0;
	top: 0.2em;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: var(--gp-orange) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%231b1718' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 6 9 17l-5-5'/%3E%3C/svg%3E") center / 13px no-repeat;
}

.gp-checks li strong {
	color: var(--gp-ink);
}

/* ==========================================================================
   Service detail page
   ========================================================================== */
.gp-service-items {
	display: grid;
	gap: 16px;
	margin-top: 8px;
}

.gp-service-item {
	padding: 24px 26px;
	border: 1px solid var(--gp-line);
	border-left: 4px solid var(--gp-orange);
	border-radius: var(--gp-radius-sm);
	background: var(--gp-white);
}

.gp-service-item h3 {
	margin: 0 0 6px;
	font-size: 19px;
}

.gp-service-item p {
	margin: 0;
	color: var(--gp-text);
}

.gp-aside {
	position: sticky;
	top: calc(var(--gp-header-offset) + 8px);
	display: grid;
	gap: 20px;
}

.gp-aside .wp-block-image {
	margin: 0;
}

.gp-aside .wp-block-image img {
	width: 100%;
	border-radius: var(--gp-radius);
	aspect-ratio: 4 / 3.6;
	object-fit: cover;
}

.gp-service-contact {
	display: grid;
	gap: 10px;
	padding: 26px;
	border-radius: var(--gp-radius);
	background: var(--gp-sand);
	border: 1px solid var(--gp-line);
}

.gp-service-contact__title {
	margin: 0;
	font-family: var(--gp-heading-font);
	font-weight: 800;
	font-size: 21px;
	color: var(--gp-ink);
}

.gp-service-contact__text {
	margin: 0 0 6px;
	font-size: 15px;
	color: var(--gp-muted);
}

/* "Other services" link list */
.gp-other-services {
	list-style: none;
	padding: 0;
	margin: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
	gap: 12px;
}

.gp-other-services li {
	margin: 0;
}

.gp-other-services a {
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 12px;
	height: 100%;
	padding: 18px 20px;
	border-radius: var(--gp-radius-sm);
	background: var(--gp-white);
	border: 1px solid var(--gp-line);
	font-family: var(--gp-heading-font);
	font-weight: 700;
	color: var(--gp-ink);
	text-decoration: none !important;
	transition: border-color 0.2s ease, color 0.2s ease;
}

.gp-other-services a::after {
	content: '→';
	color: var(--gp-orange-ink);
}

.gp-other-services a:hover {
	border-color: var(--gp-orange);
	color: var(--gp-orange-ink);
}

/* ==========================================================================
   Vision / mission cards (about)
   ========================================================================== */
.gp-panel {
	height: 100%;
	padding: clamp(26px, 3vw, 40px);
	border-radius: var(--gp-radius);
	background: var(--gp-white);
	border: 1px solid var(--gp-line);
}

.gp-panel h3 {
	margin-top: 0;
	font-size: 22px;
}

.gp-panel h3::after {
	content: '';
	display: block;
	width: 36px;
	height: 3px;
	margin-top: 12px;
	border-radius: 2px;
	background: var(--gp-orange);
}

.gp-panel p:last-child {
	margin-bottom: 0;
}

/* ==========================================================================
   Gallery
   ========================================================================== */
.gp-gallery.wp-block-gallery {
	gap: 14px;
}

.gp-gallery.wp-block-gallery .wp-block-image img {
	border-radius: var(--gp-radius-sm);
	aspect-ratio: 1 / 1;
	object-fit: cover;
}

/* ==========================================================================
   Video
   Most clips are portrait phone videos: give every player the same frame
   so the grid lines up before anything has loaded (preload="none").
   ========================================================================== */
.wp-block-video {
	margin: 0;
}

.wp-block-video video {
	display: block;
	width: 100%;
	height: auto !important;
	aspect-ratio: 3 / 4 !important; /* overrides the inline ratio WordPress adds */
	object-fit: cover;
	background: var(--gp-ink);
	border-radius: var(--gp-radius-sm);
}

.wp-block-video figcaption {
	margin-top: 10px;
	font-size: 14px;
	color: var(--gp-muted);
	text-align: left;
}

.gp-split .wp-block-video {
	max-width: 440px;
	margin-bottom: 16px;
}

/* Services grid: closing "talk to us" card fills the last slot */
.gp-card.gp-card--cta {
	background: var(--gp-band-bg);
	border-color: var(--gp-band-bg);
	color: var(--gp-band-text);
	padding-block: 28px;
	justify-content: center;
}

.gp-card.gp-card--cta > h3 {
	color: var(--gp-band-heading);
	margin-top: 0;
}

.gp-card.gp-card--cta > p {
	color: var(--gp-band-text);
}

.gp-card.gp-card--cta .wp-block-buttons {
	margin-top: 8px;
}

/* ==========================================================================
   CTA band
   ========================================================================== */
.gp-cta {
	background: var(--gp-orange);
	color: var(--gp-ink);
	padding-block: clamp(44px, 5vw, 72px);
	position: relative;
	overflow: hidden;
}

.gp-cta::before {
	content: '';
	position: absolute;
	inset: 0 0 0 60%;
	background: repeating-linear-gradient(-45deg, rgb(27 23 24 / 8%) 0 18px, transparent 18px 44px);
	pointer-events: none;
}

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

.gp-cta h2 {
	color: #1b1718;
	font-size: clamp(28px, 3.4vw, 42px);
	line-height: 1.12;
	margin: 0 0 12px;
}

.gp-cta p {
	color: #1b1718;
	font-size: 18px;
	margin: 0;
	max-width: 34em;
}

.gp-cta .wp-block-button__link {
	background: #1b1718;
	color: #ffffff;
}

.gp-cta .wp-block-button__link:hover {
	background: #ffffff;
	color: #1b1718;
}

.gp-cta .wp-block-button.is-style-outline > .wp-block-button__link {
	background: transparent;
	color: #1b1718;
	border-color: #1b1718;
}

.gp-cta .wp-block-button.is-style-outline > .wp-block-button__link:hover {
	background: #1b1718;
	color: #ffffff;
}

/* ==========================================================================
   Contact page
   ========================================================================== */
.gp-contact-cards {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
	gap: 16px;
}

.gp-contact-card {
	margin: 0;
}

.gp-contact-card a {
	display: grid;
	gap: 4px;
	height: 100%;
	padding: 24px;
	border-radius: var(--gp-radius);
	border: 1px solid var(--gp-line);
	background: var(--gp-white);
	color: var(--gp-ink);
	text-decoration: none !important;
	transition: border-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.gp-contact-card a:hover {
	border-color: var(--gp-orange);
	transform: translateY(-2px);
	box-shadow: var(--gp-shadow);
}

.gp-contact-card .gp-icon {
	width: 44px;
	height: 44px;
	padding: 11px;
	margin-bottom: 10px;
	border-radius: 10px;
	background: var(--gp-sand);
	color: var(--gp-orange-ink);
}

.gp-contact-card--whatsapp .gp-icon {
	color: var(--gp-whatsapp);
}

.gp-contact-card__label {
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	color: var(--gp-muted);
}

.gp-contact-card__value {
	font-family: var(--gp-heading-font);
	font-weight: 700;
	font-size: 18px;
	word-break: break-word;
}

.gp-form-card {
	padding: clamp(24px, 3.5vw, 44px);
	border-radius: var(--gp-radius);
	background: var(--gp-white);
	border: 1px solid var(--gp-line);
	box-shadow: var(--gp-shadow);
	scroll-margin-top: var(--gp-header-offset);
}

.gp-form-card h2 {
	margin-top: 0;
}

.gp-map iframe {
	display: block;
	width: 100%;
	min-height: 380px;
	border: 0;
	border-radius: var(--gp-radius);
}

/* Contact Form 7 */
.wpcf7 form {
	display: grid;
	gap: 18px;
}

.wpcf7 .gp-form-row {
	display: grid;
	gap: 18px;
	grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}

.wpcf7 label {
	display: grid;
	gap: 6px;
	font-weight: 600;
	font-size: 15px;
	color: var(--gp-ink);
}

.wpcf7 label .gp-optional {
	font-weight: 400;
	color: var(--gp-muted);
}

.wpcf7 input:not([type='submit']),
.wpcf7 select,
.wpcf7 textarea {
	width: 100%;
	min-height: 50px;
	padding: 12px 14px;
	border: 1px solid var(--gp-line-strong);
	border-radius: var(--gp-radius-sm);
	background: var(--gp-white);
	font-size: 16px;
}

.wpcf7 textarea {
	min-height: 140px;
}

.wpcf7 input:focus,
.wpcf7 select:focus,
.wpcf7 textarea:focus {
	border-color: var(--gp-orange);
	box-shadow: 0 0 0 3px rgb(242 106 37 / 25%);
	outline: none;
}

/* A field pre-filled from the page you came from: show it is already done. */
.wpcf7 input.gp-prefilled,
.wpcf7 select.gp-prefilled {
	border-color: var(--gp-orange);
	background: #fff8f3;
}

.wpcf7 .gp-form-submit {
	display: flex;
	align-items: center;
	gap: 12px;
}

.wpcf7 .gp-form-submit .wpcf7-spinner {
	margin: 0;
}

.wpcf7 input[type='submit'] {
	justify-self: start;
	min-height: 54px;
	padding: 0 34px;
	border: 0;
	border-radius: var(--gp-radius-sm);
	background: var(--gp-orange);
	color: #1b1718;
	font-family: var(--gp-heading-font);
	font-weight: 800;
	font-size: 16px;
	cursor: pointer;
}

.wpcf7 input[type='submit']:hover {
	background: var(--gp-ink);
	color: var(--gp-white);
}

.wpcf7 .gp-form-note {
	margin: 0;
	font-size: 14px;
	color: var(--gp-muted);
}

.wpcf7-not-valid-tip {
	font-size: 14px;
	color: #b42318;
}

.wpcf7 form .wpcf7-response-output:empty,
.wpcf7 form > .hidden-fields-container {
	display: none;
}

.wpcf7 form .wpcf7-response-output {
	margin: 0;
	border-radius: var(--gp-radius-sm);
}

/* ==========================================================================
   Equipment for sale (GroundPro Equipment plugin)
   ========================================================================== */
.gpe-header .gp-eyebrow a {
	color: inherit;
	text-decoration: none;
}

.gpe-header .gp-lead {
	max-width: 46em;
}

.gpe-toolbar {
	display: grid;
	gap: 16px;
	margin-bottom: 28px;
}

.gpe-filters {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gpe-filters a {
	display: inline-flex;
	align-items: center;
	gap: 8px;
	min-height: 44px;
	padding: 0 18px;
	border: 1px solid var(--gp-line);
	border-radius: 999px;
	background: var(--gp-white);
	color: var(--gp-ink);
	font-family: var(--gp-heading-font);
	font-weight: 700;
	font-size: 15px;
	text-decoration: none;
}

.gpe-filters a span {
	font-weight: 600;
	color: var(--gp-muted);
	font-size: 13px;
}

.gpe-filters a:hover {
	border-color: var(--gp-orange);
}

.gpe-filters a[aria-current='page'] {
	background: var(--gp-ink);
	border-color: var(--gp-ink);
	color: var(--gp-white);
}

.gpe-filters a[aria-current='page'] span {
	color: var(--gp-line-strong);
}

.gpe-search {
	display: flex;
	gap: 10px;
	max-width: 560px;
}

.gpe-search input[type='search'] {
	flex: 1;
	min-width: 0;
	min-height: 52px;
	padding: 0 16px;
	border: 1px solid var(--gp-line-strong);
	border-radius: var(--gp-radius-sm);
	font-size: 16px;
	background: var(--gp-white);
}

.gpe-results {
	margin: 0;
	font-size: 15px;
	color: var(--gp-muted);
}

.gpe-results a {
	color: var(--gp-orange-ink);
	font-weight: 600;
}

.gpe-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr));
	gap: 22px;
}

.gpe-card {
	position: relative;
	display: flex;
	flex-direction: column;
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius);
	background: var(--gp-white);
	overflow: hidden;
	transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.gpe-card:hover {
	transform: translateY(-3px);
	box-shadow: var(--gp-shadow);
}

.gpe-card__media {
	position: relative;
	display: block;
	aspect-ratio: 4 / 3;
	background: var(--gp-sand);
	overflow: hidden;
}

.gpe-card__media img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gpe-badge {
	position: absolute;
	top: 12px;
	left: 12px;
	padding: 5px 10px;
	border-radius: 6px;
	background: rgb(27 23 24 / 85%);
	color: #ffffff;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: 0.04em;
}

.gpe-photo-note {
	position: absolute;
	right: 12px;
	bottom: 12px;
	padding: 4px 9px;
	border-radius: 6px;
	background: rgb(255 255 255 / 90%);
	color: #1b1718;
	font-size: 12px;
	font-weight: 700;
}

.gpe-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 18px 20px 20px;
}

.gpe-card__title {
	margin: 0 0 6px;
	font-size: 18px;
	line-height: 1.3;
}

.gpe-card__title a {
	color: var(--gp-ink);
	text-decoration: none;
}

.gpe-card__title a::after {
	content: '';
	position: absolute;
	inset: 0;
}

.gpe-card__facts {
	margin: 0 0 14px;
	font-size: 14.5px;
	color: var(--gp-muted);
}

.gpe-card__price {
	display: flex;
	justify-content: space-between;
	align-items: flex-end;
	gap: 10px;
	margin: auto 0 0;
}

.gpe-card__more {
	font-family: var(--gp-heading-font);
	font-size: 14px;
	font-weight: 700;
	color: var(--gp-orange-ink);
	white-space: nowrap;
}

.gpe-price {
	font-family: var(--gp-heading-font);
	font-weight: 800;
	color: var(--gp-orange-ink);
}

.gpe-price-note {
	display: block;
	font-size: 12px;
	color: var(--gp-muted);
}

.gpe-empty {
	padding: 32px;
	border: 1px dashed var(--gp-line-strong);
	border-radius: var(--gp-radius);
	background: var(--gp-sand);
}

.gpe-pagination {
	margin-top: 32px;
}

.gpe-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}

.gpe-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 44px;
	min-height: 44px;
	padding: 0 14px;
	border: 1px solid var(--gp-line);
	border-radius: var(--gp-radius-sm);
	background: var(--gp-white);
	color: var(--gp-ink);
	font-weight: 700;
	text-decoration: none;
}

.gpe-pagination .page-numbers.current {
	background: var(--gp-ink);
	border-color: var(--gp-ink);
	color: var(--gp-white);
}

.gpe-pagination .page-numbers.dots {
	border: 0;
	background: none;
}

.gpe-note {
	margin-top: 48px;
	padding: clamp(24px, 3vw, 40px);
	border-radius: var(--gp-radius);
	background: var(--gp-sand);
	border: 1px solid var(--gp-line);
}

.gpe-note h2 {
	margin-top: 0;
	font-size: 24px;
}

.gpe-note ol {
	margin: 0 0 16px;
	padding-left: 1.3em;
	display: grid;
	gap: 8px;
}

.gpe-disclaimer {
	font-size: 13.5px;
	color: var(--gp-muted);
}

.gpe-single {
	display: grid;
	grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr);
	gap: clamp(28px, 4vw, 56px);
	align-items: start;
}

.gpe-gallery__main {
	position: relative;
	border-radius: var(--gp-radius);
	overflow: hidden;
	background: var(--gp-sand);
	aspect-ratio: 4 / 3;
}

.gpe-gallery__main img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.gpe-gallery__thumbs {
	list-style: none;
	margin: 12px 0 0;
	padding: 0;
	display: grid;
	grid-template-columns: repeat(5, 1fr);
	gap: 8px;
}

.gpe-gallery__thumbs li {
	margin: 0;
}

.gpe-gallery__thumbs img {
	width: 100%;
	aspect-ratio: 1;
	object-fit: cover;
	border-radius: 6px;
}

.gpe-details {
	position: sticky;
	top: calc(var(--gp-header-offset) + 8px);
}

.gpe-details__ref {
	margin: 0 0 6px;
	font-size: 14px;
	color: var(--gp-muted);
}

.gpe-details__price {
	margin: 0 0 18px;
	font-size: 26px;
}

.gpe-actions {
	display: grid;
	gap: 10px;
	margin-bottom: 26px;
}

.gpe-specs {
	width: 100%;
	border-collapse: collapse;
	margin-bottom: 18px;
	font-size: 15.5px;
}

.gpe-specs th,
.gpe-specs td {
	padding: 11px 0;
	border-bottom: 1px solid var(--gp-line);
	text-align: left;
	vertical-align: top;
}

.gpe-specs th {
	width: 38%;
	font-weight: 600;
	color: var(--gp-muted);
}

.gpe-specs td {
	color: var(--gp-ink);
	font-weight: 600;
}

@media (max-width: 899.98px) {
	.gpe-single {
		grid-template-columns: 1fr;
	}

	.gpe-details {
		position: static;
	}
}

/* ==========================================================================
   Machines for hire (equipment hire page + home strip)
   ========================================================================== */
.gp-machine > .wp-block-image img {
	aspect-ratio: 4 / 3;
}

.gp-machine > .wp-block-buttons {
	margin-top: auto;
	padding-bottom: 24px;
}

.gp-machine .gp-uses {
	margin: 0 24px 18px;
	padding: 0;
	list-style: none;
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
}

.gp-machine .gp-uses li {
	margin: 0;
	padding: 4px 10px;
	border-radius: 999px;
	background: var(--gp-sand);
	font-size: 13px;
	color: var(--gp-text);
}

/* Machine tiles on the homepage */
.gp-machine--tile > h3 {
	margin: 14px 16px 16px !important;
	font-size: 16px;
}

.gp-machine--tile > .wp-block-image img {
	aspect-ratio: 4 / 3;
}

.gp-machine--tile > .wp-block-image.gp-credited figcaption {
	font-size: 9.5px;
	right: 6px;
	bottom: 6px;
}

.gp-legal {
	max-width: 760px;
}

.gp-legal h2 {
	font-size: 22px;
	margin-top: 32px;
}

/* Recent work strip in the hero */
.gp-hero-work {
	margin-top: 30px;
}

.gp-hero-work > p {
	margin: 0 0 10px;
	font-size: 13px;
	font-weight: 700;
	letter-spacing: 0.12em;
	text-transform: uppercase;
	color: var(--gp-band-muted);
}

.gp-hero-work .wp-block-gallery.gp-gallery {
	gap: 10px;
}

.gp-hero-work .wp-block-gallery .wp-block-image img {
	aspect-ratio: 4 / 3;
	border-radius: 8px;
}

.gp-hero-work .wp-block-gallery figcaption {
	font-size: 12.5px !important;
	font-weight: 700;
	padding: 18px 8px 6px !important;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.ct-footer,
#footer {
	background: var(--gp-footer-bg);
}

.gp-footer {
	background: var(--gp-footer-bg);
	color: var(--gp-footer-text);
	font-size: 15px;
}

.gp-footer__grid {
	display: grid;
	grid-template-columns: 1.4fr 1.2fr 0.8fr 1.3fr;
	gap: 40px;
	padding-block: 64px 44px;
}

.gp-footer__brand p {
	margin: 18px 0 0;
	max-width: 28em;
	line-height: 1.7;
}

.gp-footer__logo img {
	display: block;
	height: 64px;
	width: auto;
}

.gp-footer__heading {
	margin: 0 0 16px;
	font-family: var(--gp-heading-font);
	font-weight: 700;
	font-size: 13px;
	letter-spacing: 0.14em;
	text-transform: uppercase;
	color: var(--gp-footer-heading);
}

.gp-footer ul {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 10px;
}

.gp-footer li {
	margin: 0;
}

.gp-footer a {
	color: var(--gp-footer-link);
	text-decoration: none;
}

.gp-footer a:hover {
	color: var(--gp-orange-ink);
}

.gp-palette-classic .gp-footer a:hover {
	color: var(--gp-orange);
}

.gp-footer a[aria-current='page'] {
	color: var(--gp-orange-ink);
	font-weight: 700;
}

.gp-palette-classic .gp-footer a[aria-current='page'] {
	color: var(--gp-orange);
}

.gp-footer__contact a {
	display: inline-flex;
	align-items: flex-start;
	gap: 10px;
}

.gp-footer__contact .gp-icon {
	margin-top: 0.2em;
	color: var(--gp-orange);
}

.gp-footer__bottom {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap: 12px;
	padding-block: 22px;
	border-top: 1px solid var(--gp-footer-line);
	font-size: 14px;
}

.gp-footer__bottom p {
	margin: 0;
}

/* ==========================================================================
   Floating WhatsApp (desktop) + action bar (mobile)
   ========================================================================== */
.gp-whatsapp-float {
	position: fixed;
	right: 22px;
	bottom: 22px;
	z-index: 50;
	display: grid;
	place-items: center;
	width: 58px;
	height: 58px;
	border-radius: 50%;
	background: var(--gp-whatsapp);
	color: #ffffff;
	box-shadow: 0 8px 24px rgb(0 0 0 / 25%);
	transition: transform 0.2s ease;
}

.gp-whatsapp-float:hover {
	transform: scale(1.06);
	color: #ffffff;
}

.gp-whatsapp-float .gp-icon {
	width: 30px;
	height: 30px;
}

.gp-action-bar {
	display: none;
}

/* ==========================================================================
   Responsive
   ========================================================================== */
@media (max-width: 1199.98px) {
	#header [data-id="menu"] {
		--menu-items-spacing: 20px;
	}

	#header [data-id="menu"] > ul > li > a {
		font-size: 15px;
		--theme-font-size: 15px;
	}
}

@media (max-width: 999.98px) {
	:root,
	body {
		--gp-header-offset: 16px;
	}

	.gp-footer__grid {
		grid-template-columns: 1fr 1fr;
	}

	.gp-feature + .gp-feature {
		border-left: 0;
	}

	.gp-feature:nth-child(n + 3) {
		border-top: 1px solid var(--gp-line);
	}

	.gp-feature:nth-child(2n) {
		border-left: 1px solid var(--gp-line);
	}

	.gp-aside {
		position: static;
	}
}

@media (max-width: 781.98px) {
	.gp-features {
		margin-top: calc(clamp(88px, 9vw, 130px) * -0.5) !important;
	}

	.gp-feature,
	.gp-feature:nth-child(2n) {
		border-left: 0;
	}

	.gp-feature + .gp-feature {
		border-top: 1px solid var(--gp-line);
	}

	.gp-hero-media img {
		box-shadow: 10px 10px 0 0 var(--gp-orange);
		aspect-ratio: 4 / 3;
	}

	.gp-hero .wp-block-buttons > .wp-block-button,
	.gp-cta .wp-block-buttons > .wp-block-button {
		width: 100%;
	}

	.gp-hero .wp-block-button__link,
	.gp-cta .wp-block-button__link {
		width: 100%;
	}

	.gp-breadcrumbs {
		font-size: 13.5px;
		margin-bottom: 14px;
	}

	/* Machine-type filters: one swipeable row instead of six stacked rows. */
	.gpe-filters {
		flex-wrap: nowrap;
		overflow-x: auto;
		margin-inline: calc(var(--theme-content-edge-spacing, 0px) * -1);
		padding: 2px 0 6px;
		scroll-snap-type: x proximity;
		scrollbar-width: none;
		-webkit-overflow-scrolling: touch;
	}

	.gpe-filters::-webkit-scrollbar {
		display: none;
	}

	.gpe-filters a {
		flex: 0 0 auto;
		scroll-snap-align: start;
	}
}

@media (max-width: 767.98px) {
	body {
		padding-bottom: calc(66px + env(safe-area-inset-bottom));
	}

	.gp-whatsapp-float {
		display: none;
	}

	.gp-action-bar {
		position: fixed;
		inset: auto 0 0 0;
		z-index: 60;
		display: grid;
		grid-auto-flow: column;
		grid-auto-columns: 1fr;
		background: var(--gp-bar-bg);
		border-top: 3px solid var(--gp-orange);
		padding-bottom: env(safe-area-inset-bottom);
	}

	.gp-action-bar a {
		display: flex;
		flex-direction: column;
		align-items: center;
		justify-content: center;
		gap: 3px;
		min-height: 63px;
		color: #ffffff;
		font-size: 13px;
		font-weight: 700;
		text-decoration: none;
	}

	.gp-action-bar a + a {
		border-left: 1px solid rgb(255 255 255 / 12%);
	}

	.gp-action-bar .gp-icon {
		width: 22px;
		height: 22px;
	}

	.gp-action-bar__whatsapp .gp-icon {
		color: #4ade80;
	}

	.gp-action-bar__quote {
		background: var(--gp-orange);
		color: #1b1718 !important;
	}

	.gp-footer__grid {
		grid-template-columns: 1fr;
		gap: 32px;
		padding-block: 48px 28px;
	}
}

@media (prefers-reduced-motion: reduce) {
	*,
	*::before,
	*::after {
		transition: none !important;
		animation: none !important;
		scroll-behavior: auto !important;
	}
}
