/* ================================================================
   FAQ ProReno – Frontend Styles
   Arculati színek: #0f172a (sötétkék), #ec4899 (rózsaszín)
   ================================================================ */

.faq-proreno {
    margin: 40px 0 20px;
    border-top: 1px solid #e2e4e7;
    padding-top: 30px;
}

.faq-proreno__title {
    font-size: 1.45em;
    font-weight: 700;
    margin: 0 0 20px;
    line-height: 1.3;
    color: #0f172a;
}

.faq-proreno__list {
    border: 1px solid #e2e4e7;
    border-left: 3px solid #0f172a;
    border-radius: 8px;
    overflow: hidden;
}

/* Egyetlen GYIK elem */
.faq-proreno__item {
    border-bottom: 1px solid #e2e4e7;
}

.faq-proreno__item:last-child {
    border-bottom: none;
}

/* Kérdés gomb */
.faq-proreno__question {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 16px 20px;
    background: #F9FAFB;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1em;
    font-weight: 500;
    line-height: 1.5;
    color: #0f172a;
    gap: 16px;
    transition: background-color 0.2s ease;
    font-family: inherit;
}

.faq-proreno__question:hover,
.faq-proreno__question:focus-visible {
    background: #f1f5f9;
}

.faq-proreno__question[aria-expanded="true"] {
    background: #f1f5f9;
}

/* Plusz / mínusz ikon */
.faq-proreno__icon {
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    position: relative;
}

.faq-proreno__icon::before,
.faq-proreno__icon::after {
    content: "";
    position: absolute;
    background: #ec4899;
    border-radius: 1px;
    transition: transform 0.3s ease;
}

.faq-proreno__icon::before {
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    margin-top: -1px;
}

.faq-proreno__icon::after {
    top: 0;
    left: 50%;
    width: 2px;
    height: 100%;
    margin-left: -1px;
}

.faq-proreno__question[aria-expanded="true"] .faq-proreno__icon::after {
    transform: rotate(90deg);
}

/* Válasz panel */
.faq-proreno__answer {
    overflow: hidden;
}

.faq-proreno__answer-inner {
    padding: 16px 20px 20px;
    line-height: 1.75;
    color: #3c434a;
    font-size: 0.97em;
}

/* Reszponzív finomítások */
@media (max-width: 600px) {
    .faq-proreno__question {
        padding: 14px 16px;
        font-size: 0.95em;
    }

    .faq-proreno__answer-inner {
        padding: 14px 16px 18px;
    }
}
