/* Важное примечание */
.sep-important-note {
    background-color: #fff3cd;
    border-left: 5px solid #ffc107;
    padding: 15px;
    margin: 20px 0;
    color: #856404;
    font-family: sans-serif;
}

/* Цитата директора (Голубой блок) */
.sep-director-quote {
    font-family: 'Georgia', serif;
    font-style: italic;
    font-size: 1.3em;
    background-color: #e7f3fe; /* Светло-голубой фон */
    border-left: 5px solid #2196F3; /* Синяя линия */
    color: #0d47a1; /* Темно-синий текст */
    padding: 20px;
    margin: 20px 0;
    border-radius: 8px;
    width: 100%;
    box-sizing: border-box;
    text-align: center; /* Текст по центру */
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* Обертка для цитаты с аватаром */
.sep-quote-wrapper {
    text-align: center;
    margin: 30px auto;
    max-width: 80%;
}

.sep-quote-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #2196F3; /* Синяя рамка */
    margin-bottom: 15px;
    display: inline-block;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

/* Информационный блок (Зеленый блок) */
.sep-info-box {
    background-color: #d4edda;
    border: 1px solid #c3e6cb;
    border-left: 5px solid #28a745;
    color: #155724;
    padding: 15px;
    border-radius: 5px;
    margin: 20px 0;
}

/* Предупреждение (Красный блок) */
.sep-warning {
    background-color: #fff5f5;
    border-left: 5px solid #dc3545;
    color: #721c24;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

/* Интересный факт (Фиолетовый блок) */
.sep-interesting {
    background-color: #f3e5f5;
    border-left: 5px solid #9c27b0;
    color: #4a148c;
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 5px 5px 0;
}

/* Анонс мероприятия (Базовый - Синий) */
.sep-event-box {
    border: 2px dashed #0073aa;
    padding: 20px;
    background: #f0f7fb;
    text-align: center;
    margin: 20px 0;
    border-radius: 10px;
}
.sep-event-title {
    font-size: 1.5em;
    color: #0073aa;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}
/* Анонс - Красный */
.sep-event-box.sep-red {
    border-color: #dc3545;
    background: #fff5f5;
}
.sep-event-box.sep-red .sep-event-title {
    color: #dc3545;
}
/* Анонс - Зеленый */
.sep-event-box.sep-green {
    border-color: #28a745;
    background: #d4edda;
}
.sep-event-box.sep-green .sep-event-title {
    color: #28a745;
}
/* Анонс - Оранжевый */
.sep-event-box.sep-orange {
    border-color: #fd7e14;
    background: #fff3cd;
}
.sep-event-box.sep-orange .sep-event-title {
    color: #fd7e14;
}

.sep-event-details p {
    font-size: 1.1em;
    color: #555;
    margin: 5px 0;
}

/* Две колонки (80% текст / 20% фото) */
.sep-two-columns {
    display: flex;
    gap: 30px;
    margin: 30px 0;
    align-items: flex-start; /* Выравнивание по верху */
}
.sep-column-text {
    flex: 4; /* 80% пространства */
}
.sep-column-image {
    flex: 1; /* 20% пространства */
}
.sep-column-image img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}
@media (max-width: 600px) {
    .sep-two-columns {
        flex-direction: column;
    }
    .sep-column-text, .sep-column-image {
        flex: auto;
        width: 100%;
    }
}

/* Чек-лист (Галочка - Зеленый) */
ul.sep-checklist, ul.sep-checklist-question, ul.sep-checklist-cross, ul.sep-checklist-neutral {
    list-style: none;
    padding: 0;
    margin: 20px 0;
}
ul.sep-checklist li, ul.sep-checklist-question li, ul.sep-checklist-cross li, ul.sep-checklist-neutral li {
    position: relative;
    padding-left: 35px;
    margin-bottom: 10px;
    font-size: 1.05em;
}

/* Иконки списков */
ul.sep-checklist li:before {
    content: '✔';
    position: absolute;
    left: 0;
    top: 0;
    color: #28a745;
    font-weight: bold;
    font-size: 1.2em;
}
ul.sep-checklist-question li:before {
    content: '?';
    position: absolute;
    left: 0;
    top: 0;
    color: #0073aa;
    font-weight: bold;
    font-size: 1.2em;
}
ul.sep-checklist-cross li:before {
    content: '✖';
    position: absolute;
    left: 0;
    top: 0;
    color: #dc3545;
    font-weight: bold;
    font-size: 1.2em;
}
ul.sep-checklist-neutral li:before {
    content: '●';
    position: absolute;
    left: 0;
    top: 2px;
    color: #6c757d;
    font-size: 1em;
}

/* --- НОВЫЕ ФУНКЦИИ --- */

/* 1. Маркеры (Выделители текста) */
.sep-marker-yellow { background-color: #fff3cd; padding: 2px 4px; border-radius: 3px; }
.sep-marker-green { background-color: #d4edda; padding: 2px 4px; border-radius: 3px; }
.sep-marker-pink { background-color: #f8d7da; padding: 2px 4px; border-radius: 3px; }

/* 2. Спойлер (Вопрос-Ответ) */
details.sep-spoiler {
    background: #fff;
    border: 1px solid #e1e1e1;
    border-radius: 5px;
    margin: 20px 0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}
details.sep-spoiler summary {
    padding: 15px;
    cursor: pointer;
    font-weight: bold;
    background: #f9f9f9;
    border-bottom: 1px solid transparent;
    list-style: none; /* Убираем стандартный треугольник */
    position: relative;
    padding-left: 40px;
    transition: background 0.3s;
}
details.sep-spoiler summary:hover {
    background: #f0f0f0;
}
details.sep-spoiler summary::-webkit-details-marker {
    display: none;
}
details.sep-spoiler summary:before {
    content: '+';
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.5em;
    color: #0073aa;
    font-weight: bold;
}
details.sep-spoiler[open] summary {
    border-bottom: 1px solid #e1e1e1;
}
details.sep-spoiler[open] summary:before {
    content: '−';
    color: #dc3545;
}
.sep-spoiler-content {
    padding: 20px;
    background: #fff;
}

/* 3. Красивая таблица */
table.sep-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    border-radius: 8px;
    overflow: hidden; /* Чтобы скругление работало на углах */
}
table.sep-table thead tr {
    background-color: #0073aa;
    color: #ffffff;
    text-align: left;
    font-weight: bold;
}
table.sep-table th, table.sep-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #dddddd;
}
table.sep-table tbody tr:nth-of-type(even) {
    background-color: #f3f3f3;
}
table.sep-table tbody tr:last-of-type {
    border-bottom: 2px solid #0073aa;
}
table.sep-table tbody tr:hover {
    background-color: #e9f5fb;
}

/* 4. Разделители */
/* Звездочки */
hr.sep-divider-stars {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, rgba(0, 0, 0, 0), rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0));
    margin: 30px 0;
    position: relative;
    overflow: visible;
}
hr.sep-divider-stars:after {
    content: "★ ★ ★";
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #fff;
    padding: 0 10px;
    color: #ccc;
    font-size: 14px;
}

/* Градиент */
hr.sep-divider-gradient {
    border: 0;
    height: 2px;
    background-image: linear-gradient(to right, rgba(0, 115, 170, 0), rgba(0, 115, 170, 0.75), rgba(0, 115, 170, 0));
    margin: 30px 0;
}

/* Книга */
.sep-divider-book {
    text-align: center;
    margin: 30px 0;
    position: relative;
}
.sep-divider-book:before {
    content: "";
    display: block;
    border-top: 1px solid #ddd;
    width: 100%;
    height: 1px;
    position: absolute;
    top: 50%;
    z-index: 1;
}
.sep-divider-book span {
    background: #fff;
    padding: 0 15px;
    position: relative;
    z-index: 2;
    color: #0073aa;
    font-size: 20px;
}

/* Структура статьи (Обертка) */
.sep-article-structure {
    max-width: 800px;
    margin: 0 auto;
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 820px) {
    .sep-article-structure {
        padding: 0 15px;
    }
}



