/*
Theme Name: Boat Portal
Theme URI: https://boatportal.ru/
Author: Boat Portal
Description: Тема для новых статей портала boatportal.ru. Повторяет оформление исходного сайта (шапка, синяя полоса навигации, колонка «Меню портала», подвал с волной), чтобы записи WordPress выглядели как родные страницы архива.
Version: 1.0.0
Requires at least: 6.0
Tested up to: 7.1
Requires PHP: 7.4
License: GNU General Public License v2 or later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: boatportal
*/

/* ==========================================================================
   Шрифты (лежат в теме, с внешних доменов ничего не грузится)
   OpenSansRegular — как в оригинале: одно начертание, жирный синтезируется
   браузером (так выглядят заголовки и меню исходного сайта).
   BP Open Sans — то же семейство с настоящими жирным и курсивом для текста статьи.
   ========================================================================== */
@font-face {
	font-family: "OpenSansRegular";
	src: url("assets/fonts/OpenSansRegular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "BP Open Sans";
	src: url("assets/fonts/OpenSansRegular.woff") format("woff");
	font-weight: 400;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "BP Open Sans";
	src: url("assets/fonts/OpenSansBold.woff") format("woff");
	font-weight: 700;
	font-style: normal;
	font-display: swap;
}
@font-face {
	font-family: "BP Open Sans";
	src: url("assets/fonts/OpenSansItalic.woff") format("woff");
	font-weight: 400;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "BP Open Sans";
	src: url("assets/fonts/OpenSansBoldItalic.woff") format("woff");
	font-weight: 700;
	font-style: italic;
	font-display: swap;
}
@font-face {
	font-family: "Myriad Pro";
	src: url("assets/fonts/MyriadProRegular.woff") format("woff");
	font-weight: normal;
	font-style: normal;
	font-display: swap;
}

/* ==========================================================================
   Основа
   ========================================================================== */
*,
*::before,
*::after {
	box-sizing: border-box;
}
html {
	-webkit-text-size-adjust: 100%;
	text-size-adjust: 100%;
}
body {
	margin: 0;
	font-family: "OpenSansRegular", "Open Sans", Arial, sans-serif;
	font-size: 14px;
	line-height: 1.3;
	color: #333;
	background: #fff;
	overflow-wrap: break-word;
}
a {
	color: #74a0cf;
	text-decoration: none;
	line-height: 1.333;
}
a:hover,
a:focus {
	color: #23527c;
	text-decoration: underline;
}
a:focus-visible,
button:focus-visible,
input:focus-visible {
	outline: 2px solid #f0ac19;
	outline-offset: 2px;
}
img {
	max-width: 100%;
	height: auto;
	border: 0;
	vertical-align: middle;
}
figure {
	margin: 0;
}
p {
	margin: 0 0 10px;
}
ul,
ol {
	margin-top: 0;
	margin-bottom: 10px;
}
h1,
h2,
h3,
h4 {
	font-family: inherit;
	line-height: 1.4;
	margin: 20px 0 10px;
}
h2 {
	color: #000;
	font-size: 22px;
	font-weight: 700;
	text-transform: uppercase;
}
button,
input,
select,
textarea {
	font-family: inherit;
	font-size: inherit;
	line-height: inherit;
	margin: 0;
}
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute !important;
	width: 1px;
	word-wrap: normal !important;
}
.skip-link:focus {
	clip: auto !important;
	clip-path: none;
	height: auto;
	width: auto;
	left: 6px;
	top: 6px;
	padding: 10px 16px;
	background: #fff;
	color: #23527c;
	z-index: 100001;
	box-shadow: 0 0 4px rgba(0, 0, 0, 0.4);
}
.clearfix::after {
	content: "";
	display: table;
	clear: both;
}

/* Сетка: как у оригинала (Bootstrap 3 с контейнером 1096 px) */
.container {
	margin-right: auto;
	margin-left: auto;
	padding-left: 15px;
	padding-right: 15px;
	width: 100%;
}
@media (min-width: 768px) {
	.container {
		width: 750px;
	}
}
@media (min-width: 992px) {
	.container {
		width: 970px;
	}
}
@media (min-width: 1200px) {
	.container {
		width: 1096px;
	}
}

/* ==========================================================================
   Верхняя коричневая полоса и логотип
   ========================================================================== */
.top {
	background: #4a412a url("assets/images/top_bg.jpg") repeat-x;
	height: 44px;
	font-size: 12px;
	color: #cabd95;
}
.top a {
	font-size: 12px;
	color: #cabd95;
	text-decoration: underline;
}
.top a:hover,
.top a:focus {
	color: #fff;
}
.block_login {
	padding-top: 9px;
	line-height: 1.3;
}
.block_login::after {
	content: "";
	display: table;
	clear: both;
}
.mini_logo {
	width: 30px;
	height: 30px;
	background: url("assets/images/logo.png") no-repeat;
	float: left;
	margin: -4px 14px 0 0;
}
.site-branding {
	min-height: 118px;
}
.site-branding::after {
	content: "";
	display: table;
	clear: both;
}
.logo {
	float: left;
	margin: 8px 0;
	padding-left: 15px;
	line-height: 0;
}
.logo img {
	width: 197px;
	height: auto;
}
.logo img:hover {
	opacity: 0.9;
}

/* ==========================================================================
   Синяя полоса навигации
   ========================================================================== */
.navbar {
	position: relative;
	min-height: 50px;
	height: 50px;
	background: #1b7fc6 url("assets/images/nav_bg.jpg") repeat-x;
}
.navbar-inner {
	display: flex;
	align-items: flex-start;
	height: 50px;
}
.home_icon {
	display: block;
	flex: 0 0 40px;
	width: 40px;
	height: 50px;
	background: url("assets/images/separator.jpg") no-repeat right top;
}
.home_icon .home {
	display: block;
	margin-top: 18px;
	width: 18px;
	height: 13px;
	background: url("assets/images/home.png") no-repeat;
}
.navbar-nav {
	display: flex;
	margin: 0;
	padding: 0;
	list-style: none;
	flex: 0 0 auto;
}
.navbar-nav > li {
	position: relative;
	background: url("assets/images/separator.jpg") no-repeat right top;
	padding-right: 2px;
}
.navbar-nav > li > a {
	display: block;
	height: 50px;
	padding: 15px 40px;
	font-family: "OpenSansRegular", "Open Sans", Arial, sans-serif;
	font-size: 14px;
	line-height: 20px;
	color: #fff;
	text-align: center;
	text-transform: uppercase;
	text-decoration: none;
	white-space: nowrap;
}
.navbar-nav > li > a:hover,
.navbar-nav > li > a:focus,
.navbar-nav > .current-menu-item > a,
.navbar-nav > .current_page_item > a,
.navbar-nav > .current_page_parent > a {
	color: #fff;
	background: url("assets/images/aktivn_buton.png") repeat-x;
}
.navbar-nav > li > a::before {
	content: " ";
	display: inline-block;
	vertical-align: -2px;
	margin-right: 5px;
	background-repeat: no-repeat;
}
.navbar-nav > li:nth-child(1) > a::before {
	background-image: url("assets/images/novosti_after.png");
	width: 18px;
	height: 17px;
	vertical-align: -3px;
}
.navbar-nav > li:nth-child(2) > a::before {
	background-image: url("assets/images/rss_menu.png");
	width: 16px;
	height: 16px;
}
.navbar-nav > li:nth-child(3) > a::before {
	background-image: url("assets/images/icon_comtnt.png");
	width: 16px;
	height: 15px;
}
.navbar-nav > li:nth-child(n+4) > a::before {
	display: none;
}
.navbar-nav .sub-menu {
	display: none;
}

.search_top {
	flex: 1 1 auto;
	min-width: 0;
	margin-top: 8px;
}
.search-form {
	display: flex;
	width: 100%;
}
.search-form .search-field {
	flex: 1 1 auto;
	min-width: 0;
	height: 34px;
	padding: 6px 12px;
	font-size: 14px;
	line-height: 20px;
	color: #555;
	background: #fff;
	border: 1px solid #e7e7e7;
	border-radius: 0;
	-webkit-appearance: none;
	appearance: none;
}
.search-form .search-field::placeholder {
	color: #999;
	opacity: 1;
}
.search-form .search-submit {
	flex: 0 0 40px;
	width: 40px;
	height: 34px;
	padding: 0;
	border: 0;
	border-radius: 0;
	cursor: pointer;
	background: #74a0cf url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 16 16'%3E%3Ccircle cx='6.5' cy='6.5' r='5' fill='none' stroke='%23fff' stroke-width='2'/%3E%3Cpath d='M10.5 10.5L15 15' stroke='%23fff' stroke-width='2' stroke-linecap='round'/%3E%3C/svg%3E") no-repeat center;
}
.search-form .search-submit:hover,
.search-form .search-submit:focus {
	background-color: #5b8cc0;
}

/* Кнопка мобильного меню */
.navbar-toggle {
	display: none;
	position: relative;
	float: right;
	margin: 8px 0;
	padding: 9px 10px;
	background: transparent;
	border: 1px solid #ddd;
	border-radius: 4px;
	cursor: pointer;
}
.navbar-toggle:hover,
.navbar-toggle:focus {
	background-color: rgba(255, 255, 255, 0.2);
}
.navbar-toggle .icon-bar {
	display: block;
	width: 22px;
	height: 2px;
	border-radius: 1px;
	background-color: #fff;
}
.navbar-toggle .icon-bar + .icon-bar {
	margin-top: 4px;
}

/* Выезжающее меню (как на оригинале) */
.menu-content {
	position: fixed;
	top: 0;
	left: 0;
	width: 78%;
	max-width: 340px;
	height: 100%;
	padding-bottom: 24px;
	transform: translateX(-105%);
	visibility: hidden;
	overflow-y: auto;
	transition: transform 0.2s, visibility 0.2s;
	z-index: 100000;
	background: #3b679e;
	background: linear-gradient(135deg, #3b679e 0%, #2b88d9 50%, #207cca 51%, #7db9e8 100%);
}
.menu-opened .menu-content {
	transform: none;
	visibility: visible;
	box-shadow: 3px 1px 21px #000;
}
.menu-overlay {
	display: none;
	position: fixed;
	inset: 0;
	background: rgba(0, 0, 0, 0.35);
	z-index: 99999;
}
.menu-opened .menu-overlay {
	display: block;
}
.menu-content h3 {
	margin: 20px 0 10px 0.9em;
	color: #fff;
	font-size: 17px;
	font-weight: 500;
}
.menu-close {
	float: right;
	margin: 5px 8px 0 0;
	padding: 4px 8px;
	border: 0;
	background: none;
	color: #fff;
	font-size: 22px;
	font-weight: bold;
	line-height: 1;
	text-shadow: 2px 1px 1px #a69ea6;
	cursor: pointer;
}
.menu-close:hover {
	color: #a80000;
}
.menu-content ul {
	margin: 0 0 10px;
	padding: 0;
	list-style: none;
}
.menu-content li a {
	display: block;
	padding: 6px 14px;
	color: #fff;
	font-family: "Myriad Pro", "OpenSansRegular", Arial, sans-serif;
	font-size: 18px;
	text-shadow: 2px 1px 1px #a69ea6;
}
.menu-content li a:hover,
.menu-content li a:focus {
	color: #f0ac19;
	text-decoration: none;
	text-shadow: 2px 1px 1px #938a93;
}
.menu-content .search-form {
	clear: both;
	padding: 10px 14px 4px;
}

/* ==========================================================================
   Колонки: слева «Меню портала», справа содержимое
   ========================================================================== */
.main-container > .row {
	display: flex;
	flex-wrap: wrap;
	margin-left: -15px;
	margin-right: -15px;
}
.col-content {
	flex: 0 0 75%;
	max-width: 75%;
	min-width: 0;
	padding: 0 15px;
}
.col-sidebar {
	flex: 0 0 25%;
	max-width: 25%;
	min-width: 0;
	padding: 0 15px;
	order: -1;
}
.region-sidebar-first {
	padding: 16px 16px 16px 0;
	margin-bottom: 20px;
}
.block {
	margin: 0;
}
.region-sidebar-first h2.block-title {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	gap: 8px;
	font-size: 22px;
	color: #5f5f5f;
	font-weight: bold;
	text-transform: uppercase;
	text-align: left;
	max-width: 10em;
	margin: 20px 0 35px;
}
.region-sidebar-first h2.block-title::after {
	content: "";
	flex: 0 0 31px;
	width: 31px;
	height: 31px;
	margin-top: -3px;
	background: url("assets/images/jakor.png") no-repeat center / contain;
}
.region-sidebar-first h2.block-title--news::after {
	background-image: url("assets/images/icon-nevs.png");
}
.region-sidebar-first .block + .block h2.block-title {
	margin-top: 36px;
}
.side-menu {
	margin: 0;
	padding: 0;
	list-style: none;
}
.side-menu li {
	border-top: 1px solid #e7e7e7;
}
.side-menu li a {
	position: relative;
	display: block;
	padding: 4px 16px 4px 5px;
	font-family: "Myriad Pro", "OpenSansRegular", Arial, sans-serif;
	font-size: 12px;
	text-transform: uppercase;
	line-height: 2.1;
	text-decoration: none;
	color: #74a0cf;
	background: url("assets/images/arrow.jpg") no-repeat right 3px top 2px;
}
.side-menu li a:hover,
.side-menu li a:focus,
.side-menu .current-menu-item > a,
.side-menu .current-cat > a {
	color: #fff;
	background-color: #74a0cf;
	background-image: url("assets/images/arrow_hover.jpg");
}
.side-menu .sub-menu,
.side-menu .children {
	display: none;
}

/* ==========================================================================
   Хлебные крошки, заголовок страницы
   ========================================================================== */
.breadcrumb {
	padding: 8px 15px;
	margin: 20px 0;
	background-color: #f5f5f5;
	border-radius: 4px;
	line-height: 1.5;
}
.breadcrumb a,
.breadcrumb .last {
	color: #a7a7a7;
	font-family: "Myriad Pro", "OpenSansRegular", Arial, sans-serif;
	font-size: 14px;
}
.breadcrumb .last {
	font-size: 13px;
}
.breadcrumb a:hover,
.breadcrumb a:focus {
	color: #23527c;
}
.breadcrumb .delimiter {
	color: #333;
	margin: 0 1px;
}
.page-header {
	margin: 30px 0 15px;
	font-size: 22px;
	line-height: 1.4;
	color: #000;
	font-weight: bold;
	text-transform: uppercase;
	text-align: left;
}
.archive-description {
	margin: 0 0 20px;
	font-size: 15px;
	line-height: 24px;
}
.archive-note {
	margin: 0 0 24px;
	padding: 10px 15px;
	background: #f5f5f5;
	border-left: 3px solid #74a0cf;
	font-size: 13px;
	line-height: 1.5;
	color: #5f5f5f;
}

/* ==========================================================================
   Статья
   ========================================================================== */
.entry-rubric {
	margin: 26px 0 -22px;
	font-family: "Myriad Pro", "OpenSansRegular", Arial, sans-serif;
	font-size: 12px;
	font-weight: bold;
	text-transform: uppercase;
}
.entry-rubric a {
	display: inline-block;
	padding-bottom: 9px;
	background: url("assets/images/vawe_border.png") repeat-x bottom;
}
.entry-rubric a:hover,
.entry-rubric a:focus {
	color: #f0ac19;
	text-decoration: none;
}
.node-info {
	margin: 25px 0 5px;
	font-size: 11px;
	color: #a1a1a1;
	line-height: 1.3;
}
.node-info a {
	font-size: 11px;
}
.node-info__item {
	display: inline-block;
	margin-right: 12px;
}
.node-info__item::before {
	content: "";
	display: inline-block;
	width: 12px;
	height: 12px;
	margin-right: 4px;
	vertical-align: -2px;
	background: no-repeat center / contain;
}
.node-info__item--date::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1a1' d='M1 2h10v9H1z'/%3E%3Cpath fill='%23fff' d='M2 5h8v5H2z'/%3E%3Cpath fill='%23a1a1a1' d='M3 0h1.5v3H3zM7.5 0H9v3H7.5zM3 6h2v1.5H3zM7 6h2v1.5H7zM3 8h2v1.5H3z'/%3E%3C/svg%3E");
}
.node-info__item--rubric::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Cpath fill='%23a1a1a1' d='M0 2h4.5l1.2 1.5H12V11H0z'/%3E%3C/svg%3E");
}
.node-info__item--time::before {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 12 12'%3E%3Ccircle cx='6' cy='6' r='5' fill='none' stroke='%23a1a1a1' stroke-width='1.6'/%3E%3Cpath d='M6 3v3.3l2 1.2' fill='none' stroke='%23a1a1a1' stroke-width='1.4'/%3E%3C/svg%3E");
}
.entry-cover {
	margin: 22px 0 8px;
}
.entry-cover img {
	display: block;
	width: 100%;
	height: auto;
}

.entry-content {
	margin: 20px 0 30px;
	font-family: "BP Open Sans", "OpenSansRegular", "Open Sans", Arial, sans-serif;
	font-size: 15.4px;
	line-height: 24px;
	color: #333;
	text-align: justify;
	-webkit-hyphens: auto;
	hyphens: auto;
}
.entry-content::after {
	content: "";
	display: table;
	clear: both;
}
.entry-content p {
	margin: 0 0 12px;
}
.entry-content a {
	color: #333;
	text-decoration: none;
	border-bottom: 1px dashed #5555dd;
	line-height: inherit;
}
.entry-content a:hover,
.entry-content a:focus {
	color: #23527c;
	border-bottom-style: solid;
}
.entry-content strong,
.entry-content b {
	font-weight: 700;
}
.entry-content h2,
.entry-content h3,
.entry-content h4 {
	font-family: "OpenSansRegular", "Open Sans", Arial, sans-serif;
	text-align: left;
	-webkit-hyphens: manual;
	hyphens: manual;
}
.entry-content h2 {
	margin: 34px 0 12px;
	font-size: 22px;
	line-height: 1.4;
	color: #000;
	font-weight: 700;
	text-transform: uppercase;
}
.entry-content h3 {
	margin: 26px 0 10px;
	font-size: 17px;
	line-height: 1.4;
	color: #5f5f5f;
	font-weight: 700;
	text-transform: uppercase;
}
.entry-content h4 {
	margin: 20px 0 8px;
	font-size: 15.4px;
	font-weight: 700;
	color: #333;
}
.entry-content ul,
.entry-content ol {
	margin: 0 0 14px;
	padding-left: 40px;
	text-align: left;
	-webkit-hyphens: manual;
	hyphens: manual;
}
.entry-content li {
	margin-bottom: 4px;
}
.entry-content li > ul,
.entry-content li > ol {
	margin: 4px 0 0;
}
.entry-content ul li::marker {
	color: #74a0cf;
}
.entry-content ol li::marker {
	color: #5f5f5f;
	font-weight: 700;
}
.entry-content hr,
.entry-content .wp-block-separator {
	margin: 28px 0;
	border: 0;
	height: 8px;
	background: url("assets/images/vawe_border.png") repeat-x center;
}

/* Цитаты */
.entry-content blockquote,
.entry-content .wp-block-quote {
	margin: 22px 0;
	padding: 14px 20px;
	font-size: 16.5px;
	line-height: 26px;
	text-align: left;
	color: #333;
	background: #f5f5f5;
	border: 0;
	border-left: 5px solid #74a0cf;
	border-radius: 0 4px 4px 0;
	-webkit-hyphens: manual;
	hyphens: manual;
}
.entry-content blockquote p:last-child {
	margin-bottom: 0;
}
.entry-content blockquote cite,
.entry-content .wp-block-quote cite {
	display: block;
	margin-top: 8px;
	font-size: 13px;
	font-style: normal;
	color: #777;
}
.entry-content .wp-block-pullquote {
	margin: 22px 0;
	padding: 0;
	text-align: left;
}

/* Картинки и подписи */
.entry-content img {
	max-width: 100%;
	height: auto;
}
.entry-content figure,
.entry-content .wp-block-image,
.entry-content .wp-block-embed,
.entry-content .wp-block-table,
.entry-content .wp-block-gallery {
	margin: 24px 0;
}
.entry-content .wp-block-image img {
	display: block;
	margin-left: auto;
	margin-right: auto;
	border-radius: 2px;
}
.entry-content figcaption,
.entry-content .wp-element-caption,
.entry-content .wp-caption-text {
	margin: 8px 0 0;
	font-family: "OpenSansRegular", "Open Sans", Arial, sans-serif;
	font-size: 12.5px;
	line-height: 1.45;
	color: #8a8a8a;
	text-align: center;
	-webkit-hyphens: manual;
	hyphens: manual;
}
.entry-content .alignleft {
	float: left;
	margin: 6px 20px 12px 0;
	max-width: 50%;
}
.entry-content .alignright {
	float: right;
	margin: 6px 0 12px 20px;
	max-width: 50%;
}
.entry-content .aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
	text-align: center;
}
.entry-content .alignwide,
.entry-content .alignfull {
	max-width: 100%;
	margin-left: 0;
	margin-right: 0;
}
.entry-content .wp-caption {
	max-width: 100%;
}

/* Видео: блок 16:9 на всю ширину колонки */
.entry-content .wp-block-embed {
	clear: both;
}
.entry-content .wp-block-embed__wrapper {
	position: relative;
}
.entry-content .wp-block-embed iframe,
.entry-content iframe {
	max-width: 100%;
	border: 0;
}
.entry-content .wp-block-embed.wp-has-aspect-ratio .wp-block-embed__wrapper::before {
	content: "";
	display: block;
	padding-top: 56.25%;
}
.entry-content .wp-block-embed.wp-embed-aspect-4-3 .wp-block-embed__wrapper::before {
	padding-top: 75%;
}
.entry-content .wp-block-embed.wp-embed-aspect-1-1 .wp-block-embed__wrapper::before {
	padding-top: 100%;
}
.entry-content .wp-block-embed.wp-embed-aspect-9-16 .wp-block-embed__wrapper::before {
	padding-top: 177.77%;
}
.entry-content .wp-block-embed.wp-has-aspect-ratio iframe {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #000;
}

/* Таблицы: оформление таблиц из статей оригинала, но с читаемым кеглем */
.entry-content .wp-block-table {
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}
.entry-content table {
	width: 100%;
	margin: 20px 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.45;
	color: #555;
	text-align: left;
	text-shadow: 1px 1px 0 #fff;
	background: #eaebec;
	border: 1px solid #ccc;
	border-collapse: separate;
	border-spacing: 0;
	border-radius: 3px;
	box-shadow: 0 1px 2px #d1d1d1;
	-webkit-hyphens: manual;
	hyphens: manual;
}
.entry-content .wp-block-table table {
	margin: 0;
}
.entry-content table th,
.entry-content .wp-block-table th {
	padding: 14px 12px;
	font-weight: bold;
	color: #444;
	text-align: left;
	vertical-align: middle;
	border: 0;
	border-top: 1px solid #fafafa;
	border-bottom: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	background: linear-gradient(#ededed, #e6e6e6);
}
.entry-content table td,
.entry-content .wp-block-table td {
	padding: 12px;
	vertical-align: top;
	border: 0;
	border-top: 1px solid #fff;
	border-bottom: 1px solid #e0e0e0;
	border-left: 1px solid #e0e0e0;
	background: #fafafa;
}
.entry-content table th:first-child,
.entry-content table td:first-child {
	padding-left: 20px;
	border-left: 0;
}
.entry-content table tbody tr:nth-child(even) td {
	background: #f6f6f6;
}
.entry-content table tr:last-child td {
	border-bottom: 0;
}
.entry-content table tbody tr:hover td {
	background: #f0f0f0;
}
.entry-content table a {
	color: #555;
	font-weight: bold;
}
.entry-content .wp-block-table thead,
.entry-content .wp-block-table tfoot {
	border: 0;
}
.entry-content .wp-block-table figcaption {
	text-shadow: none;
}

/* Подвал статьи */
.entry-footer {
	margin: 0 0 20px;
	padding-top: 14px;
	border-top: 1px solid #e7e7e7;
	font-size: 14px;
}
.entry-footer .field-label {
	font-weight: 700;
	font-family: Arial, sans-serif;
	margin-right: 4px;
}
.entry-footer .entry-tags {
	margin-top: 6px;
	font-size: 12px;
	color: #a1a1a1;
}
.page-links {
	margin: 20px 0;
	clear: both;
}

/* ==========================================================================
   Карточки (лента, рубрики, поиск, «Читайте также»)
   ========================================================================== */
.block-title {
	margin: 20px 0 10px;
}
.cards {
	display: flex;
	flex-wrap: wrap;
	margin: 0 -15px;
}
.cards__item {
	flex: 0 0 33.3333%;
	max-width: 33.3333%;
	min-width: 0;
	padding: 0 15px;
	display: flex;
}
.thumbnail {
	display: flex;
	flex-direction: column;
	width: 100%;
	padding: 10px;
	margin-bottom: 20px;
	line-height: 1.42857143;
	background-color: #fff;
	border-radius: 2px;
	box-shadow: 0 0 2px #787778;
}
.thumbnail__image {
	display: block;
	line-height: 0;
	background: #e9e9e9;
}
.thumbnail__image img {
	display: block;
	width: 100%;
	aspect-ratio: 235 / 125;
	object-fit: cover;
}
.thumbnail__image:hover img,
.thumbnail__image:focus img {
	opacity: 0.9;
}
.thumbnail__rubric {
	margin-top: 12px;
	font-family: "Myriad Pro", "OpenSansRegular", Arial, sans-serif;
	font-size: 11px;
	text-transform: uppercase;
	line-height: 1.3;
}
.thumbnail__rubric a {
	color: #a1a1a1;
}
.thumbnail__rubric a:hover,
.thumbnail__rubric a:focus {
	color: #23527c;
}
.thumbnail .title {
	margin: 6px 0 0;
	min-height: 56px;
	font-size: 14px;
	color: #74a0cf;
	font-weight: bold;
	text-transform: uppercase;
	line-height: 1.333;
	text-align: left;
}
.thumbnail .title a {
	font-family: "Myriad Pro", "OpenSansRegular", Arial, sans-serif;
}
.thumbnail .content_body {
	flex: 1 1 auto;
	margin: 13px 0;
	padding-bottom: 13px;
	border-bottom: 1px solid #c7c6c6;
	font-size: 14px;
	line-height: 20px;
}
.thumbnail .content_body p {
	margin: 0;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
	line-clamp: 4;
	overflow: hidden;
}
.thumbnail .grey {
	font-size: 11px;
	color: #a1a1a1;
	line-height: 1.43;
}
.thumbnail .card-date::before {
	content: " ";
	float: left;
	width: 14px;
	height: 14px;
	margin-right: 4px;
	background: url("assets/images/date_before.jpg") no-repeat;
}

/* Постраничная навигация: круглые «таблетки», как в оригинале */
.pagination-wrap {
	text-align: center;
	clear: both;
}
.pagination {
	display: inline-flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px 20px;
	margin: 20px 0;
	padding: 0;
	list-style: none;
}
.pagination > li > a,
.pagination > li > span {
	display: block;
	min-width: 34px;
	padding: 6px 12px;
	line-height: 1.42857143;
	text-decoration: none;
	color: #8b8a8a;
	background-color: #fff;
	border: 1px solid #ddd;
	border-radius: 19px;
}
.pagination > li > a:hover,
.pagination > li > a:focus {
	color: #727272;
	border-color: #74a0cf;
}
.pagination > li > span.current {
	color: #74a0cf;
	border-color: #74a0cf;
	cursor: default;
}
.pagination > li > span.dots {
	border-color: transparent;
	padding-left: 0;
	padding-right: 0;
	min-width: 0;
}

/* Поиск, 404, «ничего не найдено» */
.content-search {
	max-width: 520px;
	margin: 0 0 26px;
}
.no-results,
.error-404 {
	font-size: 15.4px;
	line-height: 24px;
	margin-bottom: 30px;
}
.error-404 ul {
	padding-left: 20px;
}

/* ==========================================================================
   Подвал
   ========================================================================== */
.footer {
	margin-top: 45px;
	padding: 0;
	font-size: 13px;
	font-family: "Myriad Pro", "OpenSansRegular", Arial, sans-serif;
	color: #303030;
}
.footer-menu {
	display: flex;
	flex-wrap: wrap;
	margin: 0 0 35px -15px;
	padding: 27px 0 0;
	list-style: none;
}
.footer-menu li a {
	display: block;
	padding: 6px 14px;
	font-family: "Myriad Pro", "OpenSansRegular", Arial, sans-serif;
	font-size: 13px;
	font-weight: 700;
	text-transform: uppercase;
	color: #74a0cf;
}
.footer-menu li a:hover,
.footer-menu li a:focus {
	color: #23527c;
	text-decoration: none;
}
.footer-menu .sub-menu {
	display: none;
}
.footer-cols {
	display: flex;
	flex-wrap: wrap;
}
.footer-col {
	flex: 0 0 33.3333%;
	max-width: 33.3333%;
	padding: 0 15px;
}
.footer-col p {
	margin: 0 0 10px;
	line-height: 1.3;
}
.footer-col--logo {
	text-align: center;
}
.footer-col--copy {
	text-align: center;
	padding-top: 13px;
}
.valwe {
	background: url("assets/images/bg_footer.png") repeat-x top;
	height: 90px;
	margin-top: 13px;
}

/* ==========================================================================
   Адаптив
   ========================================================================== */
@media (min-width: 768px) and (max-width: 991px) {
	.navbar-nav > li > a {
		padding-left: 14px;
		padding-right: 14px;
	}
	.cards__item {
		flex-basis: 50%;
		max-width: 50%;
	}
	.region-sidebar-first h2.block-title {
		font-size: 16px;
		margin-bottom: 25px;
		max-width: none;
	}
	.region-sidebar-first h2.block-title::after {
		flex-basis: 24px;
		width: 24px;
		height: 24px;
		margin-top: -1px;
	}
}
@media (min-width: 992px) and (max-width: 1199px) {
	.navbar-nav > li > a {
		padding-left: 28px;
		padding-right: 28px;
	}
}
@media (max-width: 767px) {
	.block_login {
		white-space: nowrap;
		overflow: hidden;
		text-overflow: ellipsis;
	}
	.site-branding {
		min-height: 0;
	}
	.logo img {
		width: 118px;
	}
	.navbar-toggle {
		display: block;
	}
	.navbar-inner {
		display: none;
	}
	.main-container > .row {
		display: block;
	}
	.col-content,
	.col-sidebar {
		max-width: none;
	}
	.region-sidebar-first {
		padding: 16px 0 0;
		margin-top: 20px;
		border-top: 1px solid #e7e7e7;
	}
	.breadcrumb {
		margin: 15px 0;
	}
	.breadcrumb .breadcrumb-title,
	.breadcrumb .delimiter--last {
		display: none;
	}
	.page-header {
		margin-top: 22px;
		font-size: 20px;
		line-height: 1.35;
	}
	.entry-rubric {
		margin: 18px 0 -16px;
	}
	.node-info {
		margin-top: 16px;
	}
	.entry-content {
		font-size: 16px;
		line-height: 25px;
		text-align: left;
		-webkit-hyphens: manual;
		hyphens: manual;
	}
	.entry-content h2 {
		font-size: 19px;
		margin-top: 28px;
	}
	.entry-content h3 {
		font-size: 16px;
	}
	.entry-content ul,
	.entry-content ol {
		padding-left: 24px;
	}
	.entry-content blockquote,
	.entry-content .wp-block-quote {
		padding: 12px 14px;
		font-size: 16px;
		line-height: 25px;
	}
	.entry-content table {
		font-size: 13px;
	}
	.entry-content table th,
	.entry-content table td,
	.entry-content .wp-block-table th,
	.entry-content .wp-block-table td {
		padding: 9px 8px;
	}
	.entry-content table th:first-child,
	.entry-content table td:first-child {
		padding-left: 10px;
	}
	.entry-content .alignleft,
	.entry-content .alignright {
		float: none;
		max-width: 100%;
		margin: 16px 0;
	}
	.cards__item {
		flex-basis: 100%;
		max-width: 100%;
	}
	.thumbnail .title {
		min-height: 0;
		font-size: 15px;
	}
	.pagination {
		gap: 8px 10px;
	}
	.footer-menu {
		margin: 0 0 20px;
		justify-content: flex-start;
	}
	.footer-cols {
		display: block;
		padding: 0;
	}
	.footer-col {
		max-width: none;
		padding: 0;
		margin: 1em auto;
		text-align: center;
	}
	.footer-col--copy {
		padding-top: 0;
	}
}
@media (min-width: 480px) and (max-width: 767px) {
	.cards__item {
		flex-basis: 50%;
		max-width: 50%;
	}
}
@media print {
	.top,
	.navbar,
	.col-sidebar,
	.menu-content,
	.footer-menu,
	.valwe,
	.related {
		display: none !important;
	}
	.col-content {
		flex-basis: 100%;
		max-width: 100%;
	}
}

/* ---------- Главная страница ---------- */
.home-header { margin-top: 34px; }
.home-more { margin: 4px 0 0; text-align: right; font-size: 13px; text-transform: uppercase; }
.home-more a { color: #0074ba; }
.home-sections { display: grid; grid-template-columns: repeat(3, 1fr); gap: 12px; margin: 0 0 8px; }
.home-section { display: block; padding: 14px 16px; background: #f4f8fc; border: 1px solid #e1eaf3; border-left: 4px solid #74a0cf; text-decoration: none; transition: background .15s, border-color .15s; }
.home-section:hover, .home-section:focus { background: #e8f2fa; border-left-color: #0074ba; text-decoration: none; }
.home-section__name { display: block; font-size: 14px; font-weight: 700; text-transform: uppercase; color: #1d3c5a; }
.home-section__note { display: block; margin-top: 4px; font-size: 13px; line-height: 1.4; color: #666; }
.home-archive { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.home-archive__title { margin: 0 0 8px; font-size: 15px; font-weight: 700; text-transform: uppercase; color: #303030; }
.home-archive ul { margin: 0; padding: 0; list-style: none; }
.home-archive li { padding: 7px 0; border-bottom: 1px solid #e7e7e7; font-size: 14px; line-height: 1.4; }
.home-archive li a { color: #0074ba; }
@media (max-width: 767px) {
	.home-sections, .home-archive { grid-template-columns: 1fr; }
}
