﻿.blogs-hero {
	position: relative;
	padding: 2rem 1rem;
	border-bottom: 1px solid rgba(255,255,255,.06);
background:
		linear-gradient(180deg, rgba(0, 0, 0, .40) 0%, rgba(0, 0, 0, .10) 100%),
		radial-gradient(circle at top left, rgba(205, 65, 43, .18) 0%, transparent 38%),
		linear-gradient(90deg, rgba(0, 0, 0, .80) 0%, rgba(0, 0, 0, .70) 45%, rgba(0, 0, 0, .60) 100%),
		url('/images/blogs.webp');

	overflow: hidden;
}

.blogs-hero-inner {
	max-width: 820px;
}

.blogs-kicker {
	display: inline-block;
	margin-bottom: .9rem;
	color: var(--rust-red);
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.blogs-hero h1 {
	margin: 0;
	font-size: clamp(32px, 5vw, 50px);
	line-height: .98;
	font-weight: 900;
	text-transform: uppercase;
	letter-spacing: -.03em;
	color: #fff;
}

	.blogs-hero h1 > span {
		color: var(--rust-red);
	}

.blogs-hero p {
	margin: 1rem 0 0;
	max-width: 760px;
	font-size: 16px;
	line-height: 1.8;
	color: #d8d8d8;
}

.blogs-list-section {
	padding: 1.5rem 0 2.5rem;
}

.blogs-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.blogs-card {
	display: flex;
	flex-direction: column;
	text-decoration: none;
	background: rgba(0,0,0,.3);
	border: 1px solid rgba(255,255,255,.06);
	overflow: hidden;
	transition: transform 200ms, border-color 200ms, background-color 200ms, box-shadow 200ms;
}

	.blogs-card:hover {
		transform: translateY(-3px);
		border-color: rgba(205,65,43,.4);
		background: rgba(255,255,255,.02);
		box-shadow: 0 18px 40px rgba(0,0,0,.24);
	}

.blogs-card-image {
	position: relative;
	height: 220px;
	border-bottom: 1px solid rgba(255,255,255,.06);
}

	.blogs-card-image::after {
		content: "";
		position: absolute;
		inset: 0 0 -1px 0;
		background: linear-gradient(180deg, rgba(0,0,0,.08) 0%, rgba(0,0,0,.58) 100%);
		opacity: 1;
		transition: opacity 0.4s ease;
		pointer-events: none;
	}

	.blogs-card-image img {
		max-height: 100%;
		width: 100%;
		object-fit: cover;
	}

.blogs-card:hover .blogs-card-image::after {
	opacity: 0;
}

.blogs-card-body {
	padding: 1rem;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.blogs-meta {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: .8rem;
	font-size: 11px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
	color: #9d9892;
}

.blogs-card a {
	text-decoration: none;
}

.blogs-card h2 {
	margin: 0;
	color: #fff;
	font-size: 24px;
	font-weight: 900;
	line-height: 1.15;
	letter-spacing: -.02em;
	text-transform: uppercase;
}

.blogs-card p {
	margin: .85rem 0 0;
	color: #cfcfcf;
	font-size: 15px;
	line-height: 1.8;
}

.blogs-readmore {
	display: inline-flex;
	align-items: center;
	margin-top: 1rem;
	color: var(--rust-red);
	font-size: 12px;
	font-weight: 900;
	letter-spacing: .08em;
	text-transform: uppercase;
}

.blogs-empty {
	padding: 2rem;
	background: rgba(0,0,0,.3);
	border: 1px solid rgba(255,255,255,.06);
}

	.blogs-empty h2 {
		margin: 0 0 .75rem;
		color: #fff;
		font-size: 28px;
		font-weight: 900;
		text-transform: uppercase;
	}

	.blogs-empty p {
		margin: 0;
		color: #cfcfcf;
		line-height: 1.8;
	}

@media (max-width: 1100px) {
	.blogs-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.blogs-hero h1 {
		font-size: 34px;
	}

	.blogs-hero p {
		font-size: 14px;
		line-height: 1.7;
	}

	.blogs-grid {
		grid-template-columns: 1fr;
	}

	.blogs-card-image {
		height: 200px;
	}

	.blogs-card h2 {
		font-size: 21px;
	}

	.blogs-card p {
		font-size: 14px;
		line-height: 1.7;
	}
}
