/* Общие стили для body */
body {
	font-family: Arial, sans-serif;
	margin: 0;
	padding: 0;
	background-color: #f9f9f9;
	line-height: 1.6;
	color: #333;
	display: flex;
	flex-direction: column;
	gap: 20px;
	min-height: 100vh;
}

.container{
	flex: 1 1 auto;
}

h1 {
	font-size: 28px;
	margin-bottom: 25px;
}

h2 {
	font-size: 22px;
	margin-top: 25px;
}

h3 {
	font-size: 18px;
}

.with-margin {
	margin-top: 20px;
}

img {
	width: 750px;
	height: auto;
	display: block;
	margin: 0 auto;
	border-radius: 2%;
}

header {
	background-color: #eaeaea; 
	padding: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	border-radius: 10px 10px 0 0;
}

header h1 {
	margin-right: auto;
	font-size: 26px;
}

nav ul {
	list-style-type: none;
	display: flex;
	gap: 20px;
	margin: 0;
	padding: 0;
}

nav ul li {
	display: inline;
}

nav ul li a {
	color: #007bff;
	text-decoration: none;
}

nav ul li a:hover {
	text-decoration: underline;
}

h1 {
	text-align: center;
}

.container {
	max-width: 700px;
	margin: 0 auto;
	padding: 30px;
	background-color: white;
	border-radius: 10px;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.row {
	display: flex;
	flex-wrap: wrap;
}

.col-md-12 {
	width: 100%;
	padding: 10px;
}

.entry-content,
p {
	line-height: 1.6;
	font-size: 16px;
	margin-bottom: 15px;
}

a {
	color: #007bff;
	text-decoration: none;
}

a:hover {
	text-decoration: underline;
}

footer {
	background-color: #eaeaea;
	padding: 10px;
	text-align: center;
	clear: both;
	color: #666;
}

.search-section,
#advanced_search {
	margin-bottom: 25px;
	padding: 15px;
	background: #f4f6f8;
	border-radius: 8px;
}

.search-section h4,
#advanced_search h4 {
	margin-bottom: 10px;
	font-size: 18px;
}

.search-section h5,
#advanced_search h5 {
	margin-bottom: 10px;
}

.search-section input,
#advanced_search select {
	width: 100%;
	padding: 10px 12px;
	border-radius: 6px;
	border: 1px solid #ccc;
	font-size: 14px;
}

.search-section input:focus,
#advanced_search select:focus {
	outline: none;
	border-color: #007bff;
}

#reset_filters {
	padding: 10px 16px;
	background: #007bff;
	color: #fff;
	border: none;
	border-radius: 6px;
	cursor: pointer;
	font-size: 14px;
}

#reset_filters:hover {
	background: #005ecb;
}

.article-list {
	list-style: none;
	padding: 0;
	margin: 0;
}

.article-list li {
	padding: 18px 20px;
	margin-bottom: 15px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.article-list li:hover {
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.article-title {
	display: block;
}


.article-title h3 {
	margin: 0 0 5px;
	font-size: 18px;
	line-height: 1.4;
	transition: color 0.2s ease;
}

.article-list li:hover h3 {
	color: #005ecb;
}

.article-title p {
	margin: 0;
	font-size: 14px;
	color: #666;
}

.article-meta {
	margin-top: 30px;
	padding-top: 20px;
	border-top: 1px solid #eee;
}

.article-meta p {
	font-size: 14px;
	color: #555;
	margin-bottom: 8px;
}

.article-meta a {
	color: #007bff;
}

.article-meta a:hover {
	text-decoration: underline;
}

.post--wrapper {
	margin-top: 20px;
}

.post {
	padding: 18px 20px;
	margin-bottom: 15px;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	background: #fff;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.post:hover {
	box-shadow: 0 6px 14px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.post h2 {
	margin: 0 0 8px;
	font-size: 20px;
	line-height: 1.4;
}

.post h2 a {
	color: #007bff;
	transition: color 0.2s ease;
}

.post:hover h2 a {
	color: #005ecb;
}

.post p {
	margin: 0;
	font-size: 15px;
	color: #555;
}