/* ========== ОСНОВНЫЕ СТИЛИ ДЛЯ КОНТЕНТА ========== */
.araxma-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
    font-family: 'Segoe UI', Roboto, system-ui, sans-serif;
    line-height: 1.6;
    color: #2d3e50;
}

/* Заголовки */
.araxma-h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #0a1a2f;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid #4a90e2;
    padding-bottom: 0.5rem;
}

.araxma-h2 {
    font-size: 1.8rem;
    font-weight: 600;
    color: #1a2b3c;
    margin: 2rem 0 1rem 0;
    padding-left: 0.5rem;
    border-left: 5px solid #6c5ce7;
}

.araxma-h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #2c3e50;
    margin: 1.5rem 0 1rem 0;
}

/* Текст */
.araxma-text {
    font-size: 1.1rem;
    color: #2d3e50;
    margin-bottom: 1.2rem;
}

.araxma-text-small {
    font-size: 0.95rem;
    color: #5a6b7c;
    font-style: italic;
}

/* Списки */
.araxma-list {
    margin: 1rem 0 1.5rem 2rem;
    list-style-type: none;
}

.araxma-list li {
    margin-bottom: 0.8rem;
    position: relative;
    padding-left: 1.8rem;
}

.araxma-list li::before {
    content: "🕷️";
    position: absolute;
    left: 0;
    color: #4a90e2;
    font-size: 1.2rem;
}

.araxma-list-nested {
    margin-left: 2rem;
    list-style-type: circle;
    margin-top: 0.5rem;
}

.araxma-list-nested li {
    margin-bottom: 0.4rem;
}

/* Цитаты и выделения */
.araxma-quote {
    background: #f0f7ff;
    border-left: 4px solid #4a90e2;
    padding: 1.5rem;
    margin: 1.5rem 0;
    border-radius: 0 10px 10px 0;
    font-style: italic;
    color: #1e3a5f;
}

.araxma-highlight {
    background: #e1f0fa;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

/* Сетки и карточки */
.araxma-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.araxma-card {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    border: 1px solid #e0e7ef;
}

.araxma-card-title {
    font-size: 1.3rem;
    font-weight: 600;
    color: #0a1a2f;
    margin-bottom: 0.8rem;
}

.araxma-card-text {
    color: #4a5b6c;
    font-size: 0.95rem;
}

/* Векторы (спец. стиль) */
.araxma-vector {
    display: inline-block;
    background: #2d3e50;
    color: white;
    padding: 0.2rem 0.8rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    margin: 0.2rem 0.1rem;
}

.araxma-vector-0 { background: #7f8c8d; }
.araxma-vector-3 { background: #27ae60; }
.araxma-vector-4 { background: #e67e22; }
.araxma-vector-5 { background: #3498db; }
.araxma-vector-9 { background: #9b59b6; }

/* Таблицы */
.araxma-table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
}

.araxma-table th {
    background: #2d3e50;
    color: white;
    padding: 0.8rem;
    text-align: left;
    font-weight: 600;
}

.araxma-table td {
    padding: 0.8rem;
    border-bottom: 1px solid #d0dae8;
}

.araxma-table tr:hover {
    background: #f5f9ff;
}
/* Кнопки */
.araxma-button {
    display: inline-block;
    background: #4a90e2;
    color: white;
    padding: 0.8rem 2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    border: none;
    cursor: pointer;
    margin: 1rem 0;
    transition: background 0.3s;
}

.araxma-button:hover {
    background: #357abd;
}

/* Индикатор загрузки */
.araxma-loading {
    text-align: center;
    padding: 3rem;
    color: #7f8c8d;
    font-style: italic;
}

/* Сообщение об ошибке */
.araxma-error {
    text-align: center;
    padding: 3rem;
    color: #c0392b;
    background: #f9e9e9;
    border-radius: 10px;
    margin: 2rem 0;
}