/**
 * Moduuli: 09-comments.css
 * Description: Kommenttiosion ja lomakkeiden tyylit.
 * Version: 1.0
 */

.comments-area {
	margin-top: 3rem;
}
.comments-title {
	font-size: 1.5rem;
	margin-bottom: 1.5rem;
}
.comment-list {
	list-style: none;
	padding: 0;
	margin: 0;
}
.comment-body {
	padding: 1.5rem 0;
	border-top: 1px solid #eee;
}
.comment-list .children {
	list-style: none;
	padding-left: 2rem;
}
.comment-meta {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	margin-bottom: 1rem;
}
.comment-author-name {
	font-weight: 800;
	font-size: 1.1rem;
}
.staff-tag {
	color: #024f91;
	font-weight: 800;
}
.comment-metadata, .comment-metadata a {
	font-size: 0.8rem;
	color: #6c6c6c;
}
.comment-content {
	line-height: 1.7;
}
.comment-content blockquote {
	border-left: 3px solid #024f91;
	padding-left: 1rem;
	margin: 1rem 0;
	font-style: italic;
	color: #6c6c6c;
}
.comment-actions {
	margin-top: 1rem;
	display: flex;
	align-items: center;
	gap: 1.5rem;
}
.comment-actions button {
	background: none;
	border: none;
	padding: 0;
	cursor: pointer;
	font-size: 0.9rem;
	font-weight: 700;
	color: #6c6c6c;
}
.comment-actions button:hover {
	color: #024f91;
}
.comment-voting {
	display: flex;
	align-items: center;
	gap: 1rem;
	margin-left: auto;
}
.comment-vote-button {
	display: flex;
	align-items: center;
	gap: 0.4rem;
	font-size: 1.2rem;
	line-height: 1;
}
.comment-vote-button.is-active {
	color: #024f91;
}
.comment-vote-button .comment-vote-count {
	font-size: 0.9rem;
	line-height: 1.2;
}

.comment-status-box {
	background-color: #e7f0f7;
	border-left: 4px solid #024f91;
	padding: 1rem 1.5rem;
	margin-bottom: 2rem;
}
.comment-status-box p {
	margin: 0;
	font-weight: 600;
}
.comment-status-box.is-closed {
	background-color: #f8d7da;
	border-left-color: #721c24;
	color: #721c24;
}

/* Kommenttilomake */
.comment-form-comment {
	margin-bottom: 1rem;
}
.comment-form-comment label {
	display: none;
}
.comment-form-comment textarea {
	width: 100%;
	padding: 1rem;
	border: 1px solid #ccc;
	border-radius: 5px;
	background-color: #f9f9f9;
}
.comment-submit-button {
	background-color: #024f91;
	color: #ffffff;
	border: 2px solid #024f91;
	padding: 0.8rem 2rem;
	font-size: 1rem;
	font-weight: 900;
	cursor: pointer;
	text-transform: uppercase;
	transition: background-color 0.3s ease, color 0.3s ease;
	border-radius: 999px;
}
.comment-submit-button:hover {
	background-color: #ffffff;
	color: #024f91;
}
.comment-rules-box {
	background-color: #e7f0f7;
	border-left: 4px solid #024f91;
	padding: 1rem 1.5rem;
	margin-bottom: 1.5rem;
}
.comment-rules-box a {
	font-weight: 700;
}
.logged-in-as {
	font-size: 0.9rem;
	color: #6c6c6c;
}
.logged-in-as a {
	font-weight: 700;
}
