/* Genius Logix theme fixes (loaded after kit.css) */

/* 1. Partner logo strips: the white pill and the full-colour logo now switch together,
      so there is no in-between frame where the pill is white and the logo is still white */
.glx .lg,.glx .plg{transition:opacity .2s,transform .4s var(--ease)}
.glx .lg img,.glx .plg img,.glx .lg b,.glx .plg b{transition:none}
.glx .lg:hover,.glx .lg:focus-visible,.glx .plg:hover,.glx .plg:focus-visible{background:#fff;opacity:1}
.glx .lg:hover img,.glx .lg:focus-visible img,.glx .plg:hover img,.glx .plg:focus-visible img{filter:none;opacity:1}
.glx .lg:hover b,.glx .lg:focus-visible b,.glx .plg:hover b,.glx .plg:focus-visible b{color:#0b1a20;opacity:1}
/* SimpleRisk's logo is red and dark grey: it needs the same white pill as the others to stay readable */
.glx .plg-5:hover,.glx .plg-5:active,.glx .lg-sr:hover,.glx .lg-sr:active{background:#fff}

/* 2. Main menu: only the menu under the mouse is open. A menu that kept keyboard/click focus
      closes as soon as the mouse moves to another menu, so two panels never overlap */
.gl-nav:hover li:not(:hover)>.gl-dd{opacity:0;visibility:hidden;transform:translate(-50%,8px);transition:none}
.gl-nav:hover li:not(:hover)>.gl-top{background:none;color:var(--gl-ink2)}
.gl-nav:hover li:not(:hover)>.gl-top svg{transform:none}
.gl-nav:hover li:not(:hover)>.gl-top[aria-current=page]{color:#fff;background:rgba(255,255,255,.06)}

/* 3. Blog FAQs */
.glx .art-faq{padding-top:0}
.glx .art-faq .faq{border-top:1px solid var(--line,rgba(255,255,255,.08));padding-top:72px}

/* 4. Blog tables: editors can set table width, column widths and a scroll height.
      Wide tables scroll sideways on phones instead of squashing */
.glx .prose .glx-tw{overflow-x:auto;-webkit-overflow-scrolling:touch;margin:28px 0;max-width:100%}
.glx .prose .glx-tw>table{margin:0}
.glx .prose figure.wp-block-table{overflow-x:auto;-webkit-overflow-scrolling:touch;max-width:100%;margin:28px 0;border:1px solid var(--line2);border-radius:16px}
.glx .prose .glx-tw{border:1px solid var(--line2);border-radius:16px}
.glx .prose figure.wp-block-table thead th{background:rgba(25,198,198,.08)}
.glx .prose figure.wp-block-table.glx-tmax thead th{background:#0a2027}
.glx .prose figure.wp-block-table>table{margin:0}
.glx .prose figure.wp-block-table.glx-tw-set{width:var(--glx-tw,100%)}
.glx .prose figure.wp-block-table.glx-tw-center{margin-left:auto;margin-right:auto}
.glx .prose figure.wp-block-table.glx-tw-set>table{width:100%}
.glx .prose figure.wp-block-table>table.has-fixed-layout{table-layout:fixed}
.glx .prose figure.wp-block-table.glx-tmax{max-height:var(--glx-th,480px);overflow:auto}
.glx .prose figure.wp-block-table.glx-tmax thead th{position:sticky;top:0;z-index:1}
.glx .prose figure.wp-block-table.glx-tcompact td,.glx .prose figure.wp-block-table.glx-tcompact th{padding-top:6px;padding-bottom:6px}
.glx .prose figure.wp-block-table figcaption{font-size:13px;opacity:.7;margin-top:8px}
@media (max-width:760px){
  .glx .prose figure.wp-block-table.glx-tw-set{width:100%}
  .glx .prose table{min-width:560px}
}

/* 5. "See where we can feature you": each card shows the publication's name until the team
      uploads the official logo in WordPress (Pages > Digital Growth Marketing > Images) */
.glx .lwall.wms .wm-logo[src*="/assets/img/press/logo-"]{display:none}
.glx .lwall.wms .wm-logo{display:block;max-width:78%;max-height:46px;width:auto;height:auto;object-fit:contain;filter:brightness(0) invert(1);opacity:.88}
/* uploaded logos turn white to sit on the dark cards, like the partner logo strips */
.glx .lwall.wms .lw-i:has(.wm-logo:not([src*="/assets/img/press/logo-"])) .wm-t{display:none}
