/*
Theme Name: AntWeb 2026
Author: Anthony Henriques
Description: Thème sur mesure avec design clair, logo animé, portfolio dynamique et terminal rétro.
Version: 1.0
Text Domain: antweb
*/

/* Animation infinie pour le bandeau horizontal des services */
@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); } /* S'arrête exactement à la moitié du bloc doublé */
}

.animate-marquee {
  animation: marquee 25s linear infinite;
  /* Obligatoire pour que le ruban déborde de l'écran au lieu de se compresser */
  width: max-content; 
}

/* Pause au survol (optionnel, pour l'accessibilité) */
.overflow-hidden:hover > .animate-marquee {
  animation-play-state: paused;
}

@keyframes marquee-vertical {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); } /* S'arrête à 50% car le contenu est doublé */
}
.animate-marquee-vertical {
  animation: marquee-vertical 25s linear infinite;
}
.group:hover .animate-marquee-vertical {
  animation-play-state: paused;
}

/* Mise en forme du contenu des articles WordPress */
.post-content p {
    margin-bottom: 1.5rem;
}
.post-content h2 {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1a5293;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
}
.post-content h3 {
    font-size: 1.35rem;
    font-weight: 700;
    color: #2d3748;
    margin-top: 2rem;
    margin-bottom: 0.75rem;
}
.post-content ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.post-content ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-bottom: 1.5rem;
}
.post-content li {
    margin-bottom: 0.5rem;
}
.post-content a {
    color: #1a5293;
    text-decoration: underline;
}
.post-content a:hover {
    color: #2b6cb0;
}
.post-content blockquote {
    border-left: 4px solid #1a5293;
    padding-left: 1rem;
    font-style: italic;
    color: #4a5568;
    margin: 1.5rem 0;
    background-color: #f7fafc;
    padding: 1rem;
    border-radius: 0.25rem;
}
/* Pagination pour les pages d'archives (Catégories, Étiquettes, Recherche) */
.pagination .nav-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 0.5rem;
}
.pagination .page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    background-color: #f3f4f6; /* Gris clair */
    color: #4b5563; /* Gris foncé */
    border-radius: 0.25rem;
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.2s ease-in-out;
}
.pagination .page-numbers:hover {
    background-color: #e5e7eb;
}
.pagination .page-numbers.current {
    background-color: #1a5293; /* Bleu AntWeb */
    color: #ffffff;
}