/* General Reset */
body {
    margin: 0;
    font-family: 'Matimo', sans-serif;
}

/* FAQ Container */
.faq-container {
    display: flex;
    gap: 20px;
    padding: 20px;
    max-width: 1400px;
    margin: auto;
    box-sizing: border-box;
}

/* Sidebar */
.faq-sidebar {
    width: 350px;
    color: #3F5876;
    font-weight: 600;
    border-right: 1px solid #eaeaea;
    padding-right: 15px;
}

/* Search Box */
.faq-search-box {
    margin-bottom: 20px;
    padding: 10px;
}

.faq-search-box input {
    width: 100%;
    font-size: 14px;
    border: 1px solid #ccc;
    border-radius: 5px;
    box-sizing: border-box;
}

.faq-search-box input:focus {
    border-color: #007bff;
    outline: none;
    box-shadow: 0 0 3px rgba(0, 123, 255, 0.5);
}


/* Category title with left-aligned icon and right-aligned arrow */
.faq-category-title {
    display: flex;
    justify-content: space-between; /* Aligns icon+text left, arrow right */
    align-items: center;
    padding: 10px 0px;
    cursor: pointer;
    font-size: 16px;
    color: #3F5876;
    font-weight: 600;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.faq-category-title:hover {
    background-color: #f9f9f9;
}

/* Left-aligned icon and text */
.faq-category-title .category-icon-and-text {
    display: flex;
    align-items: center;
    gap: 10px; /* Space between icon and text */
}

.faq-category-title .category-icon-and-text i {
    font-size: 18px;
    color: #007bff;
}

/* Right-aligned toggle arrow */
.faq-category-title .toggle-icon {
    font-size: 14px;
    color: #007bff;
    transition: transform 0.3s ease;
}

/* Initially hidden articles */
.faq-articles {
    list-style: none;
    padding: 0;
    margin: 0;
    display: none; /* Hidden initially */
}


.faq-articles .faq-article-link {
    margin-bottom: 5px;
}

.faq-articles .faq-article-link a {
    text-decoration: none;
    color: #566E8B;
    font-size: 14px;
    transition: color 0.3s;
}

.faq-articles .faq-article-link a:hover {
    color: #007bff;
}

.faq-articles .faq-article-link.active a {
    font-weight: bold;
    color: #007bff;
}

/* Main Content */
.faq-content {
    flex: 1;
    padding: 20px;
    box-sizing: border-box;
    background-color: #fff;
    box-shadow: 0px 0px 4px rgba(0, 0, 0, 0.1);
}

/* Breadcrumb Navigation */
.faq-breadcrumb {
    margin-bottom: 20px;
    font-size: 14px;
}

.faq-breadcrumb a {
    color: #007bff;
    text-decoration: none;
}

.faq-breadcrumb a:hover {
    text-decoration: underline;
}

.faq-breadcrumb span {
    color: #555;
}

/* Post Title */
.faq-content h1 {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 20px;
}

/* Post Content */
.faq-text-content {
    font-size: 16px;
    line-height: 1.6;
}

.faq-text-content p {
    margin-bottom: 20px;
}

.faq-text-content ul {
    margin-bottom: 20px;
    padding-left: 20px;
}

.faq-text-content ul li {
    list-style: disc;
}

/* Post Navigation */
.faq-navigation {
    display: flex;
    justify-content: space-between;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid #eaeaea;
}

.faq-navigation a {
    text-decoration: none;
    color: #007bff;
}

.faq-navigation a:hover {
    text-decoration: underline;
}

.faq-navigation .prev-post a,
.faq-navigation .next-post a {
    text-decoration: none;
    color: #007bff;
    font-size: 16px;
    font-weight: 700;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}
