/* faq.css */

/* 1. Wrapper & Title Spacing */
.faq-wrapper-1380 {
    max-width: 1380px;
    margin: 0 auto;
    padding: 20px 0px;
    font-family: inherit;
}

.faq-wrapper-1380 h2 {
    text-align: center;
    /* Increased margin bottom to create gap between title and list */
    margin-bottom: 60px; 
    color: #333;
    line-height: 1.3;
}

.faq-wrapper-1380 h2 span {
    color: #004a99; /* Example color for the 'Myanmar Students' span */
}

/* 2. Accordion Container */
.sii-faq-item {
    margin-bottom: 15px;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    background: #ffffff;
    box-shadow: 0 2px 4px rgba(0,0,0,0.02);
}

.sii-faq-item details {
    width: 100%;
}

/* 3. Question (Summary) Styling */
.sii-faq-item summary {
    padding: 18px 24px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    background-color: #f8fafc;
    border-radius: 8px;
    list-style: none; /* Removes default arrow */
    position: relative;
    color: #1e293b;
    transition: background-color 0.2s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.sii-faq-item summary:hover {
    background-color: #f1f5f9;
}

/* Hide default webkit marker */
.sii-faq-item summary::-webkit-details-marker {
    display: none;
}

/* Custom Plus/Minus Icon */
.sii-faq-item summary::after {
    content: '+';
    font-size: 24px;
    font-weight: 400;
    color: #64748b;
    margin-left: 15px;
}

.sii-faq-item details[open] summary::after {
    content: '−';
}

.sii-faq-item details[open] summary {
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    border-bottom: 1px solid #e2e8f0;
}

/* 4. Content Body Styling */
.sii-faq-content {
    padding: 20px 24px;
    color: #2e2e2e !important;
    line-height: 1.6;
}

/* Specific color for paragraph text inside FAQ items */
.sii-faq-content p {
    color: #333333 !important; 
    margin-top: 0;
    margin-bottom: 1em;
}
.sii-faq-content p:last-child {
    margin-bottom: 0;
}

/* 5. 2-Column Grid & 16:9 Image Logic */
.sii-faq-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
    align-items: start; /* Align text to top */
}

@media (min-width: 768px) {
    .sii-faq-grid {
        grid-template-columns: 1.2fr 0.8fr; /* Responsive column widths */
    }
}

.sii-faq-image {
    width: 100%;
    /* Enforce 16:9 Aspect Ratio */
    aspect-ratio: 16 / 9; 
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}

.sii-faq-image img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* Ensures image fills space without stretching */
    display: block;
}

/* 6. Lists & Notes */
.sii-faq-content ul {
    margin-top: 10px;
    margin-bottom: 10px;
    padding-left: 20px;
}

.sii-faq-content ul li {
    margin-bottom: 8px;
    color: #333333;
}

.sii-faq-important-note {
    margin-top: 40px;
    padding: 24px;
    background-color: #fffbeb;
    border-left: 6px solid #f59e0b;
    border-radius: 0 8px 8px 0;
}

.sii-faq-important-note h3 {
    margin-top: 0;
    color: #92400e !important;
    font-size: 20px;
    margin-bottom: 12px;
}

.sii-faq-important-note p {
    color: #b45309 !important;
    margin-bottom: 10px;
}
.sii-faq-important-note p:last-child {
    margin-bottom: 0;
}