/* Liverpool Skips Design — red, white and navy only.
   Navy #00234B, red #B01030, white #FFFFFF, ink #1C1C1C, light #F3F6FA */

body.ls-design {
	--ls-navy: #00234B;
	--ls-red: #B01030;
	--ls-red-dark: #8E0C26;
	--ls-white: #FFFFFF;
	--ls-ink: #1C1C1C;
	--ls-muted: #3A4450;
	--ls-light: #F3F6FA;
	--ls-line: #D6DCE6;
	--ast-global-color-0: #B01030;
	--ast-global-color-1: #00234B;
	--ast-global-color-2: #00234B;
	--ast-global-color-3: #1C1C1C;
	--ast-global-color-4: #FFFFFF;
	--ast-global-color-5: #F3F6FA;
	--ast-global-color-6: #00234B;
	--ast-global-color-7: #D6DCE6;
	--ast-global-color-8: #00234B;
}

/* ---------- Typography: real Montserrat 600/700/800 + Source Sans 3, no faux bold ---------- */
body.ls-design,
body.ls-design button,
body.ls-design input,
body.ls-design select,
body.ls-design textarea,
body.ls-design .ast-button,
body.ls-design .ast-custom-button,
body.ls-design .wp-block-button__link {
	font-family: "Source Sans 3", "Source Sans Pro", sans-serif;
	font-weight: 400;
	font-size: 1.0625rem;
	line-height: 1.65;
}

body.ls-design strong,
body.ls-design b {
	font-weight: 700;
}

body.ls-design h1,
body.ls-design h2,
body.ls-design h3,
body.ls-design h4,
body.ls-design h5,
body.ls-design h6,
body.ls-design .entry-content :where(h1, h2, h3, h4, h5, h6),
body.ls-design .site-title,
body.ls-design .ast-archive-title,
body.ls-design .widget-title {
	font-family: Montserrat, sans-serif !important;
	letter-spacing: -0.015em;
}

/* Beat the theme and inline font-size:48px / 50px / font-weight:800 on headings */
body.ls-design h1,
body.ls-design .entry-content h1,
body.ls-design h1.wp-block-heading,
body.ls-design h1[style],
body.ls-design .entry-content h1[style] {
	font-weight: 800 !important;
	font-size: clamp(1.75rem, 1.15rem + 2.2vw, 2.25rem) !important;
	line-height: 1.2 !important;
}

body.ls-design h2,
body.ls-design .entry-content h2,
body.ls-design h2.wp-block-heading,
body.ls-design h2[style],
body.ls-design .entry-content h2[style] {
	font-weight: 700 !important;
	font-size: clamp(1.375rem, 1.1rem + 1.4vw, 1.875rem) !important;
	line-height: 1.25 !important;
}

body.ls-design h3,
body.ls-design .entry-content h3,
body.ls-design h3.wp-block-heading,
body.ls-design h3[style],
body.ls-design .entry-content h3[style] {
	font-weight: 700 !important;
	font-size: clamp(1.125rem, 1.05rem + 0.7vw, 1.375rem) !important;
	line-height: 1.3 !important;
}

body.ls-design h4,
body.ls-design .entry-content h4 {
	font-family: Montserrat, sans-serif !important;
	font-weight: 700 !important;
	font-size: 1.125rem !important;
	line-height: 1.35 !important;
}


/* ---------- Palette overrides (Astra hardcodes some hex) ---------- */
body.ls-design,
body.ls-design .entry-content :where(h1, h2, h3, h4, h5, h6) {
	color: var(--ls-ink);
}

body.ls-design h1,
body.ls-design h2,
body.ls-design h3,
body.ls-design h4,
body.ls-design h5,
body.ls-design h6,
body.ls-design .entry-title a,
body.ls-design .ast-archive-title,
body.ls-design .widget-title {
	color: var(--ls-navy);
}

body.ls-design a {
	color: var(--ls-red);
}
body.ls-design a:hover,
body.ls-design a:focus {
	color: var(--ls-red-dark);
}

body.ls-design .ast-button,
body.ls-design .button,
body.ls-design input[type="submit"],
body.ls-design .wp-block-button__link,
body.ls-design .wpforms-submit,
body.ls-design .ast-header-button-1 .ast-custom-button,
body.ls-design #ast-scroll-top {
	background-color: var(--ls-red) !important;
	background-image: none !important;
	color: var(--ls-white) !important;
	border-color: var(--ls-red) !important;
}
body.ls-design .ast-button:hover,
body.ls-design .button:hover,
body.ls-design input[type="submit"]:hover,
body.ls-design .wp-block-button__link:hover,
body.ls-design .wpforms-submit:hover,
body.ls-design .ast-header-button-1 .ast-custom-button:hover {
	background-color: var(--ls-red-dark) !important;
	border-color: var(--ls-red-dark) !important;
	color: var(--ls-white) !important;
}

::selection {
	background-color: var(--ls-navy);
	color: var(--ls-white);
}

/* Red text on navy fails contrast (~2:1). Force readable white. */
body.ls-design .site-footer a,
body.ls-design .site-footer,
body.ls-design [style*="background-color:#0a2559"],
body.ls-design [style*="background-color:#0A2559"],
body.ls-design [style*="background-color:#002B5C"],
body.ls-design [style*="background-color:#002b5c"] {
	/* do not force the container text if children set white already */
	background-color: var(--ls-navy) !important;
}

body.ls-design .site-footer a,
body.ls-design [style*="background-color:#0a2559"] a:not(.wp-block-button__link),
body.ls-design [style*="background-color:#0A2559"] a:not(.wp-block-button__link),
body.ls-design [style*="background-color:#002B5C"] a:not(.wp-block-button__link),
body.ls-design [style*="background-color:#002b5c"] a:not(.wp-block-button__link),
body.ls-design [style*="background-color:#0a2559"] [style*="color:#e31c"],
body.ls-design [style*="background-color:#0A2559"] [style*="color:#e31c"],
body.ls-design [style*="background-color:#0a2559"] [style*="color:#E31C"],
body.ls-design [style*="background-color:#0A2559"] [style*="color:#E31C"],
body.ls-design [style*="background-color:#0a2559"] [style*="color:#B01030"],
body.ls-design [style*="background-color:#0A2559"] [style*="color:#B01030"],
body.ls-design [style*="background-color:#002B5C"] [style*="color:#e31c"],
body.ls-design [style*="background-color:#002B5C"] [style*="color:#E31C"],
body.ls-design [style*="background-color:#002B5C"] [style*="color:#B01030"] {
	color: var(--ls-white) !important;
}

body.ls-design .site-footer {
	background-color: var(--ls-navy) !important;
	color: var(--ls-white);
}

/* ---------- Header: hide stacked site title, compact bar ---------- */
body.ls-design .ast-site-identity .site-title,
body.ls-design .site-header .site-title,
body.ls-design header .site-title {
	display: none !important;
}

body.ls-design .ast-primary-header-bar .site-primary-header-wrap {
	min-height: 80px;
}
body.ls-design .ast-primary-header-bar .main-header-menu > .menu-item {
	line-height: 80px;
}

body.ls-design .ast-header-button-1 .ast-custom-button {
	border-radius: 4px !important;
	font-weight: 700;
}

body.ls-design .ast-header-html-1 a,
body.ls-design .ast-above-header-bar a[href^="tel"] {
	color: var(--ls-red) !important;
	font-weight: 700;
	font-size: 16px;
}

/* Keep the Astra HFB primary menu on one line from 922px, including 1280px.
   Short labels (Home, Contact, Skip sizes & prices) are applied in PHP. */
@media (min-width: 922px) {
	body.ls-design .ast-desktop .ast-primary-header-bar .main-header-menu {
		flex-wrap: nowrap !important;
	}
	body.ls-design .ast-desktop .ast-primary-header-bar .main-header-menu > .menu-item > .menu-link {
		white-space: nowrap;
		font-size: 15px;
		padding-left: 0.65em;
		padding-right: 0.65em;
		line-height: 1.2;
	}
	body.ls-design .ast-desktop .ast-primary-header-bar .site-header-primary-section-center {
		flex: 1 1 auto;
		min-width: 0;
		justify-content: flex-end;
	}
	body.ls-design .ast-desktop .ast-primary-header-bar .site-logo-img img.custom-logo {
		max-width: 200px;
		height: auto;
	}
}

/* ---------- Homepage hero ---------- */
body.ls-has-hero .entry-content:has(.ls-hero) > .wp-block-group:first-of-type {
	display: none !important;
}

/* Page titles on inner pages stay; hide the duplicate default page title on the homepage if shown */
body.home.ls-has-hero .ast-normal-title-enabled .ast-single-post .entry-header,
body.home.ls-has-hero .page-header,
body.home.ls-has-hero h1.entry-title {
	/* keep if not already hidden by theme */
}

/* Break out of Astra/Gutenberg .entry-content max-width (otherwise the
   hero sits in a 1200px column and left:50% shifts it mid-page). */
body.ls-design .entry-content > .ls-hero,
body.ls-design .ls-hero,
.ls-hero.alignfull {
	background: var(--ls-navy);
	color: var(--ls-white);
	position: relative;
	left: auto !important;
	right: auto !important;
	width: 100vw !important;
	max-width: 100vw !important;
	margin-top: 0 !important;
	margin-bottom: 0 !important;
	margin-left: calc(50% - 50vw) !important;
	margin-right: calc(50% - 50vw) !important;
	box-sizing: border-box;
	padding-left: 0;
	padding-right: 0;
}
body.ls-design.ls-has-hero {
	overflow-x: hidden;
}

.ls-hero-inner {
	max-width: 1200px;
	margin: 0 auto;
	padding: 40px 24px 44px;
	display: grid;
	grid-template-columns: 1fr 1.05fr;
	gap: 36px;
	align-items: center;
}

.ls-hero-eyebrow {
	font-family: Montserrat, sans-serif;
	font-size: 12px;
	font-weight: 700;
	letter-spacing: .12em;
	text-transform: uppercase;
	color: var(--ls-white);
	margin: 0 0 14px;
	opacity: 0.9;
}

body.ls-design .ls-hero-title,
body.ls-design h1.ls-hero-title {
	font-family: Montserrat, sans-serif !important;
	font-weight: 800 !important;
	font-size: clamp(1.75rem, 1.2rem + 2.6vw, 2.5rem) !important;
	line-height: 1.15 !important;
	letter-spacing: -0.02em;
	color: var(--ls-white) !important;
	margin: 0 0 16px;
}

.ls-hero-lede {
	font-size: 18px;
	line-height: 1.55;
	color: var(--ls-white);
	margin: 0 0 18px;
	max-width: 36em;
}

.ls-hero-price {
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 20px;
	color: var(--ls-white);
	margin: 0 0 22px;
}
.ls-hero-price strong {
	font-size: 28px;
	font-weight: 800;
}
.ls-hero-price span {
	font-weight: 600;
	font-size: 14px;
	opacity: 0.85;
	margin-left: 6px;
}

.ls-hero-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
}

.ls-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 15px;
	line-height: 1.2;
	padding: 14px 22px;
	border-radius: 4px;
	text-decoration: none !important;
	border: 2px solid transparent;
}
.ls-btn-red {
	background: var(--ls-red);
	color: var(--ls-white) !important;
	border-color: var(--ls-red);
}
.ls-btn-red:hover,
.ls-btn-red:focus {
	background: var(--ls-red-dark);
	border-color: var(--ls-red-dark);
	color: var(--ls-white) !important;
}
.ls-btn-navy {
	background: transparent;
	color: var(--ls-white) !important;
	border-color: var(--ls-white);
}
.ls-btn-navy:hover,
.ls-btn-navy:focus {
	background: var(--ls-white);
	color: var(--ls-navy) !important;
}

/* White/red photograph sits in a rounded card on the navy hero. */
.ls-hero-media {
	background: var(--ls-white);
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 16px 40px rgba(0, 0, 0, 0.28);
	border: 1px solid rgba(255, 255, 255, 0.18);
}
.ls-hero-media img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 16 / 9;
	object-fit: cover;
	object-position: 78% 50%;
	border-radius: 12px;
	vertical-align: middle;
}

/* Skip / lorry photographs on service and size cards */
.ls-card-photo {
	margin: 0 0 16px;
	border-radius: 8px;
	overflow: hidden;
	background: var(--ls-light);
}
.ls-card-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	border-radius: 8px;
}

.ls-feature-photo {
	max-width: 840px;
	margin: 28px auto 8px;
	border-radius: 12px;
	overflow: hidden;
	box-shadow: 0 10px 28px rgba(0, 35, 75, 0.14);
}
.ls-feature-photo img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	object-position: center;
	border-radius: 12px;
}

/* ---------- Contact map ---------- */
.ls-contact-map {
	margin: 24px auto 0;
	max-width: 960px;
}
.ls-contact-map iframe {
	display: block;
	width: 100%;
	height: 400px;
	border: 0;
	border-radius: 8px;
	background: var(--ls-light);
}
.ls-contact-map figcaption {
	margin-top: 10px;
	text-align: center;
	color: var(--ls-muted);
	font-size: 15px;
}

/* ---------- Mobile call / book bar ---------- */
.ls-mobile-cta {
	display: none;
}

@media (max-width: 921px) {
	.ls-mobile-cta {
		display: flex;
		position: fixed;
		left: 0;
		right: 0;
		bottom: 0;
		z-index: 100000;
		background: var(--ls-navy);
		padding: 10px 12px calc(10px + env(safe-area-inset-bottom, 0px));
		gap: 8px;
		box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.18);
	}
	.ls-mobile-cta a {
		flex: 1;
		display: flex;
		align-items: center;
		justify-content: center;
		text-align: center;
		font-family: Montserrat, sans-serif;
		font-weight: 700;
		font-size: 14px;
		line-height: 1.2;
		padding: 12px 8px;
		border-radius: 4px;
		text-decoration: none !important;
	}
	.ls-mobile-cta-call {
		background: var(--ls-white);
		color: var(--ls-navy) !important;
	}
	.ls-mobile-cta-book {
		background: var(--ls-red);
		color: var(--ls-white) !important;
	}

	body.ls-design {
		padding-bottom: 72px;
	}
	body.ls-design #ast-scroll-top {
		bottom: 80px !important;
	}

	.ls-hero-inner {
		grid-template-columns: 1fr;
		padding: 28px 16px 32px;
		gap: 22px;
	}
	.ls-hero-actions {
		flex-direction: column;
	}
	.ls-hero-actions .ls-btn {
		width: 100%;
	}
	/* Keep the Astra above-header (phone + book) available on tablet if present;
	   on phones the sticky bar covers the same job. */
}

@media (max-width: 544px) {
	body.ls-design .ast-mobile-header-wrap .ast-above-header-bar {
		/* If the theme ever shows it, keep it usable */
	}
}


/* ---------- Master price block (page 219) ---------- */
.ls-price-block {
	margin: 24px 0 48px;
	padding: 8px 0 12px;
}
.ls-price-heading {
	text-align: center;
	color: var(--ls-navy) !important;
	margin: 0 0 12px;
}
.ls-price-intro {
	text-align: center;
	max-width: 46em;
	margin: 0 auto 28px;
	font-size: 1.0625rem;
	line-height: 1.65;
	color: var(--ls-ink);
}

.ls-price-table-wrap {
	display: block;
	overflow-x: auto;
	border: 1px solid var(--ls-line);
	border-radius: 8px;
	background: var(--ls-white);
	box-shadow: 0 4px 12px rgba(0, 35, 75, 0.08);
}
.ls-price-cards {
	display: none;
}

.ls-price-table {
	width: 100%;
	border-collapse: collapse;
	margin: 0;
	font-size: 1rem;
}
.ls-price-table th,
.ls-price-table td {
	padding: 14px 12px;
	border: 1px solid var(--ls-line);
	text-align: left;
	vertical-align: middle;
}
.ls-price-table thead th {
	background: var(--ls-navy);
	color: var(--ls-white);
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 0.8125rem;
	letter-spacing: 0.02em;
	text-transform: none;
}
.ls-price-table tbody th {
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	color: var(--ls-navy);
	background: var(--ls-light);
}
.ls-price-table tbody tr:nth-child(even) td {
	background: #F8FAFC;
}
.ls-price-cta-cell {
	white-space: nowrap;
}
.ls-price-cta-cell .ls-btn {
	margin: 2px 4px 2px 0;
}

.ls-btn-navy-solid {
	background: var(--ls-navy);
	color: var(--ls-white) !important;
	border-color: var(--ls-navy);
}
.ls-btn-navy-solid:hover,
.ls-btn-navy-solid:focus {
	background: #001631;
	border-color: #001631;
	color: var(--ls-white) !important;
}
.ls-btn-small {
	padding: 8px 14px;
	font-size: 13px;
}

.ls-price-card {
	background: var(--ls-white);
	border: 1px solid var(--ls-line);
	border-radius: 8px;
	padding: 20px 18px 18px;
	box-shadow: 0 2px 8px rgba(0, 35, 75, 0.06);
}
.ls-price-card-title {
	margin: 0 0 10px;
	color: var(--ls-navy) !important;
}
.ls-price-card-main {
	margin: 0 0 10px;
	font-family: Montserrat, sans-serif;
	font-weight: 700;
	font-size: 1.125rem;
	color: var(--ls-ink);
}
.ls-price-card-main strong {
	font-weight: 800;
	font-size: 1.5rem;
	color: var(--ls-navy);
}
.ls-price-card-main span {
	font-weight: 600;
	font-size: 0.875rem;
	color: var(--ls-muted);
}
.ls-price-card-permits {
	margin: 0 0 16px;
	padding: 0 0 0 1.1em;
	color: var(--ls-ink);
	font-size: 0.9375rem;
}
.ls-price-card-permits span {
	color: var(--ls-muted);
}
.ls-price-card-actions {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
}
.ls-price-card-actions .ls-btn {
	flex: 1 1 auto;
}

.ls-price-notes {
	margin: 22px auto 0;
	max-width: 46em;
	padding: 0 0 0 1.2em;
	color: var(--ls-ink);
	font-size: 0.9375rem;
	line-height: 1.6;
}
.ls-price-footer-actions {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 12px;
	margin-top: 22px;
}

@media (max-width: 800px) {
	.ls-price-table-wrap {
		display: none;
	}
	.ls-price-cards {
		display: grid;
		grid-template-columns: 1fr;
		gap: 14px;
	}
	.ls-price-footer-actions {
		flex-direction: column;
		align-items: stretch;
	}
	.ls-price-footer-actions .ls-btn {
		width: 100%;
	}
}

/* Footer logo: avoid a harsh white plate if the image has a white canvas */
body.ls-design .site-footer img {
	max-width: 230px;
	height: auto;
	background: var(--ls-white);
	border-radius: 4px;
	padding: 8px;
}
