/* ------------------------------------------------------ */
/* CR FASHION BOOK FIXED SINGLE-BAR HEADER                */
/* ------------------------------------------------------ */

.cr-header {
  position: fixed; /* Fixed at the top during scroll */
  top: 0;
  left: 0;
  width: 100%;
  background: #ffffff;
  color: #111111;
  font-family: 'AvantGarde', sans-serif;
  border-bottom: 1px solid #e0e0e0;
  z-index: 1000;
  box-sizing: border-box;
}

.cr-header-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 40px;
  max-width: 1800px;
  margin: 0 auto;
  position: relative;
  box-sizing: border-box;
}

/* --- Navigation Groups (Left & Right) --- */
.cr-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  flex: 1;
}

.cr-nav-right {
  justify-content: flex-end;
}

.cr-nav-link {
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0.15em;
  color: #111111;
  text-decoration: none;
  text-transform: uppercase;
  transition: opacity 0.2s ease;
}

.cr-nav-link:hover {
  opacity: 0.5;
}

/* --- Center Brand Logo --- */
.cr-logo-wrapper {
  text-align: center;
  flex: 0 0 auto;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
}

.cr-logo {
  font-family: var(--font-brand, "Jost"), sans-serif;
  font-size: 22px;
  font-weight: 600;
  color: #111111;
  letter-spacing: -0.02em;
  text-decoration: none;
  text-transform: uppercase;
  white-space: nowrap;
}

#post-header-title {
  font-size: 10px;
  letter-spacing: 0.1em;
  color: #666;
  text-transform: uppercase;
  margin-top: 2px;
}

/* ------------------------------------------------------ */
/* MOBILE RESPONSIVE OPTIMIZATIONS                        */
/* ------------------------------------------------------ */

@media (max-width: 900px) {
  .cr-header-container {
    padding: 15px 20px;
    flex-direction: column;
    gap: 12px;
  }

  .cr-logo-wrapper {
    position: static;
    transform: none;
    order: 1;
  }

  .cr-logo {
    font-size: 20px;
  }

  .cr-nav {
    width: 100%;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
  }

  .cr-nav-left {
    order: 2;
  }

  .cr-nav-right {
    order: 3;
    justify-content: center;
  }

  .cr-nav-link {
    font-size: 10px;
    letter-spacing: 0.1em;
  }
}