/* Content + shortcode/grid styles. Reproduces the Flatsome UX-Builder grid so migrated
   row/col content (pages AND product descriptions) renders the same. Gutter ~30px. */

/* Flatsome .page-wrapper: 30px above and below the content column. */
.mcb-content { padding-top: 30px; padding-bottom: 30px; }
/* Page/post header — centred title with a short divider line beneath (Flatsome
   page-blank-title-center.php: header.entry-header.text-center > h1.entry-title + .tx-div.medium).
   The h1's 5px collapses into the divider's 15px, and the divider's 15px into the header's 30px. */
.mcb-page__header { text-align: center; margin-bottom: 30px; }
.mcb-page__title { margin: 0 0 5px; }
/* Flatsome h1.entry-title {word-wrap: break-word}: an over-long word wraps instead of pushing
   the page sideways. My Account's bare h1 has no entry-title class, so it does not (below). */
.mcb-page__title { overflow-wrap: break-word; word-wrap: break-word; }
.mcb-title-divider { display: block; width: 60px; height: 3px; background: #000; opacity: .1; margin: 15px auto; }
/* Default page template (Flatsome content-page.php): plain left UPPERCASE title, no divider,
   content 30px below it; article.hentry keeps 60px under the content. */
.mcb-page__header--plain { text-align: left; margin-bottom: 30px; }
.mcb-page__header--plain .mcb-page__title { text-transform: uppercase; margin: 0; }
.mcb-tpl-default { margin-bottom: 60px; }
.mcb-page.mcb-page--account { margin-bottom: 0; }
/* My Account: Flatsome's bare h1 with a #ddd rule under it. */
.mcb-page__header--account { margin-bottom: 0; }
.mcb-page__header--account .mcb-page__title {
  margin: .2em 0 30px; padding-bottom: 15px; border-bottom: 1px solid #ddd;
  overflow-wrap: normal; word-wrap: normal;
}
/* Below 768 Flatsome titles drop to 16px with a tight 1.2125em line (em, as Foundation: a unitless
   1.2125 rounds to 19.39px a line in Chrome, not 19.406, and drifts multi-line titles). */
@media (max-width: 767px) {
  .mcb-page__title { font-size: 16px; line-height: 1.2125em; }
}
.entry-content img { height: auto; }
/* Foundation's element reset (div {margin:0;padding:0}, specificity 0,0,1) outranks core's
   zero-specificity :where() block spacing, so on live block wrappers such as wp-block-columns
   carry no margin. Same specificity here, so every classed rule still wins. */
:where(.entry-content) div { margin: 0; padding: 0; }
/* Foundation figure {margin:0} likewise beats core's :where(figure) {margin:0 0 1em}. */
:where(.entry-content) figure { margin: 0; }
/* Foundation blockquote: grey italic at 110% (and 110% again on its paragraphs), a 2px #ddd
   rule on the left. */
blockquote { margin: 0 0 1.25em; padding: 0 1.25em 0 1.875em; border-left: 2px solid #ddd; }
blockquote, blockquote p { font-size: 110%; line-height: 1.6; font-style: italic; color: #999; }
blockquote p { margin-bottom: 1.25em; }
.entry-content, .mcb-entry__summary, .mcb-single__content { overflow-wrap: break-word; word-wrap: break-word; }
/* ...but Flatsome's page-blank-container, page-my-account and checkout templates print the
   content straight into div#content, with no .entry-content, so a long word there overflows. */
.mcb-tpl-page-blank-container .mcb-page__content, .mcb-page--account .mcb-page__content,
.woocommerce-checkout .mcb-page__content { overflow-wrap: normal; word-wrap: normal; }
/* Lists (Foundation): no padding, 1.25em below, bullets outside. Flatsome indents 20px only
   for top-level lists in the content, any ol, and lists inside [col] / accordion panels;
   search excerpts (.mcb-entry__summary) stay flush.
   Zero specificity (:where) so any classed list (sliders, galleries, widgets) keeps its own. */
:where(.entry-content, .mcb-entry__summary) :where(ul, ol, dl) {
  margin: 0 0 1.25em; padding: 0; list-style-position: outside;
}
:where(.entry-content) > ul, :where(.entry-content) ol,
:where(.entry-content) :where(.mcb-col__inner, .mcb-accordion__content) :where(ul, ol) { margin-left: 20px; }
:where(.entry-content li) :where(ul, ol) { margin-left: 1.25em; margin-bottom: 0; }

/* Flatsome hid the empty <p></p> its fixShortcode autop pass leaves (inc/shortcodes.php), and
   any stray <br> sitting directly in a row or column. */
p:empty { display: none !important; }
.mcb-row > br, .mcb-col > br { display: none !important; }

/* Grid: Flatsome 2 / Foundation floats, not flex. A [row] (.row.container) is a block with
   -15px gutters and 30px under it; each [col] floats with 15px side padding and no bottom
   padding, full width below 48em (768) and span/12 from 48em up. Foundation floats the last of
   two or more columns right, which decides where a column with a missing [/col] ends up. */
.mcb-row { display: block; margin: 0 -15px 30px; }
.mcb-row::before, .mcb-row::after { content: " "; display: table; }
.mcb-row::after { clear: both; }
.mcb-row--inner { margin-left: -10px; margin-right: -10px; }
.mcb-col { position: relative; float: left; width: 100%; padding: 0 15px; }
.mcb-col + .mcb-col:last-child { float: right; }

@media (min-width: 768px) {
  .mcb-col--1  { width: 8.33333%; }
  .mcb-col--2  { width: 16.66667%; }
  .mcb-col--3  { width: 25%; }
  .mcb-col--4  { width: 33.33333%; }
  .mcb-col--5  { width: 41.66667%; }
  .mcb-col--6  { width: 50%; }
  .mcb-col--7  { width: 58.33333%; }
  .mcb-col--8  { width: 66.66667%; }
  .mcb-col--9  { width: 75%; }
  .mcb-col--10 { width: 83.33333%; }
  .mcb-col--11 { width: 91.66667%; }
  .mcb-col--12 { width: 100%; }
}
/* span__sm sets the small (below 768) width. */
@media (max-width: 767px) {
  .mcb-col-sm--1  { width: 8.33333%; }
  .mcb-col-sm--2  { width: 16.66667%; }
  .mcb-col-sm--3  { width: 25%; }
  .mcb-col-sm--4  { width: 33.33333%; }
  .mcb-col-sm--6  { width: 50%; }
  .mcb-col-sm--12 { width: 100%; }
}
/* Foundation "small" (max-width 48em, so 768 included): columns take 15px under them and
   the rows drop their own 30px. */
@media (max-width: 768px) {
  .mcb-row { margin-bottom: 0; }
  .mcb-row > .mcb-col { margin-bottom: 15px; }
}

.mcb-text-left   { text-align: left; }
.mcb-text-center { text-align: center; }
.mcb-text-right  { text-align: right; }

/* [title] (Flatsome h3.section-title): uppercase, 30px under, a 3px #f1f1f1 rule carrying
   the text's own #ddd underline. style="center" (.title_center) centres the text between two
   3px #eee rules instead. */
.mcb-title {
  position: relative; max-width: 1050px; margin: 0 auto 30px;
  text-transform: uppercase; border-bottom: 3px solid #f1f1f1;
}
.mcb-title > span {
  display: inline-block; position: relative; margin-bottom: -3px; padding-bottom: 15px; border-bottom: 3px solid #ddd;
}
.mcb-title--center { text-align: center; border: 0; overflow: hidden; }
.mcb-title--center > span { padding: 0 15px; border: 0; }
.mcb-title--center > span::before, .mcb-title--center > span::after {
  content: " "; position: absolute; top: 50%; display: block; width: 1000px; height: 0; border-bottom: 3px solid #eee;
}
.mcb-title--center > span::before { left: -1010px; }
.mcb-title--center > span::after { right: -1010px; }

/* [divider] (Flatsome .tx-div): a 3px black bar at 10% opacity with 15px above and below,
   30px wide (small, the default), 60px (medium) or full width; centred under align=center. */
.mcb-divider { display: block; width: 30px; height: 3px; margin: 15px 0; background-color: #000; opacity: .1; }
.mcb-divider--medium { width: 60px; }
.mcb-divider--full { width: 100%; }
.mcb-text-center > .mcb-divider { margin: 15px auto; }

/* Gap */
.mcb-gap { width: 100%; }

/* Care-guide picture tiles (the old 400x300 Smart Slider "picture button" sliders): a 4:3
   cover image with the label as a full-width translucent band, inset 10px (Smart Slider's
   section padding), centred. Row spacing comes from the grid. */
.mcb-care-tile {
  display: flex; align-items: center; justify-content: center; position: relative;
  aspect-ratio: 4 / 3; min-height: 0; margin: 0; padding: 10px;
  background-size: cover; background-position: center; text-align: center;
}
/* Live's custom CSS fades every Smart Slider except the home slider on hover (.n2-ss-align:hover). */
.mcb-care-tile:hover, .mcb-ss:hover { opacity: .8; text-decoration: none; }
/* Smart Slider a.n2-ow:focus {outline:0 !important; text-decoration:none}: a focused tile keeps
   its label plain (no a:focus underline, no ring) and does not fade (the .8 is hover only). */
.mcb-care-tile:focus, .mcb-care-tile:focus-visible { text-decoration: none; outline: 0; }
/* Smart Slider's Safari fix: its layers are calc(100% - margins + var(--ss-safari-fix)), and an
   inline script (printed with the first tile, inc/shortcodes.php) sets the var to 1px when the UA
   says Safari but not Chrome. The band then overhangs 0.5px each side, centred, as on live. */
.mcb-care-tile__label {
  display: block; width: calc(100% + var(--mcb-ss-safari-fix, 0px)); flex-shrink: 0; padding: 10px 30px; background: rgba(255, 255, 255, .73);
  color: #808080; font-family: var(--mcb-font-body); font-size: 14px; line-height: 21px;
  font-weight: 400; letter-spacing: 1px; text-transform: none;
}
/* A bare Smart Slider photo (no link, no text): the slider's own W:H box, image fitted. */
.mcb-ss { position: relative; width: 100%; overflow: hidden; }
.mcb-ss > .mcb-ss__img {
  position: absolute; inset: 0; display: block; width: 100%; height: 100%; max-width: none; object-position: 50% 50%;
}
.mcb-ss > .mcb-ss__img--fit { object-fit: contain; }
.mcb-ss > .mcb-ss__img--fill { object-fit: cover; }

/* Accordion (FAQ) — Flatsome .accordion: each question is a block link with a #ddd rule on
   top, 110% grey text and the icomoon plus in front; the open one turns dark on #f9f9f9 with a
   3px rule (and the minus glyph). Answers sit in a 15/30/10 padded panel. */
.mcb-accordion { margin: 0 0 30px; }
.mcb-accordion__item { margin: 0; }
.mcb-accordion__title {
  display: block; list-style: none; cursor: pointer; padding: 20px 15px;
  font-size: 110%; line-height: 130%; font-weight: 400; color: #999;
  border-top: 1px solid #ddd; transition: border .2s ease-out;
}
.mcb-accordion__title::-webkit-details-marker { display: none; }
.mcb-accordion__title::marker { content: ""; }
.mcb-accordion__title::before {
  font-family: 'icomoon'; content: "\e00c"; font-size: 16px; margin-right: 15px;
  font-style: normal; font-weight: normal; -webkit-font-smoothing: antialiased;
}
/* Each question was a link, so live's inline a:hover, a:focus underline applies (colour stays put,
   the class rule outranks it); ::before stays inline so the line runs under the glyph too. */
.mcb-accordion__title:hover, .mcb-accordion__title:focus { text-decoration: underline; }
/* Flatsome a:focus {outline:none}: a focused question shows only that underline, no focus ring
   (the same WCAG 2.4.7 trade-off as the global a:focus parity rule in style.css). */
.mcb-accordion__title:focus, .mcb-accordion__title:focus-visible { outline: none; }
/* .is-closing: assets/accordion.js keeps [open] while the answer slides shut, but the question
   takes its closed look at once (Flatsome removed .active before slideUp). */
.mcb-accordion__item[open]:not(.is-closing) > .mcb-accordion__title {
  color: #333; background-color: #f9f9f9; border-top: 3px solid #ddd; border-bottom: 1px solid #eee;
}
.mcb-accordion__item[open]:not(.is-closing) > .mcb-accordion__title::before { content: "\e00d"; }
/* Half-width columns shrink the question to 95%. */
:is(.mcb-col--4, .mcb-col--5, .mcb-col--6, .mcb-col--7) .mcb-accordion__title { font-size: 95%; }
.mcb-accordion__content { padding: 15px 30px 10px; }

/* Button (inline, in content) */
.mcb-button {
  display: inline-block; background: var(--mcb-btn-bg); color: var(--mcb-btn-color);
  text-transform: uppercase; font-family: var(--mcb-font-head);
  line-height: 2.4em; padding: 0 1.2em; border-radius: var(--mcb-btn-radius);
}
.mcb-button:hover { color: #fff; opacity: .9; }

/* ------------------------------------------------------------------------
   WP alignment classes: Foundation's .alignleft/.alignright/.aligncenter, at its own 0,1,0
   specificity, so block images still take core's .wp-block-image .alignleft
   {margin:.5em 1em .5em 0} as on live. Floats stay floated at every width (live keeps
   them at 390), block-image captions keep the body text style, and neither headings nor
   the content wrapper clear them (so a last paragraph's margin collapses out, as on live). */
:where(.entry-content) .alignleft { display: inline; float: left; margin-right: 1.5em; }
:where(.entry-content) .alignright { display: inline; float: right; margin-left: 1.5em; }
:where(.entry-content) .aligncenter { clear: both; display: block; margin: 0 auto; }

/* ------------------------------------------------------------------------
   Block Gallery "blockgallery/carousel" (The Collection). Flickity is gone, so
   assets/slideshow.js drives it as a centred, wrap-around carousel. Values from the
   plugin's blocks.style.build.css: has-carousel-lrg cells are 80% wide, 70% from 600px
   (has-no-alignment keeps 70% at 1300+), 400px tall with the photo cropped to fill; the
   figure's has-margin-*-10 helpers give 5px a side (3px below 700). Flickity's arrows sat
   at opacity 0 on live; the JS adds them back as invisible click zones. ------ */
.wp-block-blockgallery-carousel { position: relative; margin: 0; }
/* The .is-cropped.blockgallery div is the overflow viewport. */
.wp-block-blockgallery-carousel .blockgallery { position: relative; overflow: hidden; }
/* The flex row we translate; its 400px height is saved inline on the markup. No
   will-change: Flickity's .flickity-slider leaves it auto, and a composited layer
   resamples the downscaled photos differently. */
.wp-block-blockgallery-carousel .has-carousel {
  height: 400px; display: flex; flex-wrap: nowrap; align-items: stretch;
}
.wp-block-blockgallery-carousel .blockgallery--item {
  flex: 0 0 80%; width: 80%; max-width: none; height: 100%; margin: 0 !important; padding: 0; list-style: none;
}
@media (min-width: 600px) {
  .wp-block-blockgallery-carousel .blockgallery--item { flex-basis: 70%; width: 70%; }
}
.wp-block-blockgallery-carousel .blockgallery--figure { position: relative; height: 100%; margin: 0; }
.wp-block-blockgallery-carousel .has-margin-left-10 { margin-left: 5px !important; }
.wp-block-blockgallery-carousel .has-margin-right-10 { margin-right: 5px !important; }
@media (max-width: 699px) {
  .wp-block-blockgallery-carousel .has-margin-left-mobile-5 { margin-left: 3px !important; }
  .wp-block-blockgallery-carousel .has-margin-right-mobile-5 { margin-right: 3px !important; }
}
.wp-block-blockgallery-carousel .blockgallery--figure img {
  display: block; width: 100%; height: 100%; max-width: none; object-fit: cover; vertical-align: middle;
}
/* Flickity draggable: grab cursor over the viewport (grabbing while pressed), no text
   selection, and vertical touch scrolling left to the page. */
.wp-block-blockgallery-carousel.is-draggable .blockgallery {
  cursor: grab; touch-action: pan-y; -webkit-user-select: none; user-select: none; -webkit-tap-highlight-color: transparent;
}
.wp-block-blockgallery-carousel.is-draggable .blockgallery.is-pointer-down { cursor: grabbing; }
/* Flickity accessibility: the carousel is a tab stop (tabindex from the JS) with no focus ring. */
.wp-block-blockgallery-carousel .has-carousel:focus { outline: none; }
/* Flickity's prev/next buttons as live left them: opacity 0 but clickable, 15% wide (max
   80px) by 72px, top 0 pulled up 36px so they straddle the carousel's top edge. */
.wp-block-blockgallery-carousel .mcb-carousel-btn {
  position: absolute; top: 0; display: block; width: 15%; max-width: 80px; height: 72px;
  margin: 0; padding: 0; border: 0; border-radius: 0; background: none; box-shadow: none;
  opacity: 0; cursor: pointer; transform: translateY(-36px);
}
/* Block Gallery's .flickity-button:focus (unseen at opacity 0, but no ring either). */
.wp-block-blockgallery-carousel .mcb-carousel-btn:focus { outline: none; background: #fff; box-shadow: 0 0 0 2px #000; }
.wp-block-blockgallery-carousel .mcb-carousel-btn--previous { left: 0; }
.wp-block-blockgallery-carousel .mcb-carousel-btn--next { right: 0; }
/* Hide Flickity chrome that never initialises. */
.wp-block-blockgallery-carousel .flickity-button,
.wp-block-blockgallery-carousel .flickity-page-dots { display: none !important; }
.wp-block-blockgallery-carousel figcaption.blockgallery--primary-caption {
  display: block; margin: 1.2em 0 1em; font-size: 13px; line-height: 1; text-align: center;
}
.wp-block-blockgallery-carousel figcaption.blockgallery--primary-caption:not(.has-caption-color) { color: #555d66; }
/* Before JS runs, centre the first image to avoid a left-aligned flash. */
.wp-block-blockgallery-carousel:not(.mcb-slideshow-ready) .has-carousel { justify-content: center; }
.wp-block-blockgallery-carousel:not(.mcb-slideshow-ready) .blockgallery--item:not(:first-child) { display: none; }

/* ------------------------------------------------------------------------
   Embeds (Care pages): live keeps oEmbed iframes at their saved width/height attributes,
   only capped to the column by Foundation's embed/iframe/object {max-width:100%}. There is
   no 16:9 box (no responsive-embeds support), so a 1020x574 YouTube stays 574 tall at every
   width, sitting on the baseline of its wrapper (+3px). ------------------------------- */
:where(.entry-content) :is(embed, iframe, object) { max-width: 100%; }

/* ------------------------------------------------------------------------
   Contact page map ([mcb_map]) — full-bleed out of the container + greyscale. */
.mcb-map {
  width: 100vw; max-width: 100vw; margin-left: calc(50% - 50vw); margin-right: calc(50% - 50vw);
  margin-bottom: 2em;
}
.mcb-map iframe {
  display: block; width: 100%; height: 340px; border: 0;
  filter: grayscale(100%);
}
/* The Google Maps API map (#map, in the contact page's .page-header): its controls are bare
   <button>s, so live's Foundation button {font-family: inherit; font-size: 100%; line-height: 1}
   applied, not the theme's Chenla 2.4em one. Zero-specificity #map keeps Google's own
   .gm-style rules (0,2,1) and inline styles in front, as on live. */
.page-header :where(#map) button { font-family: inherit; font-size: 100%; line-height: 1; }

/* ------------------------------------------------------------------------
   Blog / News, archives, search and single posts: Flatsome right-sidebar layout.
   Row 1080 wide (-15px gutters): 75% content column + 25% sidebar from 768px up.
   The content column's inner wrapper (.page-inner) carries a 1px #eee divider with
   30px before it (dropped at exactly 768, as on live). ------------------------ */
.mcb-blog { display: flex; align-items: flex-start; margin: 0 -15px; }
.mcb-blog__main { flex: 0 0 75%; max-width: 75%; min-width: 0; padding: 0 15px; }
.mcb-blog__sidebar { flex: 0 0 25%; max-width: 25%; min-width: 0; padding: 30px 15px 0; }
@media (min-width: 769px) {
  .mcb-blog__inner { padding-right: 30px; border-right: 1px solid #eee; }
}

/* "Category Archives: X" / "Search Results for: X" (Flatsome h1.page-title). */
.mcb-archive-title {
  font-size: 19.2px; line-height: 1.4; text-transform: uppercase; text-align: center;
  color: #777; margin: .2em 0 30px;
}

/* Each post mirrors Flatsome content.php: centred header (title, short divider, "Posted on"),
   featured image with the white date badge, FULL content (excerpt on search), then the
   "Posted in … / Leave a comment" footer. */
.mcb-entry { margin: 0 0 60px; }
.mcb-entry.type-product { margin-bottom: 0; }
.mcb-entry__header { text-align: center; margin-bottom: 30px; }
.mcb-entry__title {
  font-size: 26px; line-height: 1.4; color: var(--mcb-heading);
  margin: 0 0 5px; overflow-wrap: break-word; word-wrap: break-word;
}
.mcb-entry__title a { color: #000; }
/* Search results: UPPERCASE titles (Flatsome .search-results .text-center h1.entry-title). */
.search-results .mcb-entry__title { text-transform: uppercase; margin-bottom: 15px; }
.mcb-entry__divider { width: 30px; height: 3px; background: #000; opacity: .1; margin: 15px auto; }
.mcb-entry__meta { font-size: 14.4px; line-height: 14.4px; padding: 10px 0; color: #777; }
.mcb-entry__meta a, .mcb-entry__footer a { color: #000; }

/* Featured image with the Flatsome date badge (white box poking over the left edge). */
.mcb-entry__image { position: relative; margin: 10px 0 15px; }
.mcb-entry__image img { width: 100%; height: auto; display: block; }
.mcb-post-date {
  position: absolute; top: 40px; left: -9px; width: 55px; height: 55px; z-index: 1;
  background: #fff; border: 2px solid var(--mcb-link); color: var(--mcb-link);
  text-align: center; font-size: 17px; line-height: 14px; padding: 11px 3px 3px;
  font-weight: 700; text-transform: uppercase; pointer-events: none;
}
/* Only the day is a block (Flatsome .post-date-day): the month stays inline on the badge's 17px/14px line. */
.mcb-post-date__day { display: block; }
.mcb-post-date__month { font-weight: 400; font-size: 80%; }

.mcb-entry__content, .mcb-entry__summary { margin-top: 24px; color: #777; }
/* Foundation p {margin-bottom:1.25em}: em, so a font-size:0 paragraph (Chelsea 2019's intro) takes none. */
.mcb-entry__content p, .mcb-entry__summary p { margin-bottom: 1.25em; }

/* Post footer (Flatsome footer.entry-meta): dotted rule above, solid rule below. The
   comments link floats right; there is deliberately no clearfix (as on live). */
.mcb-entry__footer {
  margin-top: 30px; padding: 15px 0; font-size: 14.4px; line-height: 14.4px; color: #777;
  border-top: 1px dotted #eee; border-bottom: 2px solid #ddd;
}
.mcb-entry__comments { float: right; }

/* The sticky post on the News index is drawn as a boxed card. */
.mcb-entry.sticky { border: 3px solid var(--mcb-link); padding: 30px; }
.mcb-entry.sticky .mcb-entry__footer { border-bottom: 0; }

/* "‹ Older posts" / "Newer posts ›" paging (Flatsome .navigation-paging). */
.mcb-posts-nav-float { float: left; width: 100%; }
.mcb-posts-nav { overflow: hidden; }
.mcb-posts-nav__older { float: left; }
.mcb-posts-nav__newer { float: right; }
/* Flatsome .navigation-paging a: 3px border, 5px 10px 7px padding, 16px/16px uppercase; the
   icomoon angle glyph (16px, line-height 1) sits before "Older" and after "Newer". Hover fills
   it, and live's global a:hover still underlines the text and the glyph. */
.mcb-posts-nav a {
  display: block; border: 3px solid var(--mcb-link); padding: 5px 10px 7px;
  font-size: 16px; line-height: 16px; text-transform: uppercase; color: var(--mcb-link);
}
.mcb-posts-nav .mcb-icon { font-size: 16px; line-height: 16px; }
/* Live's inline a:hover, a:focus {#777; underline} comes after .navigation-paging a, so a focused
   button turns #777 (text and glyph); :hover below still wins, so hover+focus stays white. */
.mcb-posts-nav a:focus { color: var(--mcb-a-hover); text-decoration: underline; }
.mcb-posts-nav a:hover { color: #fff; background-color: var(--mcb-link); text-decoration: underline; }

/* 404 and "Nothing Found" (Flatsome 404.php / no-results.php). */
.mcb-notfound__header { margin-bottom: 30px; }
.mcb-notfound__title { font-size: 26px; line-height: 1.4; margin: 0 0 5px; }
.mcb-notfound__content { margin-top: 24px; }
.mcb-notfound__content p { margin: 0 0 20px; }

/* Flatsome search form (template-parts/content-searchform.php): input 10/12 + dark
   icon button 2/12, both 2.3125em of 14px tall. Scoped so the header search is untouched. */
.searchform { display: flex; margin: 0; }
.searchform .field {
  flex: 0 0 83.3333%; width: 83.3333%; min-width: 0; height: 2.3125em; margin: 0; padding: 7px;
  font-family: inherit; font-size: 14px; line-height: normal; color: rgba(0, 0, 0, .75);
  background: #fff; border: 1px solid #ccc; border-radius: 0;
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, .1); -webkit-appearance: textfield; appearance: textfield;
  /* Foundation forms: the focus border and glow fade in; the #fafafa fill snaps. */
  transition: box-shadow .45s, border-color .45s ease-in-out;
}
.searchform .field:focus { outline: none; border-color: #999; background: #fafafa; box-shadow: 0 0 5px #999; }
/* Foundation's normalize hides WebKit's search clear (x) and decoration, so the text box keeps
   the full field width and no x appears when it is focused with a value. */
.searchform .field::-webkit-search-cancel-button,
.searchform .field::-webkit-search-decoration { -webkit-appearance: none; appearance: none; }
/* Flatsome button.postfix: a block on a 2.125em (29.75px) line holding i.icon-search, the 14px
   icomoon magnifier; buttons ease every change over 200ms. */
.searchform .postfix {
  flex: 0 0 16.6667%; width: 16.6667%; height: 2.3125em; margin: 0; padding: 0;
  display: block; text-align: center;
  font-size: 14px; line-height: 29.75px; color: #fff; background: var(--mcb-btn-bg);
  border: 1px solid var(--mcb-btn-bg); border-radius: 0; cursor: pointer;
  transition: all .2s ease-out;
}
.searchform .postfix .mcb-icon { font-size: 14px; }
/* Flatsome button:hover/:focus darkens with an inset shadow (eased in by the transition above). */
.searchform .postfix:hover, .searchform .postfix:focus { opacity: 1; box-shadow: inset 0 150px 20px 50px rgba(0, 0, 0, .2); }

/* Single post (Flatsome content-single.php): header, image + badge and footer reuse the
   .mcb-entry__* list styles above; the parts below only appear on the single view. */
.mcb-single { margin: 0 0 60px; }
.mcb-icon--linkedin::before    { content: "\e016"; }
.mcb-icon--tumblr::before      { content: "\e603"; }
.mcb-icon--angle-left::before  { content: "\f104"; }
.mcb-icon--angle-right::before { content: "\f105"; }

/* Share row (div.blog-share > .tx-div.medium + .social-icons.share-row). */
.mcb-blog-share { margin-top: 30px; text-align: center; }
.mcb-blog-share__divider { width: 60px; height: 3px; background: #000; opacity: .1; margin: 15px auto; }
.mcb-share-row { line-height: 100%; }
.mcb-share-row__icon {
  position: relative; display: inline-block; width: 34px; height: 34px; margin: 3px 5px 5px 0; padding: 0;
  font-size: 16px; line-height: 31px; text-align: center; color: #ccc;
  border: 2px solid #ccc; border-radius: 99px; transition: background-color .2s ease-out;
}
/* .social-icons .icon (0,2,0) beat a:focus on live: a focused ring keeps its #ccc glyph. */
.mcb-share-row__icon:focus { color: #ccc; }
.mcb-share-row__icon:hover { color: #fff; text-decoration: none; }
.mcb-share-row__icon--facebook:hover  { background-color: #3a589d; border-color: #3a589d; }
.mcb-share-row__icon--twitter:hover   { background-color: #2478ba; border-color: #2478ba; }
.mcb-share-row__icon--email:hover     { background-color: #111; border-color: #111; }
.mcb-share-row__icon--linkedin:hover  { background-color: #0072b7; border-color: #0072b7; }
.mcb-share-row__icon--pinterest:hover { background-color: #cb2320; border-color: #cb2320; }
.mcb-share-row__icon--tumblr:hover    { background-color: #36455d; border-color: #36455d; }
/* Tooltip (tooltipster "top" from the a.tip-top title, as the header's social tips in
   assets/header.css): rgba(0,0,0,.8) box, 5px radius, Arial 14px/16px, padding 8px 10px, 12px
   above the ring and centred on it, with a 16x8 down-arrow under it. Mouse only (live set
   touchDevices:false); display:none at rest so it never adds overflow, fading in over .35s. */
@media (hover: hover) {
  .mcb-share-row__icon::before,
  .mcb-share-row__icon::after {
    display: none;
    position: absolute; left: 50%; z-index: 9999;
    pointer-events: none; opacity: 0;
    transition: opacity .35s .05s, display .35s .05s allow-discrete;
  }
  .mcb-share-row__icon::after {
    content: attr(data-tip);
    bottom: calc(100% + 14px); transform: translateX(-50%);
    padding: 8px 10px; border-radius: 5px; background: rgba(0, 0, 0, .8);
    font: normal 14px/16px Arial, sans-serif; letter-spacing: 0; text-transform: none;
    text-align: left; white-space: nowrap; color: #fff;
  }
  .mcb-share-row__icon::before {
    content: ""; bottom: calc(100% + 6px); margin-left: -8px;
    width: 0; height: 0; box-sizing: border-box;
    border-style: solid; border-width: 8px 8px 0; border-color: rgba(0, 0, 0, .8) transparent transparent;
  }
  /* Whole-pixel placement, when header.js's tooltipster reposition() also covers these rings. */
  .mcb-share-row__icon.is-tip-placed::after {
    left: var(--tip-x); top: var(--tip-y); bottom: auto; transform: none;
    width: max-content; max-width: var(--tip-max, none); white-space: normal;
  }
  .mcb-share-row__icon.is-tip-placed::before { left: var(--tip-ax); top: var(--tip-ay); bottom: auto; margin-left: 0; }
  .mcb-share-row__icon:hover::before,
  .mcb-share-row__icon:hover::after { display: block; opacity: 1; }
  @starting-style {
    .mcb-share-row__icon:hover::before,
    .mcb-share-row__icon:hover::after { opacity: 0; }
  }
}

/* Author box: Foundation row of large-2/small-3 (avatar) + large-10/small-9 (bio). */
.mcb-author-box { padding: 30px 0; border-bottom: 1px solid #ddd; }
.mcb-author-box__row { margin: 0 -15px; }
.mcb-author-box__row::after { content: ""; display: table; clear: both; }
.mcb-author-box__avatar, .mcb-author-box__body { position: relative; float: left; padding: 0 15px; }
.mcb-author-box__avatar { width: 25%; }
.mcb-author-box__body { width: 75%; }
/* Foundation [class*=column] + [class*=column]:last-child {float:right}: the bio column sits
   right, which shows when the row wraps round a floated image above it. */
.mcb-author-box__body { float: right; }
.mcb-author-box__avatar img { display: block; width: 90px; max-width: 100%; height: auto; border-radius: 999px; }
.mcb-author-box__name {
  margin: 0; font-size: 16px; font-weight: 700; line-height: 1.4; text-transform: uppercase; color: var(--mcb-heading);
}
.mcb-author-box__desc { margin: 0 0 16px; font-size: 12.8px; line-height: 1.6; color: #777; }
/* Foundation "large" starts at 48em, so 768 already gets the 2/10 split (avatar shrinks to 66). */
@media (min-width: 768px) {
  .mcb-author-box__avatar { width: 16.6667%; }
  .mcb-author-box__body { width: 83.3333%; }
}
@media (max-width: 767px) {
  .mcb-author-box__name { line-height: 1.2125em; }
}

/* Previous / next post (Flatsome .navigation-post): two 48% floats, the newer one right-aligned
   behind a #ddd rule; the icon-font chevron sits 1px low with 5px either side. */
.mcb-post-nav { overflow: hidden; border-bottom: 1px solid #ddd; }
.mcb-post-nav > div { display: inline-block; width: 48%; }
.mcb-post-nav__prev { float: left; }
.mcb-post-nav__next { float: right; text-align: right; border-left: 1px solid #ddd; }
.mcb-post-nav a { display: block; width: 100%; padding: 30px 20px; font-size: 16px; line-height: 16px; color: #000; }
.mcb-post-nav .mcb-icon { display: inline-block; position: relative; top: 1px; margin: 0 5px; line-height: 16px; }
/* The black resting colours above out-rank the global a:hover; live's Flatsome rules did not,
   so these links still go #777 + underline on hover/focus (title, meta, footer incl. the
   comments link, previous/next post). */
.mcb-entry__title a:hover, .mcb-entry__title a:focus,
.mcb-entry__meta a:hover, .mcb-entry__meta a:focus,
.mcb-entry__footer a:hover, .mcb-entry__footer a:focus,
.mcb-post-nav a:hover, .mcb-post-nav a:focus { color: var(--mcb-a-hover); text-decoration: underline; }

/* Sidebar widgets (Flatsome .widget): 30px apart; h3.widget-title at 95% (the heading's own
   .2em/.5em margins and 1.4 / 1.2125em line), a 30px .tx-div whose 15px top swallows the
   title's .5em; list links are black blocks with 5px under them on a 120% line. */
.mcb-widget { margin: 0 0 30px; }
.mcb-widget__title {
  font-size: 95%; letter-spacing: normal; text-transform: uppercase;
  color: var(--mcb-heading); margin: .2em 0 .5em;
}
.mcb-widget__divider { display: block; width: 30px; height: 3px; margin: 15px 0 20px; background: #000; opacity: .1; }
.mcb-widget ul { list-style: none; margin: 0; padding: 0; }
.mcb-widget li { margin: 0; line-height: 120%; list-style: none; }
.mcb-widget li a { display: block; padding-bottom: 5px; color: var(--mcb-a); text-decoration: none; }
.mcb-widget li a:hover, .mcb-widget li a:focus { color: var(--mcb-a-hover); text-decoration: underline; }

/* Below 768 the columns stack full width (stretch, so an unbreakable URL in a post
   wraps instead of widening the column), and Flatsome titles drop to 16px / 1.2125em. */
@media (max-width: 767px) {
  .mcb-blog { flex-direction: column; align-items: stretch; }
  .mcb-blog__main, .mcb-blog__sidebar { flex: 0 0 auto; max-width: 100%; width: 100%; }
  .mcb-archive-title { line-height: 1.2125em; }
  .mcb-entry__title, .mcb-notfound__title { font-size: 16px; line-height: 1.2125em; }
}

/* ------------------------------------------------------------------------
   Comments / "Leave a Reply" (Growing Backbulbs + blog posts) ------------ */
.mcb-comments { margin: 40px 0 0; }
.comment-respond .comment-reply-title { font-size: 22px; color: var(--mcb-heading); margin: 0 0 6px; }
.comment-respond .comment-notes { color: #888; font-size: 14px; margin: 0 0 18px; }
.comment-form-comment label, .comment-form-author label,
.comment-form-email label, .comment-form-url label {
  display: block; font-size: 13px; color: #555; margin: 0 0 6px;
}
.comment-form textarea, .comment-form input[type="text"],
.comment-form input[type="email"], .comment-form input[type="url"] {
  width: 100%; border: 1px solid #ddd; padding: 10px; font-size: 14px; box-sizing: border-box;
}
.comment-form-comment { margin: 0 0 18px; }
.comment-form .mcb-comment-cols, .comment-form p.comment-form-author,
.comment-form p.comment-form-email, .comment-form p.comment-form-url { margin: 0 0 18px; }
@media (min-width: 700px) {
  .comment-form .mcb-comment-cols {
    display: flex; gap: 20px;
  }
  .comment-form .mcb-comment-cols > p { flex: 1 1 0; margin: 0; }
}
.comment-form .form-submit { margin: 0; }
.comment-form .submit, .comment-form input[type="submit"] {
  background: var(--mcb-btn-bg); color: #fff; border: 0; text-transform: uppercase;
  font-size: 12px; letter-spacing: .04em; line-height: 2.8em; padding: 0 1.6em; cursor: pointer;
}
.comment-form .submit:hover, .comment-form input[type="submit"]:hover { opacity: .9; }
.commentlist, .comment-list { list-style: none; margin: 0 0 30px; padding: 0; }
.commentlist li, .comment-list li { margin: 0 0 20px; }
