.comments-area {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.comments-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    text-align: center;
}

.comment-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.single-comment {
    display: flex;
    margin-bottom: 20px;
    padding: 15px;
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e0e0e0;
}

.comment-body {
    width: 100%;
}

.comment-avatar {
    margin-right: 15px;
}

.comment-avatar img {
    border-radius: 50%;
}

.comment-content {
    flex: 1;
}

.comment-author {
    font-weight: bold;
    color: #555;
}

.comment-date {
    font-size: 14px;
    color: #999;
    margin-left: 10px;
}

.comment-text {
    margin: 10px 0;
    font-size: 16px;
    color: #333;
    line-height: 1.5;
}

.comment-reply {
    font-size: 14px;
    color: #0073aa;
    text-align: right;
}

.comment-reply a {
    color: #0073aa;
    text-decoration: none;
}

.comment-reply a:hover {
    color: #005177;
}


/* Comment form
/*  ---------------------------------------------------------------------------------------------*/


/* Contenitore generale del form */
.comment-respond {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
}

.comment-respond h3 {
    font-size: 24px;
    color: #333;
    font-weight: bold;
    margin-bottom: 15px;
    text-align: center;
}

/* Campi di input e textarea */
.comment-form p {
    margin-bottom: 15px;
}

.comment-form input[type="text"],
.comment-form input[type="email"],
.comment-form textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
    color: #333;
    background-color: #fff;
    transition: border-color 0.3s;
}

.comment-form input[type="text"]:focus,
.comment-form input[type="email"]:focus,
.comment-form textarea:focus {
    border-color: #0073aa;
    outline: none;
}

/* Stile per il pulsante di invio */
.comment-form .form-submit input[type="submit"] {
    background-color: #0073aa;
    color: #fff;
    border: none;
    padding: 12px 20px;
    font-size: 16px;
    font-weight: bold;
    border-radius: 5px;
    cursor: pointer;
    box-sizing: border-box; /* Assicura che padding e bordo siano inclusi nella larghezza */
    transition: background-color 0.3s;
}

.comment-form .form-submit input[type="submit"]:hover {
    background-color: #005177;
}

/* Stile per il campo del testo del commento */
.comment-form-comment textarea {
    min-height: 150px;
    resize: vertical;
    box-sizing: border-box; /* Anche qui per sicurezza */
}

/* Stile per i messaggi di errore e successo */
.comment-form .form-allowed-tags {
    font-size: 14px;
    color: #999;
    margin-top: 10px;
    text-align: center;
}

/* Adattamento responsive */
@media (max-width: 768px) {
    .comment-respond {
        padding: 15px;
    }
    
    .comment-form input[type="text"],
    .comment-form input[type="email"],
    .comment-form textarea {
        font-size: 14px;
        padding: 10px;
    }
    
    .comment-form .form-submit input[type="submit"] {
        font-size: 14px;
        padding: 10px 15px;
    }
}
