
/* ── Trigger (header button) ─────────────────────────────────────────────── */

.sg-cca__trigger {
    align-items: center;
    background: transparent;
    border: 0;
    color: #1f2937;
    cursor: pointer;
    display: flex;
    font-size: 17px;
    font-weight: 600;
    justify-content: space-between;
    line-height: 1.3;
    padding: 16px 0;
    text-align: left;
    width: 100%;
}

/* ── +/× icon ────────────────────────────────────────────────────────────── */

.sg-cca__icon {
    flex: 0 0 auto;
    height: 12px;
    margin-left: 12px;
    position: relative;
    width: 12px;
}

.sg-cca__icon::before,
.sg-cca__icon::after {
    background-color: #1f2937;
    content: '';
    height: 2px;
    left: 0;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    transition: transform 0.25s ease;
    width: 12px;
}

.sg-cca__icon::after {
    transform: translateY(-50%) rotate(90deg);
}

.sg-cca__item.is-open .sg-cca__icon::after {
    transform: translateY(-50%) rotate(0deg);
}

/* ── Panel ───────────────────────────────────────────────────────────────── */

.sg-cca__panel {
    padding: 0 0 16px;
}

/* ── Rich content area ───────────────────────────────────────────────────── */

.sg-cca__content {
    color: #4b5563;
    line-height: 1.6;
}

.sg-cca__content p {
    margin: 0 0 10px;
}

.sg-cca__content p:last-child {
    margin-bottom: 0;
}

.sg-cca__content ul,
.sg-cca__content ol {
    margin: 0 0 10px;
    padding-left: 20px;
}

.sg-cca__content ul:last-child,
.sg-cca__content ol:last-child {
    margin-bottom: 0;
}

.sg-cca__content li {
    line-height: 1.45;
    margin: 0 0 8px;
}

.sg-cca__content li:last-child {
    margin-bottom: 0;
}

/* ── Editor empty state ──────────────────────────────────────────────────── */

.sg-cca-empty {
    background: #f8fafc;
    border: 1px dashed #cbd5e1;
    color: #475569;
    font-size: 14px;
    padding: 12px;
}
