/* IFAG FAQ Minimal - Clean & Linear Styling */
.ifag-faq-m-list {
    width: 100%;
    border-top: 1px solid #e5e7eb;
    font-family: 'Inter', sans-serif;
}

.ifag-faq-m-item {
    border-bottom: 1px solid #e5e7eb;
    overflow: hidden;
}

/* Trigger / Question Styling */
.ifag-faq-m-trigger {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 10px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.ifag-faq-m-trigger:hover {
    background-color: #f9fafb;
}

.ifag-faq-m-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #111111;
    line-height: 1.4;
    transition: color 0.3s ease;
}

/* Chevron Icon */
.ifag-faq-m-icon {
    flex-shrink: 0;
    margin-left: 20px;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ifag-faq-m-icon svg {
    stroke: #111111;
}

/* Content / Answer Styling */
.ifag-faq-m-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.ifag-faq-m-item.is-open .ifag-faq-m-content {
    max-height: 1000px; /* Large enough for long answers */
}

.ifag-faq-m-answer {
    padding: 0 10px 30px 10px;
    font-size: 1rem;
    line-height: 1.6;
    color: #555555;
}

/* Animation State */
.ifag-faq-m-item.is-open .ifag-faq-m-icon {
    transform: rotate(180deg);
}

.ifag-faq-m-item.is-open .ifag-faq-m-title {
    color: #d5263d; /* Hint of IFAG Red when open */
}

@media (max-width: 768px) {
    .ifag-faq-m-trigger {
        padding: 20px 5px;
    }
    .ifag-faq-m-title {
        font-size: 1rem;
    }
}
