/**
 * Главный файл стилей для сайта Компенсатор.kz
 * Консолидированная версия для WordPress
 */

/* ========== БАЗОВЫЕ СТИЛИ ========== */
html, body, form {
	margin: 0;
	padding: 0;
}

html {
	height: 100%;
}

body {
	height: auto !important;
	height: 100%;
	min-height: 100%;
	min-width: 1400px;
	font-size: 14px;
	font-family: "Times New Roman", Times, serif;
	color: #454545;
	background: #0093dd url(../images/bg001.jpg) left top no-repeat;
	background-attachment: fixed;
	text-align: center;
}

/* ========== ПЛАВАЮЩАЯ КНОПКА WHATSAPP ========== */
.whatsapp-float {
	position: fixed;
	width: 60px;
	height: 60px;
	bottom: 40px;
	left: 40px;
	z-index: 1000;
	display: block;
	transition: all 0.3s ease;
}

.whatsapp-float img {
	width: 100%;
	height: 100%;
	filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
}

.whatsapp-float:hover {
	transform: scale(1.1);
}

p {
	line-height: 1.2;
}

table {
	font-size: 90%;
}

/* ========== ССЫЛКИ ========== */
a:link { color: #2775C7; text-decoration: none; }
a:visited { color: #2775C7; text-decoration: none; }
a:active { color: #2775C7; text-decoration: none; }
a:hover { color: #ff5200; text-decoration: none; }

/* ========== ЗАГОЛОВКИ ========== */
h1, h2, h3, h4, h5, h6 {
	color: #ff5200;
}

h1 {
	margin: 0;
	padding: 0;
	font-size: 170%; /* Вернул проценты для масштабируемости, увеличил с 150% */
	margin-bottom: 8px;
	padding-bottom: 15px;
	padding-top: 14px;
	border-bottom: 1px dotted #C4C4C3;
	text-align: right;
	font-weight: bold;
}

h2, h3 {
	font-size: 110%;
}

h3 {
	padding-top: 14px;
	border-top: 1px dotted #C4C4C3;
}

h2 {
	padding-top: 15px;
	padding-bottom: 5px;
}

h4, h5, h6 {
	font-size: 110%;
}

/* ========== LAYOUT СТРУКТУРА ========== */
#top-block {
	/* Центрируем шапку и пиксельным сдвигом вправо выравниваем её правый край
	   с правым краем #work / #bottom-menu / #bottom-content (которые сами
	   сдвинуты на 250px вправо относительно центра через #work-block). */
	width: 1148px;
	margin: 0 auto;
	position: relative;
	left: 100px;
	height: 250px;
	text-align: left;
	padding: 0;
	overflow: hidden;
}

#logo {
	padding-top: 45px;
	float: right;
	position: relative;
	z-index: 2;
}

#logo img {
	width: 164px;
	height: 160px;
	object-fit: contain;
	display: block;
}

/* ========== ЭМБЛЕМА ТЕХМАШ (рядом с лого Рауан справа) ========== */
#emblem {
	padding-top: 38px;
	float: right;
	position: relative;
	z-index: 2;
	margin-right: 12px;
}

.ukrainian-emblem {
	text-align: center;
}

.ukrainian-emblem img {
	width: 195px;
	height: 190px;
	object-fit: contain;
	display: block;
	/* Подложка, чтобы логотип не сливался с голубым фоном сайта. */
	background: #ffffff52;
	border-radius: 12px;
	box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

#top-menu {
	width: 720px;
	height: 150px;
	padding-top: 40px;
	position: relative;
	z-index: 3;
	float: left;
	margin-left: 0;
}

#work-block {
	margin: 0 auto;
	width: 848px;
	height: auto;
	text-align: left;
}

#work {
	width: 848px; /* Увеличена ширина для одноколоночного layout */
	height: auto;
	margin-left: 250px; /* Уменьшен отступ слева */
	background: url(../images/bg002.png) repeat;
	border-radius: 15px 15px 0 0;
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 6px 6px 0 0;
	-khtml-border-radius: 6px 6px 0 0;
	padding: 30px;
}

.work-block-left {
	border-right: 1px dashed #C4C4C3;
	padding-right: 10px;
}

.work-block-right {
	padding-left: 10px;
	min-height: 600px; /* Минимальная высота для показа фона */
}

.work-block-right img {
	margin: 0px;
	border: 1px solid;
	border-color: #cbd5de;
	padding: 0px;
}

/* ========== ОДНОКОЛОНОЧНЫЙ LAYOUT БЕЗ САЙДБАРА ========== */
.work-block-full {
	padding: 10px;
	width: 100%;
	min-height: 600px; /* Минимальная высота для показа фона */
}

.work-block-full img {
	margin: 0px;
	border: 1px solid;
	border-color: #cbd5de;
	padding: 0px;
}

.content-left {
	padding: 10px 0px;
}

.search {
	padding: 10px 10px 10px 0px;
	margin-right: 10px;
}

#bottom-menu {
	width: 848px; /* Соответствует новой ширине #work */
	height: auto;
	margin-left: 250px; /* Соответствует новому отступу #work */
	background: #f8c301;
	margin-top: 20px;
	padding: 0 30px 0 30px;
}

#bottom-content {
    width: 848px;
    background: #333;
    margin-left: 250px;
}

.textCopyright {
	color: #ffffff;
	line-height: 1.35;
	font-size: 13px;
}

.textCopyright p {
	margin: 0 0 4px 0;
	line-height: 1.35;
}

.textCopyright p:last-child {
	margin-bottom: 0;
}

.textCopyright a {
	color: #0093dd;
}

/* ========== ГОРИЗОНТАЛЬНОЕ МЕНЮ ========== */
#horizontal-multilevel-menu,
#horizontal-multilevel-menu ul {
	margin: 0;
	padding: 0;
	background: url(../images/bg002.png) repeat-x;
	background-size: cover;
	min-height: 27px;
	width: 100%;
	list-style: none;
	font-size: 14px;
	float: left;
	border-radius: 10px;
}

#horizontal-multilevel-menu a {
	display: block;
	padding: 5px 10px;
	text-decoration: none;
	text-align: center;
	text-transform: uppercase;
	transition: all 0.2s ease;
	position: relative; /* Ensure link is above the bridge */
	z-index: 405;
}

#horizontal-multilevel-menu li {
	float: left;
	position: relative; /* Ensure absolute children are positioned relative to li */
}

#horizontal-multilevel-menu li a.root-item {
	color: #0190de;
	font-weight: bold;
	padding: 15px 8px;
	border-radius: 4px;
	margin: 2px 1px;
	background: rgba(255, 255, 255, 0.8);
	border: 1px solid rgba(1, 144, 222, 0.2);
}

#horizontal-multilevel-menu li a.root-item-selected {
	background: #ff5200;
	color: #fff;
	font-weight: bold;
	padding: 15px 8px;
	border-radius: 4px;
	margin: 2px 1px;
	box-shadow: 0 2px 4px rgba(255, 82, 0, 0.3);
}

#horizontal-multilevel-menu li:hover a.root-item,
#horizontal-multilevel-menu li.jshover a.root-item {
	background: rgba(1, 144, 222, 0.1);
	color: #0190de;
	box-shadow: 0 2px 4px rgba(1, 144, 222, 0.2);
	transform: translateY(-1px);
}

#horizontal-multilevel-menu li:hover,
#horizontal-multilevel-menu li.jshover {
	background: transparent;
}

#horizontal-multilevel-menu li.item-selected {
	background: transparent;
}

#horizontal-multilevel-menu li ul {
	position: absolute;
	top: 100%;
	display: none;
	z-index: 500;
	height: auto;
	width: 180px;
	background: #ffffff;
	border: 1px solid #C1C1C1;
	border-radius: 4px;
	box-shadow: 0 3px 8px rgba(0, 0, 0, 0.15);
	margin-top: -12px; /* Pull up to bridge gap */
}

/* Invisible bridge for hover */
#horizontal-multilevel-menu li:hover::after {
	content: '';
	position: absolute;
	left: 0;
	right: 0;
	bottom: -5px;
	height: 10px;
	z-index: 400;
}

#horizontal-multilevel-menu li li {
	width: 100%;
	border-bottom: 1px solid #f0f0f0;
}

#horizontal-multilevel-menu li li:last-child {
	border-bottom: none;
}

#horizontal-multilevel-menu li ul a {
	text-align: left;
	padding: 8px 15px;
	color: #333333;
	font-weight: normal;
	text-transform: none;
	border-radius: 0;
	margin: 0;
	background: transparent;
	border: none;
}

#horizontal-multilevel-menu li ul a:hover {
	background: #f8f9fa;
	color: #ff5200;
}

#horizontal-multilevel-menu li a,
#horizontal-multilevel-menu li:hover li a,
#horizontal-multilevel-menu li.jshover li a {
	color: #333333;
	font-weight: normal;
}

#horizontal-multilevel-menu li:hover li:hover a,
#horizontal-multilevel-menu li.jshover li.jshover a {
	color: #ff5200;
	background: #f8f9fa;
}

#horizontal-multilevel-menu li ul ul {
	margin: 0 0 0 180px;
	top: 0;
}

#horizontal-multilevel-menu li:hover ul,
#horizontal-multilevel-menu li.jshover ul,
#horizontal-multilevel-menu li li:hover ul,
#horizontal-multilevel-menu li li.jshover ul {
	display: block;
}

div.menu-clear-left {
	clear: left;
}

/* ========== ДВУХУРОВНЕВОЕ МЕНЮ ========== */
.two-level-menu {
	display: flex !important;
	flex-wrap: wrap;
	justify-content: center;
	width: 100% !important;
	border-radius: 4px;
	padding: 5px !important;
	margin: 0 !important;
	list-style: none !important;
	font-size: 14px !important;
}

.two-level-menu li {
	float: none !important;
	flex: 0 0 auto;
	margin: 1px !important;
}

/* Принудительный перенос после 5-го элемента */
.two-level-menu li:nth-child(5)::after {
	content: "";
	flex-basis: 100%;
	height: 0;
}

.two-level-menu li a.root-item {
	padding: 12px 16px !important;
	font-size: 13px !important;
	margin: 2px !important;
	font-weight: bold !important;
}

/* ========== МЕНЮ ДЕРЕВО ========== */
div.menu-sitemap-tree a {
	font-size: 100%;
	font-family: "Times New Roman", Times, serif;
	font-weight: normal;
	text-decoration: none;
}

div.menu-sitemap-tree {
	padding-bottom: 10px;
}

div.menu-sitemap-tree ul {
	list-style-type: none;
	margin: 0;
	padding: 0 1em 0 0;
}

div.menu-sitemap-tree ul ul {
	width: auto;
	margin: -0.75em 0 0 0;
	padding: 0 0 0 0.75em;
}

div.menu-sitemap-tree li {
	margin: 0 0.5em -1em -1.5em;
	padding: 0;
}

div.menu-sitemap-tree li a {
	font-weight: bold;
	text-decoration: none;
}

div.menu-sitemap-tree li li a {
	font-weight: bolder;
	text-decoration: none;
	font-size: 12px;
	font-style: normal;
}

div.menu-sitemap-tree li li {
	margin: 0 0.5em -1em 0.5em;
	padding: 0;
}

div.menu-sitemap-tree div.item-text a {
	position: relative;
	top: -19px;
	left: 19px;
	text-decoration: none;
}

div.menu-sitemap-tree div.item-text-selected a {
	position: relative;
	top: -19px;
	left: 19px;
	color: #ff5200;
	text-decoration: none;
}

div.menu-sitemap-tree div.item-text-deepest a {
	position: relative;
	top: -19px;
	left: 19px;
	text-decoration: none;
}

/* ========== НИЖНЕЕ МЕНЮ (ТАБЫ) ========== */
div.grey-tabs-menu {
	width: 788px;
	font-size: 12px;
	text-align: center;
}

div.grey-tabs-menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
	white-space: nowrap;
}

div.grey-tabs-menu li {
	display: inline;
	margin: 0;
	padding: 0;
}

div.grey-tabs-menu a {
	float: left;
	margin: 0;
	text-decoration: none;
	padding: 5px 6px;
	text-transform: uppercase;
}

div.grey-tabs-menu a nobr {
	float: left;
	display: block;
	padding: 0;
	white-space: nowrap;
	color: #0190de;
	margin: 0;
}

div.grey-tabs-menu a nobr {
	float: none;
}

div.grey-tabs-menu a:hover nobr {
	color: #fff500;
}

/* ========== ХЛЕБНЫЕ КРОШКИ ========== */
ul.breadcrumb-navigation {
	padding: 0;
	margin: 0 0 10px 0; /* Add bottom margin */
	padding-top: 4px;
	list-style: none;
	float: right;
	font-size: 12px;
}

ul.breadcrumb-navigation li {
	display: inline-block;
	color: #666;
}

ul.breadcrumb-navigation li a {
	color: #2775C7;
	text-decoration: none;
}

ul.breadcrumb-navigation li a:hover {
	color: #ff5200;
	text-decoration: underline;
}

/* Разделитель между элементами */
ul.breadcrumb-navigation li + li::before {
	content: "»";
	margin: 0 6px;
	color: #ccc;
	font-family: Arial, sans-serif; /* Символ лучше смотрится в Arial */
}

/* ========== НОВОСТИ ========== */
div.news-list {
	padding-bottom: 10px;
}

div.news-list img.preview_picture {
	float: left;
	margin: 0 4px 6px 0;
}

.news-item {
	margin-bottom: 8px;
	padding-bottom: 10px;
	line-height: 1.5;
}

.news-item:last-child {
	border-bottom: none;
}

.news-item a {
	color: #2775C7;
	text-decoration: none;
}

.news-item a:hover {
	color: #ff5200;
	text-decoration: underline;
}

.news-date-time {
	color: #333;
	font-size: 90%;
	font-weight: bold;
	display: inline;
	margin-right: 5px;
}

/* Заголовок новости в сайдбаре на одной строке с датой */
.news-item b {
	display: inline;
}

/* Архив новостей */
.news-archive {
	margin-top: 20px;
}

.news-archive-item {
	margin-bottom: 30px;
	padding-bottom: 30px;
	border-bottom: 1px dotted #C4C4C3;
}

.news-archive-item:last-child {
	border-bottom: none;
}

.news-archive-item .entry-header {
	margin-bottom: 15px;
}

.news-archive-item .entry-title {
	margin: 5px 0 10px 0;
	font-size: 130%;
}

.news-archive-item .entry-title a {
	color: #ff5200;
	text-decoration: none;
}

.news-archive-item .entry-title a:hover {
	color: #2775C7;
	text-decoration: underline;
}

.news-archive-item .post-thumbnail {
	float: left;
	margin: 0 15px 10px 0;
	max-width: 350px;
}

.news-archive-item .post-thumbnail img {
	display: block;
	width: 100%;
	height: auto;
	border: 1px solid #C4C4C3;
}

.news-archive-item .entry-summary {
	margin-bottom: 10px;
	line-height: 1.6;
}

.news-archive-item .entry-footer {
	clear: both;
	padding-top: 10px;
}

.news-archive-item .read-more {
	display: inline-block;
	padding: 5px 15px;
	background-color: #ff5200;
	color: #fff !important;
	border-radius: 3px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.news-archive-item .read-more:hover {
	background-color: #2775C7;
	color: #fff !important;
}

/* Навигация по страницам */
.posts-navigation {
	clear: both;
	margin-top: 30px;
	padding: 20px 0;
	border-top: 2px solid #C4C4C3;
	display: flex;
	justify-content: space-between;
}

.posts-navigation .nav-links {
	width: 100%;
	display: flex;
	justify-content: space-between;
}

.posts-navigation a {
	padding: 8px 20px;
	background-color: #f5f5f5;
	border: 1px solid #C4C4C3;
	border-radius: 3px;
	color: #2775C7;
	text-decoration: none;
	transition: all 0.3s ease;
}

.posts-navigation a:hover {
	background-color: #ff5200;
	color: #fff;
	border-color: #ff5200;
}

.page-header {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 2px solid #ff5200;
}

.page-header .page-title {
	color: #ff5200;
	margin: 0 0 10px 0;
}

.page-header .archive-description {
	color: #666;
	font-size: 95%;
	line-height: 1.5;
}

/* ========== ПОИСК ========== */
.search-result-item {
	margin-bottom: 25px;
	padding-bottom: 20px;
	border-bottom: 1px dotted #C4C4C3;
}

.search-result-item:last-child {
	border-bottom: none;
}

.search-result-item .entry-title {
	margin: 0 0 10px 0;
	font-size: 130%;
}

.search-result-item .entry-title a {
	color: #2775C7;
	text-decoration: none;
}

.search-result-item .entry-title a:hover {
	color: #ff5200;
	text-decoration: underline;
}

.search-result-item .entry-summary {
	margin-bottom: 10px;
	line-height: 1.6;
}

.search-result-item .entry-meta a {
	color: #ff5200;
	text-decoration: none;
	font-weight: bold;
}

.search-result-item .entry-meta a:hover {
	color: #2775C7;
}

.no-results {
	text-align: center;
	padding: 40px 20px;
}

.no-results h1 {
	color: #ff5200;
	margin-bottom: 20px;
}

.no-results p {
	margin-bottom: 15px;
	line-height: 1.6;
}

/* Подсветка найденных слов в результатах поиска */
.search-highlight {
	background-color: #ff5200;
	color: #fff;
	padding: 2px 4px;
	border-radius: 2px;
	font-weight: bold;
}

/* ========== 404 ========== */
.error-404 {
	text-align: center;
	padding: 40px 20px;
}

.error-404 .page-header {
	border-bottom: none;
}

.error-404 h1 {
	color: #ff5200;
	font-size: 180%;
	margin-bottom: 20px;
}

.error-404 .page-content {
	max-width: 600px;
	margin: 0 auto;
}

.error-404 .button {
	display: inline-block;
	padding: 10px 30px;
	background-color: #ff5200;
	color: #fff !important;
	border-radius: 5px;
	text-decoration: none;
	font-weight: bold;
	transition: background-color 0.3s ease;
}

.error-404 .button:hover {
	background-color: #2775C7;
}

.search-form-404 {
	margin: 30px auto;
	max-width: 400px;
}


/* ========== ФОРМА ПОИСКА ========== */
div.search-form {
	padding: 10px 0px 10px 20px;
}

.search-form input[type="text"] {
	padding: 5px 8px;
	border: 1px solid #C4C4C3;
	font-size: 13px;
	width: 140px;
	font-family: "Times New Roman", Times, serif;
}

.search-form input[type="submit"] {
	padding: 5px 12px;
	background: #ff5200;
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: bold;
	font-family: "Times New Roman", Times, serif;
}

.search-form input[type="submit"]:hover {
	background: #e04800;
}

/* ========== ФОРМА ПОИСКА В ФУТЕРЕ ========== */
.footer-search {
	margin-bottom: 20px;
	padding: 15px;
	background: rgba(255,255,255,0.1);
	border-radius: 5px;
}

.footer-search h4 {
	margin: 0 0 10px 0;
	color: #fff;
	font-size: 14px;
	font-weight: bold;
	text-align: center;
}

.footer-search-form {
	text-align: center;
}

.footer-search-form input[type="text"] {
	padding: 6px 10px;
	border: 1px solid #C4C4C3;
	font-size: 13px;
	width: 180px;
	font-family: "Times New Roman", Times, serif;
	margin-bottom: 8px;
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.footer-search-form input[type="submit"] {
	padding: 6px 15px;
	background: #ff5200;
	color: #fff;
	border: none;
	cursor: pointer;
	font-size: 13px;
	font-weight: bold;
	font-family: "Times New Roman", Times, serif;
	border-radius: 3px;
}

.footer-search-form input[type="submit"]:hover {
	background: #e04800;
}

.footer-counters {
	margin-top: 15px;
}

/* ========== КАТАЛОГ ПРОДУКЦИИ ========== */
div.catalog-section-list ul {
	list-style-type: none;
	padding-left: 20px;
}

div.catalog-section-list ul ul {
	padding-left: 30px;
	margin-top: 5px;
}

div.catalog-section-list li {
	margin: 5px 0;
}

div.catalog-section-list a {
	font-weight: bold;
}

/* ========== НОМЕНКЛАТУРА ПРОДУКЦИИ (archive-product.php) ========== */
.product-catalog-title {
	color: #ff5200;
	font-size: 170%;
	margin: 0 0 20px 0;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
	text-align: right;
	font-weight: normal;
}

.product-nomenclature {
	padding: 20px 0;
}

/* Основной список категорий */
.nomenclature-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.nomenclature-item {
	margin: 15px 0;
	padding: 0;
}

/* Основная категория (первый уровень) */
.nomenclature-category {
	color: #2775C7;
	font-size: 110%;
	font-weight: bold;
	text-decoration: none;
	display: inline-block;
	padding: 5px 0;
}

.nomenclature-category:hover {
	color: #ff5200;
	text-decoration: underline;
}

/* Подкатегории (второй и третий уровень) */
.nomenclature-sublist {
	list-style: disc inside;
	margin: 8px 0 0 30px;
	padding: 0;
}

.nomenclature-subitem {
	margin: 5px 0;
	padding: 0;
	line-height: 1.6;
}

.nomenclature-subitem a {
	color: #2775C7;
	text-decoration: none;
	font-size: 100%;
}

.nomenclature-subitem a:hover {
	color: #ff5200;
	text-decoration: underline;
}

/* Третий уровень вложенности */
.nomenclature-sublist .nomenclature-sublist {
	list-style: circle inside;
	margin-left: 20px;
}

/* ========== ДЕТАЛЬНАЯ СТРАНИЦА ТОВАРА (single-product.php) ========== */
.product-title {
	color: #ff5200;
	font-size: 170%;
	font-weight: bold;
	margin: 0 0 20px 0;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
	text-align: right;
}

.product-single-content {
	padding: 20px 0;
}

.product-section {
	margin-bottom: 15px;
	line-height: 1.6;
}

.product-section p {
	margin: 5px 0;
}

/* Техническая схема/чертеж */
.product-scheme {
	margin: 30px 0;
	text-align: center;
}

.product-scheme img {
	max-width: 100%;
	height: auto;
	border: 1px solid #cbd5de;
	padding: 10px;
	background: #fff;
}

/* Галерея фотографий товара */
.product-gallery {
	margin: 30px 0;
	display: flex;
	flex-wrap: wrap;
	gap: 15px;
}

.product-gallery-item {
	flex: 0 0 calc(33.333% - 10px);
	max-width: calc(33.333% - 10px);
}

.product-gallery-item img {
	width: 100%;
	height: auto;
	border: 1px solid #cbd5de;
	padding: 5px;
	background: #fff;
	cursor: pointer;
	transition: transform 0.2s;
}

.product-gallery-item img:hover {
	transform: scale(1.05);
	border-color: #ff5200;
}

/* Таблица характеристик */
.product-specifications-table {
	margin: 30px 0;
	overflow-x: auto;
}

.specs-table {
	width: 100%;
	border-collapse: collapse;
	border: 1px solid #cbd5de;
	background: #fff;
}

.specs-table thead {
	background: #e8f4ff;
}

.specs-table th {
	padding: 10px;
	text-align: center;
	font-weight: bold;
	border: 1px solid #cbd5de;
	color: #333;
	font-size: 90%;
}

.specs-table td {
	padding: 8px;
	text-align: center;
	border: 1px solid #cbd5de;
	font-size: 90%;
}

.specs-table tbody tr:nth-child(even) {
	background: #f9f9f9;
}

.specs-table tbody tr:hover {
	background: #fff8e6;
}

/* Информация о покупке */
.product-purchase-info {
	margin: 30px 0;
	padding: 20px;
	background: #f5f5f5;
	border-left: 4px solid #ff5200;
}

.product-purchase-info p {
	margin: 8px 0;
}

.product-price {
	font-size: 130%;
	color: #ff5200;
	font-weight: bold;
}

.product-in-stock {
	color: #28a745;
	font-weight: bold;
}

.product-out-stock {
	color: #dc3545;
	font-weight: bold;
}

/* Техническая документация */
.product-documents {
	margin: 30px 0;
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #cbd5de;
}

.product-documents h3 {
	margin-top: 0;
	color: #ff5200;
	font-size: 110%;
	border-top: none;
	padding-top: 0;
}

.documents-list {
	list-style: none;
	padding: 0;
	margin: 15px 0 0 0;
}

.documents-list li {
	margin: 10px 0;
}

.document-link {
	color: #2775C7;
	text-decoration: none;
	font-weight: bold;
	display: inline-block;
	padding: 8px 12px;
	background: #fff;
	border: 1px solid #cbd5de;
	border-radius: 4px;
	transition: all 0.2s;
}

.document-link:hover {
	color: #ff5200;
	border-color: #ff5200;
	background: #fff8e6;
}

.file-size {
	color: #777;
	font-weight: normal;
	font-size: 85%;
}

/* Кнопка заказа */
.product-order-button {
	margin: 40px 0 20px;
	text-align: center;
}

.btn-order {
	display: inline-block;
	padding: 15px 40px;
	background: #ff5200;
	color: #fff;
	text-decoration: none;
	font-weight: bold;
	font-size: 110%;
	border-radius: 5px;
	transition: background 0.3s;
}

.btn-order:hover {
	background: #e64a00;
	color: #fff;
}

/* ========== СТРАНИЦА КАТЕГОРИИ ПРОДУКЦИИ (taxonomy-product_category.php) ========== */
.category-description {
	margin: 20px 0;
	padding: 15px;
	background: #f9f9f9;
	border-left: 3px solid #ff5200;
}

.subcategories-list {
	margin: 30px 0;
}

.subcategories-list h3 {
	color: #ff5200;
	font-size: 110%;
	margin-bottom: 15px;
	border-top: none;
	padding-top: 0;
}

.category-count {
	color: #999;
	font-size: 90%;
}

/* Сетка товаров */
.products-grid {
	margin: 30px 0;
}

.products-grid h3 {
	color: #ff5200;
	font-size: 110%;
	margin-bottom: 20px;
	border-top: none;
	padding-top: 0;
}

.product-item {
	display: flex;
	gap: 20px;
	margin-bottom: 30px;
	padding: 20px;
	background: #f9f9f9;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	transition: all 0.2s;
}

.product-item:hover {
	background: #fff;
	border-color: #ff5200;
	box-shadow: 0 2px 8px rgba(255, 82, 0, 0.1);
}

.product-thumbnail {
	flex: 0 0 200px;
	max-width: 200px;
}

.product-thumbnail img {
	width: 100%;
	height: auto;
	border: 1px solid #cbd5de;
	border-radius: 3px;
}

.product-info {
	flex: 1;
}

.product-info h4 {
	margin: 0 0 10px 0;
	font-size: 120%;
}

.product-info h4 a {
	color: #2775C7;
	text-decoration: none;
	font-weight: bold;
}

.product-info h4 a:hover {
	color: #ff5200;
}

.product-excerpt {
	margin: 10px 0;
	line-height: 1.6;
	color: #555;
}

.product-price-small {
	margin: 10px 0;
	color: #ff5200;
	font-weight: bold;
}

.product-link {
	margin-top: 15px;
}

.btn-details {
	display: inline-block;
	padding: 8px 20px;
	background: #2775C7;
	color: #fff;
	text-decoration: none;
	border-radius: 3px;
	transition: background 0.2s;
}

.btn-details:hover {
	background: #ff5200;
	color: #fff;
}

.no-products {
	margin: 30px 0;
	padding: 40px;
	text-align: center;
	background: #f9f9f9;
	border: 1px dashed #ccc;
}

/* ========== СПИСОК ПРОДУКТОВ НА ГЛАВНОЙ ========== */
/* В оригинале стилей нет - блоки просто идут друг за другом */


/* ========== ДЕТАЛЬНЫЙ ПРОСМОТР НОВОСТИ (single.php) ========== */
.news-single {
	padding-bottom: 30px;
}

.news-single .entry-header {
	margin-bottom: 20px;
}

.news-single h1 {
	margin-bottom: 10px;
}

.news-meta {
	color: #777;
	font-size: 90%;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 1px dotted #C4C4C3;
}

.news-single .post-thumbnail {
	margin: 20px 0 25px;
}

.news-single .post-thumbnail img {
	max-width: 100%;
	height: auto;
}

.news-single-content {
	line-height: 1.7;
	margin-bottom: 30px;
}

.news-single-content p {
	margin-bottom: 15px;
}

.news-single-content img {
	max-width: 100%;
	height: auto;
	margin: 15px 0;
}

.news-single-content h2,
.news-single-content h3 {
	color: #ff5200;
	margin-top: 25px;
	margin-bottom: 15px;
}

.entry-footer {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px dotted #C4C4C3;
}

/* Простая навигация между новостями */
.post-navigation {
	margin-bottom: 15px;
}

.post-navigation .nav-links {
	display: flex;
	justify-content: space-between;
	gap: 20px;
}

.post-navigation .nav-previous,
.post-navigation .nav-next {
	flex: 1;
}

.post-navigation .nav-previous {
	text-align: left;
}

.post-navigation .nav-next {
	text-align: right;
}

.post-navigation a {
	color: #2775C7;
	text-decoration: none;
}

.post-navigation a:hover {
	color: #ff5200;
	text-decoration: underline;
}

/* Ссылка возврата к новостям */
.back-to-archive {
	margin-top: 15px;
	text-align: center;
}

.back-to-archive a {
	color: #2775C7;
	text-decoration: none;
}

.back-to-archive a:hover {
	color: #ff5200;
	text-decoration: underline;
}

/* ========== АРХИВ НОВОСТЕЙ (archive.php) ========== */
/* ========== АРХИВ НОВОСТЕЙ ========== */
.page-header {
	margin-bottom: 15px;
}

.page-header h1 {
	display: inline;
	color: #ff5200;
	font-size: 150%;
	margin: 0;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
	text-align: right;
}

.page-header .rss-link {
	float: right;
	text-decoration: none;
}

.page-header .rss-link .rss-icon {
	display: inline-block;
	padding: 3px 6px;
	background: #ff5200;
	color: #fff;
	font-size: 10px;
	font-weight: bold;
}

.page-header .rss-link:hover .rss-icon {
	background: #2775C7;
}

.news-archive-list {
	margin-top: 10px;
}

.news-archive-item {
	margin-bottom: 8px;
}

.news-archive-item .news-date {
	display: inline;
	color: #454545;
	font-size: 100%;
	margin-right: 5px;
}

.news-archive-item .news-title {
	display: inline;
	margin: 0;
}

.news-archive-item .news-title a {
	color: #2775C7;
	text-decoration: none;
}

.news-archive-item .news-title a:hover {
	color: #ff5200;
}

.news-archive-item .news-excerpt {
	color: #454545;
	line-height: 1.5;
	margin: 3px 0 0 0;
}

/* Пагинация новостей */
.news-pagination {
	margin-top: 20px;
	padding-top: 15px;
	color: #454545;
	line-height: 1.6;
}

.news-pagination a {
	color: #2775C7;
	text-decoration: none;
}

.news-pagination a:hover {
	color: #ff5200;
}

.no-news {
	padding: 20px 0;
	color: #666;
}

.news-pagination .page-numbers {
	display: inline-block;
	padding: 5px 10px;
	margin: 0 3px;
	color: #2775C7;
	text-decoration: none;
	border: 1px solid #ddd;
	background: #fff;
}

.news-pagination .page-numbers:hover {
	background: #f5f5f5;
	color: #ff5200;
}

.news-pagination .page-numbers.current {
	background: #2775C7;
	color: #fff;
	border-color: #2775C7;
}

.news-pagination .page-numbers.dots {
	border: none;
	background: none;
	cursor: default;
}

.news-pagination .page-numbers.prev,
.news-pagination .page-numbers.next {
	font-weight: bold;
}

/* ========== СТРАНИЦА "О КОМПАНИИ" ========== */
.about-page {
	padding: 0;
}

.about-page .about-header {
	margin-bottom: 20px;
}

.about-page .about-title {
	color: #ff5200;
	font-size: 150%;
	text-align: right;
	margin: 0;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
	font-weight: bold;
}

.about-page .about-content {
	line-height: 1.7;
}

.about-page .about-content p {
	margin-bottom: 15px;
	text-align: justify;
}

.about-page .about-content strong {
	font-weight: bold;
	color: #333;
}

.about-page .certification-info {
	margin-top: 20px;
	padding-top: 15px;
}

.about-page .about-certificates {
	margin-top: 30px;
}

.about-page .about-certificates img {
	max-width: 200px;
	height: auto;
	margin: 10px 15px 10px 0;
	border: 1px solid #cbd5de;
	transition: transform 0.3s ease;
}

.about-page .about-certificates img:hover {
	transform: scale(1.05);
	box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* ========== СТРАНИЦА "СЕРТИФИКАТЫ" ========== */
.certificates-page {
	padding: 0;
}

.certificates-page .entry-header {
	margin-bottom: 25px;
}

.certificates-page .entry-title {
	color: #ff5200;
	font-size: 170%;
	text-align: right;
	margin: 0;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
	font-weight: bold;
}

.certificates-page .page-description {
	margin-top: 15px;
	padding: 15px;
	background: #f9f9f9;
	border-left: 3px solid #ff5200;
	line-height: 1.6;
	text-align: justify;
}

/* Галерея сертификатов - Grid Layout (3 колонки) */
.certificates-gallery {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 20px;
	margin: 30px 0;
	padding: 0;
}

.certificate-item {
	position: relative;
	cursor: pointer;
	overflow: hidden;
	border: 1px solid #e0e0e0;
	background: #fff;
	aspect-ratio: 3/4;
}

.certificate-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.certificate-item:hover img {
	transform: scale(1.05);
}

/* Overlay при наведении */
.certificate-overlay {
	display: none;
}

/* Сообщение о пустой галерее */
.no-certificates {
	text-align: center;
	padding: 50px 20px;
	background: #f9f9f9;
	border: 2px dashed #ccc;
	border-radius: 5px;
	margin: 30px 0;
}

.no-certificates p {
	color: #777;
	font-size: 110%;
}

/* ========== МОДАЛЬНОЕ ОКНО СЕРТИФИКАТА И ГАЛЕРЕИ ========== */
.certificate-modal,
.gallery-modal {
	display: none;
	position: fixed;
	z-index: 9999;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	overflow: hidden;
	background-color: rgba(17, 17, 20, 0.85); /* Полупрозрачный темный фон */
	backdrop-filter: blur(8px); /* Современное размытие фона */
	-webkit-backdrop-filter: blur(8px);
	animation: fadeIn 0.3s ease;
}

.certificate-modal.active,
.gallery-modal.active {
	display: block;
}

@keyframes fadeIn {
	from {
		opacity: 0;
	}
	to {
		opacity: 1;
	}
}

/* Кнопка закрытия */
.modal-close {
	position: absolute;
	top: 20px;
	right: 40px;
	color: #fff;
	font-size: 45px;
	font-weight: bold;
	cursor: pointer;
	z-index: 10001;
	transition: color 0.3s ease;
	line-height: 1;
	width: 45px;
	height: 45px;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-close:hover,
.modal-close:focus {
	color: #ff5200;
	transform: rotate(90deg);
	transition: all 0.3s ease;
}

/* Обертка контента модалки */
.modal-content-wrapper {
	position: relative;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 100px;
}

/* Контейнер изображения */
.modal-image-container {
	position: relative;
	max-width: 90%;
	max-height: 90%;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
}

#modalImage {
	max-width: 100%;
	max-height: calc(100vh - 150px);
	width: auto;
	height: auto;
	object-fit: contain;
	display: block;
	border-radius: 8px; /* Смягчаем углы */
	box-shadow: 0 15px 50px rgba(0, 0, 0, 0.4);
	animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
	from {
		transform: scale(0.8);
		opacity: 0;
	}
	to {
		transform: scale(1);
		opacity: 1;
	}
}

/* Кнопки навигации */
.modal-nav {
	position: absolute;
	top: 50%;
	transform: translateY(-50%);
	background: rgba(0, 147, 221, 0.8);
	border: none;
	color: #fff;
	cursor: pointer;
	padding: 20px 15px;
	border-radius: 5px;
	transition: all 0.3s ease;
	z-index: 10000;
	display: flex;
	align-items: center;
	justify-content: center;
}

.modal-nav:hover {
	background: rgba(255, 82, 0, 0.9);
	transform: translateY(-50%) scale(1.1);
}

.modal-nav:active {
	transform: translateY(-50%) scale(0.95);
}

.modal-prev {
	left: 30px;
}

.modal-next {
	right: 30px;
}

.modal-nav svg {
	display: block;
}

/* ========== СТРАНИЦА "ГАЛЕРЕЯ" (ФОТОГАЛЕРЕЯ) ========== */
.gallery-page {
	padding: 0;
}

.gallery-page .entry-header {
	margin-bottom: 25px;
}

.gallery-page .entry-title {
	color: #ff5200;
	font-size: 170%;
	text-align: right;
	margin: 0;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
	font-weight: bold;
}

.gallery-page .page-description {
	margin-top: 15px;
	padding: 15px;
	background: #f9f9f9;
	border-left: 3px solid #ff5200;
	line-height: 1.6;
	text-align: justify;
}

/* Фотогалерея - Grid Layout (2 колонки) */
.photo-gallery {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 20px;
	margin: 30px 0;
	padding: 0;
}

.gallery-item {
	position: relative;
	cursor: pointer;
	overflow: hidden;
	border: 1px solid #e0e0e0;
	background: #fff;
	aspect-ratio: 4/3;
}

.gallery-item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	transition: transform 0.3s ease;
}

.gallery-item:hover img {
	transform: scale(1.1);
}

/* Overlay при наведении */
.gallery-overlay {
	display: none;
}

/* Сообщение о пустой галерее */
.no-gallery {
	text-align: center;
	padding: 50px 20px;
	background: #f9f9f9;
	border: 2px dashed #ccc;
	border-radius: 5px;
	margin: 30px 0;
}

.no-gallery p {
	color: #777;
	font-size: 110%;
}

/* Подпись к фото / сертификату */
.modal-caption {
	position: absolute;
	bottom: -60px;
	left: 50%;
	transform: translateX(-50%);
	color: #fff;
	font-size: 16px;
	font-weight: 500;
	background: rgba(30, 30, 35, 0.85); /* Современная подложка */
	backdrop-filter: blur(4px);
	padding: 12px 24px;
	border-radius: 8px;
	max-width: 90%;
	text-align: center;
	white-space: normal; /* Разрешаем перенос текста, если он длинный */
	word-wrap: break-word;
	box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

/* ========== СТРАНИЦА "УСЛУГИ" ========== */
.services-page {
	padding: 0;
}

.services-page .entry-header {
	margin-bottom: 25px;
}

.services-page .entry-title {
	color: #ff5200;
	font-size: 150%;
	text-align: right;
	margin: 0;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
	font-weight: bold;
}

/* Контент страницы услуг */
.services-content {
	line-height: 1.7;
	color: #454545;
}

.services-content p {
	margin-bottom: 15px;
	text-align: justify;
}

.services-content h2 {
	color: #ff5200;
	font-size: 110%;
	margin-top: 25px;
	margin-bottom: 15px;
	padding-top: 15px;
	padding-bottom: 5px;
}

.services-content h3 {
	color: #ff5200;
	font-size: 110%;
	margin-top: 20px;
	margin-bottom: 10px;
	padding-top: 14px;
	border-top: 1px dotted #C4C4C3;
}

.services-content h4,
.services-content h5,
.services-content h6 {
	color: #ff5200;
	font-size: 110%;
	margin-top: 15px;
	margin-bottom: 10px;
}

.services-content ul,
.services-content ol {
	margin: 15px 0 15px 30px;
	padding: 0;
}

.services-content ul {
	list-style-type: disc;
}

.services-content ol {
	list-style-type: decimal;
}

.services-content li {
	margin-bottom: 8px;
	line-height: 1.6;
}

.services-content ul ul,
.services-content ol ul {
	list-style-type: circle;
	margin-top: 5px;
}

.services-content ul ol,
.services-content ol ol {
	list-style-type: lower-alpha;
	margin-top: 5px;
}

.services-content blockquote {
	margin: 20px 0;
	padding: 15px 20px;
	background: #f9f9f9;
	border-left: 4px solid #ff5200;
	font-style: italic;
}

.services-content blockquote p {
	margin: 0;
}

.services-content table {
	width: 100%;
	margin: 20px 0;
	border-collapse: collapse;
	border: 1px solid #cbd5de;
	background: #fff;
}

.services-content table th {
	background: #e8f4ff;
	padding: 10px;
	text-align: left;
	font-weight: bold;
	border: 1px solid #cbd5de;
	color: #333;
}

.services-content table td {
	padding: 10px;
	border: 1px solid #cbd5de;
}

.services-content table tbody tr:nth-child(even) {
	background: #f9f9f9;
}

.services-content table tbody tr:hover {
	background: #fff8e6;
}

.services-content img {
	max-width: 100%;
	height: auto;
	margin: 15px 0;
	border: 1px solid #cbd5de;
}

.services-content img.alignleft {
	float: left;
	margin: 5px 20px 15px 0;
}

.services-content img.alignright {
	float: right;
	margin: 5px 0 15px 20px;
}

.services-content img.aligncenter {
	display: block;
	margin-left: auto;
	margin-right: auto;
}

.services-content a {
	color: #2775C7;
	text-decoration: none;
}

.services-content a:hover {
	color: #ff5200;
	text-decoration: underline;
}

.services-content strong,
.services-content b {
	font-weight: bold;
	color: #333;
}

.services-content em,
.services-content i {
	font-style: italic;
}

.services-content hr {
	margin: 30px 0;
	border: 0;
	border-top: 1px dotted #C4C4C3;
}

.services-content pre {
	background: #f5f5f5;
	padding: 15px;
	border: 1px solid #ddd;
	border-radius: 3px;
	overflow-x: auto;
	margin: 15px 0;
}

.services-content code {
	background: #f5f5f5;
	padding: 2px 6px;
	border-radius: 3px;
	font-family: monospace;
	font-size: 90%;
}

.services-content pre code {
	background: none;
	padding: 0;
}

/* Пагинация для длинных страниц */
.services-content .page-links {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px dotted #C4C4C3;
	clear: both;
}

.services-content .page-links a {
	display: inline-block;
	padding: 5px 12px;
	margin: 0 3px;
	background: #f5f5f5;
	border: 1px solid #C4C4C3;
	border-radius: 3px;
	color: #2775C7;
	text-decoration: none;
}

.services-content .page-links a:hover {
	background: #ff5200;
	color: #fff;
	border-color: #ff5200;
}

.services-content .page-links > span {
	display: inline-block;
	padding: 5px 12px;
	margin: 0 3px;
	background: #2775C7;
	color: #fff;
	border-radius: 3px;
}

/* ========== СТРАНИЦА "КОНТАКТЫ" ========== */
.contacts-page {
	padding: 0;
}

.contacts-page .entry-header {
	margin-bottom: 25px;
}

.contacts-page .entry-title {
	color: #ff5200;
	font-size: 150%;
	text-align: right;
	margin: 0;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
	font-weight: bold;
}

.contacts-content {
	line-height: 1.7;
}

/* Секции контактов */
.contacts-section {
	margin-bottom: 20px;
}

.contacts-section h2 {
	color: #ff5200;
	font-size: 110%;
	margin-top: 0;
	margin-bottom: 15px;
	padding-top: 15px;
	padding-bottom: 5px;
}

/* ========== Блоки компаний на странице "Контакты" ========== */
.companies-list {
	margin: 12px 0 16px;
}

.company-block {
	margin-bottom: 12px;
	line-height: 1.4;
}

.company-block .company-name {
	color: #ff5200;
	font-size: 110%;
	font-weight: bold;
	margin: 0 0 6px 0;
	padding: 0;
	border: none;
}

.company-block .contact-row {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 3px;
	gap: 2px 10px;
}

.company-block .contact-label {
	flex: 0 0 160px;
	color: #666;
	font-weight: bold;
}

.company-block .contact-value {
	flex: 1 1 60%;
	min-width: 200px;
}

.company-block .phones-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.company-block .phones-list li {
	margin-bottom: 1px;
}

.company-block .phones-list a {
	color: #2775C7;
	text-decoration: none;
	font-weight: bold;
}

.company-block .phones-list a:hover {
	color: #ff5200;
	text-decoration: underline;
}

.company-block .phone-label {
	color: #888;
	font-size: 90%;
	margin-left: 4px;
}

.company-block .contact-value a[href^="mailto:"] {
	color: #2775C7;
	text-decoration: none;
	font-weight: bold;
}

.company-block .contact-value a[href^="mailto:"]:hover {
	color: #ff5200;
	text-decoration: underline;
}

/* Быстрая связь / Соцсети */
.quick-contact,
.social-block {
	margin-bottom: 10px;
}

.quick-contact h2,
.social-block h2 {
	color: #ff5200;
	font-size: 110%;
	margin: 0 0 6px 0;
	padding: 0;
	border: none;
}

.quick-contact .contact-row,
.social-block .contact-row {
	display: flex;
	flex-wrap: wrap;
	gap: 2px 10px;
	margin-bottom: 3px;
}

.quick-contact .contact-label,
.social-block .contact-label {
	flex: 0 0 220px;
	color: #666;
	font-weight: bold;
}

.quick-contact .contact-value a,
.social-block .contact-value a {
	color: #2775C7;
	text-decoration: none;
	font-weight: bold;
	word-break: break-all;
}

.quick-contact .contact-value a:hover,
.social-block .contact-value a:hover {
	color: #ff5200;
	text-decoration: underline;
}

.contact-item {
	margin-bottom: 10px;
	line-height: 1.6;
}

.contact-item a {
	color: #2775C7;
	text-decoration: none;
	font-weight: bold;
}

.contact-item a:hover {
	color: #ff5200;
	text-decoration: underline;
}

.working-hours {
	color: #ff5200;
	margin-bottom: 15px;
}

.phones-list {
	margin-top: 10px;
}

.phone-item {
	padding: 5px 0;
}

/* Форма обратной связи */
.contact-form-section {
	background: #f9f9f9;
	padding: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	margin: 30px 0;
}

.contact-form {
	max-width: 600px;
}

.form-group {
	margin-bottom: 20px;
}

.form-group label {
	display: block;
	margin-bottom: 5px;
	font-weight: bold;
	color: #333;
}

.form-group .required {
	color: #ff5200;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group textarea {
	width: 100%;
	padding: 10px;
	border: 1px solid #cbd5de;
	border-radius: 3px;
	font-family: "Times New Roman", Times, serif;
	font-size: 14px;
	box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
	outline: none;
	border-color: #2775C7;
	box-shadow: 0 0 0 2px rgba(39, 117, 199, 0.1);
}

.form-group textarea {
	resize: vertical;
	min-height: 120px;
}

/* Капча */
.captcha-group {
	background: #fff;
	padding: 15px;
	border: 1px solid #cbd5de;
	border-radius: 3px;
}

.captcha-question {
	margin: 10px 0;
	padding: 10px;
	background: #f5f5f5;
	border-radius: 3px;
}

/* Кнопка отправки */
.submit-button {
	background: #ff5200;
	color: #fff;
	padding: 12px 30px;
	border: none;
	border-radius: 3px;
	font-size: 14px;
	font-weight: bold;
	cursor: pointer;
	transition: background 0.3s ease;
}

.submit-button:hover {
	background: #e64a00;
}

.submit-button:active {
	background: #cc4200;
}

/* Сообщения формы */
.form-message {
	padding: 15px;
	margin-bottom: 20px;
	border-radius: 3px;
	font-weight: bold;
}

.form-message.success {
	background: #d4edda;
	color: #155724;
	border: 1px solid #c3e6cb;
}

.form-message.error {
	background: #f8d7da;
	color: #721c24;
	border: 1px solid #f5c6cb;
}

/* Карта */
.map-section {
	margin-top: 30px;
}

.map-container {
	margin-top: 15px;
	border: 1px solid #cbd5de;
	border-radius: 5px;
	overflow: hidden;
}

.map-container iframe {
	width: 100%;
	height: 450px;
	border: 0;
	display: block;
}

/* ========== СТРАНИЦА "ОФОРМИТЬ ЗАКАЗ" ========== */
.order-page {
	padding: 0;
}

.order-page .entry-header {
	margin-bottom: 25px;
}

.order-page .entry-title {
	color: #ff5200;
	font-size: 150%;
	text-align: right;
	margin: 0;
	padding: 14px 0 15px 0;
	font-weight: bold;
	border-bottom: 1px dotted #C4C4C3;
}

.order-content {
	line-height: 1.7;
}

.order-form-section {
	background: #f9f9f9;
	padding: 20px;
	border: 1px solid #e0e0e0;
	border-radius: 5px;
	margin: 20px 0;
}

.order-form-section p {
	margin-bottom: 15px;
}

.additional-info {
	margin-top: 20px;
	padding: 15px;
	background: #fff;
	border-left: 3px solid #2775C7;
}

.additional-info a {
	color: #2775C7;
	text-decoration: none;
	font-weight: bold;
}

.additional-info a:hover {
	color: #ff5200;
	text-decoration: underline;
}

/* ========== СТРАНИЦА "ДОКУМЕНТАЦИЯ" ========== */
.documentation-page .entry-title {
	color: #ff5200;
	font-size: 150%;
	text-align: right;
	margin: 0;
	font-weight: bold;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
}

.documentation-content {
	padding: 15px 0;
}

.page-intro {
	margin-bottom: 15px;
}

/* Таблица документов */
.documents-table {
	width: 100%;
	border-collapse: collapse;
	background: #fff;
}

.documents-table thead th {
	padding: 8px;
	text-align: left;
	font-weight: bold;
	color: #454545;
	border-bottom: 1px solid #C4C4C3;
}

.documents-table tbody td {
	padding: 8px;
	border-bottom: 1px solid #e0e0e0;
}

.doc-name {
	color: #454545;
}

.doc-name strong {
	font-weight: bold;
}

.doc-description {
	font-size: 90%;
	color: #666;
	margin-top: 3px;
}

.doc-size {
	width: 80px;
	color: #454545;
}

.doc-action {
	width: 100px;
	text-align: center;
}

.download-button {
	color: #666;
	text-decoration: underline;
}

.download-button:hover {
	color: #333;
}

.no-documents {
	padding: 20px;
	color: #666;
}

/* ========== СТРАНИЦА "РЕКВИЗИТЫ" ========== */
.requisites-page .entry-title {
	color: #ff5200;
	font-size: 150%;
	text-align: right;
	font-weight: bold;
	margin: 0;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
}

.requisites-content {
	padding: 15px 0;
	line-height: 1.6;
}

/* ========== СТРАНИЦА "ВАКАНСИИ" ========== */
.vacancies-page .entry-title {
	color: #ff5200;
	font-size: 150%;
	font-weight: bold;
	text-align: right;
	margin: 0;
	padding: 14px 0 15px 0;
	border-bottom: 1px dotted #C4C4C3;
}

.vacancies-content {
	padding: 15px 0;
}

.page-intro {
	margin-bottom: 20px;
	line-height: 1.6;
}

.vacancies-list {
	margin-top: 20px;
}

.vacancy-item {
	margin-bottom: 30px;
	padding-bottom: 20px;
	border-bottom: 1px solid #e0e0e0;
}

.vacancy-item:last-child {
	border-bottom: none;
}

.vacancy-title {
	color: #ff5200;
	font-size: 110%;
	margin: 0 0 15px 0;
	padding: 0;
	border: none;
}

.vacancy-section {
	margin-bottom: 15px;
}

.vacancy-section h3 {
	color: #454545;
	font-size: 100%;
	font-weight: bold;
	margin: 0 0 5px 0;
	padding: 0;
	border: none;
}

.vacancy-text {
	color: #454545;
	line-height: 1.6;
	margin-left: 15px;
}

.vacancy-contact {
	margin-top: 15px;
}

.contact-link {
	color: #2775C7;
	text-decoration: underline;
}

.contact-link:hover {
	color: #ff5200;
}

.no-vacancies {
	padding: 20px;
	color: #666;
	line-height: 1.6;
}

/* ========== МОБИЛЬНОЕ ПОВЕДЕНИЕ OLD-SCHOOL ========== */
/*
 * Для соответствия старой версии сайта используем fixed-layout + shrink-to-fit,
 * без адаптивной перестройки блоков и без искусственного увеличения текста.
 */



/* ========== Стилизация контента на странице Галереи ========== */
.custom-gallery-text {
	margin-bottom: 20px;
	padding-bottom: 20px;
	border-bottom: 1px dashed #C4C4C3;
	text-align: left;
}

/* Основной текст - красный, жирный, крупный */
.custom-gallery-text p, 
.custom-gallery-text {
	color: #ff5200;
	font-weight: bold;
	font-size: 110%; /* Уменьшил с 140% */
	line-height: 1.4;
	margin-bottom: 10px;
}

/* Ссылки - синие, меньшего размера, обычный вес */
.custom-gallery-text a {
	color: #2775C7;
	font-weight: normal; 
	font-size: 75%; /* Значительно меньше основного текста */
	text-decoration: underline;
	display: inline-block; /* Чтобы margin работал если нужно */
}

.custom-gallery-text a:hover {
	color: #ff5200;
	text-decoration: none;
}
