/**
 * Event FAQ Display Styles
 * AfterPromCentral Theme
 * Styled to match .apHomeBottom section
 */

.apc-event-faq {
    margin: 40px 0 0 0;
    padding: 0;
}

.apc-event-faq .faq-title {
    font-weight: 400;
    text-align: center;
    border-top: 1px solid #c4c4c4;
    padding-top: 40px;
    margin: 0 0 36px 0;
    font-size: 1.5rem;
    color: #333;
}

.faq-items {
    margin: 0 0 40px 0;
}

.faq-item {
    background: white;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: box-shadow 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #fff;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: #f5f5f5;
}

.faq-question h4 {
    margin: 0;
    font-size: 18px;
    color: #fe2c55;
    font-weight: 600;
    flex: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    position: relative;
    flex-shrink: 0;
    margin-left: 15px;
}

.faq-toggle::before,
.faq-toggle::after {
    content: '';
    position: absolute;
    background: #fe2c55;
    transition: transform 0.3s ease;
}

.faq-toggle::before {
    width: 16px;
    height: 2px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-toggle::after {
    width: 2px;
    height: 16px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.faq-question.active .faq-toggle::after {
    transform: translate(-50%, -50%) rotate(90deg);
    opacity: 0;
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer.open {
    max-height: 1000px;
}

.faq-answer-content {
    padding: 20px;
    color: #555;
    line-height: 1.6;
}

.faq-answer-content p {
    margin: 0 0 10px 0;
}

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

/* Desktop/Tablet Responsive */
@media (min-width: 769px) {
    .apc-event-faq .faq-title {
        font-size: 24px;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .apc-event-faq .faq-title {
        font-size: 1.5rem;
    }

    .faq-question {
        padding: 15px;
    }

    .faq-question h4 {
        font-size: 16px;
    }
}
