.article-container {
  max-width: 1384px;
  margin: 0 auto;
  padding: 0 32px;
}

.article-top {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 208px 0 100px;
}
.article-top .h1 {
  text-align: center;
}

.breadcrumbs-list {
  display: flex;
  align-items: center;
  gap: 10px;
}

.breadcrumbs-list {
  list-style-type: none;
}
.breadcrumbs-list li a {
  color: rgba(29, 29, 29, 0.5);
  transition: ease 0.3s;
}
.breadcrumbs-list li a:visited {
  color: rgba(29, 29, 29, 0.5);
}
.breadcrumbs-list li a:hover {
  color: #1D1D1D;
}

.bredcrumb-icon {
  fill: rgba(29, 29, 29, 0.5);
  width: 7px;
  height: 12px;
}

.breadcrumb-sep {
  display: flex;
  align-items: center;
  list-style: none;
}

.article-image {
  margin: 64px 0 16px;
  display: flex;
  aspect-ratio: 1310/500;
  object-fit: cover;
  width: 100%;
}

.article-info {
  display: flex;
  align-items: center;
  gap: 10px;
}

.share {
  display: flex;
  align-items: center;
}
.share .text-sm {
  margin-right: 16px;
}

.article-body {
  display: flex;
  gap: 80px;
  padding: 50px 0 64px;
}

.article-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
}

.share-btn {
  position: relative;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background-color: #F4F4F4;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 8px;
  transition: ease 0.3s;
}
.share-btn svg {
  width: 24px;
  height: 24px;
  transition: ease 0.3s;
}
.share-btn:hover {
  background-color: #1D1D1D;
}
.share-btn:hover svg {
  fill: white;
}
.share-btn .copy-popup {
  position: absolute;
  bottom: -16px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  color: #1D1D1D;
  width: max-content;
  font-size: 12px;
}
.share-btn .copy-popup.show {
  display: flex;
}
.share-btn:last-child {
  margin-right: 0;
}

.article-info-mob {
  display: none;
}

.article-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

aside {
  position: sticky;
  top: 140px;
  height: fit-content;
  max-width: 180px;
}

.contents-header {
  margin-bottom: 24px;
}

.aside-menu {
  margin-left: 12px;
}
.aside-menu li {
  margin: 8px 0;
  position: relative;
  padding: 4px 0;
}
.aside-menu li::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 1px;
  background-color: #1D1D1D;
  left: -12px;
  top: 0;
  opacity: 0;
  transition: ease 0.3s;
}
.aside-menu li.active .aside-link {
  color: #1D1D1D;
}
.aside-menu li.active::before {
  opacity: 1;
}

.aside-link {
  color: rgba(29, 29, 29, 0.5);
}
.aside-link:visited {
  color: rgba(29, 29, 29, 0.5);
}

.aside-menu li:hover::before {
  opacity: 1;
}
.aside-menu li:hover .aside-link {
  color: #1D1D1D;
}

article {
  max-width: 880px;
  width: 100%;
  overflow-x: auto;
}
article h2 {
  font-size: 44px;
  line-height: 1.1;
  margin: 40px 0 20px;
}
article p {
  color: rgba(29, 29, 29, 0.5);
  margin-bottom: 16px;
  font-size: 18px;
  line-height: 1.2;
}
/* Images du contenu (y compris externes) : ne pas déformer la page */
.article-body article img {
  max-width: 100% !important;
  width: auto;
  height: auto !important;
  display: block;
  margin: 24px 0;
  object-fit: contain;
}
.article-body article figure {
  max-width: 100%;
  margin: 24px 0;
}
.article-body article figure img {
  margin: 0;
}
/* Tableaux : bordures lisibles */
.article-body article table {
  width: 100%;
  max-width: 100%;
  border-collapse: collapse;
  margin: 24px 0;
  font-size: 16px;
  line-height: 1.35;
}
.article-body article table th,
.article-body article table td {
  border: 1px solid #d0d0d0;
  padding: 10px 12px;
  text-align: left;
  vertical-align: top;
  color: rgba(29, 29, 29, 0.75);
}
.article-body article table th {
  background: #f4f4f4;
  color: #1d1d1d;
  font-weight: 600;
}
.article-body article table tr:nth-child(even) td {
  background: #fafafa;
}
article .image {
  margin: 48px 0;
}
article .image picture img {
  width: 100%;
  height: auto;
}
article .image figcaption {
  position: relative;
  margin-top: 16px;
  margin-left: 9px;
}
article .image figcaption::before {
  position: absolute;
  height: 100%;
  width: 1px;
  content: "";
  background-color: #1D1D1D;
  left: -9px;
}
article .dark {
  color: #1D1D1D;
}
article .quote {
  position: relative;
  margin: 32px 0;
}
article .quote::before {
  position: absolute;
  content: "";
  width: 1px;
  height: 100%;
  background-color: #1D1D1D;
  left: 0;
  top: 0;
}
article .quote blockquote {
  margin-left: 25px;
}
article .quote blockquote p {
  color: #1D1D1D;
}
article .quote figcaption {
  margin-left: 25px;
}

.article-swiper {
  overflow: unset;
  width: 100%;
  max-width: 100%;
}

.article-slide picture {
  display: flex;
  position: relative;
  overflow: hidden;
  width: 100%;
  aspect-ratio: 1;
}
.article-slide picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.article-slide-btns {
  position: absolute;
  right: 16px;
  bottom: -36px;
  display: flex;
  gap: 8px;
  transition: ease 0.6s;
}

.article-slide-btn {
  width: 32px;
  height: 32px;
  background-color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  cursor: pointer;
  transition: ease 0.3s;
}
.article-slide-btn svg {
  transition: ease 0.3s;
  width: 18px;
  height: 18px;
}
.article-slide-btn:hover {
  background-color: #1D1D1D;
}
.article-slide-btn:hover svg {
  fill: white;
}

.article-slide:hover .article-slide-btns {
  bottom: 16px;
}

.article-slide-title {
  color: #1D1D1D;
  transition: ease 0.3s;
  margin: 16px 0 8px;
  display: flex;
}
.article-slide-title:visited {
  color: #1D1D1D;
}
.article-slide-title:hover {
  color: rgba(29, 29, 29, 0.5);
}

article > :first-child {
  margin-top: 0;
}

@media (max-width: 1200px) {
  aside {
    display: none;
  }
}
@media (max-width: 768px) {
  .article-container {
    padding: 0 16px;
  }
  .article-top {
    margin: 108px 0 16px;
  }
  .article-top .h1 {
    margin: 8px 0;
    font-size: 36px;
  }
  .article-info {
    display: none;
  }
  .article-info-mob {
    display: flex;
  }
  .article-image {
    margin: 32px 0 16px;
    aspect-ratio: 1;
  }
  .share {
    width: 100%;
  }
  .share .text-sm {
    margin-right: auto;
  }
  .share-btn:hover {
    background-color: #F4F4F4;
  }
  .share-btn:hover svg {
    fill: #1D1D1D;
  }
  article .image {
    margin: 40px 0;
  }
  .article-row {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .article-links {
    gap: 20px;
    flex-direction: column;
    align-items: flex-start;
  }
  .article-body {
    padding: 50px 0 40px;
  }
  .article-slide-btns {
    bottom: 16px;
  }
}
.related-posts-top {
  align-items: center;
}

.related-posts-body {
  margin-top: 48px;
  display: flex;
  gap: 8px;
}

.related-post {
  width: calc((100% - 8px) / 2);
}

.related-post-image {
  position: relative;
  display: flex;
  aspect-ratio: 650/500;
  overflow: hidden;
}

.related-post-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: ease 0.6s;
}

.related-post-btn {
  position: absolute;
  right: 24px;
  bottom: 24px;
}

.related-post:hover .related-post-img {
  transform: scale(1.1);
}

.related-post-info {
  margin-top: 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.related-post-link {
  position: relative;
  color: #1D1D1D;
  width: fit-content;
}
.related-post-link::after {
  position: absolute;
  content: "";
  width: 0;
  height: 1px;
  background-color: #1D1D1D;
  left: 50%;
  bottom: 1px;
  transition: ease 0.3s;
}
.related-post-link:visited {
  color: #1D1D1D;
}
.related-post-link:hover::after {
  width: 100%;
  left: 0;
}

.related-post-description {
  position: relative;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

.related-post-tags {
  display: flex;
  gap: 8px;
}

@media (max-width: 768px) {
  .related-posts-top {
    flex-direction: row;
  }
  .related-posts-body {
    flex-direction: column;
    margin-top: 32px;
    gap: 32px;
  }
  .related-post {
    width: 100%;
  }
}
.cta {
  position: relative;
  height: 800px;
  width: 100%;
  max-width: 1920px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cta-img {
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  bottom: 0;
  object-fit: cover;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.cta-content {
  position: relative;
  z-index: 1;
  color: white;
  display: flex;
  align-items: center;
  flex-direction: column;
  text-align: center;
}
.cta-content .subtitle {
  max-width: 560px;
  margin: 24px 0 32px;
}

@media (max-width: 768px) {
  .cta {
    height: 640px;
  }
  .cta-content {
    margin: 0 16px;
  }
  .cta-content .h3 br {
    display: none;
  }
  .cta-content .subtitle br {
    display: none;
  }
}