
/* FAQ styles go here */

/* Colours */
:root {
	--hope-air-blue: #1f3f53;
	--hope-air-vibrant-blue: #00fff7;
	--hope-air-accent-blue: #00d9ff;
}

/* Parent list */
.faq-parent-list {
	display: flex;
	flex-wrap: wrap;
	gap: 20px;
	margin: 50px 0px;
}

@media (max-width: 768px) {
	.faq-parent-list {
		justify-content: center;
	}
}

.faq-parent-list article {
	width: calc(33.33% - 20px);
	background: #f5f5f5;
	padding: 20px;
	position: relative;
	transition: all .3s ease;
	min-width: 325px;
}

@media (max-width: 1200px) {
	.faq-parent-list article {
		width: calc(50% - 20px);
	}
}

@media (max-width: 768px) {
	.faq-parent-list article {
		width: 100%;
	}
}

.faq-parent-list article:hover, .faq-parent-list article:focus-within {
	box-shadow: 0px 0px 10px rgba(0, 0, 0, .2);
}

.faq-parent-list article a {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	z-index: 1;
}

.faq-parent-list article h3 {
	color: var(--hope-air-blue);
	font-size: 30px;
}

.faq-parent-list article span {
	font-size: 20px;
	font-weight: 700;
	display: block;
	color: var(--hope-air-blue);
	opacity: .8;
}

/* Child list */
.faq-child-block {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	gap: 20px;
}

@media (max-width: 768px) {
	body.child-page div.faq-sidebar {
		order: 1;
	}
}

.faq-child-block a {
	width: calc(33.33% - 20px);
	background: #f5f5f5;
	padding: 20px;
	position: relative;
	min-width: 325px;
}

@media (max-width: 768px) {
	.faq-child-block a {
		width: 100%;
	}
}

.faq-child-block article h3 {
	color: var(--hope-air-blue);
	font-size: 25px;
}

/* FAQ Sidebar */
body.has-children div.faq-sidebar {
	width: 0px;
}

body.child-page div.faq-sidebar {
	width: 400px;
	flex-shrink: 0;
	background: #f5f5f5;
	padding: 50px 20px;
	border-radius: 5px;
	margin-right: 50px;
}

div.faq-sidebar h3 {
	font-size: 25px;
	font-weight: normal;
	margin-top: 0px;
	margin-left: 28px;
}

div.faq-sidebar ul li {
	margin-bottom: 10px;
	transition: all .3s ease;
}

div.faq-sidebar ul li.active {
	color: var(--hope-air-accent-blue);
}

div.faq-sidebar ul li:hover, div.faq-sidebar ul li:focus-within {
	color: var(--hope-air-accent-blue);
}

/* FAQ Search Form */
.back-to-help-center {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	color: #3098c4;
	text-decoration: none;
	transition: color .3s ease;
}

.back-to-help-center {
	display: none;
}

.single-faq .back-to-help-center {
	display: block;
}

.back-to-help-center:hover, .back-to-help-center:focus {
	color: #1f3f53;
}

.back-to-help-center__icon {
	flex-shrink: 0;
}

.help-center-navigation {
	display: flex;
	align-items: center;
	justify-content: flex-end;
	margin-top: 40px;
}

.single-faq .help-center-navigation {
	justify-content: space-between;
}

@media (max-width: 768px) {
	.single-faq .help-center-navigation {
		flex-direction: column;
		align-items: flex-start;
	}
}

.faq-search-form {
	display: flex;
	margin-right: 20px;
	justify-content: flex-end;
}

.single-faq .faq-search-form {
	margin-top: 0px;
	margin-right: 0px;
}

@media (max-width: 768px) {
	.single-faq .faq-search-form {
		margin-top: 20px;
	}
}

.faq-search-form input[type="search"] {
	height: 50px;
	min-height: 50px;
}

.faq-search-form button[type="submit"] {
	color: white;
	padding: 10px 20px 8px;
	height: 50px;
	border-radius: 0px;
}

.faq-search-form button[type="submit"]:hover, .faq-search-form button[type="submit"]:focus-within {
	background: white;
	color: var(--hope-air-blue);
	border-color: var(--hope-air-blue);
}
