.hesam-accordion-container {
    width: 100%;
    margin: 30px 0;
    box-sizing: border-box;
}

/* نمایش دو ستونه شبیه به تصویر */
.hesam-accordion-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    align-items: start;
}

@media (max-width: 768px) {
    .hesam-accordion-grid {
        grid-template-columns: 1fr;
    }
}

.hesam-accordion-card {
    background: #ffffff;
    border: 1px solid #e2e8f0;
    border-radius: 8px;
    overflow: hidden;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.hesam-accordion-card:hover {
    border-color: #cbd5e1;
}

.hesam-accordion-btn {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: #ffffff;
    border: none;
    outline: none;
    padding: 16px 20px;
    cursor: pointer;
    font-family: inherit;
    font-size: 15px;
    font-weight: 600;
    color: #1e293b;
    text-align: right;
    transition: background-color 0.2s ease, color 0.2s ease;
}

/* وضعیت باز بودن: پس‌زمینه هدر کمی متمایز می‌شود (دقیقاً مشابه عکس ارسالی) */
.hesam-accordion-card.is-open .hesam-accordion-btn {
    background-color: #eaf1fb;
    color: #1d4ed8;
}

.hesam-accordion-chevron {
    display: flex;
    align-items: center;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #64748b;
}

.hesam-accordion-card.is-open .hesam-accordion-chevron {
    transform: rotate(180deg);
    color: #1d4ed8;
}

.hesam-accordion-collapse {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.hesam-accordion-inner {
    padding: 18px 20px 22px 20px;
    font-size: 14px;
    line-height: 1.85;
    color: #334155;
    border-top: 1px solid #e2e8f0;
}

.hesam-accordion-inner p:last-child {
    margin-bottom: 0;
}
