/* Styles WordPress personnalisés pour maintenir la cohérence avec l'application React */

/* Styles pour le menu principal */
.menu-primary-container ul {
    display: flex;
    gap: 1rem;
    list-style: none;
    margin: 0;
    padding: 0;
}

.menu-primary-container li {
    margin: 0;
    padding: 0;
}

.menu-primary-container a {
    color: #082130; /* secondary color */
    text-decoration: none;
    padding: 0.25rem 0.75rem;
    transition: all 0.3s ease;
}

.menu-primary-container a:hover,
.menu-primary-container .current-menu-item a {
    color: #C4842C; /* primary color */
    border-bottom: 2px solid #C4842C;
}

/* Styles pour le menu mobile */
@media (max-width: 768px) {
    .menu-primary-container ul {
        flex-direction: column;
        gap: 0.5rem;
    }
}

/* Boutons */
.btn-primary {
    background-image: linear-gradient(to right, #C4842C, #D6B456);
    transition: background-color 0.3s ease;
    padding: 0.5rem 0.75rem;
    font-size: 0.875rem;
    font-weight: 500;
    color: #fff;
    text-align: center;
    text-decoration: none;
    border-radius: 0.375rem;
    border: transparent;
    cursor: pointer;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.btn-primary:hover {
    background: #b38425cb;
}

/* Styles pour le contenu des articles */
.prose {
    max-width: 65ch;
    color: #374151;
}

.prose h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: #1F2937;
}

.prose h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    color: #1F2937;
}

.prose p {
    margin-top: 1rem;
    margin-bottom: 1rem;
    line-height: 1.7;
}

.prose ul {
    list-style-type: disc;
    padding-left: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.prose ol {
    list-style-type: decimal;
    padding-left: 1.5rem;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

.prose li {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

.prose a {
    color: #C4842C;
    text-decoration: underline;
}

.prose a:hover {
    color: #A36B23;
}

.prose blockquote {
    border-left: 4px solid #C4842C;
    padding-left: 1rem;
    font-style: italic;
    margin-left: 0;
    margin-right: 0;
    color: #4B5563;
}

.prose img {
    margin-top: 2rem;
    margin-bottom: 2rem;
    border-radius: 0.375rem;
}

/* Pagination */
.page-numbers {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 9999px;
    border: 1px solid #E5E7EB;
    margin: 0 0.25rem;
    font-weight: 500;
    color: #4B5563;
    text-decoration: none;
}

.page-numbers:hover {
    background-color: #C4842C;
    color: white;
    border-color: #C4842C;
}

.page-numbers.current {
    background-color: #C4842C;
    color: white;
    border-color: #C4842C;
}

.page-numbers.prev,
.page-numbers.next {
    font-size: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* Formulaire de commentaires */
.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form input[type="url"],
.comment-form textarea {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid #E5E7EB;
    border-radius: 0.375rem;
    margin-bottom: 1rem;
}

.comment-form input[type="submit"] {
    background-color: #C4842C;
    color: white;
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.comment-form input[type="submit"]:hover {
    background-color: #A36B23;
}

/* Liste de commentaires */
.comment-list {
    margin-top: 2rem;
    list-style: none;
    padding: 0;
}

.comment {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid #E5E7EB;
}

.comment-author {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
}

.comment-author img {
    border-radius: 9999px;
    margin-right: 0.75rem;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #6B7280;
    margin-bottom: 0.75rem;
}

.comment-content {
    margin-bottom: 0.75rem;
}

.reply {
    font-size: 0.875rem;
}

.reply a {
    color: #C4842C;
    text-decoration: none;
}

.reply a:hover {
    text-decoration: underline;
    color: #A36B23;
}
