/**
 * Szépség FAQ Styles
 * Verzió: 1.0.1 - Tisztított verzió
 */

/* =====================
   Fő konténer és oszlopok
   ===================== */
.szepseg-faq-container {
    display: flex;
    gap: 30px;
    margin: 0 auto;
}

.szepseg-faq-column {
    flex: 1;
    min-width: 0;
}

/* =====================
   FAQ elem
   ===================== */
.szepseg-faq-item {
    margin-bottom: 10px;
    border-radius: 4px;
    background: transparent;
    overflow: hidden;
}

/* =====================
   Kérdés gomb
   ===================== */
.szepseg-faq-question {
    width: 100%;
    padding: 20px;
    margin: 0;
    background: transparent;
    border-radius: 30px;
    border: 1px solid grey;
    box-shadow: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
    color: #242424;
    transition: background 0.3s ease, color 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

.szepseg-faq-question:hover, .szepseg-faq-question:active, .szepseg-faq-item.active .szepseg-faq-question {
    background: #0000001a;
    color: #000000;
    border: 1px solid #0000001a;
}

.szepseg-faq-question:focus {
    outline: 2px solid #0000004a;
    outline-offset: -2px;
}

/* =====================
   Ikon
   ===================== */
.szepseg-faq-icon {
    font-size: 20px;
    font-weight: 600;
    flex-shrink: 0;
    color: #242424;
    transition: transform 0.3s ease, color 0.3s ease;
}

.szepseg-faq-question:hover .szepseg-faq-icon,
.szepseg-faq-item.active .szepseg-faq-icon {
    color: #000000;
}

.szepseg-faq-item.active .szepseg-faq-icon {
    transform: rotate(45deg);
}

/* =====================
   Válasz tartalom
   ===================== */
.szepseg-faq-answer {
    display: grid;
    grid-template-rows: 0fr;
    transition: grid-template-rows 0.3s ease;
}

.szepseg-faq-item.active .szepseg-faq-answer {
    grid-template-rows: 1fr;
}

.szepseg-faq-answer-content {
    overflow: hidden;
    padding: 0 20px;
}

.szepseg-faq-item.active .szepseg-faq-answer-content {
    padding: 20px;
    margin-top: 10px;
    background: #f7f7f7;
    border-radius: 30px;
    font-family: "Poppins", sans-serif;
    font-size: 16px;
    line-height: 30px;
    color: #0B2C13;
}

.szepseg-faq-answer-content p:last-child {
    margin-bottom: 0;
}

/* =====================
   Üres állapot
   ===================== */
.szepseg-faq-empty {
    padding: 30px;
    text-align: center;
    background: #f9f9f9;
    border-radius: 8px;
    color: #666;
    font-style: italic;
}

/* =====================
   Reszponzív
   ===================== */
@media (max-width: 768px) {
    .szepseg-faq-container {
        flex-direction: column;
        gap: 0;
    }
    
    .szepseg-faq-column {
        width: 100%;
    }
    
    .szepseg-faq-question {
        font-size: 14px;
    }
    
    .szepseg-faq-answer-content {
        font-size: 14px;
        line-height: 24px;
    }
}

/* =====================
   Nyomtatás
   ===================== */
@media print {
    .szepseg-faq-item {
        page-break-inside: avoid;
    }
    
    .szepseg-faq-answer {
        grid-template-rows: 1fr;
    }
    
    .szepseg-faq-icon {
        display: none;
    }
}
