/* Стили для контента страниц из таблицы Pages */
.page-content {
    line-height: 1.6;
    font-size: 16px;
}

.page-content h1, .page-content h2, .page-content h3, .page-content h4, .page-content h5, .page-content h6 {
    margin-top: 1.5rem;
    margin-bottom: 1rem;
    color: #333;
}

.page-content p {
    margin-bottom: 1rem;
}

.page-content ul, .page-content ol {
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.page-content li {
    margin-bottom: 0.5rem;
}

.page-content a {
    color: #007bff;
    text-decoration: none;
}

.page-content a:hover {
    text-decoration: underline;
}

.page-content img {
    max-width: 100%;
    height: auto;
    margin: 1rem 0;
}

.page-content .myblock {
    background: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
    padding: 1.5rem;
    margin: 1.5rem 0;
}

.page-content .myblock h3 {
    margin-top: 0;
    color: #495057;
}

.page-content .button {
    display: inline-block;
    padding: 0.5rem 1rem;
    background-color: #007bff;
    color: white;
    text-decoration: none;
    border-radius: 0.375rem;
    margin: 0.5rem 0;
}

.page-content .button:hover {
    background-color: #0056b3;
    color: white;
    text-decoration: none;
}

/* Стили для таблиц в контенте страниц */
.page-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 1.5rem 0;
    border: 1px solid #dee2e6;
}

.page-content table thead th {
    background-color: #343a40;
    color: white;
    padding: 0.75rem;
    text-align: left;
    border: 1px solid #495057;
    font-weight: 600;
}

.page-content table tbody td {
    padding: 0.75rem;
    border: 1px solid #dee2e6;
}

.page-content table tbody tr:nth-child(odd) {
    background-color: #f8f9fa;
}

.page-content table tbody tr:nth-child(even) {
    background-color: #ffffff;
}

.page-content table tbody tr:hover {
    background-color: rgba(52, 152, 219, 0.1);
}
