/* Limited to the Gossipblog header. No post, gallery, or affiliate selectors. */
#headerfix .logo.mg-editorial-ready {
  position: relative;
  left: 50%;
  transform: translateX(-50%);
  width: var(--mg-editorial-page-width, 100vw) !important;
  max-width: none !important;
  margin: 0 !important;
  height: auto !important;
}
#headerfix .logo.mg-editorial-ready a.mg-editorial-link {
  display: block !important;
  position: relative !important;
  isolation: isolate;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 2172 / 724;
  overflow: hidden;
  background: #fffdfb;
  line-height: 0;
}
#headerfix .mg-editorial-scene,
#headerfix .mg-editorial-type,
#headerfix .mg-editorial-type picture {
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}
#headerfix .mg-editorial-scene img,
#headerfix .mg-editorial-type img {
  position: absolute;
  inset: 0;
  display: block;
  width: 100% !important;
  max-width: none !important;
  height: 100% !important;
  object-fit: cover;
}
#headerfix .mg-editorial-type {
  pointer-events: none;
  animation: mgEditorialBreathe 12s ease-in-out infinite;
}
#headerfix .mg-editorial-pearl {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(100deg, transparent 31%, rgba(255,255,255,.46) 48%, transparent 59%);
  background-size: 330% 100%;
  -webkit-mask: url("manhattan-girl-fashion-desktop-title-mask.png") center / 100% 100% no-repeat;
  mask: url("manhattan-girl-fashion-desktop-title-mask.png") center / 100% 100% no-repeat;
  animation: mgEditorialPearl 18s ease-in-out infinite;
}
#headerfix .mg-editorial-road {
  position: relative;
  display: block;
  height: 38px;
  overflow: visible;
  background: #fffdfb;
  pointer-events: none;
}
#headerfix .mg-editorial-road::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 32px;
  height: 1px;
  background: #bea28c;
}
#headerfix .mg-editorial-cab {
  --mg-editorial-cab-width: min(9.5%, 120px);
  position: absolute;
  z-index: 1;
  left: 0;
  bottom: 0;
  display: block;
  width: var(--mg-editorial-cab-width);
  max-width: none;
  height: auto;
  animation: mgEditorialDrive 17s linear -5s infinite;
}
#headerfix .mg-editorial-mobile-nav {
  display: none;
}
@keyframes mgEditorialBreathe {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-1.25px); }
}
@keyframes mgEditorialDrive {
  0% { left: 0; opacity: 0; }
  4%, 88% { opacity: 1; }
  96%, 100% { left: calc(100% - var(--mg-editorial-cab-width)); opacity: 0; }
}
@keyframes mgEditorialPearl {
  0%, 17% { background-position: 112% 0; opacity: 0; }
  22% { opacity: .44; }
  41% { background-position: -40% 0; opacity: .44; }
  46%, 100% { background-position: -40% 0; opacity: 0; }
}
@media (max-width: 992px) {
  #headerfix.mg-editorial-nav-ready .nav__primary {
    display: none !important;
  }
  #headerfix.mg-editorial-nav-ready .menu-button {
    display: none !important;
  }
  #headerfix.mg-editorial-nav-ready .sticky-wrapper,
  #headerfix.mg-editorial-nav-ready .sticky-nav {
    height: auto !important;
    min-height: 44px;
  }
  #headerfix.mg-editorial-nav-ready .mg-editorial-mobile-nav {
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: clamp(5px, 2vw, 11px);
    min-height: 44px;
    padding: 0 5px;
    background: #fffdfb;
    white-space: nowrap;
  }
  #headerfix .mg-editorial-mobile-nav a {
    display: flex;
    flex: 0 0 auto;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    padding: 0 2px;
    color: #956d50;
    font: clamp(9px, 2.6vw, 11px) Georgia, serif;
    letter-spacing: .02em;
    text-transform: uppercase !important;
    text-decoration: none;
  }
  /* Also cover the theme's own mobile menu if it is shown during a fallback. */
  #headerfix #menu-header-1 a[href*="who-is-manhattan-girl"] {
    text-transform: uppercase !important;
  }
  #headerfix .mg-editorial-mobile-nav a[aria-current="page"] {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
  #headerfix .mg-editorial-mobile-nav a:hover,
  #headerfix .mg-editorial-mobile-nav a:focus-visible {
    text-decoration: underline;
    text-underline-offset: 5px;
  }
}
@media (max-width: 650px) {
  #headerfix .logo.mg-editorial-ready a.mg-editorial-link {
    aspect-ratio: 1536 / 1024;
  }
  #headerfix .mg-editorial-pearl {
    -webkit-mask-image: url("manhattan-girl-fashion-mobile-title-mask.png");
    mask-image: url("manhattan-girl-fashion-mobile-title-mask.png");
  }
  #headerfix .mg-editorial-road { height: 28px; }
  #headerfix .mg-editorial-road::before { top: 24px; }
  #headerfix .mg-editorial-cab {
    --mg-editorial-cab-width: min(15%, 78px);
    animation-duration: 14s;
    animation-delay: -4s;
  }
}
@media (prefers-reduced-motion: reduce) {
  #headerfix .mg-editorial-type,
  #headerfix .mg-editorial-pearl,
  #headerfix .mg-editorial-cab {
    animation: none;
  }
  #headerfix .mg-editorial-pearl { opacity: 0; }
  #headerfix .mg-editorial-cab { left: 44%; }
}
