/*!
 * Maheri Site Enhancer — v0.50.135 · 2026-11-25 · Maheri Network · AI Suite
 *
 * v0.50.135 (owner, 2026-11-25): "change the colour … design a proper menu with this button colours but the menu should
 *   be darker violet and colours match the websearch tools, and show the categories and pages under Web Search Tools".
 *   Header = Web Search Tools gradient (#14002e → #2a0a5e → #7100e2); menu items = buttons (blue → violet → red);
 *   dark drop-downs with each Web Search Tools section's colour; phone drawer in the same dark violet.
 *
 * User request (verbatim, preserved per workspace rule):
 *   "thse on mobile dievice show super big no it shoud abe a few of them on a line on mobiel also on dkeps topp list
 *    more balso osme may want cold some warm weather some they can hcosoe part of  also on mo0bivel the header and
 *    more are too beig make it stnadard  also  iau plaoded the log make it enahcned hghher ualityshrper if you can as
 *    it is now placement betttter epscially on mobiel when i use it the menu dones woh well but on tdelptop is ok but
 *    heigher quality try to do thignsin a way if i upgrade the theme of woerepss iot doens affect it maybe make this
 *    chaneg thorugh the pklugin and theme and if not opsosivle themn make it in my own plugin in my own plugin ther
 *    woudl be theme enhancer menru enhanced plugin as a plugin it wil overwride what ever theme or plugin i use you
 *    can enhacen the manu that is ro else and ply so cusotmeis perfect menu or dweisn  aperfect one for moboel sire
 *    and also for hte normal site using the same colro also for the ariticles on mobiel it shodu lsoh two same as
 *    partners and more and aslo for citiris at leat two or 3 in eahdc row you decvise but one is wesful thrre is
 *    myideal and ther are some free space see how you can enahcne that n. the header in noremal site is also too big
 *    wasted oto much space try to make it minimum lik gooftele travel but incldu eall the info we have normaleize the
 *    ofnt on the main page and also https://maheri.net/websearchtools/ maybe in pklugin you dlegveop thatoverwridesit
 *    changedn and overirised hte font and size of the header gloablyl  i atach some scrnenshot for betteru
 *    dnerstnading"
 *
 * Every rule is scoped to a body class (mse-<module>) that the plugin adds, so switching a module off in
 * Settings → Maheri Site Enhancer leaves that part of the theme exactly as it was. ?mse=off previews the original.
 * No bare "background:transparent" on ancestors; every rule names its element.
 */

:root {
  --mse-brand: #7100e2;
  --mse-deep: #2a0a5e;
  --mse-darkest: #14002e;
  --mse-nav-from: #3d34ff;
  --mse-nav-mid: #6c1fe0;
  --mse-nav-to: #d81b5f;
  --mse-menu-bg: rgba(20, 0, 46, .97);
  --mse-menu-text: #efe9ff;
  --mse-accent: #eded00;
  --mse-ink: #1d1530;
  --mse-muted: #6b6480;
  --mse-line: #e4dcf7;
  --mse-soft: #f7f4ff;
  --mse-hdr: 60px;
  --mse-font: Inter, "Segoe UI", system-ui, -apple-system, Roboto, "Helvetica Neue", Arial, sans-serif;
  --mse-radius: 14px;
  --mse-shadow: 0 6px 24px -10px rgba(42, 10, 94, .35);
}
@media (max-width: 1099px) { :root { --mse-hdr: 56px; } }

/* ── 1. compact header (Google-Travel-like: one slim row, everything in it) ──────────────────────────────────── */
body.mse-header.mse-built .lp-header .lp-menu-bar,
body.mse-header.mse-built .lp-header .mobile-nav-icon,
body.mse-header.mse-built .mega-menu-toggle { display: none !important; }
body.mse-header.mse-built::before { content: ""; display: block; height: var(--mse-hdr); background: var(--mse-darkest); }

.mse-hdr {
  position: fixed; top: 0; left: 0; right: 0; z-index: 99990;
  height: var(--mse-hdr); box-sizing: border-box;
  display: flex; align-items: center; gap: 18px;
  padding: 0 clamp(12px, 2.4vw, 28px);
  background: linear-gradient(100deg, var(--mse-darkest) 0%, var(--mse-deep) 38%, var(--mse-brand) 100%); color: #fff;
  box-shadow: 0 2px 18px -6px rgba(20, 0, 46, .6);
  font-family: var(--mse-font); font-size: 14.5px; line-height: 1.2;
  transition: box-shadow .18s ease;
}
.mse-hdr.is-scrolled { box-shadow: 0 6px 22px -12px rgba(20, 0, 46, .75); }
body.admin-bar .mse-hdr { top: 32px; }
@media (max-width: 782px) { body.admin-bar .mse-hdr { top: 46px; } }
@media (max-width: 600px) { body.admin-bar .mse-hdr { top: 0; } }

.mse-hdr *, .mse-drawer * { box-sizing: border-box; }
.mse-hdr a.mse-brand {
  display: inline-flex; align-items: center; gap: 10px; flex: 0 0 auto;
  color: #fff !important; text-decoration: none !important;
}
.mse-hdr .mse-logo, .mse-drawer .mse-logo {
  display: inline-flex; width: 48px; height: 48px; flex: 0 0 auto;
  background: transparent;
}
.mse-hdr .mse-logo img, .mse-drawer .mse-logo img { width: 100%; height: 100%; object-fit: contain; display: block; }
.mse-hdr .mse-word, .mse-drawer .mse-word {
  display: flex; flex-direction: column; line-height: 1.05; font-family: var(--mse-font);
}
.mse-hdr .mse-word b, .mse-drawer .mse-word b { color: #fff !important; font-size: 17px; font-weight: 800; letter-spacing: .01em; }
.mse-hdr .mse-word small, .mse-drawer .mse-word small {
  font-size: 10.5px; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; opacity: .82;
}

.mse-hdr nav.mse-nav { flex: 1 1 auto; min-width: 0; }
.mse-hdr nav.mse-nav > ul { display: flex; align-items: center; gap: 2px; margin: 0; padding: 0; list-style: none; }
.mse-hdr nav.mse-nav li { position: relative; margin: 0; padding: 0; list-style: none; }
.mse-hdr nav.mse-nav > ul > li > a {
  display: inline-flex; align-items: center; height: 36px; padding: 0 6px; border-radius: 999px;
  color: #fff !important; text-decoration: none !important; font-weight: 600; white-space: nowrap;
  font-family: var(--mse-font); font-size: 14.5px;
}
.mse-hdr nav.mse-nav > ul > li > a:hover,
.mse-hdr nav.mse-nav > ul > li > a:focus-visible { background: rgba(255, 255, 255, .16); }
.mse-hdr nav.mse-nav > ul > li.is-current > a { background: rgba(20, 0, 46, .28); box-shadow: inset 0 -2px 0 var(--mse-accent); }
.mse-hdr nav.mse-nav button.mse-sub-btn {
  all: unset; display: inline-flex; align-items: center; justify-content: center; width: 22px; height: 36px;
  margin-left: -8px; color: #fff; cursor: pointer; font-size: 11px; opacity: .85;
}
.mse-hdr nav.mse-nav button.mse-sub-btn:focus-visible { outline: 2px solid var(--mse-accent); border-radius: 6px; }
.mse-hdr nav.mse-nav ul.mse-sub {
  position: absolute; top: 100%; left: 0; min-width: 240px; margin: 6px 0 0; padding: 6px; list-style: none;
  background: var(--mse-menu-bg); border: 1px solid rgba(255, 255, 255, .12); border-radius: 14px;
  box-shadow: 0 18px 40px -16px rgba(0, 0, 0, .7); display: none;
}
.mse-hdr nav.mse-nav ul.mse-sub::before { content: ""; position: absolute; left: 0; right: 0; top: -8px; height: 8px; }
.mse-hdr nav.mse-nav li.has-sub:hover > ul.mse-sub,
.mse-hdr nav.mse-nav li.has-sub:focus-within > ul.mse-sub,
.mse-hdr nav.mse-nav li.has-sub.is-open > ul.mse-sub { display: block; }
.mse-hdr nav.mse-nav ul.mse-sub a {
  display: flex; align-items: center; gap: 9px; padding: 9px 12px; border-radius: 10px; color: var(--mse-menu-text) !important;
  text-decoration: none !important; font-weight: 600; font-size: 14px; font-family: var(--mse-font); white-space: nowrap;
}
.mse-hdr nav.mse-nav ul.mse-sub a:hover, .mse-hdr nav.mse-nav ul.mse-sub a:focus-visible { background: rgba(255, 255, 255, .08); color: #fff !important; }
.mse-hdr nav.mse-nav ul.mse-sub a[aria-current="page"] { background: rgba(255, 255, 255, .1); box-shadow: inset 3px 0 0 var(--mse-accent); }
.mse-hdr nav.mse-nav ul.mse-sub ul { list-style: none; margin: 0 0 2px 14px; padding: 0; }
.mse-hdr nav.mse-nav ul.mse-sub ul a { white-space: normal; padding: 6px 12px; font-weight: 500; font-size: 13px; color: #d9c8ff !important; }
/* Web Search Tools sections: their colour as a dot before the label */
.mse-hdr a.mse-dot::before, .mse-drawer a.mse-dot::before {
  content: ""; flex: 0 0 auto; width: 8px; height: 8px; border-radius: 50%; background: var(--wst-dot, var(--mse-accent));
  box-shadow: 0 0 0 2px rgba(255, 255, 255, .12);
}
/* v0.51.0: a drop-down of coloured sections (Web Search Tools, Education & Careers) = buttons in each section's colour */
.mse-hdr nav.mse-nav li.has-sub:hover > ul.mse-sub.mse-tiles,
.mse-hdr nav.mse-nav li.has-sub:focus-within > ul.mse-sub.mse-tiles,
.mse-hdr nav.mse-nav li.has-sub.is-open > ul.mse-sub.mse-tiles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; align-items: start;
}
.mse-hdr nav.mse-nav ul.mse-sub.mse-tiles { min-width: 430px; padding: 8px; }
.mse-hdr ul.mse-tiles > li > a.mse-dot, .mse-drawer ul.mse-tiles > li > .mse-row > a.mse-dot {
  justify-content: flex-start; min-height: 40px; padding: 8px 12px; border-radius: 11px; color: var(--wst-on, #fff) !important;
  background: var(--wst-dot); background: linear-gradient(135deg, var(--wst-dot), color-mix(in srgb, var(--wst-dot) 72%, #000));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 6px 14px -10px rgba(0, 0, 0, .8); font-weight: 700; white-space: nowrap;
  transition: transform .15s, filter .15s;
}
.mse-hdr ul.mse-tiles > li > a.mse-dot::before, .mse-drawer ul.mse-tiles > li > .mse-row > a.mse-dot::before { display: none; }
.mse-hdr ul.mse-tiles > li > a:not(.mse-dot), .mse-drawer ul.mse-tiles > li > .mse-row > a:not(.mse-dot) {
  justify-content: flex-start; min-height: 40px; padding: 8px 12px; border-radius: 11px; color: #fff !important;
  background: rgba(255, 255, 255, .1); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .18); font-weight: 700;
}
.mse-hdr ul.mse-tiles > li > a.mse-dot:hover, .mse-hdr ul.mse-tiles > li > a.mse-dot:focus-visible,
.mse-drawer ul.mse-tiles > li > .mse-row > a.mse-dot:hover { filter: brightness(1.12); transform: translateY(-1px); color: var(--wst-on, #fff) !important;
  background: linear-gradient(135deg, var(--wst-dot), color-mix(in srgb, var(--wst-dot) 72%, #000)); }
.mse-hdr ul.mse-tiles > li > a.mse-dot[aria-current="page"], .mse-drawer ul.mse-tiles > li > .mse-row > a.mse-dot[aria-current="page"] {
  box-shadow: 0 0 0 2px var(--mse-accent), inset 0 1px 0 rgba(255, 255, 255, .25);
}
.mse-hdr nav.mse-nav ul.mse-tiles > li > ul { display: flex; flex-wrap: wrap; gap: 4px; margin: 5px 0 2px 4px; }
.mse-hdr nav.mse-nav ul.mse-tiles > li > ul a { padding: 3px 9px; border-radius: 999px; font-size: 12px; background: rgba(255, 255, 255, .07); }
.mse-hdr a.mse-dot small.mse-soon, .mse-drawer a.mse-dot small.mse-soon {
  margin-left: 6px; padding: 1px 6px; border-radius: 999px; background: var(--mse-accent); color: var(--mse-darkest); font-size: 9.5px; font-weight: 800;
  letter-spacing: .06em; text-transform: uppercase; line-height: 1.5;
}
.mse-drawer nav.mse-dnav ul.mse-sub.mse-tiles:not([hidden]) {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 2px 0 8px; padding: 0; border-left: 0;
}
.mse-drawer nav.mse-dnav ul.mse-tiles > li > .mse-row > a.mse-dot { flex: 1 1 auto; min-height: 44px; font-size: 14px; white-space: normal; }
.mse-drawer nav.mse-dnav ul.mse-tiles > li > .mse-row > button.mse-sub-btn { display: none; }
/* nested pages of a coloured section (Travel → Map search …) stay reachable as small links under its button */
.mse-drawer nav.mse-dnav ul.mse-tiles > li > ul.mse-sub, .mse-drawer nav.mse-dnav ul.mse-tiles > li > ul.mse-sub[hidden] {
  display: flex; flex-wrap: wrap; gap: 4px; margin: 4px 0 0; padding: 0; border-left: 0;
}
.mse-drawer nav.mse-dnav ul.mse-tiles > li > ul.mse-sub a { min-height: 30px; padding: 4px 10px; border-radius: 999px; font-size: 13px; background: rgba(255, 255, 255, .08); }

/* menu items as buttons (default; Look → Menu items → Plain text links switches it off) */
body.mse-navbtn .mse-hdr nav.mse-nav > ul { gap: 6px; }
body.mse-navbtn .mse-hdr nav.mse-nav > ul > li > a {
  height: 34px; padding: 0 14px; font-size: 14px;
  background: linear-gradient(180deg, var(--mse-nav-from) 0%, var(--mse-nav-mid) 55%, var(--mse-nav-to) 100%);
  border: 1px solid rgba(255, 255, 255, .22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25), 0 4px 12px -6px rgba(0, 0, 0, .6);
  transition: filter .15s ease, transform .15s ease;
}
body.mse-navbtn .mse-hdr nav.mse-nav > ul > li > a:hover,
body.mse-navbtn .mse-hdr nav.mse-nav > ul > li > a:focus-visible {
  background: linear-gradient(180deg, var(--mse-nav-from) 0%, var(--mse-nav-mid) 55%, var(--mse-nav-to) 100%);
  filter: brightness(1.12); transform: translateY(-1px); outline: none;
}
body.mse-navbtn .mse-hdr nav.mse-nav > ul > li > a:focus-visible { box-shadow: 0 0 0 2px var(--mse-accent); }
body.mse-navbtn .mse-hdr nav.mse-nav > ul > li.is-current > a { box-shadow: 0 0 0 2px var(--mse-accent), inset 0 1px 0 rgba(255, 255, 255, .25); }
body.mse-navbtn .mse-hdr nav.mse-nav > ul > li.has-sub > a { padding-right: 26px; }
body.mse-navbtn .mse-hdr nav.mse-nav button.mse-sub-btn { position: absolute; right: 4px; top: 0; height: 34px; margin: 0; width: 20px; }
@media (prefers-reduced-motion: reduce) { body.mse-navbtn .mse-hdr nav.mse-nav > ul > li > a { transition: none; } }
/* "More": top-level items that did not fit, in one drop-down at the right; their own sub-pages are listed inline */
.mse-hdr nav.mse-nav li.mse-more[hidden] { display: none; }
.mse-hdr nav.mse-nav li.mse-more > a { cursor: pointer; }
body.mse-navbtn .mse-hdr nav.mse-nav > ul > li.mse-more > a { padding-right: 14px; }
.mse-hdr nav.mse-nav li.mse-more > ul.mse-sub { left: auto; right: 0; max-height: calc(100vh - var(--mse-hdr) - 24px); overflow-y: auto; }
.mse-hdr nav.mse-nav li.mse-more ul.mse-sub ul.mse-sub {
  position: static; display: block; min-width: 0; margin: 0 0 4px 14px; padding: 0; border: 0; box-shadow: none; background: none;
}
.mse-hdr nav.mse-nav li.mse-more ul.mse-sub ul.mse-sub::before { display: none; }
.mse-hdr nav.mse-nav li.mse-more button.mse-sub-btn { display: none; }
/* v0.51.0: coloured sections moved into "More" stay coloured buttons, two per row */
.mse-hdr nav.mse-nav li.mse-more ul.mse-sub ul.mse-sub.mse-tiles {
  display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; margin: 4px 0 10px 6px; padding: 0;
}
.mse-hdr nav.mse-nav li.mse-more > ul.mse-sub:has(.mse-tiles) { min-width: 420px; }

.mse-hdr .mse-actions { display: flex; align-items: center; gap: 8px; flex: 0 0 auto; margin-left: auto; }
.mse-hdr a.mse-btn, .mse-drawer a.mse-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 6px; height: 36px; padding: 0 14px;
  border-radius: 999px; font-family: var(--mse-font); font-size: 14px; font-weight: 700; white-space: nowrap;
  text-decoration: none !important; cursor: pointer; line-height: 1;
}
.mse-hdr a.mse-btn-add, .mse-drawer a.mse-btn-add { background: var(--mse-accent); color: var(--mse-darkest) !important; }
.mse-hdr a.mse-btn-add:hover, .mse-drawer a.mse-btn-add:hover { filter: brightness(1.06); }
.mse-hdr a.mse-btn-user { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.mse-hdr a.mse-btn-user:hover { background: rgba(255, 255, 255, .14); }
.mse-hdr a.mse-btn img.mse-avatar, .mse-drawer a.mse-btn img.mse-avatar { width: 24px; height: 24px; border-radius: 50%; margin-left: -6px; }
.mse-hdr a.mse-btn:focus-visible, .mse-drawer a.mse-btn:focus-visible { outline: 3px solid #fff; outline-offset: 2px; }
.mse-hdr svg.mse-ico, .mse-drawer svg.mse-ico { width: 16px; height: 16px; flex: 0 0 auto; }

.mse-hdr button.mse-burger {
  all: unset; display: none; width: 42px; height: 42px; border-radius: 12px; cursor: pointer;
  align-items: center; justify-content: center; color: #fff; background: rgba(255, 255, 255, .14);
}
.mse-hdr button.mse-burger:focus-visible { outline: 3px solid var(--mse-accent); outline-offset: 2px; }
.mse-hdr button.mse-burger svg { width: 22px; height: 22px; }
.mse-hdr.mse-condensed nav.mse-nav, .mse-hdr.mse-condensed a.mse-btn-add { display: none; }
.mse-hdr.mse-condensed button.mse-burger { display: inline-flex; }

@media (max-width: 1099px) {
  .mse-hdr { gap: 10px; }
  .mse-hdr nav.mse-nav, .mse-hdr a.mse-btn-add { display: none; }
  .mse-hdr button.mse-burger { display: inline-flex; }
  .mse-hdr .mse-logo { width: 44px; height: 44px; }
}
@media (max-width: 420px) {
  .mse-hdr .mse-word b { font-size: 16px; }
  .mse-hdr .mse-word small { font-size: 9.5px; letter-spacing: .1em; }
  .mse-hdr a.mse-btn-user { padding: 0 11px; font-size: 13px; }
  .mse-hdr a.mse-btn-user .mse-label { display: none; }
  .mse-hdr a.mse-btn-user .mse-ico { width: 18px; height: 18px; }
}

/* ── 2. phone menu: one off-canvas drawer, same colours as the desktop header ─────────────────────────────────── */
.mse-drawer { position: fixed; inset: 0; z-index: 99995; font-family: var(--mse-font); }
.mse-drawer[hidden] { display: none; }
.mse-drawer .mse-drawer-back { position: absolute; inset: 0; background: rgba(15, 8, 32, .55); animation: mse-fade .16s ease-out; }
.mse-drawer aside.mse-panel {
  position: absolute; top: 0; right: 0; bottom: 0; width: min(88vw, 360px); display: flex; flex-direction: column;
  background: linear-gradient(180deg, var(--mse-darkest) 0%, var(--mse-deep) 100%); color: #fff; box-shadow: -12px 0 40px rgba(0, 0, 0, .45);
  animation: mse-slide .2s ease-out; overflow: hidden;
}
.mse-drawer .mse-panel-head {
  display: flex; align-items: center; gap: 10px; height: 64px; padding: 0 12px 0 16px; flex: 0 0 auto;
  background: linear-gradient(100deg, var(--mse-darkest) 0%, var(--mse-deep) 50%, var(--mse-brand) 100%); color: #fff;
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}
.mse-drawer .mse-panel-head .mse-word { flex: 1 1 auto; }
.mse-drawer button.mse-close {
  all: unset; display: inline-flex; width: 40px; height: 40px; border-radius: 12px; align-items: center;
  justify-content: center; cursor: pointer; color: #fff; background: rgba(255, 255, 255, .16);
}
.mse-drawer button.mse-close svg { width: 20px; height: 20px; }
.mse-drawer button.mse-close:focus-visible { outline: 3px solid var(--mse-accent); }
.mse-drawer nav.mse-dnav { flex: 1 1 auto; overflow-y: auto; padding: 8px; -webkit-overflow-scrolling: touch; }
.mse-drawer nav.mse-dnav ul { list-style: none; margin: 0; padding: 0; }
.mse-drawer nav.mse-dnav li { margin: 0; padding: 0; list-style: none; }
.mse-drawer nav.mse-dnav .mse-row { display: flex; align-items: center; }
.mse-drawer nav.mse-dnav a {
  flex: 1 1 auto; display: flex; align-items: center; min-height: 48px; padding: 0 14px; border-radius: 12px;
  color: var(--mse-menu-text) !important; text-decoration: none !important; font-size: 16px; font-weight: 600;
  font-family: var(--mse-font); gap: 10px;
}
.mse-drawer nav.mse-dnav a:hover, .mse-drawer nav.mse-dnav a:focus-visible { background: rgba(255, 255, 255, .08); color: #fff !important; }
.mse-drawer nav.mse-dnav li.is-current > .mse-row > a {
  background: rgba(255, 255, 255, .1); color: #fff !important; box-shadow: inset 3px 0 0 var(--mse-accent);
}
.mse-drawer nav.mse-dnav button.mse-sub-btn {
  all: unset; display: inline-flex; width: 44px; height: 44px; align-items: center; justify-content: center;
  border-radius: 12px; cursor: pointer; color: #fff; transition: transform .15s;
}
.mse-drawer nav.mse-dnav button.mse-sub-btn[aria-expanded="true"] svg { transform: rotate(180deg); }
.mse-drawer nav.mse-dnav button.mse-sub-btn svg { width: 18px; height: 18px; transition: transform .15s; }
.mse-drawer nav.mse-dnav button.mse-sub-btn:focus-visible { outline: 2px solid var(--mse-accent); }
.mse-drawer nav.mse-dnav ul.mse-sub { margin: 0 0 4px 14px; padding-left: 8px; border-left: 2px solid rgba(255, 255, 255, .16); }
.mse-drawer nav.mse-dnav ul.mse-sub[hidden] { display: none; }
.mse-drawer nav.mse-dnav ul.mse-sub a { min-height: 42px; font-size: 15px; font-weight: 500; color: #d9c8ff !important; }
.mse-drawer .mse-panel-foot {
  display: grid; gap: 8px; padding: 12px 14px calc(14px + env(safe-area-inset-bottom)); flex: 0 0 auto;
  border-top: 1px solid rgba(255, 255, 255, .12); background: rgba(10, 0, 26, .35);
}
.mse-drawer a.mse-btn { height: 44px; font-size: 15px; }
.mse-drawer a.mse-btn-user { background: transparent; color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .7); }
.mse-drawer a.mse-btn-out { color: #fff !important; box-shadow: inset 0 0 0 1.5px rgba(255, 255, 255, .3); background: transparent; }
html.mse-lock, html.mse-lock body { overflow: hidden !important; }
@keyframes mse-fade { from { opacity: 0; } to { opacity: 1; } }
@keyframes mse-slide { from { transform: translateX(24px); opacity: .6; } to { transform: none; opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .mse-drawer .mse-drawer-back, .mse-drawer aside.mse-panel { animation: none; } }
/* theme's own off-canvas (mmenu) is not used while ours is on */
body.mse-mobile_menu .mm-menu.mm-menu_offcanvas { visibility: hidden !important; }

/* ── 3. compact hero (the big purple banner under the header) ─────────────────────────────────────────────────── */
/* The theme centres the text with top:40% + translateY(-50%) inside a fixed-height banner and pins the search box
   to the bottom with position:absolute. Live test: keeping those while shrinking the banner pushed the h1 under the
   header. So the hero is put back into normal flow: text, then search, height = content. */
body.mse-hero .lp-home-banner-contianer { min-height: 0 !important; height: auto !important; }
body.mse-hero .lp-home-banner-contianer .lp-home-banner-contianer-inner-new {
  /* old (first test): padding-top: 34px; padding-bottom: 6px — kept the theme's top:40% + translate, h1 slid under the header */
  position: relative !important; top: 0 !important; transform: none !important;
  padding-top: 26px !important; padding-bottom: 4px !important; margin: 0 !important;
}
body.mse-hero .lp-home-banner-contianer .lp-home-banner-contianer-inner-new-search {
  padding-top: 10px !important; padding-bottom: 26px !important; margin: 0 !important;
  position: relative !important; top: auto !important; bottom: auto !important; transform: none !important;
}
body.mse-hero .lp-home-banner-contianer h1 {
  /* old: clamp(22px, 1rem + 1.5vw, 36px) — wrapped to two lines on desktop; the theme's own was 24px */
  font-size: clamp(20px, 13.6px + 1vw, 28px) !important; line-height: 1.2 !important; margin: 0 auto 8px !important;
  max-width: 1200px; font-weight: 800 !important; letter-spacing: -.01em;
}
body.mse-hero .lp-home-banner-contianer p.lp-banner-browse-txt {
  font-size: clamp(13px, 12.8px + .25vw, 16px) !important; line-height: 1.45 !important; margin: 0 auto !important;
  max-width: 760px; opacity: .92;
}
@media (max-width: 767px) {
  body.mse-hero .lp-home-banner-contianer .lp-home-banner-contianer-inner-new { padding-top: 18px !important; }
  body.mse-hero .lp-home-banner-contianer .lp-home-banner-contianer-inner-new-search { padding-bottom: 16px !important; }
  body.mse-hero .lp-search-bar .form-group { margin-bottom: 8px !important; }
}
/* ── 3b. compact page title + breadcrumb band ─────────────────────────────────────────────────────────── */
/* ListingPro renders one title and breadcrumb at 216px tall. Keep the same theme treatment, only remove the
   empty vertical space. This is separate from the home hero so either can be switched off independently. */
body.mse-page_titles .page-heading { min-height: 0 !important; height: auto !important; }
body.mse-page_titles .page-heading .page-heading-inner-container {
  position: relative !important; top: auto !important; transform: none !important;
  padding: 24px 16px 18px !important; margin: 0 !important; z-index: 2;
}
body.mse-page_titles .page-heading .page-heading-inner-container h1 {
  font-size: clamp(20px, 17px + .7vw, 26px) !important; line-height: 1.2 !important;
  margin: 0 0 5px !important; padding: 0 !important;
}
body.mse-page_titles .page-heading ul.breadcrumbs,
body.mse-page_titles .page-heading ul.breadcrumbs li {
  margin: 0 !important; padding: 0 !important; font-size: 12px !important; line-height: 1.35 !important;
}
body.mse-page_titles .page-heading ul.breadcrumbs li + li::before { margin: 0 6px !important; }
@media (max-width: 767px) {
  body.mse-page_titles .page-heading .page-heading-inner-container { padding: 15px 12px 12px !important; }
  body.mse-page_titles .page-heading .page-heading-inner-container h1 { margin-bottom: 4px !important; }
}

/* Single posts use a different ListingPro template, with the full article title repeated in the breadcrumb.
   Keep that trail on one compact, ellipsised line instead of allowing the repeated title to become a block. */
body.mse-page_titles.single .blog-single-page ul.breadcrumbs {
  display: flex !important; align-items: center; flex-wrap: nowrap !important; width: 100%; min-width: 0;
  margin: 7px 0 0 !important; padding: 0 !important; white-space: nowrap !important;
  font-size: 12px !important; line-height: 1.35 !important;
}
body.mse-page_titles.single .blog-single-page ul.breadcrumbs li {
  display: inline-flex !important; align-items: center; min-width: 0; margin: 0 !important; padding: 0 !important;
  font-size: inherit !important; line-height: inherit !important;
}
body.mse-page_titles.single .blog-single-page ul.breadcrumbs li:last-child { flex: 1 1 auto; overflow: hidden; }
body.mse-page_titles.single .blog-single-page ul.breadcrumbs li:last-child span {
  display: block; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}

/* ── 3c. compact article pages and archives: featured image beside the text ──────────────────────────────── */
body.mse-article_cards.single .blog-single-page {
  min-height: 0 !important; height: auto !important; padding: 28px 16px !important;
  display: flex; align-items: center; justify-content: center;
}
body.mse-article_cards.single .blog-single-page .blog-heading-inner-container.mse-article-hero {
  position: relative !important; top: auto !important; transform: none !important;
  width: min(1140px, 100%) !important; max-width: 1140px; margin: 0 auto !important; padding: 0 !important;
  display: flex !important; align-items: center; gap: 24px; text-align: left !important;
}
body.mse-article_cards.single .mse-article-hero-text { flex: 1 1 auto; min-width: 0; text-align: left; }
body.mse-article_cards.single .mse-article-hero-text .lp-blog-user-thumb { display: none !important; }
body.mse-article_cards.single .mse-article-hero-text h1 {
  font-size: clamp(20px, 17px + .7vw, 26px) !important; line-height: 1.25 !important;
  margin: 0 !important; padding: 0 !important; text-align: left !important;
}
body.mse-article_cards.single .mse-article-hero-text .lp-blog-user-thumb + h1 { margin-top: 0 !important; }
body.mse-article_cards.single .mse-article-hero-text ul.lp-blog-grid-author {
  display: flex !important; flex-wrap: wrap; gap: 3px 12px; margin: 8px 0 0 !important; padding: 0 !important;
}
body.mse-article_cards.single .mse-article-hero-text ul.lp-blog-grid-author li { float: none !important; margin: 0 !important; padding: 0 !important; }
body.mse-article_cards.single .mse-article-hero-text ul.lp-blog-grid-author li * { font-size: 11.5px !important; line-height: 1.35 !important; }
body.mse-article_cards.single .mse-article-featured {
  order: -1; flex: 0 0 36%; width: 36%; max-height: 270px; aspect-ratio: 16 / 9; margin: 0; overflow: hidden;
  border-radius: 12px; background: rgba(255, 255, 255, .12);
}
body.mse-article-image-right.mse-article_cards.single .mse-article-featured { order: 2; }
body.mse-article_cards.single .mse-article-featured img { display: block; width: 100%; height: 100%; object-fit: cover; }
@media (max-width: 767px) {
  body.mse-article_cards.single .blog-single-page { padding: 18px 12px !important; }
  body.mse-article_cards.single .blog-single-page .blog-heading-inner-container.mse-article-hero { gap: 12px; align-items: center; }
  body.mse-article_cards.single .mse-article-featured { flex-basis: 30%; width: 30%; max-height: none; min-height: 150px; aspect-ratio: auto; }
  body.mse-article_cards.single .mse-article-hero-text { display: flex; flex-direction: column; justify-content: center; }
  body.mse-article_cards.single .mse-article-hero-text h1 { font-size: 18px !important; line-height: 1.25 !important; }
  body.mse-page_titles.single .blog-single-page ul.breadcrumbs { margin-top: 6px !important; font-size: 11px !important; }
}

/* ── 3d. compact article archives: featured image beside the text ───────────────────────────────────────── */
/* The same ListingPro markup is used by the blog page and category/tag/author archives. Do not duplicate the
   image or alter article content; only present the existing featured thumbnail beside its metadata. */
body.mse-article_cards section.lp-blog-for-app-view .container > .row,
body.mse-article_cards .lp-section-content-container-style3 {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px;
  margin: 0 !important; padding-bottom: 18px !important;
}
body.mse-article_cards section.lp-blog-for-app-view .container > .row::before,
body.mse-article_cards section.lp-blog-for-app-view .container > .row::after,
body.mse-article_cards .lp-section-content-container-style3::before,
body.mse-article_cards .lp-section-content-container-style3::after,
body.mse-article_cards section.lp-blog-for-app-view .container > .row > div.clearfix,
body.mse-article_cards .lp-section-content-container-style3 > div.clearfix { display: none !important; content: none !important; }
body.mse-article_cards section.lp-blog-for-app-view .container > .row > div[id^="post-"],
body.mse-article_cards .lp-section-content-container-style3 > .lp-blog-style3 {
  width: auto !important; max-width: none !important; float: none !important; padding: 0 !important; margin: 0 !important;
}
body.mse-article_cards section.lp-blog-for-app-view .container > .row > :not([id^="post-"]):not(.clearfix) { grid-column: 1 / -1; }
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-box {
  height: 100% !important; margin: 0 !important;
}
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box-container,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-box-container {
  display: flex !important; align-items: stretch; min-height: 174px; height: 100%; margin: 0 !important;
  border-radius: 12px !important; overflow: hidden; background: #fff;
  box-shadow: 0 4px 16px -10px rgba(42, 10, 94, .55) !important;
}
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box-thumb,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-box-thumb {
  flex: 0 0 36% !important; width: 36% !important; max-width: 36% !important; height: auto !important;
  min-height: 174px; overflow: hidden;
}
body.mse-article-image-right.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box-thumb,
body.mse-article-image-right.mse-article_cards .lp-blog-style3 .lp-blog-grid-box-thumb { order: 2; }
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box-thumb > a,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-box-thumb > a { display: block; width: 100%; height: 100%; }
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box-thumb img,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-box-thumb img {
  display: block; width: 100% !important; height: 100% !important; min-height: 174px;
  object-fit: cover !important; aspect-ratio: auto;
}
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box-description,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-box-description {
  flex: 1 1 auto; min-width: 0; min-height: 0; padding: 14px 16px !important;
  display: flex; flex-direction: column; justify-content: center; text-align: left !important;
}
body.mse-article_cards .lp-blog-user-thumb { display: none !important; }
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-category,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-category {
  margin: 0 0 6px !important; font-size: 11.5px !important; line-height: 1.35 !important;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-category a,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-category a { font-size: inherit !important; line-height: inherit !important; }
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-title h4,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-title h4,
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-title h4 a,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-title h4 a {
  margin: 0 !important; font-size: 15px !important; line-height: 1.3 !important; font-weight: 700 !important;
}
body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-title h4 a,
body.mse-article_cards .lp-blog-style3 .lp-blog-grid-title h4 a {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden;
}
body.mse-article_cards section.lp-blog-for-app-view ul.lp-blog-grid-author,
body.mse-article_cards .lp-blog-style3 ul.lp-blog-grid-author {
  display: flex !important; flex-wrap: wrap; gap: 2px 10px; margin: 9px 0 0 !important; padding: 0 !important;
}
body.mse-article_cards section.lp-blog-for-app-view ul.lp-blog-grid-author li,
body.mse-article_cards .lp-blog-style3 ul.lp-blog-grid-author li { float: none !important; margin: 0 !important; padding: 0 !important; }
body.mse-article_cards section.lp-blog-for-app-view ul.lp-blog-grid-author li *,
body.mse-article_cards .lp-blog-style3 ul.lp-blog-grid-author li * { font-size: 11.5px !important; line-height: 1.35 !important; }
@media (max-width: 767px) {
  body.mse-article_cards section.lp-blog-for-app-view .container > .row,
  body.mse-article_cards .lp-section-content-container-style3 { grid-template-columns: minmax(0, 1fr); gap: 10px; }
  body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box-container,
  body.mse-article_cards .lp-blog-style3 .lp-blog-grid-box-container { min-height: 142px; border-radius: 10px !important; }
  body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box-thumb,
  body.mse-article_cards .lp-blog-style3 .lp-blog-grid-box-thumb { flex-basis: 35% !important; width: 35% !important; max-width: 35% !important; min-height: 142px; }
  body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box-thumb img,
  body.mse-article_cards .lp-blog-style3 .lp-blog-grid-box-thumb img { min-height: 142px; }
  body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-box-description,
  body.mse-article_cards .lp-blog-style3 .lp-blog-grid-box-description { padding: 10px 12px !important; }
  body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-title h4,
  body.mse-article_cards .lp-blog-style3 .lp-blog-grid-title h4,
  body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-title h4 a,
  body.mse-article_cards .lp-blog-style3 .lp-blog-grid-title h4 a { font-size: 13.5px !important; }
  body.mse-article_cards section.lp-blog-for-app-view .lp-blog-grid-title h4 a,
  body.mse-article_cards .lp-blog-style3 .lp-blog-grid-title h4 a { -webkit-line-clamp: 3; }
}

/* ── 4. grids: several cards per row on phones instead of one giant card ──────────────────────────────────────── */
/* The theme floats the category tiles over the page (position:absolute + translateY(-50%)) and reserves the room
   with a tall Elementor spacer below. In normal flow they take their own room, so section 5 can shrink spacers
   safely and the phone grid below gets a real width (absolute + width:auto collapsed it into thin strips). */
body.mse-grids .home-categories-area.new-banner-view-category { margin-top: 22px !important; float: none !important; }
body.mse-grids .home-categories-area .lp-section-row.margin-bottom-60 { margin-bottom: 8px !important; }
body.mse-grids .home-categories-area .col-md-12 { height: auto !important; }
body.mse-grids .home-categories-area ul.lp-home-categoires {
  position: static !important; transform: none !important; left: auto !important; right: auto !important;
  margin: 0 auto !important; padding: 0 !important;
}
@media (max-width: 767px) {
  /* a Bootstrap .row turned into a CSS grid must lose its clearfix pseudo-elements (they would take a cell) */
  body.mse-grids ul.lp-home-categoires::before, body.mse-grids ul.lp-home-categoires::after,
  body.mse-grids .lp-section-content-container-style3::before, body.mse-grids .lp-section-content-container-style3::after,
  body.mse-grids .elementor-widget-listing-locations .lp-section-content-container.row::before,
  body.mse-grids .elementor-widget-listing-locations .lp-section-content-container.row::after,
  body.mse-grids .listing-second-view .listing-post > .row::before,
  body.mse-grids .listing-second-view .listing-post > .row::after { display: none !important; content: none !important; }
  /* the theme also inserts <div class="clearfix"> after every 3rd card — in a grid each one ate a cell (live test) */
  body.mse-grids .listing-second-view .listing-post > .row > div.clearfix,
  body.mse-grids .lp-section-content-container-style3 > div.clearfix,
  body.mse-grids .elementor-widget-listing-locations .lp-section-content-container.row > div.clearfix { display: none !important; }

  /* categories: 4 small tiles per row */
  body.mse-grids .home-categories-area.new-banner-view-category { margin-top: 14px !important; }
  body.mse-grids ul.lp-home-categoires {
    display: grid !important; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px;
    margin: 0 !important; padding: 0 2px !important; width: auto !important;
  }
  body.mse-grids ul.lp-home-categoires > li {
    width: auto !important; max-width: none !important; float: none !important; margin: 0 !important; padding: 0 !important;
    display: block !important; height: auto !important;
  }
  body.mse-grids ul.lp-home-categoires > li > a {
    display: flex !important; align-items: center; justify-content: center; height: 100% !important; min-height: 78px;
    padding: 8px 4px !important; margin: 0 !important; border-radius: 12px !important; width: auto !important;
  }
  body.mse-grids ul.lp-home-categoires > li > a > span {
    display: block; font-size: 11px !important; line-height: 1.2 !important; font-weight: 700 !important;
    overflow-wrap: anywhere; hyphens: auto; padding: 0 !important; margin: 0 !important;
    position: static !important; transform: none !important; width: 100% !important;
  }
  body.mse-grids ul.lp-home-categoires > li > a { float: none !important; box-shadow: 0 3px 10px -6px rgba(20, 0, 46, .6) !important; }
  body.mse-grids ul.lp-home-categoires > li img.icons-banner-cat {
    width: 26px !important; height: 26px !important; max-width: 26px !important; margin: 0 auto 4px !important; object-fit: contain;
  }
  body.mse-grids ul.lp-home-categoires > li br { display: none; }
  body.mse-grids ul.lp-home-categoires > li img.icons-banner-cat { display: block; }

  /* social icons: small, many per line */
  body.mse-grids .elementor-widget-social-icons .elementor-social-icons-wrapper {
    display: flex !important; flex-wrap: wrap; justify-content: center; gap: 8px !important;
  }
  body.mse-grids .elementor-widget-social-icons .elementor-grid-item { margin: 0 !important; }
  body.mse-grids .elementor-widget-social-icons .elementor-social-icon {
    --icon-size: 18px; --icon-padding: .55em; font-size: 18px !important; padding: .55em !important;
  }
  body.mse-grids .elementor-widget-social-icons .elementor-social-icon svg { width: 18px !important; height: 18px !important; }

  /* articles: 2 per row */
  body.mse-grids .lp-section-content-container-style3 {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 !important;
  }
  body.mse-grids .lp-section-content-container-style3 > .lp-blog-style3 {
    width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important;
  }
  body.mse-grids .lp-blog-style3 .lp-blog-grid-box-container {
    margin: 0 !important; height: 100%; border-radius: 12px; overflow: hidden; background: #ffffff;
    box-shadow: 0 2px 10px -6px rgba(42, 10, 94, .45);
  }
  /* the theme gives the thumb box a fixed 250×250 — wider than a half-width card (live test) */
  body.mse-grids .lp-blog-style3 .lp-blog-grid-box-thumb {
    width: 100% !important; height: auto !important; max-width: 100% !important; overflow: hidden;
  }
  body.mse-grids .lp-blog-style3 .lp-blog-grid-box-thumb > a { display: block; }
  body.mse-grids .lp-blog-style3 .lp-blog-grid-box-thumb img {
    width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  }
  body.mse-grids .lp-blog-style3 .lp-blog-grid-box-description { padding: 8px 10px 10px !important; min-height: 0 !important; }
  body.mse-grids .lp-blog-style3 .lp-blog-grid-title h4,
  body.mse-grids .lp-blog-style3 .lp-blog-grid-title h4 a {
    font-size: 13.5px !important; line-height: 1.3 !important; margin: 0 !important; font-weight: 700 !important;
  }
  body.mse-grids .lp-blog-style3 .lp-blog-grid-title h4 { max-height: calc(3 * 1.3em); overflow: hidden; }
  body.mse-grids .lp-blog-style3 .lp-blog-grid-title h4 a {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }

  /* v0.50.132: the blog archive (/updates-posts/, categories, tags) — 2 per row like the home page */
  body.mse-grids section.lp-blog-for-app-view .container > .row {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; margin: 0 !important;
  }
  body.mse-grids section.lp-blog-for-app-view .container > .row::before,
  body.mse-grids section.lp-blog-for-app-view .container > .row::after { display: none !important; }
  body.mse-grids section.lp-blog-for-app-view .container > .row > div.clearfix { display: none !important; }
  body.mse-grids section.lp-blog-for-app-view .container > .row > div[id^="post-"] {
    width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important;
  }
  body.mse-grids section.lp-blog-for-app-view .container > .row > :not([id^="post-"]):not(.clearfix) { grid-column: 1 / -1; }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box,
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-container {
    margin: 0 !important; height: 100%; border-radius: 12px; overflow: hidden; background: #ffffff;
  }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-container { box-shadow: 0 2px 10px -6px rgba(42, 10, 94, .45); }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-thumb {
    width: 100% !important; height: auto !important; max-width: 100% !important; overflow: hidden;
  }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-thumb > a { display: block; }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-thumb img {
    width: 100% !important; height: auto !important; aspect-ratio: 4 / 3; object-fit: cover; display: block;
  }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-description { padding: 8px 10px 10px !important; min-height: 0 !important; }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-category,
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-category a { font-size: 11.5px !important; line-height: 1.35 !important; }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-category {
    display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; margin: 0 0 4px !important;
  }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-title h4,
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-title h4 a {
    font-size: 13.5px !important; line-height: 1.3 !important; margin: 0 !important; font-weight: 700 !important;
  }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-title h4 { max-height: calc(3 * 1.3em); overflow: hidden; }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-title h4 a {
    display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
  }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-author,
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-author li,
  body.mse-grids section.lp-blog-for-app-view .lp-blog-grid-author a { font-size: 11.5px !important; }
  /* live test: the author/date text sits in nested spans and kept 16px+ — size every descendant, one compact row */
  body.mse-grids section.lp-blog-for-app-view ul.lp-blog-grid-author {
    display: flex !important; flex-wrap: wrap; justify-content: center; gap: 2px 10px; margin: 6px 0 0 !important; padding: 0 !important;
  }
  body.mse-grids section.lp-blog-for-app-view ul.lp-blog-grid-author li { margin: 0 !important; padding: 0 !important; float: none !important; }
  body.mse-grids section.lp-blog-for-app-view ul.lp-blog-grid-author li * { font-size: 11.5px !important; line-height: 1.35 !important; }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-user-thumb img.avatar { width: 34px !important; height: 34px !important; }
  body.mse-grids section.lp-blog-for-app-view .lp-blog-user-thumb.margin-top-subtract-25 { margin-top: -17px !important; }

  /* cities: 2 per row (3 on large phones) */
  body.mse-grids .elementor-widget-listing-locations .lp-section-content-container.row {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 !important;
  }
  body.mse-grids .elementor-widget-listing-locations .lp-section-content-container.row > div {
    width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important;
  }
  body.mse-grids .elementor-widget-listing-locations .city-girds { margin: 0 !important; height: 100%; position: relative; border-radius: 12px !important; overflow: hidden; }
  body.mse-grids .elementor-widget-listing-locations .city-thumb,
  body.mse-grids .elementor-widget-listing-locations .city-thumb img {
    height: 120px !important; min-height: 0 !important; width: 100% !important; object-fit: cover;
  }
  body.mse-grids .elementor-widget-listing-locations .city-title { padding: 6px 4px 8px !important; }
  body.mse-grids .elementor-widget-listing-locations .city-title h3,
  body.mse-grids .elementor-widget-listing-locations .city-title h3 a { font-size: 15px !important; line-height: 1.2 !important; margin: 0 !important; }
  body.mse-grids .elementor-widget-listing-locations .lp-listing-quantity { font-size: 12px !important; margin: 2px 0 0 !important; }

  /* partners: 2 per row */
  body.mse-grids .listing-second-view .listing-post > .row {
    display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; margin: 0 !important;
  }
  body.mse-grids .listing-second-view .listing-post > .row > div {
    width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important; min-height: 0 !important;
  }
  body.mse-grids .listing-second-view .listing-post article { margin: 0 !important; height: 100%; }
  body.mse-grids .listing-second-view .listing-post figure { margin: 0 !important; border-radius: 12px; overflow: hidden; height: 100%; }
  body.mse-grids .listing-second-view .listing-post figure > a img {
    height: 150px !important; min-height: 0 !important; width: 100% !important; object-fit: cover;
  }
  body.mse-grids .listing-second-view .listing-post figcaption .bottom-area { padding: 8px 10px !important; }
  body.mse-grids .listing-second-view .listing-post figcaption .listing-cats a { font-size: 11px !important; line-height: 1.2 !important; }
  body.mse-grids .listing-second-view .listing-post figcaption h4,
  body.mse-grids .listing-second-view .listing-post figcaption h4 a { font-size: 14px !important; line-height: 1.2 !important; margin: 2px 0 0 !important; }

  /* Claim / Promote / Convert: compact rows instead of three tall cards */
  body.mse-grids .listingpro-classic-promotional-section .listingpro-classic-box .row > .col-md-4 { padding: 0 !important; margin: 0 0 10px !important; }
  body.mse-grids .listingpro-classic-promotional-section .classic-box {
    display: grid !important; grid-template-columns: 48px 1fr; gap: 4px 14px; align-items: start;
    padding: 14px 16px !important; min-height: 0 !important; height: auto !important; margin: 0 !important; text-align: left !important;
    position: relative;
  }
  body.mse-grids .listingpro-classic-promotional-section .classic-promotional-box-counters {
    position: absolute !important; top: 10px !important; right: 14px !important; font-size: 26px !important; line-height: 1 !important;
  }
  body.mse-grids .listingpro-classic-promotional-section .classic-image { margin: 0 !important; }
  body.mse-grids .listingpro-classic-promotional-section .classic-image img { width: 44px !important; height: 44px !important; object-fit: contain; }
  body.mse-grids .listingpro-classic-promotional-section .classic-text h3 { font-size: 18px !important; margin: 0 0 4px !important; }
  body.mse-grids .listingpro-classic-promotional-section .classic-text p { font-size: 14px !important; line-height: 1.45 !important; margin: 0 0 6px !important; }
  body.mse-grids .listingpro-classic-promotional-section .classic-text a.classic-promotional-box-url { font-size: 14px !important; }
}
@media (min-width: 560px) and (max-width: 767px) {
  body.mse-grids ul.lp-home-categoires { grid-template-columns: repeat(5, minmax(0, 1fr)); }
  body.mse-grids .elementor-widget-listing-locations .lp-section-content-container.row,
  body.mse-grids .lp-section-content-container-style3,
  body.mse-grids .listing-second-view .listing-post > .row { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}

/* ── 5. spacing: no empty screens between sections on phones ─────────────────────────────────────────────────── */
/* Spacers are only shrunk while the grids module has put the category tiles back into flow (body.mse-grids):
   with the theme's floating tiles, a short spacer would let the next section slide under them. */
@media (max-width: 767px) {
  /* old: body.mse-spacing .elementor-spacer … (without mse-grids) — social icons overlapped the tiles */
  body.mse-spacing.mse-grids .elementor-spacer .elementor-spacer-inner { height: min(var(--spacer-size, 24px), 20px) !important; }
  body.mse-spacing .lp-section-row.margin-bottom-60 { margin-bottom: 18px !important; }
  body.mse-spacing .home-categories-area { padding-top: 16px !important; padding-bottom: 6px !important; margin: 0 !important; }
  body.mse-spacing .elementor-top-section > .elementor-container,
  body.mse-spacing .elementor-section.elementor-top-section { padding-top: 0 !important; }
  body.mse-spacing .elementor-section.elementor-top-section { padding-top: 14px !important; padding-bottom: 14px !important; margin-top: 0 !important; margin-bottom: 0 !important; }
  body.mse-spacing .elementor-widget-wrap { padding-top: 0 !important; padding-bottom: 0 !important; }
  body.mse-spacing .elementor-widget-heading .elementor-heading-title { margin-bottom: 0 !important; }
  body.mse-spacing .elementor-widget:not(:last-child) { margin-bottom: 12px !important; }
  body.mse-spacing .lp-section-title-container { margin-bottom: 14px !important; }
  body.mse-spacing .listingpro-classic-promotional-section { padding-top: 18px !important; padding-bottom: 10px !important; }
  body.mse-spacing footer.footer-style1 .footer-bottom-bar { padding: 18px 0 14px !important; }
}
@media (min-width: 768px) {
  /* old: min(var(--spacer-size, 50px), 60px) on body.mse-spacing alone */
  body.mse-spacing.mse-grids .elementor-spacer .elementor-spacer-inner { height: min(var(--spacer-size, 40px), 40px) !important; }
}

/* ── 6. one font everywhere (the same stack as Web Search Tools), icon fonts untouched ───────────────────────── */
body.mse-fonts,
body.mse-fonts :is(h1, h2, h3, h4, h5, h6, p, a, li, span, div, label, input, button, select, textarea, td, th,
  strong, b, em, small, figcaption, blockquote, dt, dd, legend, option):not(:is(i, [class^="fa"], [class*=" fa"],
  [class*="icon"], [class*="glyph"], .mega-indicator, .material-icons, .notranslate i, svg, svg *, code, pre, kbd)) {
  font-family: var(--mse-font) !important;
}
body.mse-fonts { font-size: 15px; line-height: 1.6; color: var(--mse-ink); -webkit-font-smoothing: antialiased; }
/* heading sizes use :where() so they stay low-specificity — the hero/card rules above must win (live test: the old
   :is() version out-ranked the hero h1 rule). Old: body.mse-fonts :is(h1, …):not(.mse-keep):not(.wst-app *) 24–40px */
body.mse-fonts :where(h1, .elementor-heading-title.elementor-size-xxl):not(.mse-keep, .wst-app *) {
  font-size: clamp(22px, 16px + 1.2vw, 34px) !important; line-height: 1.2 !important; letter-spacing: -.01em;
}
body.mse-fonts :where(h2, .elementor-heading-title.elementor-size-xl):not(.mse-keep, .wst-app *) {
  font-size: clamp(19px, 15.2px + .8vw, 28px) !important; line-height: 1.25 !important;
}
body.mse-fonts :where(h3):not(.mse-keep, .wst-app *) { font-size: clamp(17px, 15.2px + .35vw, 21px) !important; line-height: 1.3 !important; }
body.mse-fonts :where(h4):not(.mse-keep, .wst-app *) { font-size: clamp(15px, 14.4px + .2vw, 18px) !important; line-height: 1.35 !important; }
body.mse-fonts footer.footer-style1 .footer-about-company li {
  font-size: 13px !important; line-height: 1.55 !important; font-weight: 600 !important;
}
body.mse-fonts footer.footer-style1 .footer-about-company { margin: 0 0 10px !important; }
body.mse-fonts footer.footer-style1 .footer-social-icons li a { font-size: 18px !important; }
/* Web Search Tools keeps its own type scale, only the oversized hero title is brought in line with the main site
   (was clamp(30px, 5vw, 54px) in WST's app.css) */
body.mse-fonts .wst-app .wst-hero h1 { font-size: clamp(24px, 14px + 2.2vw, 42px) !important; line-height: 1.1 !important; }
body.mse-fonts .wst-app .wst-lead { font-size: clamp(15px, 13px + .4vw, 18px) !important; }

/* ── 7. floating boxes: smaller on phones so they never cover the content ────────────────────────────────────── */
@media (max-width: 767px) {
  body.mse-floats .jetpack-subscribe-floating-button .wp-block-jetpack-subscriptions { margin: 0 10px 12px !important; }
  body.mse-floats .jetpack-subscribe-floating-button button,
  body.mse-floats .jetpack-subscribe-floating-button .wp-block-button__link {
    padding: 8px 14px !important; font-size: 13px !important; line-height: 1.2 !important; min-height: 0 !important;
    border-radius: 999px !important; box-shadow: 0 6px 18px -8px rgba(20, 0, 46, .6);
  }
  body.mse-floats .jetpack-subscribe-floating-button p { margin: 0 !important; }
}

/* ── 8. sharper logo wherever the theme / Web Search Tools still shows the old one ───────────────────────────── */
body.mse-logo .lp-logo img.mse-logo-swapped { width: auto; max-height: 56px; border-radius: 10px; background: #ffffff; }
body.mse-logo img.wst-logo-img.mse-logo-swapped { background: #ffffff; object-fit: cover; }

/* ── 9. Web Search Tools: weather picks with filters, more on desktop, 2 per row on phones ─────────────────────── */
.mse-wx-bar { display: flex; flex-wrap: wrap; gap: 8px 14px; align-items: center; margin: 0 0 12px; }
.mse-wx-bar .mse-wx-group { display: flex; flex-wrap: wrap; gap: 6px; align-items: center; }
.mse-wx-bar .mse-wx-label { font-size: 12.5px; font-weight: 700; color: var(--mse-muted); text-transform: uppercase; letter-spacing: .06em; margin-right: 2px; }
.mse-wx-bar select.mse-wx-select {
  height: 32px; padding: 0 30px 0 12px; border-radius: 999px; border: 1px solid var(--mse-line); background-color: var(--mse-soft);
  color: var(--mse-deep); font: 600 13.5px/1 var(--mse-font); cursor: pointer;
}
.mse-wx-bar button.wst-chip { cursor: pointer; font-family: var(--mse-font); }
.mse-wx-bar button.wst-chip .mse-wx-dot { width: 10px; height: 10px; border-radius: 50%; display: inline-block; }
.mse-wx-more { display: flex; justify-content: center; margin: 14px 0 0; }
.mse-wx-more button {
  all: unset; cursor: pointer; padding: 9px 18px; border-radius: 999px; font: 700 14px/1 var(--mse-font);
  color: var(--mse-deep); box-shadow: inset 0 0 0 1.5px var(--mse-line); background: #ffffff;
}
.mse-wx-more button:hover, .mse-wx-more button:focus-visible { box-shadow: inset 0 0 0 1.5px var(--mse-brand); }
.mse-wx-empty { grid-column: 1 / -1; padding: 18px; border-radius: 12px; background: var(--mse-soft); color: var(--mse-muted); text-align: center; }
.wst-wcard .mse-wx-tag { align-self: flex-start; font-size: 11px; font-weight: 700; padding: 2px 8px; border-radius: 999px; background: var(--mse-soft); color: var(--mse-deep); }
@media (min-width: 1100px) {
  .mse-wx .wst-strip[data-wst-strip] { grid-template-columns: repeat(5, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .mse-wx .wst-strip[data-wst-strip] { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
  .mse-wx .wst-wcard { padding: 9px; gap: 3px; }
  .mse-wx .wst-wcard strong { font-size: 13.5px; line-height: 1.25; }
  .mse-wx .wst-wcard > span { font-size: 11.5px; line-height: 1.3; }
  .mse-wx .wst-wcard .wst-months { gap: 1px; margin-top: 4px; }
  .mse-wx .wst-wcard .wst-months span { height: 16px; font-size: 7.5px; border-radius: 3px; padding-bottom: 1px; }
  .mse-wx .wst-wcard .wst-months span.is-best::before { top: 2px; width: 4px; height: 4px; }
  .mse-wx-bar { gap: 6px; }
  .mse-wx-bar .mse-wx-group { flex-wrap: nowrap; overflow-x: auto; max-width: 100%; padding-bottom: 2px; scrollbar-width: none; }
  .mse-wx-bar .mse-wx-group::-webkit-scrollbar { display: none; }
  /* the three selects share one row (thirds) instead of scrolling — live test hid "Month" off-screen */
  .mse-wx-bar .mse-wx-group.mse-wx-selects {
    display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); width: 100%; overflow: visible; gap: 6px;
  }
  .mse-wx-bar .mse-wx-selects select.mse-wx-select { width: 100%; min-width: 0; padding: 0 22px 0 10px; font-size: 12.5px; text-overflow: ellipsis; }
  .mse-wx-bar .wst-chip { padding: 5px 10px; font-size: 12.5px; }
}

/* ── 10. Web Search Tools header: standard height on phones ───────────────────────────────────────────────────── */
/* WST's own phone CSS wraps the header to two rows (brand + tools, then Travel/About) = 85px in the live test.
   One 56px row instead: brand, the section pills (scroll sideways if ever too long), the settings button. */
@media (max-width: 640px) {
  /* old (unverified first draft): min-height 56px; padding 6px; logo 36px — WST still wrapped to two rows */
  body.mse-wst_header .wst-app .wst-header {
    flex-wrap: nowrap !important; height: 56px !important; min-height: 0 !important;
    padding: 0 10px !important; gap: 8px !important;
  }
  body.mse-wst_header .wst-app .wst-header a.wst-brand { flex: 0 1 auto !important; gap: 8px !important; min-width: 0; }
  body.mse-wst_header .wst-app .wst-header .wst-logo-img { width: 34px !important; height: 34px !important; }
  body.mse-wst_header .wst-app .wst-header .wst-brand-text strong { font-size: 14px !important; }
  body.mse-wst_header .wst-app .wst-header .wst-powered { font-size: 9px !important; letter-spacing: .04em; }
  body.mse-wst_header .wst-app .wst-header nav.wst-sections {
    order: 0 !important; flex: 1 1 auto !important; min-width: 0; margin: 0 !important; gap: 4px !important;
    justify-content: flex-end !important; overflow-x: auto; scrollbar-width: none;
  }
  body.mse-wst_header .wst-app .wst-header nav.wst-sections::-webkit-scrollbar { display: none; }
  body.mse-wst_header .wst-app .wst-header nav.wst-sections a { padding: 5px 10px !important; font-size: 12.5px !important; }
}
@media (max-width: 360px) {
  body.mse-wst_header .wst-app .wst-header .wst-powered { display: none !important; }
}

/* Article layout wins when both the older phone-grid module and the article module are enabled. */
body.mse-article_cards.mse-grids section.lp-blog-for-app-view .container > .row,
body.mse-article_cards.mse-grids .lp-section-content-container-style3 {
  display: grid !important; grid-template-columns: repeat(2, minmax(0, 1fr)) !important; gap: 14px !important;
}
body.mse-article_cards.mse-grids section.lp-blog-for-app-view .container > .row > div[id^="post-"],
body.mse-article_cards.mse-grids .lp-section-content-container-style3 > .lp-blog-style3 {
  width: auto !important; float: none !important; padding: 0 !important; margin: 0 !important;
}
body.mse-article_cards.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-container,
body.mse-article_cards.mse-grids .lp-blog-style3 .lp-blog-grid-box-container {
  display: flex !important; min-height: 174px !important; height: 100% !important; margin: 0 !important;
}
body.mse-article_cards.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-thumb,
body.mse-article_cards.mse-grids .lp-blog-style3 .lp-blog-grid-box-thumb {
  flex: 0 0 36% !important; width: 36% !important; max-width: 36% !important; height: auto !important; min-height: 174px !important;
}
body.mse-article_cards.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-thumb img,
body.mse-article_cards.mse-grids .lp-blog-style3 .lp-blog-grid-box-thumb img {
  width: 100% !important; height: 100% !important; min-height: 174px !important; aspect-ratio: auto !important; object-fit: cover !important;
}
body.mse-article_cards.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-description,
body.mse-article_cards.mse-grids .lp-blog-style3 .lp-blog-grid-box-description {
  flex: 1 1 auto; width: auto !important; min-height: 0 !important; padding: 14px 16px !important;
  text-align: left !important; display: flex; flex-direction: column; justify-content: center;
}
@media (max-width: 767px) {
  body.mse-article_cards.mse-grids section.lp-blog-for-app-view .container > .row,
  body.mse-article_cards.mse-grids .lp-section-content-container-style3 { grid-template-columns: minmax(0, 1fr) !important; gap: 10px !important; }
  body.mse-article_cards.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-container,
  body.mse-article_cards.mse-grids .lp-blog-style3 .lp-blog-grid-box-container { min-height: 142px !important; }
  body.mse-article_cards.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-thumb,
  body.mse-article_cards.mse-grids .lp-blog-style3 .lp-blog-grid-box-thumb {
    flex-basis: 35% !important; width: 35% !important; max-width: 35% !important; min-height: 142px !important;
  }
  body.mse-article_cards.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-thumb img,
  body.mse-article_cards.mse-grids .lp-blog-style3 .lp-blog-grid-box-thumb img { min-height: 142px !important; }
  body.mse-article_cards.mse-grids section.lp-blog-for-app-view .lp-blog-grid-box-description,
  body.mse-article_cards.mse-grids .lp-blog-style3 .lp-blog-grid-box-description { padding: 10px 12px !important; }
}
