﻿/**
 * Forms and comments
 * @package Elmaslar
 */

.search-form {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	max-width: 32rem;
}

.search-form__field {
	flex: 1 1 12rem;
	padding: 0.625rem 0.75rem;
	border: 1px solid var(--elmaslar-color-border);
	border-radius: 4px;
	font: inherit;
}

.search-form__submit,
.button {
	display: inline-block;
	padding: 0.625rem 1.25rem;
	border: none;
	border-radius: 4px;
	background-color: var(--elmaslar-color-primary);
	color: #ffffff;
	font: inherit;
	cursor: pointer;
	text-decoration: none;
}

.search-form__submit:hover,
.button:hover {
	opacity: 0.9;
}

/* -------------------------------------------------------------------------
   Comments
   ------------------------------------------------------------------------- */

.comments-area {
	margin-top: calc(var(--elmaslar-spacing) * 2);
	padding-top: var(--elmaslar-spacing);
	border-top: 1px solid var(--elmaslar-color-border);
}

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

.comment-list .children {
	list-style: none;
	margin-inline-start: 2rem;
}
