/* =========================================
   EMPLOYMENT FAQ STYLES
   ========================================= */

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
    color: #334155;
}

/* --- HEADER --- */
.faq-header {
    text-align: center;
}


.faq-header p {
    font-size: 1.2rem;
    color: #475569;
    font-style: italic;
}

/* --- ACCORDION ITEM --- */
.faq-item {
    border-bottom: 1px solid #e2e8f0;
    margin-bottom: 15px;
    padding-bottom: 15px;
}

.faq-item[open] {
    padding-bottom: 25px;
}

/* --- QUESTION (SUMMARY) --- */
.faq-item summary {
    list-style: none;
    /* Hide default triangle */
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    padding: 10px 5px;
    transition: all 0.2s ease;
}

.faq-item summary::-webkit-details-marker {
    display: none;
    /* Hide default triangle in Chrome/Safari */
}

.question-text {
    font-family: "Playfair Display", serif;
    font-size: 1.15rem;
    font-weight: 600;
    color: #1e293b;
    /* Navy */
    line-height: 1.4;
    width: 90%;
}

.faq-item summary:hover .question-text {
    color: #c5a059;
    /* Gold on hover */
}

/* --- ICON --- */
.icon {
    font-size: 1.5rem;
    color: #c5a059;
    font-weight: 300;
    transition: transform 0.3s ease;
}

.faq-item[open] .icon {
    transform: rotate(45deg);
    /* Turn + into x */
}

/* --- ANSWER --- */
.answer-text {
    margin-top: 10px;
    padding: 0 15px;
    font-size: 1rem;
    line-height: 1.7;
    color: #475569;
    animation: fadeIn 0.4s ease;
}

.answer-text p {
    margin-bottom: 15px;
}

.answer-text p:last-child {
    margin-bottom: 0;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}