/* Uniqus ERM FAQ Block - Frontend Styles */

.uniqus-erm-faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* Typography */
.uniqus-erm-faq-container h2 {
    color: #48297A;
    font-size: 2rem;
    font-weight: 700;
    line-height: 1.3;
    margin-top: 2rem;
    margin-bottom: 1.5rem;
}

.uniqus-erm-faq-container h3 {
    color: #B31E7D;
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.4;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.uniqus-erm-faq-container h4 {
    color: #48297A;
    font-size: 1.1rem;
    font-weight: 600;
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.uniqus-erm-faq-container p {
    color: #414042;
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.uniqus-erm-faq-container ul,
.uniqus-erm-faq-container ol {
    margin-left: 1.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.uniqus-erm-faq-container li {
    color: #414042;
    margin-bottom: 0.5rem;
}

/* General Sections */
.erm-section {
    margin-bottom: 2rem;
}

/* FAQ Section with Header */
.erm-faq-section {
    margin-top: 3rem;
    padding: 2rem;
    border-left: 5px solid #B31E7D;
    background-color: rgba(179, 30, 125, 0.04);
    border-radius: 4px;
}

.erm-faq-section:first-of-type {
    margin-top: 2rem;
}

/* FAQ Header - Badge + Heading on same line */
.erm-faq-header {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.erm-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: #B31E7D;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.erm-faq-section h2 {
    color: #B31E7D;
    margin-top: 0;
    margin-bottom: 0;
    font-size: 1.85rem;
    flex: 1;
    min-width: 300px;
}

/* Highlight Box */
.erm-highlight-box {
    background-color: #F0EBF5;
    border-left: 4px solid #48297A;
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 8px;
}

.erm-highlight-box p {
    margin-bottom: 1rem;
}

.erm-highlight-box p:last-child {
    margin-bottom: 0;
}

.erm-highlight-box strong {
    color: #48297A;
}

/* Step Box */
.erm-step-box {
    background-color: #F5F5F7;
    border-left: 4px solid #B31E7D;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 8px;
}

.erm-step-box h3,
.erm-step-box h4 {
    margin-top: 0;
    color: #48297A;
}

.erm-step-box p {
    margin-bottom: 0.5rem;
}

.erm-step-box p:last-child {
    margin-bottom: 0;
}

/* Section Divider */
.erm-divider {
    height: 2px;
    background: linear-gradient(90deg, transparent, #E0E0E0, transparent);
    border: none;
    margin: 4rem 0;
}

/* Links */
.uniqus-erm-faq-container a {
    color: #48297A;
    text-decoration: none;
    border-bottom: 1px solid transparent;
    transition: all 150ms ease;
}

.uniqus-erm-faq-container a:hover {
    color: #B31E7D;
    border-bottom-color: #B31E7D;
}

/* Strong and Emphasis */
.uniqus-erm-faq-container strong {
    font-weight: 700;
}

.uniqus-erm-faq-container em {
    font-style: italic;
    color: #B31E7D;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .uniqus-erm-faq-container h2 {
        font-size: 1.5rem;
    }

    .uniqus-erm-faq-container h3 {
        font-size: 1.1rem;
    }

    .erm-faq-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .erm-badge {
        margin-bottom: 0.75rem;
        margin-right: 0;
    }

    .erm-faq-section h2 {
        min-width: auto;
        font-size: 1.4rem;
    }

    .uniqus-erm-faq-container {
        padding: 15px;
    }

    .erm-faq-section,
    .erm-highlight-box,
    .erm-step-box {
        padding: 1.5rem;
    }
}
