/* ------------------------------------------------------------------
   Creator's Hub — vlastní úpravy vzhledu

   Přeneseno 1:1 z nastavení Code injection, kde se to načítalo inline
   do každé stránky a prohlížeč to nemohl cachovat. Pořadí bloků je
   zachované. Soubor se linkuje až za marsa.min.css, takže specificita
   a přepisy fungují stejně jako předtím.

   Nové úpravy patří sem, ne zpátky do Code injection.
   ------------------------------------------------------------------ */

/* === CreatorsHub menu polish === */
[data-color-scheme="Midnight Luxury"]{
  --color-header-banner-text:#D9FE53 !important;
  --color-site-accent:#D9FE53 !important;
}

.c-header-menu__tags-grid{
  background-color:rgba(255,255,255,0.04) !important;
}

.c-header-menu__tag-link{
  transition: transform .25s cubic-bezier(.2,.7,.2,1), box-shadow .25s ease, background-color .25s ease, color .2s ease !important;
  border-radius: 14px !important;
  overflow: hidden !important;
  position: relative !important;
  isolation: isolate;
}

.c-header-menu__tag-link:not(:has(.c-header-menu__tag-image)){
  background-color:rgba(255,255,255,0.035) !important;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08) !important;
}

.c-header-menu__tag-image-wrapper{
  display: block;
  overflow: hidden;
  border-radius: 12px;
}

.c-header-menu__tag-image{
  transition: transform .5s cubic-bezier(.2,.7,.2,1), filter .35s ease !important;
  will-change: transform;
}

.c-header-menu__tag-link:hover .c-header-menu__tag-image,
.c-header-menu__tag-link:focus-visible .c-header-menu__tag-image{
  transform: scale(1.06);
  filter: saturate(1.15) brightness(1.04);
}

.c-header-menu__tag-link:is(:hover,:focus-visible){
  transform: translateY(-2px) !important;
  background-color: color-mix(in srgb, var(--color-tag-accent, #D9FE53) 8%, transparent) !important;
  box-shadow:
    inset 0 0 0 1.5px var(--color-tag-accent, #D9FE53),
    0 10px 28px -10px color-mix(in srgb, var(--color-tag-accent, #D9FE53) 45%, transparent),
    0 0 0 5px color-mix(in srgb, var(--color-tag-accent, #D9FE53) 8%, transparent) !important;
}

.c-header-menu__tag-link:hover .c-header-menu__tag-name,
.c-header-menu__tag-link:focus-visible .c-header-menu__tag-name{
  color: var(--color-tag-accent, #D9FE53) !important;
}

.c-header-menu__tag-name{
  transition: color .2s ease;
}

.c-header-menu__tag-count{
  opacity: .55 !important;
  font-weight: 400 !important;
  margin-left: .25em;
}

@media (prefers-reduced-motion: reduce){
  .c-header-menu__tag-link,
  .c-header-menu__tag-image{ transition: none !important; }
  .c-header-menu__tag-link:hover{ transform: none !important; }
  .c-header-menu__tag-link:hover .c-header-menu__tag-image{ transform: none !important; }
}
/* Hide Ghost & Marsa attribution in footer */
.c-site-footer__bottom-credits, .c-site-footer__credits, footer .credits,
footer a[href*="ghost.org"], footer a[href*="aspirethemes.com"] { display: none !important; }
/* If theme uses inline "Published with" text */
footer p:has(a[href*="ghost.org"]) { display: none !important; }
/* === FOOTER CLEANUP v2 === */
.c-footer__copy span { display: none !important; }
.c-footer-social { min-height: 1em; }
.c-footer-social a[data-ch-linkedin] {
  display: inline-flex; align-items: center;
  color: inherit; opacity: 0.7; transition: opacity .2s;
}
.c-footer-social a[data-ch-linkedin]:hover { opacity: 1; color: #D9FE53; }
/* hide page TOC */
body.page-template .c-table-of-contents { display: none !important; }
/* === Report page styles === */
.page-report .ch-pull {
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.25;
  letter-spacing: -0.01em;
  margin: 2.5rem 0;
  padding: 1.5rem 1.5rem 1.5rem 2rem;
  border-left: 4px solid #D9FE53;
  background: rgba(217, 254, 83, 0.06);
}
.page-report .ch-pull cite {
  display: block;
  margin-top: 0.75rem;
  font-size: 0.85rem;
  font-weight: 500;
  font-style: normal;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.7;
}
.page-report .ch-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 2.5rem 0;
}
.page-report .ch-stat {
  padding: 1.5rem;
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 8px;
  background: rgba(255,255,255,0.02);
}
.page-report .ch-stat__number {
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #D9FE53;
  line-height: 1.1;
  display: block;
}
.page-report .ch-stat__label {
  margin-top: 0.5rem;
  font-size: 0.95rem;
  line-height: 1.4;
}
.page-report .ch-stat__source {
  margin-top: 0.75rem;
  font-size: 0.78rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  opacity: 0.55;
}
.page-report .ch-quote-box {
  margin: 2.5rem 0;
  padding: 1.75rem 2rem;
  background: rgba(255,255,255,0.04);
  border-radius: 8px;
}
.page-report .ch-quote-box p { margin: 0 0 0.75rem 0; }
.page-report .ch-quote-box p:last-child { margin-bottom: 0; }
.page-report .ch-quote-box cite {
  display: block;
  margin-top: 1rem;
  font-style: normal;
  font-weight: 600;
  font-size: 0.9rem;
}
.page-report .ch-quote-box cite span { display: block; opacity: 0.6; font-weight: 400; font-size: 0.85rem; margin-top: 0.15rem; }
.page-report .ch-section-label {
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  opacity: 0.6;
  margin-bottom: 0.5rem;
  display: block;
}
/* CH_NEWSLETTERS_GRID */.c-newsletters__cards{grid-template-columns:repeat(2,1fr) !important;gap:1rem !important;}.c-newsletters__card{height:100%;}.c-newsletters__card-label{height:100%;display:flex;}@media (max-width:639px){.c-newsletters__cards{grid-template-columns:1fr !important;}}/* /CH_NEWSLETTERS_GRID */
/* === About page top spacing === */
.page-about .c-post__inner { padding-top: 4rem; }
@media (max-width: 639px){ .page-about .c-post__inner { padding-top: 2.5rem; } }
/* CH_ACCENT_PIN — keep website accent green even when Ghost accent_color is set to black for email contrast */
:root { --ghost-accent-color: #D9FE53 !important; }
[data-color-scheme] { --ghost-accent-color: #D9FE53 !important; }
/* CH_TOC_HEADING_HIDE */
.c-table-of-contents__heading { display: none !important; }
/* CH_MENU_BG_BLACK */
/* Force black background on header menu pill and expanded menu panel */
.c-header,
.c-header__inner,
.c-header-menu {
  background-color: #0D0F10 !important;
}
.c-header--sticky.is-scrolled,
.c-header--sticky.is-scrolled .c-header__inner,
body.menu-is-open .c-header--sticky,
body.menu-is-open .c-header--sticky .c-header__inner {
  background-color: #0D0F10 !important;
}
/* /CH_MENU_BG_BLACK */
/* Big hero logo on homepage at top of page */
.c-header--home .ch-hero-logo{display:none;}
.c-header--home:not(.is-scrolled):not(.is-menu-open) .ch-hero-logo{
  display:block;
  width:min(580px, 40vw);
  height:auto;
  margin:0 auto;
}
.c-header--home:not(.is-scrolled):not(.is-menu-open) .c-logo__text{display:none;}
.c-header--home:not(.is-scrolled):not(.is-menu-open) .c-logo__link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
}

/* Switch header to full-width black bar at top of homepage */
.c-header--home:not(.is-scrolled):not(.is-menu-open) .o-grid{
  max-width:none !important;
  width:100% !important;
  padding-left:0 !important;
  padding-right:0 !important;
  margin:0 !important;
}
.c-header--home:not(.is-scrolled):not(.is-menu-open) .c-header__inner{
  display:flex !important;
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
  padding:9rem 1.5rem 8rem !important;
  border-radius:0 !important;
  border:0 !important;
  background:#0D0F10 !important;
  position:relative;
  justify-content:center !important;
  align-items:center !important;
  min-height:370px;
}
.c-header--home:not(.is-scrolled):not(.is-menu-open) .c-logo{
  flex:0 0 auto;
}
.c-header--home:not(.is-scrolled):not(.is-menu-open) .c-menu-wrap{
  position:absolute;
  top:5.5rem;
  right:7rem;
  transform:none;
}
.c-header--home:not(.is-scrolled):not(.is-menu-open){
  padding:0 !important;
}

@media (max-width: 1023px){
  .c-header--home:not(.is-scrolled):not(.is-menu-open) .ch-hero-logo{width:94vw;max-width:none !important;}
  .c-header--home:not(.is-scrolled):not(.is-menu-open) .c-header__inner{
    flex-direction:column-reverse !important;
    padding:1.25rem 3vw 2.5rem !important;
    min-height:0 !important;
    gap:1.5rem;
  }
  .c-header--home:not(.is-scrolled):not(.is-menu-open) .c-menu-wrap{
    position:static !important;
    transform:none !important;
    align-self:flex-end;
  }
}
/* CH_NEWSLETTER_FOOTER_GAP */
/* Gap between newsletter and footer matches the section-to-section spacing on home (block-space-base = space-1200 = 96px) */
.c-block--newsletters { padding-bottom: var(--space-600) !important; }
.c-footer { padding-top: var(--space-600) !important; }
/* /CH_NEWSLETTER_FOOTER_GAP */
/* CH_HERO_TRANSITION */
/* Home page header: full-width black bar, fixed position so size transitions don't shift content. */

/* Fixed header — removes scroll content shift caused by sticky height change. */
.c-header--home {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  right: 0 !important;
  z-index: 100 !important;
}

/* Spacer below fixed header — matches MAX hero height, never transitions. */
body.home-template {
  padding-top: 380px;
}
@media (max-width: 1023px) {
  body.home-template {
    padding-top: 220px;
  }
}

/* Full-width black bar in BOTH states */
.c-header--home .o-grid {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
  transition: none !important;
}
.c-header--home .c-header__inner {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: #0D0F10 !important;
  position: relative !important;
  justify-content: center !important;
  align-items: center !important;
  transition:
    padding 320ms cubic-bezier(0.4, 0, 0.2, 1),
    min-height 320ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}

/* Hero state: tall bar */
.c-header--home:not(.is-scrolled):not(.is-menu-open) .c-header__inner {
  padding: 6rem 1.5rem 5rem !important;
  min-height: 380px !important;
}

/* Scrolled state: slim bar */
.c-header--home.is-scrolled .c-header__inner {
  padding: 1.75rem 1.5rem !important;
  min-height: 120px !important;
}

/* SVG width animates between states. The vw-pulse-during-resize problem
   is solved separately via body.is-resizing (see bottom of this block). */
.c-header--home .ch-hero-logo {
  display: block !important;
  width: min(820px, 55vw);
  height: auto;
  margin: 0 auto !important;
  max-height: none !important;
  max-width: none !important;
  opacity: 1 !important;
  overflow: visible !important;
  transition: width 320ms cubic-bezier(0.4, 0, 0.2, 1) !important;
}
.c-header--home.is-scrolled .ch-hero-logo {
  width: min(380px, 28vw) !important;
}

/* Text logo: hidden on home */
.c-header--home .c-logo__text,
.c-header--home.is-scrolled .c-logo__text {
  display: none !important;
  animation: none !important;
  opacity: 0 !important;
}

/* Menu wrap */
.c-header--home .c-menu-wrap {
  position: absolute !important;
  right: 2.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
  transition: top 320ms ease, right 320ms ease, transform 320ms ease !important;
}
.c-header--home:not(.is-scrolled):not(.is-menu-open) .c-menu-wrap {
  top: 3rem !important;
  right: 4rem !important;
  transform: none !important;
}

@media (max-width: 1023px) {
  .c-header--home:not(.is-scrolled):not(.is-menu-open) .ch-hero-logo {
    width: 90vw !important;
  }
  .c-header--home.is-scrolled .ch-hero-logo {
    width: 50vw !important;
  }
  .c-header--home:not(.is-scrolled):not(.is-menu-open) .c-header__inner {
    padding: 2rem 3vw 2rem !important;
    min-height: 0 !important;
  }
  .c-header--home.is-scrolled .c-header__inner {
    padding: 1rem 1rem !important;
    min-height: 80px !important;
  }
  .c-header--home:not(.is-scrolled):not(.is-menu-open) .c-menu-wrap {
    top: 1.5rem !important;
    right: 1rem !important;
  }
  .c-header--home.is-scrolled .c-menu-wrap {
    right: 1rem !important;
  }
}

/* Disable header transitions during window resize.
   Without this, vw-based widths get re-evaluated every resize tick and the
   transition tries to animate to the moving target, causing visible pulsing. */
body.is-resizing .c-header,
body.is-resizing .c-header *,
body.is-resizing .c-header--home,
body.is-resizing .c-header--home *,
body.is-resizing .ch-hero-logo {
  transition: none !important;
}
/* /CH_HERO_TRANSITION */
:root {
    --gh-font-heading: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --gh-font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-family-sans-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --font-family-serif: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
  }
  body, input, textarea, select, button {
    font-family: var(--gh-font-body) !important;
  }
  h1, h2, h3, h4, h5, h6,
  .c-block__headline-title,
  .c-block__headline-title--small,
  .c-block--banner__title,
  .c-block--tag-section__title,
  .c-block--newsletters .c-block__headline-title,
  .u-font-heading {
    font-family: var(--gh-font-heading) !important;
  }
/* CH_TAG_TITLE_BLACK */
/* Section title on tag-section colored cards is always black */
.c-block--tag-section__content .c-block--tag-section__title,
.c-block--tag-section__content .c-block--tag-section__title-link,
.c-block--tag-section__content.js-contrast .c-block--tag-section__title,
.c-block--tag-section__content.js-contrast .c-block--tag-section__title-link {
  color: #0D0F10 !important;
}
/* /CH_TAG_TITLE_BLACK */
/* CH_SUBPAGE_HEADER */
/* Subpage header mirrors home-scrolled state: full-width black bar, centered logo, slim height, no pill outline */
.c-header:not(.c-header--home) .o-grid {
  max-width: none !important;
  width: 100% !important;
  padding-left: 0 !important;
  padding-right: 0 !important;
  margin: 0 !important;
}
.c-header:not(.c-header--home) {
  padding: 0 !important;
  background: #0D0F10 !important;
}
.c-header:not(.c-header--home) .c-header__inner {
  display: flex !important;
  width: 100% !important;
  max-width: none !important;
  margin: 0 !important;
  border-radius: 0 !important;
  border: 0 !important;
  background: #0D0F10 !important;
  position: relative !important;
  justify-content: center !important;
  align-items: center !important;
  padding: 1.75rem 1.5rem !important;
  min-height: 120px !important;
}
.c-header:not(.c-header--home) .c-logo {
  flex: 0 0 auto;
}
.c-header:not(.c-header--home) .c-logo__link,
.c-header:not(.c-header--home) .c-logo__text {
  color: #fff !important;
  text-decoration: none !important;
}
.c-header:not(.c-header--home) .c-menu-wrap {
  position: absolute !important;
  right: 2.5rem !important;
  top: 50% !important;
  transform: translateY(-50%) !important;
}
@media (max-width: 1023px) {
  .c-header:not(.c-header--home) .c-header__inner {
    padding: 1rem 1rem !important;
    min-height: 80px !important;
  }
  .c-header:not(.c-header--home) .c-menu-wrap {
    right: 1rem !important;
  }
}
/* /CH_SUBPAGE_HEADER */
/* Full-viewport menu overlay — no internal scroll, all tags visible */
body.menu-is-open{overflow:hidden;}
body.menu-is-open .c-header-menu{
  position:fixed !important;
  top:0 !important;
  left:0 !important;
  right:0 !important;
  bottom:0 !important;
  width:100vw !important;
  height:100vh !important;
  height:100dvh !important;
  max-height:none !important;
  margin:0 !important;
  padding:6rem 3vw 2rem !important;
  background:#0D0F10 !important;
  z-index:9000 !important;
  overflow:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}
body.menu-is-open .c-header-menu__content{
  display:flex !important;
  flex-direction:column !important;
  flex:1 1 auto !important;
  min-height:0 !important;
  gap:2rem;
  overflow:hidden !important;
}
body.menu-is-open .c-header-menu__section:has(.c-header-menu__tags-wrapper){
  flex:1 1 auto !important;
  min-height:0 !important;
  display:flex;
}
body.menu-is-open .c-header-menu__tags-wrapper,
body.menu-is-open .c-header-menu__tags-container,
body.menu-is-open .c-header-menu__tags-grid{
  flex:1 1 0 !important;
  min-height:0 !important;
  max-height:none !important;
  width:100% !important;
  overflow:hidden !important;
  overflow-y:hidden !important;
  display:flex !important;
  flex-direction:column !important;
}
body.menu-is-open .c-header-menu__tags-grid > .o-grid{
  flex:1 1 0 !important;
  min-height:0 !important;
  height:100% !important;
  grid-auto-rows:1fr !important;
  grid-template-rows:repeat(3, 1fr) !important;
  align-content:stretch !important;
}
body.menu-is-open .c-header-menu__tag-link{
  min-height:0 !important;
  height:100% !important;
  display:flex !important;
  flex-direction:column !important;
  padding:0 !important;
}
body.menu-is-open .c-header-menu__tag-image-wrapper{
  flex:1 1 auto !important;
  min-height:0 !important;
  display:block !important;
}
body.menu-is-open .c-header-menu__tag-image{
  width:100% !important;
  height:100% !important;
  object-fit:cover !important;
}
body.menu-is-open .c-header-menu__tag-name{
  display:flex !important;
  flex-direction:column !important;
  align-items:center !important;
  text-align:center !important;
  line-height:1.2;
  padding:.5rem .75rem !important;
  gap:.15rem;
}
body.menu-is-open .c-header-menu__tag-count{
  display:block !important;
  margin-left:0 !important;
  font-size:.78em !important;
  opacity:.55;
  text-align:center !important;
}

/* Remove focus frame on the menu hamburger button */
.c-menu-toggle,
.c-menu-toggle:focus,
.c-menu-toggle:focus-visible,
.c-menu-toggle:active{
  outline:none !important;
  box-shadow:none !important;
  border:0 !important;
}

@media (max-width: 1023px){
  body.menu-is-open .c-header-menu{padding:4.5rem 3vw 1.5rem !important;}
  body.menu-is-open .c-header-menu__tags-grid > .o-grid{
    grid-template-columns:repeat(2, 1fr) !important;
    gap:.5rem !important;
  }
  body.menu-is-open .c-header-menu__tag-name{
    padding:.15rem .5rem .35rem !important;
  }
}
@media (max-width: 639px){
  body.menu-is-open .c-header-menu{padding:4rem 3vw 1rem !important;}
  body.menu-is-open .c-header-menu__content{gap:1rem;}
  body.menu-is-open .c-header-menu__tag-name{font-size:.85rem !important;padding:.1rem .4rem .3rem !important;}
  body.menu-is-open .c-header-menu__tag-count{font-size:.72em !important;}
}
@media (max-width: 480px){
  body.menu-is-open .c-header-menu__tag-image-wrapper{display:none !important;}
  body.menu-is-open .c-header-menu__tag-link{
    align-items:center !important;
    justify-content:center !important;
    padding:.5rem .75rem !important;
    background:rgba(255,255,255,0.04) !important;
    border-radius:10px !important;
  }
  body.menu-is-open .c-header-menu__tag-name{
    width:100% !important;
    padding:0 !important;
    align-items:center !important;
    text-align:center !important;
  }
}
/* CH_MENU_POLISH */
/* Hide raw "Creator'sHub" anchor text fallback that flashes before SVG injection */
.c-header .c-logo__link {
  color: transparent !important;
  font-size: 0 !important;
  line-height: 0 !important;
}
.c-header .c-logo__link .ch-hero-logo {
  font-size: initial;
  line-height: normal;
}

/* When menu is open: keep the toggle button compact (no "MENU" label expansion) so X aligns
   with the original burger position; native :is-active morphs the two spans into an X */
body.menu-is-open .c-menu-toggle {
  width: var(--menu-toggle-size) !important;
}
body.menu-is-open .c-menu-toggle__label {
  display: none !important;
  opacity: 0 !important;
}

/* Menu overlay (.c-header-menu) is a sibling of .c-header__inner inside header — at z-index 9000
   it would otherwise paint over the X. Lift the menu-wrap (and search) above the overlay. */
body.menu-is-open .c-menu-wrap {
  z-index: 10000 !important;
}
body.menu-is-open .c-menu-toggle {
  position: relative !important;
  z-index: 10001 !important;
}

/* Float the header above the open menu overlay so the X (and search) stay clickable at the original spot */
body.menu-is-open .c-header {
  z-index: 9500 !important;
  position: relative !important;
}
body.menu-is-open .c-header,
body.menu-is-open .c-header .c-header__inner {
  background: transparent !important;
}

/* On HP at top-of-page: freeze hero header layout while menu is open so the X stays exactly where MENU was */
.c-header--home.is-menu-open:not(.is-scrolled) {
  padding: 0 !important;
}
.c-header--home.is-menu-open:not(.is-scrolled) .c-header__inner {
  padding: 6rem 1.5rem 5rem !important;
  min-height: 380px !important;
}
.c-header--home.is-menu-open:not(.is-scrolled) .c-menu-wrap {
  top: 3rem !important;
  right: 4rem !important;
  transform: none !important;
}
.c-header--home.is-menu-open:not(.is-scrolled) .ch-hero-logo {
  width: min(820px, 55vw) !important;
}
@media (max-width: 1023px) {
  .c-header--home.is-menu-open:not(.is-scrolled) .c-header__inner {
    flex-direction: column-reverse !important;
    padding: 2rem 3vw 2rem !important;
    min-height: 0 !important;
    gap: 1.5rem;
  }
  .c-header--home.is-menu-open:not(.is-scrolled) .c-menu-wrap {
    position: static !important;
    transform: none !important;
    align-self: flex-end !important;
    top: auto !important;
    right: auto !important;
  }
}

/* Menu nav items: bump up to match the site's heading-ish scale, consistent typography */
.c-header-menu__nav li a {
  font-size: clamp(18px, 1.6vw, 22px) !important;
  font-weight: 500 !important;
  font-family: var(--gh-font-heading, var(--font-family-sans-serif)) !important;
  letter-spacing: 0.01em !important;
  line-height: 1.4 !important;
}
.c-header-menu__nav ul {
  row-gap: var(--space-200) !important;
  column-gap: var(--space-400) !important;
}
@media (max-width: 639px) {
  .c-header-menu__nav li a {
    font-size: 16px !important;
  }
  .c-header-menu__nav ul {
    column-gap: var(--space-200) !important;
    row-gap: var(--space-100) !important;
  }
}
/* /CH_MENU_POLISH */
/* CH_SUBPAGE_LOGO */
/* SVG hero logo sized for the slim subpage header (matches HP scrolled state) */
.c-header:not(.c-header--home) .ch-hero-logo {
  display: block;
  width: min(220px, 42vw);
  height: auto;
}
.c-header:not(.c-header--home) .c-logo__link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.c-header:not(.c-header--home) .c-logo__text {
  display: none !important;
}
@media (max-width: 640px) {
  .c-header:not(.c-header--home) .ch-hero-logo { width: min(180px, 50vw); }
}
/* /CH_SUBPAGE_LOGO */
/* CH_BG_OVERRIDE */
[data-color-scheme="Midnight Luxury"] {
  --color-site-background: #0D0F10 !important;
}
body, html { background-color: #0D0F10; }
/* /CH_BG_OVERRIDE */
/* CH_MENU_FIX */
/* When the dropdown menu is open, keep the close (X) button and search icon
   visible at top-right of the viewport. Without this they fall to the middle
   of the menu overlay because the original :not(.is-menu-open) rule disables
   the top-right positioning. */
body.menu-is-open .c-menu-wrap {
  position: fixed !important;
  top: 3rem !important;
  right: 4rem !important;
  transform: none !important;
  z-index: 9100 !important;
}

@media (max-width: 1023px) {
  body.menu-is-open .c-menu-wrap {
    top: 1.5rem !important;
    right: 1.5rem !important;
  }
}
/* /CH_MENU_FIX */