/* Общие стили для основной области страницы */
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) #primary.site-main {
    color: hsl(240, 3%, 37%);
    font-family: Manrope, sans-serif;
    font-size: 18px;
    font-style: normal;
    font-weight: 400;
    line-height: 22px;
    font-optical-sizing: auto;
    padding: 20px;
}

body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) p {
    margin-block-end: 1em;
}
/* Стили заголовка страницы */
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-title {
    font-size: 38px;
    font-weight: bold;
    color: rgb(0,75.14,86.7);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    text-align: center;
    font-weight: 800;
}

/* Стили заголовков секций (h3 и h4) */
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) h3, 
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) h4 {
    font-weight: 800;
    color: rgb(0,75.14,86.7);
    margin-top: 40px;
    border-left: 5px solid rgb(0,75.14,86.7);
    padding-left: 10px;
    font-size: 30px;
    margin-bottom: 20px;
}

/* Стили параграфов */
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content p {
    margin-bottom: 20px;
    font-size: 18px;
}

/* Стили для списка */
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content ul, 
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content ol {
    margin: 20px 0;
    padding-left: 40px;
}

body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content li {
    margin-bottom: 10px;
}

/* Стили для ссылок */
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content a {
    color: #0073aa;
    text-decoration: underline;
}

body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content a:hover {
    color: #005f8d;
    text-decoration: none;
}

/* Стили для метаданных (дата, автор) */
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-meta {
    font-size: 14px;
    color: #888;
    text-align: center;
    margin-bottom: 40px;
    display: none;
}

body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-meta a {
    color: #0073aa;
}

body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-meta a:hover {
    color: #005f8d;
}

/* Стили для блока цитат (blockquote) */
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content blockquote {
    margin: 20px 0;
    padding: 15px 20px;
    background-color: #f9f9f9;
    border-left: 5px solid #ccc;
    font-style: italic;
    color: #666;
}

/* Стили для таблиц */
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    background-color: #f9f9f9;
}

body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content th, 
body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content td {
    padding: 10px;
    border: 1px solid #ddd;
    text-align: left;
}

/* Мобильная версия */
@media (max-width: 768px) {
    body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) #primary.site-main {
        padding: 10px;
        font-size: 16px;
    }

    body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-title {
        font-size: 28px;
    }

    body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content p, 
    body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) .entry-content li {
        font-size: 16px;
    }

    body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) h3, 
    body:not(.page-template-template-landing-flat):not(.page-template-template-landing-general) h4 {
        font-size: 22px;
        margin-top: 30px;
    }
}