/* Borom FAQ Frontend Styles */

/* Accessibility Cleanup */
.skip-link, .screen-reader-text { 
    display: none !important; 
}

/* Page Layout Container */
.borom-faq-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    place-content: center;
    flex: 0 0 auto;
    gap: 34px;
    height: min-content;
    max-width: 1160px;
    margin: 0 auto;
    overflow: hidden;
    padding: 40px 20px 160px;
    position: relative;
    width: 100%;
    box-sizing: border-box;
}

.borom-faq-tabs, 
.borom-faq-summary, 
.borom-faq-accordion, 
.borom-faq-pagination {
    width: 100%;
}

/* Tabs */
.borom-faq-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}
.faq-tab {
    padding: 10px 24px;
    border: 1px solid #ddd;
    border-radius: 30px;
    text-decoration: none;
    color: #666;
    font-weight: 600;
    font-size: 15px;
    transition: all 0.3s ease;
}
.faq-tab.active {
    background: #0046ad;
    color: #fff;
    border-color: #0046ad;
}

/* Summary */
.borom-faq-summary {
    font-size: 16px;
    color: #333;
    font-weight: 500;
    margin-bottom: 10px;
}
.borom-faq-summary span {
    color: #0046ad;
    font-weight: 700;
}

/* Accordion */
.borom-faq-accordion {
    border-top: 2px solid #333;
}
.faq-item {
    border-bottom: 1px solid #eee;
}
.faq-question {
    padding: 14px 12px 14px 40px;
    display: flex;
    align-items: center;
    cursor: pointer;
    position: relative;
    background: #edf6fc;
    margin-bottom: 15px;
}
.q-icon {
    font-size: 20px;
    font-weight: 800;
    color: #0046ad;
    margin-right: 15px;
}
.faq-question h3 {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    flex: 1;
}
.faq-question i {
    font-size: 24px;
    color: #999;
    transition: transform 0.3s ease;
}
.faq-item.active .faq-question i {
    transform: rotate(180deg);
}
.faq-answer {
    padding: 0 0 30px 40px;
}
.a-content {
    color: #666;
    font-size: 16px;
    line-height: 1.8;
}

/* Pagination */
.borom-faq-pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 50px;
}
.page-num {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid #ddd;
    text-decoration: none;
    color: #666;
    border-radius: 4px;
    transition: 0.3s;
}
.page-num.active {
    background: #0046ad;
    color: #fff;
    border-color: #0046ad;
}

/* Restricted Message */
.borom-faq-restricted {
    padding: 50px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 10px;
    color: #999;
}
