/* 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;
}

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

.faq-parent-list article:hover,
.faq-parent-list article:focus-within {
    box-shadow: 0px 0px 10px rgba(0,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;
    display: block;
    color: var(--hope-air-blue);
    opacity: .7;
}


/* Child list */

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

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

.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 */

.faq-search-form {
    display: flex;
    margin-right: 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);
}