/* FAQs Widget Styles - Mobile First */

.faqs-widget {
    max-width: 100%;
}

.faqs-container {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 1rem;
    margin: 0 auto;
}

.faqs-heading {
	margin-bottom:0;
}

.faqs-list {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.faq-item {
    border-bottom: 1px solid #e5e7eb;
    position: relative;
}

.faq-item:first-child {
	button{
		padding-top:0px;
	}
}

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

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: 1rem 0;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1rem !important;
    font-weight: 500;
    color: var(--e-global-color-primary);
    transition: color 0.2s ease;
}

.faq-question:hover, .faq-question:focus, .faq-question[aria-expanded="true"] {
    color: var(--e-global-color-accent);
    background-color: transparent;
}

.faq-question-text {
	font-size: 16px;
    flex: 1;
    margin-right: 1rem;
    line-height: 1.5;
	text-transform: capitalize;
    letter-spacing: initial;
}

.faq-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    color: var(--e-global-color-primary);
    transition: transform 0.3s ease, color 0.2s ease;
    flex-shrink: 0;
}

.faq-question:hover .faq-icon, .faq-question[aria-expanded="true"] .faq-icon {
    color: var(--e-global-color-accent);
}

.faq-question[aria-expanded="true"] .faq-icon {
    transform: rotate(180deg);
    color: var(--e-global-color-accent);
}

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

.faq-answer-content {
    padding: 0 0 1rem 0;
    line-height: 1.6;
    font-size: 1rem;
}

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

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

.faq-answer-content ul,
.faq-answer-content ol {
    margin: 0.75rem 0;
    padding-left: 1.5rem;
}

.faq-answer-content li {
    margin-bottom: 0.25rem;
}

.faq-answer-content strong {
    font-weight: 600;
    color: #374151;
}

.faq-answer-content a {
    color: #3b82f6;
    text-decoration: underline;
}

.faq-answer-content a:hover {
    color: #1d4ed8;
}

/* Tablet Styles */
@media (min-width: 768px) {
    .faqs-container {
        padding: 2rem;
        border-radius: 16px;
    }
    
 .faq-question-text {
	    font-size: 18px;
	}
    
    .faq-question {
        padding: 1.25rem 0;
        font-size: 1.05rem;
    }
    
    .faq-answer-content {
        padding: 0 0 1.25rem 0;
        font-size: 1rem;
    }
}

/* Desktop Styles */
@media (min-width: 1024px) {
    .faqs-container {
        /*padding: 2.5rem;*/
        /*max-width: 800px;*/
    }
    

    
    .faq-question {
        padding: 1.5rem 0;
        font-size: 1.1rem;
    }
    
    .faq-answer-content {
        padding: 0 0 1.5rem 0;
        font-size: 1.05rem;
    }
}

/* Large Desktop Styles */
@media (min-width: 1200px) {
    .faqs-container {
        /*padding: 3rem;*/
        /*max-width: 900px;*/
    }
}