/* ============================================================
   ARTICLE BLOG (single.php)
   ============================================================ */

body.single-post .page-wrap {
  padding-top: 0;
}

@media (min-width: 1024px) {

  body.single-post .breadcrumb.section .inner,
  body.single-post .article-header-section .inner,
  body.single-post .article-body-section .inner {
    padding-left: 10%;
  }
}

/* Article Header ------------------------------------------ */

.section.article-header-section {
  padding-top: 2rem;
}

.article-header__title {
  font-size: clamp(2rem, 5.2vw, 3.2rem);
  line-height: 1.25;
}

.section.article-header-section p.excerpt {
  margin-top: 1.5rem;
  font-weight: 350;
}

.col-meta {
  border-left: 1px solid var(--border);
  padding-left: 1.5rem;
  font-size: 1rem;
}

@media (min-width: 640px) {
  .col-meta {
    padding-left: 2rem;
  }
}

.article-meta {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: var(--sp-2);
}

.article-meta li {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: 0.95rem;
  color: var(--c-muted);
  flex-direction: row;
  align-items: baseline;
}

@media (min-width: 640px) {
  .article-meta li {
    flex-direction: column;
    gap: 0;
    align-items: baseline;
  }
}

.article-meta li::before {
  content: none;
}

.article-meta__label {
  font-size: 1rem;
  font-weight: 450;
  color: var(--purple-dark);
}

.article-meta__value {
  color: var(--c-ink);
  font-size: var(--t-sm);
}

/* Label (Date :, Catégorie :...) */
.article-meta li> :first-child {
  /*color: var(--c-subtle);
  font-size: var(--t-xs);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;*/
}


/* Article Image --------------------------------------------- */
.section.article-image-section {
  padding-top: 0;
  padding-bottom: 0;
}

.article-header__img {
  width: 100%;
  height: auto;
  max-height: 500px;
  object-fit: cover;
  border-radius: var(--radius-lg);
}

/* Article Body ---------------------------------------------- */

.col-aside {
  font-size: 1rem;
}

/* ── Aside - Boutons de partage ─────────────────────────────────── */
.share-buttons {
  margin-bottom: 2rem;
}

.share-buttons__label {
  font-size: 1rem;
  font-weight: 450;
  margin-bottom: var(--sp-4);
  color: var(--purple-dark);
}

.share-buttons__list {
  display: flex;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.share-btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-2) var(--sp-4);
  border-radius: var(--radius-pill);
  font-size: var(--t-sm);
  font-weight: 500;
  text-decoration: none;
  border: 1.5px solid var(--border);
  background: var(--white);
  color: var(--c-ink);
  cursor: pointer;
  transition: all 200ms ease;
}

.share-btn:hover {
  border-color: currentColor;
  transform: translateY(-1px);
}

.share-btn--facebook {
  color: #1877f2;
}

.share-btn--twitter {
  color: #000;
}

.share-btn--linkedin {
  color: #0a66c2;
}

.share-btn--whatsapp {
  color: #25d366;
}

.share-btn--copy {
  color: var(--grey44);
}

.share-btn--facebook:hover {
  background: #1877f2;
  color: white;
  border-color: #1877f2;
}

.share-btn--twitter:hover {
  background: #000;
  color: white;
  border-color: #000;
}

.share-btn--linkedin:hover {
  background: #0a66c2;
  color: white;
  border-color: #0a66c2;
}

.share-btn--whatsapp:hover {
  background: #25d366;
  color: white;
  border-color: #25d366;
}

.share-btn--copy:hover {
  background: #444;
  color: white;
  border-color: var(--grey44);
}


/* ── Aside - CTA sticky sur desktop ─────────────────────────────────── */

.article-sidebar {
  box-shadow: 0 3px 14px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-lg);
  text-decoration: none;
  color: inherit;
  overflow: hidden;
  transition: border-color 300ms ease, box-shadow 300ms ease, transform 300ms ease;
}

.article-sidebar:hover {
  border-color: var(--pink);
  box-shadow: 0 12px 40px rgba(83, 74, 183, 0.14);
}

.article-sidebar__header {
  position: relative;
}

.article-sidebar__body {
  padding: 2rem
}

.article-sidebar__title {
  font-size: clamp(2rem, 2vw, 2.2rem);
  font-weight: 500;
}

.article-sidebar__body p {
  margin-top: 1rem;
}

.article-sidebar__body .btn {
  margin-top: 1.5rem;
  width: 100%;
}

@media (min-width: 768px) {
  .article-sidebar {
    position: sticky;
    top: calc(var(--header-h) + var(--sp-12));

  }
}

.section-articles .section-title {
  font-size: clamp(1.4rem, 2vw, 2rem);
}





/* ============================================================
   PAGE 404
   ============================================================ */
.error-404-wrap {
  padding: var(--sp-16) 0 var(--sp-24);
}

.error-404 {
  max-width: 540px;
  margin-inline: auto;
  text-align: center;
}

.error-404__code {
  font-family: var(--f-display);
  font-size: 8rem;
  font-weight: 600;
  line-height: 1;
  color: var(--purple-dark);
  margin-bottom: var(--sp-4);
  user-select: none;
}

.error-404__title {
  font-size: clamp(1.5rem, 4vw, 2.25rem);
  margin-bottom: var(--sp-4);
}

.error-404__desc {
  font-size: var(--t-md);
  color: var(--grey44);
  line-height: 1.7;
  margin-bottom: var(--sp-8);
}

.error-404__link:last-child {
  border-bottom: none;
}

.error-404__link:hover {
  color: var(--c-accent);
}

.error-404__link svg {
  color: var(--c-cta);
  flex-shrink: 0;
}