/* Container général */
.article-page {
  padding: 60px 30px 60px 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Hero — titre + image + date */
.article-hero {
  max-width: 900px;
  text-align: center;
}

.article-title {
  font-family: "Maneola", serif;
  font-size: 4rem;
  margin-bottom: -10px;
  font-weight: 700;
  letter-spacing: 0.1rem;
}

.article-cover {
  aspect-ratio: 5 / 3;
  overflow: hidden;
  border-radius: 15px;
  opacity: 0;
  animation: fadeUp 1s ease forwards;
}

@keyframes fadeUp {
  to {
    opacity: 1;
  }
}

.article-cover img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.article-date {
  font-size: 1rem;
  opacity: 0.8;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
}

/* Corps du texte */
.article-body {
  max-width: 900px;
  width: 100%;
  font-family: "Rubik", system-ui, sans-serif;
  line-height: 1;
  margin-bottom: 4rem;
}

.article-lead {
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: -10px;
  letter-spacing: -1px;
}

.article-body p:not(.article-lead) {
  opacity: 0.9;
  font-size: 1.1rem;
}

.article-related {
  width: 100%;
  max-width: 1200px;
  text-align: center;
}

.article-related h2 {
  font-family: "Maneola", sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  line-height: 1.8rem;
  letter-spacing: 0.08rem;
  text-transform: uppercase;
  margin-top: 1rem;
}

.related-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 35px;
}


/* Responsive */
@media (max-width: 768px) {
  .article-page {
    padding-left: 0px; !important
    padding-right: 0px; !important
    gap: 20px;
    padding-top: 50px;
  }

  .article-title {
    font-size: 2.5rem;
    line-height: 2.2rem;
    margin-top: 0.6rem;
  }

  .article-hero {
    padding: 0 20px;
    margin-bottom: -10px;
  }

  .article-body {
    padding: 0 20px;
  }

  .article-related {
    width: 100%;
    max-width: 1200px;
    text-align: center;
  }
}

@media (max-width: 800px) {
  main.article-page {
    padding-left: 30px !important;
    padding-right: 30px !important;
  }
}



/* Bouton Download */
.btn-glass {
  padding: 0.8rem 1.5rem;
  font-size: 1rem;
  font-weight: 700;
  color: white;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-radius: 45px;
  text-decoration: none;
  transition: transform 0.2s, background 0.2s;
  box-shadow:
    0 3px 12px rgba(0,0,0,0.1),
    inset 0 0 10px rgba(255 255 255 / 0.3);
  margin-bottom: 1rem;
  margin-top: -40px;
}


.btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
  transform: scale(1.01);
  box-shadow:
    0 4px 16px rgba(0,0,0,0.15),
    inset 0 0 10px rgba(255 255 255 / 0.3);
}



/* Partage d'article */
.article-share{
  display: flex;
  justify-content: flex-end;
  width: 100%;
  margin-right: 100px;
  margin-bottom: 60px;
}

/* Bouton principal */
.share-button{
  display: flex;
  gap: 6px;
  padding: 12px 20px;
  border-radius: 50px;
  border: none;
  background: rgba(20,20,20,0.65);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: white;
  font-family: "Rubik", system-ui, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  opacity: 0.9;
  transition: 
    background 0.25s ease,
    transform 0.2s ease,
    box-shadow 0.25s ease;
}

/* Icône */
.share-icon{
  width: 19px;
  height: 19px;
  opacity: 0.9;
  transition: 
    width 0.2s ease,
    height 0.2s ease,
    opacity 0.2s ease;
}

/* Hover desktop */
.share-button:hover{
  background: rgba(20,20,20,0.7);
  transform: translateX(2px);
}

/* Click */
.share-button:active{
  transform: translateY(0);
}

/* Responsive */
@media (max-width: 700px){
  .article-share{
    display: flex;
    justify-content: center;
    margin-right: 0px;
  }

  .share-button{
    margin-right: 0;
  }
}