/*
Theme Name: Benny's
Theme URI:
Description: Custom child theme for Benny's Bike Shop.
Author: Salt Design / S H
Template: generatepress
Version: 1.0
Text Domain: bennys
*/


/* =========================================================
   BENNY'S – GLOBAL DESIGN SYSTEM
   ========================================================= */


/* ---------------------------------------------------------
   Fonts
   --------------------------------------------------------- */

@font-face {
	font-family: "Archivo Narrow";
	src: url("assets/fonts/archivo-narrow-variable.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 700;
	font-display: swap;
}

@font-face {
	font-family: "Instrument Sans";
	src: url("assets/fonts/instrument-sans-variable.woff2") format("woff2");
	font-style: normal;
	font-weight: 400 700;
	font-stretch: 75% 100%;
	font-display: swap;
}


/* ---------------------------------------------------------
   Global variables
   --------------------------------------------------------- */

:root {

	/* Fonts */
	--font-heading: "Archivo Narrow", sans-serif;
	--font-body: "Instrument Sans", sans-serif;

	/* Colours */
	--color-black: #3C3C3B;
	--color-white: #ffffff;
	--color-green: #154734;
	--color-cream: #efedd7;
	--color-grey: #d8d8db;
	--color-light-grey: #f4f4f2;
	--color-border: #d8d8db;
	--color-nav-hover: #71866A;

	/* Layout */
	--container-width: 1200px;
	--page-gutter: 30px;
	--grid-gap: 24px;

	/* Spacing */
	--space-xs: 10px;
	--space-sm: 20px;
	--space-md: 40px;
	--space-lg: 60px;
	--space-xl: 100px;

	/* Section spacing */
	--section-space: 40px;
	--page-hero-space: 70px;

	/* Transitions */
	--transition: 180ms ease;
}


/* =========================================================
   BASE
   ========================================================= */

html {
	box-sizing: border-box;
}

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

body {
	margin: 0;

	font-family: var(--font-body);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.6;

	color: var(--color-black);
	background: var(--color-light-grey);

	-webkit-font-smoothing: antialiased;
}


/*
 * All standard interface/form typography uses the site
 * body font unless a component explicitly overrides it.
 */

button,
input,
select,
textarea {
	font-family: var(--font-body);
}

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

figure {
	margin: 0;
}


/* =========================================================
   TYPOGRAPHY
   ========================================================= */

p,
li,
input,
textarea,
select {
	font-weight: 400;
}

p {
	margin: 0 0 1.25em;
}

small,
.text-small {
	font-size: 14px;
	line-height: 1.5;
}

.lead {
	font-size: clamp(20px, 1.8vw, 26px);
	line-height: 1.35;
}


/* ---------------------------------------------------------
   Headings
   --------------------------------------------------------- */

h1,
h2,
h3,
h4,
h5,
h6 {
	margin: 0 0 0.5em;

	font-family: var(--font-heading);
	font-weight: 700;
	letter-spacing: -0.015em;
	text-transform: uppercase;

	color: var(--color-green);
}

h1 {
	font-size: clamp(48px, 5vw, 72px);
	line-height: 0.85;
}

h2 {
	font-size: clamp(36px, 3.8vw, 52px);
	line-height: 0.95;
}

h3 {
	font-size: clamp(28px, 2.7vw, 36px);
	line-height: 1.05;
}

h4 {
	font-size: 24px;
	line-height: 1;
}

h5 {
	font-size: 20px;
	line-height: 1.05;
}

h6 {
	font-size: 17px;
	line-height: 1.1;
}


/* ---------------------------------------------------------
   Reusable typography roles
   --------------------------------------------------------- */

.display-heading {
	font-family: var(--font-heading);
	font-size: clamp(64px, 8vw, 108px);
	font-weight: 700;
	line-height: 0.8;
	letter-spacing: -0.025em;
	text-transform: uppercase;
}

.heading-small {
	font-family: var(--font-heading);
	font-size: 20px;
	font-weight: 700;
	line-height: 1.05;
	letter-spacing: 0;
	text-transform: uppercase;
}

.eyebrow {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.section-intro p {
	max-width: 650px;
	margin: 0 auto;
}

.section-label {
	margin: 0 0 30px;
	font-family: var(--font-heading);
	font-size: 32px;
	font-weight: 700;
	line-height: 1;
	letter-spacing: -0.015em;
	text-transform: uppercase;
}

.section-label::after {
	content: "";
	display: block;
	width: 40px;
	height: 1px;
	margin: 14px 0 0;
	background: var(--color-black);
}

.card-title {
	margin: 0;

	font-family: var(--font-body);
	font-size: 15px;
	font-weight: 500;
	line-height: 1.35;
	letter-spacing: 0;
	text-transform: none;
}

.feature-content {
    padding-top: 25px;
}


/* ---------------------------------------------------------
   Arrow links
   --------------------------------------------------------- */

.arrow-link,
.footer-contact-link > a,
.post-nav a,
.pricing-link a {
	display: inline-flex;
	align-items: center;
	gap: 8px;

	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: uppercase;
	text-decoration: none;

	color: var(--color-green);
}

.arrow-link:hover,
.arrow-link:focus,
.footer-contact-link > a:hover,
.footer-contact-link > a:focus,
.post-nav a:hover,
.post-nav a:focus,
.pricing-link a:hover,
.pricing-link a:focus {
	color: var(--color-nav-hover);
}

.arrow-link svg,
.footer-contact-link > a svg,
.post-nav a svg {
	width: 18px;
	height: 18px;
	flex: 0 0 auto;
	stroke-width: 1.75;
	transition: transform var(--transition);
}

.arrow-link:hover svg,
.arrow-link:focus svg,
.footer-contact-link > a:hover svg,
.footer-contact-link > a:focus svg,
.post-nav__next a:hover svg,
.post-nav__next a:focus svg {
	transform: translateX(3px);
}

.post-nav__prev a:hover svg,
.post-nav__prev a:focus svg {
	transform: translateX(-3px);
}

.entry-content .arrow-link,
.entry-content .pricing-link a {
	text-decoration: none;
}

.pricing-link {
	margin: 0 0 32px;
}

/* =========================================================
   PAGE HERO
   ========================================================= */

.page-hero {
	padding-block: var(--page-hero-space);
}

.page-hero__title {
	margin: 0 0 12px;
}

.page-hero__intro {
	max-width: 520px;
	margin: 0;
}
.page-hero--services {
	padding-bottom: 30px;
}


/* =========================================================
   PAGE CTA
   ========================================================= */

.page-cta {
	text-align: center;
}

.page-cta .wp-block-buttons {
	justify-content: center;
}

.page-cta--standalone {
	padding-block: var(--section-space);
}


/* =========================================================
   GENERATEPRESS – GLOBAL CONTENT FRAMEWORK
   ========================================================= */

/*
 * GeneratePress owns the outer site structure.
 * Benny's content uses a true 1200px usable grid.
 */

.site-content {
	padding: 0;
}

.inside-article,
.separate-containers .inside-article {
	padding: 0;
}

.site-main {
	margin: 0;
}


/* ---------------------------------------------------------
   Main 1200px content grid
   --------------------------------------------------------- */

#page.site.grid-container {
	width: min(
		calc(100% - (var(--page-gutter) * 2)),
		var(--container-width)
	);
	max-width: none;
	margin-inline: auto;
}

.entry-content {
	width: 100%;
	max-width: var(--container-width);
	margin-inline: auto;
}

.entry-summary,
.page-content {
	margin: 0;
}


/* ---------------------------------------------------------
   GeneratePress content backgrounds
   --------------------------------------------------------- */

.separate-containers .inside-article,
.separate-containers .comments-area,
.separate-containers .page-header,
.separate-containers .paging-navigation {
	background: transparent;
}


/* =========================================================
   LINKS
   ========================================================= */

/*
 * Site-wide link baseline.
 * Components only override this when their design genuinely
 * requires a different colour or treatment.
 */

a {
	color: var(--color-green);
	text-decoration: none;

	transition:
		color var(--transition),
		opacity var(--transition);
}

a:hover,
a:focus {
	color: var(--color-nav-hover);
}

.entry-content a {
	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.entry-content a:hover,
.entry-content a:focus {
	opacity: 1;
}


/* =========================================================
   BUTTONS
   ========================================================= */

/*
 * Global Benny's button treatment.
 *
 * Covers:
 * - Gutenberg buttons
 * - WordPress block buttons
 * - WooCommerce classic buttons
 * - WooCommerce Cart / Checkout block buttons
 * - Standard form submit/reset buttons
 *
 * Generic <button> elements are intentionally NOT targeted
 * so menu toggles, search toggles and other UI controls are
 * not accidentally converted into styled action buttons.
 */

body .wp-block-button .wp-block-button__link,
body button.wp-element-button,
body a.wp-element-button,
body input.wp-element-button,
body input[type="button"],
body input[type="reset"],
body input[type="submit"],
body .form-button,
body .woocommerce a.button,
body .woocommerce button.button,
body .woocommerce button.button.alt,
body .woocommerce input.button,
body .woocommerce input[type="submit"],
body.single-product div.product form.cart .single_add_to_cart_button,
body:not(.woocommerce-block-theme-has-button-styles)
	.wc-block-components-button.wp-element-button:not(.is-link) {

	min-height: 40px;
	padding: 9px 18px;
	
	/*border:none;*/
	border: 1px solid var(--color-green);
	border-radius: 0;

	background: var(--color-green);
	color: var(--color-white);

	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1;
	letter-spacing: 0.01em;
	text-transform: uppercase;

	text-decoration: none;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	cursor: pointer;

	transition:
		background-color var(--transition),
		color var(--transition),
		border-color var(--transition);
}


/* Hover / focus */

body .wp-block-button .wp-block-button__link:hover,
body .wp-block-button .wp-block-button__link:focus,
body button.wp-element-button:hover,
body button.wp-element-button:focus,
body a.wp-element-button:hover,
body a.wp-element-button:focus,
body input.wp-element-button:hover,
body input.wp-element-button:focus,
body input[type="button"]:hover,
body input[type="button"]:focus,
body input[type="reset"]:hover,
body input[type="reset"]:focus,
body input[type="submit"]:hover,
body input[type="submit"]:focus,
body .form-button:hover,
body .form-button:focus,
body .woocommerce a.button:hover,
body .woocommerce a.button:focus,
body .woocommerce button.button:hover,
body .woocommerce button.button:focus,
body .woocommerce button.button.alt:hover,
body .woocommerce button.button.alt:focus,
body .woocommerce input.button:hover,
body .woocommerce input.button:focus,
body .woocommerce input[type="submit"]:hover,
body .woocommerce input[type="submit"]:focus,
body.single-product div.product form.cart .single_add_to_cart_button:hover,
body.single-product div.product form.cart .single_add_to_cart_button:focus,
body.single-product div.product form.cart .single_add_to_cart_button:active,
body:not(.woocommerce-block-theme-has-button-styles)
	.wc-block-components-button.wp-element-button:not(.is-link):hover,
body:not(.woocommerce-block-theme-has-button-styles)
	.wc-block-components-button.wp-element-button:not(.is-link):focus {

	background: var(--color-white);
	color: var(--color-green);
		border: 1px solid var(--color-green);
	/*border-color: var(--color-green);*/
}


/* =========================================================
   FORMS
   ========================================================= */

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

input,
textarea,
select {
    box-shadow: none;
}

/* Form fields */
input[type="text"],
input[type="email"],
input[type="url"],
input[type="password"],
input[type="search"],
input[type="tel"],
input[type="number"],
input[type="date"],
textarea,
select {
	color: var(--color-black);
	/*background-color: var(--color-white);
	border: 1px solid var(--color-green);
	border-radius: 0;*/
	background-color: var(--color-white);
	border: none;
	padding: 10px 15px;
	max-width: 100%;
}
input[type="date"] {
	min-height: 44px;
	-webkit-appearance: none;
	appearance: none;
}

input[type="text"]:focus, 
input[type="email"]:focus, 
input[type="url"]:focus, 
input[type="password"]:focus, 
input[type="search"]:focus, 
input[type="tel"]:focus, 
input[type="number"]:focus, 
textarea:focus, 
select:focus {
    border: none;
    background-color: var(--color-cream);
}

/* Contact Form 7 */
.contact-form {
	max-width: 720px;
}

.contact-form__row {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--grid-gap);
}

.contact-form label {
	display: block;
	margin-bottom: 6px;
	font-size: 14px;
	font-weight: 600;
}

.contact-form input:not([type="submit"]),
.contact-form select,
.contact-form textarea {
	display: block;
	width: 100%;
	margin-top: 6px;
	box-sizing: border-box;
}

.contact-form textarea {
	min-height: 180px;
	resize: vertical;
}

@media (max-width: 900px) {
	.contact-form__row {
		grid-template-columns: 1fr;
		gap: 0;
	}
}

/* CF7 validation + response messages */
.wpcf7 form .wpcf7-response-output {
	margin: var(--space-sm) 0 0;
	padding: 12px 15px;
	border: 1px solid var(--color-green);
	max-width: 720px;
	color: var(--color-black);
	font-size: 14px;
	line-height: 1.4;
}

/* Validation errors */
.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
	border-color: var(--color-green);
}

/* Successful submission */
.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--color-green);
}

/* Individual field validation message */
.wpcf7-not-valid-tip {
	margin-top: 5px;
	color: var(--color-green);
	font-size: 13px;
	line-height: 1.3;
}

/* Invalid field */
.wpcf7-not-valid {
	border-color: var(--color-green) !important;
}

/* Submission spinner */
.wpcf7-spinner {
	background-color: var(--color-green);
}

/* Hire form */
.hire-form {
	max-width: none;
	width: 100%;
}

.hire-form .form-section-title {
	margin: 28px 0 14px;
	padding-bottom: 8px;
	border-bottom: 1px solid rgba(21, 71, 52, 0.35);
	font-size: 18px;
}

.hire-form .form-section-title:first-child {
	margin-top: 0;
}

.hire-form .contact-form__row {
	gap: var(--grid-gap);
	margin-bottom: 18px;
}

.hire-form > label {
	margin-bottom: 18px;
}

.hire-options {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--grid-gap);
	margin-bottom: 24px;
}

.form-help {
	margin: -8px 0 24px;
	font-size: 13px;
	line-height: 1.4;
	opacity: 0.7;
}

.hire-form textarea {
	min-height: 140px;
}

@media (max-width: 900px) {
	.hire-form .contact-form__row,
	.hire-options {
		grid-template-columns: 1fr;
		gap: 0;
	}

	.hire-form .contact-form__row {
		margin-bottom: 0;
	}

	.hire-form .contact-form__row label,
	.hire-options label {
		margin-bottom: 18px;
	}

	.hire-form .form-section-title {
		margin-top: 24px;
	}
}

/* =========================================================
   TEXT LINKS
   ========================================================= */

.text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.45em;

	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	line-height: 1.2;

	text-decoration: underline;
	text-decoration-thickness: 1px;
	text-underline-offset: 0.2em;
}

.text-link:hover {
	opacity: 0.6;
}


/* =========================================================
   SERVICES PAGE
   ========================================================= */

/*.service-feature__content {
	padding-top: 25px;
}*/


/* =========================================================
   GUTENBERG BLOCK DEFAULTS
   ========================================================= */


/* ---------------------------------------------------------
   Top-level content spacing
   --------------------------------------------------------- */

.entry-content > * {
	margin-block-start: 0;
}

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


/* ---------------------------------------------------------
   Headings
   --------------------------------------------------------- */

.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > h4,
.entry-content > h5,
.entry-content > h6 {
	margin-top: var(--space-lg);
	margin-bottom: var(--space-sm);
}


/* ---------------------------------------------------------
   Paragraphs
   --------------------------------------------------------- */

.entry-content p {
	margin-bottom: 1.25em;
}


/* ---------------------------------------------------------
   Lists
   --------------------------------------------------------- */

.entry-content ul,
.entry-content ol {
	margin-top: 0;
	margin-bottom: 1.5em;
	padding-left: 1.4em;
}

.entry-content li + li {
	margin-top: 0.35em;
}


/* ---------------------------------------------------------
   Quotes
   --------------------------------------------------------- */

.wp-block-quote {
	margin: var(--space-lg) 0;
	padding-left: var(--space-md);

	border-left: 2px solid var(--color-black);
}

.wp-block-quote p {
	font-size: clamp(20px, 2vw, 28px);
	line-height: 1.35;
}


/* ---------------------------------------------------------
   Images
   --------------------------------------------------------- */

.wp-block-image {
	margin-bottom: var(--space-md);
}


/* ---------------------------------------------------------
   Galleries
   --------------------------------------------------------- */

.wp-block-gallery {
	margin-bottom: var(--space-lg);
}


/* ---------------------------------------------------------
   Columns
   --------------------------------------------------------- */

.wp-block-columns {
	gap: var(--grid-gap);
	margin-bottom: var(--space-lg);
}

.wp-block-column > *:last-child {
	margin-bottom: 0;
}


/*
 * Standard top-level Gutenberg sections.
 * Page heroes and the homepage hero are excluded because
 * they manage their own vertical spacing.
 */

.entry-content > .wp-block-group:not(.page-hero):not(.home-hero) > .wp-block-group__inner-container {
	padding: var(--section-space) 0;
}

.entry-content > .page-hero > .wp-block-group__inner-container,
.entry-content > .home-hero > .wp-block-group__inner-container {
	padding: 0;
}


/* ---------------------------------------------------------
   Separators
   --------------------------------------------------------- */

.wp-block-separator {
	margin: var(--space-lg) 0;

	border: 0;
	border-top: 1px solid var(--color-border);
}


/* =========================================================
   GLOBAL LAYOUT UTILITIES
   ========================================================= */

/*
 * For content outside .entry-content when a matching
 * 1200px container is required.
 */

.bennys-container {
	width: min(
		calc(100% - (var(--page-gutter) * 2)),
		var(--container-width)
	);
	margin-inline: auto;
}

.section,
.bennys-section {
	padding-block: var(--space-xl);
}

.section--compact {
	padding-block: var(--space-lg);
}

.section--flush {
	padding-block: 0;
}

.stack > * + * {
	margin-top: var(--space-md);
}

.stack--sm > * + * {
	margin-top: var(--space-sm);
}

.stack--lg > * + * {
	margin-top: var(--space-lg);
}

@media (max-width: 900px) {

	.mobile-reverse {
		flex-direction: column-reverse;
	}

}


/* ---------------------------------------------------------
   Global announcement bar
   --------------------------------------------------------- */

.site-announcement {
	padding: 8px 0;

	background: var(--color-green);
	color: var(--color-cream);

	font-family: var(--font-body);
	font-size: 12px;
	font-weight: 500;
	line-height: 1.3;
	letter-spacing: 0.03em;
	text-align: center;
}


/* =========================================================
   SITE HEADER
   ========================================================= */


/* ---------------------------------------------------------
   Logo
   --------------------------------------------------------- */

.main-navigation .navigation-branding img {
	width: 150px;
	height: auto;
	padding: 0;
}


/* ---------------------------------------------------------
   Navigation structure
   --------------------------------------------------------- */

#site-navigation {
	background: var(--color-cream);
}


/*
 * GeneratePress outputs 40px horizontal padding on the
 * contained navigation after the child stylesheet.
 * ID specificity is therefore intentionally used here.
 */

#site-navigation.main-navigation.has-branding .inside-navigation.grid-container {
	width: min(
		calc(100% - (var(--page-gutter) * 2)),
		var(--container-width)
	);

	max-width: none;
	margin-inline: auto;

	padding: 10px 0;
}


/* ---------------------------------------------------------
   Primary navigation typography
   --------------------------------------------------------- */

.main-navigation .main-nav > ul > li > a,
.main-navigation .menu-bar-item > a {
	font-family: var(--font-body);
	font-size: 14px;
	font-weight: 600;
	letter-spacing: 0.035em;
	text-transform: uppercase;

	color: var(--color-green);
}


/* Hover / focus */

.main-navigation .main-nav ul li:not([class*="current-menu-"]):hover > a,
.main-navigation .main-nav ul li:not([class*="current-menu-"]):focus > a,
.main-navigation .main-nav ul li.sfHover:not([class*="current-menu-"]) > a,
.main-navigation .menu-bar-item:hover > a,
.main-navigation .menu-bar-item.sfHover > a {
	color: var(--color-nav-hover);
	background: transparent;
}


/* Current page */

.main-navigation .main-nav > ul > li[class*="current-menu-"] > a {
	color: var(--color-green);
	background: transparent;
}

/* Header Shop CTA */
.main-navigation .main-nav ul li.menu-shop-btn > a {
    background: #154734;
    color: #fff;
    padding: 10px 20px;
    line-height: 1.2;
    border-radius: 3px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* Hover, focus and current page */
.main-navigation .main-nav ul li.menu-shop-btn > a:hover,
.main-navigation .main-nav ul li.menu-shop-btn > a:focus,
.main-navigation .main-nav ul li.menu-shop-btn.current-menu-item > a,
.main-navigation .main-nav ul li.menu-shop-btn.current-menu-ancestor > a {
    background: #0d3526;
    color: #fff;
}


/* ---------------------------------------------------------
   Shop navigation CTA — tablet & mobile
   --------------------------------------------------------- */

@media (max-width: 1024px) {

    .main-navigation .main-nav ul li.menu-shop-btn > a,
    .main-navigation .main-nav ul li.menu-shop-btn > a:hover,
    .main-navigation .main-nav ul li.menu-shop-btn > a:focus,
    .main-navigation .main-nav ul li.menu-shop-btn.current-menu-item > a,
    .main-navigation .main-nav ul li.menu-shop-btn.current-menu-ancestor > a {
        background: transparent;
        color: var(--color-green);
        border-radius: 0;
        padding: 0;
        line-height: inherit;
        transition: none;
    }
}




/* ---------------------------------------------------------
   Dropdown menus
   --------------------------------------------------------- */

/* Dropdown container */
.main-navigation .main-nav ul ul {
    background: var(--color-white);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
    padding: 8px 0;
    min-width: 220px;
}

/* Dropdown links */
.main-navigation .main-nav ul ul li a {
    font-family: var(--font-body);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.4;
    color: var(--color-green);
    padding: 12px 20px;
    transition: color 0.2s ease, background-color 0.2s ease;
}

/* Hover, focus and active states */
.main-navigation .main-nav ul ul li a:hover,
.main-navigation .main-nav ul ul li:hover > a,
.main-navigation .main-nav ul ul li a:focus,
.main-navigation .main-nav ul ul li[class*="current-menu-"] > a {
    color: var(--color-green);
    background: var(--color-cream);
}


/* =========================================================
   MOBILE HEADER / NAV
   ========================================================= */

@media (max-width: 900px) {

	/* ---------------------------------------------------------
	   Mobile header
	   --------------------------------------------------------- */

	#mobile-header {
		width: 100%;
	}

	#mobile-header .inside-navigation {
		width: min(
			calc(100% - (var(--page-gutter) * 2)),
			var(--container-width)
		);
		margin-inline: auto;
		padding: 10px 0;
		min-height: 72px;

		display: flex;
		align-items: center;
	}

	#mobile-header .site-logo {
		margin-right: auto;
	}

	#mobile-header .site-logo img {
		display: block;
		width: 135px;
		height: auto;
	}

	#mobile-header .menu-bar-items {
		display: flex;
		align-items: center;
		gap: 8px;
		margin-left: auto;
	}

	#mobile-header .menu-bar-item > a {
		display: inline-flex;
		align-items: center;
		justify-content: center;
		padding: 0;
	}

	#mobile-header .menu-bar-item svg {
		width: 24px;
		height: 24px;
	}

	#mobile-header .menu-toggle {
		display: inline-flex;
		align-items: center;
		justify-content: center;

		margin: 0 0 0 8px;
		padding: 0;

		font-size: 0;
		line-height: 1;
		color: var(--color-green);
	}

	#mobile-header .menu-toggle .gp-icon {
		margin: 0;
	}

	#mobile-header .menu-toggle svg {
		width: 30px;
		height: 30px;
	}


	/* ---------------------------------------------------------
	   Mobile navigation
	   --------------------------------------------------------- */

	#mobile-header .main-nav {
		width: 100%;
	}

	#mobile-header .main-nav > ul {
		margin: 0;
		padding: 20px 0 0 10px;
		background: var(--color-white);
	}

	#mobile-header .main-nav > ul > li > a {
		padding: 9px 0;
		font-size: 16px;
		line-height: 1.2;
	}

	#mobile-header .main-nav li {
		margin: 0;
	}


	/* ---------------------------------------------------------
	   Mobile submenu
	   --------------------------------------------------------- */

	#mobile-header .main-nav .sub-menu {
		position: static;
		width: 100%;

		margin: 0;
		padding: 4px 0 10px 16px;

		border: 0;
		box-shadow: none;

		background: var(--color-white);
	}

	#mobile-header .main-nav .sub-menu li a {
		padding: 8px 0;
		font-size: 15px;
		font-weight: 400;
		line-height: 1.3;
		color: var(--color-black);
	}

	#mobile-header .main-nav > ul > li > a:hover,
	#mobile-header .main-nav > ul > li > a:focus,
	#mobile-header .main-nav .sub-menu li a:hover,
	#mobile-header .main-nav .sub-menu li a:focus {
		color: var(--color-nav-hover);
	}

	#mobile-header .dropdown-menu-toggle {
		color: var(--color-green);
	}

}


/* =========================================================
   GLOBAL CAROUSEL
   ========================================================= */

.bennys-carousel {
	position: relative;
	overflow: hidden;
}


/* =========================================================
   POST NAVIGATION
   ========================================================= */

.post-nav {
	display: flex;
	justify-content: space-between;
	gap: var(--grid-gap);
	margin-top: var(--space-lg);
}

.post-nav a {
	font-weight: 400;
	line-height: 1.4;
	text-transform: none;
}


/* =========================================================
   FOOTER
   ========================================================= */


/* ---------------------------------------------------------
   Footer widgets — align to 1200px site grid
   --------------------------------------------------------- */

#footer-widgets > div {
	width: min(
		calc(100% - (var(--page-gutter) * 2)),
		var(--container-width)
	);
	margin-inline: auto;
	padding-left: 0;
	padding-right: 0;
}

.footer-credit {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
	text-align: center;
	background: var(--color-cream);
}

.footer-credit__separator {
	margin-inline: 12px;
}

.footer-credit a {
	text-decoration: underline;
}

.footer-widgets .widget {
    margin-bottom: 20px;
}


/* ---------------------------------------------------------
   Social row
   --------------------------------------------------------- */

.footer-social-row {
	border-top: 1px solid var(--color-white);
	padding-block: var(--section-space);
	background: var(--color-green);
}

.footer-social-row .social-links {
	margin: 0;
}


/* ---------------------------------------------------------
   Footer typography
   --------------------------------------------------------- */

.site-footer {
	font-size: 15px;
	line-height: 1.5;
	background-color: var(--color-cream);
}

.footer-widgets {
    background-color: var(--color-cream);
}
.site-info {
    background-color: var(--color-cream);
}


/* Footer column headings */

.site-footer .widget-title,
.site-footer h2,
.site-footer h3 {
	margin: 0 0 20px;

	font-family: var(--font-heading);
	font-size: 16px;
	font-weight: 700;
	line-height: 1.1;
	letter-spacing: 0;
	text-transform: uppercase;
}


/* Footer navigation */

.site-footer .widget_nav_menu a,
.site-footer .wp-block-navigation a {
	text-decoration: none;
}


/* Footer paragraph links */

.site-footer p a {
	text-decoration: underline;
	text-underline-offset: 2px;
}


/* Copyright / legal row */

.site-info {
	font-size: 13px;
	line-height: 1.4;
}


/* ---------------------------------------------------------
   Social icons
   --------------------------------------------------------- */

.social-links {
	display: flex;
	align-items: center;
	gap: 14px;
	margin-top: 20px;
}

.social-links a {
	display: flex;
	align-items: center;
	justify-content: center;
}

.social-links img {
	display: block;
	width: 50px;
	height: 50px;
	object-fit: contain;
}

/* Footer newsletter form */
.site-footer form {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	gap: 10px;
	margin: 0;
}

.site-footer form input[type="email"] {
	width: 100%;
	min-height: 44px;
	padding: 10px 12px;
	font-size: 14px;
	line-height: 1.4;
	box-sizing: border-box;
}

.site-footer form input[type="submit"],
.site-footer form button[type="submit"] {
	width: auto;
	min-height: 40px;
	padding: 9px 18px;
	font-size: 14px;
}


/* =========================================================
   RESPONSIVE – GLOBAL
   ========================================================= */

@media (max-width: 900px) {

	:root {
		--page-gutter: 20px;
		--space-xl: 60px;
		--section-space: 30px;
		--page-hero-space: 50px;
	}

	h1 {
		font-size: clamp(44px, 13vw, 64px);
	}

	h2 {
		font-size: clamp(34px, 10vw, 48px);
	}

	h3 {
		font-size: clamp(26px, 8vw, 34px);
	}

	.lead {
		font-size: 20px;
	}

	.display-heading {
		font-size: clamp(58px, 18vw, 88px);
	}

}


/* =========================================================
   HOMEPAGE
   ========================================================= */


/* --------------------------------
   HOME — HERO
-------------------------------- */

.home-hero {
	position: relative;
	width: 100vw;
	max-width: none;
	margin-left: calc(50% - 50vw);
	margin-bottom: 0;
}

.home-hero > .wp-block-group__inner-container {
	width: 100%;
	max-width: none;
}

.home-hero .wp-block-image {
	width: 100%;
	max-width: none;
	margin: 0;
}

.home-hero .wp-block-image img {
	display: block;
	width: 100%;
	max-width: none;
	aspect-ratio: 2 / 1;
	object-fit: cover;
}

.home-hero .home-hero__title {
    position: absolute;
    left: max(
		var(--page-gutter),
		calc((100vw - var(--container-width)) / 2)
	);
    bottom: clamp(50px, 7vw, 150px);
    margin: 0;
    font-family: var(--font-heading);
    font-size: clamp(54px, 6vw, 88px);
    font-weight: 700;
    line-height: 0.78;
    letter-spacing: -0.025em;
    text-transform: uppercase;
    color: var(--color-cream);
}


/* Tablet */
@media (min-width: 768px) and (max-width: 1100px) {

    .home-hero .home-hero__title {
        left: 30px;
        bottom: 40px;

        font-size: clamp(58px, 8vw, 78px);
    }

}


/* Mobile*/
@media (max-width: 767px) {
	.home-hero .home-hero__title {
		display: none;
	}
}



/*@media (max-width: 767px) {

    .home-hero .home-hero__title {
        left: 20px;
        bottom: 25px;

        font-size: clamp(56px, 17vw, 80px);
        line-height: 0.8;
    }

}*/


/* ---------------------------------------------------------
   Home services
   --------------------------------------------------------- */

.home-services {
	padding-block: 70px 85px;
	margin-bottom: 0;
}

.home-services__grid {
	margin: 0;
	gap: var(--space-md);
}

.home-services__grid > .wp-block-column {
	text-align: center;
}


/* Service icons */

.home-service__icon {
	display: flex;
	align-items: center;
	justify-content: center;
	margin: 0 0 18px;
	color: var(--color-green);
}

.home-service__icon svg {
	width: 32px;
	height: 32px;
	stroke-width: 1.5;
}


/* Titles */

.home-services__grid h3 {
	margin: 0 0 8px;
}

.home-services__grid h3 a {
	text-decoration: none;
}


/* Descriptions */

.home-services__grid p {
	max-width: 190px;
	margin-inline: auto;
}


/* ---------------------------------------------------------
   Home about
   --------------------------------------------------------- */

.home-about {
	margin-bottom: 0;
}

.home-about__grid {
	width: 100%;
	margin: 0;
	gap: var(--grid-gap);
}


/* 588 + 24 + 588 = 1200 */

.home-about__grid > .wp-block-column {
	flex-basis: calc(50% - 12px);
}


/* Image */

.home-about__grid > .wp-block-column:first-child .wp-block-image {
	margin: 0;
}

.home-about__grid > .wp-block-column:first-child img {
	width: 100%;
	height: auto;
}


/* Content */

.home-about__grid > .wp-block-column:last-child {
	display: flex;
	flex-direction: column;
	align-items: flex-start;
	justify-content: flex-start;

	padding: 0;
	text-align: left;
}

.home-about h2 {
	margin: 0 0 20px;
}

.home-about p {
	max-width: 440px;
	margin: 0 0 30px;
}


/* ---------------------------------------------------------
   Home custom builds
   --------------------------------------------------------- */

.home-builds {
	padding-block: 85px;
	margin-bottom: 0;
}


/* ---------------------------------------------------------
   Logo carousel alignment
   --------------------------------------------------------- */

.brand-carousel__slide {
	display: flex;
	align-items: center;
	justify-content: center;
}

.brand-carousel__link {
	display: block;
	width: 100%;
}


/* Safety sizing for client-uploaded raster logos only */

.brand-carousel__logo[src$=".png"],
.brand-carousel__logo[src$=".jpg"],
.brand-carousel__logo[src$=".jpeg"],
.brand-carousel__logo[src$=".webp"] {
	width: 100%;
	max-width: 180px;
	height: 100px;
	margin-inline: auto;
	object-fit: contain;
}


/* =========================================================
   CUSTOM BUILDS – Builds Archive + Cards
   ========================================================= */

.builds-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--grid-gap);
	padding-bottom: var(--section-space);
}

.build-card {
	margin: 0;
}

.build-card__link {
	display: block;
	color: inherit;
	text-decoration: none;
}

.entry-content .build-card__link {
	text-decoration: none;
}

.build-card__image {
	position: relative;
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.build-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.build-card__image .build-card__icon {
	position: absolute;
	right: 10px;
	bottom: 10px;
	width: 18px;
	height: 18px;
	color: var(--color-white);
	stroke: var(--color-white);
	pointer-events: none;
}

.build-card__title {
	margin-top: var(--space-sm);
	margin-bottom: 0;
}

/* =========================================================
   CUSTOM BUILDS – Single Build
   ========================================================= */

.single-build {
	width: 100%;
}

.build-intro,
.build-gallery {
	width: 100%;
}

.build-intro {
	max-width: 720px;
	margin-bottom: var(--space-lg);
}

.build-gallery {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: var(--grid-gap);
}

.build-gallery__item {
	margin: 0;
}

.build-gallery__item--large {
	grid-column: 1 / -1;
}

.build-gallery img {
	display: block;
	width: 100%;
	height: auto;
}

@media (max-width: 900px) {

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

	.build-gallery {
		grid-template-columns: 1fr;
	}

	.build-gallery__item--large {
		grid-column: auto;
	}

}

@media (max-width: 600px) {

	.builds-grid {
		grid-template-columns: 1fr;
	}

}

/* =========================================================
   SERVICE LIST
   ========================================================= */

.service-list {
    border-top: 1px solid var(--color-border);
}

.service-list__item {
    padding-block: var(--space-md);
    border-bottom: 1px solid var(--color-border);
}

/* Remove Gutenberg's default column bottom margins */
.service-list__item .wp-block-columns {
    margin-bottom: 0;
}

.service-list__item h3 {
    margin-bottom: 10px;
}

.service-list__item p {
    max-width: 700px;
    margin-bottom: 0;
}

.service-list__price {
    margin: 0;
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    line-height: 1;
    text-align: right;
    text-transform: uppercase;
    color: var(--color-green);
}

@media (max-width: 900px) {
    .service-list__item {
        padding-block: 30px;
    }

    .service-list__price {
        text-align: left;
    }
}



/* =========================================================
   JOURNAL – Single
   ========================================================= */

.single-journal {
	width: 100%;
}


/* ---------------------------------------------------------
   Breadcrumbs
   --------------------------------------------------------- */

.journal-breadcrumbs {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;

	padding-top: var(--section-space);
	margin-bottom: var(--space-md);

	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.4;
}

.journal-breadcrumbs a {
	text-decoration: none;
}


/* ---------------------------------------------------------
   Article header
   --------------------------------------------------------- */

.journal-single__header {
	max-width: 720px;
	margin-bottom: var(--space-md);
}

.journal-single__title {
	margin: 0 0 var(--space-sm);
}

.journal-single__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;

	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;

	color: var(--color-green);
}

.journal-single__meta a {
	color: inherit;
	text-decoration: none;
}

.journal-single__meta a:hover,
.journal-single__meta a:focus {
	color: var(--color-nav-hover);
}


/* ---------------------------------------------------------
   Featured image
   --------------------------------------------------------- */

.journal-single__image {
	width: 100%;
	max-width: 720px;
	margin: 0 0 var(--space-lg);
}

.journal-single__image img {
	display: block;
	width: 100%;
	height: auto;
}


/* ---------------------------------------------------------
   Article content
   --------------------------------------------------------- */

.journal-content {
	max-width: 720px;
	margin: 0;
}

.journal-content > *:first-child {
	margin-top: 0;
}

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

.journal-content h2,
.journal-content h3,
.journal-content h4 {
	margin-top: var(--space-lg);
	margin-bottom: var(--space-sm);
}

.journal-content ul,
.journal-content ol {
	margin-top: 0;
	margin-bottom: 1.5em;
	padding-left: 1.4em;
}


/* ---------------------------------------------------------
   Navigation spacing
   --------------------------------------------------------- */

.single-journal > .post-nav {
	padding-bottom: var(--section-space);
}




/* ---------------------------------------------------------
   Category filters
   --------------------------------------------------------- */

.journal-filters {
	display: flex;
	flex-wrap: wrap;
	gap: var(--grid-gap);

	margin-bottom: var(--space-md);
}

.journal-filters a {
	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-transform: uppercase;

	text-decoration: none;
}

.journal-filters a.is-active {
	color: var(--color-nav-hover);
}


/* ---------------------------------------------------------
   Article grid
   --------------------------------------------------------- */

.journal-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: var(--grid-gap);

	padding-bottom: var(--section-space);
}

.journal-card {
	margin: 0;
}

.journal-card__image-link {
	display: block;
	text-decoration: none;
}

.journal-card__image {
	overflow: hidden;
	aspect-ratio: 3 / 2;
}

.journal-card__image img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.journal-card__content {
	padding-top: var(--space-sm);
}

.journal-card__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;

	margin-bottom: 8px;

	font-family: var(--font-body);
	font-size: 13px;
	font-weight: 500;
	line-height: 1.3;

	color: var(--color-green);
}

.journal-card__title {
	margin: 0 0 10px;
}

.journal-card__title a {
	color: var(--color-black);
	text-decoration: none;
}

.journal-card__title a:hover,
.journal-card__title a:focus {
	color: var(--color-green);
}

.journal-card__excerpt {
	margin-bottom: var(--space-sm);
}

.journal-card__excerpt p {
	margin: 0;
}


/* =========================================================
   SHOP / WOOCOMMERCE
   ========================================================= */

/* Product title divider */
.single-product div.product .product_title {
	margin-bottom: 0;
}

.single-product div.product .product_title::after {
	content: "";
	display: block;
	width: 40px;
	height: 2px;
	margin-top: var(--space-sm);
	background-color: var(--color-green);
}

/* Product price */
.single-product div.product p.price {
	margin-top: var(--space-sm);
}

/*space below single products*/
.single-product div.product {
    display: flow-root;
    margin-bottom: var(--section-space);
}

/* ---------------------------------------------------------
   WooCommerce variable product options
   --------------------------------------------------------- */

.single-product table.variations {
	width: auto;
	margin-bottom: 24px;
}

.single-product table.variations th.label {
	width: 120px;
	padding: 0 20px 0 0;
	text-align: left;
	vertical-align: middle;
}

.single-product table.variations td.value {
	padding: 0;
	vertical-align: middle;
}

.single-product table.variations td.value select {
	width: 320px;
	min-width: 0;
	max-width: 100%;
	margin-right: 0;
	border: 1px solid var(--color-green);
}

.single-product table.variations td.value select:focus {
	outline: 2px solid var(--color-green);
	outline-offset: 1px;
}

@media (max-width: 768px) {
	.single-product table.variations {
		width: 100%;
	}

	.single-product table.variations th.label,
	.single-product table.variations td.value {
		display: block;
		width: 100%;
	}

	.single-product table.variations th.label {
		padding: 0 0 8px;
	}

	.single-product table.variations td.value select {
		width: 100%;
	}
}

/* ---------------------------------------------------------
   WooCommerce page top spacing
   --------------------------------------------------------- */

.woocommerce #page.site,
.woocommerce-cart #page.site,
.woocommerce-checkout #page.site {
    margin-top:var(--page-hero-space);
}

/* Sidebar widgets */
.sidebar .widget {
    background-color: transparent;
}
/* ---------------------------------------------------------
   Product details
   --------------------------------------------------------- */

/* Price */
.woocommerce div.product p.price,
.woocommerce div.product span.price {
    color: var(--color-green);
    font-weight: 600;
}

/* Stock status */
.woocommerce:where(body:not(.woocommerce-uses-block-theme)) div.product .stock {
    color: var(--color-green);
    font-size: 14px;
    font-weight: 600;
}

/* Product meta */
.woocommerce div.product .product_meta {
    color: var(--color-black);
    font-size: 14px;
}

.woocommerce div.product .product_meta a {
    color: var(--color-green);
}
#wc-column-container > .wp-block-woocommerce-product-filters {
	display: none;
}

@media (max-width: 768px) {

	#wc-column-container {
		display: block;
	}

	/* Sorting */
	#wc-column-container > .woocommerce-ordering {
		margin: 0 0 12px;
	}

	/* Filter */
	#wc-column-container > .wp-block-woocommerce-product-filters {
		display: block;
		margin: 0 0 12px;
	}

	#wc-column-container
	> .wp-block-woocommerce-product-filters
	> .wc-block-product-filters__open-overlay {
		display: inline-flex;
		align-items: center;
		gap: 8px;
		padding: 0;
		color: var(--color-green);
		font-weight: 600;
	}
	
	#wc-column-container
	> .wp-block-woocommerce-product-filters
	> .wc-block-product-filters__open-overlay:hover,
	#wc-column-container
	> .wp-block-woocommerce-product-filters
	> .wc-block-product-filters__open-overlay:focus {
		background: none;
		color: var(--color-nav-hover);
	}

	/* Results */
	#wc-column-container > .woocommerce-result-count {
		margin: 0 0 24px;
		font-size: 14px;
		opacity: 0.7;
	}

	/* Products */
	#wc-column-container > ul.products {
		margin-top: 0;
	}
}

/* =========================================================
   RESPONSIVE – JOURNAL
   ========================================================= */

@media (max-width: 900px) {

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

}

@media (max-width: 600px) {

	.journal-grid {
		grid-template-columns: 1fr;
	}

}


/* =========================================================
   HOMEPAGE – MOBILE
   ========================================================= */

@media (max-width: 767px) {

	.home-hero .wp-block-image img {
		aspect-ratio: 4 / 5;
	}


	/* Services */

	.home-services {
		padding-block: 50px 60px;
	}

	.home-services__grid {
		gap: 45px;
	}

	.home-services__grid p {
		max-width: 220px;
	}


	/* About */

	.home-about__grid {
		flex-direction: column;
		gap: 30px;
	}

	.home-about__grid > .wp-block-column {
		flex-basis: 100%;
	}


	/* Builds */

	.home-builds {
		padding-block: 60px;
	}

}

	/* Hire Bikes */

.hire-price {
	font-family: var(--font-heading);
	font-size: clamp(42px, 5vw, 64px);
	font-weight: 700;
	line-height: 0.95;
	text-transform: uppercase;
	color: var(--color-green);
	margin: 8px 0 6px;
}

.hire-pricing-grid {
	border-top: 1px solid var(--color-green);
	border-bottom: 1px solid var(--color-green);
	margin-top: 32px;
}

.hire-pricing-grid > .wp-block-columns {
	margin-bottom: 0;
}

.hire-pricing-grid .wp-block-column {
	padding: 18px 32px;
	border-right: 1px solid var(--color-green);
}

.hire-pricing-grid .wp-block-column:last-child {
	border-right: 0;
}

.hire-pricing-grid h3 {
	margin: 0 0 8px;
}

.hire-pricing-grid .hire-price {
	margin: 0;
}

.hire-pricing-grid + p {
	margin-top: 16px;
}

@media (max-width: 768px) {
	.hire-pricing-grid .wp-block-columns {
		display: block;
	}

	.hire-pricing-grid .wp-block-column {
		padding: 18px 0;
		border-right: 0;
		border-bottom: 1px solid rgba(21, 71, 52, 0.35);
	}

	.hire-pricing-grid .wp-block-column:last-child {
		border-bottom: 0;
	}
}


/* Hire bike sizing table */

.hire-size-table {
	width: 100%;
	overflow-x: auto;
}

.hire-size-table table {
	width: 100%;
	border: 0;
	border-collapse: collapse;
}

.hire-size-table th,
.hire-size-table td {
	padding: 14px 16px;
	border: 0 !important;
	text-align: left;
}

.hire-size-table th {
	font-weight: 600;
	color: var(--color-green);
}

.hire-size-table thead {
	border-bottom: 1px solid var(--color-green) !important;
}

.hire-size-table tbody tr:not(:last-child) td {
	border-bottom: 1px solid rgba(21, 71, 52, 0.35) !important;
}

@media (max-width: 768px) {
	.hire-size-table th,
	.hire-size-table td {
		padding: 12px 10px;
	}
}