/**
 * LoyalYard FAQ Styles
 * Matches Location Pages design - clean, no hover effects
 */

.loyalyard-faq-section {
    padding: 60px 0;
    background: transparent;
}

.loyalyard-faq-header {
    text-align: center;
    margin-bottom: 40px;
}

.loyalyard-faq-title {
    font-size: 36px;
    font-weight: 800;
    color: #1f2937;
    margin: 0;
    line-height: 1.2;
}

.loyalyard-faq-subtitle {
    font-size: 18px;
    color: #6b7280;
    margin: 12px 0 0 0;
    line-height: 1.5;
}

.loyalyard-faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.loyalyard-faq-item {
    background: white !important;
    border-radius: 12px;
    padding: 24px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    cursor: pointer;
    border: none;
    transition: none !important;
}

.loyalyard-faq-item:hover {
    background: white !important;
}

.loyalyard-faq-item:focus {
    background: white !important;
}

.loyalyard-faq-item:active {
    background: white !important;
}

.loyalyard-faq-question {
    width: 100%;
    background: transparent !important;
    border: none;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 !important;
    margin: 0 !important;
    font-family: inherit;
    transition: none !important;
}

.loyalyard-faq-question:hover {
    background: transparent !important;
    color: inherit !important;
}

.loyalyard-faq-question:focus {
    outline: none;
    background: transparent !important;
    color: inherit !important;
}

.loyalyard-faq-question:active {
    background: transparent !important;
    color: inherit !important;
}

.loyalyard-faq-question[aria-expanded="true"] {
    background: transparent !important;
    color: inherit !important;
}

.loyalyard-faq-question-text {
    font-size: 18px;
    font-weight: 700;
    color: #1f2937 !important;
    padding-right: 20px;
    flex: 1;
    line-height: 1.4;
}

.loyalyard-faq-question:hover .loyalyard-faq-question-text {
    color: #1f2937 !important;
}

.loyalyard-faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: #1f2937 !important;
    transition: transform 0.3s ease;
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.loyalyard-faq-question:hover .loyalyard-faq-icon {
    color: #1f2937 !important;
}

.loyalyard-faq-question[aria-expanded="true"] .loyalyard-faq-icon {
    transform: rotate(45deg);
}

.loyalyard-faq-answer {
    background: transparent !important;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
}

.loyalyard-faq-answer-content {
    padding: 16px 0 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
    background: transparent !important;
}

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

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

.loyalyard-faq-answer-content ul,
.loyalyard-faq-answer-content ol {
    margin: 12px 0;
    padding-left: 25px;
}

.loyalyard-faq-answer-content li {
    margin: 6px 0;
}

.loyalyard-faq-answer-content strong {
    color: #1f2937;
    font-weight: 600;
}

.loyalyard-faq-answer-content a {
    color: #2271b1;
    text-decoration: underline;
}

.loyalyard-faq-answer-content a:hover {
    color: #135e96;
}

/* Override any theme/WordPress hover effects */
button.loyalyard-faq-question,
button.loyalyard-faq-question:hover,
button.loyalyard-faq-question:focus,
button.loyalyard-faq-question:active,
button.loyalyard-faq-question:visited {
    background: transparent !important;
    background-color: transparent !important;
    color: inherit !important;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
}

/* Responsive */
@media (max-width: 768px) {
    .loyalyard-faq-section {
        padding: 40px 0;
    }
    
    .loyalyard-faq-container {
        padding: 0 15px;
    }
    
    .loyalyard-faq-title {
        font-size: 28px;
    }
    
    .loyalyard-faq-subtitle {
        font-size: 16px;
    }
    
    .loyalyard-faq-item {
        padding: 20px;
    }
    
    .loyalyard-faq-question-text {
        font-size: 16px;
    }
    
    .loyalyard-faq-answer-content {
        font-size: 14px;
        padding: 14px 0 0 0;
    }
}

@media (max-width: 480px) {
    .loyalyard-faq-title {
        font-size: 24px;
    }
    
    .loyalyard-faq-subtitle {
        font-size: 15px;
    }
    
    .loyalyard-faq-item {
        padding: 18px;
    }
    
    .loyalyard-faq-question-text {
        font-size: 15px;
    }
    
    .loyalyard-faq-icon {
        font-size: 20px;
    }
    
    .loyalyard-faq-answer-content {
        font-size: 14px;
    }
}
