/* Контейнер статьи */
.site-article-card {
    font-family: inherit;
    color: #2d3748;
    line-height: 1.6;
}

/* Фиолетовая плашка-шапка */
.sad1-banner {
    background: linear-gradient(135deg, #6f4eb2 0%, #8b6ccf 100%);
    color: #fff;
    padding: 25px 30px;
    border-radius: 16px;
    margin-bottom: 25px;
    box-shadow: 0 6px 20px rgba(111, 78, 178, 0.2);
}

.sad1-banner h3 {
    margin: 0 0 10px 0;
    font-size: 1.3em;
    font-weight: 700;
    color: #fff;
}

.sad1-banner p {
    margin: 0 0 10px 0;
    font-size: 0.95em;
    opacity: 0.95;
    line-height: 1.5;
    color: #fff;
}

.sad1-banner p:last-child {
    margin-bottom: 0;
}

.sad1-banner a {
    color: #fff;
    text-decoration: underline;
    font-weight: 700;
}

/* Белая карточка-секция */
.sad1-box {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    margin-bottom: 25px;
    border: 2px solid #eae4f5;
}

.sad1-box:last-child {
    margin-bottom: 0;
}

/* Заголовок с круглым бейджем */
.sad1-box h2 {
    color: #6f4eb2;
    font-size: 1.25em;
    margin: 0 0 15px 0;
    text-indent: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.sad1-badge {
    background: #eae4f5;
    width: 32px;
    height: 32px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-size: 0.8em;
    color: #6f4eb2;
    flex-shrink: 0;
}

/* Внутренняя светлая плашка */
.sad1-subbox {
    background: #fcfbff;
    padding: 18px 20px;
    border-radius: 12px;
    border: 1px solid #eae4f5;
    margin-bottom: 15px;
}

/* Текст, списки и ссылки внутри карточек */
.site-article-card p {
    margin: 0 0 12px 0;
}

.site-article-card p:last-child {
    margin-bottom: 0;
}

.site-article-card ul {
    margin: 0 0 0 20px;
    padding: 0;
    list-style-type: disc;
}

.site-article-card li {
    margin-bottom: 6px;
}

.site-article-card li:last-child {
    margin-bottom: 0;
}

.site-article-card a {
    color: #6f4eb2;
    font-weight: 600;
    text-decoration: none;
}

.site-article-card a:hover {
    text-decoration: underline;
}

/* Таблицы */
.sad1-table-wrap {
    overflow-x: auto;
    margin-bottom: 18px;
    border-radius: 12px;
    border: 1px solid #eae4f5;
}

.sad1-table-wrap table {
    width: 100%;
    border-collapse: collapse;
    min-width: 550px;
    text-align: left;
    font-size: 0.95em;
    margin: 0;
}

.sad1-table-wrap th {
    background-color: #f3effb;
    color: #6f4eb2;
    padding: 12px 15px;
    border-bottom: 2px solid #eae4f5;
    font-weight: 700;
}

.sad1-table-wrap td {
    padding: 14px 15px;
    vertical-align: top;
    background-color: #fff;
    border-top: 1px solid #eae4f5;
}

/* Блок скачивания файла */
.sad1-download {
    background: #fff;
    padding: 25px;
    border-radius: 16px;
    border: 2px solid #eae4f5;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.sad1-btn {
    background: #6f4eb2 !important;
    color: #fff !important;
    padding: 10px 20px;
    border-radius: 10px;
    text-decoration: none !important;
    font-weight: 600;
    font-size: 0.9em;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(111, 78, 178, 0.2);
}

/* Визуальный редактор админки */
body#tinymce.wp-editor {
    background-color: #fcfbff;
    padding: 20px !important;
}