.home-blog {
	padding: 30px 0;
	position: relative;
	overflow: visible;
}


/* Елементи списку */
.module_blog .article-item {
	padding-bottom: 5px;
	position: relative
}

.module_blog .article-item a {
	display: block;
	padding: 20px 20px 35px;
	position: relative;
	width: 100%
}

/* Статистика (дата, автор) */
.module_blog .post-stats {
	font-size: 12px;
	color: #A8A8A8;
	margin: 15px 0 15px;
	padding-bottom: 5px;
	position: relative;
	z-index: 2;
}

.module_blog .post-stats span {
	display: inline-block;
	margin-right: 5px;
	line-height: 12px;
}

.module_blog .post-stats span + span {
	padding-left: 7px;
	border-left: 1px solid #eeeeee;
}

.module_blog .post-stats .fa {
	color: #bbbbbb;
	margin-right: 3px;
}

/* Робота зі стрілками */
.home-blog .module_blog {
	position: relative;
}

.module_blog .arrow-left svg {
	transform: scale(-1);
}

.module_blog .arrow-left {
	right: 49px; /* Відступ між стрілками */
}

.module_blog .arrow-left,
.module_blog .arrow-right {
	align-items: center;
	background: #fff;
	border: 1px solid #dfdfdf;
	bottom: calc(100% + 20px); /* Піднімає стрілки над слайдером праворуч */
	cursor: pointer;
	display: flex;
	height: 50px;
	justify-content: center;
	position: absolute;
	transition: .2s;
	width: 50px;
	z-index: 9;
}

.module_blog .arrow-left:hover,
.module_blog .arrow-right:hover {
	background: #dfdfdf;
}

.module_blog .arrow-right {
	right: 0;
}

/* Додатково: Стилі для тексту всередині картки */
.module_blog .post-name {
	display: block;
	min-height: 72px;
	font-size: 16px;
	font-family: "Montserrat", sans-serif;
	font-weight: 600;
	color: #404041;
	margin-top: 15px;
	position: relative;
	z-index: 2;
}


.module_blog .post-desc {
	min-height: 84px;
	margin-top: 10px;
	position: relative;
	z-index: 2;
}

.module_blog .post-image img {
	width: 100%;
	height: auto;
	position: relative;
	z-index: 2;
}

.module_blog .post-image {
	width: 100%;
	/* Встановлюємо жорстку пропорцію для контейнера */
	aspect-ratio: 16 / 9;
	overflow: hidden;
	background-color: #f5f5f5; /* фон, поки вантажиться фото */
}

.module_blog .post-image img {
	width: 100%;
	height: 100%;
	/* Це магічна властивість: фото розтягується і обрізається по центру */
	object-fit: cover;
	/* Плавний зум при наведенні */
	transition: transform 0.5s ease;
}


/* Базова сіра рамка (:before) */
.module_blog .article-item a:before {
	border: 1px solid #efefef;
	content: "";
	display: block;
	height: calc(100% + 1px);
	left: -1px;
	position: absolute;
	top: 0;
	transition: .2s;
	width: calc(100% + 1px);
	z-index: 1;
}

/* НОВА Зелена рамка при наведенні (:after) */
.module_blog .article-item a:after {
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	border: 1px solid #205953;
	box-shadow: 0 5px 15px rgba(0, 155, 75, 0.15);
	opacity: 0; /* Прихована за замовчуванням */
	z-index: 4;
	pointer-events: none; /* Щоб не заважала кліку */
}

/* Активація рамки при наведенні */
.module_blog .article-item a:hover:after {
	opacity: 1;
}

/* Посилення для активного слайду (Slick) */
.module_blog .article-item.slick-current a:before {
	border-left-width: 2px;
}