/**
 * Stili per la sezione FAQ (accordion).
 */

.eprize-faq-wrapper {
    max-width: 800px;
    margin: 2em auto;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.eprize-faq-category {
    margin-bottom: 2.5em;
}

.eprize-faq-category-title {
    font-size: 1.8rem;
    color: #2c3e50;
    margin-bottom: 1em;
    padding-bottom: 0.5em;
    border-bottom: 2px solid #3498db;
}

.eprize-faq-item {
    border-bottom: 1px solid #e9ecef;
}
.eprize-faq-category:last-of-type .eprize-faq-item:last-child {
    border-bottom: none;
}

.eprize-faq-question {
    width: 100%;
    background: none;
    border: none;
    text-align: left;
    padding: 20px 15px;
    cursor: pointer;
    font-size: 1.1rem;
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background-color 0.2s;
}

.eprize-faq-question:hover {
    background-color: #f8f9fa;
    color: #2c3e50; /* Assicura che il testo rimanga scuro */
}

.eprize-faq-icon {
    width: 14px;
    height: 14px;
    transition: transform 0.3s ease-in-out;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%233498db'%3E%3Cpath d='M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6v2z'/%3E%3C/svg%3E");
    background-size: contain;
    flex-shrink: 0;
    margin-left: 15px;
}
.eprize-faq-question.active .eprize-faq-icon {
    transform: rotate(45deg);
}

.eprize-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-in-out, padding 0.4s ease-in-out;
}
.eprize-faq-answer-content {
    padding: 0 15px 20px 15px;
    color: #34495e;
    line-height: 1.7;
}

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