/*
Theme Name:   Nibbles & Co Child
Theme URI:    https://www.nibblesandco.co.za
Description:  Custom child theme for Nibbles & Co, a corporate, private and school-events catering company based in Gauteng, South Africa. Built on Hello Elementor with ElementsKit Pro and MetForm. Extends the parent with brand typography, an ox-blood colour system, audience-led service page templates, and an enquiry-led conversion layout. Update the parent theme freely - all customisations live here.
Author:       Kemoso
Author URI:   https://kemoso.com
Template:     hello-elementor
Version:      3.9.13
License:      GNU General Public License v3 or later
License URI:  https://www.gnu.org/licenses/gpl-3.0.html
Text Domain:  nibbles-child
Tags:         catering, business, elementor
*/

/* =====================================================================
   BRAND TOKENS
   Values taken from the approved design concept at
   /NibblesCo_Build/design2/ (Elementor global colours), which supersedes
   the inferred palette in the build brief. Logged as a deviation.

   Accessibility: gold #C9A227 on white measures 2.42:1 and FAILS WCAG AA
   at every size. Gold is restricted to the logo mark, rules, dots and
   other non-text accents, and to text on dark ground only.
   ===================================================================== */
:root {
	--nib-primary: #6A0012;        /* ox blood - CTAs, active states */
	--nib-primary-dark: #2E0D0D;   /* hover / deeper brand tone */
	--nib-dark: #2A0808;           /* header bar, dark sections, footer */
	--nib-gold: #C9A227;           /* accents on dark ground only */
	--nib-gold-light: #E8CD82;
	--nib-cream: #F1EDE3;          /* section backgrounds */
	--nib-body: #6E6E6E;           /* body copy on light ground */
	--nib-ink: #2A0808;            /* headings on light ground */
	--nib-white: #FFFFFF;
	--nib-rule: #DADADA;
	--nib-muted: #AEAEAE;

	--nib-font-head: "Bricolage Grotesque", "Helvetica Neue", Arial, sans-serif;
	--nib-font-body: "Lexend", "Helvetica Neue", Arial, sans-serif;

	--nib-maxw: 1200px;
	--nib-gap: clamp(1.25rem, 3vw, 2.5rem);
	--nib-section-y: clamp(2.25rem, 5vw, 4.5rem); /* was 8vw/7rem: 109px a side put 240px of dead space between every section on desktop */ /* floor only binds below 700px, so this trims phone spacing without touching desktop */
	--nib-radius: 14px;
}

/* =====================================================================
   BASE
   ===================================================================== */
body.nibbles {
	font-family: var(--nib-font-body);
	color: var(--nib-body);
	font-size: 1rem;
	line-height: 1.7;
	background: var(--nib-white);
}

.nibbles h1,
.nibbles h2,
.nibbles h3,
.nibbles h4,
.nibbles h5,
.nibbles h6 {
	font-family: var(--nib-font-head);
	color: var(--nib-ink);
	line-height: 1.12;
	letter-spacing: -0.015em;
	font-weight: 700;
	margin: 0 0 0.5em;
}

.nibbles h1 { font-size: clamp(2.25rem, 5.5vw, 4rem); }
.nibbles h2 { font-size: clamp(1.9rem, 4vw, 3rem); }
.nibbles h3 { font-size: clamp(1.5rem, 3vw, 2.25rem); }
.nibbles h4 { font-size: clamp(1.15rem, 2vw, 1.4rem); }

.nibbles a { color: var(--nib-primary); }
.nibbles a:hover,
.nibbles a:focus-visible { color: var(--nib-primary-dark); }

.nibbles :focus-visible {
	outline: 3px solid var(--nib-gold);
	outline-offset: 2px;
}

/* Section eyebrow: small caps label with a gold dot, as per the design */
.nib-eyebrow {
	display: inline-flex;
	align-items: center;
	gap: 0.6em;
	font-family: var(--nib-font-body);
	font-size: 0.78rem;
	font-weight: 600;
	letter-spacing: 0.18em;
	text-transform: uppercase;
	color: var(--nib-primary);
	margin-bottom: 1rem;
}
.nib-section--dark .nib-eyebrow { color: var(--nib-gold); }
.nib-eyebrow::before {
	content: "";
	width: 0.5em;
	height: 0.5em;
	border-radius: 50%;
	background: var(--nib-gold);
	flex: none;
}

.nib-lead { font-size: clamp(1rem, 1.4vw, 1.125rem); max-width: 68ch; }

/* =====================================================================
   BUTTONS
   ===================================================================== */
.nib-btn {
	display: inline-block;
	font-family: var(--nib-font-body);
	font-weight: 600;
	font-size: 0.95rem;
	line-height: 1.2;
	padding: 0.95em 1.9em;
	border-radius: 999px;
	border: 2px solid transparent;
	text-decoration: none;
	transition: background-color .18s ease, color .18s ease, border-color .18s ease;
}
.nib-btn--primary { background: var(--nib-primary); color: var(--nib-white); }
.nib-btn--primary:hover,
.nib-btn--primary:focus-visible { background: var(--nib-primary-dark); color: var(--nib-white); }
.nib-hero .nib-eyebrow { color: var(--nib-gold); }

/* =====================================================================
   CARDS
   ===================================================================== */
.nib-card {
	background: var(--nib-white);
	border: 1px solid var(--nib-rule);
	border-radius: var(--nib-radius);
	padding: clamp(1.5rem, 3vw, 2.25rem);
	/* NOTE: this was height:100%, to equalise cards sharing a row. That
	   resolves against the nearest DEFINITE ancestor height, not the flex
	   row, so wherever the card grid sits inside a column-flex container
	   with a resolved height (Private & Milestone Events, Platters &
	   Prepackaged) EVERY card in EVERY wrapped row took the full grid
	   height -- 2801px boxes around 700px of content, overflowing the
	   document to 12,682px. align-self:stretch equalises each row against
	   the row itself and cannot overflow. */
	align-self: stretch;
}
.nib-card h3,
.nib-card h4 { margin-top: 0; }
.nib-card p:last-child { margin-bottom: 0; }
.nib-section--cream .nib-card { border-color: rgba(42,8,8,0.10); }

/* =====================================================================
   PLACEHOLDER MARKER
   Every outstanding item is visibly flagged so nothing unverified can be
   mistaken for finished client content.
   ===================================================================== */
.nib-placeholder {
	display: block;
	border: 1px dashed #B08900;
	background: #FFF9E6;
	color: #6B5200;
	border-radius: 8px;
	padding: 0.85rem 1.1rem;
	font-family: var(--nib-font-body);
	font-size: 0.85rem;
	line-height: 1.55;
	margin: 0.75rem 0;
}
.nib-section--dark .nib-placeholder { background: rgba(255,249,230,0.10); color: #F4E3B0; }

/* NAP is live text, never an image, and identical sitewide */
.nib-nap { font-style: normal; display: grid; gap: 0.55rem; }
.nib-nap a { color: var(--nib-white); }

/* =====================================================================
   WHATSAPP FLOAT - every page, bottom right
   ===================================================================== */
.nib-whatsapp {
	position: fixed;
	right: clamp(1rem, 3vw, 1.75rem);
	bottom: clamp(1rem, 3vw, 1.75rem);
	z-index: 9999;
	width: 56px;
	height: 56px;
	border-radius: 50%;
	background: #25D366;
	display: grid;
	place-items: center;
	box-shadow: 0 6px 20px rgba(0,0,0,0.28);
}
.nib-whatsapp:hover { background: #1EBE5A; }
.nib-whatsapp svg { width: 30px; height: 30px; fill: #fff; }

@media print {
	.nib-whatsapp { display: none; }
}

/* metform button override */
body.nibbles .mf-form-wrapper .mf-btn {
	background: var(--nib-primary) !important;
	background-image: none !important;
	color: var(--nib-white) !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 0.95em 2.2em !important;
	font-family: var(--nib-font-body) !important;
	font-weight: 600 !important;
}
body.nibbles .mf-form-wrapper .mf-btn:hover {
	background: var(--nib-primary-dark) !important;
}

/* button specificity fix
   `.nibbles a` (0,1,1) outranks `.nib-btn--primary` (0,1,0), which made
   button labels inherit the link colour and disappear on the ox-blood fill. */
.nibbles a.nib-btn { text-decoration: none; }
.nibbles a.nib-btn--primary,
.nibbles a.nib-btn--primary:hover,
.nibbles a.nib-btn--primary:focus-visible { color: var(--nib-white); }
.nibbles .nib-nap a { color: var(--nib-white); }

/* =====================================================================
   ELEMENTSKIT HEADER / FOOTER BUILDER
   Header and footer are ElementsKit templates (Header Footer Builder),
   conditioned to the entire site. These rules style the widgets inside
   them. Structure is edited in Elementor; presentation lives here.
   ===================================================================== */

/* ---------- Header shell ---------- */


.ekit-template-content-header .nib-ekit-logo img,
.ekit-template-content-header .nib-ekit-logo-wrap img {
	display: block;
	height: 52px;
	width: auto;
	max-width: none;
}

.ekit-template-content-header .nib-ekit-logo-wrap p { margin: 0; }
.ekit-template-content-header .nib-ekit-quote-wrap p { margin: 0; }

/* ---------- Nav links ---------- */
.ekit-template-content-header .elementskit-navbar-nav > li > a {
	color: var(--nib-white);
	font-family: var(--nib-font-body);
	font-size: 0.95rem;
	font-weight: 500;
	padding: 0.6em 0.9em;
}
.ekit-template-content-header .elementskit-navbar-nav > li > a:hover,
.ekit-template-content-header .elementskit-navbar-nav > li > a:focus-visible,
.ekit-template-content-header .elementskit-navbar-nav > li.current-menu-item > a,
.ekit-template-content-header .elementskit-navbar-nav > li.current-menu-ancestor > a {
	color: var(--nib-gold);
}

/* Submenu: single column, dark, never a mega menu */
.ekit-template-content-header .elementskit-submenu-panel {
	background: var(--nib-dark);
	border: 1px solid rgba(255,255,255,0.14);
	border-radius: 10px;
	padding: 0.5rem;
	min-width: 265px;
}
.ekit-template-content-header .elementskit-submenu-panel > li > a {
	color: rgba(255,255,255,0.85);
	font-family: var(--nib-font-body);
	font-size: 0.9rem;
	padding: 0.65em 0.8em;
	border-radius: 6px;
}
.ekit-template-content-header .elementskit-submenu-panel > li > a:hover,
.ekit-template-content-header .elementskit-submenu-panel > li > a:focus-visible {
	color: var(--nib-gold);
	background: rgba(255,255,255,0.08);
}

/* Hamburger */
.ekit-template-content-header .elementskit-menu-hamburger {
	background: transparent;
	border: 0;
	padding: 0.35rem;
}
.ekit-template-content-header .elementskit-menu-hamburger .elementskit-menu-hamburger-icon {
	background-color: var(--nib-white);
	height: 2px;
}
.ekit-template-content-header .elementskit-menu-close {
	color: var(--nib-white);
	border-color: rgba(255,255,255,0.3);
}

/* Mobile panel */
@media (max-width: 1024px) {
	.ekit-template-content-header .elementskit-menu-container {
		background: var(--nib-dark);
	}
	.ekit-template-content-header .elementskit-navbar-nav > li > a { padding: 0.85em 0.5em; }
	.ekit-template-content-header .elementskit-submenu-panel {
		border: 0;
		padding-left: 0.75rem;
		min-width: 0;
	}
	.ekit-template-content-header .nib-ekit-logo img,
.ekit-template-content-header .nib-ekit-logo-wrap img { height: 42px; }
	/* The quote button is a separate widget, so it stays visible on mobile
	   outside the hamburger, as the client confirmed. */
	.ekit-template-content-header .nib-ekit-quote-wrap { order: 2; }
	.ekit-template-content-header .nib-ekit-quote { padding: 0.6em 1.1em; font-size: 0.85rem; }
}

/* ---------- Footer ---------- */
.ekit-template-content-footer {
	background: var(--nib-dark);
	color: rgba(255,255,255,0.78);
}
.ekit-template-content-footer,
.ekit-template-content-footer p,
.ekit-template-content-footer li,
.ekit-template-content-footer address {
	font-family: var(--nib-font-body);
	color: rgba(255,255,255,0.78);
	font-size: 0.95rem;
}
.ekit-template-content-footer .nib-ftr-head .elementor-heading-title,
.ekit-template-content-footer h4 {
	color: var(--nib-white);
	font-family: var(--nib-font-head);
	font-size: 1.05rem;
	margin-bottom: 0.9rem;
}
.ekit-template-content-footer a { color: rgba(255,255,255,0.78); text-decoration: none; }
.ekit-template-content-footer a:hover,
.ekit-template-content-footer a:focus-visible { color: var(--nib-gold); }

.ekit-template-content-footer .nib-ftr-logo img {
	height: 60px;
	width: auto;
	margin-bottom: 1.1rem;
}

.ekit-template-content-footer .nib-ftr-list {
	list-style: none;
	margin: 0;
	padding: 0;
	display: grid;
	gap: 0.6rem;
}

/* NAP renders as live text, never an image, identical on every page. */
.ekit-template-content-footer .nib-nap {
	font-style: normal;
	display: grid;
	gap: 0.55rem;
}
.ekit-template-content-footer .nib-nap a { color: var(--nib-white); }

.ekit-template-content-footer .nib-ftr-legal-list {
	list-style: none;
	margin: 0 0 0.75rem;
	padding: 0;
	display: flex;
	flex-wrap: wrap;
	gap: 0.6rem 1.4rem;
	font-size: 0.88rem;
}

@media (max-width: 767px) {
	.ekit-template-content-footer .e-con-inner > .e-con { width: 100%; }
}

/* ekit nav colour overrides
   ElementsKit ships its own .ekit-menu-nav-link colour (#707070) from a
   later stylesheet, so these have to win explicitly. */
.ekit-template-content-header .elementskit-navbar-nav > li > a.ekit-menu-nav-link,
.ekit-template-content-header .elementskit-navbar-nav > li > a {
	color: var(--nib-white) !important;
	font-family: var(--nib-font-body) !important;
	font-size: 0.95rem !important;
	font-weight: 500 !important;
}

.ekit-template-content-header .elementskit-navbar-nav > li > a.ekit-menu-nav-link:hover,
.ekit-template-content-header .elementskit-navbar-nav > li > a.ekit-menu-nav-link:focus-visible,
.ekit-template-content-header .elementskit-navbar-nav > li.current-menu-item > a.ekit-menu-nav-link,
.ekit-template-content-header .elementskit-navbar-nav > li.current-menu-ancestor > a.ekit-menu-nav-link {
	color: var(--nib-gold) !important;
}

.ekit-template-content-header .elementskit-submenu-panel > li > a.ekit-menu-nav-link {
	color: rgba(255,255,255,0.85) !important;
	font-size: 0.9rem !important;
}

.ekit-template-content-header .elementskit-submenu-panel > li > a.ekit-menu-nav-link:hover,
.ekit-template-content-header .elementskit-submenu-panel > li > a.ekit-menu-nav-link:focus-visible {
	color: var(--nib-gold) !important;
	background: rgba(255,255,255,0.08) !important;
}

.ekit-template-content-header .elementskit-submenu-indicator {
	color: inherit !important;
}

/* Footer text colours also need to beat ElementsKit defaults. */
.ekit-template-content-footer .elementor-widget-text-editor,
.ekit-template-content-footer .elementor-widget-text-editor p,
.ekit-template-content-footer .elementor-widget-text-editor li,
.ekit-template-content-footer address {
	color: rgba(255,255,255,0.78) !important;
}

.ekit-template-content-footer .elementor-widget-heading .elementor-heading-title {
	color: var(--nib-white) !important;
	font-family: var(--nib-font-head) !important;
	font-size: 1.05rem !important;
}

.ekit-template-content-footer a { color: rgba(255,255,255,0.78) !important; }
.ekit-template-content-footer a:hover,
.ekit-template-content-footer a:focus-visible { color: var(--nib-gold) !important; }
.ekit-template-content-footer .nib-nap a { color: var(--nib-white) !important; }
.ekit-template-content-footer .nib-placeholder { color: #6B5200 !important; }

/* ekit submenu panel overrides
   ElementsKit's own panel styling is deeply nested, so match its depth. */
.ekit-template-content-header .elementskit-navbar-nav .elementskit-dropdown-has .elementskit-submenu-panel,
.ekit-template-content-header .elementskit-navbar-nav li .elementskit-submenu-panel,
.ekit-template-content-header .elementskit-submenu-panel {
	background-color: var(--nib-dark) !important;
	border: 1px solid rgba(255,255,255,0.14) !important;
	border-radius: 10px !important;
	padding: 0.5rem !important;
	min-width: 265px !important;
	box-shadow: 0 12px 34px rgba(0,0,0,0.35) !important;
}

.ekit-template-content-header .elementskit-navbar-nav .elementskit-submenu-panel > li > a,
.ekit-template-content-header .elementskit-navbar-nav .elementskit-submenu-panel > li > a.ekit-menu-nav-link,
.ekit-template-content-header .elementskit-submenu-panel li a {
	color: rgba(255,255,255,0.85) !important;
	background-color: transparent !important;
	font-family: var(--nib-font-body) !important;
	font-size: 0.9rem !important;
	padding: 0.65em 0.8em !important;
	border-radius: 6px !important;
}

.ekit-template-content-header .elementskit-navbar-nav .elementskit-submenu-panel > li > a:hover,
.ekit-template-content-header .elementskit-navbar-nav .elementskit-submenu-panel > li > a:focus-visible,
.ekit-template-content-header .elementskit-submenu-panel li a:hover {
	color: var(--nib-gold) !important;
	background-color: rgba(255,255,255,0.08) !important;
}

/* Mobile: the panel sits inline inside the offcanvas, so drop the card look. */
@media (max-width: 1024px) {
	.ekit-template-content-header .elementskit-submenu-panel {
		border: 0 !important;
		box-shadow: none !important;
		border-radius: 0 !important;
		min-width: 0 !important;
		padding-left: 0.75rem !important;
	}
	.ekit-template-content-header .elementskit-menu-container {
		background-color: var(--nib-dark) !important;
	}
}

/* ekit header/footer layout
   Elementor container children need explicit flex behaviour to sit as a
   four-up footer row that collapses cleanly on smaller screens. */
.ekit-template-content-header > .elementor > .e-con > .e-con {
	max-width: 1200px;
	margin-inline: auto;
	width: 100%;
}

/* Placeholder chips must not stretch the column. */
.ekit-template-content-footer .nib-placeholder {
	display: block;
	font-size: 0.78rem;
	line-height: 1.5;
}

/* ekit header/footer layout v2
   Elementor does not emit custom CSS classes on container elements here,
   so target the container structure it does render:
     .e-parent > .e-con-boxed > .e-con-inner > .e-con (columns)
   ===================================================================== */

/* Header row: logo left, nav centre-right, quote button right. */
.ekit-template-content-header .e-con-boxed > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 1.5rem !important;
	max-width: 1200px;
	margin-inline: auto;
	width: 100%;
}

/* Footer: first boxed child holds the four columns. */
.ekit-template-content-footer .e-parent > .e-con-boxed:first-child > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: flex-start !important;
	gap: 2.5rem 2rem !important;
	max-width: 1200px;
	margin-inline: auto;
	width: 100%;
}

.ekit-template-content-footer .e-parent > .e-con-boxed:first-child > .e-con-inner > .e-con {
	flex: 1 1 210px !important;
	min-width: 210px;
	max-width: none;
	width: auto;
}

/* Legal strip: full width, separated by a hairline. */
.ekit-template-content-footer .e-parent > .e-con-boxed:last-child > .e-con-inner {
	max-width: 1200px;
	margin-inline: auto;
	width: 100%;
}

.ekit-template-content-footer .e-parent > .e-con-boxed:last-child {
	border-top: 1px solid rgba(255,255,255,0.14);
	margin-top: 2.5rem;
}

.ekit-template-content-footer .nib-placeholder {
	display: block;
	font-size: 0.78rem;
	line-height: 1.5;
}

@media (max-width: 767px) {
	.ekit-template-content-footer .e-parent > .e-con-boxed:first-child > .e-con-inner > .e-con {
		flex: 1 1 100% !important;
		min-width: 0;
	}
}

/* Footer legal strip
   Legal links, then the ElementsKit Pro copyright module, then the POPIA
   Information Officer disclosure. */
.ekit-template-content-footer .e-parent > .e-con-boxed:last-child > .e-con-inner {
	display: flex;
	flex-direction: column;
	gap: 0.65rem;
	padding-block: 1.5rem;
}

.ekit-template-content-footer .nib-ftr-copyright p,
.ekit-template-content-footer .nib-ftr-copyright {
	font-size: 0.85rem !important;
	color: rgba(255,255,255,0.6) !important;
	margin: 0 !important;
}

.ekit-template-content-footer .nib-ftr-io .nib-placeholder {
	display: inline-block;
	margin-top: 0.35rem;
}

.ekit-template-content-footer .nib-ftr-legal-links ul {
	margin-bottom: 0;
}

/* =====================================================================
   FULL-WIDTH SECTIONS
   Hello Elementor constrains .site-main to a content width, which was
   insetting our section backgrounds. Sections now span edge to edge and
   .nib-wrap holds the 1200px reading measure inside them.
   ===================================================================== */
.nibbles .site-main,
.nibbles main.site-main,
.nibbles .page-content,
.nibbles .entry-content,
.nibbles .entry-content > .wp-block-group,
.nibbles .site-main > article,
.nibbles .site-main > .page-content {
	max-width: none !important;
	width: 100% !important;
	margin-inline: 0 !important;
	padding-inline: 0 !important;
}

.nibbles .site-main > article > .page-content > *,
.nibbles .entry-content > * {
	max-width: none;
}

/* Hello Elementor pads the page wrapper; sections manage their own space. */
.nibbles .site-main {
	padding-block: 0 !important;
}

/* =====================================================================
   BUTTON HOVER
   The previous hover fill (#2E0D0D) sat almost on top of the dark hero
   background, so the primary button visually disappeared. Hover now
   darkens the fill AND adds a white border so the control stays legible
   on dark, cream and white grounds alike.
   ===================================================================== */
.nibbles a.nib-btn--primary:hover,
.nibbles a.nib-btn--primary:focus-visible,
.nibbles .nib-ekit-quote:hover,
.nibbles .nib-ekit-quote:focus-visible,
.ekit-template-content-header .nib-ekit-quote:hover {
	background: var(--nib-primary-dark) !important;
	border: 2px solid var(--nib-white) !important;
	color: var(--nib-white) !important;
}

/* Keep the resting state the same height as the hovered state so the
   layout does not shift when the border appears. */
.nibbles a.nib-btn--primary,
.nibbles .nib-ekit-quote {
	border: 2px solid transparent;
}

/* MetForm submit button gets the same treatment. */
body.nibbles .mf-form-wrapper .mf-btn:hover {
	background: var(--nib-primary-dark) !important;
	border: 2px solid var(--nib-white) !important;
	color: var(--nib-white) !important;
}

/* =====================================================================
   ELEMENTOR V4 BUTTON HOVER (added 10 November 2026)
   None of the site's 24 atomic e-button widgets carries a hover variant,
   so `.nibbles a:hover` (specificity 0-2-1) outranks each button's own
   local class (0-1-0) and repaints the label --nib-primary-dark. On the
   solid ox-blood fill that is #2E0D0D on #6A0012 -- about 1.3:1, so the
   label effectively vanishes. Eighteen of the twenty-four were affected.
   Hold the resting colour on hover instead.
   The durable fix is a hover variant on each widget in Elementor; this
   rule is what keeps them legible until that is done.
   ===================================================================== */
.nibbles a.e-button-base:hover,
.nibbles a.e-button-base:focus-visible {
	color: var(--nib-white) !important;
}

/* Link-style buttons carry an ox-blood label on a light ground, so for
   these the darkening is correct and must survive the rule above. Same
   specificity, declared later, so these win. */
.nibbles a.card-private-link:hover,
.nibbles a.card-private-link:focus-visible,
.nibbles a.card-corporate-link:hover,
.nibbles a.card-corporate-link:focus-visible,
.nibbles a.card-platters-link:hover,
.nibbles a.card-platters-link:focus-visible,
.nibbles a.pm-b6:hover,
.nibbles a.pm-b6:focus-visible,
.nibbles a.ce-school:hover,
.nibbles a.ce-school:focus-visible,
.nibbles a.ce-cta-b:hover,
.nibbles a.ce-cta-b:focus-visible {
	color: var(--nib-primary-dark) !important;
}

/* =====================================================================
   SUBMENU CURRENT-PAGE ITEM (added 10 November 2026)
   ElementsKit writes its own default #707070 into post-241.css for the
   current submenu item -- the nav widget has no colour settings at all,
   this is the plugin default -- with !important and a selector carrying
   the widget's element id, so it outranks the header colour rules above.
   On the dark header that is 3.73:1 at 14.4px/400, below AA. Gold is how
   the top-level current item already renders (7.64:1), so the submenu
   now matches it. ElementsKit's selector scores (0,6,2) -- .elementor-241,
   .elementor-element, .elementor-element-53be450b, .elementskit-navbar-nav,
   .elementskit-submenu-panel, .current-menu-item -- so this one doubles up
   on classes the same elements already carry (.elementskit-dropdown and
   .nav-item) to reach (0,7,4) rather than hardcoding that element id,
   which would break if the nav widget were ever rebuilt.
   ===================================================================== */
html body.nibbles .ekit-template-content-header .elementskit-navbar-nav .elementskit-dropdown.elementskit-submenu-panel > li.current-menu-item.nav-item > a {
	color: var(--nib-gold) !important;
}

/* Keep hover feedback on the current item, which the rule above would
   otherwise outrank. */
html body.nibbles .ekit-template-content-header .elementskit-navbar-nav .elementskit-dropdown.elementskit-submenu-panel > li.current-menu-item.nav-item > a:hover,
html body.nibbles .ekit-template-content-header .elementskit-navbar-nav .elementskit-dropdown.elementskit-submenu-panel > li.current-menu-item.nav-item > a:focus-visible {
	color: var(--nib-gold-light) !important;
}

/* =====================================================================
   OCCASIONS GRID (added 10 November 2026)
   "Occasions We Cater" on Private & Milestone Events reads as a row of
   four centred cells, icon above label, rather than a vertical list.
   It stays an Elementor Icon List so the client can still add, reorder
   and re-icon the items in the builder -- only presentation lives here.
   Icon size, colour and alignment remain widget settings; Elementor's
   per-widget CSS carries a higher specificity than this file and would
   win anyway, so they are deliberately not duplicated below.
   ===================================================================== */
.nib-occasions .elementor-icon-list-items {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: clamp(1rem, 2.5vw, 2rem);
	margin: 0;
	padding: 0;
	list-style: none;
}

.nib-occasions .elementor-icon-list-item {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: flex-start;
	text-align: center;
	gap: 0.65rem;
	margin: 0;
	padding: 0;
}

/* Elementor spaces the icon from the label for a horizontal list; that
   inline margin would knock the stacked version off centre. */
.nib-occasions .elementor-icon-list-icon {
	margin: 0;
	padding: 0;
	display: flex;
	align-items: center;
	justify-content: center;
}

.nib-occasions .elementor-icon-list-text {
	padding: 0;
	line-height: 1.35;
}

/* Four across is too tight for a phone; two keeps the labels readable. */
@media (max-width: 767px) {
	.nib-occasions .elementor-icon-list-items {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

.nib-legal__meta {
	font-size: 0.9rem;
	color: var(--nib-body);
	border-left: 3px solid var(--nib-gold);
	padding: 0.5rem 0 0.5rem 1rem;
	margin-bottom: 2rem;
}

.nib-legal__review {
	border: 1px dashed #B08900;
	background: #FFF9E6;
	color: #6B5200;
	border-radius: 8px;
	padding: 1rem 1.15rem;
	font-size: 0.88rem;
	line-height: 1.6;
	margin-block: 2rem;
}

.nib-legal__review strong { color: #5A4500; }

/* =====================================================================
   HEADER: OVERLAY, SCALE AND SHRINK-ON-SCROLL
   Measured from the approved design concept: the header stands at 184px
   with a large logo mark and compresses to 100px once the page scrolls.
   At rest it overlays the hero on a semi-transparent ground; on scroll it
   becomes solid so nav text stays legible over page content.
   ===================================================================== */
:root {
	--nib-header-h: 184px;
	--nib-header-h-shrunk: 100px;
}

@media (max-width: 1024px) {
	:root { --nib-header-h: 120px; --nib-header-h-shrunk: 84px; }
}

@media (max-width: 767px) {
	:root { --nib-header-h: 92px; --nib-header-h-shrunk: 68px; }
}

.ekit-template-content-header {
	position: fixed;
	top: 0;
	left: 0;
	right: 0;
	z-index: 999;
	background-color: rgba( 42, 8, 8, 0.45 );
	-webkit-backdrop-filter: blur( 8px );
	backdrop-filter: blur( 8px );
	transition: background-color .28s ease, box-shadow .28s ease;
}

/* The Elementor container carries its own fill; the wrapper owns it now
   so the transparent and solid states can be controlled in one place. */
.ekit-template-content-header .e-con.e-parent {
	background-color: transparent !important;
}

.ekit-template-content-header.is-shrunk {
	background-color: var(--nib-dark);
	box-shadow: 0 6px 24px rgba( 0, 0, 0, 0.28 );
}

.ekit-template-content-header .e-con-boxed > .e-con-inner {
	padding-block: 8px !important;
	transition: padding-block .28s ease;
}

.ekit-template-content-header .nib-ekit-logo img,
.ekit-template-content-header .nib-ekit-logo-wrap img {
	height: calc( var(--nib-header-h) - 16px );
	width: auto;
	transition: height .28s ease;
	will-change: height;
}

.ekit-template-content-header.is-shrunk .nib-ekit-logo img,
.ekit-template-content-header.is-shrunk .nib-ekit-logo-wrap img {
	height: calc( var(--nib-header-h-shrunk) - 16px );
}

/* Pages whose first block is not a hero still need the offset. */


@media (prefers-reduced-motion: reduce) {
	.ekit-template-content-header,
.ekit-template-content-header .e-con-boxed > .e-con-inner,
.ekit-template-content-header .nib-ekit-logo img,
.ekit-template-content-header .nib-ekit-logo-wrap img {
		transition: none;
	}
}

/* =====================================================================
   HAMBURGER LEGIBILITY
   ElementsKit ships the bars at rgba(0,0,0,0.5), which is close to
   invisible on the dark header. They must read as white.
   ===================================================================== */
.ekit-template-content-header .elementskit-menu-hamburger .elementskit-menu-hamburger-icon,
.ekit-template-content-header .elementskit-menu-hamburger span,
.ekit-template-content-header button.elementskit-menu-toggler .elementskit-menu-hamburger-icon {
	background-color: var(--nib-white) !important;
	border-color: var(--nib-white) !important;
	height: 2px !important;
	opacity: 1 !important;
}

.ekit-template-content-header .elementskit-menu-hamburger {
	background: transparent !important;
	border: 0 !important;
	color: var(--nib-white) !important;
	padding: 0.4rem !important;
}

.ekit-template-content-header .elementskit-menu-close {
	color: var(--nib-white) !important;
	border-color: rgba(255,255,255,0.35) !important;
	background: transparent !important;
}

/* =====================================================================
   LINK COLOUR SYSTEM
   Ox blood on light grounds, light gold on dark grounds, site-wide.
   Gold #C9A227 is reserved for non-text accents; #E8CD82 is the lighter
   tint used for text on dark, where it carries far more contrast.
   ===================================================================== */
.nibbles a {
	color: var(--nib-primary);
}

.nibbles a:hover,
.nibbles a:focus-visible {
	color: var(--nib-primary-dark);
}

/* Dark grounds: hero, dark sections, the ox-blood CTA band, the footer
   and the header dropdown. */
.nibbles .nib-hero a:not(.nib-btn),
.nibbles .nib-section--dark a:not(.nib-btn),
.nibbles .nib-cta a:not(.nib-btn),
.nibbles .nib-card--dark a:not(.nib-btn),
.ekit-template-content-footer a,
.ekit-template-content-header .elementskit-submenu-panel a {
	color: var(--nib-gold-light) !important;
}

.nibbles .nib-hero a:not(.nib-btn):hover,
.nibbles .nib-section--dark a:not(.nib-btn):hover,
.nibbles .nib-cta a:not(.nib-btn):hover,
.nibbles .nib-card--dark a:not(.nib-btn):hover,
.ekit-template-content-footer a:hover,
.ekit-template-content-footer a:focus-visible,
.ekit-template-content-header .elementskit-submenu-panel a:hover {
	color: var(--nib-white) !important;
}

/* NAP stays white so the phone and email read as primary contact detail,
   not as ordinary body links. */
.ekit-template-content-footer .nib-nap a {
	color: var(--nib-white) !important;
}

.ekit-template-content-footer .nib-nap a:hover {
	color: var(--nib-gold-light) !important;
}

/* Placeholder chips keep their own amber-on-cream palette everywhere. */
.nibbles .nib-placeholder,
.ekit-template-content-footer .nib-placeholder {
	color: #6B5200 !important;
}

/* =====================================================================
   MOBILE OFF-CANVAS PANEL
   ElementsKit sizes the off-canvas panel against its positioned parent.
   Once the header became position:fixed at 92px, the panel inherited that
   height and clipped its own items behind overflow:hidden - the menu
   opened but appeared empty. It needs the full viewport.
   ===================================================================== */
@media (max-width: 1024px) {
	.ekit-template-content-header .elementskit-menu-container {
		position: fixed !important;
		top: 0 !important;
			height: 100vh !important;
		height: 100dvh !important;
		max-height: 100vh !important;
		max-height: 100dvh !important;
		overflow-y: auto !important;
		overflow-x: hidden !important;
		padding-top: calc( var(--nib-header-h-shrunk) + 1.25rem ) !important;
		padding-bottom: 2rem !important;
		background-color: var(--nib-dark) !important;
		z-index: 1000 !important;
	}

	.ekit-template-content-header .elementskit-navbar-nav {
		height: auto !important;
		overflow: visible !important;
	}

	.ekit-template-content-header .elementskit-navbar-nav > li {
		border-bottom: 1px solid rgba( 255, 255, 255, 0.08 );
	}

	.ekit-template-content-header .elementskit-navbar-nav > li > a {
		padding: 0.95em 1.25rem !important;
		font-size: 1.05rem !important;
	}

	.ekit-template-content-header .elementskit-submenu-panel > li > a {
		padding: 0.75em 1.25rem 0.75em 2.25rem !important;
	}

	/* Close control sits clear of the logo and stays tappable. */
	.ekit-template-content-header .elementskit-menu-close {
		position: absolute !important;
		top: 1rem !important;
		right: 1rem !important;
		z-index: 2 !important;
		min-width: 44px;
		min-height: 44px;
	}
}

/* =====================================================================
   FADE REVEAL
   Gentle entrance matching the approved design concept. Items sharing a
   row are staggered by --nib-delay so a grid resolves in sequence.

   The hidden state only applies once the script has added
   .nib-reveal-ready to <html>, so content is never hidden if JavaScript
   fails, and the whole effect is skipped for reduced-motion visitors.
   ===================================================================== */
.nib-reveal-ready .nib-reveal {
	opacity: 0;
	transform: translateY( 14px );
	will-change: opacity, transform;
	transition:
		opacity .55s cubic-bezier(.22,.61,.36,1) var(--nib-delay, 0ms),
		transform .55s cubic-bezier(.22,.61,.36,1) var(--nib-delay, 0ms);
}

.nib-reveal-ready .nib-reveal.is-in {
	opacity: 1;
	transform: none;
	/* Release the compositor layer once the element has arrived. The
	   gallery reveals 63 tiles; holding will-change on all of them
	   pins 63 layers in memory for the life of the page. */
	will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
	.nib-reveal-ready .nib-reveal {
		opacity: 1 !important;
		transform: none !important;
		transition: none !important;
	}
}

/* =====================================================================
   OFF-CANVAS DETAIL FIXES
   The close control was landing on the first menu row, and the submenu
   indicator was inheriting a pill-shaped button style.
   ===================================================================== */


.ekit-template-content-header .elementskit-submenu-indicator {
	background: transparent !important;
	background-color: transparent !important;
	border: 0 !important;
	border-radius: 0 !important;
	box-shadow: none !important;
	color: inherit !important;
	width: auto !important;
	height: auto !important;
	min-width: 0 !important;
	padding: 0 0 0 0.4em !important;
	font-size: 0.8em !important;
	line-height: 1 !important;
	opacity: 0.9;
}

.ekit-template-content-header .elementskit-dropdown-has > a:hover .elementskit-submenu-indicator {
	color: inherit !important;
}

/* =====================================================================
   OFF-CANVAS CLOSE CONTROL
   The close button is absolutely positioned inside the identity panel,
   which the container's padding was pushing down onto the first menu
   row. The panel now reserves its own band at the top of the overlay.

   The overlay covers the header, so items can start near the top edge.
   ===================================================================== */
@media (max-width: 1024px) {
	.ekit-template-content-header .elementskit-menu-container {
		padding-top: 1.25rem !important;
	}

	.ekit-template-content-header .elementskit-nav-identity-panel {
		position: relative !important;
		min-height: 64px !important;
		display: block !important;
	}

	.ekit-template-content-header .elementskit-menu-close {
		position: absolute !important;
		top: 4px !important;
		right: 16px !important;
		min-width: 44px;
		min-height: 44px;
		display: grid;
		place-items: center;
		color: var(--nib-white) !important;
		background: transparent !important;
		border: 1px solid rgba( 255, 255, 255, 0.35 ) !important;
		border-radius: 6px !important;
	}

	.ekit-template-content-header .elementskit-menu-close:hover,
.ekit-template-content-header .elementskit-menu-close:focus-visible {
		border-color: var(--nib-gold-light) !important;
		color: var(--nib-gold-light) !important;
	}
}

@keyframes nibHeroFade {
	0% { opacity: 0; transform: scale(1.02); }
	6% { opacity: 1; }
	33% { opacity: 1; transform: scale(1.10); }
	39% { opacity: 0; }
	100% { opacity: 0; transform: scale(1.10); }
}

@keyframes nibHeroFade {
	0% { opacity: 0; transform: scale( 1.04 ); }
	3% { opacity: 1; }
	20% { opacity: 1; transform: scale( 1.10 ); }
	23% { opacity: 0; transform: scale( 1.10 ); }
	100% { opacity: 0; transform: scale( 1.04 ); }
}

/* =====================================================================
   FOOTER LEGAL STRIP - SINGLE ROW
   Legal links sit left, the copyright and build credit sit right, on the
   same line. The Information Officer disclosure takes its own row below,
   since it carries a placeholder chip and needs the width.
   Supersedes the earlier column layout for this container.
   ===================================================================== */
.ekit-template-content-footer .e-parent > .e-con-boxed:last-child > .e-con-inner {
	display: flex !important;
	flex-direction: row !important;
	flex-wrap: wrap !important;
	align-items: center !important;
	justify-content: space-between !important;
	gap: 0.85rem 2rem !important;
}

.ekit-template-content-footer .nib-ftr-legal-links {
	flex: 0 1 auto;
	margin: 0;
}

.ekit-template-content-footer .nib-ftr-legal-links ul {
	margin: 0;
}

.ekit-template-content-footer .nib-ftr-copyright {
	flex: 0 1 auto;
	margin-left: auto;
	text-align: right;
}

/* Stack and left-align once the two halves no longer fit side by side. */
@media (max-width: 900px) {
	.ekit-template-content-footer .e-parent > .e-con-boxed:last-child > .e-con-inner {
		flex-direction: column !important;
		align-items: flex-start !important;
		gap: 0.85rem !important;
	}

	.ekit-template-content-footer .nib-ftr-copyright {
		margin-left: 0;
		text-align: left;
	}
}

/* =====================================================================
   FOOTER SOCIAL ICONS
   Circular icon buttons replacing the plain text links. Each carries an
   aria-label naming the platform, since the glyph alone is not a name,
   and each meets the 44px minimum touch target.
   ===================================================================== */
.nib-social {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin-top: 1rem;
}

.ekit-template-content-footer .nib-social__link {
	display: grid;
	place-items: center;
	width: 44px;
	height: 44px;
	border-radius: 50%;
	border: 1px solid rgba( 255, 255, 255, 0.22 );
	color: rgba( 255, 255, 255, 0.82 ) !important;
	text-decoration: none;
	transition: background-color .2s ease, border-color .2s ease, color .2s ease, transform .2s ease;
}

.ekit-template-content-footer .nib-social__link svg {
	width: 20px;
	height: 20px;
	display: block;
}

.ekit-template-content-footer .nib-social__link:hover,
.ekit-template-content-footer .nib-social__link:focus-visible {
	background: var(--nib-primary);
	border-color: var(--nib-gold-light);
	color: var(--nib-white) !important;
	transform: translateY( -2px );
}

.ekit-template-content-footer .nib-social__link:focus-visible {
	outline: 3px solid var(--nib-gold);
	outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce) {
	.ekit-template-content-footer .nib-social__link { transition: none; }
	.ekit-template-content-footer .nib-social__link:hover { transform: none; }
}

/* =====================================================================
   OFF-CANVAS OPEN/CLOSED STATE
   The panel geometry above is correct, but it was also pinning the panel
   at left:0 in BOTH states. ElementsKit shows the panel by adding .active
   and hides it by removing that class, so a hard left:0 left the menu
   permanently open and made the close button look broken - it was
   removing .active correctly, with no visible effect.

   The panel is now parked off-canvas and slides in only when .active is
   present. visibility:hidden while closed keeps it out of the
   accessibility tree and stops the off-screen panel swallowing taps.
   ===================================================================== */
@media (max-width: 1024px) {
	.ekit-template-content-header .elementskit-menu-container {
		left: 0 !important;
		transform: translateX(-100%) !important;
		visibility: hidden !important;
		transition: transform 0.3s ease, visibility 0s linear 0.3s !important;
	}

	.ekit-template-content-header .elementskit-menu-container.active {
		transform: translateX(0) !important;
		visibility: visible !important;
		transition: transform 0.3s ease, visibility 0s !important;
	}

	@media (prefers-reduced-motion: reduce) {
		.ekit-template-content-header .elementskit-menu-container,
.ekit-template-content-header .elementskit-menu-container.active {
			transition: none !important;
		}
	}
}

/* =====================================================================
   SUBMENU INDICATOR IS AN SVG
   ElementsKit renders the dropdown chevron as an inline <svg>, whose path
   carries no fill attribute - so it falls back to black and all but
   disappears against the ox-blood panel. The existing rules set `color`,
   which an SVG path ignores. It needs `fill`.
   ===================================================================== */
.ekit-template-content-header svg.elementskit-submenu-indicator,
.ekit-template-content-header .elementskit-submenu-indicator svg,
.ekit-template-content-header svg.elementskit-submenu-indicator path,
.ekit-template-content-header .elementskit-submenu-indicator path {
	fill: currentColor !important;
	stroke: none !important;
}

.ekit-template-content-header .elementskit-submenu-indicator {
	opacity: 1 !important;
	color: var(--nib-gold-light) !important;
}

.ekit-template-content-header .elementskit-dropdown-has > a:hover .elementskit-submenu-indicator,
.ekit-template-content-header .elementskit-dropdown-has > a:focus-visible .elementskit-submenu-indicator {
	color: var(--nib-white) !important;
}

/* No rotate-on-open rule here: ElementsKit toggles the submenu's inline
   display rather than adding a class to the <li>, so there is no state for
   CSS to hook onto. The gold chevron carries the affordance on its own. */


/* The chevron was rendering at 42px wide - ElementsKit sizes the SVG from
   its intrinsic box, and the earlier width:auto let it run large. Cap it.
   The tap target is unaffected: the whole menu row toggles the submenu,
   not the glyph. */
.ekit-template-content-header .elementskit-submenu-indicator,
.ekit-template-content-header svg.elementskit-submenu-indicator {
	width: 20px !important;
	height: 20px !important;
	max-width: 20px !important;
	max-height: 20px !important;
	flex: 0 0 auto;
}


/* =====================================================================
   LINE BREAKING
   Headings and leads are capped to a short measure, so they wrap early
   and the remainder kept landing as a one-word last line - "referral.",
   "an experience.", "price list.". Nothing inserts breaks; it is simply
   where the measure falls.

   `balance` evens the line lengths across a block. `pretty` leaves the
   lines alone but refuses to strand the final word. Both are progressive
   enhancement - browsers without them wrap exactly as before.

   The split by width matters: balancing a paragraph inside a 335px phone
   column visibly insets it. The box stays full width but the text stops
   around 85px short, which reads as a narrower column. Running text
   therefore only balances from 700px up; below that it gets `pretty`,
   which fixes orphans without costing any measure.
   ===================================================================== */
.nibbles h1,
.nibbles h2,
.nibbles h3,
.nibbles h4 {
	text-wrap: balance;
}

.nibbles .nib-lead,
.nibbles .nib-card p {
	text-wrap: pretty;
}

@media (min-width: 700px) {
	.nibbles .nib-lead,
.nibbles .nib-card p {
		text-wrap: balance;
	}
}

/* Elementor-built pages manage their own full-bleed sections and header
   clearance, so the gutter safety net above must not touch them. Without
   this the .elementor wrapper picked up a 232px top margin that collapsed
   through <body>, pushing the page out from under the fixed header and
   leaving the semi-transparent menu bar sitting on nothing. */
.nibbles .elementor {
	width: 100%;
	max-width: none;
	margin: 0;
}


/* =====================================================================
   LEGAL BODY TYPOGRAPHY (Elementor text-editor)
   The legal pages now hold their body copy in a single v3 text-editor
   widget, so the old .nib-legal scoping no longer reaches the headings
   inside it and they fell back to the global h2 size - up to 48px for a
   sub-heading in a clause list. These mirror the measure and rhythm the
   .nib-legal wrapper used to give them.
   ===================================================================== */
.nibbles .elementor-widget-text-editor h2 {
	font-size: clamp(1.3rem, 2vw, 1.6rem);
	line-height: 1.25;
	margin-top: 2.25rem;
	margin-bottom: 0.6rem;
}

.nibbles .elementor-widget-text-editor h3 {
	font-size: clamp(1.05rem, 1.5vw, 1.15rem);
	line-height: 1.3;
	margin-top: 1.6rem;
	margin-bottom: 0.4rem;
}

.nibbles .elementor-widget-text-editor h4 {
	font-size: 1rem;
	margin-top: 1.25rem;
	margin-bottom: 0.35rem;
}

.nibbles .elementor-widget-text-editor p,
.nibbles .elementor-widget-text-editor li {
	line-height: 1.75;
	text-wrap: pretty;
}

.nibbles .elementor-widget-text-editor ol,
.nibbles .elementor-widget-text-editor ul {
	padding-left: 1.25rem;
	display: grid;
	gap: 0.6rem;
	margin-block: 0.75rem 1.25rem;
}

/* The review notes and outstanding-content markers carried over from the
   hand-built pages keep their treatment inside the widget. */
.nibbles .elementor-widget-text-editor .nib-legal__meta {
	font-size: 0.9rem;
	color: var(--nib-muted);
	margin-bottom: 1.5rem;
}

.nibbles .elementor-widget-text-editor .nib-legal__review {
	margin: 1.75rem 0;
	padding: 1.25rem 1.5rem;
	background: var(--nib-cream);
	border-left: 4px solid var(--nib-gold);
	border-radius: var(--nib-radius);
}

/* =====================================================================
   ELEMENTOR BUTTONS
   Atomic buttons render as <a class="e-button-base">, not under a
   .elementor-widget-e-button wrapper, so that is what has to be
   targeted. Labels must never be underlined - the shape already says
   it is clickable, and an underline on a solid pill reads as a fault.
   Hover darkens instead. brightness() rather than a second colour, so
   it works everywhere: on a solid fill it darkens the fill, and on a
   text-style link (transparent background) it darkens the label.
   ===================================================================== */
.nibbles .e-button-base,
.nibbles a.e-button-base,
.nibbles button.e-button-base,
.nibbles .elementor a.elementor-button,
.nibbles .elementor .elementor-button {
	text-decoration: none !important;
	transition: filter 0.2s ease;
}

.nibbles .e-button-base:hover,
.nibbles .e-button-base:focus-visible,
.nibbles a.e-button-base:hover,
.nibbles a.e-button-base:focus-visible,
.nibbles .elementor a.elementor-button:hover,
.nibbles .elementor a.elementor-button:focus-visible {
	text-decoration: none !important;
	filter: brightness(0.88);
}

@media (prefers-reduced-motion: reduce) {
	.nibbles .e-button-base,
.nibbles .elementor a.elementor-button {
		transition: none;
	}
}

/* =====================================================================
   METFORM FIELDS (ELEMENTOR)
   The old styling was scoped to .nib-form-shell, which disappeared with
   the hand-built page. Without it the fields fall back to three competing
   defaults - MetForm's own, the Elementor kit's, and per-widget CSS in
   post-208.css - which is why the inputs, the textarea and the react
   select all sat on different heights, greys and radii. The per-widget
   rules outrank anything we can reasonably write, so this block is
   deliberately !important: it is the single place form fields are styled.
   ===================================================================== */
.nibbles .elementor-widget-metform .mf-input,
.nibbles .elementor-widget-metform .mf_select__control {
	min-height: 52px !important;
	background-color: var(--nib-white) !important;
	border: 1px solid var(--nib-rule) !important;
	border-radius: 8px !important;
	font-family: var(--nib-font-body) !important;
	font-size: 15px !important;
	color: var(--nib-ink);
	box-shadow: none !important;
	transition: border-color 0.2s ease;
}

.nibbles .elementor-widget-metform .mf-input:not(.mf-textarea):not(.mf-input-select) {
	padding: 0 12px !important;
}

/* The select is a react-select. Its outer div must not paint a second
   background, and the 12px padding MetForm puts on the inner control is
   what pushed it to 73px against the inputs' 52px. */
.nibbles .elementor-widget-metform .mf-input-select {
	background-color: transparent !important;
	border: 0 !important;
	padding: 0 !important;
	min-height: 0 !important;
}

.nibbles .elementor-widget-metform .mf_select__control {
	padding: 0 !important;
}

.nibbles .elementor-widget-metform .mf_select__value-container {
	padding: 0 12px !important;
}

.nibbles .elementor-widget-metform .mf_select__indicator-separator {
	display: none;
}

.nibbles .elementor-widget-metform .mf-input.mf-textarea {
	min-height: 140px !important;
	padding: 14px !important;
}

.nibbles .elementor-widget-metform .mf-input:focus,
.nibbles .elementor-widget-metform .mf_select__control--is-focused {
	border-color: var(--nib-primary) !important;
	outline: 2px solid rgba(106, 0, 18, 0.18);
	outline-offset: 1px;
}

.nibbles .elementor-widget-metform label {
	font-family: var(--nib-font-body);
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--nib-ink);
}

/* Submit button: ox blood pill, matching every other button on the site. */
.nibbles .elementor-widget-metform .metform-btn,
.nibbles .elementor-widget-metform .metform-submit-btn,
.nibbles .elementor-widget-metform button[type="submit"] {
	background-color: var(--nib-primary) !important;
	color: var(--nib-white) !important;
	border: 0 !important;
	border-radius: 999px !important;
	padding: 14px 32px !important;
	font-family: var(--nib-font-body);
	font-size: 1rem;
	font-weight: 600;
	min-height: 52px;
	text-decoration: none !important;
	transition: filter 0.2s ease;
}

.nibbles .elementor-widget-metform .metform-btn:hover,
.nibbles .elementor-widget-metform .metform-submit-btn:hover,
.nibbles .elementor-widget-metform button[type="submit"]:hover {
	filter: brightness(0.88);
}

/* =====================================================================
   GALLERY TILE PROPORTIONS
   The Basic Gallery widget hands WordPress an uncropped size, so rows of
   mixed portrait and landscape shots come out ragged. Elementor's own
   aspect-ratio control is a Pro feature, so the crop lives here instead -
   one rule, applied to every gallery on the site, with the widget itself
   left fully editable in the builder.
   ===================================================================== */
.nibbles .elementor-widget-image-gallery .gallery-item img {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 12px;
}

/* =====================================================================
   HOME HERO SLIDESHOW
   The five hero photographs are ordinary Elementor elements, so the
   client can swap any of them in the builder. Only the cross-fade lives
   here, because Elementor's atomic style props have no animation.
   Five slides, eight seconds each, forty second loop.
   ===================================================================== */
.nibbles .hm-hero-media > * {
	opacity: 0;
	animation: nibHeroFade 40s linear infinite;
}
.nibbles .hm-hero-media > *:nth-child(1) { animation-delay:  0s; }
.nibbles .hm-hero-media > *:nth-child(2) { animation-delay:  8s; }
.nibbles .hm-hero-media > *:nth-child(3) { animation-delay: 16s; }
.nibbles .hm-hero-media > *:nth-child(4) { animation-delay: 24s; }
.nibbles .hm-hero-media > *:nth-child(5) { animation-delay: 32s; }

@keyframes nibHeroFade {
	0% { opacity: 0; }
	3% { opacity: 1; }
	20% { opacity: 1; }
	23% { opacity: 0; }
	100% { opacity: 0; }
}

/* Anyone who has asked their system for less motion gets the first frame,
   held still. */
@media (prefers-reduced-motion: reduce) {
	.nibbles .hm-hero-media > * { animation: none; opacity: 0; }
	.nibbles .hm-hero-media > *:nth-child(1) { opacity: 1; }
}

/* =====================================================================
   CARD MEDIA PROPORTIONS
   Cards sit in a row, so their photographs have to share one shape or
   the titles below them stop lining up - the client's library mixes
   portrait and landscape freely. Standalone photographs (the chef
   portrait, the who-we-are shot) are deliberately left out: those keep
   their own proportions.
   ===================================================================== */
.nibbles .elementor img[class*='-cardimg-'],
.nibbles .elementor img[class*='-media-'],
.nibbles .elementor img[class*='pp-pair-img-'] {
	width: 100%;
	height: auto;
	aspect-ratio: 4 / 3;
	object-fit: cover;
	border-radius: 12px;
}


/* =====================================================================
   FOOTER LEGAL STRIP - ONE ROW (SUPERSEDES ABOVE)
   Elementor's base list styling resolves these list to display:grid, which
   beat the earlier flex rule and stacked all six links down the page.
   Forced back to a single nowrap row at a smaller size, and allowed to
   wrap again only once the footer is too narrow to hold it.
   ===================================================================== */
.ekit-template-content-footer .nib-ftr-legal-links {
	/* shrink-to-fit so the copyright keeps its place on the same line */
	flex: 0 1 auto;
	min-width: 0;
}

.ekit-template-content-footer .nib-ftr-legal-list {
	display: flex !important;
	flex-direction: row;
	flex-wrap: nowrap;
	align-items: center;
	gap: 0.8rem;
	font-size: 0.75rem;
	list-style: none;
	margin: 0;
	padding: 0;
}

.ekit-template-content-footer .nib-ftr-legal-list li,
.ekit-template-content-footer .nib-ftr-legal-list li a {
	/* the footer-wide li rule sets 0.95rem, so the size has to be set on the
	   items themselves rather than inherited from the list */
	font-size: 0.75rem;
	white-space: nowrap;
}

.ekit-template-content-footer .nib-ftr-copyright {
	flex: 0 1 auto;
	min-width: 0;
	margin-inline-start: auto;
}

.ekit-template-content-footer .nib-ftr-legal-list a {
	font-size: inherit;
}

@media (max-width: 900px) {
	.ekit-template-content-footer .nib-ftr-legal-list {
		flex-wrap: wrap;
		gap: 0.5rem 1rem;
	}
}


/* =====================================================================
   TABLET: FOUR-UP GROUPS STAY TWO BY TWO
   The booking steps and the FAQ are each four cards. Their flex-basis is
   tuned for a 1140px desktop row, which on a landscape tablet leaves 3+1
   with an orphan, and stacks the wider FAQ cards one per row. A basis
   between 310px and 338px is the only band where exactly two fit at both
   768px and 1024px, so it is pinned here and bounded to that range -
   mobile (which stacks these into a column) and desktop are untouched.
   ===================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
	/* Elementor's own .elementor .hm-step-1 ties on specificity and loads
	   later, so this needs the extra class to win. */
	.nibbles .elementor .hm-step-1,
	.nibbles .elementor .hm-step-2,
	.nibbles .elementor .hm-step-3,
	.nibbles .elementor .hm-step-4,
	.nibbles .elementor .hm-faq-1,
	.nibbles .elementor .hm-faq-2,
	.nibbles .elementor .hm-faq-3,
	.nibbles .elementor .hm-faq-4 {
		flex-basis: 320px;
	}
}


/* =====================================================================
   TABLET: QUOTE FORM GETS THE FULL WIDTH
   The quote page runs a 60/40 split on desktop. Held at tablet width that
   leaves the form column 372px, and the paired fields inside split it
   again to 147px each - too narrow to type a company name into. Stacking
   the two columns below 1024px gives the pairs about 338px each.
   The extra .elementor is needed to outrank Elementor's own element CSS.
   ===================================================================== */
/* Bounded at the bottom as well: below 768px the two columns do not wrap,
   so a 100% basis pushed the aside off-screen instead of stacking it.
   Mobile was already correct and is left alone. */
@media (min-width: 768px) and (max-width: 1024px) {
	.nibbles .elementor .qt-body-in > .qt-form-col,
	.nibbles .elementor .qt-body-in > .qt-next-col {
		flex: 1 1 100%;
	}
}


/* =====================================================================
   NARROW PHONES: LET THE FORM COLUMN SHRINK
   A flex item defaults to min-width:auto, so the quote column refused to
   go below MetForm's min-content width and pushed 34px off the side of a
   320px screen. Releasing the floor lets it size to the viewport.
   ===================================================================== */
.nibbles .elementor .qt-form-col,
.nibbles .elementor .qt-next-col,
.nibbles .elementor-widget-metform .metform-form-content,
.nibbles .elementor-widget-metform .mf-input,
.nibbles .elementor-widget-metform .mf-input-select {
	min-width: 0;
}


/* =====================================================================
   TABLET: THREE-CARD ROWS STAY THREE ACROSS
   The service and favourites rows are tuned to a 300px basis for desktop,
   which on a tablet wraps to 2+1 and leaves a card stranded on its own
   line. At 768px the row is 700px wide with a 28px gap, so the basis has
   to drop under 215px for three to hold; 200px does it and still lets
   them grow to fill 1024px.
   ===================================================================== */
@media (min-width: 768px) and (max-width: 1024px) {
	.nibbles .elementor .hm-card-a,
	.nibbles .elementor .hm-card-b,
	.nibbles .elementor .hm-card-c,
	.nibbles .elementor .hm-card-d,
	.nibbles .elementor .hm-card-e,
	.nibbles .elementor .hm-card-f,
	.nibbles .elementor .card-private,
	.nibbles .elementor .card-corporate,
	.nibbles .elementor .card-platters {
		flex-basis: 200px;
	}
}

/* =====================================================================
   HORIZONTAL ALIGNMENT - SINGLE SOURCE OF TRUTH
   Every page section is an Elementor container at the default 1140px
   measure with 10px inner padding, so page text sits at
   (100vw - 1140px) / 2 + 10.

   The header and footer were built at 1200px with a 20px gutter, which
   put the logo 20px right of the page text and the footer 30px left of
   it - three edges spanning 30px. Both now adopt the page measure so
   the logo, headings and footer all share one edge.

   Page content stays untouched: aligning the two chrome templates is far
   safer than re-measuring eighteen pages of built content.
   ===================================================================== */
:root {
	--nib-measure: 1140px;
	--nib-gutter: 10px;
}

/* --- Header --- */
.ekit-template-content-header .e-con-boxed {
	max-width: var(--nib-measure) !important;
	margin-inline: auto !important;
	padding-inline: var(--nib-gutter) !important;
}

.ekit-template-content-header .e-con-boxed > .e-con-inner {
	max-width: none !important;
	width: 100% !important;
	margin-inline: 0 !important;
	padding-inline: 0 !important;
}

/* --- Footer --- */
.ekit-template-content-footer .e-parent > .e-con-boxed {
	padding-inline: 0 !important;
}

.ekit-template-content-footer .e-parent > .e-con-boxed > .e-con-inner {
	max-width: var(--nib-measure) !important;
	margin-inline: auto !important;
	padding-inline: var(--nib-gutter) !important;
	width: 100% !important;
}

/* Below the page measure the gutter does the work, so nothing clips. */
@media (max-width: 1180px) {
	:root { --nib-gutter: 24px; }
}

/* Footer columns carry their own 10px inline padding, which pushed the
   first column's text 10px right of the page edge. The row gap handles
   the spacing between columns, so the padding is redundant. */
/* footer column gutter */
.ekit-template-content-footer .e-con-inner > .e-con {
	padding-inline: 0 !important;
}


/* =====================================================================
   NESTED CONTAINER PADDING RESET
   Elementor v4's atomic base stylesheet applies `padding: 10px` to every
   .e-flexbox-base, so each level of container nesting pushed content a
   further 10px inward. Rows and columns inherited it silently, which put
   card and column boxes at 135 or 145 instead of the 125 page edge, and
   their text at 159 / 172 / 182.

   Structure is: .elementor > section > measure-wrapper > rows/columns.
   The section keeps its gutter and the measure wrapper keeps the 10px
   that defines the page edge. Every container below that is reset,
   because the spacing between rows and columns is already handled by an
   explicit `gap` (18-36px), so the padding was doing no work.

   .nib-card, .hm-faq-* and .menu-note-* are excluded rather than
   re-declared: they are the only nested containers that set their own
   inline padding, and it is responsive (cards 36px desktop, 20px below),
   so excluding them leaves their own rules authoritative at every
   breakpoint. Specificity here is (0,7,0), which beats Elementor's
   (0,2,0) base without needing !important.
   ===================================================================== */
.elementor > .e-con > .e-con .e-con:not(.nib-card):not(.hm-faq-1):not(.hm-faq-2):not(.hm-faq-3):not(.hm-faq-4):not([class*="menu-note-"]) {
	padding-inline: 0;
}

/* NOTE: the FAQ items are listed individually rather than matched with
   [class*="hm-faq-"], which also caught hm-faq-in and hm-faq-row and so
   left the row's 10px in place, putting the item boxes back at 135. */


/* =====================================================================
   NARROW-VIEWPORT GUTTER
   Above 1180px the measure wrapper centres at 1140px and its 10px gives
   the 125px page edge, which the header and footer already match.

   Below 1180px the wrapper stops centring and fills the width, so the
   section's own gutter and the wrapper's 10px stacked: body sections
   landed at 34 (24 + 10) and heroes at 30 (20 + 10), while the header
   and footer sat at 24. Three different edges on the same screen.

   Below the measure, the wrapper becomes the single gutter: section
   padding is zeroed and the wrapper adopts --nib-gutter, the same token
   the header and footer use, so all four share one edge. Only the inline
   axis is touched, so vertical rhythm is unchanged, and full-bleed
   children (hero media, scrims) stay at 0.
   ===================================================================== */
@media (max-width: 1180px) {
	.page-content .elementor > .e-con {
		padding-inline: 0;
	}

	.page-content .elementor > .e-con > .e-con {
		padding-inline: var(--nib-gutter);
	}
}


/* =====================================================================
   QA FIXES - 4 NOV 2026
   ===================================================================== */

/* --- Secondary button, for the 404 template --- */
.nibbles a.nib-btn--ghost {
	background: transparent;
	color: #6A0012;
	border: 1px solid #6A0012;
}

.nibbles a.nib-btn--ghost:hover,
.nibbles a.nib-btn--ghost:focus-visible {
	background: #6A0012;
	color: #fff;
}

/* --- 404 page ---
   The header is position:fixed, so the template needs its own top offset
   or the heading sits underneath it. --- */
/* .site-main has padding-block:0 !important site-wide, so the offset that
   clears the fixed header lives on the inner wrapper instead. */
.nib-404__inner {
	padding-block-start: clamp(150px, 20vh, 220px);
	padding-block-end: clamp(80px, 12vh, 140px);
}

.nib-404__inner {
	max-width: var(--nib-measure, 1140px);
	margin-inline: auto;
	padding-inline: var(--nib-gutter, 10px);
}

.nib-404__title { margin-block: 0.25em 0.5em; }
.nib-404__lead { max-width: 60ch; }

.nib-404__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-block: 1.75rem 1.25rem;
}

.nib-404__help { font-size: 0.95rem; }


/* --- Footer clearance for the floating WhatsApp button ---
   The button is fixed at 56px plus a clamped offset. Above 1180px the
   1140px measure keeps the copyright well clear of it, but below that the
   content fills the width and the button lands on the end of the
   copyright line when the page is scrolled to the bottom. --- */
@media (max-width: 1180px) {
	.ekit-template-content-footer {
		padding-block-end: calc(56px + clamp(1rem, 3vw, 1.75rem) + 1rem);
	}
}

/* ------------------------------------------------------------------
   WEDOCS / SITE MANUAL — HEADER OFFSET
   The weDocs single-doc template renders straight under the fixed
   header, so the doc title sat behind it. Uses the same header-height
   variable as the rest of the site, so it follows every breakpoint.
   ------------------------------------------------------------------ */
body.single-docs #primary.content-area,
body.post-type-archive-docs #primary.content-area {
	padding-top: calc( var(--nib-header-h) + 2rem );
}
