/* Hoja de estilo incluida directamente */

#comments {
    margin: 2rem 0;
    padding: 1.5rem;
    background-color: #f9f9f9;
    border: 1px solid #ddd;
    border-radius: 10px;
}

#comments h2 {
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
    color: #333;
}

.comment-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

.comment {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background-color: #ffffff;
    border: 1px solid #eee;
    border-radius: 8px;
    display: flex;
    gap: 1rem;
}

.comment-body{
	display:flex;
}

.comment-author {
    font-weight: bold;
    color: #1a73e8;
  	font-size: 22px;
  	line-height: 22px;
}

/* Avatar con iniciales */
.custom-avatar {
    width: 45px;
    height: 45px;
    background-color: #0073aa;
    color: white;
    font-weight: bold;
    font-size: 1.1rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
	  margin-right: 10px;
}

/* Datos y texto */
.comment-body-content {
    flex-grow: 1;
}

.comment-metadata {
    font-size: 0.875rem;
    color: #777;
    margin-bottom: 0.5rem;
}

.comment-content p{
    font-size: 1rem;
    line-height: 1.5;
    color: #444;
}

.comment-reply-link {
    display: inline-block;
    margin-top: 0.5rem;
    font-size: 0.875rem;
    color: #0073aa;
    text-decoration: none;
}

.comment-reply-link:hover {
    color: #005177;
    text-decoration: underline;
}

#respond {
    margin-top: 3rem;
    background-color: #f1f1f1;
    padding: 1.5rem;
    border-radius: 10px;
}

#respond h3 {
    font-size: 1.25rem;
    margin-bottom: 1rem;
}

#respond input[type="text"],
#respond input[type="email"],
#respond input[type="url"],
#respond textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
}

#respond input[type="submit"] {
    background-color: #0073aa;
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    cursor: pointer;
}

#respond input[type="submit"]:hover {
    background-color: #005177;
}

.comment .children {
    margin-left: 2rem;
    margin-top: 1rem;
}

/* Alinear el checkbox y el texto del consentimiento */
.comment-form-cookies-consent, .comment-form-privacy {
  display: flex;
  align-items: center;
  gap: 8px; /* separación entre el checkbox y el texto */
  font-size: 14px;
  line-height: 1.4;
  margin-top: 10px;
}

/* Opcional: mejora la apariencia del checkbox */
.comment-form-cookies-consent input[type="checkbox"],.comment-form-privacy input[type="checkbox"] {
  width: 18px;
  height: 18px;
  accent-color: #0073aa; /* color azul de WP */
  cursor: pointer;
}

/* Opcional: estilo del texto */
.comment-form-cookies-consent label, .comment-form-privacy label {
    cursor: pointer;
    color: #666;
    font-size: 12px;
}

