/** TBS FAQ Accordion Styles **/

.tbs_faq_accordion_wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
    font-family: 'DM Sans', sans-serif; /* Adjust font as needed */
}

.tbs_faq_item {
    border-bottom: 1px solid #EEE;
}

.tbs_faq_header {
    display: flex;
    align-items: center;
    padding: 20px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.tbs_faq_title {
    margin: 0;
    margin-bottom: 0px !important;
    font-size: 18px !important;
    font-weight: 500;
    color: #111;
    line-height: 1.4;
}

.tbs_faq_icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    margin-right: 15px;
    position: relative;
    flex-shrink: 0;
    align-self: center; /* Ensure it stays vertically centered even if title is multiline */
    top: 1px; /* Optical adjustment based on screenshot appearance */
}

.tbs_faq_icon_inner {
    width: 14px;
    height: 14px;
    position: relative;
}

.tbs_faq_icon_inner::before,
.tbs_faq_icon_inner::after {
    content: '';
    position: absolute;
    background-color: #000;
    transition: transform 0.3s ease;
}

/* Horizontal line */
.tbs_faq_icon_inner::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    transform: translateY(-50%);
}

/* Vertical line */
.tbs_faq_icon_inner::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    transform: translateX(-50%);
}

/* Active State */
/* .tbs_faq_item.active .tbs_faq_header {} */

/* Turn plus to minus on active */
.tbs_faq_item.active .tbs_faq_icon_inner::after {
    transform: translateX(-50%) rotate(90deg); /* Rotates to match horizontal, effectively disappearing */
}

.tbs_faq_content {
    display: none; /* Hidden by default */
    padding-bottom: 20px;
    padding-left: 40px; /* Align with text */
    color: #555;
    font-size: 15px;
}

/* Blog Breadcrumb Styles */
.tbs-blog-breadcrumb {
    font-size: 14px;
    color: #666;
    display: flex;
    align-items: center;
    flex-wrap: nowrap; /* Prevent wrapping to keep truncation working */
}

.tbs-breadcrumb-link {
    color: #0a42fc !important;
    text-decoration: none;
    font-weight: 500;
    white-space: nowrap;
}

.tbs-breadcrumb-link:hover {
    text-decoration: underline;
}

.tbs-breadcrumb-separator {
    margin: 0 8px;
    color: #999;
}

.tbs-breadcrumb-current {
    color: #999;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
    max-width: 100%; /* Default max width */
}

/* Responsive Truncation */
@media screen and (max-width: 768px) {
    .tbs-breadcrumb-current {
        max-width: 200px; /* Adjust limit for mobile/tablet */
    }
}

@media screen and (max-width: 480px) {
    .tbs-breadcrumb-current {
        max-width: 150px; /* Adjust limit for smaller screens */
    }
}

