/* ==========================================================================
   WinQuest header mega-menu (rendered by [winquest_*_menu] shortcodes inside
   the ElementsKit mega-menu panels). ElementsKit provides the dropdown panel +
   hover; this only styles the inner emoji column grid. Pink brand theme.
   ========================================================================== */
/* My dropdown is a CONCISE white card sized to its content (no oversized white
   panel + no white-on-white) — the ElementsKit panel is forced transparent below
   so only this card shows. */
.wq-mmenu{
  font-family:"Poppins","Montserrat",system-ui,sans-serif; color:#5c1d35;
  background:#fff !important;
  max-width:1180px; margin:24px auto 0;   /* drop further below the trigger row */
  padding:14px 18px;
  border-radius:14px;
  box-shadow:0 18px 50px rgba(11,18,32,.18) !important;
  box-sizing:border-box;
}
/* ElementsKit dropdown panel: transparent + no chrome, so my concise white
   card (.wq-mmenu) is the only visible panel — kills the oversized white box
   and the white-on-white. Also push the whole panel down a bit so it stops
   visually covering the menu headings above it. */
.elementskit-megamenu-panel,
.elementskit-dropdown-menu,
.ekit-dropdown-list,
.elementskit-menu-container .elementskit-megamenu-wraper,
li.elementskit-megamenu-has > .elementskit-megamenu-panel{
  background:transparent !important; box-shadow:none !important; border:0 !important;
  margin-top:16px !important;
}

/* Category column grid — wraps onto multiple rows, scrolls if very tall. */
.wq-mmenu__grid{
  display:grid;
  grid-template-columns:repeat(auto-fill,minmax(190px,1fr));
  align-content:start;
  gap:4px 18px;
  padding:6px 10px 10px;
  max-height:min(76vh,620px);
  overflow-y:auto;
}
.wq-mmenu--group .wq-mmenu__grid{ grid-template-columns:repeat(auto-fill,minmax(200px,1fr)); }

.wq-mcol{ padding:2px 6px; min-width:0; }
.wq-mcol__head{
  font-family:"Poppins","Montserrat",system-ui,sans-serif;
  font-size:.64rem; font-weight:700; letter-spacing:.12em; text-transform:uppercase;
  padding-bottom:7px; margin-bottom:4px; border-bottom:1px solid #e7e7ef;
}
.wq-mcol__head a{ color:#ff1f59; text-decoration:none; }
.wq-mcol__head a:hover{ color:#d41448; }

.wq-mcol ul{ list-style:none; margin:0; padding:0; }
.wq-mcol ul li{ margin:0; }
.wq-mcol ul a,
.wq-mmenu__items a{
  display:flex; align-items:center; gap:7px;
  font-size:.82rem; font-weight:400; color:#5c1d35; text-decoration:none;
  padding:5px 0; line-height:1.35; transition:color .15s, padding-left .15s;
}
.wq-mcol ul a:hover,
.wq-mmenu__items a:hover{ color:#ff1f59; padding-left:5px; }
.wq-mcol__ic{ display:inline-block; width:1.25em; text-align:center; flex-shrink:0; }
.wq-mcol__more{ color:#ff1f59 !important; font-weight:600 !important; }
.wq-mcol__more:hover{ color:#d41448 !important; }

/* Curated flat lists (Free Classes / Events & Workshops). */
.wq-mmenu--list{ padding:4px 4px 0; }
.wq-mmenu__items{
  display:grid; grid-template-columns:repeat(auto-fill,minmax(210px,1fr));
  gap:0 18px; padding:2px 8px 6px;
}

/* Footer link bar. */
.wq-mmenu__foot{
  margin-top:14px; padding:12px 14px 2px; border-top:1px solid #e7e7ef;
  display:flex; align-items:center; gap:24px; flex-wrap:wrap;
}
.wq-mmenu__foot a{
  font-family:"Poppins","Montserrat",system-ui,sans-serif;
  font-size:.78rem; font-weight:600; color:#ff1f59; text-decoration:none;
  display:inline-flex; align-items:center; gap:4px; transition:opacity .15s;
}
.wq-mmenu__foot a:hover{ opacity:.75; text-decoration:underline; }

@media (max-width:782px){
  .wq-mmenu__grid,.wq-mmenu__items{ grid-template-columns:1fr 1fr; max-height:60vh; }
}

/* Constrain + centre the dropdown so it doesn't sprawl or overflow the right
   edge. Set each ElementsKit panel to FULL WIDTH and these centre the content
   as a tidy block (courses/group wide; free/events narrow). */
/* Curated lists (Free / Events) — concise card, 2 columns. */
.wq-mmenu--list{ max-width:540px !important; }
.wq-mmenu--list .wq-mmenu__items{ margin:0 auto !important; grid-template-columns:repeat(2,minmax(0,1fr)) !important; }

/* Globe = country/region selector — concise card. */
.wq-mmenu--globe{ max-width:580px !important; }
.wq-mmenu--globe .wq-globe__grid{ margin:0 auto !important; }
.wq-globe__grid{ display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:4px 14px; padding:2px 8px 6px; }
.wq-globe__item{ display:flex; align-items:center; gap:9px; padding:8px 11px; border-radius:9px; text-decoration:none; color:#5c1d35; font-size:.86rem; font-weight:500; transition:background .15s,color .15s; }
.wq-globe__item:hover{ background:rgba(255,31,89,.07); color:#ff1f59; }
.wq-globe__item.is-active{ background:rgba(255,31,89,.10); color:#ff1f59; font-weight:700; }
.wq-globe__flag{ font-size:1.25rem; line-height:1; }
.wq-globe__name{ flex:1; }
.wq-globe__cur{ color:#64748b; font-weight:700; font-size:.85rem; }
.wq-globe__item.is-active .wq-globe__cur{ color:#ff1f59; }

/* ── Site-wide text crispness — the mixed Inter/Lexend/Helvetica fonts were
   rendering hazy; antialias + legibility hints sharpen everything (menus,
   headings, body). ─────────────────────────────────────────────────────── */
html, body, .ekit-nav-menu, .elementor, .wq-mmenu{
  -webkit-font-smoothing:antialiased !important;
  -moz-osx-font-smoothing:grayscale !important;
  text-rendering:optimizeLegibility !important;
}
