/* TypeMill FAQ Plugin Styles */
/* Based on WordPress VK Blocks FAQ styles */

:root {
	--typemill-faq-border-color: rgba(0, 0, 0, 0.12);
	--typemill-faq-q-color: #e50000;
	--typemill-faq-a-color: #337ab7;
}

.typemill-faq {
	display: block;
	overflow: hidden;
	padding: 0 0 1rem;
	margin: 0 auto 1rem auto;
	width: 100%;
	position: relative;
	border-bottom: none !important;
}

.typemill-faq-title {
	border: none;
	padding: 0.8rem 0.8rem 0.8rem 3rem;
	margin: 0;
	position: relative;
	font-weight: bold;
	font-size: 16px;
	border-bottom: 1px dotted var(--typemill-faq-border-color);
}

.typemill-faq-title::before {
	position: absolute;
	left: 0;
	top: 0.7rem;
	font-weight: 500;
	font-size: 22px;
	line-height: 105%;
	width: 2.1rem;
	height: 2.1rem;
	line-height: 2.1rem;
	text-align: center;
	font-family: "Arial", sans-serif;
	content: "Q";
	color: var(--typemill-faq-q-color);
}

.typemill-faq-title p:first-of-type {
	margin-top: 0;
}

.typemill-faq-title p:last-child {
	margin-bottom: 0;
}

.typemill-faq-title p {
	line-height: 1.7;
}

@media (min-width: 768px) {
	.typemill-faq-title {
		font-size: 18px;
	}
}

.typemill-faq-content {
	border: none;
	padding: 0.8rem 0.8rem 0.8rem 3rem;
	margin: 0;
	position: relative;
	font-weight: normal;
	-webkit-transition: 0.25s;
	transition: 0.25s;
	font-size: 1em;
	width: 100%;
}

.typemill-faq-content::before {
	position: absolute;
	left: 0;
	top: 0.7rem;
	font-weight: 500;
	font-size: 22px;
	line-height: 105%;
	width: 2.1rem;
	height: 2.1rem;
	line-height: 2.1rem;
	text-align: center;
	font-family: "Arial", sans-serif;
	content: "A";
	color: var(--typemill-faq-a-color);
}

.typemill-faq-content p:first-of-type {
	margin-top: 0;
}

.typemill-faq-content p:last-child {
	margin-bottom: 0;
}

.typemill-faq dl {
	border-bottom: none !important;
}

/* Dark mode support */
body.dark-mode .typemill-faq {
	border-bottom-color: rgba(255, 255, 255, 0.12);
}

body.dark-mode .typemill-faq-title {
	border-bottom-color: rgba(255, 255, 255, 0.12);
	color: #e0e0e0;
}

body.dark-mode .typemill-faq-content {
	color: #e0e0e0;
}

