/*
 * #414: FAQ, Terms of Service and Privacy Policy content from the LLF API, styled to sit in the Astra theme.
 * The FAQ matches the website's Spectra FAQ blocks (white headings and pink question bars), so [llf_faq] goes inside
 * the /faq/ page's purple Spectra container.
 */
/* !important on the white text: the Spectra container sets the colour of everything in it
   (".wp-block-uagb-container.uagb-block-<id>.wp-block-uagb-container *"), which outranks these selectors. */
.llf-faq h2.llf-faq-section {
	color: #fff !important;
	font-size: 28px;
	font-weight: 400;
	line-height: 35px;
	margin: 88px 0 0;
}

.llf-faq h2.llf-faq-section:first-child {
	margin-top: 0;
}

.llf-faq .llf-faq-item {
	background: #fff;
	border: 1px solid #2f23f3;
	border-radius: 30px;
	margin-bottom: 5px;
	overflow: hidden;
	/* /faq/#q-<id> scrolls the question below the sticky site header. */
	scroll-margin-top: 120px;
}

.llf-faq .llf-faq-item[open] {
	border-color: #f1008a;
}

.llf-faq .llf-faq-item summary {
	align-items: center;
	background: #ff4081;
	cursor: pointer;
	display: flex;
	list-style: none;
	padding: 15px;
}

.llf-faq .llf-faq-item summary::-webkit-details-marker {
	display: none;
}

.llf-faq h3.llf-faq-question {
	color: #fff !important;
	flex: 1;
	font-size: 20px;
	font-weight: 500;
	line-height: 30px;
	margin: 0;
}

.llf-faq .llf-faq-item summary svg {
	fill: #fff;
	flex: none;
	height: 16px;
	margin-left: 15px;
	width: 16px;
}

.llf-faq .llf-faq-item .llf-faq-icon-open,
.llf-faq .llf-faq-item[open] .llf-faq-icon-closed {
	display: none;
}

.llf-faq .llf-faq-item[open] .llf-faq-icon-open {
	display: block;
}

.llf-faq .llf-faq-answer {
	border-top: 1px solid #2f23f3;
	color: #000;
	font-size: 17px;
	line-height: 27.2px;
	padding: 15px;
}

.llf-faq .llf-faq-answer p {
	margin: 0 0 0.75em;
}

.llf-faq .llf-faq-answer > :last-child,
.llf-faq .llf-faq-answer > div > :last-child {
	margin-bottom: 0;
}

.llf-content ul,
.llf-content ol {
	margin: 0 0 0.75em 1.5em;
}

.llf-content img {
	height: auto;
	max-width: 100%;
}

.llf-content table {
	border-collapse: collapse;
	width: 100%;
	margin-bottom: 1.5em;
}

.llf-content th,
.llf-content td {
	border: 1px solid #ddd;
	padding: 0.5em;
	text-align: left;
	vertical-align: top;
}
