/**
 * SoloSale site header — matches index.html listings/property chrome (gunmetal bar + coral CTA).
 * Scope everything under .guides-shell so guide pages stay isolated from global styles.
 */
.guides-shell {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  margin: 0;
}

.guides-shell .guides-shell-main {
  flex: 1;
}

.guides-shell .pwa-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 16px 24px;
  background: #2c3338;
  color: #f4f5f6;
  flex-wrap: wrap;
}

/* Hub — centred brand block + nav (same idea as listings catalog header) */
.guides-shell .pwa-header--catalog {
  flex-direction: column;
  align-items: stretch;
}

.guides-shell .pwa-header-catalog-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 12px;
  flex-wrap: wrap;
}

.guides-shell .pwa-header-brand-block {
  min-width: 0;
}

.guides-shell .pwa-header--catalog .pwa-header-right {
  margin-left: auto;
}

.guides-shell .pwa-header .brand {
  margin: 0;
  font-family: "Caprasimo", serif;
  font-size: 22px;
  line-height: 1;
  font-weight: 400;
  color: #ff5f45;
  text-decoration: none;
  display: inline-block;
  transition: opacity 0.15s ease;
}

.guides-shell .pwa-header a.brand:hover {
  opacity: 0.9;
}

/* Plain nav/header links — do not affect the Coral Caprasimo wordmark */
.guides-shell .pwa-header a:not(.header-login-btn):not(.pwa-header-back):not(.brand) {
  color: #f4f5f6;
  font-size: 14px;
  font-weight: 500;
}

.guides-shell .pwa-header-right {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
  margin-left: auto;
  flex-shrink: 0;
}

.guides-shell .pwa-header--catalog .pwa-header-right {
  margin-left: auto;
}

.guides-shell .pwa-header-main-nav {
  display: flex;
  align-items: center;
  gap: 12px 16px;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.guides-shell .pwa-header-main-nav a {
  text-decoration: none;
  white-space: nowrap;
}

.guides-shell .pwa-header-main-nav a:hover {
  color: #fff;
}

.guides-shell .pwa-header .header-login-btn {
  color: #ffffff !important;
}

.guides-shell .pwa-header .header-login-btn:hover,
.guides-shell .pwa-header .header-login-btn:focus {
  color: #ffffff !important;
}

.guides-shell .pwa-header-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ff5f45;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  transition: opacity 0.15s;
}

.guides-shell .pwa-header-back:hover {
  opacity: 0.9;
  color: #ff8b78;
}

.guides-shell .pwa-header-back-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

@media (max-width: 768px) {
  .guides-shell .pwa-header--catalog {
    padding: 16px 16px 8px;
  }

  .guides-shell .pwa-header-catalog-inner {
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
  }

  .guides-shell .pwa-header--catalog .pwa-header-brand-block {
    width: 100%;
    text-align: center;
  }

  .guides-shell .pwa-header--catalog .pwa-header-right {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .guides-shell .pwa-header--catalog .pwa-header-main-nav {
    justify-content: center;
  }

  /* Article header: stack on small screens */
  .guides-shell .pwa-header:not(.pwa-header--catalog) {
    flex-direction: column;
    align-items: stretch;
  }

  .guides-shell .pwa-header:not(.pwa-header--catalog) .pwa-header-back {
    justify-content: flex-start;
  }

  .guides-shell .pwa-header:not(.pwa-header--catalog) .pwa-header-right {
    margin-left: 0;
    width: 100%;
    justify-content: center;
  }

  .guides-shell .pwa-header:not(.pwa-header--catalog) .pwa-header-main-nav {
    justify-content: center;
  }
}
