/* CN Guides — bandeau marques + page article */
a.cn-cat-guide-card--link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform .2s ease, box-shadow .2s ease;
}
a.cn-cat-guide-card--link:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(31, 28, 25, 0.08);
  color: inherit;
  text-decoration: none;
}
a.cn-cat-guide-card--link:hover h3 {
  color: #B49C7B;
}
.cn-cat-guide-card--disabled {
  opacity: 0.72;
  cursor: default;
}

.cn-guide-article {
  max-width: 820px;
  margin: 0 auto 48px;
  padding: 8px 16px 32px;
}
.cn-guide-article--index {
  max-width: 1100px;
}
.cn-guide-article__eyebrow {
  margin: 0 0 8px;
  font-size: 12px;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: #B49C7B;
  font-weight: 600;
}
.cn-guide-article__title {
  margin: 0 0 12px;
  font-family: var(--cn-font-heading, 'Playfair Display', Georgia, serif);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  line-height: 1.2;
  color: #1f1c19;
}
.cn-guide-article__brand {
  margin: 0 0 28px;
  color: #8a847c;
  font-size: 14px;
}
.cn-guide-article__brand a {
  color: #B49C7B;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.cn-guide-article__body {
  color: #555;
  font-size: 1.02rem;
  line-height: 1.75;
}
.cn-guide-article__body h2,
.cn-guide-article__body h3 {
  margin: 2rem 0 0.75rem;
  font-family: var(--cn-font-heading, 'Playfair Display', Georgia, serif);
  color: #1f1c19;
  line-height: 1.25;
}
.cn-guide-article__body p {
  margin: 0 0 1em;
}
.cn-guide-article__footer {
  margin-top: 36px;
  padding-top: 20px;
  border-top: 1px solid #ebe4da;
}
.cn-guide-back {
  background: #2B2B2B !important;
  border-color: #2B2B2B !important;
}
.cn-guide-back:hover {
  background: #B49C7B !important;
  border-color: #B49C7B !important;
}

/* —— FAQ accordéon —— */
.cn-guide-faq {
  margin: 2.5rem 0 2rem;
  padding: 1.5rem 1.35rem 1.25rem;
  background: linear-gradient(180deg, #f7f3ed 0%, #f3eee6 100%);
  border: 1px solid #ebe4da;
  border-radius: 14px;
}
.cn-guide-faq__head {
  margin-bottom: 1rem;
  text-align: center;
}
.cn-guide-faq__eyebrow {
  margin: 0 0 6px;
  font-size: 11px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: #B49C7B;
  font-weight: 700;
}
.cn-guide-faq__title {
  margin: 0 !important;
  font-family: var(--cn-font-heading, 'Playfair Display', Georgia, serif) !important;
  font-size: clamp(1.25rem, 2vw, 1.55rem) !important;
  line-height: 1.25 !important;
  color: #1f1c19 !important;
}
.cn-guide-faq__list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cn-guide-faq__item {
  background: #fff;
  border: 1px solid #e7e0d6;
  border-radius: 10px;
  overflow: hidden;
  transition: border-color .2s ease, box-shadow .2s ease;
}
.cn-guide-faq__item.is-open {
  border-color: #d4c4ae;
  box-shadow: 0 4px 14px rgba(31, 28, 25, 0.06);
}
.cn-guide-faq__question {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  margin: 0;
  padding: 14px 16px;
  border: 0;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: var(--cn-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 1.02rem;
  font-weight: 600;
  line-height: 1.35;
  color: #1f1c19;
}
.cn-guide-faq__question:hover .cn-guide-faq__question-text {
  color: #9a8468;
}
.cn-guide-faq__icon {
  flex: 0 0 auto;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid #B49C7B;
  position: relative;
}
.cn-guide-faq__icon::before,
.cn-guide-faq__icon::after {
  content: '';
  position: absolute;
  background: #B49C7B;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.cn-guide-faq__icon::before {
  width: 10px;
  height: 1.5px;
}
.cn-guide-faq__icon::after {
  width: 1.5px;
  height: 10px;
  transition: transform .2s ease, opacity .2s ease;
}
.cn-guide-faq__item.is-open .cn-guide-faq__icon::after {
  opacity: 0;
  transform: translate(-50%, -50%) scaleY(0);
}
.cn-guide-faq__answer {
  padding: 0 16px 14px;
}
.cn-guide-faq__answer p {
  margin: 0;
  padding-top: 2px;
  border-top: 1px solid #f0ebe3;
  padding-top: 12px;
  color: #5a534c;
  font-size: 0.95rem;
  line-height: 1.65;
  font-family: var(--cn-font-body, 'Poppins', sans-serif);
}
@media (max-width: 767px) {
  .cn-guide-faq {
    padding: 1.15rem 0.9rem 1rem;
  }
  .cn-guide-faq__question {
    font-size: 0.98rem;
    padding: 12px 12px;
  }
}

/* —— Cartes articles (comme bandeau Guides) —— */
.cn-guide-article {
  max-width: 1100px;
}
.cn-guide-sections__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 16px;
  margin: 8px 0 28px;
}
.cn-guide-sections__grid.has-selection {
  display: none;
}
.cn-guide-section-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 10px;
  margin: 0;
  padding: 22px 18px 18px;
  border: 1px solid #ebe4da;
  border-radius: 14px;
  background: #fff;
  box-shadow: 0 4px 16px rgba(31, 28, 25, 0.04);
  cursor: pointer;
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
  color: inherit;
  font: inherit;
  text-decoration: none;
}
a.cn-guide-section-card:hover,
a.cn-guide-section-card:focus {
  color: inherit;
  text-decoration: none;
  outline: none;
}
.cn-guide-section-card:hover,
.cn-guide-section-card.is-active {
  transform: translateY(-3px);
  border-color: #d4c4ae;
  box-shadow: 0 10px 28px rgba(31, 28, 25, 0.08);
}
.cn-guide-section-card__icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f3eee6;
  color: #B49C7B;
}
.cn-guide-section-card__photo {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  border-radius: 10px;
  overflow: hidden;
  background: #f3eee6;
}
.cn-guide-section-card__photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.cn-guide-section-card__title {
  display: block;
  font-family: var(--cn-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.3;
  color: #1f1c19;
}
.cn-guide-section-card:hover .cn-guide-section-card__title,
.cn-guide-section-card.is-active .cn-guide-section-card__title {
  color: #9a8468;
}
.cn-guide-section-card__text {
  display: block;
  font-size: 0.88rem;
  line-height: 1.5;
  color: #6b6560;
  font-family: var(--cn-font-body, 'Poppins', sans-serif);
}
.cn-guide-section-card__cta {
  display: inline-block;
  margin-top: 4px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #B49C7B;
}
.cn-guide-sections__panels {
  margin-top: 8px;
}
.cn-guide-section-panel {
  padding: 22px 22px 8px;
  background: #fff;
  border: 1px solid #ebe4da;
  border-radius: 14px;
  box-shadow: 0 6px 22px rgba(31, 28, 25, 0.05);
}
.cn-guide-section-panel__head {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid #f0ebe3;
}
.cn-guide-section-panel__back {
  display: inline-flex;
  align-items: center;
  margin: 0 0 10px;
  padding: 0;
  border: 0;
  background: transparent;
  color: #B49C7B;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--cn-font-body, 'Poppins', sans-serif);
  text-decoration: none;
}
.cn-guide-section-panel__back-wrap {
  margin: 0 0 8px;
}
a.cn-guide-section-panel__back:hover {
  color: #9a8468;
  text-decoration: underline;
}
.cn-guide-section-panel__title {
  margin: 0 !important;
  font-family: var(--cn-font-heading, 'Playfair Display', Georgia, serif) !important;
  font-size: clamp(1.35rem, 2.4vw, 1.75rem) !important;
  line-height: 1.25 !important;
  color: #1f1c19 !important;
}
.cn-guide-section-panel__body {
  color: #555;
  font-size: 1.02rem;
  line-height: 1.75;
}
.cn-guide-section-panel__body > p:first-of-type {
  font-size: 1.08rem;
  color: #3a3530;
}
@media (max-width: 767px) {
  .cn-guide-sections__grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .cn-guide-section-card {
    padding: 16px 12px 14px;
  }
  .cn-guide-section-card__text {
    display: none;
  }
  .cn-guide-section-panel {
    padding: 16px 14px 6px;
  }
}

body.page-manufacturer .cn-brand-guides {
  margin-top: 28px;
  margin-bottom: 36px;
}

/* —— Hub /guides —— */
.cn-guides-hub {
  max-width: 1100px;
  margin: 0 auto 48px;
  padding: 8px 16px 32px;
}
.cn-guides-hub__intro {
  margin-bottom: 28px;
}
.cn-guides-hub__lead {
  margin: 0 0 18px;
  color: #5a534c;
  font-size: 1.05rem;
  line-height: 1.6;
  max-width: 640px;
}
.cn-guides-hub__search {
  display: flex;
  gap: 8px;
  max-width: 520px;
  margin-bottom: 12px;
}
.cn-guides-hub__search input[type="search"] {
  flex: 1;
  min-width: 0;
  height: 46px;
  padding: 0 14px;
  border: 1px solid #e0d8cc;
  border-radius: 10px;
  font-size: 0.98rem;
  background: #fff;
  color: #1f1c19;
}
.cn-guides-hub__search input[type="search"]:focus {
  outline: none;
  border-color: #B49C7B;
  box-shadow: 0 0 0 3px rgba(180, 156, 123, 0.15);
}
.cn-guides-hub__search button {
  height: 46px;
  padding: 0 18px;
  border: 0;
  border-radius: 10px;
  background: #2B2B2B;
  color: #fff;
  font-weight: 600;
  font-size: 0.92rem;
  cursor: pointer;
}
.cn-guides-hub__search button:hover {
  background: #B49C7B;
}
.cn-guides-hub__count {
  margin: 0;
  font-size: 13px;
  color: #8a847c;
}
.cn-guides-hub__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 18px;
}
.cn-guides-hub-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: 22px 18px 18px;
  background: #fff;
  border: 1px solid #ebe4da;
  border-radius: 14px;
  box-shadow: 0 4px 16px rgba(31, 28, 25, 0.04);
  transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}
.cn-guides-hub-card:hover {
  transform: translateY(-3px);
  border-color: #d4c4ae;
  box-shadow: 0 10px 28px rgba(31, 28, 25, 0.08);
}
.cn-guides-hub-card__head {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
}
.cn-guides-hub-card__head:hover {
  text-decoration: none;
  color: inherit;
}
.cn-guides-hub-card__logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 64px;
}
.cn-guides-hub-card__logo img {
  max-width: 140px;
  max-height: 56px;
  object-fit: contain;
}
.cn-guides-hub-card__initial {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #f3eee6;
  color: #B49C7B;
  font-family: var(--cn-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 1.35rem;
  font-weight: 700;
}
.cn-guides-hub-card__title {
  margin: 0;
  font-family: var(--cn-font-heading, 'Playfair Display', Georgia, serif);
  font-size: 1.2rem;
  font-weight: 700;
  line-height: 1.25;
  color: #1f1c19;
}
.cn-guides-hub-card__types {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
}
.cn-guides-hub-card__types a {
  display: inline-block;
  padding: 5px 10px;
  border-radius: 999px;
  background: #f7f3ed;
  border: 1px solid #ebe4da;
  color: #5a534c;
  font-size: 12px;
  font-weight: 600;
  text-decoration: none;
}
.cn-guides-hub-card__types a:hover {
  background: #efe7db;
  border-color: #d4c4ae;
  color: #1f1c19;
  text-decoration: none;
}
.cn-guides-hub-card__cta {
  margin-top: auto;
  text-align: center;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: .04em;
  text-transform: uppercase;
  color: #B49C7B;
  text-decoration: none;
}
.cn-guides-hub-card__cta:hover {
  color: #9a8468;
  text-decoration: underline;
}
.cn-guides-hub__empty {
  padding: 28px 20px;
  text-align: center;
  color: #6b6560;
  background: #f7f3ed;
  border-radius: 12px;
}
.cn-guides-hub__empty a {
  color: #B49C7B;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
@media (max-width: 767px) {
  .cn-guides-hub__search {
    flex-direction: column;
  }
  .cn-guides-hub__search button {
    width: 100%;
  }
}

/* Bannière fil d’Ariane — même style soft que SmartBlog (sans image) */
body.page-cnguides .page-title-wrapper,
body#module-cnguides-brand .page-title-wrapper,
body.page-cnguides .page-title-wrapper.cn-guides-page-title {
  background: linear-gradient(120deg, #f6f1ea 0%, #efe7db 45%, #e8dfd2 100%) !important;
  background-image: none !important;
  background-size: auto !important;
  padding: 42px 0 34px !important;
  margin-bottom: 40px !important;
  border-bottom: none;
  position: relative;
  overflow: hidden;
}
body.page-cnguides .page-title-wrapper::before,
body#module-cnguides-brand .page-title-wrapper::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 45%, rgba(180, 156, 123, 0.2), transparent 45%),
    radial-gradient(circle at 88% 25%, rgba(180, 156, 123, 0.12), transparent 40%);
  pointer-events: none;
  z-index: 0;
}
body.page-cnguides .page-title-wrapper::after,
body#module-cnguides-brand .page-title-wrapper::after {
  content: 'Guides & conseils';
  position: absolute;
  right: max(3vw, 20px);
  top: 50%;
  transform: translateY(-50%);
  font-size: clamp(1.1rem, 2.4vw, 1.5rem);
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(180, 156, 123, 0.35);
  pointer-events: none;
  z-index: 0;
}
body.page-cnguides .page-title-wrapper .container,
body#module-cnguides-brand .page-title-wrapper .container {
  position: relative;
  z-index: 1;
}
body.page-cnguides .page-title-wrapper .page-header,
body#module-cnguides-brand .page-title-wrapper .page-header {
  margin: 0;
  padding: 0;
  background: transparent !important;
  border: 0 !important;
}
body.page-cnguides .page-title-wrapper .page-header h1,
body#module-cnguides-brand .page-title-wrapper .page-header h1 {
  font-size: 2.05rem !important;
  font-weight: 700 !important;
  color: #1f1c19 !important;
  line-height: 1.2 !important;
  margin: 0 0 8px !important;
  text-align: left !important;
  max-width: 720px;
}
body.page-cnguides .page-title-wrapper .page-header h1::before,
body#module-cnguides-brand .page-title-wrapper .page-header h1::before {
  content: 'Guides';
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #B49C7B;
  margin-bottom: 10px;
  width: auto;
  height: auto;
  background: none;
  border-radius: 0;
}
body.page-cnguides .page-title-wrapper .page-header h1::after,
body#module-cnguides-brand .page-title-wrapper .page-header h1::after {
  content: '';
  display: block;
  width: 56px;
  height: 3px;
  margin: 16px 0 0;
  background: linear-gradient(90deg, #B49C7B, rgba(180, 156, 123, 0.15));
  border-radius: 3px;
}
body.page-cnguides .page-title-wrapper .breadcrumb,
body#module-cnguides-brand .page-title-wrapper .breadcrumb {
  margin-top: 12px !important;
  justify-content: flex-start !important;
}
body.page-cnguides .page-title-wrapper .breadcrumb li,
body.page-cnguides .page-title-wrapper .breadcrumb li a,
body.page-cnguides .page-title-wrapper .breadcrumb li span,
body#module-cnguides-brand .page-title-wrapper .breadcrumb li,
body#module-cnguides-brand .page-title-wrapper .breadcrumb li a,
body#module-cnguides-brand .page-title-wrapper .breadcrumb li span {
  color: #8a847c !important;
  font-size: 13px !important;
  background: transparent !important;
}
@media (max-width: 991px) {
  body.page-cnguides .page-title-wrapper,
  body#module-cnguides-brand .page-title-wrapper {
    padding: 28px 0 22px !important;
    margin-bottom: 28px !important;
  }
  body.page-cnguides .page-title-wrapper::after,
  body#module-cnguides-brand .page-title-wrapper::after {
    display: none;
  }
  body.page-cnguides .page-title-wrapper .page-header h1,
  body#module-cnguides-brand .page-title-wrapper .page-header h1 {
    font-size: 1.55rem !important;
  }
}
