html, body {
	height: 100%;
}

body {
	margin: 0px;
	padding: 0px;
	background: #F8F8F8 url(images/overlay.png) repeat;
	font-family: 'Source Sans Pro', sans-serif;
	font-size: 12pt;
	font-weight: 400;
	color: #4A4A4A;
}

h1, h2 {
	margin: 0;
	padding: 0;
	text-transform: uppercase;
	font-weight: 400;
	color: #ffffff;
}

h2 {
	padding: 0px 0px 30px 0px;
	font-size: 2.50em;
}

h3 {
	padding: 0px 0px 30px 0px;
	font-size: 2em;
	color: #666666;
}
/* Заголовок новостей  */
h4{
	padding: 0px 0px 20px 0px;
	text-transform: uppercase;
	font-weight: 300;
	color: #7A5C3D;
}
/* Заголовок для блока гексаграмм  */
h5{
	padding: 0px 0px 5px 0px;
	text-transform: uppercase;
	font-size: 1em;
	color: #65513b;
}
/* Заголовок для линий  */
h6{
	font-size: 1em;
	color: #333333;
}
p, ol, ul {
	margin-top: 0px;
}

p {
	line-height: 180%;
}

strong {
}

a {
	color: rgba(0,0,0,.8);
}

/*********************************************************************************/
/* a {	color: rgba(0,0,0,.8);}                                                  */
/*********************************************************************************/

a:hover {
	text-decoration: none;
}

 .special-link 
 {
  color: #ffffff;
 }

a img {
	border: none;
}
/*********************************************************************************/
/* Новости                                                                  */
/*********************************************************************************/
.news {
  /*background-color: #EDF0F3; /* Серый фон */
  background: linear-gradient(15deg, #EDF0F3 0%, #F0ECE4 50%, #EDF0F3 100%);
  max-width: 1200px; /* Максимальная ширина */
  margin: 40px auto; /* Центрирование по горизонтали */
  padding: 20px; /* Внутренние отступы */
  box-sizing: border-box; /* Учет padding в ширине */
  /* border-radius: 8px; /* Закругленные углы */
  /* box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1); /* Легкая тень */
}
/*********************************************************************************/
/* Image Style                                                                   */
/*********************************************************************************/

/* мобильная версия */
/* Универсальный стиль для мобильной адаптации */
body {
  margin: 0;
  padding: 0;
  font-family: 'Source Sans Pro', sans-serif;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 15px;
}

/* Делает колонки гибкими */
#page {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

#page > div {
  flex: 1 1 250px;
  min-width: 250px;
}

/* Меню: вертикальное на узких экранах */
@media (max-width: 768px) {
  #menu ul {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 10px;
  }

  .contact {
    flex-direction: column;
    align-items: flex-start;
  }

  .column1, .column2, .column3, .column4 {
    width: 100%;
  }
}
/* конец мобильная версия */

 .geksa {
  border: none; 
  margin-top: 10px;
  margin-bottom: 50px;
  line-height: 0;
  }

	.image
	{
		display: inline-block;
		border: 1px solid rgba(0,0,0,.1);
	}
	
	.image img
	{
		display: block;
		width: 100%;
	}
	
	.image-full
	{
		display: block;
		width: 100%;
		margin: 0 0 3em 0;
	}
	
	.image-left
	{
		float: left;
		margin: 0 2em 2em 0;
	}
	
	.image-centered
	{
		display: block;
		margin: 0 0 2em 0;
	}
	
	.image-centered img
	{
		margin: 0 auto;
		width: auto;
	}


hr {
	display: none;
}

/** WRAPPER */

#wrapper {
	background: #FFF;
	margin: 0px 20px;
}

.container {
	width: 1200px;
	margin: 0px auto;
}

.clearfix {
	clear: both;
}

/** HEADER */

#header-wrapper
{
	background: url(images/bg.jpg) no-repeat center center;
	background-size: cover;
}
#header-wrapper-page
{
	background: url(images/page-bg2.jpg) no-repeat center center;
	background-size: cover;
} 

#header-page {
	position: relative;
	overflow: hidden;
	height: 180px;
}

#header {
	position: relative;
	overflow: hidden;
	height: 300px;
}

#social
{
	position: absolute;
	top: 4em;
	right: 0;
}

/** LOGO */

#logo {
	position: absolute;
	top: 3em;
	left: 0;
}

#logo h1, #logo p {
	margin: 0;
	padding: 0;
}

#logo h1 {
	letter-spacing: -1px;
	text-transform: lowercase;
	font-size: 2.5em;
	color: #fff;
}

#logo p {
	padding: 0px;
	letter-spacing: 0.05em;
	text-transform: uppercase;
	font-size: 0.9em;
	color: #ccc;
}

#logo p a {
	color: #161616;
}

#logo a:hover {
  text-shadow: 0 0 8px rgba(255, 255, 255, 0.7); /* Свечение */
  transform: scale(1.01); /* Легкое увеличение */
}

#logo a {
	border: none;
	background: none;
	text-decoration: none;
	color: #fff;
	transition: all 0.3s ease; /* Плавный переход для всех свойств */
    display: inline-block; /* Для лучшей работы трансформаций */
    position: relative; /* Нужно для псевдоэлемента */
}

/** MENU */

#menu {
	overflow: hidden;
	background: #101010;
}

#menu ul {
	margin: 0px 0px 0px 0px;
	padding: 0px 0px;
	list-style: none;
	line-height: normal;
}

#menu li {
	display: inline-block;
}

#menu a {
	display: block;
	padding: 0px 40px 0px 40px;
	line-height: 70px;
	text-decoration: none;
	text-transform: uppercase;
	text-align: center;
	font-size: 16px;
	font-weight: 200;
	color: #FFFFFF;
	border: none;
}
/** color: rgba(255,255,255,0.5); */

#menu a:hover, #menu .current_page_item a {
	text-decoration: none;
	color: #00ff99;
}

#menu .current_page_item a {
}

#menu .last {
	border-right: none;
}

/** PAGE */

#page {
	overflow: hidden;
	padding: 5em 0em;
}

	#page img
	{
		margin-bottom: 1em;
	}

	#page .title
	{
		margin-bottom: 2em;
	}

	#page .title h2
	{
		font-size: 1.5em;
		font-weight: 400;
		color: rgba(0,0,0,0.8);
	}
	
	#page .title .byline
	{
		display: block;
		padding-bottom: 2em;
		color: rgba(0,0,0,0.7);
	}

/** CONTENT */

#content {
	float: left;
	width: 800px;
	padding-right: 50px;
	border-right: 1px solid #E6E7DC;
}

#content .post-title
{
	margin-bottom: 2em;
}

#content .post-title h2
{
	margin: 0;
	padding: 0;
}


#content .post
{
	margin-bottom: 4em;
	padding-bottom: 4em;
	border-bottom: 1px solid #E6E7DC;
}

/** SIDEBAR 1 */

#sidebar1 {
	float: right;
	width: 250px;
	margin-right: 50px;
}

#sidebar1 #box1 {
	margin-bottom: 4em;
}

#sidebar1 h2,
#sidebar2 h2
{
	font-size: 1.5em;
	font-weight: 400;
}

/** SIDEBAR 2 */

#sidebar2 {
	float: right;
	width: 250px;
}

/* Footer */

#footer {
    overflow: hidden;
    padding: 40px 0 30px; /* Сокращённая запись */
    background-color: #333; /* Фон */
    color: #fff; /* Цвет текста */
    font-family: 'Source Sans Pro', sans-serif; /* Шрифт как в вашем дизайне */
    text-align: center; /* Выравнивание текста */
}

#footer p {
	text-align: center;
		color: #006633;
}

#footer a {
		color: rgba(0,0,0,0.7);
}

/* List style 1 */

ul.style1 {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

ul.style1 li {
	padding: 10px 0px 15px 0px;
	border-top: 1px solid #E6E7DC;
}

ul.style1 .first {
	padding-top: 0px;
	border-top: none;
}

/* List style 2 */

ul.style2 {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

ul.style2 li {
	padding: 25px 0px 15px 0px;
	border-top: 1px solid #E6E7DC;
}

ul.style2 .first {
	padding-top: 0px;
	border-top: none;
}

ul.style2 h3 {
	padding: 0px 0px 10px 0px;
	font-size: 1.10em;
}

ul.style2 h3 a {
	color: #101010;
}

ul.style2 a {
	text-decoration: none;
}

ul.style2 a:hover {
	text-decoration: underline;
}


/* List style 3 */

ul.style3 {
	margin: 0px;
	padding: 0px;
	list-style: none;
}

ul.style3 li {
	padding: 20px 0px 20px 0px;
	border-top: 1px solid #E6E7DC;
}

ul.style3 p {
	margin: 0px;
	padding: 0px;
}

ul.style3 img {
	float: left;
	margin-top: 3px;
	margin-right: 20px;
}

ul.style3 .posted {
	padding: 10px 0px 10px 0px;
	font-size: 8pt;
	color: #A2A2A2;
}

ul.style3 .first {
	padding-top: 0px;
	border-top: none;
}

.link-style {
	display: inline-block;
	margin-top: 20px;
	padding: 7px 20px;
	background: #0C73D4;
	border-radius: 5px;
	text-decoration: none;
	text-transform: uppercase;
	color: #FFFFFF;
}


/*********************************************************************************/
/* Portfolio                                                                     */
/*********************************************************************************/

	#portfolio-wrapper
	{
		overflow: hidden;
		padding: 5em 0em;
		background: rgba(0,0,0,.02);
		background-image: url(images/overlay.png);
		background-repeat: repeat;
		border-top: 1px solid rgba(0,0,0,.05);
	}
	
	#portfolio
	{
	}

	#portfolio .box
	{
		color: rgba(0,0,0,0.5);
	}
	
	#portfolio h3
	{
		display: block;
		padding-bottom: 1em;
		text-transform: uppercase;
		font-size: 1.2em;
		font-weight: 400;
		color: rgba(0,0,0,0.7);
	}

	#portfolio .title
	{
	}

	#portfolio .title h2
	{
		color: rgba(0,0,0,0.8);
	}
	
	#portfolio .title .byline
	{
		display: block;
		padding-bottom: 2em;
		color: rgba(0,0,0,0.7);
	}

	.column1,
	.column2,
	.column3,
	.column4
	{
		width: 282px;
	}
	
	.column1,
	.column2,
	.column3
	{
		float: left;
		margin-right: 24px;
	}
	
	.column4
	{
		float: right;
	}

/*********************************************************************************/
/* Heading Titles                                                                */
/*********************************************************************************/

	.title
	{
		margin-bottom: 3em;
	}
	
	.title h2
	{
		margin: 0;
		padding: 0;
		font-size: 2.8em;
		color: rgba(255,255,255,0.9);
	}
	
	.title .byline
	{
		padding-top: 0.50em;
		letter-spacing: 0.15em;
		text-transform: uppercase;
		font-weight: 400;
		font-size: 1.1em;
		color: #6F6F6F;
	}

/*********************************************************************************/
/* Button Style                                                                  */
/*********************************************************************************/

	.button
	{
		display: inline-block;
		margin-top: 2em;
		padding: 0em 1em;
		background: #161616;
		letter-spacing: 0.10em;
		line-height: 3em;
		text-decoration: none;
		text-transform: uppercase;
		font-weight: 400;
		font-size: 1em;
		color: #FFF;
	}
	
/*********************************************************************************/
/* Social Icon Styles                                                            */
/*********************************************************************************/

	ul.contact
	{
		margin: 0;
		padding: 2em 0em 0em 0em;
		list-style: none;
	}
	
	ul.contact li
	{
		display: inline-block;
		padding: 0em 0.10em;
		font-size: 1em;
	}
	
	ul.contact li span
	{
		display: none;
		margin: 0;
		padding: 0;
	}
	
	ul.contact li a
	{
	}
	
	ul.contact li a:before
	{
		display: inline-block;
		background: none;
		width: 40px;
		height: 40px;
		line-height: 40px;
		text-align: center;
		color: rgba(255,255,255,1);
	}
	

