
			


/* === БЛОГ: Комплексные стили === */

/* Отступ сверху для блога и статей (хедер перекрывает) */
body.blog #content,
body.single-post #content,
body.archive #content,
body.category #content {
    padding-top: 100px !important;
}

/* Скрыть метаданные автора и даты */
.blog .entry-meta,
.single-post .entry-meta,
.archive .entry-meta,
.blog .ast-blog-single-element.ast-taxonomy-container,
.single-post .post-meta-wrapper,
body.blog .entry-header .entry-meta,
body.single-post .entry-header .entry-meta,
.ast-article-post .entry-meta,
.ast-article-single .entry-meta {
    display: none !important;
}

/* Уменьшить H1 в статье */



/* Увеличить ширину контента в статье */
body.single-post .site-content .ast-container {
    max-width: 1200px !important;
}
body.single-post .entry-content {
    max-width: 100% !important;
}

/* Увеличить ширину контента на странице блога */
body.blog .site-content .ast-container {
    max-width: 1200px !important;
}

/* Скрыть секцию комментариев (опционально) */
/* .comments-area { display: none !important; } */

/* Мобильная версия */
@media (max-width: 768px) {
    body.blog #content,
    body.single-post #content,
    body.archive #content {
        padding-top: 80px !important;
    }
    
    
}


/* Заголовок H1 в статье */
body.single-post .entry-header .entry-title {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Иерархия заголовков в статье */
body.single-post .entry-content h1 {
    font-size: 36px;
    line-height: 1.3;
    margin-bottom: 20px;
}
body.single-post .entry-content h2 {
    font-size: 28px;
    line-height: 1.3;
    margin-top: 40px;
    margin-bottom: 16px;
    letter-spacing: 0.5px;
}
body.single-post .entry-content h3 {
    font-size: 22px;
    line-height: 1.4;
    margin-top: 30px;
    margin-bottom: 12px;
}

@media (max-width: 768px) {
    body.single-post .entry-content h1 { font-size: 28px; }
    body.single-post .entry-content h2 { font-size: 22px; }
    body.single-post .entry-content h3 { font-size: 18px; }
}

/* Архив блога: заголовки карточек */
body.blog .entry-title a,
body.blog .ast-blog-single-element .entry-title a {
    letter-spacing: 0.5px;
}



/* Уменьшить верхний внутренний отступ в блоке статьи */
body.single-post .ast-article-single {
    padding-top: 30px;
}
body.single-post .entry-content {
    padding-top: 0;
}

/* Кнопка Читать далее - белый текст на зелёном фоне */
body.blog .ast-read-more-container a,
body.blog .read-more a,
body.blog a.ast-button {
    color: #ffffff;
    background-color: #379237;
    padding: 8px 20px;
    border-radius: 4px;
    text-decoration: none;
    display: inline-block;
}
body.blog .ast-read-more-container a:hover,
body.blog .read-more a:hover,
body.blog a.ast-button:hover {
    background-color: #2a7a2a;
    color: #ffffff;
}

/* Скругления белых блоков как на основных страницах (25px) */
body.blog .ast-article-post,
body.blog article {
    border-radius: 25px;
    overflow: hidden;
}
body.single-post .site-main > article,
body.single-post .ast-article-single {
    border-radius: 25px;
    overflow: hidden;
}

/* Уменьшить верхний внутренний отступ в статье (как боковой ~30px) */
body.single-post .entry-content {
    padding: 30px;
}

body.single-post .ast-article-single {
    padding-top: 30px;
}
body.single-post .site-main {
    padding-top: 0;
}
body.single-post .ast-row {
    padding-top: 0;
}

/* Скругление для блока комментариев */
body.single-post .comments-area {
    border-radius: 25px;
    background: #fff;
    padding: 30px;
    margin-top: 20px;
}

/* entry-header */
body.single-post .entry-header {
    margin-bottom: 15px;
}
/* Убрать margin-top у первого H1 в контенте */
body.single-post .entry-content h1:first-child {
    margin-top: 0;
}

/* Обложки в архиве - не растягивать */
body.blog article img {
    object-fit: cover;
    width: 100%;
    height: 200px;
}
/* === КОНЕЦ БЛОГА === */




/* HU: фикс колонки контактов в шапке */
/* Колонка с телефоном/почтой схлопывалась до ~78px и рвала текст по буквам.
   Даём ей ширину по содержимому; меню делаем компактнее, чтобы влезло в одну строку. */
#masthead .site-header-primary-section-right{min-width:max-content;}
#masthead .ast-header-html .ast-builder-html-element{white-space:nowrap;font-size:14px;}
#masthead .ast-header-html .ast-builder-html-element p{margin:0;line-height:1.45;}
#masthead .main-header-menu > .menu-item > .menu-link{padding-left:9px;padding-right:9px;font-size:15px;white-space:nowrap;}
#masthead .main-header-menu{flex-wrap:nowrap;}
@media (max-width:1320px){
  #masthead .main-header-menu > .menu-item > .menu-link{padding-left:6px;padding-right:6px;font-size:14px;}
  #masthead .ast-header-html .ast-builder-html-element{font-size:13px;}
}
@media (max-width:921px){
  #masthead .site-header-primary-section-right{min-width:0;}
  #masthead .ast-header-html .ast-builder-html-element{white-space:normal;font-size:14px;}
  #masthead .main-header-menu{flex-wrap:wrap;}
}
		