/**
 * Blog Cards Styles - Kinetic Precision Framework
 * Elegant cards for blog listing
 */

:root {
	--artemis-navy: #001e40;
	--artemis-navy-light: #003366;
	--artemis-bg-light: #F1F3FF;
	--artemis-white: #ffffff;
	--artemis-text: #5a6a7a;
	--artemis-text-dark: #161c27;
}

.post-list-single-item,
.blog-grid-loop .post-grid-single-unit,
.archive .post-grid-single-unit,
.blog .post-grid-single-unit {
	background: var(--artemis-white) !important;
	border-radius: 6px !important;
	overflow: hidden !important;
	box-shadow: 0 8px 35px rgba(0, 30, 64, 0.09) !important;
	transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
	margin-bottom: 26px !important;
}

.post-list-single-item:hover,
.blog-grid-loop .post-grid-single-unit:hover,
.archive .post-grid-single-unit:hover,
.blog .post-grid-single-unit:hover {
	transform: translateY(-5px) !important;
	box-shadow: 0 20px 50px rgba(0, 30, 64, 0.14) !important;
}

.post-list-single-item .image,
.post-grid-single-unit .image {
	position: relative;
	overflow: hidden;
	height: 340px;
}

.post-list-single-item .image > a {
	display: block;
	position: relative;
	height: 100%;
	z-index: 1;
}

.post-list-single-item .image img,
.post-grid-single-unit .image img {
	width: 100%;
	height: 340px;
	object-fit: cover;
	transition: transform 0.6s ease !important;
}

.post-list-single-item:hover .image img,
.blog-grid-loop .post-grid-single-unit:hover .image img {
	transform: scale(1.03) !important;
}

.post-list-single-item .absoluted-content,
.post-grid-single-unit .absoluted-content {
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 50%;
	background: linear-gradient(to top, rgba(0, 30, 64, 0.8) 0%, rgba(0, 30, 64, 0.5) 50%, transparent 100%);
	z-index: 2;
}

.post-list-single-item .absoluted-content .relatived-content {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: auto;
	z-index: 5;
	padding: 0;
}

.post-list-single-item .relatived-content {
	position: absolute;
	bottom: 20px;
	left: 20px;
	right: auto;
	z-index: 5;
	padding: 0;
}

.post-list-single-item .relatived-content h3.title,
.post-grid-single-unit .relatived-content h3.title {
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.9rem;
	font-weight: 700;
	color: #ffffff;
	line-height: 1.4;
	margin: 0;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	text-shadow: 0 2px 12px rgba(0, 0, 0, 0.5);
	position: relative;
	z-index: 5;
}

.artemis-date-badge {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	padding: 6px 12px;
	background: var(--artemis-navy);
	border-radius: 6px;
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.75rem;
	font-weight: 600;
	color: #ffffff;
	position: absolute;
	top: 20px;
	right: 20px;
	z-index: 10;
}

.artemis-date-badge i {
	font-size: 0.85rem;
}

.post-list-single-item .content,
.post-grid-single-unit .content {
	padding: 30px 26px !important;
}

.post-list-single-item .title-relative a,
.post-grid-single-unit .title-relative a {
	text-decoration: none;
}

.post-list-single-item .title-relative .title,
.post-grid-single-unit .title-relative .title {
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 1.2rem;
	font-weight: 800;
	color: var(--artemis-navy);
	line-height: 1.3;
	margin: 0 0 14px 0;
	transition: color 0.3s ease;
	text-transform: uppercase;
	letter-spacing: 0.02em;
}

.post-list-single-item .title-relative .title:hover,
.post-grid-single-unit .title-relative .title:hover {
	color: var(--artemis-navy-light);
}

.post-list-single-item .blog-posts-excerpt,
.post-grid-single-unit .blog-posts-excerpt {
	font-family: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
	font-size: 0.9rem;
	color: var(--artemis-text);
	line-height: 1.7;
	margin: 0 0 18px 0;
}

.post-list-single-item .blog-posts-excerpt a,
.post-grid-single-unit .blog-posts-excerpt a {
	color: var(--artemis-navy);
	font-weight: 700;
	text-decoration: none;
	text-transform: uppercase;
	font-size: 0.8rem;
	letter-spacing: 0.05em;
}

.post-list-single-item .blog-posts-excerpt a:hover,
.post-grid-single-unit .blog-posts-excerpt a:hover {
	color: var(--artemis-navy-light);
}

.post-list-single-item .blog-meta {
	display: none !important;
}

.post-grid-single-unit .post-meta-bottom {
	display: none !important;
}

.blog-grid-loop .col-md-4,
.archive .col-md-4 {
	padding-left: 15px;
	padding-right: 15px;
}

@media (max-width: 768px) {
	.post-list-single-item .image,
	.post-grid-single-unit .image {
		height: 260px;
	}

	.post-list-single-item .image img,
	.post-grid-single-unit .image img {
		height: 260px;
	}

	.post-list-single-item .relatived-content {
		bottom: 20px;
	}

	.post-list-single-item .content,
	.post-grid-single-unit .content {
		padding: 24px 20px !important;
	}

	.post-list-single-item .title-relative .title,
	.post-grid-single-unit .title-relative .title {
		font-size: 1rem;
	}
}

@media (max-width: 480px) {
	.post-list-single-item .image,
	.post-grid-single-unit .image {
		height: 200px;
	}

	.post-list-single-item .image img,
	.post-grid-single-unit .image img {
		height: 200px;
	}

	.post-list-single-item .relatived-content {
		bottom: 16px;
		left: 16px;
		right: 16px;
	}

	.artemis-date-badge {
		top: 12px;
		right: 12px;
		padding: 5px 10px;
		font-size: 0.7rem;
	}
}