/* FAQ Per Halaman - Frontend */
.fph-faq-wrapper {
    max-width: 800px;
    margin: 2rem auto;
    font-family: inherit;
}

.fph-faq-title {
    font-size: 22px;
    font-weight: 600;
    margin-bottom: 1.2rem;
    color: #1a1a1a;
}

.fph-accordion {
    border-radius: 8px;
    overflow: hidden;
}

.fph-item {
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 10px;
    background: #fff;
    overflow: hidden;
}

.fph-question {
    width: 100%;
    background: none;
    border: none;
    padding: 18px 20px;
    text-align: left;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a1a;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    transition: background 0.2s;
    line-height: 1.5;
}

.fph-question:hover {
    background: #f9f9f9;
}

.fph-question.active {
    background: #f4f1ff;
    color: #5849BE;
}

/* Icon + / x */
.fph-icon {
    flex-shrink: 0;
    position: relative;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #e8e8e8;
    transition: transform 0.3s ease, background 0.2s;
}

.fph-icon::before,
.fph-icon::after {
    content: '';
    position: absolute;
    background: #555;
    border-radius: 2px;
    transition: background 0.2s;
}

.fph-icon::before {
    width: 10px; height: 2px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
}

.fph-icon::after {
    width: 2px; height: 10px;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    transition: opacity 0.3s, background 0.2s;
}

.fph-question.active .fph-icon {
    background: #5849BE;
    transform: rotate(45deg);
}

.fph-question.active .fph-icon::before,
.fph-question.active .fph-icon::after {
    background: #fff;
}

/* Answer */
.fph-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
    padding: 0 20px;
}

.fph-answer.open {
    max-height: 600px;
    padding-bottom: 18px;
}

.fph-answer p {
    font-size: 14px;
    color: #555;
    line-height: 1.8;
    margin: 0;
    border-top: 1px solid #e0e0e0;
    padding-top: 14px;
}
