/**
 * Folies Secrètes — pages articles Guides & Conseils
 * Scope strict : body.fs-guides-article-page uniquement
 * Ne pas appliquer aux Chroniques.
 */
body.fs-guides-article-page {
  --fs-ga-ink: #1a1716;
  --fs-ga-soft: #4a4543;
  --fs-ga-plum: #5a3d48;
  --fs-ga-gold: #b8956b;
  --fs-ga-line: rgba(26, 23, 22, 0.11);
  --fs-ga-cream: #f5f0ea;
  --fs-ga-ivory: #fdfcfa;
}

/* Sticky header opaque — fichier LOCKED non modifié */
body.fs-guides-article-page.desktop_device #st_header.stuck,
body.fs-guides-article-page.mobile_device #st_header.stuck {
  background: rgba(253, 252, 250, 0.98) !important;
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
  z-index: 10050 !important;
  box-shadow: 0 1px 0 rgba(26, 23, 22, 0.06);
}

body.fs-guides-article-page.desktop_device #st_header.stuck #header_primary_container,
body.fs-guides-article-page.desktop_device #st_header.stuck #header_primary_row,
body.fs-guides-article-page.mobile_device #st_header.stuck #header_primary_container {
  background: rgba(253, 252, 250, 0.98) !important;
}

body.fs-guides-article-page .fs-guides-article-body h2,
body.fs-guides-article-page .fs-stblog-aside-toc a {
  scroll-margin-top: 6.5rem;
}

/* Cover 4:3 */
body.fs-guides-article-page .fs-guides-article-cover {
  margin: 0 0 clamp(1.5rem, 3vw, 2rem);
  overflow: hidden;
  border-radius: 14px;
  border: 1px solid var(--fs-ga-line);
  background: var(--fs-ga-cream);
  aspect-ratio: 4 / 3;
  box-shadow: 0 18px 44px rgba(26, 23, 22, 0.1);
}

body.fs-guides-article-page .fs-guides-article-cover img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 50% 50%;
}

/* Mobile TOC */
body.fs-guides-article-page .fs-guides-mobile-toc {
  display: none;
  margin: 0 0 1.5rem;
  border: 1px solid var(--fs-ga-line);
  border-radius: 12px;
  background: var(--fs-ga-ivory);
  padding: 0.15rem 0.85rem;
}

body.fs-guides-article-page .fs-guides-mobile-toc__summary {
  cursor: pointer;
  list-style: none;
  min-height: 44px;
  display: flex;
  align-items: center;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--fs-ga-gold);
}

body.fs-guides-article-page .fs-guides-mobile-toc__summary::-webkit-details-marker {
  display: none;
}

body.fs-guides-article-page .fs-guides-mobile-toc__nav ol {
  margin: 0 0 0.85rem;
  padding: 0 0 0.35rem 1.1rem;
}

body.fs-guides-article-page .fs-guides-mobile-toc__nav a {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--fs-ga-soft);
  text-decoration: none;
  line-height: 1.4;
  padding: 0.35rem 0;
}

body.fs-guides-article-page .fs-guides-mobile-toc__nav a:hover,
body.fs-guides-article-page .fs-guides-mobile-toc__nav a.is-active {
  color: var(--fs-ga-plum);
}

/* Hide inline Sommaire block (duplication with sidebar TOC) */
body.fs-guides-article-page .fs-guides-article-body > p > strong:only-child,
body.fs-guides-article-page .fs-guides-inline-sommaire {
  /* handled by JS class */
}

body.fs-guides-article-page .fs-guides-inline-sommaire {
  display: none !important;
}

/* Typography hierarchy */
body.fs-guides-article-page .fs-guides-article-body h2 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 500 !important;
  font-size: clamp(1.45rem, 2.6vw, 1.9rem) !important;
  line-height: 1.22 !important;
  color: var(--fs-ga-ink) !important;
  margin: 2.85rem 0 1rem !important;
  padding-top: 0.4rem !important;
}

body.fs-guides-article-page .fs-guides-article-body h3 {
  font-family: "Cormorant Garamond", Georgia, serif !important;
  font-weight: 500 !important;
  font-size: clamp(1.15rem, 2vw, 1.35rem) !important;
  line-height: 1.3 !important;
  color: var(--fs-ga-ink) !important;
  margin: 1.75rem 0 0.65rem !important;
}

/* Lists — visible bullets / numbers (override thème / reset) */
body.fs-guides-article-page .fs-guides-article-body ul,
body.fs-guides-article-page .blog_content.fs-guides-article-body ul,
body.fs-guides-article-page .fs-stblog-article-body.fs-guides-article-page ul {
  margin: 0 0 1.35rem !important;
  padding: 0.15rem 0 0.15rem 1.45rem !important;
  list-style: disc outside !important;
  list-style-type: disc !important;
}

body.fs-guides-article-page .fs-guides-article-body ol,
body.fs-guides-article-page .blog_content.fs-guides-article-body ol,
body.fs-guides-article-page .fs-stblog-article-body.fs-guides-article-page ol {
  margin: 0 0 1.35rem !important;
  padding: 0.15rem 0 0.15rem 1.45rem !important;
  list-style: decimal outside !important;
  list-style-type: decimal !important;
}

body.fs-guides-article-page .fs-guides-article-body li,
body.fs-guides-article-page .blog_content.fs-guides-article-body li {
  display: list-item !important;
  margin: 0 0 0.55rem !important;
  padding-left: 0.25rem !important;
  line-height: 1.7 !important;
  color: var(--fs-ga-soft) !important;
  list-style: inherit !important;
}

body.fs-guides-article-page .fs-guides-article-body ul > li::marker {
  color: var(--fs-ga-plum);
  font-size: 0.95em;
}

body.fs-guides-article-page .fs-guides-article-body ol > li::marker {
  color: var(--fs-ga-gold);
  font-weight: 600;
}

/* Info blocks — À retenir / Conseil / Erreurs / FAQ */
body.fs-guides-article-page .fs-guides-article-body p > strong {
  color: var(--fs-ga-ink);
}

body.fs-guides-article-page .fs-guides-callout,
body.fs-guides-article-page .fs-guides-article-body p.fs-guides-callout-title,
body.fs-guides-article-page .fs-guides-block-retenir,
body.fs-guides-article-page .fs-guides-block-conseil,
body.fs-guides-article-page .fs-guides-block-erreurs {
  /* JS may wrap; also style by adjacent strong labels */
}

body.fs-guides-article-page .fs-guides-article-body p > strong:first-child {
  display: inline-block;
}

/* Soft card around À retenir / Conseil when marked */
body.fs-guides-article-page .fs-guides-info-card {
  margin: 1.5rem 0 1.75rem;
  padding: 1.1rem 1.2rem 1.15rem;
  border-radius: 12px;
  border: 1px solid var(--fs-ga-line);
  background: linear-gradient(180deg, #fffdfb 0%, var(--fs-ga-cream) 100%);
}

body.fs-guides-article-page .fs-guides-info-card--conseil {
  border-color: rgba(184, 149, 107, 0.35);
  background: linear-gradient(180deg, #fffdf9 0%, #f7efe4 100%);
}

body.fs-guides-article-page .fs-guides-info-card > p:first-child {
  margin-bottom: 0.65rem !important;
}

body.fs-guides-article-page .fs-guides-info-card ul {
  margin-bottom: 0 !important;
}

/* FAQ section */
body.fs-guides-article-page .fs-guides-article-body h2 + h3 {
  margin-top: 1.25rem !important;
}

body.fs-guides-article-page .fs-guides-faq-item {
  margin: 0 0 1.15rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(26, 23, 22, 0.07);
}

body.fs-guides-article-page .fs-guides-faq-item:last-of-type {
  border-bottom: 0;
}

body.fs-guides-article-page .fs-guides-faq-item h3 {
  margin-top: 0.35rem !important;
  margin-bottom: 0.4rem !important;
}

body.fs-guides-article-page .fs-guides-faq-item p {
  margin-bottom: 0 !important;
}

/* Aside related */
body.fs-guides-article-page .fs-guides-related-list,
body.fs-guides-article-page .fs-guides-continue__list {
  list-style: none !important;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

body.fs-guides-article-page .fs-guides-related-list a,
body.fs-guides-article-page .fs-guides-continue__list a {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
  text-decoration: none;
  color: inherit;
  min-height: 44px;
  padding: 0.35rem 0;
}

body.fs-guides-article-page .fs-guides-related-list__cat,
body.fs-guides-article-page .fs-guides-continue__cat {
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fs-ga-gold);
}

body.fs-guides-article-page .fs-guides-related-list__title,
body.fs-guides-article-page .fs-guides-continue__title {
  font-size: 0.95rem;
  line-height: 1.4;
  color: var(--fs-ga-ink);
}

body.fs-guides-article-page .fs-guides-related-list a:hover .fs-guides-related-list__title,
body.fs-guides-article-page .fs-guides-continue__list a:hover .fs-guides-continue__title {
  color: var(--fs-ga-plum);
}

body.fs-guides-article-page .fs-guides-continue {
  margin-bottom: 1.35rem;
}

body.fs-guides-article-page .fs-guides-aside-toc a.is-active {
  color: var(--fs-ga-plum) !important;
  border-left-color: var(--fs-ga-gold) !important;
}

/* Responsive */
@media (max-width: 991px) {
  body.fs-guides-article-page .fs-guides-mobile-toc {
    display: block;
  }

  body.fs-guides-article-page .fs-guides-article-aside .fs-stblog-aside-box--toc {
    display: none;
  }
}

@media (max-width: 767px) {
  body.fs-guides-article-page .fs-guides-article-cover {
    border-radius: 12px;
    margin-bottom: 1.15rem;
  }

  body.fs-guides-article-page .fs-guides-article-body ul,
  body.fs-guides-article-page .fs-guides-article-body ol {
    padding-left: 1.2rem !important;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  body.fs-guides-article-page .fs-stblog-article-layout {
    grid-template-columns: minmax(0, 1fr) minmax(15rem, 17.5rem);
    gap: 1.35rem;
  }
}

/* Related footer cards — Guides only — APPLY 20260720 */
body.fs-guides-article-page .fs-guides-related-card {
  position: relative;
  display: grid;
  min-width: 0;
  overflow: hidden;
  border: 1px solid rgba(26, 23, 22, 0.1);
  border-radius: 10px;
  background: #fffdf9;
  box-shadow: 0 12px 32px rgba(26, 23, 22, 0.06);
}
body.fs-guides-article-page .fs-guides-related-card .fs-guides-article-card__hit {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  border-radius: inherit;
  text-indent: -9999px;
  overflow: hidden;
  color: transparent;
}
body.fs-guides-article-page .fs-guides-related-card .fs-guides-article-card__image {
  display: block;
  aspect-ratio: 4 / 3;
  overflow: hidden;
  background: #efe6dc;
}
body.fs-guides-article-page .fs-guides-related-card .fs-guides-article-card__image img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
body.fs-guides-article-page .fs-guides-related-card:hover .fs-guides-article-card__image img {
  transform: scale(1.035);
}
body.fs-guides-article-page .fs-guides-related-card .fs-guides-article-card__image img {
  transition: transform 0.25s ease;
}
body.fs-guides-article-page .fs-guides-related-card .fs-guides-article-card__body {
  display: flex;
  flex-direction: column;
  padding: 1.05rem 1.1rem 1.15rem;
}
body.fs-guides-article-page .fs-guides-related-card .fs-guides-article-card__category {
  margin: 0 0 0.45rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.11em;
  text-transform: uppercase;
  color: var(--fs-ga-gold);
}
body.fs-guides-article-page .fs-guides-related-card h3 {
  margin: 0 0 0.6rem;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  font-weight: 500;
  line-height: 1.25;
  color: var(--fs-ga-ink);
}
body.fs-guides-article-page .fs-guides-related-card .fs-guides-article-card__body > p {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  margin: 0 0 0.8rem;
  font-size: 0.9rem;
  line-height: 1.5;
  color: var(--fs-ga-soft);
}
body.fs-guides-article-page .fs-guides-related-card .fs-guides-article-card__cta {
  margin-top: auto;
  border-top: 1px solid rgba(26, 23, 22, 0.08);
  padding-top: 0.5rem;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--fs-ga-plum);
}

body.fs-guides-article-page .fs-guides-related-block {
  margin: 0 0 1.25rem;
}
body.fs-guides-article-page .fs-guides-related-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(3, minmax(0, 1fr));
}
body.fs-guides-article-page .fs-guides-related-grid--2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
body.fs-guides-article-page .fs-guides-related-grid--1 {
  grid-template-columns: minmax(0, 1fr);
}
@media (max-width: 991px) {
  body.fs-guides-article-page .fs-guides-related-grid,
  body.fs-guides-article-page .fs-guides-related-grid--2 {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 767px) {
  body.fs-guides-article-page .fs-guides-related-grid,
  body.fs-guides-article-page .fs-guides-related-grid--2,
  body.fs-guides-article-page .fs-guides-related-grid--1 {
    grid-template-columns: minmax(0, 1fr);
  }
}

/* === FS Guides associated products (stblogeditor) — minimal scope === */
body.fs-guides-article-page .stblogeditor_container {
  margin-top: 2.5rem;
  margin-bottom: 1.5rem;
}
body.fs-guides-article-page .stblogeditor_container .title_block_inner {
  font-size: 1.25rem;
  letter-spacing: 0.02em;
}
/* No direct add-to-cart from Guides product recommendations (variants / editorial CTA) */
body.fs-guides-article-page .stblogeditor_container .act_box_cart,
body.fs-guides-article-page .stblogeditor_container .ajax_add_to_cart_button,
body.fs-guides-article-page .stblogeditor_container .ajax_add_to_cart_button.hover_fly_btn,
body.fs-guides-article-page .stblogeditor_container .add-to-cart,
body.fs-guides-article-page .stblogeditor_container a[title="Ajouter au panier"] {
  display: none !important;
}
