/**
 * ModulWoo FAQ Styles
 * Verzió: 1.0.1
 */

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

/* Oszlopok */
.modulwoo-faq-column {
    flex: 1;
    min-width: 0;
}

/* FAQ elem */
.modulwoo-faq-item {
    margin-bottom: 10px;
    border-radius: 4px;
    background: #fff;
    overflow: hidden;
}

/* Button reset - csak a FAQ gombokra */
.modulwoo-faq-question {
    width: 100%;
    padding: 20px 20px;
    margin: 0;
    border: none;
    background-color: #F0F2D8;
    background-image: none;
    border-radius: 30px;
    box-shadow: none;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    text-transform: none;
    letter-spacing: normal;
    font-weight: inherit;
    line-height: normal;
    transition: all 0.3s ease;
    -webkit-appearance: none;
    appearance: none;
}

/* Hover állapot */
.modulwoo-faq-question:hover {
    background-color: #0a2c12 !important;
        background: #0a2c12 !important;
    background-image: none !important;
    color: #fff !important;
    transform: none !important;
    box-shadow: none !important;
}

.modulwoo-faq-question:hover {
    color: #ffffff !important;
}

.modulwoo-faq-question:hover .modulwoo-faq-icon {
    color: #ffffff !important;
}

/* Focus állapot */
.modulwoo-faq-question:focus {
    outline: 2px solid #F0F2D8 !important;
    outline-offset: -2px !important;
    box-shadow: none !important;
}

/* Active állapot (kattintáskor) */
.modulwoo-faq-question:active {
    transform: none !important;
    box-shadow: none !important;
    background-color: #0a2c12 !important;
    background: #0a2c12 !important;
}

/* Aktív (lenyitott) FAQ elem - ALAP állapot */
.modulwoo-faq-item.active .modulwoo-faq-question {
    background-color: #0a2c12 !important;
    background: #0a2c12 !important;
    background-image: none !important;
}



.modulwoo-faq-item.active .modulwoo-faq-question {
    color: #ffffff !important;
}

.modulwoo-faq-item.active .modulwoo-faq-question .modulwoo-faq-icon {
    color: #ffffff !important;
}

/* Aktív elem HOVER állapota */
.modulwoo-faq-item.active .modulwoo-faq-question:hover {
    background-color: #0a2c12 !important;
    background: #0a2c12 !important;
}



.modulwoo-faq-item.active .modulwoo-faq-question:hover,
.modulwoo-faq-item.active .modulwoo-faq-question:hover .modulwoo-faq-icon {
    color: #ffffff !important;
}

.modulwoo-faq-question {
    margin: 0;
    flex: 1;
    padding-right: 15px;
    color: #242424;
    font-family: "Poppins", Sans-serif;
    font-size: 16px;
    font-weight: 500;
    line-height: 1.4;
}

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

.modulwoo-faq-answer-content {
    overflow: hidden;
}

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

.modulwoo-faq-answer-content {
    padding: 0 20px;
}

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



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

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

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

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

/* Reszponzív beállítások */
@media (max-width: 768px) {
    .modulwoo-faq-container {
        flex-direction: column;
        gap: 0;
    }
    
    .modulwoo-faq-column {
        width: 100%;
    }
    
    .modulwoo-faq-question h3 {
        font-size: 14px;
    }
    
    .modulwoo-faq-answer-content p {
        font-size: 14px;
        line-height: 24px;
    }
}

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