/* =============================================================================
   FAQ Block — Frontend Stylesheet
   ============================================================================= */

/* Section */
.faq-block {
    position: relative;
    padding-top: 6rem;
    padding-bottom: 6rem;
    padding-left: 1rem;
    padding-right: 1rem;
    background-color: #050505;
    color: #ffffff;
    overflow: hidden;
    box-sizing: border-box;
}

/* Container */
.faq-container {
    max-width: 48rem;
    /* narrower container for better readability */
    margin-left: auto;
    margin-right: auto;
    position: relative;
    z-index: 10;
}

/* Header */
.faq-header {
    text-align: left;
    margin-bottom: 4rem;
}

.faq-heading {
    font-family: "Syne", ui-sans-serif, system-ui, sans-serif;
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: -0.04em;
    line-height: 1.1;
    margin: 0 0 1rem 0;
    color: #ffffff;
}

.faq-subheading {
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.125rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
    margin: 0;
}

/* Accordion Group */
.faq-list {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Item */
.faq-item {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    transition: background-color 0.2s ease;
}

.faq-item:hover {
    background-color: rgba(255, 78, 0, 0.03);
    /* Very subtle orange tint */
}

/* Button Trigger */
.faq-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 1rem;
    /* Added horizontal padding for the hover box */
    background: transparent;
    border: none;
    color: #ffffff;
    cursor: pointer;
    text-align: left;
}

.faq-btn:hover,
.faq-btn:focus-visible,
.faq-btn:focus {
    background-color: transparent !important;
    outline-offset: 4px;
}

.faq-btn:hover .faq-q {
    color: #FF4E00;
}

.faq-q {
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 1.125rem;
    font-weight: 600;
    transition: color 0.2s ease;
    padding-right: 2rem;
}

.faq-icon {
    flex-shrink: 0;
    color: #FF4E00;
}

/* Expanded Content wrapper */
.faq-content-wrap {
    overflow: hidden;
    /* max-height handled by JS animation usually, or just display:none/block. 
       We will use a simple approach with JS or CSS. */
}

/* Hidden state */
.faq-content-wrap[hidden] {
    display: none;
}

.faq-content-inner {
    padding-bottom: 1.5rem;
    padding-left: 1rem;
    padding-right: 1rem;
}

.faq-a {
    font-family: "Inter", ui-sans-serif, system-ui, sans-serif;
    font-size: 1rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

/* Responsive Padding */
@media (min-width: 768px) {
    .faq-block {
        padding-top: 8rem;
        padding-bottom: 8rem;
    }
}