.blog-author {
	font-size: 1.3em;
	padding: 5px;
}

.blog-categories {
	border-radius: 0;
	display: table;
	font-size: 1em;
	margin: 0;
	padding: 15px;
	vertical-align: middle;
	width: 100%;
	background: linear-gradient(135deg, rgba(255,255,255,0.9) 0%, rgba(255,255,255,0.7) 100%);
	backdrop-filter: blur(15px);
	position: relative;
	z-index: 2;
}

.blog-categories-not-approved {
	background-color: #e4c3c8;
	border-bottom-left-radius: 7px;
	border-bottom-right-radius: 7px;
	display: table;
	font-size: 1.2em;
	margin-bottom: 0;
	padding-bottom: 5px;
	padding-top: 5px;
	vertical-align: middle;
	width: 100%;
}

.blog-categories > span {
	display: table-cell;
	vertical-align: bottom;
}

.blog-categories > span > a {
	color: #333;
	text-decoration: none;
	font-weight: 500;
	transition: all 0.3s ease;
	padding: 5px 10px;
	border-radius: 15px;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.blog-categories > span > a:hover {
	color: #667eea;
	background: linear-gradient(135deg, rgba(102, 126, 234, 0.2) 0%, rgba(118, 75, 162, 0.2) 100%);
	transform: translateY(-1px);
}

.blog-container {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
	gap: 30px;
	margin: 30px 0;
	padding: 0 20px;
}

/* Анимации для списка блогов */
@keyframes fadeInUp {
	from {
		opacity: 0;
		transform: translateY(30px);
	}
	to {
		opacity: 1;
		transform: translateY(0);
	}
}

.blog-panel {
	animation: fadeInUp 0.6s ease-out;
}

/* Адаптивность */
@media all and (max-width: 768px) {
	.blog-container {
		grid-template-columns: 1fr;
		gap: 20px;
		padding: 0 10px;
	}
}

@media all and (max-width: 500px) {
	.blog-container {
		grid-template-columns: 1fr;
		gap: 15px;
		padding: 0 5px;
	}
	
	.blog-panel {
		margin: 0;
	}
}

.blog-panel {
	margin: 0;
	padding: 0;
	text-align: center;
	width: 100%;
	box-sizing: border-box;
	background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
	border-radius: 20px;
	box-shadow: 0 15px 35px rgba(0,0,0,0.1);
	overflow: hidden;
	transition: all 0.3s ease;
	position: relative;
}

.blog-panel:hover {
	transform: translateY(-10px);
	box-shadow: 0 25px 50px rgba(0,0,0,0.15);
}

.blog-panel::before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
	pointer-events: none;
	z-index: 1;
}

.blog-panel-not-approved {
	background-color: #ecd5d8;
	overflow: hidden;
	padding: 0px;
	text-align: center;
	width: 350px;
}

.blog-image {
	border-radius: 0;
	height: 250px;
	margin: 0;
	padding: 0;
	width: 100%;
	overflow: hidden;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0.05) 100%);
	position: relative;
	z-index: 2;
}

.blog-image img {
	display: block;
	width: 100%;
	height: 250px;
	object-fit: cover;
	margin: 0;
	transition: all 0.3s ease;
}

.blog-panel:hover .blog-image img {
	transform: scale(1.05);
}

.blog-title {
	color: white;
	display: block;
	font-size: 1.4em;
	font-weight: 700;
	padding: 20px 15px 10px;
	text-shadow: 0 2px 4px rgba(0,0,0,0.3);
	position: relative;
	z-index: 2;
	line-height: 1.3;
	letter-spacing: -0.3px;
}

.blog-comments {
	margin: 5px 0;
}

/* Float Shadow
 *
 * Courtesty of Hover.css
 * github.com/IanLunn/Hover
 */
.hvr-float-shadow {
	display: inline-block;
	vertical-align: middle;
	-webkit-transform: perspective(1px) translateZ(0);
	transform: perspective(1px) translateZ(0);
	box-shadow: 0 0 1px transparent;
	position: relative;
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform;
	transition-property: transform;
}
.hvr-float-shadow:before {
	pointer-events: none;
	position: absolute;
	z-index: -1;
	content: '';
	top: 100%;
	left: 5%;
	height: 10px;
	width: 90%;
	opacity: 0;
	background-image: -webkit-radial-gradient(center, ellipse, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
	background: radial-gradient(ellipse at center, rgba(0, 0, 0, 0.35) 0%, transparent 80%);
	-webkit-transition-duration: 0.3s;
	transition-duration: 0.3s;
	-webkit-transition-property: transform, opacity;
	transition-property: transform, opacity;
}
.hvr-float-shadow:hover, .hvr-float-shadow:focus, .hvr-float-shadow:active {
	-webkit-transform: translateY(-5px);
	transform: translateY(-5px);
	/* move the element up by 5px */
}
.hvr-float-shadow:hover:before, .hvr-float-shadow:focus:before, .hvr-float-shadow:active:before {
	opacity: 1;
	-webkit-transform: translateY(5px);
	transform: translateY(5px);
	/* move the element down by 5px (it will stay in place because it's attached to the element that also moves up 5px) */
}
