/* FAQ Block Styles dla Alchimica */
.alchimica-faq-block {
    margin: 2rem 0;
    padding: 1rem 0;
}

.faq-container {
    max-width: 100%;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid #e5e5e5;
    margin-bottom: 0;
}

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

/* Pytanie */
.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.faq-question:hover {
    color: #a11729;
}

.faq-question h3 {
    margin: 0;
    font-size: 1.125rem;
    font-weight: 600;
    line-height: 1.4;
    flex: 1;
    padding-right: 2rem;
    color: #000!important;
    transition: color 0.3s ease;
}

/* Strzalka */
.faq-arrow {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
    color: #666;
}

.faq-item.active .faq-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.faq-item.active .faq-arrow,
.faq-question:hover .faq-arrow {
    color: #a11729;
}

/* Odpowiedz */
.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out, padding 0.4s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding-bottom: 1.5rem;
    transition: max-height 0.4s ease-in, padding 0.4s ease-in;
}

.faq-answer-content {
    color: #555;
    line-height: 1.6;
    font-size: 1rem;
}

.faq-answer-content p {
    margin-bottom: 0.75rem;
}

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

.faq-answer-content a {
    color: #a11729;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.faq-answer-content a:hover {
    opacity: 0.8;
}

/* Pusta wiadomosc */
.faq-empty {
    text-align: center;
    color: #999;
    padding: 2rem;
    background: #f5f5f5;
    border-radius: 4px;
}

/* Responsywnosc */
@media (max-width: 768px) {
    .faq-question {
        padding: 1.25rem 0;
    }
    
    .faq-question h3 {
        font-size: 1rem;
        padding-right: 1.5rem;
    }
    
    .faq-arrow {
        width: 20px;
        height: 20px;
    }
    
    .faq-answer-content {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .alchimica-faq-block {
        margin: 1.5rem 0;
    }
    
    .faq-question {
        padding: 1rem 0;
    }
}
