/* ============================================================
   _blog-shell.css
   ------------------------------------------------------------
   Complément de gabarit pour les pages de /blog/ (index + articles).

   Les pages blog s'appuient désormais sur css/landing-core.css
   (variables :root, base body/a, header & footer, bandeau cookies)
   au lieu du styles.css applicatif complet (~600 Ko). Ce fichier
   ajoute uniquement les règles propres aux actions du header en
   mode "landing" (lien connexion + CTA inscription), reprises à
   l'identique de css/landing-page.css pour garder l'apparence.

   Charger APRES css/landing-core.css.
   ============================================================ */

.site-header--landing .site-header__nav,
.site-header--landing .site-header__notif,
.site-header--landing .site-header__profile,
.site-header--landing .site-header__auth {
  display: none !important;
}

.site-header--landing .site-header__inner {
  justify-content: space-between;
  gap: 1rem 1.5rem;
}

.site-header__landing-actions {
  display: none;
}

.site-header--landing .site-header__landing-actions {
  display: inline-flex;
  align-items: center;
  gap: 0.9rem;
}

.site-header--landing .site-header__landing-link {
  font-family: var(--font-ui);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: #0f0f10 !important;
  text-decoration: none;
  padding: 0.5rem 0.6rem;
  background: transparent;
  border: 0;
  border-radius: 0;
  text-transform: none;
}

.site-header--landing .site-header__landing-link:hover {
  color: var(--cherry-dark) !important;
}

.site-header--landing .site-header__landing-cta {
  display: inline-flex;
  align-items: center;
  padding: 0.7rem 1.4rem;
  font-family: var(--font-ui);
  font-size: 0.86rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: none;
  text-decoration: none;
  border-radius: 999px;
  border: 1.5px solid #0f0f10;
  background-color: #0f0f10;
  color: #ffffff !important;
  box-shadow: 0 6px 14px rgba(15, 15, 16, 0.14);
  transition: background-color 160ms ease, color 160ms ease, border-color 160ms ease, transform 160ms ease,
    box-shadow 160ms ease;
}

.site-header--landing .site-header__landing-cta:hover {
  background-color: var(--cherry-dark);
  border-color: var(--cherry-dark);
  color: #ffffff !important;
  transform: translateY(-1px);
  box-shadow: 0 8px 18px rgba(221, 159, 123, 0.4);
}

.site-header--landing .site-header__landing-cta:focus-visible {
  outline: 2px solid var(--cherry-dark);
  outline-offset: 3px;
}

@media (max-width: 520px) {
  .site-header--landing .site-header__landing-cta {
    padding: 0.55rem 0.85rem;
    font-size: 0.72rem;
    letter-spacing: 0.03em;
    text-align: center;
    line-height: 1.25;
  }
  .site-header--landing .site-header__landing-link {
    font-size: 0.85rem;
  }
}
