/**
 * FAQ Block Frontend Styles
 * Using Bootstrap 5 Accordion Style (matching ACCOMODATION-LABUAN-BAJO template)
 * Bootstrap accordion classes will handle most styling
 */

/* FAQ Block Wrapper */
.faq-block-wrapper {
    margin-top: 30px;
}

/* Container spacing */
.faq-block-wrapper + .container {
    margin-top: 20px;
    margin-bottom: 40px;
}

/* FAQ Container */
.faq-container {
    width: 100%;
}

/* Bootstrap Accordion - minimal custom styling */
.faq-container .accordion-button {
    font-weight: 500;
    font-size: 16px;
    padding: 1rem 1.25rem;
}

.faq-container .accordion-button:not(.collapsed) {
    color: var(--bg, #1855ab);
    background-color: #f8f9fa;
}

.faq-container .accordion-button:focus {
    box-shadow: none;
    border-color: rgba(0,0,0,.125);
}

.faq-container .accordion-body {
    padding: 1.25rem;
    font-size: 15px;
    line-height: 1.7;
    color: #4b5563;
}

.faq-container .accordion-body p {
    margin-bottom: 0.75rem;
}

.faq-container .accordion-body p:last-child {
    margin-bottom: 0;
}

/* Links in answer */
.faq-container .accordion-body a {
    color: var(--bg, #1855ab);
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: border-color 0.2s;
}

.faq-container .accordion-body a:hover {
    border-bottom-color: var(--bg, #1855ab);
}

/* Lists in answer */
.faq-container .accordion-body ul,
.faq-container .accordion-body ol {
    margin: 10px 0;
    padding-left: 20px;
}

.faq-container .accordion-body li {
    margin-bottom: 5px;
}

/* Strong/Bold text */
.faq-container .accordion-body strong {
    font-weight: 600;
    color: #1f2937;
}

/* Empty state */
.faq-container .text-muted {
    color: #6b7280 !important;
}

/* Responsive */
@media (max-width: 768px) {
    .faq-block-wrapper {
        margin-top: 20px;
    }

    .faq-block-wrapper + .container {
        margin-bottom: 30px;
    }

    .faq-container .accordion-button {
        font-size: 15px;
        padding: 0.875rem 1rem;
    }

    .faq-container .accordion-body {
        padding: 1rem;
        font-size: 14px;
    }
}

@media (max-width: 480px) {
    .tkij-sec h2 {
        font-size: 1.5rem;
    }

    .faq-container .accordion-button {
        font-size: 14px;
        padding: 0.75rem 0.875rem;
    }

    .faq-container .accordion-body {
        padding: 0.875rem;
    }
}

/* Print Styles */
@media print {
    .faq-container .accordion-button::after {
        display: none;
    }

    .faq-container .accordion-collapse {
        display: block !important;
    }
}

/* Smooth transition */
.faq-container .accordion-item {
    transition: all 0.3s ease;
}

/* Accessibility: Focus States */
.faq-container .accordion-button:focus-visible {
    outline: 2px solid var(--bg, #1855ab);
    outline-offset: 2px;
}
