.ifm-faq-wrapper {
    --ifm-red: #a32d2d;
    --ifm-bg-light: #f4f4f2;
    --ifm-text-dark: #2c2c2a;
    --ifm-text-muted: #5f5e5a;
    --ifm-border: #e5e5e0;
    background-color: var(--ifm-bg-light);
    padding: 0px 24px 48px 24px;
    -webkit-font-smoothing: antialiased;
}

.ifm-faq-wrapper .ifm-main-container {
    max-width: 900px;
    margin: 0 auto;
}

.ifm-faq-wrapper .ifm-header {
    text-align: center;
    margin-bottom: 36px;
}

.ifm-faq-wrapper .ifm-subtitle {
    font-size: 11px;
    font-weight: 500;
    color: var(--ifm-red);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    display: block;
    margin-bottom: 8px;
}

.ifm-faq-wrapper .ifm-title {
    font-size: 28px;
    font-weight: 600;
    margin: 0 0 8px 0;
    color: var(--ifm-text-dark);
    letter-spacing: -0.3px;
}

.ifm-faq-wrapper .ifm-description {
    font-size: 14px;
    color: var(--ifm-text-muted);
    max-width: 540px;
    margin: 0 auto;
}

.ifm-faq-wrapper .ifm-accordion-container {
    background: white;
    border-radius: 0;
    overflow: hidden;
}

.ifm-faq-wrapper .ifm-faq-item:last-child {
    border-bottom: none;
}

.ifm-faq-wrapper .ifm-faq-summary {
    padding: 18px 24px;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.ifm-faq-wrapper .ifm-faq-summary::-webkit-details-marker {
    display: none;
}

.ifm-faq-wrapper .ifm-faq-summary-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
}

.ifm-faq-wrapper .ifm-faq-number {
    width: 32px;
    height: 32px;
    background: #f1efe8;
    border-radius: 50%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ifm-text-dark);
    font-size: 13px;
    font-weight: 500;
}

.ifm-faq-wrapper .ifm-faq-item[open] .ifm-faq-number{
    background: var(--ifm-red);
    color: white;
}

.ifm-faq-wrapper .ifm-faq-question {
    font-size: 15px;
    font-weight: 500;
    color: var(--ifm-text-dark);
}

.ifm-faq-wrapper .ifm-faq-icon {
    stroke: #888780;
    transition: transform 0.2s ease;
}

.ifm-faq-wrapper details[open] .ifm-faq-icon {
    transform: rotate(180deg);
}

.ifm-faq-wrapper .ifm-faq-content {
    padding: 0 24px 22px 70px;
    font-size: 14px;
    color: var(--ifm-text-dark);
    line-height: 1.7;
}

.ifm-faq-wrapper .ifm-rush-alert {
    background: #fcebeb;
    border-left: 3px solid var(--ifm-red);
    padding: 10px 14px;
    border-radius: 4px;
    margin-top: 12px;
}

.ifm-faq-wrapper .ifm-rush-tag {
    font-weight: 500;
    color: #a32d2d;
}

.ifm-faq-wrapper .ifm-link-map {
    color: #0c447c;
    text-decoration: none;
    font-weight: 500;
}

.ifm-faq-wrapper .ifm-footer-bar {
    background: white;
    border-radius: 0;
    padding: 24px;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.ifm-faq-wrapper .ifm-footer-heading {
    font-size: 14px;
    font-weight: 500;
    color: var(--ifm-text-dark);
    margin-bottom: 2px;
}

.ifm-faq-wrapper .ifm-footer-sub {
    font-size: 13px;
    color: var(--ifm-text-muted);
}

.ifm-faq-wrapper .ifm-footer-actions {
    display: flex;
    gap: 8px;
    flex-shrink: 0;
}

.ifm-faq-wrapper .ifm-btn {
    padding: 10px 16px;
    font-size: 13px;
    font-weight: 500;
    text-decoration: none;
    border-radius: 0;
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.ifm-faq-wrapper .ifm-btn--outline {
    background: white;
    color: var(--ifm-text-dark);
    border: 1px solid var(--ifm-text-dark);
}

.ifm-faq-wrapper .ifm-btn--solid {
    background: var(--ifm-text-dark);
    color: white;
    border: none;
}
.ifm-faq-wrapper strong {
    font-weight: 500;
}

@media (max-width: 992px) {
    .ifm-faq-wrapper {
        padding: 0;
    }
    .ifm-faq-wrapper .ifm-accordion-container {
        border-radius: 10px;
    }
    .ifm-faq-wrapper .ifm-accordion-container details.ifm-faq-item {
        border-bottom: 0.5px solid var(--ifm-border);
    }
    .ifm-faq-wrapper .ifm-faq-summary {
        padding: 16px;
    }
    .ifm-faq-wrapper .ifm-rush-alert{
        border-radius: 8px;
    }
    .ifm-faq-wrapper .ifm-footer-bar {
        flex-direction: column;
        text-align: center;
        border-radius: 10px;
        margin-bottom: 20px;
    }
    .ifm-faq-wrapper .ifm-footer-actions {
        flex-direction: column;
        width: 100%;
        align-items: stretch;
    }
    .ifm-faq-wrapper .ifm-footer-actions a {
        justify-content: center;
    }
}
