/* Speedtest spécifique */
.speedtest-block {
  max-width: 800px;
  margin: 2rem auto;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(60,130,246,0.1);
  padding: 3rem 2.5rem;
  text-align: center;
  border: 1px solid var(--border-color);
  transition: box-shadow 0.3s ease;
}

.speedtest-block:hover {
  box-shadow: 0 8px 25px rgba(60,130,246,0.15);
}

.speedtest-block h2 {
  margin-bottom: 2rem;
  font-family: 'Poppins', sans-serif;
  font-size: 2rem;
  color: var(--primary-color);
  font-weight: 700;
}

.speedtest-btn {
  background: var(--primary-color);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  cursor: pointer;
  margin-bottom: 2rem;
  transition: background 0.2s;
}

.speedtest-btn:hover {
  background: var(--accent);
}

.speedtest-results {
  margin-top: 2rem;
  font-size: 1.1rem;
}

/* Style amélioré pour l'article de la page speedtest */
.speedtest-article {
  max-width: 1000px;
  margin: 3rem auto 0 auto;
  background: var(--card-bg);
  border-radius: var(--border-radius);
  box-shadow: 0 5px 20px rgba(0,0,0,0.05);
  padding: 3rem;
  border: 1px solid var(--border-color);
  transition: background-color var(--transition), border-color var(--transition);
}

.speedtest-article h1 {
  font-family: 'Poppins', sans-serif;
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--primary-color);
  margin-bottom: 1.5rem;
  line-height: 1.3;
  text-align: center;
  padding-bottom: 1rem;
  border-bottom: 3px solid var(--primary-color);
}

.speedtest-article h2 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.6rem;
  font-weight: 600;
  color: var(--primary-color);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid var(--border-color);
  position: relative;
}

.speedtest-article h2::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 60px;
  height: 2px;
  background: var(--primary-color);
}

.speedtest-article h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  margin: 2rem 0 0.8rem;
}

.speedtest-article p {
  margin: 1.2rem 0;
  line-height: 1.8;
  font-size: 1.05rem;
  text-align: justify;
}

.speedtest-article ul {
  padding-left: 1.8rem;
  margin: 1.2rem 0;
  line-height: 1.8;
}

.speedtest-article li {
  margin-bottom: 0.6rem;
  font-size: 1.05rem;
}

.speedtest-article strong {
  color: var(--primary-color);
  font-weight: 600;
  font-size: 1.05rem;
}

.speedtest-article hr {
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--border-color), transparent);
  margin: 3rem 0;
}

.speedtest-article em {
  background: var(--hover-bg);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  display: block;
  margin: 2rem 0;
  border-left: 4px solid var(--primary-color);
  font-style: normal;
  font-size: 0.98rem;
  line-height: 1.6;
}

/* Section FAQ avec un style distinctif */
.speedtest-article h2:last-of-type {
  background: var(--hover-bg);
  padding: 1rem 1.5rem;
  border-radius: var(--border-radius);
  border: none;
  margin-top: 3rem;
  text-align: center;
}

.speedtest-article h2:last-of-type::before {
  display: none;
}

/* Supprimer le style des questions FAQ - retour au style normal */
.speedtest-article h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--accent);
  margin: 2rem 0 0.8rem;
}

/* Responsive pour la page speedtest */
@media (max-width: 1024px) {
  .speedtest-article {
    max-width: 95%;
    padding: 2.5rem;
  }
  
  .speedtest-article h1 {
    font-size: 1.9rem;
  }
  
  .speedtest-article h2 {
    font-size: 1.4rem;
  }
}

@media (max-width: 768px) {
  .speedtest-block {
    max-width: 95%;
    padding: 2rem 1.5rem;
  }
  
  .speedtest-article {
    padding: 2rem 1.5rem;
  }
  
  .speedtest-article h1 {
    font-size: 1.6rem;
    text-align: left;
  }
  
  .speedtest-article h2 {
    font-size: 1.3rem;
  }
  
  .speedtest-article h3 {
    font-size: 1.1rem;
  }
  
  .speedtest-article p {
    text-align: left;
    font-size: 1rem;
  }
}

@media (max-width: 480px) {
  .speedtest-article {
    padding: 1.5rem 1rem;
  }
  
  .speedtest-article h1 {
    font-size: 1.4rem;
  }
  
  .speedtest-article h2 {
    font-size: 1.2rem;
  }
} 