/* M-Blue Yachts 2027 — shared components.
   Scoped to .mb- classes so nothing here touches the legacy templates. */

/* The site's own fonts. Tw Cen MT is self-hosted in the theme's css folder and
   has been the body face since the original build; EB Garamond is the display
   serif, loaded from Google in bootstrap.php. The 2027 pages no longer load
   style.css, so the @font-face rules are repeated here. */
@font-face {
	font-family: "TwCenMT-Regular";
	font-display: swap;
	src: url(../../../css/TwCenMT-Regular_gdi.woff) format("woff"),
	     url(../../../css/TwCenMT-Regular_gdi.ttf) format("truetype");
	font-weight: 400;
	font-style: normal;
}
@font-face {
	font-family: "TwCenMT-Bold";
	font-display: swap;
	src: url(../../../css/TwCenMT-Bold_gdi.woff) format("woff"),
	     url(../../../css/TwCenMT-Bold_gdi.ttf) format("truetype");
	font-weight: 700;
	font-style: normal;
}

/* The live site sets every one of these in TwCenMT-Regular at 400 — nav
   links, .subheading and .thumb-name a alike. The Bold face is used only for
   <strong>. */

:root {
	/* Every value below is the live site's. See docs/design-system/tokens.css
	   for where each one was read from. */

	/* Brand */
	--mb-gold: #B9874C;
	/* The live site has no lighter gold: #cta a:hover and .rowthumb:hover both
	   go to the same #B9874C. Kept as a name so hovers read clearly. */
	--mb-gold-light: #B9874C;

	/* Surfaces */
	--mb-ivory: #f9f9f9;        /* body, html and header on the live site */
	--mb-ivory-deep: #EDEDED;   /* the only other light neutral live defines */
	--mb-black: #000000;        /* .rowthumb, #cta, .wpcf7-submit */
	--mb-panel: #080808;        /* the slide-in nav and search panels */
	/* Cards sitting on the black sections. Sampled from the homepage brief,
	   page 6: the card reads #1A1A1A against the section, and its edge is a
	   grey hairline, not the white one that was there. */
	--mb-card: #1A1A1A;
	--mb-hairline: #2C2C2C;
	--mb-photo-bg: #222222;     /* .slickimg, behind a photo */
	--mb-field-bg: #434343;     /* .wpcf7-text, .wpcf7-textarea, .wpcf7-select */
	--mb-field-on-black: #000000; /* #search-yachts input and label */
	--mb-white: #FFFFFF;

	/* Ink */
	--mb-text: #7D7C7C;         /* body copy */
	--mb-grey: #969696;         /* secondary copy, card body */
	--mb-on-dark: #EDEDED;      /* #search-yachts label and input */
	--mb-on-dark-soft: #b3b3b3; /* nav a + span */
	--mb-field-text: #999999;   /* .wpcf7-text colour */
	--mb-footer-text: #888888;

	/* Lines */
	--mb-line: #EDEDED;                     /* .rowthumb border */
	--mb-line-on-dark: rgba(255, 255, 255, .2);  /* nav li:after */
	--mb-line-filter: #7F7F7F;              /* .sliders5 input, Reset button */

	/* Overlays. The live hero sits under .controls-wrapper at .4; the deeper
	   .55 is #hsw-uc, which covers the whole window. The homepage slides
	   carry no overlay at all — the slogan's text-shadow does that work. */
	--mb-scrim-hero: rgba(0, 0, 0, .4);
	--mb-scrim: rgba(0, 0, 0, .55);
	--mb-panel-shadow: 2px 0 16px 0 rgba(50, 50, 50, .69);

	/* Type */
	--mb-serif: "EB Garamond", Georgia, serif;
	--mb-sans: TwCenMT-Regular, "MBlue Greek", Arial, sans-serif;
	--mb-sans-bold: "TwCenMT-Bold", "MBlue Greek", "Tw Cen MT", Arial, sans-serif;

	/* Review 3, 11 Nov: one size each for the type that repeats across pages,
	   so the same thing is never two sizes on two pages again. */
	--mb-label: 14px;     /* small gold labels: DESCRIPTION, BOOKING, YACHT */
	--mb-arrow: 13px;     /* gold links with an arrow */
	--mb-cta: 14px;       /* ENQUIRE NOW over the buttons in a black box */
	--mb-quote: 19px;     /* closing quotes, Garamond italic */
	--mb-boxvalue: 15px;  /* the line under a label in a black box */

	/* Measure */
	--mb-gutter: 4.8%;          /* the live side padding; 69px at 1440 */
	--mb-radius: 0;             /* square corners everywhere on the live site */

	/* The filter UI's two sizes: one for anything you act on — the live
	   site sets every #search-yachts control at 14px — and one for the
	   labels around them, which is the filter bar's own caps size. */
	--mb-filter-control: 14px;
	--mb-filter-label: 11.5px;
}

/* Base. The 2027 pages no longer load the legacy style.css — it styles bare
   header/footer elements in ways that break this layout — so the few resets
   those pages relied on live here instead. */
*, *::before, *::after { box-sizing: border-box; }

/* "Enquire now" and "Help me choose" are in-page links. The briefs ask for a
   smooth scroll to the form, not a jump. Anyone who has asked their system for
   less motion keeps the jump. */
@media (prefers-reduced-motion: no-preference) {
	html { scroll-behavior: smooth; }
}
/* The header is fixed, so an anchor would land the form's first line behind
   it. The offset is the live header height — 92px, 86px below 768 — not a
   new value. */
html { scroll-padding-top: 92px; }
@media (max-width: 768px) { html { scroll-padding-top: 86px; } }
html { -webkit-text-size-adjust: 100%; }
/* The one place the live site uses the Bold face. */
body.mb-body strong, body.mb-body b { font-family: TwCenMT-Bold; font-weight: 700; }
/* The live site's body: 16px over 21px, on #f9f9f9. */
body.mb-body { margin: 0; font-family: var(--mb-sans); font-size: 16px; line-height: 21px; color: var(--mb-text); background: var(--mb-ivory); }
/* "The page must fit the screen exactly, with no sideways movement." The known
   cause is fixed above — iOS gives input[type=date] a wide intrinsic size and
   a 1fr track will not shrink below it — but Safari is the only engine that
   shows it, so this makes the symptom impossible whatever else appears later.
   clip, not hidden: hidden would make the body a scroll container and break
   the sticky black boxes. */
body.mb-body { overflow-x: clip; }

/* :where() keeps these at zero specificity, so any component class still wins.
   Written as `body.mb-body a { … }` they outranked `.mb-tile { color: #fff }`
   and painted the tile names black on black. */
:where(body.mb-body) img { max-width: 100%; height: auto; border: 0; }
:where(body.mb-body) h1, :where(body.mb-body) h2,
:where(body.mb-body) h3, :where(body.mb-body) h4 { font-weight: 400; margin: 0 0 .5em; }
:where(body.mb-body) p { margin: 0 0 1em; }
:where(body.mb-body) a { color: inherit; }
:where(body.mb-body) ul, :where(body.mb-body) ol { margin: 0; padding: 0; }
:where(body.mb-body) button, :where(body.mb-body) input,
:where(body.mb-body) select, :where(body.mb-body) textarea { font: inherit; color: inherit; }
:where(body.mb-body) figure, :where(body.mb-body) blockquote { margin: 0; }
body.mb-body [hidden] { display: none !important; }

.mb-page { background: var(--mb-ivory); color: var(--mb-black); font-family: var(--mb-sans); }
/* The live site has no content column: everything runs full width inside a
   4.8% side padding, which is the 69px the cards sit at on a 1440 screen. */
.mb-wrap { margin: 0 auto; padding: 0 var(--mb-gutter); }
.mb-section { padding-block: 76px; }   /* .thumbsul on the live site */

/* .subheading on the live site: 27px, .5px, uppercase, gold, 26px below. */
.mb-eyebrow {
	font-family: var(--mb-sans); font-weight: 400;
	font-size: 27px; letter-spacing: .5px; text-transform: uppercase;
	color: var(--mb-gold); margin: 0 0 26px;
}
@media (max-width: 1280px) { .mb-eyebrow { margin-bottom: 21px; } }
@media (max-width: 767px)  { .mb-eyebrow { font-size: 24px; } }
@media (max-width: 599px)  { .mb-eyebrow { font-size: 20px; margin-bottom: 11px; } }
/* Headings are Garamond site-wide; four blocks below also drop to 24px. */
.mb-heading { font-family: var(--mb-serif); font-weight: 400; line-height: 1.15; margin: 0 0 16px; }
h1.mb-heading { font-size: clamp(32px, 5.2vw, 56px); }
/* 26 Nov (Iason): "Your saved yachts" was too big; on My favourites the heading matches "Send my favourites to Amélie" below it. */
.js-mb-fav-wrap h1.mb-heading,
.js-mb-fav-empty h1.mb-heading { font-size: clamp(26px, 4vw, 34px); }
h2.mb-heading { font-size: clamp(26px, 3.6vw, 40px); }

/* ---------- Hero ---------- */
/* min-height is set once, below, so every hero is the same height as the
   homepage slider. */
.mb-hero { position: relative; display: grid; place-items: center; overflow: hidden; background: var(--mb-photo-bg); }
.mb-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mb-hero__shade { position: absolute; inset: 0; background: var(--mb-scrim-hero); }   /* .controls-wrapper */
/* The live homepage slides have no overlay. */
.mb-hero--slides .mb-hero__shade { display: none; }
/* Every hero is laid out like the homepage: the title centred in the image,
   the call to action down at the foot of it. It used to be the homepage
   alone, with the other pages stacking title and button together in the
   middle. */
.mb-hero { display: block; }
.mb-hero__inner {
	position: absolute; inset: 0; display: grid; align-content: center;
	text-align: center; color: var(--mb-white);
	padding: 0 var(--mb-gutter) 14vh;
}
/* The hero button, to the current site's own measurements: 25px Tw Cen
   Regular — not the bold face the smaller buttons use — .55em by .95em of
   padding, and 7% up from the foot of the image. */
.mb-hero .mb-btn {
	position: absolute; left: 50%; transform: translateX(-50%); bottom: 7%;
	font-family: var(--mb-sans); font-weight: 300;
	font-size: 25px; letter-spacing: normal;
	padding: .55em .95em; background: #000; color: #fff;
	border: 0; white-space: nowrap; transition: color .3s;
}
.mb-hero .mb-btn:hover { color: var(--mb-gold); background: #000; }

/* Review 17 point 4: LOAD MORE the same as the hero buttons (Explore the
   yachts, Help me choose): black, white Tw Cen at their size, no gold frame. */
.mb-btn.mb-btn--loadmore {
	font-family: var(--mb-sans); font-weight: 300;
	font-size: 25px; letter-spacing: normal;
	padding: .55em .95em; background: #000; color: #fff;
	border: 0; white-space: nowrap;
}
.mb-btn.mb-btn--loadmore:hover { color: var(--mb-gold); background: #000; }
@media (orientation: portrait) {
	.mb-btn.mb-btn--loadmore { font-size: 5.9vw; }
}

/* Portrait screens scale it with the viewport, as the original does. */
@media (orientation: portrait) {
	.mb-hero .mb-btn { font-size: 5.9vw; }
}
/* #slidetitle on the live site: 400 90px EB Garamond, white, uppercase,
   stepping to 70px at 812px and 50px at 768px. */
.mb-hero__title {
	font-family: var(--mb-serif); font-weight: 400; font-size: 90px;
	text-transform: uppercase; margin: 0 0 28px;
	/* It set no line-height, so it inherited body's fixed 21px. A one-line
	   title never showed it; "Motor yachts" wraps on a phone at 61px and the
	   two lines were drawn 21px apart, one over the other. */
	line-height: 1.05;
	/* And a column to wrap inside, so a long name breaks where it should
	   rather than running the full width of the photo. */
	max-width: 80vw; margin-inline: auto;
}
@media (max-width: 812px) { .mb-hero__title { font-size: 70px; } }
@media (max-width: 768px) { .mb-hero__title { font-size: 50px; } }

/* Below 768 the live site sizes #slidetitle three different ways, set per
   page type by an inline <style> that overrides the theme's 50px:
     charter listing          15.7vw
     yacht page, news post    10vw
     about, rib               50px (no override)
   Each page type here takes the value its live counterpart uses. Listed in
   open-questions.md as a live inconsistency, not resolved. */
@media (max-width: 768px) {
	body.single-post .mb-hero__title { font-size: 10vw; }
}

/* The homepage slogan is the one place the live site leaves EB Garamond in
   sentence case: .swiper-slide span, 5vw over 1em, with a soft shadow. */
.mb-hero--slides .mb-hero__title {
	font-size: 5vw; line-height: 1em; text-transform: none; width: 88%;
	margin-left: auto; margin-right: auto;
	text-shadow: 0 0 .1em rgba(0, 0, 0, .3);
}
@media (orientation: portrait) {
	.mb-hero--slides .mb-hero__title { font-size: 9.2vw; }
}

/* ---------- Buttons ---------- */
/* The two form buttons are Amélie's own design (Homepage brief, block 8):
   SEND ENQUIRY BY EMAIL is a filled gold block with white capitals,
   CONTINUE IN WHATSAPP is the same block in black inside a gold rule. They
   must not look alike — they were identical while .mb-btn copied the live
   site's .wpcf7-submit, which is that form's single EB Garamond button. */
.mb-btn {
	display: inline-block; padding: 14px 26px;
	font-family: var(--mb-sans); font-size: 13px; font-weight: 400;
	letter-spacing: .14em; text-transform: uppercase;
	text-decoration: none; cursor: pointer; text-align: center;
	background: var(--mb-black); color: var(--mb-gold);
	border: 1px solid var(--mb-gold); border-radius: var(--mb-radius);
	transition: all .3s;
}
/* The live CTA: TwCenMT 25px at 300, white on black, uppercase, going gold
   on hover. */
.mb-btn--dark {
	background: var(--mb-black); color: var(--mb-white); border-color: var(--mb-black);
	font-family: var(--mb-sans); font-size: 25px; font-weight: 300;
	text-transform: uppercase; padding: .55em .95em; white-space: nowrap;
}
.mb-btn--dark:hover { color: var(--mb-gold); }
/* Filled: the primary action. */
.mb-btn--gold { background: var(--mb-gold); color: var(--mb-white); border-color: var(--mb-gold); }
.mb-btn--gold:hover { background: var(--mb-black); color: var(--mb-gold); }
.mb-link-gold { transition: all .3s; }
/* Outlined: the second choice beside it. */
.mb-btn--outline { background: var(--mb-black); color: var(--mb-gold); border-color: var(--mb-gold); }
.mb-btn--outline:hover { background: var(--mb-gold); color: var(--mb-white); }
.mb-link-gold {
	color: var(--mb-gold); text-decoration: none; font-size: 13px; letter-spacing: .12em;
	text-transform: uppercase; border-bottom: 1px solid currentColor; padding-bottom: 2px;
}
/* The rule above was written for an <a>. The read more toggles are <button>
   instead - they act on the page rather than navigate - and a button carries
   the browser's own chrome: a grey fill, a border on all four sides and its
   own padding, none of which the rule resets. So the link came out as a grey
   box. Reset the chrome and keep the one border the design asks for. */
button.mb-link-gold {
	background: none; border: 0; border-bottom: 1px solid currentColor;
	padding: 0 0 2px; font-family: inherit; line-height: 1.2; cursor: pointer;
}

/* ---------- Black box ---------- */
.mb-blackbox { background: var(--mb-black); color: var(--mb-white); }
.mb-blackbox__inner { max-width: 1180px; margin: 0 auto; padding: 18px var(--mb-gutter); }
.mb-blackbox__title { color: var(--mb-gold); font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .18em; text-transform: uppercase; margin: 0 0 6px; }
/* Page intros are Garamond; 17px because the serif sets smaller than the
   sans at the same size and this is the smallest of the three. */
.mb-blackbox__text { margin: 0; font-family: var(--mb-serif); font-size: 17px; line-height: 1.55; color: var(--mb-on-dark); }
/* Review 16 point 2: on the five collection bands the sentence is Garamond
   regular, white, left-aligned, 19px - 17 on a phone. This replaces the Tw Cen
   16px of Reviews 10, 11 and 14. The title above it stays gold Tw Cen Bold at
   --mb-label (14px). The tenders band is not one of the five and is unchanged. */
.mb-blackbox--newly-added .mb-blackbox__text,
.mb-blackbox--family .mb-blackbox__text,
.mb-blackbox--amelies-selection .mb-blackbox__text,
.mb-blackbox--40-50m .mb-blackbox__text,
.mb-blackbox--50m-plus .mb-blackbox__text {
	font-family: var(--mb-serif); font-style: normal; font-size: 19px; color: var(--mb-white); text-align: left;
}

/* ---------- Collection tiles ---------- */
.mb-tiles { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.mb-tile { position: relative; display: block; text-decoration: none; color: var(--mb-white); aspect-ratio: 3 / 4; overflow: hidden; background: var(--mb-photo-bg); }
/* The photo fills the card, top to bottom, cropped from the middle rather
   than letterboxed or anchored to an edge. */
.mb-tile img { width: 100%; height: 100%; object-fit: cover; object-position: center; display: block; }
.mb-tile__photo { position: absolute; inset: 0; }

/* Review 9: on Explore the yachts the collection cards are exactly the size
   of a yacht card. A yacht card is not one shape - it is a 404/238 photo with
   a text block under it - so matching it is that sum, not an aspect-ratio:
   the photo's share of the width, plus the 134px the name, line and foot
   occupy. Measured against a real card: 388x363 at 1440, 353x343 at 390.

   The gap comes from .mb-grid so the columns land on the same widths, and
   the column counts are already declared together further down - 3, then 1
   on a phone. Everything inside the card is absolutely placed against this
   box, so the photo, the gradient, the texts and VIEW COLLECTION follow it
   without changing.

   Scoped to this modifier: the homepage rows are .mb-passport__tiles and
   .mb-news-block .mb-tiles--four, which size themselves against the screen
   height and must not move. */
.mb-tiles--cards { gap: 4.8vw; }
.mb-tiles--cards .mb-tile {
	aspect-ratio: auto;
	height: 0;
	padding-bottom: calc(58.9109% + 134px);
}
.mb-tile__placeholder {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--mb-on-dark);
}
/* Amélie, Review 1 point 8: "The gold must be readable on every photo: the
   dark shade rises from the bottom third and is almost black behind the text.
   Check on the lightest photos."

   The shade belongs to the tile, not to the text box. It used to sit on
   .mb-tile__body alone, which begins exactly where the gold eyebrow is — so
   the eyebrow landed in the transparent top of its own gradient and
   disappeared against a white hull. It now rises through the bottom half of
   the photograph and is almost black by the time it reaches any text. */
/* The fade is measured against the text box, not against the tile, because
   the tile's height varies with the photo and a percentage put the gold
   eyebrow only a fifth of the way into the fade — still over a white hull.

   The top 72px of the body is the blend; from there down it is .9 black,
   whatever the photo and however many lines the title runs to. */
.mb-tile__body {
	position: absolute; inset: auto 0 0 0; padding: 72px 20px 20px;
	display: block; z-index: 2;
	background: linear-gradient(180deg,
		rgba(0, 0, 0, 0) 0,
		rgba(0, 0, 0, 0) 46px,
		rgba(0, 0, 0, .4) 72px,
		rgba(0, 0, 0, .9) 100%);
}
/* And a long, soft fall above it so the hard edge never shows on a pale sea. */
.mb-tile::after {
	content: ''; position: absolute; inset: 38% 0 0 0; pointer-events: none;
	background: linear-gradient(180deg, rgba(0, 0, 0, 0), rgba(0, 0, 0, .45));
	z-index: 1;
}
.mb-tile__name { display: block; font-family: var(--mb-sans); font-size: 24px; margin-bottom: 4px; }
.mb-tile__line { display: block; font-size: 13px; color: var(--mb-on-dark); margin-bottom: 10px; }
.mb-tile__cta { display: block; font-size: var(--mb-arrow); letter-spacing: .14em; text-transform: uppercase; color: var(--mb-gold); }

/* ---------- Yacht cards ---------- */
/* Three up, two at 768, one at 599 — the live column counts. The live site
   floats these with percentage margins; a grid with the same gutter puts the
   cards in the same places without the clearfix. */
/* 4.8vw, not 4.8%. A percentage ROW gap resolves against the grid's own
   height, which is auto here — Chrome then sized the container without it and
   the cards spilled 109px past their own box, burying "Load more yachts"
   underneath the last row. The live site's .rowthumb uses percentage margins,
   which resolve against the container WIDTH, so vw is the faithful unit:
   .mb-wrap is 90.4vw inside its 4.8% padding, and 3 columns with 4.8vw gaps
   gives 26.93vw a card — the live 26.932% exactly. */
/* "All yacht cards exactly the same size, on every list." A grid row sizes to
   its own tallest card, so one long reason line made a row taller than the one
   under it — 437 against 458 on Amélie's Selection. 1fr rows make every row
   the same, and the card stretches into it. */
.mb-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4.8vw; grid-auto-rows: 1fr; }
.mb-grid > * { min-width: 0; }
/* Column counts live in the Responsive block below, declared once. */
.mb-grid.is-loading { opacity: .5; transition: opacity .15s; }
/* .rowthumb: black, a 1px #EDEDED frame that turns gold on hover, centred
   16/21 copy in #969696, and 18px of space under the last line. */
.mb-card {
	position: relative; height: 100%; background: var(--mb-black);
	border: 1px solid var(--mb-line); padding-bottom: 18px;
	color: var(--mb-grey); font-size: 16px; line-height: 21px; text-align: center;
	transition: .3s ease-in;
}
.mb-card:hover { border-color: var(--mb-gold); }
.mb-card__link { display: flex; flex-direction: column; height: 100%; text-decoration: none; color: inherit; }
/* 404 x 238 on the live site. We crop rather than stretch — your call. */
.mb-card__photo { display: block; position: relative; aspect-ratio: 404 / 238; background: var(--mb-photo-bg); overflow: hidden; }
.mb-card__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-card__placeholder {
	position: absolute; inset: 0; display: grid; place-items: center;
	font-size: 10px; letter-spacing: .16em; text-transform: uppercase; color: var(--mb-on-dark);
}
.mb-card__panel { display: block; flex: 1; padding: 0; text-align: center; }
/* .thumb-name { margin: 27px 0 5px } and .thumb-name a { 26px; .5px } */
.mb-card__name { display: block; color: var(--mb-gold); font-size: 26px; letter-spacing: .5px; text-transform: uppercase; margin: 27px 0 5px; }
/* One line each, so the card's height cannot depend on how long a builder's
   name is: "82.5 m · MITSUBISHI HEAVY INDUSTRIES - GOLDEN YACHTS" wrapped and
   made EMIR's whole row 21px taller than every other list. The full builder is
   on the yacht page. */
.mb-card__line {
	display: block; color: var(--mb-grey); font-size: 16px; line-height: 21px;
	white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.mb-card__price { color: var(--mb-grey); }   /* .thumb-price is #969696 */
/* Reviews 11 and 14: under the price, a thin line inside the card's margins -
   the yacht page black box's separator, 1px --mb-line - then her sentence,
   centred, with no label. Review 16 point 3: Tw Cen regular, the card's own
   grey, 16px - 15 on a phone. Not clamped: every row is 1fr (.mb-grid), so the
   cards all take the height of the longest sentence and the rows stay even.
   26px is the black box's own side padding. */
.mb-card__why {
	display: block; margin: 14px 26px 0; padding-top: 12px;
	border-top: 1px solid var(--mb-line);
	font-family: var(--mb-sans); font-style: normal; font-size: 16px; line-height: 21px;
	color: var(--mb-grey); text-align: center;
}

/* The heart is its own button: tapping it must never open the yacht page. */
.mb-heart {
	position: absolute; top: 12px; left: 12px; z-index: 2;
	width: 34px; height: 34px; border-radius: var(--mb-radius); border: 0; cursor: pointer;
	background: var(--mb-white); color: var(--mb-black);
	display: grid; place-items: center; font-size: 17px; line-height: 1;
}
.mb-heart.is-saved { background: var(--mb-gold); color: var(--mb-white); }
.mb-heart:focus-visible { outline: 2px solid var(--mb-gold); outline-offset: 2px; }

/* Tw Cen MT carries no Greek, so "Ελληνικά" fell through to Arial — whose
   x-height measures 51.9 against Tw Cen's 40.3 at the same size, which is why
   the Greek read a size bigger than the three Latin names beside it. This maps
   the Greek block to Arial deliberately and scales it back to match. Browsers
   without size-adjust simply get what they got before. */
@font-face {
	font-family: "MBlue Greek";
	src: local("Arial"), local("Helvetica Neue"), local("Helvetica");
	unicode-range: U+0370-03FF, U+1F00-1FFF;
	size-adjust: 78%;
}

/* ---------- Header heart ---------- */
.mb-header-heart { position: relative; display: inline-flex; align-items: center; color: inherit; text-decoration: none; }
.mb-header-heart__count {
	position: absolute; top: -7px; right: -10px; min-width: 16px; height: 16px; padding: 0 4px;
	border-radius: var(--mb-radius); background: var(--mb-gold); color: var(--mb-white);
	font-size: 10px; line-height: 16px; text-align: center;
}

/* ---------- Filters ---------- */
.mb-filters { background: var(--mb-black); color: var(--mb-white); position: relative; z-index: 15; }
.mb-filters__bar {
	max-width: 1180px; margin: 0 auto; padding: 0 var(--mb-gutter);
	display: flex; flex-wrap: wrap; align-items: stretch; gap: 26px;
}
/* The brief draws each filter as a column, not a word: the caret sits at the
   column's right edge and the rule runs the column's whole width. Sized to
   content they were short stubs under narrow names. */
.mb-filters__item { position: relative; flex: 1 1 0; min-width: 0; }
.mb-filters__name {
	background: none; border: 0; color: var(--mb-white); cursor: pointer;
	font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; padding: 16px 0;
	font-family: var(--mb-sans); width: 100%; text-align: left;
	display: flex; align-items: center; gap: 8px; justify-content: space-between;
	/* Grey on black, as the live site rules its nav items. --mb-line is
	   #EDEDED, which is the card border on a light page and reads as a white
	   slab here. */
	border-bottom: 1px solid var(--mb-line-on-dark);
}
/* The open filter: gold name, gold caret, gold rule. */
.mb-filters__name[aria-expanded="true"] { color: var(--mb-gold); border-bottom-color: var(--mb-gold); }
.mb-filters__caret { font-size: 9px; }
.mb-filters__clear {
	margin-left: auto; flex: 0 0 auto; align-self: center;
	background: none; border: 0; color: var(--mb-gold); cursor: pointer;
	font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mb-sans);
}

/* The panel sits over the yachts rather than pushing them down. */
.mb-filters__panel {
	position: absolute; top: 100%; left: 0; z-index: 20; min-width: 260px;
	background: var(--mb-white); color: var(--mb-black); padding: 18px 20px;
}
.mb-filters__list { list-style: none; margin: 0; padding: 0; }
/* The filter UI uses exactly two sizes.
   Anything you act on — an option, a select, an input, a tick box, Clear,
   Apply — is 14px, which is what the live site sets on every control in
   #search-yachts. Anything that only labels or explains — the sub-labels,
   the notes, the active chips — takes the bar's own 11.5px/.14em caps.

   It was five sizes before: 10, 11, 11.5, 13 and 14, with the year input at
   13 and the price select beside it at 14 because two rules claimed the same
   controls and specificity split them. */
.mb-filters__list button {
	background: none; border: 0; padding: 7px 0; cursor: pointer;
	font-size: var(--mb-filter-control); font-family: var(--mb-sans);
	display: block; width: 100%; text-align: left;
}
.mb-filters__list button:hover { color: var(--mb-gold); }
.mb-filters__sub {
	display: block; font-size: var(--mb-filter-label); letter-spacing: .14em;
	text-transform: uppercase; color: var(--mb-grey); margin: 12px 0 5px;
}
.mb-filters__note {
	font-size: var(--mb-filter-label); color: var(--mb-grey);
	margin: 12px 0 0; line-height: 1.5;
}
.mb-filters__panel .mb-check { color: var(--mb-black); font-size: var(--mb-filter-control); }
.mb-filters__panel-foot {
	margin: 14px 0 0; display: flex; align-items: center;
	justify-content: space-between; gap: 14px;
}
.mb-filters__panel-foot .js-mb-filter-clear-one {
	background: none; border: 0; color: var(--mb-gold); cursor: pointer;
	font-size: var(--mb-filter-control); text-transform: uppercase; font-family: var(--mb-sans);
}
/* The live site's own Apply, from #search-yachts button[type=submit]:
   TwCenMT 14px at 400, uppercase, gold inside a gold rule on black.
   Named __go, not __apply: that one is the mobile "Show yachts" row, and it
   is display:none on desktop. */
.mb-filters__go {
	font-family: var(--mb-sans); font-size: var(--mb-filter-control); font-weight: 400;
	text-transform: uppercase; cursor: pointer;
	background: var(--mb-black); color: var(--mb-gold);
	border: 1px solid var(--mb-gold); border-radius: var(--mb-radius);
	padding: 6px 10px; min-width: 75px; text-align: center;
	transition: all .3s;
}
.mb-filters__go:hover { background: var(--mb-gold); color: var(--mb-black); }
/* Something is staged and not yet showing. */
.mb-filters.is-pending .mb-filters__go { background: var(--mb-gold); color: var(--mb-black); }
/* On a phone the one gold SHOW YACHTS at the foot of the sheet does the
   applying, as the brief draws it — a second Apply in every row is clutter. */
@media (max-width: 768px) {
	.mb-filters__go { display: none; }
	.mb-filters__panel-foot { justify-content: flex-start; }
}
.mb-filters__years { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; align-items: end; }

/* Two handles on one track. They are deliberately large enough for a thumb. */
.mb-slider { display: block; position: relative; height: 34px; margin-top: 16px; }
.mb-slider__track { position: absolute; top: 15px; left: 0; right: 0; height: 3px; background: var(--mb-on-dark); }
.mb-slider__fill { position: absolute; top: 0; bottom: 0; background: var(--mb-gold); }
.mb-slider input[type="range"] {
	position: absolute; top: 0; left: 0; width: 100%; height: 34px; margin: 0;
	background: none; pointer-events: none; -webkit-appearance: none; appearance: none;
}
.mb-slider input[type="range"]::-webkit-slider-thumb {
	-webkit-appearance: none; pointer-events: auto; width: 22px; height: 22px; border-radius: var(--mb-radius);
	background: var(--mb-white); border: 2px solid var(--mb-gold); cursor: grab; margin-top: -1px;
}
.mb-slider input[type="range"]::-moz-range-thumb {
	pointer-events: auto; width: 22px; height: 22px; border-radius: var(--mb-radius);
	background: var(--mb-white); border: 2px solid var(--mb-gold); cursor: grab;
}

.mb-filters__active { max-width: 1180px; margin: 0 auto; padding: 0 var(--mb-gutter) 14px; display: flex; gap: 8px; flex-wrap: wrap; }
.mb-chip {
	background: transparent; border: 1px solid var(--mb-gold); color: var(--mb-gold);
	font-size: var(--mb-filter-label); letter-spacing: .14em; padding: 6px 11px;
	cursor: pointer; font-family: var(--mb-sans); transition: all .3s;
}
.mb-chip:hover { background: var(--mb-gold); color: var(--mb-black); }
.mb-empty { text-align: center; padding: 48px 0; }

/* One button on a phone, carrying the count; the panel fills the screen. */
.mb-filters__mobile { display: none; }
.mb-filters__apply { display: none; }

@media (max-width: 768px) {
	.mb-filters__mobile {
		display: flex; width: 100%; justify-content: space-between; align-items: center;
		background: none; border: 0; border-top: 1px solid var(--mb-line); color: var(--mb-white);
		padding: 16px var(--mb-gutter); font-size: 11.5px; letter-spacing: .14em;
		text-transform: uppercase; font-family: var(--mb-sans); cursor: pointer;
	}
	.mb-filters__mobile::after { content: "\25BE"; }
	.mb-filters__sheet { display: none; }
	.mb-filters.is-open .mb-filters__sheet {
		display: block; position: fixed; inset: 0; z-index: 200;
		background: var(--mb-black); overflow-y: auto; padding-bottom: 110px;
	}
	.mb-filters.is-open .mb-filters__bar { display: block; padding-top: 10px; }
	.mb-filters.is-open .mb-filters__item { border-bottom: 1px solid var(--mb-line); }
	.mb-filters.is-open .mb-filters__name { border-bottom: 0; }
	.mb-filters.is-open .mb-filters__panel {
		position: static; box-shadow: none; background: var(--mb-panel); color: var(--mb-white);
	}
	.mb-filters.is-open .mb-filters__panel .mb-check { color: var(--mb-white); }
	.mb-filters.is-open .mb-filters__list button { color: var(--mb-white); }
	.mb-filters.is-open .mb-filters__clear { margin: 0; }
	.mb-filters__apply {
		display: flex; gap: 14px; align-items: center; justify-content: space-between;
		position: fixed; left: 0; right: 0; bottom: 0; z-index: 210;
		background: var(--mb-black); padding: 14px var(--mb-gutter); margin: 0;
		border-top: 1px solid var(--mb-line);
	}
	.mb-filters:not(.is-open) .mb-filters__apply { display: none; }
	.mb-filters__apply .mb-btn { flex: 1; }
}

/* ---------- Enquiry form ---------- */
.mb-enquiry {
	background: var(--mb-black); color: var(--mb-white);
	display: grid; grid-template-columns: minmax(0, 1.9fr) minmax(0, 1fr);
	gap: 48px; padding: 44px var(--mb-gutter);
	position: relative;
}
/* 15 Nov point 8: the /#contact anchor is the grid's first child, so it took
   the wide first column and pushed the form into the narrow right one, with
   the contact block dropping below. Out of the grid, at the section's top. */
.mb-enquiry > #contact { position: absolute; top: 0; left: 0; width: 0; height: 0; }
.mb-enquiry__eyebrow { color: var(--mb-gold); font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .18em; margin: 0 0 8px; }
.mb-enquiry__heading { font-family: var(--mb-serif); font-weight: 400; font-size: 34px; margin: 0 0 10px; }
.mb-enquiry__intro { color: var(--mb-on-dark); font-size: 16px; margin: 0 0 26px; }
.mb-enquiry__thanks { border: 1px solid var(--mb-gold); padding: 24px; }
.mb-enquiry__error { border-left: 3px solid var(--mb-white); padding: 10px 14px; background: transparent; font-size: 14px; }

.mb-form__row { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 18px; }
.mb-field { margin: 0 0 18px; display: block; }
.mb-field > label, .mb-field label:first-child { display: block; font-size: 12px; color: var(--mb-white); margin-bottom: 6px; }
.mb-field input[type="text"], .mb-field input[type="email"], .mb-field input[type="tel"],
.mb-field input[type="date"], .mb-field input[type="number"], .mb-field select, .mb-field textarea,
/* Text-entry controls only. ".mb-filters__panel input" also matched the
   type tick boxes and stretched each one to the panel's full width — 157px
   of checkbox — which squeezed "Motor catamaran" into a two-line column
   beside it. */
.mb-multi__toggle, .mb-filters__panel select,
.mb-filters__panel input[type="number"], .mb-filters__panel input[type="text"],
.mb-filters__panel input[type="search"] {
	width: 100%; background: var(--mb-field-bg); border: 0; color: var(--mb-white);
	padding: 12px 14px; font-size: 14px; font-family: var(--mb-sans);
}
/* A tick box is its own size, wherever it appears. */
.mb-check input[type="checkbox"], .mb-check input[type="radio"] {
	width: auto; flex: 0 0 auto; padding: 0;
}
/* The panel is white, so its controls invert the dark form styling above.
   One rule, and specific enough to beat the input[type] selectors. */
.mb-filters__panel select,
.mb-filters__panel input[type="number"],
.mb-filters__panel input[type="text"],
.mb-filters__panel input[type="search"] {
	background: var(--mb-ivory-deep); color: var(--mb-black);
	border: 1px solid var(--mb-on-dark); padding: 9px 10px;
	font-size: var(--mb-filter-control); font-family: var(--mb-sans);
}
.mb-field ::placeholder { color: var(--mb-field-text); }
.mb-field__pair { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: 10px; }

/* A grid or flex item will not shrink below its content's intrinsic width,
   because min-width defaults to auto. Safari on iOS gives input[type=date] a
   wide intrinsic size — it reserves room for dd/mm/yyyy and its own picker —
   so the Preferred dates pair could not fit, the row pushed past the viewport,
   and the whole page scrolled sideways: a white strip down the right of every
   black section. Chrome sizes date inputs narrowly, which is why it never
   showed up here. These let the fields shrink to the column instead. */
.mb-form__row > *,
.mb-field__pair > *,
.mb-field > * { min-width: 0; }
.mb-field input, .mb-field select, .mb-field textarea { min-width: 0; max-width: 100%; }
.mb-field input[type="date"] { -webkit-appearance: none; appearance: none; }
/* Safari on the Mac and on iOS paint a <select> as the system menu — light
   grey, rounded ends, its own height — whatever the background says. Firefox
   honours the CSS, which is why Guests and the two budget fields looked right
   there and wrong in Safari. Resetting the appearance hands the drawing back
   to us; the caret is drawn in as a background so the field still reads as a
   menu. */
.mb-field select, .mb-filters__panel select {
	-webkit-appearance: none; appearance: none;
	border-radius: var(--mb-radius);
	background-image: linear-gradient(45deg, transparent 50%, var(--mb-grey) 50%),
	                  linear-gradient(135deg, var(--mb-grey) 50%, transparent 50%);
	background-position: calc(100% - 18px) calc(50% + 1px), calc(100% - 13px) calc(50% + 1px);
	background-size: 5px 5px, 5px 5px;
	background-repeat: no-repeat;
	padding-right: 34px;
}
.mb-field__note { display: block; font-size: 11px; color: var(--mb-grey); margin-top: 6px; }
.mb-form__hp { position: absolute; left: -9999px; }
.mb-form__robot { margin: 4px 0 12px; }
.mb-form__robot:empty { margin: 0; }
.mb-form__actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 22px; }
.mb-form__note { font-size: 11px; color: var(--mb-grey); margin-top: 10px; }

.mb-check { display: flex; align-items: flex-start; gap: 8px; font-size: 13px; color: var(--mb-on-dark); margin: 4px 0; cursor: pointer; }
.mb-check input { margin-top: 3px; }
.mb-check--privacy { margin-top: 18px; font-size: 12px; }
.mb-check--privacy a { color: var(--mb-gold); }
.mb-check-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 4px 18px; }
.mb-check-row { display: flex; flex-wrap: wrap; gap: 18px; }

.mb-multi { position: relative; }
.mb-multi__toggle { text-align: left; cursor: pointer; }
.mb-multi__panel {
	position: absolute; z-index: 5; top: calc(100% + 4px); left: 0; right: 0; max-height: 260px;
	overflow: auto; background: var(--mb-panel); border: 1px solid var(--mb-line); padding: 12px;
	display: grid; grid-template-columns: 1fr 1fr; gap: 2px 14px;
}

.mb-prefs { border-top: 1px solid var(--mb-line); margin-top: 24px; padding-top: 18px; }
.mb-prefs__toggle { background: none; border: 0; color: var(--mb-gold); font-size: 14px; cursor: pointer; padding: 0; font-family: var(--mb-sans); }
.mb-prefs__sign { margin-right: 6px; }
.mb-prefs__hint { font-size: 11px; color: var(--mb-grey); margin: 4px 0 0; }
.mb-prefs__panel { margin-top: 20px; }
.mb-prefs__note { font-size: 11px; color: var(--mb-grey); }

/* Reproduced from the current site. Its .subheading is Tw Cen MT at 27px,
   uppercase with half a pixel of letter-spacing — not a serif — and the
   labels are plain sentence case in the same grey as the values, sitting
   directly above them. */
.mb-enquiry__contact {
	color: #969696;
	font-family: var(--mb-sans);
	font-size: 15px;
	line-height: 1.5;
}

/* Beside the form the column needs dropping to line up with it. Stacked
   underneath on a phone it does not — the gap would just be dead space. */
@media (min-width: 769px) {
	.mb-enquiry__contact { padding-top: 60px; }
}
.mb-enquiry__contact h3 {
	font-family: var(--mb-sans);
	font-weight: 400;
	font-size: 27px;
	text-transform: uppercase;
	letter-spacing: .5px;
	color: var(--mb-gold);
	margin: 0 0 26px;
}
.mb-contact__label { font-size: 15px; color: #969696; margin: 0; text-transform: none; letter-spacing: 0; }
.mb-contact__value { font-size: 15px; color: #969696; margin: 0 0 20px; }
.mb-contact__value a { color: #969696; text-decoration: none; }
.mb-contact__value a:hover { color: var(--mb-gold); }
.mb-contact__small { font-size: 15px; color: #969696; line-height: 1.5; margin: 0; }
.mb-enquiry__contact hr { border: 0; border-top: 1px solid var(--mb-line); margin: 24px 0; }

/* ---------- Pop-ups ---------- */
/* Short viewports — a laptop at 1440×600, or a phone turned sideways — keep
   the side gutter but give back the top and bottom. */
.mb-modal { position: fixed; inset: 0; z-index: 1003; display: grid; place-items: center; padding: clamp(8px, 2.5vh, 20px) 20px; }
.mb-modal[hidden] { display: none; }
.mb-modal__backdrop { position: absolute; inset: 0; background: var(--mb-scrim); }
.mb-modal__box {
	position: relative; background: var(--mb-black); color: var(--mb-white);
	border: 1px solid var(--mb-gold); max-width: 620px; width: 100%;
	/* Measured against the padded overlay rather than the viewport: 90vh ignored
	   this element's own padding, and on a phone it counted the strip behind the
	   browser's address bar, so the box ran past the bottom of the screen. */
	max-height: 100%;
	overflow: auto; overscroll-behavior: contain;
	padding: 32px;
}
/* The close button scrolled away with the content: absolutely positioned inside
   the box that scrolls, so on a short viewport you scrolled down and lost the
   only visible way out. Sticky holds it in the corner the whole way down. */
.mb-modal__close {
	position: sticky; top: -10px; float: right; z-index: 3;
	/* No negative margin on the right: on a right-floated element it pushes
	   past the scrollable width and gives the pop-up a horizontal scrollbar.
	   The lift upwards is free, since the box scrolls vertically anyway. */
	margin: -16px 0 0 14px;
	background: none; border: 0; color: var(--mb-white); font-size: 22px; cursor: pointer;
	/* 19 Nov: the icon is an SVG with no width or height of its own. Chrome
	   still drew it, Firefox and Safari drew it 0x0: no X on desktop there,
	   only an 8px-wide invisible button. A size at every width, and a 40px
	   target to click. */
	width: 40px; height: 40px; padding: 0;
	display: flex; align-items: center; justify-content: center;
}
.mb-modal__close svg { width: 22px; height: 22px; flex: none; }
/* No browser focus square (Firefox and Safari draw it blue) on a mouse click
   or when the pop-up opens; keyboard users get the site's gold ring. */
.mb-modal__box:focus { outline: none; }
.mb-modal__close:focus { outline: none; }
.mb-modal__close:focus-visible { outline: 2px solid var(--mb-gold); outline-offset: 2px; }
/* The content starts beside the floated button, so the first heading does not
   run under it. */
.mb-modal__box > .mb-eyebrow:first-of-type { margin-top: 0; }

/* "Mobile: each pop-up opens full screen with a clear close button." The side
   padding comes down too: at 32px a 390px phone left only 284px for the
   fields. */
@media (max-width: 600px) {
	.mb-modal { padding: 0; place-items: stretch; }
	.mb-modal__box {
		max-width: none; max-height: none; height: 100%;
		border: 0; border-radius: 0; padding: 20px 18px 32px;
	}
	/* "a clear close button": it measured 12×23px, under half the 44px a
	   thumb needs and easy to miss on the black. */
	.mb-modal__close {
		margin: -4px -4px 0 14px; top: 0;
		width: 44px; height: 44px;
		display: flex; align-items: center; justify-content: center;
	}
	.mb-modal__close svg { width: 24px; height: 24px; }
	/* One field per row already; the row gap and the field's own margin were
	   stacking into a double space between them. */
	.mb-modal__box .mb-form__row { gap: 0; }
}

/* ---------- Notices ---------- */
.mb-notice {
	position: fixed; left: 50%; bottom: 24px; transform: translateX(-50%); z-index: 1000;
	background: var(--mb-black); color: var(--mb-white); border: 1px solid var(--mb-gold);
	padding: 12px 18px; font-size: 13px;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
	.mb-enquiry { grid-template-columns: 1fr; gap: 32px; }
	.mb-tiles, .mb-grid { grid-template-columns: repeat(2, 1fr); }
	.mb-check-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 599px) {
	.mb-tiles, .mb-grid { grid-template-columns: 1fr; }
	.mb-form__row { grid-template-columns: 1fr; }
	.mb-check-grid { grid-template-columns: 1fr; }
	.mb-multi__panel { grid-template-columns: 1fr; }
	.mb-filters__bar { gap: 14px; }
	.mb-section { padding-block: 36px; }
}

/* ---------- Header ---------- */
/* The live header: fixed to the top, full width, the page colour behind it,
   no border, z-index 1001, and 92px tall at 1440px. */
.mb-header {
	background: var(--mb-ivory); position: fixed; top: 0; left: 0; width: 100%;
	z-index: 1001; height: 92px;
}
/* The live header is 92px, and 86px below 768. It was running on vh padding
   here, which made it 96px at 1440 and 125px at 768. */
@media (max-width: 768px) { .mb-header { height: 86px; } }
.mb-header__inner {
	margin: 0 auto; padding: 0 4vw; height: 100%;
	display: flex; align-items: center; gap: 22px;
}
.mb-header__burger { background: none; border: 0; font-size: 20px; cursor: pointer; }
.mb-header__mail { text-decoration: none; color: inherit; font-size: 17px; }
.mb-header__logo { margin: 0 auto; text-align: center; text-decoration: none; color: var(--mb-black); display: block; }
/* #logo on the live site: 14.5vw, then 25vw at 1024 and 42vw at 768. */
.mb-header__logo img { width: 14.5vw; height: auto; display: block; }
@media (max-width: 1024px) { .mb-header__logo img { width: 25vw; } }
@media (max-width: 768px)  { .mb-header__logo img { width: 42vw; } }
.mb-header__name { display: block; font-family: var(--mb-sans); font-size: 21px; letter-spacing: .06em; }
.mb-header__tag { display: block; font-size: 9px; letter-spacing: .3em; text-transform: uppercase; color: var(--mb-grey); }
.mb-header__tools { display: flex; align-items: center; gap: 22px; }
/* The header carries the live site's own icons, not look-alikes: FontAwesome
   4.5 for the envelope, phone, magnifier and heart, and the same CSS burger
   of three bars. The font is the copy already sitting in the theme. */
@font-face {
	font-family: "MBlueFontAwesome";
	font-display: block;
	src: url(../../../css/fontawesome-webfont.woff2) format("woff2"),
	     url(../../../css/fontawesome-webfont.woff) format("woff");
	font-weight: 400;
	font-style: normal;
}
.mb-fa {
	font-family: "MBlueFontAwesome"; font-style: normal; font-weight: 400;
	font-size: 20px; line-height: 22px; display: inline-block;
	-webkit-font-smoothing: antialiased; color: var(--mb-black);
}
.mb-fa--envelope::before { content: "\f003"; }   /* fa-envelope-o */
.mb-fa--phone::before    { content: "\f095"; }   /* fa-phone */
.mb-fa--search::before   { content: "\f002"; }   /* fa-search */
.mb-fa--heart::before    { content: "\f08a"; }   /* fa-heart-o */

.mb-header__tools, .mb-header__burger, .mb-header__mail, .mb-header-heart { color: var(--mb-black); }
.mb-header__tools a, .mb-header__tools a:hover { color: var(--mb-black); }

/* .main-burger on the live site: 24x22, three 20x2 bars at 1/9/17, turning
   into an X when the menu is open. */
.mb-header__burger {
	position: relative; width: 24px; height: 22px; padding: 0;
	background: none; border: 0; cursor: pointer;
}
.mb-header__burger > span {
	position: absolute; left: 0; width: 20px; height: 2px;
	background: var(--mb-black); display: block;
	transition: transform .3s ease, opacity .3s ease, top .3s ease;
}
.mb-header__burger > .top { top: 1px; }
.mb-header__burger > .mid { top: 9px; }
.mb-header__burger > .bot { top: 17px; }
.mb-header__burger[aria-expanded="true"] > span { background: var(--mb-text-dark); }
.mb-header__burger[aria-expanded="true"] > .top { top: 9px; transform: rotate(45deg); }
.mb-header__burger[aria-expanded="true"] > .mid { opacity: 0; }
.mb-header__burger[aria-expanded="true"] > .bot { top: 9px; transform: rotate(-45deg); }
.mb-heart svg, .mb-yacht-bar__fav svg, .mb-yacht-fav svg { width: 17px; height: 17px; display: block; }
.mb-header__tools a { color: inherit; text-decoration: none; }
/* Menu and search are side panels, as on the current site: 34.375% of the
   screen up to 420px, on #080808, sliding in from opposite edges. */
.mb-panel {
	position: fixed; top: 0; height: 100%; width: 34.375%; max-width: 420px;
	background: var(--mb-panel); color: var(--mb-white); z-index: 1002;
	overflow-y: auto; padding: 84px 34px 34px; text-align: left;
}
/* 34.375% -> 50% -> 72%, capped at 420px, exactly as the live site steps it. */
@media (max-width: 768px) { .mb-panel { width: 50%; } }
@media (max-width: 767px) { .mb-panel { width: 72%; } }
/* Each panel animates only its own edge. */
.mb-panel--menu { left: -420px; transition: left .4s ease-in-out; }
.mb-panel--search { right: -420px; transition: right .4s ease-in-out; }
.mb-panel--menu.is-open { left: 0; box-shadow: 2px 0 16px 0 rgba(50,50,50,.69); }
.mb-panel--search.is-open { right: 0; box-shadow: -2px 0 16px 0 rgba(50,50,50,.69); }

.mb-panel__scrim { position: fixed; inset: 0; background: var(--mb-scrim); z-index: 1001; }
.mb-panel__close {
	position: absolute; top: 24px; right: 26px; background: none; border: 0;
	color: var(--mb-white); cursor: pointer; padding: 0;
}
.mb-panel__close svg { width: 22px; height: 22px; display: block; }
.mb-panel__label {
	display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase;
	color: var(--mb-gold); margin-bottom: 12px;
}
.mb-panel--search input[type="search"] {
	width: 100%; background: var(--mb-panel); border: 0; border-bottom: 1px solid var(--mb-line);
	color: var(--mb-white); padding: 13px 14px; font-size: 17px; font-family: var(--mb-sans);
	margin-bottom: 20px;
	/* Review 18 point 2: the typed word sat on the left edge ("lady", or any
	   name starting with I). Safari also draws its own search box inset. */
	-webkit-appearance: none; appearance: none; border-radius: 0;
}
.mb-panel--search input::placeholder { color: var(--mb-field-text); }
.mb-panel--search .mb-btn { width: 100%; }

/* The live site centres the list inside the panel —
   "body>header>nav ul { text-align: center }" — even though the panel itself
   is text-align:left. */
.mb-menu ul { list-style: none; margin: 0; padding: 0; text-align: center; }
.mb-panel--search .mb-panel__label,
.mb-panel--search form { text-align: center; }
/* body > header > nav a: gold, 24px, uppercase, 3px of tracking, with each
   item sitting on 17px of padding and a 1px white rule above it. */
.mb-menu a, .mb-menu button:not(.mb-panel__close) {
	background: none; border: 0; color: var(--mb-gold); text-decoration: none; cursor: pointer;
	display: block; padding: 17px 0 0; margin-bottom: 14px; font-size: 24px; letter-spacing: 3px;
	line-height: normal;
	text-transform: uppercase; font-family: var(--mb-sans); text-align: center; width: 100%;
}
@media (max-width: 768px) { .mb-menu a, .mb-menu button:not(.mb-panel__close) { font-size: 22px; } }
.mb-menu li { margin-bottom: 17px; position: relative; }
.mb-menu li + li::before {
	content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 1px;
	background: var(--mb-line-on-dark);
}
.mb-menu__sub { padding: 0; margin-bottom: 8px; text-align: center; }
/* ul#submenu a on the live site: 16px, uppercase, 2px of tracking. */
.mb-menu__sub a { color: var(--mb-gold); font-size: 16px; letter-spacing: 2px; text-transform: uppercase; }

/* ---------- Hero slides ---------- */
/* The homepage hero fills what is left of the screen below the header.
   --mb-header-h is set from the real header height on load, so the hero still
   lands exactly on the fold if the header's size ever changes.
   svh is the small viewport height: on a phone it ignores the browser chrome
   that slides away as you scroll, which vh does not. */
/* Every hero is the full screen, as on the live site: there .swiper measures
   900 of a 900 viewport, starting at top 0 with the fixed header floating
   over it, so nothing below the hero is visible until you scroll. Ours was
   the viewport MINUS the header, which left the next section's heading
   showing at the fold.

   Amélie's words: "the above Hero photo fill the whole screen as it does on
   the current website."

   svh rather than vh on a phone: vh counts the browser chrome that slides
   away as you scroll, which makes the hero taller than the screen and pushes
   the next block out of reach. */
.mb-hero { min-height: 100vh; }
@supports (height: 100svh) {
	.mb-hero { min-height: 100svh; }
}

/* 15 Nov, hero on the phone, all pages: every hero starts right under the
   header, as the yacht pages, Meet Amélie and the MYBA page already do, and
   still ends at the bottom of the screen. The homepage slider does the same
   (asked 15 Nov, after Amélie's note that it was fine under the header). */
@media (max-width: 768px) {
	.mb-hero { margin-top: var(--mb-header-h, 86px); }
	.mb-hero:not(.mb-hero--phone-short) { min-height: calc(100vh - var(--mb-header-h, 86px)); }
	@supports (height: 100svh) {
		.mb-hero:not(.mb-hero--phone-short) { min-height: calc(100svh - var(--mb-header-h, 86px)); }
	}
}

/* Review 17 point 3: Meet Amélie and the MYBA page, on a phone, the same
   height as a yacht page's hero (4:3) rather than the whole screen. */
.mb-hero__img--phone { display: none; }
@media (max-width: 768px) {
	/* Every page hero shows the uncut photo on a phone (see parts/hero.php). */
	.mb-hero:not(.mb-hero--slides) .mb-hero__img { display: none; }
	.mb-hero:not(.mb-hero--slides) .mb-hero__img--phone { display: block; }
	/* Amélie's phone view: the part of the photo she framed, zoomed as she
	   set it. object-position picks the part; the zoom grows from the same
	   point, so the frame she saw in the page settings is what shows. */
	.mb-hero--framed .mb-hero__img--phone {
		object-position: var(--mb-ph-x, 50%) var(--mb-ph-y, 50%);
		transform: scale(var(--mb-ph-z, 1));
		transform-origin: var(--mb-ph-x, 50%) var(--mb-ph-y, 50%);
	}
	.mb-hero--phone-short { min-height: 0; aspect-ratio: 4 / 3; }
	/* The title and button were spaced for a whole screen; in the 4:3 box
	   the title rose under the header, which floats over the top 86px.
	   Room for the header above and the button below, the
	   title centred in what is left. */
	.mb-hero--phone-short .mb-hero__inner { padding-top: var(--mb-header-h, 86px); padding-bottom: 17%; }
	/* 15 Nov, hero photos: the header covered the top third of the 4:3 box,
	   which is where the diver is on the MYBA photo and JAZ's superstructure
	   on Meet Amélie. The box now starts where the header ends, as the yacht
	   pages do (Review 18 point 5), so the whole photo shows. */
	.mb-hero--phone-short .mb-hero__inner { padding-top: 0; }
	/* The MYBA diver is in the top third of the photo: the title sits lower,
	   between him and the button. */
	body.page-template-page-2027-myba .mb-hero--phone-short .mb-hero__inner { padding-top: 30%; }
	body .mb-hero--phone-short .mb-hero__title { font-size: 9vw; line-height: 1.1; margin: 0 auto; }   /* auto: the box stays centred (it is 80vw wide) */
	.mb-hero--phone-short .mb-btn { font-size: 4.6vw; bottom: 8%; }
}

.mb-hero--slides .mb-hero__slides { position: absolute; inset: 0; }
.mb-hero__slide { position: absolute; inset: 0; opacity: 0; transform: translateX(6%); transition: opacity .9s ease, transform .9s ease; }
.mb-hero__slide.is-active { opacity: 1; transform: none; }
.mb-hero__slide img { width: 100%; height: 100%; object-fit: cover; }
.mb-dot {
	width: 8px; height: 8px; border-radius: var(--mb-radius); border: 0; padding: 0; cursor: pointer;
	background: var(--mb-line-on-dark);
}
.mb-dot.is-active { background: var(--mb-gold); }

/* The small box headings are set in Tw Cen, not the serif. Note Amélie's
   design for the "Why M-Blue Yachts" grid shows these in EB Garamond — this
   follows the instruction to use the text face, so it is worth a second look
   against the design. */

/* ---------- Block 2 ---------- */
/* 26px: Amélie finds this box too tall. */
.mb-why { background: var(--mb-black); color: var(--mb-white); padding-block: 26px; }
.mb-why__grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 48px; align-items: start; }
.mb-why .mb-heading { color: var(--mb-white); }
.mb-why__text { color: var(--mb-on-dark); font-size: 16px; line-height: 1.7; }
.mb-why__links { display: flex; gap: 26px; flex-wrap: wrap; margin-top: 22px; }
.mb-facts { display: grid; grid-template-columns: 1fr 1fr; }
.mb-fact { padding: 22px; }
.mb-fact h3 { font-family: var(--mb-sans); font-weight: 400; font-size: 19px; color: var(--mb-gold); margin: 0 0 6px; }
.mb-fact p { margin: 0; font-size: 13px; color: var(--mb-on-dark); line-height: 1.5; }

/* ---------- Block 3 ---------- */
/* 26px: Amélie's point 5, less height, same as the Why box. */
.mb-passport { background: var(--mb-ivory-deep); padding-block: 26px; }
.mb-passport__grid { display: grid; grid-template-columns: minmax(240px, 1fr) 2.1fr; gap: 40px; align-items: start; }
/* The intro reads beside the tiles rather than above them, so it sits on
   the middle of the row; the tiles keep their own top-aligned height. */
.mb-passport__text { align-self: center; }
/* .mb-passport__tiles is declared with the homepage notes below: it
   slides at every width now, not only on a phone. */

/* ---------- Block 4 ---------- */
/* 32px, down from 52: the quotes are the tallest block on the homepage and
   the band of empty black above and below them was the easiest height to
   give back. */
.mb-testimonials { background: var(--mb-black); color: var(--mb-white); padding-block: 32px; overflow: hidden; }
.mb-testimonials .mb-heading { color: var(--mb-white); }
.mb-testimonials__head { display: flex; justify-content: space-between; align-items: center; }
/* The row slides at every width, like the collection tiles: the browser's own
   horizontal scrolling, so a swipe works on a phone and a trackpad on a laptop.
   No scroll-behavior here — it would animate every step of a drag. */
.mb-testimonials__track {
	display: flex; gap: 27px; margin-top: 18px;
	overflow-x: auto; scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch; scrollbar-width: none;
	cursor: grab;
}
.mb-testimonials__track::-webkit-scrollbar { display: none; }
/* Snapping mid-drag fights the pointer, so it is off while one is in progress. */
.mb-testimonials__track.is-dragging { cursor: grabbing; scroll-snap-type: none; }
.mb-testimonial {
	flex: 0 0 calc(33.333% - 18px); margin: 0; scroll-snap-align: start;
	background: var(--mb-card);
	border: 1px solid var(--mb-hairline); border-radius: 3px;
	padding: 28px; display: flex; flex-direction: column;
}
@media (max-width: 768px) { .mb-testimonial { flex: 0 0 86%; } }
/* The quote takes the spare height so the name sits on the foot of every
   card, lining the names up across the row whatever the quote length. */
.mb-testimonial blockquote { margin: 0 0 18px; font-style: italic; font-size: 17px; line-height: 1.7; color: var(--mb-on-dark); flex: 1; }
.mb-testimonial figcaption { font-size: 10px; letter-spacing: .14em; text-transform: uppercase; color: var(--mb-gold); }
.mb-testimonials__dots { display: flex; gap: 8px; justify-content: center; margin-top: 22px; }
.mb-placeholder-note { font-size: 11px; color: var(--mb-grey); text-align: center; margin-top: 14px; }

/* ---------- Block 5 ---------- */
.mb-news-block { background: var(--mb-ivory-deep); padding-block: 26px; }
/* The same frame as the Yacht charters block above: a text column, the
   sliding tiles beside it, and the link to the whole list low on the right. */
.mb-news-block__grid { display: grid; grid-template-columns: minmax(240px, 1fr) 2.1fr; gap: 40px; align-items: start; }
.mb-news-block__text { align-self: center; }
.mb-news-block__all { margin-top: 32px; padding-bottom: 6px; }
/* The text column squeezes the tiles through the middle widths — at 1024 it
   left them 190px, too narrow for the foot. Below 1100 the words go above the
   row and the tiles take the full wrap. */
/* Both rows drop their text column at the same width. Keeping two columns
   further down squeezed the tiles to 166px at 900 and 190px at 1024 — too
   small to read, and nowhere near the news foot's one line. */
@media (max-width: 1100px) {
	.mb-news-block__grid,
	.mb-passport__grid { grid-template-columns: 1fr; }
}
.mb-tiles--four { grid-template-columns: repeat(4, 1fr); }
/* The homepage row slides, the same shape as the collection tiles and the
   testimonials: the browser's own horizontal scrolling with snap points.
   Scoped to the homepage — /news/ stays a grid, which its brief asks for. */
.mb-news-block .mb-tiles--four {
	display: flex; gap: 18px;
	overflow-x: auto; scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mb-news-block .mb-tiles--four::-webkit-scrollbar { display: none; }
/* The row sits in the same 2.1fr column as the collection tiles, so at full
   width it takes their 31.7%. Through the middle widths that column is narrow
   enough to squeeze three tiles to 190px, which cannot hold the foot on one
   line, so it drops to two across and then one. */
.mb-news-block .mb-tiles--four > * { scroll-snap-align: start; }

/* Keeps the 72px of fade above the text; only the sides and foot differ from
   a collection tile. Flattening it to 18px put the gold eyebrow 18px into a
   fade that does not reach black until 72px, which is why OFFER · 10% OFF
   was still sitting on a white hull. */
.mb-newstile .mb-tile__body { padding: 72px 18px 18px; }
/* The type and the link share the tile's last line — one row, never two.
   "OFFER · 10% OFF" plus "View offer" plus the arrow need about 250px, so the
   tile has to be wide enough to hold them; the widths below see to that. The
   ellipsis is a safety net for a label longer than any of them. */
.mb-newstile__foot { display: flex; align-items: baseline; flex-wrap: nowrap; gap: 10px; margin-top: 8px; }
/* Tighter tracking inside the tile only. Review 3 fixed the label's size at
   14px, not its letter-spacing, and .16em over "OFFER · 10% OFF" adds about
   34px — the difference between one row and two at a 271px tile. */
.mb-newstile__type { min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.mb-newstile__foot .mb-newstile__type { letter-spacing: .06em; }
.mb-newstile__foot .mb-tile__cta { letter-spacing: .08em; }
.mb-newstile__foot .mb-tile__cta { white-space: nowrap; }
.mb-newstile__type { color: var(--mb-gold); font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .16em; text-transform: uppercase; }
.mb-newstile__foot .mb-tile__cta { display: inline; }
/* The link travels with the arrow to the right edge; the type keeps the
   left. The collection tiles keep their link on the left. */
.mb-newstile__foot .mb-tile__cta { margin-left: auto; }
.mb-newstile__foot .mb-tile__arrow { margin-left: 0; }
/* The arrow sits on the tile's bottom right corner, away from the words —
   the same on the collection tiles and the news tiles. */
.mb-tile__arrow { margin-left: auto; color: var(--mb-gold); font-size: var(--mb-arrow); line-height: 1; }
.mb-tile__foot { display: flex; align-items: baseline; gap: 10px; }
.mb-newstile__date { color: #b3b3b3; font-size: 11px; }
.mb-newstile.is-ended img { filter: grayscale(1); }
/* 17 Nov: the ended post itself, main photo and the photos in its text. */
.is-ended > .mb-hero img,
.is-ended .mb-post__body img { filter: grayscale(1); }
.mb-newstile.is-ended .mb-newstile__type { color: var(--mb-on-dark); }

/* ---------- Block 6 ---------- */
.mb-where { display: grid; grid-template-columns: 1.3fr 1fr; min-height: 380px; }
.mb-where__photo { position: relative; background: var(--mb-photo-bg); }
.mb-where__photo img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-where__panel { background: var(--mb-black); color: var(--mb-white); padding: 48px; align-self: stretch; display: flex; flex-direction: column; justify-content: center; }
.mb-where__panel .mb-heading { color: var(--mb-white); }

/* ---------- Block 7 ---------- */
/* 32px, in step with the quotes above and nearer the 26px of every other
   block on the page. */
.mb-owners { background: var(--mb-ivory-deep); padding-block: 32px; }
/* Review 3 said every closing quote is ~19px Garamond italic; this one was
   missed at 15px. The name goes up two steps from 11px — it measured about
   9px on a phone. */
.mb-owners__quote { margin: 0 0 10px; font-style: italic; font-size: var(--mb-quote); line-height: 1.6; }
.mb-owners__author { font-size: 15px; letter-spacing: .1em; color: var(--mb-grey); border-bottom: 1px solid var(--mb-gold); display: inline-block; padding-bottom: 6px; margin-bottom: 30px; }
.mb-owners__links { display: flex; gap: 40px; flex-wrap: wrap; margin-top: 16px; }

/* ---------- Footer ---------- */
/* The live footer: 16px TwCenMT in #888 with -.02em of tracking. */
.mb-footer { background: var(--mb-black); color: var(--mb-footer-text); padding-block: 44px; font-size: 16px; letter-spacing: -.02em; }
.mb-footer__grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 28px; }
/* 25 Nov (Iason): the copyright closes the Legal column, on the same row as the
   last Charter link (Charter essentials): each column fills the row's height
   and the copyright is pushed to its foot. Stacked on phones it simply
   follows Cookie settings. */
.mb-footer__col { display: flex; flex-direction: column; }
.mb-footer__col ul { flex: 1; display: flex; flex-direction: column; }
.mb-footer__copy { margin-top: auto; padding-top: 12px; font-size: 16px; line-height: 21px; color: var(--mb-footer-text); }
.mb-footer__col h2 { color: var(--mb-gold); font-size: 16px; letter-spacing: .5px; text-transform: uppercase; margin: 0 0 14px; font-weight: 400; }
.mb-footer__col ul { list-style: none; margin: 0; padding: 0; }
.mb-footer__col a { color: var(--mb-footer-text); text-decoration: none; font-size: 16px; line-height: 21px; }
.mb-footer__col a:hover { color: var(--mb-gold); }

@media (max-width: 768px) {
	.mb-why__grid { grid-template-columns: 1fr; }
	.mb-tiles--four { grid-template-columns: 1fr 1fr; }
	.mb-where { grid-template-columns: 1fr; }
	/* Point 8: the panel's own 48px sat on top of the section gutter, so Where
	   to charter started further in than everything above it. */
	.mb-where__panel { padding: 32px var(--mb-gutter); }
	/* Point 7: the two buttons sized to their own text and came out different
	   widths. One per row, both full width. */
	.mb-form__actions { flex-wrap: wrap; }
	.mb-form__actions > * { flex: 1 1 100%; text-align: center; }
	.mb-footer__grid { grid-template-columns: 1fr 1fr; }
	.mb-testimonial { flex: 0 0 100%; margin-right: 0; }
}
@media (max-width: 599px) {
	.mb-tiles--four { grid-template-columns: 1fr; }
	/* One column: every box but the last keeps its dividing line. The
	   two-column rule drops it from the last two, which here left "Seen in
	   person" and "4 languages" running together. */
	/* One column: every box but the last keeps its dividing line. Written with
	   the parent so it outranks the two-column :nth-last-child(-n+2) rule,
	   which otherwise strips the line from the last two — leaving "Seen in
	   person" and "4 languages" running together. */
	.mb-facts { grid-template-columns: 1fr; }
	/* The dividers came off on desktop; this rule was still putting them back
	   on a phone, in the white --mb-line. Point 8: the items also carried 22px
	   of their own padding, so they started further in than every other
	   section. */
	.mb-facts .mb-fact { padding-left: 0; padding-right: 0; }
	.mb-footer__grid { grid-template-columns: 1fr; }
}

/* ---------- News & Offers post ---------- */
.mb-section--ended { background: var(--mb-ivory-deep); }
/* 17 Nov: Recent opportunities gets a line under its heading, and both lists
   open with a few tiles and a Load more. */
.mb-news-ended__title { margin-bottom: 8px; }
.mb-news-ended__sub { color: var(--mb-text); margin: 0 0 28px; }
.mb-news-more { margin: 32px 0 0; text-align: center; }
.mb-tiles > .mb-tile[hidden] { display: none; }
.mb-post { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; margin-top: 24px; }
.mb-post__date { color: var(--mb-gold); font-size: 11px; letter-spacing: .16em; text-transform: uppercase; text-align: center; }
.mb-post__standfirst { font-family: var(--mb-sans); font-size: 21px; line-height: 1.5; text-align: center; max-width: 760px; margin: 10px auto 0; }
.mb-post__body { font-size: 14.5px; line-height: 1.8; }
.mb-post__ended { border-left: 3px solid var(--mb-gold); padding-left: 14px; font-style: italic; }
.mb-post__box { background: var(--mb-black); color: var(--mb-white); padding: 26px; position: sticky; top: 20px; }
.mb-post__box-kind { font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mb-grey); margin: 0 0 12px; }
.mb-post__box-line { margin: 0 0 4px; font-size: 13px; color: var(--mb-on-dark); }
.mb-post__box-note { font-size: 11px; color: var(--mb-grey); margin-top: 6px; }
.mb-post__box-cta { display: grid; gap: 10px; margin-top: 18px; }
.mb-post__box-cta .mb-btn { text-align: center; }
@media (max-width: 768px) {
	.mb-post { grid-template-columns: 1fr; }
	.mb-post__box { position: static; }
}

/* ---------- Light grey article pages ---------- */
.mb-page--grey { background: var(--mb-ivory-deep); }
.mb-essentials { display: grid; grid-template-columns: 1.7fr 1fr; gap: 40px; align-items: start; margin-top: 28px; }
.mb-essentials__intro { font-family: var(--mb-serif); font-weight: 400; font-size: clamp(20px, 2.6vw, 28px); text-align: center; max-width: 80vw; margin: 0 auto; line-height: 1.45; }
.mb-essentials__group { color: var(--mb-gold); font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .18em; text-transform: uppercase; margin: 34px 0 10px; font-weight: 400; }
.mb-qa { border-bottom: 1px solid var(--mb-on-dark); }
.mb-qa h4 { margin: 0; font-weight: 400; }
.mb-qa__q {
	width: 100%; text-align: left; background: none; border: 0; cursor: pointer;
	padding: 14px 0; font-size: 16px; display: flex; justify-content: space-between; gap: 16px;
	font-family: var(--mb-sans); color: var(--mb-black);
}
.mb-qa__sign { transition: transform .2s; color: var(--mb-gold); }
.mb-qa.is-open .mb-qa__sign { transform: rotate(90deg); }
.mb-qa__a { padding: 0 0 18px; font-size: 16px; line-height: 1.75; color: #333; }
.mb-qa__a p { margin: 0 0 12px; }
/* Garamond italic on every page; the name under it stays Tw Cen. */
.mb-essentials__quote { font-family: var(--mb-serif); font-style: italic; font-size: var(--mb-quote); text-align: center; border-top: 1px solid var(--mb-on-dark); margin: 40px 0 0; padding-top: 30px; }
.mb-essentials__quote cite { display: block; font-family: var(--mb-sans); font-style: normal; font-size: 10px; letter-spacing: .18em; text-transform: uppercase; color: var(--mb-gold); margin-top: 12px; }

.mb-article h3 { font-family: var(--mb-sans); font-weight: 400; font-size: 20px; margin: 30px 0 10px; }
.mb-article p, .mb-article li { font-size: 16px; line-height: 1.75; color: #333; }
.mb-article ul { padding-left: 20px; }
.mb-article li { margin-bottom: 8px; }

.mb-glance { background: var(--mb-black); color: var(--mb-white); padding: 26px; position: sticky; top: 20px; }
.mb-glance h3 { color: var(--mb-gold); font-family: var(--mb-sans); font-weight: 400; font-size: 19px; margin: 0 0 16px; }
.mb-glance__label { font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .16em; text-transform: uppercase; color: var(--mb-gold); margin: 14px 0 2px; }
.mb-glance__value { font-size: var(--mb-boxvalue); margin: 0 0 4px; color: var(--mb-on-dark); }
.mb-glance__cta { margin-top: 22px; }
.mb-glance__cta .mb-btn { display: block; text-align: center; }
.mb-glance__logos img { max-width: 120px; height: auto; margin: 0 8px 8px 0; }

/* "Letters on the hero photo small, as on the pdf" — and the pdf sets the
   title in Garamond title case, not the uppercase every other hero uses. Her
   mock measures a 49px ink height once scaled to a 1440 viewport, about 68px
   of EB Garamond. Scoped: every other hero keeps its 90px caps. */
/* 15 Nov, hero photos: on a laptop (1280 wide) the 90px title broke onto two
   lines and the top one sat on the diver in the MYBA photo. Just small
   enough to stay on one line, below him; 90px from 1450 up, as before. */
/* 16 Nov point 1: replaced by the shared page-title rules at the end. */

/* "Amélie's photo more to the left, aligned with the text underneath." It sat
   in a centred 880px block while the story below ran the full width, so it
   started about 200px in from the text's own left edge. */
/* The column is the portrait's own width, so ameliebw.jpg shows at its
   source size rather than being scaled down into a 150px slot. */
.mb-amelie__intro { display: grid; grid-template-columns: 211px 1fr; gap: 26px; align-items: center; }
/* "The whole photo, uncropped, as on the current website’s About Us page."
   It was cropped to a 3:4 box before, which cut the top off the portrait. */
.mb-amelie__portrait img { width: 100%; height: auto; display: block; }
/* "Introduction beside the photo, in Garamond." */
.mb-amelie__lead { font-family: var(--mb-serif); font-size: 22px; line-height: 1.45; margin: 0; }

/* The credentials box as the brief draws it: centred, a hairline under every
   line including the heading, then ENQUIRE NOW over the two buttons. Scoped to
   this box — Charter essentials and the MYBA page share .mb-glance and both
   stay sticky and left-aligned. The rules are faint on the black; --mb-line is
   #EDEDED, which reads as a bright stripe here. */
/* "The narrow black box on the right (A2)." The shared grid gives the aside
   37% of the row; the brief draws it at about a quarter, which is what makes
   the GYA line wrap to three. Scoped so Charter essentials and MYBA keep the
   proportions their own briefs were drawn at. */
/* Review 6 point 3: on a phone this page kept two columns and squeezed the
   story to about 117px, two or three words a line. The cause was this rule's
   own weight — body.page-template… .mb-essentials outranks the plain
   .mb-essentials inside the 768 media block, and a media query adds no
   specificity of its own, so the desktop proportions survived onto the phone.
   It is a desktop rule, so it now says so. */
@media (min-width: 769px) {
	body.page-template-page-2027-amelie .mb-essentials { grid-template-columns: 3.1fr 1fr; }
}

/* Amélie's READ MORE on Meet Amélie and Why use a MYBA broker, phone only.
   The fold is not a pixel height: she chose the words it cuts after, so the
   rest of that sentence is .js-mb-readmore-tail and the paragraphs below it
   .js-mb-readmore-rest, and both are simply hidden until it opens. The link
   and the hiding are both off until the phone media block turns them on, so
   a desktop reader sees the whole page as before.

   Two styles are drawn here for Amélie to choose between - the gold text
   link that VIEW OFFER uses, and a flat button. Add mb-more--button in the
   template for the second. */
.mb-more { display: none; }
.mb-more .js-mb-readmore-toggle { font-size: var(--mb-arrow); letter-spacing: .14em; }

/* Review 13: every control that opens and closes content is one style and one
   size - SEE ALL TOYS, READ MORE on the yacht page, Meet Amélie and Why use a
   MYBA broker, and VIEW ALL PHOTOS. Gold, 13px, .14em, uppercase, underlined
   by the .mb-link-gold hairline; VIEW ALL PHOTOS drops the underline and
   carries the same down arrow instead. The selectors are doubled so this
   outranks .mb-more's own rule above, which set READ MORE apart by .02em. */
.mb-toggle.mb-toggle {
	font-family: var(--mb-sans); font-size: var(--mb-arrow); letter-spacing: .14em;
	line-height: 1.2; text-transform: uppercase; color: var(--mb-gold);
}
.mb-toggle--plain.mb-toggle--plain { border-bottom: 0; padding-bottom: 0; }
/* The flat one: the page's own button, no shadow, no fill. */
.mb-more--button .js-mb-readmore-toggle {
	display: inline-block; border: 1px solid var(--mb-gold); border-radius: var(--mb-radius);
	padding: 12px 24px; font-size: 13px; letter-spacing: .14em; box-shadow: none;
	background: none; color: var(--mb-gold);
}

/* Review 1 of 11 Nov, point 5, replaces brief v2's "not sticky — the text is
   short": the text is long now, so the box follows the reader and stops at the
   end of it, before the testimonial. It inherits .mb-glance's sticky, and the
   768px rule below unpins it on a phone, which the review also asks for. The
   stop comes free — the box's grid row ends where the story does, and the
   testimonial sits outside that grid. */
.mb-credentials { text-align: center; }
.mb-credentials h3 {
	font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .18em; text-transform: uppercase;
	margin: 0; padding-bottom: 16px; border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.mb-credentials .mb-glance__value {
	margin: 0; padding: 14px 2px; line-height: 1.5;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.mb-credentials__cta {
	margin: 18px 0 14px; font-family: var(--mb-sans-bold);
	font-size: var(--mb-cta); letter-spacing: .18em; text-transform: uppercase;
	color: var(--mb-white);
}
.mb-credentials__actions { display: grid; gap: 8px; margin: 0; }
.mb-credentials__actions .mb-btn { display: block; text-align: center; }

/* Her social-media section keeps the small gold heading of the brief. Scoped to
   this page: the MYBA article asks for the same treatment but has not been
   approved yet. */
.mb-article--amelie h3 {
	font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .18em; text-transform: uppercase;
	color: var(--mb-gold); margin: 34px 0 12px;
}

/* "Testimonial at the end, in Garamond italic (name in Tw Cen)." */
/* "Testimonial: wider on the page, so that on desktop it takes 2 lines." */
.mb-amelie__testimonial {
	max-width: none; margin: 48px 0 0; padding-top: 32px;
	border-top: 1px solid var(--mb-line); text-align: center;
}
.mb-amelie__testimonial blockquote {
	margin: 0; font-family: var(--mb-serif); font-style: italic;
	font-size: var(--mb-quote); line-height: 1.6; color: var(--mb-black);
}
.mb-amelie__testimonial figcaption {
	margin-top: 16px; font-family: var(--mb-sans); font-size: 11px;
	letter-spacing: .18em; text-transform: uppercase; color: var(--mb-gold);
}

@media (max-width: 768px) {
	.mb-essentials { grid-template-columns: 1fr; }
	.mb-glance { position: static; }
	/* "On mobile it is always centred above the introduction." */
	.mb-amelie__intro { grid-template-columns: 1fr; justify-items: center; text-align: center; }
	/* Review 6 point 4: about 180px on a phone, the width it has on the
	   current About Us page. The photograph is 211 wide at source, so this
	   only ever scales it down. */
	.mb-amelie__portrait { max-width: 180px; }
	/* The story is long on a phone - Amélie asked for it folded at a point
	   she chose. Closed, everything after that point is out of the flow.
	   These two rules are the fold itself and serve all three pages that
	   have one: Meet Amélie, the MYBA page and the yacht page. */
	.mb-more { display: block; margin-top: 14px; }
	.js-mb-readmore:not(.is-open) .js-mb-readmore-tail,
	.js-mb-readmore:not(.is-open) .js-mb-readmore-rest { display: none; }
}

/* ---------- Yacht page additions ---------- */
/* "ADD TO FAVOURITES aligned to the right, on desktop and mobile." It sat
   inline straight after the yacht's name. */
.mb-yacht__name { display: flex; align-items: baseline; justify-content: space-between; gap: 18px; flex-wrap: wrap; }
.mb-yacht-fav {
	display: inline-flex; align-items: center; gap: 8px; margin-left: auto;
	background: none; border: 0; cursor: pointer; color: var(--mb-gold);
	font-size: 11px; letter-spacing: .14em; text-transform: uppercase; font-family: var(--mb-sans);
	vertical-align: middle;
}
.mb-yacht-fav.is-saved { color: var(--mb-gold); }
.mb-yacht-bar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 90; display: none;
	background: var(--mb-black); padding: 10px 14px; align-items: center; gap: 14px;
}
.mb-yacht-bar__fav { color: var(--mb-white); font-size: 20px; text-decoration: none; }
.mb-yacht-bar__fav.is-saved { color: var(--mb-gold); }
.mb-yacht-bar__cta { flex: 1; text-align: center; }
@media (max-width: 768px) { .mb-yacht-bar { display: flex; } }

/* ---------- Standard black box (news posts + yacht page) ---------- */
.mb-box { background: var(--mb-black); color: var(--mb-white); padding: 26px; position: sticky; top: 20px; text-align: center; }
.mb-box__title { font-family: var(--mb-sans); font-size: 22px; color: var(--mb-gold); margin: 0 0 16px; }
.mb-box__heading { color: var(--mb-gold); font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .18em; text-transform: uppercase; margin: 18px 0 8px; padding-top: 12px; border-top: 1px solid var(--mb-line); }
.mb-box__heading--offer { color: var(--mb-gold-light); }
/* "white, bold, about 14px, the same on every page" — on the yacht page this
   was the small gold label style. */
.mb-box__heading--cta {
	border-top: 1px solid var(--mb-line);
	color: var(--mb-white); font-family: var(--mb-sans-bold); font-size: var(--mb-cta);
}
.mb-box__line { margin: 0 0 4px; font-size: var(--mb-boxvalue); color: var(--mb-on-dark); }
.mb-box__note { font-size: 10.5px; color: var(--mb-grey); margin: 6px 0 0; }
.mb-box__area { font-size: 16px; letter-spacing: .08em; margin: 0; }
.mb-box__general { font-size: 13.5px; color: var(--mb-on-dark); line-height: 1.6; }
.mb-box__view { margin: 16px 0 0; }
.mb-box__view a { color: var(--mb-gold); font-size: 11px; letter-spacing: .12em; text-transform: uppercase; text-decoration: none; }
.mb-box__actions { display: grid; gap: 10px; margin: 12px 0 0; }
.mb-box__actions .mb-btn { width: 100%; }

/* ---------- Yacht page ---------- */
/* The hero sits at the full width of the page and keeps its own proportions,
   so nothing is cropped off the yacht. */
.mb-yacht__hero { position: relative; background: var(--mb-photo-bg); }
.mb-yacht__hero-img { width: 100%; height: auto; display: block; }
.mb-yacht__hero-img--mobile { display: none; }
.mb-yacht__hero-text { position: absolute; left: 0; right: 0; bottom: 8%; text-align: center; color: var(--mb-white); }
.mb-yacht__hero-text h1 { font-family: var(--mb-serif); font-weight: 400; font-size: clamp(28px, 5vw, 52px); margin: 0; letter-spacing: .06em; }
.mb-yacht__hero-text p { font-size: 11px; letter-spacing: .2em; text-transform: uppercase; margin: 8px 0 0; }
/* Review 18 point 4, desktop: option B, and exactly one screen high like the
   homepage. height:auto made IDEFIX II 958px on an 812px screen, so the name
   sat below the fold. The fixed header floats over the top, as on the
   homepage; the photo fills the box. Name, length and shipyard larger,
   centred, a little higher than before.
   17 Nov: the name and its line sit in the middle of the photo, across and
   down (the middle of the block at the middle of the screen; was 13% up from
   the bottom). */
@media (min-width: 769px) {
	.mb-yacht__hero { height: 100vh; overflow: hidden; }
	@supports (height: 100svh) { .mb-yacht__hero { height: 100svh; } }
	.mb-yacht__hero-img { height: 100%; object-fit: cover; }
	.mb-yacht__hero-text { top: 50%; bottom: auto; transform: translateY(-50%); padding: 0 var(--mb-gutter); }
	.mb-yacht__hero-text h1 { font-size: clamp(44px, 5.4vw, 84px); letter-spacing: .08em; line-height: 1.1; }
	.mb-yacht__hero-text p { font-size: 14px; letter-spacing: .26em; margin-top: 16px; }
}
.mb-yacht__grid { display: grid; grid-template-columns: 1.6fr 1fr; gap: 36px; align-items: start; }
.mb-yacht__name { font-family: var(--mb-sans); font-weight: 400; font-size: 26px; color: var(--mb-gold); margin: 0 0 18px; display: flex; align-items: center; flex-wrap: wrap; gap: 10px; }
.mb-yacht__heading { color: var(--mb-gold); font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .18em; text-transform: uppercase; margin: 24px 0 8px; font-weight: 400; }
.mb-yacht__body p { font-size: 16px; line-height: 1.8; color: #333; margin: 0 0 12px; }
.mb-yacht__tech { font-size: 13px; color: var(--mb-grey); }
/* The gallery as the current site has it: one photo per row at full width,
   uncropped, 1.5vmax apart, inset 3vmax from the edges. */
.mb-yacht__gallery { background: #ededed; overflow: hidden; }
.mb-yacht__shot { width: calc(100% - 3vmax); height: auto; margin: 0 auto 1.5vmax; }
.mb-yacht__shot img { width: 100%; height: auto; display: block; }

/* ---------- Need help ---------- */
.mb-help { position: fixed; right: 18px; bottom: 18px; z-index: 95; }
/* "Mobile: NEED HELP appears twice." The yacht page's bottom bar carries its
   own, so the floating tab was the second. The card it opens stays, since the
   bar's button opens the same one. */
@media (max-width: 768px) {
	body:has(.mb-yacht-bar) .mb-help__tab { display: none; }
}

/* Review 8 point 5: VIEW ALL PHOTOS. Gold, centred, underlined by the
   .mb-link-gold hairline, in the light section just above the gallery.
   Desktop only - the phone block below hides it. */
.mb-yacht__viewall { text-align: center; margin: 34px 0 0; }

/* "↑ BACK TO <yacht>" above the form. */
/* Review 6 point 7: on the yacht page the form sat in the narrow right-hand
   column with the left half of the row empty but for this link. .mb-enquiry
   is a two-column grid and the link is its FIRST child, so it took column one
   of row one and pushed the form into column two — the 1fr track meant for
   the contact details. It spans the row instead, and the section's own
   padding places it: the max-width and gutter here were written for a block
   that stood outside the grid. */
.mb-backto { grid-column: 1 / -1; margin: 0 0 18px; }
.mb-help__tab { background: var(--mb-black); color: var(--mb-white); border: 1px solid var(--mb-gold); padding: 10px 16px; font-size: 11px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; font-family: var(--mb-sans); }
.mb-help__card { position: relative; width: 300px; background: var(--mb-black); color: var(--mb-white); border: 1px solid var(--mb-gold); padding: 20px; }
.mb-help__close { position: absolute; top: 8px; right: 10px; background: none; border: 0; color: var(--mb-white); font-size: 18px; cursor: pointer; }
.mb-help__row { display: flex; gap: 12px; align-items: center; }
.mb-help__photo img { width: 56px; height: 56px; object-fit: cover; border-radius: var(--mb-radius); }
.mb-help__title { font-family: var(--mb-sans); font-size: 17px; margin: 0 0 4px; }
.mb-help__text { font-size: 12px; color: var(--mb-on-dark); margin: 0; line-height: 1.5; }
.mb-help__actions { display: flex; gap: 8px; margin: 16px 0 8px; }
.mb-help__actions .mb-btn { flex: 1; text-align: center; padding: 10px 8px; }
.mb-help__no { margin: 0; text-align: center; }
.mb-help__no button { background: none; border: 0; color: var(--mb-grey); font-size: 11px; cursor: pointer; text-decoration: underline; font-family: var(--mb-sans); }

.mb-modal__box--enquire { max-width: 430px; }
.mb-modal__sub { text-align: center; font-size: 10px; letter-spacing: .12em; text-transform: uppercase; color: var(--mb-grey); margin: 0 0 18px; }
.mb-modal__alt { margin: 14px 0 0; }
.mb-modal__alt .mb-btn { display: block; text-align: center; }

.mb-post__ended-note { border: 1px solid var(--mb-gold); padding: 14px; text-align: center; margin: 22px auto 0; max-width: 760px; }
.mb-post__ended-title { color: var(--mb-gold); font-size: 10px; letter-spacing: .18em; text-transform: uppercase; margin: 0 0 6px; }
.mb-post__ended-note p { margin: 0; font-size: 13px; }
.mb-yacht-bar__help { background: none; border: 0; color: var(--mb-white); font-size: 11px; letter-spacing: .1em; text-transform: uppercase; cursor: pointer; font-family: var(--mb-sans); }

@media (max-width: 768px) {
	.mb-yacht__grid { grid-template-columns: 1fr; }
	.mb-box { position: static; }
	/* Swap to the mobile photo only when one is actually set. Hiding the
	   desktop image unconditionally left yachts without a mobile photo — most
	   of them — with no hero at all on a phone. */
	.mb-yacht__hero.has-mobile .mb-yacht__hero-img--mobile { display: block; }
	.mb-yacht__hero.has-mobile .mb-yacht__hero-img:not(.mb-yacht__hero-img--mobile) { display: none; }
	.mb-yacht__viewall { display: none; }   /* Review 8 point 5: desktop only. */
	/* Phone hero, option C (16 Nov): the frame takes each photo's own shape.
	   A yacht's bow and stern are never cut, so a fixed frame either cut the
	   sides (4:3 cover) or left grey under the photo (4:3 contain). With the
	   photo's own shape nothing is cut, there is no grey, and the name always
	   sits on the photo. The cost is a hero that is not the same height on
	   every yacht: 180 to 319px on a 390px phone, most 219 to 292px. The base
	   rule above already gives width 100% / height auto, and the template's
	   width and height attributes reserve the space before the photo loads.
	   This replaces Review 8 point 3 (one 4:3 height) and makes the per-photo
	   fill setting from Review 17 point 2B (is-phone-fill) unnecessary here. */
	/* Review 18 point 5: the fixed header covered the top of the photo
	   (AFRICA I). The hero now starts where the header ends. */
	.mb-yacht__hero { margin-top: var(--mb-header-h, 86px); }
	/* 16 Nov: on the phone the name and its line start 20% of the photo's
	   own height below its top (was 8% up from its foot), so it sits at the
	   same place on every yacht whatever the photo's shape. Measured against
	   the screen instead, a share large enough to clear the sails pushed the
	   name off the foot of the short, wide heroes. Even the shortest hero
	   (~180px) has room: 36px down plus the ~56px block. The scrim covers
	   the whole photo, so the name reads the same up here. */
	/* Later on 16 Nov: centred instead - the middle of the name block sits
	   at the middle of the photo on every yacht. */
	.mb-yacht__hero-text { top: 50%; bottom: auto; transform: translateY(-50%); padding: 0 16px; }
	/* The name and its line grow with the phone, as the photo does, so they
	   take the same share of it on every phone: 28px and 11px on a 390px
	   phone, as before. The base clamp held them at 28px on every phone. */
	.mb-yacht__hero-text h1 { font-size: clamp(22px, 7.2vw, 40px); }
	.mb-yacht__hero-text p { font-size: clamp(9px, 2.8vw, 14px); margin-top: clamp(6px, 2vw, 12px); }
	/* The description used to be clamped to a height here - 190px, then 83vw.
	   Both cut at a different word on every screen. The fold is in the content
	   now, the same as Meet Amélie and the MYBA page, so the rules that hide
	   it are the shared ones below. */
	.mb-help { right: 10px; bottom: 60px; }
	.mb-help__card { width: calc(100vw - 32px); max-width: 320px; }
}

/* ---------- Header search ---------- */
.mb-header__search-toggle { background: none; border: 0; font-size: 17px; cursor: pointer; color: inherit; padding: 0; }
.screen-reader-text { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); white-space: nowrap; }

/* Water toys read as a list, not one run-on line. */
.mb-yacht__toys { list-style: none; margin: 0 0 10px; padding: 0; }
.mb-yacht__toys li { font-size: 14px; line-height: 1.7; color: #333; padding-left: 16px; position: relative; }
.mb-yacht__toys li::before { content: "·"; position: absolute; left: 2px; color: var(--mb-gold); font-weight: 700; }

/* ---------- Search ---------- */
.mb-search-head { background: var(--mb-black); color: var(--mb-white); padding-block: 38px; }

/* Privacy Policy (page-2027-privacy.php, 19 Nov): the old page's
   uppercase title, the page's own text below it. */
/* The header is fixed: start below it (--mb-header-h is its real height,
   set by mblue-2027.js; 92px is its desktop height before that runs). */
.mb-legal-head { padding-block: calc(var(--mb-header-h, 92px) + 44px) 0; }
.mb-legal-head .mb-heading { color: var(--mb-black); text-transform: uppercase; letter-spacing: 1px; }
.mb-legal { padding-top: 18px; }
.mb-legal__text { max-width: 980px; }
.mb-legal__text p { margin: 0 0 1.1em; }
/* Amélie, 19 Nov: white background, black letters. */
.mb-page--legal { background: var(--mb-white); }
.mb-legal__text, .mb-legal__text p, .mb-legal__text li, .mb-legal__text strong, .mb-legal__text b { color: var(--mb-black); }
.mb-legal__text a { color: var(--mb-black); text-decoration: underline; }
/* Amélie, 19 Nov: all fonts on the legal page in Tw Cen, the title too
   (Garamond elsewhere). */
.mb-page--legal .mb-heading,
.mb-legal__text, .mb-legal__text h2, .mb-legal__text h3, .mb-legal__text p, .mb-legal__text li { font-family: var(--mb-sans); }
.mb-legal__text strong, .mb-legal__text b { font-family: var(--mb-sans-bold); }
/* The footer's Disclaimer and Cookies policy links land on these sections. */
.mb-legal__text #disclaimer, .mb-legal__text #cookie-policy { scroll-margin-top: 24px; }
.mb-search-head .mb-heading { color: var(--mb-white); }
.mb-search-again { display: flex; gap: 10px; max-width: 620px; margin: 18px 0 0; }
.mb-search-again input {
	flex: 1; background: var(--mb-field-bg); border: 0; color: var(--mb-white);
	padding: 12px 14px; font-size: 14px; font-family: var(--mb-sans);
}
.mb-search-again input::placeholder { color: var(--mb-field-text); }
.mb-search-tabs { display: flex; gap: 22px; margin: 20px 0 0; }
.mb-search-tabs a {
	color: var(--mb-grey); text-decoration: none; font-size: 11px;
	letter-spacing: .14em; text-transform: uppercase; padding-bottom: 5px;
}
.mb-search-tabs a.is-active { color: var(--mb-gold); border-bottom: 1px solid var(--mb-gold); }
/* The live site's pagination: gold 18px numbers, the current one plain
   black (a.page-numbers / span.page-numbers.current). */
.mb-pagination { display: flex; gap: 8px; justify-content: center; align-items: center; margin-top: 26px; flex-wrap: wrap; }
.mb-pagination a, .mb-pagination span {
	padding: 8px 13px; text-decoration: none; font-size: 18px;
	font-family: var(--mb-sans); color: var(--mb-gold);
	border: 1px solid transparent; transition: all .3s;
}
.mb-pagination a:hover { border-color: var(--mb-gold); }
.mb-pagination .current { color: var(--mb-black); border-color: var(--mb-gold); }
/* The ellipsis is a marker, not a target. */
.mb-pagination__gap { color: var(--mb-grey); padding-inline: 4px; }

/* The membership marks in the contact column. Black artwork on transparency,
   so they are inverted for the dark panel — the same treatment as the footer. */
.mb-contact__marks { display: flex; align-items: center; gap: 14px; margin: 18px 0 8px; flex-wrap: wrap; }
.mb-contact__marks img { width: 82px; height: auto; display: block; }
.mb-contact__marks--gya { margin-top: 22px; }
.mb-contact__marks--gya img { width: 110px; }

/* The track used to be a transform slider whose horizontal swipe was handled
   in JS, so it carried touch-action: pan-y to stop the browser scrolling it.
   It is a native scroller now and that rule blocked the very gesture it is
   supposed to allow — a swipe moved nothing on a phone. The default lets the
   browser pan the row sideways and still scroll the page vertically. */

/* ---------- MYBA membership box ---------- */
/* Laid out from Amélie's design: the marks run nearly the full width of the
   box in pairs, with thin rules between each group. The artwork is already
   white and cyan on transparency, so it sits straight on the black. */
.mb-myba { padding: 26px 24px; text-align: center; }
/* Review 1 point 8: the same size as CREDENTIALS on Meet Amélie. */
.mb-myba__title {
	color: var(--mb-gold); font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .18em;
	text-transform: uppercase; margin: 0 0 16px;
}
.mb-myba__marks {
	display: flex; align-items: center; justify-content: center; gap: 18px;
}
/* Point 9: the MYBA marks read far bigger than the subscriber ones because
   their artwork is cropped tight to the wordmark while YACHTFOLIO and E-Charter
   carry their own padding — all four boxes were already ~200px wide. Capping
   the MYBA pair brings the lettering to the same apparent size. */
/* Review 2 point 2: the YACHTFOLIO row stood much taller than the others
   because its artwork is squarer, so the box had uneven gaps. Capping every
   mark to one height evens the rows and keeps all four the same apparent size,
   which is what point 9 of the last review asked for. */
/* One row height for both pairs keeps the spacing even; the caps differ
   because the MYBA artwork is cropped tight to the wordmark while YACHTFOLIO
   and E-Charter carry their own padding, so equal boxes do not read as equal
   lettering. */
.mb-myba__marks { min-height: 84px; }
/* Review 6 point 5: still about 1.5x the two below. The caps are not
   comparable numbers — the MYBA artwork is cropped tight to the wordmark, so
   its box IS its lettering (52px cap, 52px of letters), while YACHTFOLIO and
   E-Charter carry transparent padding and show about 30px and 25px of letters
   inside a 68px box. Amélie measured what she can see and asked for 30-32px,
   so the MYBA cap goes to 32 and the subscriber cap stays where it is. */
/* Settled with Amélie on the page, 13 Nov, which is how her follow-up asked
   for it: at 32 the MYBA lettering still read smaller than YACHTFOLIO and
   E-Charter below, so the cap went to 42 - above the 30-32 of the review, and
   agreed there. Still well under the 52 it started at. */
.mb-myba__marks img { max-height: 42px; width: auto; max-width: calc(50% - 9px); object-fit: contain; display: block; }
.mb-myba__marks--subs img { max-height: 68px; }
.mb-myba__line {
	font-size: 14px; line-height: 1.5; color: var(--mb-on-dark);
}
.mb-myba__line strong { color: var(--mb-white); }
.mb-myba__cta-label {
	font-size: var(--mb-cta); letter-spacing: .14em; text-transform: uppercase;
	color: var(--mb-white); font-family: var(--mb-sans-bold);
}
/* Point 11: a thin rule between every row of the box, as the brief draws it.
   The buttons sit straight under ENQUIRE NOW with no rule between them. */
.mb-myba__marks,
.mb-myba__line,
.mb-myba__cta-label {
	margin: 16px 0 0; padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .18);
}
.mb-myba__actions { display: grid; gap: 10px; margin: 14px 0 0; }
.mb-myba__actions .mb-btn { width: 100%; text-align: center; font-size: 12px; padding: 12px 10px; }

/* Point 5: the "Trust a MYBA Member" advert beside WHAT MYBA IS, under the
   text on a phone. Click opens it larger. */
.mb-myba-advert { float: right; width: 190px; margin: 4px 0 18px 26px; }
.mb-myba-advert a { display: block; cursor: zoom-in; }
.mb-myba-advert img { width: 100%; height: auto; display: block; }
/* Keep the float from running past its own section. */
/* Review 2 point 1: small gold capitals, the same as BOOKING. */
.mb-article--myba h3 {
	clear: both;
	font-family: var(--mb-sans-bold); font-size: var(--mb-label);
	letter-spacing: .18em; text-transform: uppercase; color: var(--mb-gold);
	margin: 34px 0 12px;
}
@media (max-width: 768px) {
	.mb-myba-advert { float: none; width: 100%; max-width: 320px; margin: 18px auto; }
}

/* AT A GLANCE in the same shape as MYBA MEMBERSHIP: gold centred title, every
   row between hairlines, then ENQUIRE NOW over the two buttons. This box stays
   sticky — .mb-credentials is the same treatment with the pinning off. */
.mb-glance--panel { text-align: center; }
.mb-glance--panel h3 {
	font-family: var(--mb-sans-bold); font-size: var(--mb-label);
	letter-spacing: .18em; text-transform: uppercase; color: var(--mb-gold);
	margin: 0; padding-bottom: 16px;
	border-bottom: 1px solid rgba(255, 255, 255, .18);
}
.mb-glance--panel .mb-glance__label {
	margin: 16px 0 2px; padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .18);
}
/* The first row already sits under the title's own rule. */
.mb-glance--panel h3 + .mb-glance__label { border-top: 0; padding-top: 0; }
.mb-glance--panel .mb-glance__value { margin: 0; }
.mb-glance__cta-label {
	margin: 16px 0 14px; padding-top: 16px;
	border-top: 1px solid rgba(255, 255, 255, .18);
	font-family: var(--mb-sans-bold); font-size: var(--mb-cta);
	letter-spacing: .18em; text-transform: uppercase; color: var(--mb-white);
}
.mb-glance__actions { display: grid; gap: 10px; margin: 0; }
.mb-glance__actions .mb-btn { width: 100%; text-align: center; font-size: 12px; padding: 12px 10px; }

/* ---------- Review 3: mobile ---------- */
@media (max-width: 768px) {
	/* Review 7 point 1: every gold arrow link is 13px, the same as on a
	   desktop. This block used to shrink them to 11.5 - "all the same size"
	   is what she asked for, and --mb-arrow is already that size, so the
	   phone simply stops overriding it. */
	/* CONTACT is a section title and follows the others down; it was the only
	   one that kept its desktop size. Its line box follows the eyebrow's too,
	   so the title occupies the same strip as the others at every width below
	   the desktop one — see Review 6 point 2. */
	.mb-enquiry__contact h3 { font-size: 24px; line-height: 1.05; }
	/* Nothing small enough to squint at: 12px is the floor on a phone.
	   Review 6 point 1: the homepage testimonial names (R.S. · GERMANY) were
	   the one caption this list missed and stayed at 10px. */
	.mb-essentials__quote cite,
	.mb-amelie__testimonial figcaption,
	.mb-testimonial figcaption { font-size: 12px; }
	.mb-blackbox--newly-added .mb-blackbox__text,
	.mb-blackbox--family .mb-blackbox__text,
	.mb-blackbox--amelies-selection .mb-blackbox__text,
	.mb-blackbox--40-50m .mb-blackbox__text,
	.mb-blackbox--50m-plus .mb-blackbox__text { font-size: 17px; }   /* Review 16 point 2. */
	.mb-card__why { font-size: 15px; line-height: 20px; }   /* Review 16 point 3. */
	/* Review 7 point 2: the three small grey notes in Plan your charter at
	   13px. Grey and regular already. Review 7 is mobile only - "Desktop
	   stays exactly as it is" - so the 11px base rules are untouched and
	   this raises them here instead. 13 clears the 12px floor above. */
	.mb-field__note,
	.mb-prefs__hint,
	.mb-form__note { font-size: 13px; }
}
@media (max-width: 599px) {
	/* Review 6 point 2 reads CONTACT as 22px against 20px on the other
	   section titles. The size is already the eyebrow's 20px here, and the
	   face, weight and tracking match it too — what differed was the line
	   box, 30px against the eyebrow's 21, which is what a title measured off
	   a screenshot comes out as. It now sits in the same box as the rest. */
	.mb-enquiry__contact h3 { font-size: 20px; }
}

/* A photo opened larger, over the page. Shared so the yacht gallery can use it. */
.mb-zoom {
	position: fixed; inset: 0; z-index: 200; display: flex;
	align-items: center; justify-content: center; padding: 4vmin;
	background: rgba(0, 0, 0, .88); cursor: zoom-out; border: 0;
}
.mb-zoom img { max-width: 100%; max-height: 100%; width: auto; height: auto; display: block; }

/* The charter box glides down with the reader. Sticky is the fallback: the
   script swaps it for a transform so the movement can be eased. */
.js-mb-sticky-box.is-following {
	position: relative;
	top: auto;
	will-change: transform;
	transition: transform .45s cubic-bezier(.22, .61, .36, 1);
}
@media (prefers-reduced-motion: reduce) {
	.js-mb-sticky-box.is-following { transition: none; }
}

/* The fixed enquiry bar. The charter box can only glide for as long as the
   text column lasts; on most yachts that is one screen against a gallery of
   twenty photos. This carries the same two actions the rest of the way, and
   steps aside once the full form is on screen. Desktop only — phones already
   have .mb-yacht-bar. */
.mb-enquirybar {
	position: fixed; left: 0; right: 0; bottom: 0; z-index: 96; display: none;
	background: var(--mb-black); border-top: 1px solid var(--mb-gold);
	transform: translateY(100%);
	transition: transform .5s cubic-bezier(.22, .61, .36, 1);
}
.mb-enquirybar.is-up { transform: none; }
.mb-enquirybar__inner {
	max-width: 1180px; margin: 0 auto; padding: 12px var(--mb-gutter);
	display: flex; align-items: center; justify-content: space-between; gap: 24px;
}
.mb-enquirybar__about { margin: 0; display: flex; align-items: baseline; gap: 14px; flex-wrap: wrap; }
.mb-enquirybar__name { font-family: var(--mb-sans); font-size: 20px; color: var(--mb-gold); }
.mb-enquirybar__price { font-size: 13px; color: var(--mb-white); }
.mb-enquirybar__actions { margin: 0; display: flex; gap: 10px; flex-shrink: 0; }
.mb-enquirybar__actions .mb-btn { font-size: 12px; padding: 11px 20px; }
@media (min-width: 769px) { .mb-enquirybar { display: block; } }
@media (prefers-reduced-motion: reduce) { .mb-enquirybar { transition: none; } }
/* Two floating calls to action at once is one too many. */
body.mb-bar-up .mb-help { display: none; }

/* The two small links to Charter essentials: one under the rates in the black
   box, one under the budget in every form. Gold and underlined, as the brief
   asks, at whatever size the note around them already is. */
.mb-note-link { color: var(--mb-gold); text-decoration: underline; transition: color .3s ease; }
.mb-note-link:hover { color: var(--mb-gold-light); }

/* Review 6 point 8, and Review 5 point 5 before it: a phone used to swap this
   list for a native <select multiple>, and iOS does not draw one as a list at
   all — it draws a single line reading "0 Items", whatever the placeholder
   says, which is what Amélie keeps seeing. The custom toggle now stays on a
   phone exactly as on desktop: "Open to suggestions" until a destination is
   picked, then the names of the picks. The .mb-multi__native rules went with
   the script that built it. */
.mb-suggest__hit {
	border: 1px solid var(--mb-gold); color: var(--mb-gold);
	padding: 8px 14px; font-family: var(--mb-sans); font-size: 12px;
	letter-spacing: .12em; text-transform: uppercase; text-decoration: none;
	transition: background-color .3s ease, color .3s ease;
}
.mb-suggest__hit:hover, .mb-suggest__hit:focus-visible {
	background: var(--mb-gold); color: var(--mb-black);
}
/* Review 17 point 7: the names were inline links, so a second row of boxes
   overlapped the first and a long name (LADY EMMA) split over two lines. Each
   box is now whole, on its own line where it does not fit. */
.mb-suggest:not([hidden]) { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin-top: 16px; }
.mb-suggest__hit { display: inline-block; white-space: nowrap; max-width: 100%; overflow: hidden; text-overflow: ellipsis; }
/* 15 Nov: each yacht with a small photo. One per line, the photo on the
   left and the name beside it, still in the gold frame. */
.mb-suggest:not([hidden]) { flex-direction: column; align-items: stretch; }
.mb-suggest__hit { display: flex; align-items: center; gap: 16px; padding: 6px 14px 6px 6px; text-align: left; }
.mb-suggest__img { flex: 0 0 120px; width: 120px; height: 80px; object-fit: cover; display: block; background: var(--mb-photo-bg); }
.mb-suggest__name { min-width: 0; overflow: hidden; text-overflow: ellipsis; }


/* The live card name steps down one size on a tablet. */
@media (max-width: 1024px) {
	.mb-card__name { font-size: 24px; letter-spacing: .4px; }
}


/* On a phone .mb-yacht-bar is fixed to the foot of the window. Now that its
   button scrolls to the form rather than opening a pop-up over it, the bar
   has to step aside when the form arrives — otherwise it covers the rows the
   reader was sent to. */
.mb-yacht-bar { transition: transform .4s ease-in-out; }
body.mb-form-reached .mb-yacht-bar { transform: translateY(100%); }
@media (prefers-reduced-motion: reduce) { .mb-yacht-bar { transition: none; } }

/* The chosen option in a single-choice list, while it waits for Apply. */
.mb-filters__list button.is-chosen { color: var(--mb-gold); }

/* The search grid holds two kinds of result. Left to stretch, a yacht card
   was pulled to the height of the tallest news tile beside it and showed a
   slab of empty black under the price. The site's own listing pages are a
   uniform grid of cards at their natural height, which is what the search
   should look like too. */
/* align-items: start was here to stop the cards stretching unevenly; with
   1fr rows the stretch is the thing that makes them match. */
.mb-search__divider { margin: 46px 0 22px; }

/* "Filters changed · Apply" — the bar's own notice that a choice is staged
   and the yachts below are still the previous set. Without it an outside
   click left no trace of the choice anywhere on screen. */
.mb-filters__pending {
	max-width: 1180px; margin: 0 auto; padding: 0 var(--mb-gutter) 14px;
	display: flex; align-items: center; gap: 14px;
	font-size: var(--mb-filter-label); letter-spacing: .14em;
	text-transform: uppercase; color: var(--mb-white);
}
.mb-filters__pending .mb-filters__go { padding: 5px 12px; }

/* The phone sheet's own close. The sheet is a full-screen opaque overlay that
   covers the FILTERS button that opened it, so without this the only ways out
   were Show yachts or the browser's back button. */
.mb-filters__close { display: none; }
@media (max-width: 768px) {
	.mb-filters.is-open .mb-filters__close {
		display: block; position: absolute; top: 16px; right: 16px; z-index: 3;
		background: none; border: 0; color: var(--mb-white); cursor: pointer; padding: 6px;
	}
	.mb-filters.is-open .mb-filters__close svg { width: 20px; height: 20px; display: block; }
}

/* Review 17 point 5, the phone filter screen:
   - it opens below the header, which had covered GUESTS and the close;
   - the close sits on its own row beside a FILTERS title, not on the
     GUESTS arrow;
   - CLEAR FILTERS once, beside SHOW YACHTS (the copy under the list goes);
   - the chosen option shows: the white list colour was outranking gold;
   - the screen is as tall as the list, SHOW YACHTS right under it, the
     page dimmed below instead of an empty black screen. */
.mb-filters__sheet-title { display: none; }
@media (max-width: 768px) {
	.mb-filters.is-open::before {
		content: ''; position: fixed; inset: 0; z-index: 199; background: rgba(0, 0, 0, .6);
	}
	.mb-filters.is-open .mb-filters__sheet {
		top: var(--mb-header-h, 86px); bottom: auto;
		max-height: calc(100svh - var(--mb-header-h, 86px)); padding-bottom: 0;
	}
	.mb-filters.is-open .mb-filters__sheet-title {
		display: block; margin: 0; padding: 18px var(--mb-gutter) 14px;
		color: var(--mb-white); font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase;
		border-bottom: 1px solid var(--mb-line);
	}
	.mb-filters.is-open .mb-filters__close { top: 7px; right: 10px; }
	.mb-filters.is-open .mb-filters__bar { padding-top: 0; }
	.mb-filters.is-open .mb-filters__bar > .mb-filters__clear { display: none; }
	.mb-filters.is-open .mb-filters__list button.is-chosen { color: var(--mb-gold); }
	.mb-filters.is-open .mb-filters__list button.is-chosen::after { content: " \2713"; }
	.mb-filters.is-open .mb-filters__apply { position: sticky; bottom: 0; }
}

/* ---------- Homepage, to Amélie's notes of 6 Nov ---------- */

/* The section headings go to Garamond, and down in size. Her words: "goes
   with garamond, font size smaller than the WHY M-BLUE YACHTS bigger than the
   underneath text" — so between the 27px eyebrow above and the 16px body
   below. 24px is the live site's own nav size, which sits exactly there; it
   is not a new value. Dropping them from 40px is also what takes the height
   out of the black boxes she says are too tall. */
.mb-why .mb-heading,
.mb-passport .mb-heading,
.mb-where .mb-heading,
.mb-owners .mb-heading {
	font-size: 24px;
	line-height: 1.3;
}

/* "GARAMOND also for MYBA member, Founding member, Seen in person, 4
   languages" — the family only; the size stays where it is. */
.mb-fact h3 { font-family: var(--mb-serif); }

/* The owner's words in Garamond italic, his name under them on the right. */
.mb-owners__quote { font-family: var(--mb-serif); font-style: italic; }
/* "His name right side underneath his words." It is an inline-block so the
   gold rule hugs the name rather than spanning the column, which means
   text-align moves the text inside it, not the block — margin-left:auto is
   what actually moves it over. */
.mb-owners__author { display: block; width: fit-content; margin-left: auto; }

/* Testimonials: everything in Garamond except the name, which stays TwCen. */
.mb-testimonial blockquote { font-family: var(--mb-serif); }
.mb-testimonial cite,
.mb-testimonial__name { font-family: var(--mb-sans); font-style: normal; }

/* "I would like all collections to be able to slide both desktop and mobile."
   The tiles were a static grid above 768. */
.mb-passport__tiles {
	display: flex; gap: 2.4%;
	overflow-x: auto; scroll-snap-type: x mandatory;
	-webkit-overflow-scrolling: touch; scrollbar-width: none;
}
.mb-passport__tiles::-webkit-scrollbar { display: none; }
/* One rule sizes both rows, so a collection tile and a news tile are always
   the same size.

   A width, not a fraction of the track. As a fraction the tile shrank
   whenever its track did — it measured 481px at a 1090px window and 319px at
   1110, where the text column appears, and 405px at 1400 against 267px at
   1420, where the row went from two across to three. The image was bigger on
   the smaller screen in both cases. A width tied to the viewport only ever
   grows, and since these are scrollers the number on screen can just be
   whatever fits. The floor keeps the news foot on one line; the ceiling stops
   a tile filling the row on a wide monitor. */
.mb-passport__tiles > *,
.mb-news-block .mb-tiles--four > * { flex: 0 0 clamp(260px, 24vw, 290px); scroll-snap-align: start; }
/* The ceiling came down from 345 to 290: the tiles keep their 3/4 portrait,
   so a narrower tile is also a shorter one. It governs the middle widths;
   from 1101 up the rule below measures the tile against the screen's height
   instead. */

/* Above the two-column breakpoint the tile is sized by the HEIGHT of the
   viewport, not its width. A width-driven tile knows nothing about how tall
   the screen is: on a 1440x900 laptop — 720 CSS pixels of page in a browser
   at 125% zoom — it stood 368 of those 720 and made the whole block two
   thirds of the screen, which is what Amélie keeps seeing as too tall. Here
   the height takes a fixed share of the viewport and the 3/4 portrait gives
   the width back, so the row shrinks on a short screen and grows on a tall
   one.

   The 330 floor keeps the news foot on one line — that tile is 248 wide, and
   the foot measured 22px, one line, at that width. The 440 ceiling stops a
   tile swallowing a tall monitor. */
@media (min-width: 1101px) {
	.mb-passport__tiles > *,
	.mb-news-block .mb-tiles--four > * { flex: 0 0 auto; }
	.mb-passport .mb-tile,
	.mb-news-block .mb-tile { height: clamp(330px, 46vh, 440px); width: auto; }
}


/* One card at a time on a phone, where 270px would show a sliver of the next. */
@media (max-width: 600px) {
	.mb-passport__tiles > *,
	.mb-news-block .mb-tiles--four > * { flex: 0 0 86%; }
}

/* "SEE ALL COLLECTIONS STAYS very low in the box just above the black
   following box." */
.mb-passport__all { margin-top: 32px; padding-bottom: 6px; }

/* ---------- 16 Nov point 1: page hero titles ----------
   Every page title (not the homepage slogan, not news posts) is written
   out in Site text exactly as it shows, capitals included: the small m in
   "40 - 50m YACHTS" stays small, so nothing is uppercased here.
   Two lines: Tw Cen on top, Garamond underneath, the same size.
   One line: Garamond alone, starting at the height a first line starts.

   Desktop, placed as on the live site (#slidetitle on
   /luxury-yacht-charter-motor/): the block's top at the middle of the
   photo, raised by 44% of its own height, with the live upper line's 20px
   above it. Every block is two lines high, so a one-line title starts where
   a first line would. 56px both lines. */
.mb-hero .mb-hero__title--one,
.mb-hero .mb-hero__title--two {
	text-transform: none; line-height: 1.1; font-weight: 400;
	font-family: var(--mb-serif);
}
.mb-hero__upper, .mb-hero__lower { display: block; }
.mb-hero__upper { font-family: var(--mb-sans); font-weight: 400; margin-bottom: 5px; }
.mb-hero__lower { font-family: var(--mb-serif); }
@media (min-width: 769px) {
	.mb-hero .mb-hero__title--one,
	.mb-hero .mb-hero__title--two {
		position: absolute; left: 0; right: 0; top: 50%;
		transform: translateY(-44%);
		box-sizing: border-box;
		padding: 20px var(--mb-gutter) 0;
		min-height: calc(20px + 2.2em + 5px);
		max-width: none; margin: 0;
		font-size: 56px;
	}
}
/* Phone: both lines one size, the same on every page; a line too long for
   the screen breaks underneath on its own. Placed as before, in the middle
   of the photo. */
@media (max-width: 768px) {
	body .mb-hero .mb-hero__title--one,
	body .mb-hero .mb-hero__title--two { font-size: 10vw; margin: 0 auto 28px; }
	body .mb-hero--phone-short .mb-hero__title--one,
	body .mb-hero--phone-short .mb-hero__title--two { margin: 0 auto; }
}
/* "The diver stays fully visible above the title on all screens": on a
   short laptop screen the photo was cut top and bottom alike and his hands
   went under the header. The MYBA photo is held by its top edge instead. */
@media (min-width: 769px) {
	body.page-template-page-2027-myba .mb-hero__img { object-position: 50% 0; }
}
/* The MYBA phone hero is a short 4:3 box: at the shared phone size its
   title takes three lines, so it starts a little higher (still under the
   diver) and the button sits closer to the foot. */
@media (max-width: 768px) {
	body.page-template-page-2027-myba .mb-hero--phone-short .mb-hero__inner { padding-top: 25%; align-content: start; }
	body.page-template-page-2027-myba .mb-hero--phone-short .mb-btn { bottom: 4%; }
}

/* 16 Nov point 1, homepage: the slogan back where the live site has it,
   just below the middle of the screen, measured against it on a laptop and
   a phone. The 14vh kept free below every hero for its button had lifted it
   about 95px on a laptop and 65px on a phone. Its size was never changed:
   5vw, 9.2vw in portrait, as live. */
.mb-hero--slides .mb-hero__inner { padding-top: 9vh; padding-bottom: 0; }
@media (max-width: 768px) {
	.mb-hero--slides .mb-hero__inner { padding-top: 1vh; }
}

/* ---------- 16 Nov point 2: yacht pages, Need help?, heart and ▲ ----------
   Desktop: the black band is gone. Bottom left, one black button with no
   frame: heart, the yacht's name, a thin white line, ▲. Bottom right, Need
   help?, black with no frame, on screen from the top of the page to the
   bottom. Both the same height, and neither ever changes size. */
.mb-yacht-pill { display: none; }
@media (min-width: 769px) {
	.mb-yacht-pill {
		position: fixed; left: 18px; bottom: 18px; z-index: 95;
		display: flex; align-items: stretch;
		background: var(--mb-black); color: var(--mb-white);
		font-family: var(--mb-sans); font-size: 11px; line-height: 17px;
		letter-spacing: .14em; text-transform: uppercase;
	}
}
.mb-yacht-pill__fav {
	display: inline-flex; align-items: center; gap: 12px; padding: 10px 16px;
	color: var(--mb-white); text-decoration: none;
}
.mb-yacht-pill__fav .mb-heart__icon { display: inline-flex; color: var(--mb-white); transition: color .3s ease; }
.mb-yacht-pill__fav svg { width: 15px; height: 15px; }
.mb-yacht-pill__fav.is-saved .mb-heart__icon { color: var(--mb-gold); }
.mb-yacht-pill__rule { width: 1px; margin: 9px 0; background: var(--mb-white); }
.mb-yacht-pill .mb-yacht-up { display: inline-flex; align-items: center; padding: 10px 16px; }

/* ▲ lands on the specs. Grey while the main photo or the specs are on
   screen, white once they have scrolled past. */
.mb-yacht-up { color: var(--mb-white); text-decoration: none; transition: color .4s ease; }
.mb-yacht-up.is-near { color: var(--mb-grey); }
.mb-yacht-up:hover { color: var(--mb-gold); }
.mb-yacht-up.is-near:hover { color: var(--mb-grey); }

.mb-help__tab { border: 0; line-height: 17px; }

/* Phone: the band stays (heart, NEED HELP?, gold ENQUIRE NOW) with ▲ added
   between NEED HELP? and the gold box, which is narrower to make room and
   keeps ENQUIRE NOW on one line. */
.mb-yacht-bar .mb-yacht-up { margin: 0 auto; font-size: 15px; padding: 8px 10px; }
.mb-yacht-bar__cta { flex: 0 0 auto; white-space: nowrap; padding-left: 22px; padding-right: 22px; }

/* The Need help? panel: no gold frame, Amélie's photo round beside the
   text, SEND ENQUIRY BY EMAIL on top, TELEGRAM and WHATSAPP under it in
   thin white frames, "No, thanks" a little larger. The text keeps its
   double space after the full stop. */
.mb-help__card { border: 0; }
.mb-help__photo { flex: 0 0 64px; }
.mb-help__photo img { border-radius: 50%; width: 64px; height: 64px; object-fit: cover; display: block; }
.mb-help__text { white-space: pre-wrap; }
.mb-help__email { margin: 18px 0 0; }
.mb-help__email .mb-btn { display: block; width: 100%; text-align: center; padding: 12px 8px; box-sizing: border-box; }
.mb-help__actions { margin: 10px 0 12px; }
.mb-btn.mb-help__line { background: transparent; color: var(--mb-white); border: 1px solid var(--mb-white); }
.mb-btn.mb-help__line:hover { color: var(--mb-gold); border-color: var(--mb-gold); background: transparent; }
.mb-help__no button { font-size: 13px; }

/* ---------- 16 Nov point 3: search panel, no gold frames ----------
   The box: a thin white frame instead of the browser's blue focus outline,
   and a white × to clear it instead of the browser's blue one.
   The results: dark grey tiles, the yacht's name in white, thin grey lines
   between them. */
.mb-panel--search input[type="search"] { border: 1px solid var(--mb-white); }
.mb-panel--search input[type="search"]:focus,
.mb-panel--search input[type="search"]:focus-visible { outline: none; border-color: var(--mb-white); }
.mb-panel--search input[type="search"]::-webkit-search-cancel-button {
	-webkit-appearance: none; appearance: none; cursor: pointer;
	width: 12px; height: 12px; margin-left: 8px;
	background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath d='M1 1l10 10M11 1L1 11' stroke='%23fff' stroke-width='1.6' fill='none'/%3E%3C/svg%3E") center / contain no-repeat;
}
.mb-suggest:not([hidden]) { gap: 0; }
.mb-suggest__hit {
	border: 0; border-top: 1px solid #555; background: #1c1c1c; color: var(--mb-white);
}
.mb-suggest__hit:first-child { border-top: 0; }
.mb-suggest__hit:hover, .mb-suggest__hit:focus-visible { background: #2a2a2a; color: var(--mb-white); }
.mb-suggest__name { color: var(--mb-white); }

/* ---------- 18 Nov: News & Offers and Destinations, proposal 2 ----------
   "Poster and fact card". Same fonts as the layouts page, at the sizes the
   rest of the site uses (Amélie, 18 Nov): the name at the hero title's 90px,
   gold labels at --mb-label, headings at h2.mb-heading's 40px, body text at
   the yacht page's 16px stepped up to 18px for a reading column, and the
   fact card's values at the black box's Garamond. */
.mb-story__poster { position: relative; height: 82vh; min-height: 560px; max-height: 860px; overflow: hidden; background: var(--mb-photo-bg); }
.mb-story__poster img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mb-story__poster::after { content: ""; position: absolute; inset: 0; background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.08) 45%, rgba(0,0,0,.18)); }
.mb-story__over { position: absolute; left: 0; right: 0; top: 130px; z-index: 1; display: grid; gap: 14px; justify-items: center; text-align: center; color: var(--mb-white); padding: 0 var(--mb-gutter); }
.mb-story__kick { font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .2em; text-transform: uppercase; color: var(--mb-gold); }
.mb-story__over .mb-story__kick { color: var(--mb-white); font-size: 16px; }
.mb-story__name { margin: 0; font-family: var(--mb-serif); font-weight: 400; font-size: 90px; line-height: 1; letter-spacing: .03em; text-transform: uppercase; max-width: 80vw; }
.mb-story__sub { font-family: var(--mb-serif); font-style: italic; font-size: 30px; line-height: 1.2; }

.mb-story__fact {
	/* 18 Nov: 10% of the photo's height lower than first built (the photo
	   is 82vh, 560-860px), so the card covers less of it. */
	position: relative; z-index: 2; margin: calc(-220px + clamp(56px, 8.2vh, 86px)) 0 0 var(--mb-gutter); width: min(66%, 980px);
	background: var(--mb-white); padding: 40px 48px; display: grid; gap: 24px;
	box-shadow: 0 10px 30px rgba(0,0,0,.08); color: var(--mb-black);
}
.mb-story__meta { margin: 0; font-family: var(--mb-sans-bold); font-size: var(--mb-label); letter-spacing: .2em; text-transform: uppercase; color: var(--mb-gold); }
.mb-story__title { margin: 0; font-family: var(--mb-serif); font-weight: 400; font-size: clamp(28px, 3vw, 40px); line-height: 1.15; }
.mb-story__facts { margin: 0; display: grid; grid-template-columns: repeat(6, 1fr); gap: 14px; border-top: 1px solid var(--mb-ivory-deep); border-bottom: 1px solid var(--mb-ivory-deep); padding: 20px 0; }
.mb-story__facts.is-four { grid-template-columns: repeat(4, 1fr); }
.mb-story__facts dt, .mb-story__rates span { display: block; font-family: var(--mb-sans-bold); font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--mb-gold); margin: 0 0 8px; }
.mb-story__facts dd { margin: 0; font-family: var(--mb-serif); font-size: 21px; line-height: 1.25; }
.mb-story__rates { display: flex; flex-wrap: wrap; gap: 16px 44px; align-items: flex-end; }
.mb-story__rates b { font-family: var(--mb-serif); font-weight: 400; font-size: 32px; line-height: 1; }
.mb-story__rates s { color: var(--mb-grey); }
.mb-story__rates small { font-size: 15px; color: #666; margin-left: 8px; }
.mb-story__rates .mb-btn { margin-left: auto; font-size: 14px; }
.mb-story__badge { background: var(--mb-black); color: var(--mb-gold); font-family: var(--mb-serif); font-size: 34px; line-height: 1; padding: 12px 16px; text-transform: uppercase; }
.mb-story__note { margin: -8px 0 0; font-size: 14px; color: var(--mb-grey); }
/* 18 Nov (Amélie): an offer with two seasons. The dates line stays black;
   each season shows the old rate crossed out and the new one per week. */
.mb-story__rates.is-seasons { align-items: center; gap: 16px 28px; }
.mb-story__seasons { display: grid; grid-template-columns: repeat(4, auto); column-gap: 28px; row-gap: 14px; align-items: baseline; margin-right: auto; }
.mb-story__season { display: contents; }
.mb-story__dates { flex: 0 0 100%; margin: 0 0 -4px; font-family: var(--mb-sans); font-size: 26px; line-height: 1.2; color: var(--mb-black); }
.mb-story__dates.is-bold { font-family: var(--mb-sans-bold); }
.mb-story__rates .mb-story__season span { margin: 0; }
.mb-story__season s { font-family: var(--mb-serif); font-size: 26px; line-height: 1; color: var(--mb-grey); }
.mb-story__rates .mb-story__season b { font-size: 34px; }
.mb-story__seasons.is-bold-rates .mb-story__season s,
.mb-story__seasons.is-bold-rates .mb-story__season b { font-family: var(--mb-sans-bold); }
.mb-story__rates .mb-story__season small { margin-left: 0; }
/* Badge and Enquire now side by side, as in her mock-up; the card is a
   little wider for two seasons so they fit on one line. */
.mb-story__act { display: flex; align-items: center; gap: 16px; margin-left: auto; }
@media (min-width: 1101px) { .mb-story__fact:has(.mb-story__rates.is-seasons) { width: min(76%, 1060px); } }
.mb-story__rates .mb-story__act .mb-btn { margin-left: 0; white-space: nowrap; }
.mb-story__fact .mb-post__ended-note { margin: 0; max-width: none; }

.mb-story__article { max-width: 820px; margin: 0 auto; padding: 72px 24px 24px; color: #333; }
.mb-story__lead { font-family: var(--mb-serif); font-size: 26px; line-height: 1.45; color: #111; margin: 0 0 28px; }
.mb-story__map { max-width: 460px; margin: 10px auto 34px; }
.mb-story__map img { width: 100%; height: auto; display: block; }
.mb-story__body { font-size: 18px; line-height: 1.75; }
.mb-story__body p, .mb-story__body li { font-size: 18px; line-height: 1.75; color: #333; }
.mb-story__body p { margin: 0 0 20px; }
.mb-story__body ul, .mb-story__body ol { padding-left: 22px; margin: 0 0 20px; }
.mb-story__body li { margin-bottom: 8px; }
.mb-story__body h2, .mb-story__body h3, .mb-story__body h4 { font-family: var(--mb-serif); font-weight: 400; color: var(--mb-black); line-height: 1.2; margin: 40px 0 14px; }
.mb-story__body h2 { font-size: 36px; }
.mb-story__body h3 { font-size: 32px; }
.mb-story__body h4 { font-size: 26px; }
.mb-story__body img { display: block; width: 100%; height: auto; margin: 10px 0 24px; }
.mb-story__body figure { margin: 10px 0 24px; }
.mb-story__body figure img { margin: 0; }
.mb-story__body figcaption { font-size: 14px; color: var(--mb-grey); margin-top: 8px; }
.mb-story__body a { color: var(--mb-gold); }
.mb-story__body blockquote { border-left: 2px solid var(--mb-gold); padding-left: 20px; font-family: var(--mb-serif); font-style: italic; font-size: 26px; line-height: 1.4; color: #111; margin: 0 0 24px; }
.mb-story__body--intro { max-width: 820px; margin: 0 auto 50px; }
/* 18 Nov: the two heading styles in her editor. Title is the plain heading
   above; Subtitle is Garamond italic, as the line under the name on the
   photo, and pulls up to the title it follows. */
.mb-story__body .is-style-mb-subtitle { font-family: var(--mb-serif); font-weight: 400; font-style: italic; font-size: 26px; line-height: 1.35; color: #111; margin: 0 0 18px; }
.mb-story__body :is(h2, h3, h4):has(+ .is-style-mb-subtitle) { margin-bottom: 6px; }
/* Paragraph styles: Opening line (the lead's Garamond) and Gold label
   (small gold capitals over a heading, as the band's and card's labels). */
.mb-story__body p.is-style-mb-lead { font-family: var(--mb-serif); font-size: 26px; line-height: 1.45; color: #111; }
.mb-story__body p.is-style-mb-label { font-family: var(--mb-sans-bold); font-size: var(--mb-label); line-height: 1.3; letter-spacing: .2em; text-transform: uppercase; color: var(--mb-gold); margin: 40px 0 8px; }
.mb-story__body p.is-style-mb-label + :is(h2, h3, h4) { margin-top: 0; }
/* Gold link: a call to enquire, in the gold capitals of the site's arrow
   links. Small note: "Posted on …" and other asides. */
.mb-story__body p.is-style-mb-cta { margin: 28px 0; }
.mb-story__body p.is-style-mb-cta a { font-family: var(--mb-sans-bold); font-size: 15px; letter-spacing: .16em; text-transform: uppercase; color: var(--mb-gold); text-decoration: none; border-bottom: 1px solid transparent; transition: border-color .2s; }
.mb-story__body p.is-style-mb-cta a:hover { border-bottom-color: var(--mb-gold); }
.mb-story__body p.is-style-mb-note { font-size: 14px; line-height: 1.5; color: var(--mb-grey); margin-top: 28px; }
@media (max-width: 768px) {
	.mb-story__body .is-style-mb-subtitle { font-size: 22px; }
	.mb-story__body p.is-style-mb-lead { font-size: 22px; }
}
.is-ended .mb-story__poster img, .is-ended .mb-story__body img { filter: grayscale(1); }

.mb-story__sign { display: flex; gap: 18px; align-items: center; margin-top: 28px; }
.mb-story__face { width: 84px; height: 84px; border-radius: 50%; overflow: hidden; flex: 0 0 auto; }
.mb-story__face img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-story__who { display: grid; gap: 6px; }
.mb-story__who i { font-family: var(--mb-serif); font-style: italic; font-size: 36px; line-height: 1; color: var(--mb-black); }
.mb-story__who small { font-family: var(--mb-sans-bold); font-size: 13px; letter-spacing: .18em; text-transform: uppercase; color: var(--mb-gold); }

/* As many photos as she picks: a row that scrolls sideways, each photo
   snapping into place. */
.mb-story__strip { padding: 40px 0 40px 12%; }
.mb-story__scroller { display: flex; gap: 12px; overflow-x: auto; scroll-snap-type: x mandatory; scrollbar-width: none; overscroll-behavior-x: contain; }
.mb-story__scroller::-webkit-scrollbar { display: none; }
.mb-story__scroller figure { flex: 0 0 38%; aspect-ratio: 4 / 3; margin: 0; scroll-snap-align: start; background: var(--mb-photo-bg); }
.mb-story__scroller img { width: 100%; height: 100%; object-fit: cover; display: block; }
.mb-story__swipe { margin: 12px 0 0; font-family: var(--mb-sans-bold); font-size: 12px; letter-spacing: .2em; text-transform: uppercase; color: var(--mb-grey); }

/* 18 Nov: less height above and below (was 84px, 52px on a phone). */
.mb-story__band { background: var(--mb-black); color: var(--mb-white); text-align: center; padding: 48px var(--mb-gutter); display: grid; gap: 12px; justify-items: center; }
.mb-story__band h2 { margin: 0; font-family: var(--mb-serif); font-weight: 400; font-size: clamp(30px, 3.6vw, 48px); line-height: 1.1; }
.mb-story__band p { margin: 0; color: var(--mb-on-dark); font-size: 18px; line-height: 1.6; max-width: 580px; }
.mb-story__btns { display: flex; gap: 12px; flex-wrap: wrap; justify-content: center; margin-top: 4px; }
.mb-story__btns .mb-btn { font-size: 14px; }

@media (max-width: 1100px) {
	.mb-story__fact { width: auto; margin-right: var(--mb-gutter); }
	.mb-story__facts { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 812px) { .mb-story__name { font-size: 70px; } }
@media (max-width: 768px) {
	.mb-story__poster { height: 72vh; min-height: 480px; }
	.mb-story__over { top: 110px; }
	.mb-story__name { font-size: 50px; }
	.mb-story__sub { font-size: 22px; }
	.mb-story__fact { margin: calc(-130px + clamp(48px, 7.2vh, 86px)) 12px 0; padding: 26px 22px; gap: 20px; }   /* 10% of the 72vh photo lower */
	.mb-story__facts, .mb-story__facts.is-four { grid-template-columns: 1fr 1fr; gap: 16px; }
	.mb-story__facts dd { font-size: 19px; }
	.mb-story__rates { flex-direction: column; align-items: flex-start; gap: 16px; }
	.mb-story__rates .mb-btn { margin-left: 0; width: 100%; }
	.mb-story__rates b { font-size: 28px; }
	.mb-story__rates.is-seasons { align-items: stretch; gap: 18px; }
	.mb-story__dates { flex: none; margin: 0; }
	.mb-story__act { align-items: stretch; gap: 12px; margin-left: 0; width: 100%; }
	.mb-story__act .mb-story__badge { display: flex; align-items: center; font-size: 28px; padding: 10px 14px; }
	.mb-story__rates .mb-story__act .mb-btn { flex: 1; width: auto; display: flex; align-items: center; justify-content: center; }
	.mb-story__seasons { grid-template-columns: auto auto 1fr; column-gap: 16px; row-gap: 4px; margin-right: 0; }
	.mb-story__dates { font-size: 21px; }
	.mb-story__rates .mb-story__season span { grid-column: 1 / -1; margin-top: 8px; }
	.mb-story__season s { font-size: 20px; }
	.mb-story__rates .mb-story__season b { font-size: 26px; }
	.mb-story__article { padding: 44px 16px 12px; }
	.mb-story__lead { font-size: 22px; }
	.mb-story__body p, .mb-story__body li { font-size: 17px; }
	.mb-story__body h2 { font-size: 30px; }
	.mb-story__body h3 { font-size: 27px; }
	.mb-story__strip { padding: 24px 0 24px 16px; }
	.mb-story__scroller figure { flex-basis: 78%; }
	.mb-story__band { padding: 32px 18px; }
	.mb-story__btns .mb-btn { flex: 1 1 100%; }
}
@media (max-width: 599px) { .mb-story__name { font-size: 40px; } }

/* ---------- 18 Nov: cookie banner (GDPR) ----------
   A small card in the bottom-left corner (asked 18 Nov: smaller, to the
   side), in the site's own black and gold; "Need help?" keeps the right.
   Accept all and Reject all are the same button, side by side: refusing is
   as easy as accepting. On a phone it runs along the bottom instead. */
.mb-cookies {
	position: fixed; left: 18px; bottom: 18px; z-index: 1000;
	width: min(360px, calc(100vw - 36px)); max-height: calc(100vh - 36px); overflow-y: auto;
	background: var(--mb-black); color: var(--mb-on-dark);
	border: 1px solid var(--mb-hairline); box-shadow: 0 10px 30px rgba(0,0,0,.35);
}
.mb-cookies__inner { padding: 18px 18px 16px; display: grid; gap: 10px; }
.mb-cookies__title { margin: 0; font-family: var(--mb-serif); font-size: 20px; line-height: 1.2; color: var(--mb-white); }
.mb-cookies__text { margin: 0; font-size: 14px; line-height: 1.5; }
.mb-cookies__text a { color: var(--mb-gold); }
.mb-cookies__choices { display: grid; gap: 8px; padding: 2px 0; }
.mb-cookies__row { display: flex; gap: 10px; align-items: flex-start; font-size: 13px; line-height: 1.45; cursor: pointer; }
.mb-cookies__row input { margin-top: 2px; width: 16px; height: 16px; accent-color: var(--mb-gold); flex: 0 0 auto; }
.mb-cookies__row b { color: var(--mb-white); margin-right: 4px; }
.mb-cookies__btns { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; }
.mb-cookies__btn { flex: 1 1 calc(50% - 4px); min-width: 0; padding: 11px 8px; font-size: 12px; }
.mb-cookies__btn.js-mb-ck-save { flex-basis: 100%; }
.mb-cookies__choose { flex: 1 1 100%; background: none; border: 0; color: var(--mb-gold); font-size: 12px; letter-spacing: .14em; text-transform: uppercase; cursor: pointer; padding: 6px; text-decoration: underline; text-underline-offset: 4px; }
.mb-cookies button:focus-visible, .mb-cookies a:focus-visible, .mb-cookies input:focus-visible { outline: 2px solid var(--mb-gold); outline-offset: 2px; }
/* 19 Nov: a line of the Legal column, looking like the links above it. */
.mb-footer__cookies { background: none; border: 0; padding: 0; color: var(--mb-footer-text); font: inherit; font-size: 16px; line-height: 21px; cursor: pointer; text-align: left; }
.mb-footer__cookies:hover { color: var(--mb-gold); }
@media (max-width: 768px) {
	/* Along the bottom on a phone, with room kept so it never hides the
	   last lines, and "Need help?" lifted above it. */
	.mb-cookies { left: 8px; right: 8px; bottom: 8px; width: auto; max-height: 70vh; }
	.mb-cookies__inner { padding: 14px 14px 12px; gap: 8px; }
	.mb-cookies__title { font-size: 18px; }
	.mb-cookies__text { font-size: 13px; }
	body.has-cookie-banner { padding-bottom: 230px; }
	body.has-cookie-banner .mb-help { bottom: 240px; }
}
