/* CreteMedia 2026-11 – logo without white rectangle, soft gradient in dark mode */
.cm-header .cm-brand, html[data-theme="dark"] .cm-header .cm-brand,
html[data-theme="dark"] .cm-header .cm-brand:where(:hover,:focus){
  position:relative!important;isolation:isolate!important;
  background:transparent!important;border:0!important;border-radius:0!important;
  box-shadow:none!important;padding:0!important;overflow:visible!important;
}
html[data-theme="dark"] .cm-header .cm-brand::before{
  content:"";position:absolute;z-index:-1;pointer-events:none;
  inset:-10px -18px;background:radial-gradient(ellipse at 38% 50%,rgba(107,188,196,.16) 0%,rgba(107,188,196,.07) 38%,transparent 75%);
  border:0;border-radius:0;
}
html[data-theme="dark"] .cm-header,html[data-theme="dark"] .site-header.cm-header,html[data-theme="dark"] .header.cm-header{
  background:linear-gradient(90deg,#1d1c24 0%,#16121b 29%,#141118 100%)!important;
}
.cm-header .cm-brand img.cm-logo-selected,
html[data-theme="dark"] .cm-header .cm-brand img.cm-logo-selected,
.cm-header .cm-brand img.cm-logo-night{
  width:100%!important;height:auto!important;max-height:64px!important;object-fit:contain!important;
  object-position:left center!important;background:transparent!important;padding:0!important;border:0!important;
  border-radius:0!important;box-shadow:none!important;content:normal!important;
}
html:not([data-theme="dark"]) .cm-header .cm-brand img.cm-logo-selected{display:block!important}
html:not([data-theme="dark"]) .cm-header .cm-brand img.cm-logo-night{display:none!important}
html[data-theme="dark"] .cm-header .cm-brand img.cm-logo-selected{display:none!important}
html[data-theme="dark"] .cm-header .cm-brand img.cm-logo-night{display:block!important}
@media(max-width:700px){.cm-header .cm-brand img.cm-logo-night{max-height:55px!important}}
