/**
 * Voice Search Optimization Styles
 * Styles for "People Also Ask" sections optimized for voice search
 */

/* People Also Ask Section */
.people-also-ask-section {
    padding: 4rem 0;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}

.people-also-ask-section h2 {
    font-size: 2rem;
    margin-bottom: 1rem;
    text-align: center;
    color: #1f2937;
}

.people-also-ask-section h2 i {
    color: #3b82f6;
    margin-right: 0.75rem;
}

.section-intro {
    text-align: center;
    color: #6b7280;
    margin-bottom: 2rem;
    font-size: 1.125rem;
}

.paa-grid {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

/* PAA Item */
.paa-item {
    background: #f9fafb;
    border: 2px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.paa-item:hover {
    border-color: #3b82f6;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
}

.paa-item.active {
    border-color: #3b82f6;
    background: #ffffff;
}

/* PAA Question Button */
.paa-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1.25rem 1.5rem;
    text-align: left;
    font-size: 1.125rem;
    font-weight: 600;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.paa-question:hover {
    color: #3b82f6;
}

.paa-question i.fa-search {
    color: #3b82f6;
    font-size: 1rem;
}

.paa-question i.fa-chevron-down {
    margin-left: auto;
    color: #6b7280;
    transition: transform 0.3s ease;
}

.paa-item.active .paa-question i.fa-chevron-down {
    transform: rotate(180deg);
    color: #3b82f6;
}

/* PAA Answer */
.paa-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.paa-item.active .paa-answer {
    max-height: 500px;
}

.paa-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #6b7280;
    line-height: 1.8;
    font-size: 1rem;
}

/* Voice Search Badge */
.voice-optimized-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 12px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.voice-optimized-badge i {
    font-size: 1rem;
}

/* Additional fixes for better visual consistency */
.paa-item {
    margin-bottom: 0;
}

.paa-question {
    font-family: inherit;
}

.paa-answer p {
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .people-also-ask-section {
        padding: 3rem 0;
    }

    .people-also-ask-section h2 {
        font-size: 1.5rem;
    }

    .paa-question {
        font-size: 1rem;
        padding: 1rem 1.25rem;
    }

    .paa-answer p {
        padding: 0 1.25rem 1.25rem;
        font-size: 0.9375rem;
    }
}
