/* Правки читаемости текста (раньше лежали в блоке "Коды счетчиков", 2026-10) */

.text_page .text {text-align:left;font-size:16px;line-height:1.6;overflow-wrap:break-word;}

article.text_page > h1.section_title, #main.text_page > article > .section_title {font-size:24px;line-height:1.3;font-weight:600;text-align:left;white-space:normal;word-spacing:normal;letter-spacing:normal;overflow-wrap:break-word;margin-bottom:20px;}

.text_page .text h1,.text_page .text h2,.text_page .text h3,.text_page .text h4,.text_page .text h5,.text_page .text h6 {text-align:left;white-space:normal;word-spacing:normal;letter-spacing:normal;word-break:normal;overflow-wrap:break-word;line-height:1.35;font-weight:600;}

.text_page .text h1 {font-size:24px;margin:24px 0 12px;}

.text_page .text h2 {font-size:22px;margin:24px 0 12px;}

.text_page .text h3 {font-size:19px;margin:22px 0 10px;}

.text_page .text h4,.text_page .text h5,.text_page .text h6 {font-size:17px;margin:20px 0 10px;}

.text_page .text figcaption {font-size:14px;line-height:1.45;text-align:left;margin-top:8px;color:#555;}

@media (max-width:767px) {

 article.text_page > h1.section_title, #main.text_page > article > .section_title, .text_page .text h1 {font-size:22px;}

 .text_page .text h2 {font-size:20px;}

 .text_page .text h3 {font-size:18px;}

}


/* Иконка Instagram в блоке соцсетей */
.social .instagram{background:#c13584}


/* Шапка: казахская версия (длинное меню в одну строку) и мобильное меню (раньше – встроенные стили в header.php) */
@media (min-width: 901px) {
	html[lang="kk"] .header .top { height: auto; min-height: 32px; }
	html[lang="kk"] #menu_main { margin-right: 120px; }
}
@media (max-width: 900px) {
	#menu_main > ul > li:first-child > a::after { content: none; }
	#menu_main > ul > li:first-child > a:focus { outline: 2px solid #fff; outline-offset: -3px; }
}
