/* Helplama Blog Feed — base styles (safe to override in your theme / Elementor Custom CSS) */

.hl-blogfeed {
	display: grid;
	gap: 32px;
	grid-template-columns: repeat(3, 1fr);
}

.hl-blogfeed-cols-2 { grid-template-columns: repeat(2, 1fr); }
.hl-blogfeed-cols-3 { grid-template-columns: repeat(3, 1fr); }
.hl-blogfeed-cols-4 { grid-template-columns: repeat(4, 1fr); }

.hl-blogfeed-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 14px;
	overflow: hidden;
	border: 1px solid #ececec;
	transition: box-shadow 0.2s ease, transform 0.2s ease;
}

.hl-blogfeed-card:hover {
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	transform: translateY(-2px);
}

.hl-blogfeed-thumb {
	display: block;
	aspect-ratio: 16 / 10;
	overflow: hidden;
	background: #f2f2f2;
}

.hl-blogfeed-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hl-blogfeed-body {
	padding: 20px;
	display: flex;
	flex-direction: column;
	flex: 1;
}

.hl-blogfeed-cat {
	display: inline-block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #b8860b;
	margin-bottom: 8px;
}

.hl-blogfeed-title {
	font-size: 19px;
	line-height: 1.3;
	margin: 0 0 8px;
}

.hl-blogfeed-title a {
	color: #1c1c1c;
	text-decoration: none;
}

.hl-blogfeed-title a:hover {
	text-decoration: underline;
}

.hl-blogfeed-date {
	font-size: 13px;
	color: #888;
	margin-bottom: 12px;
	display: block;
}

.hl-blogfeed-excerpt {
	font-size: 15px;
	line-height: 1.55;
	color: #444;
	margin: 0 0 16px;
	flex: 1;
}

.hl-blogfeed-readmore {
	font-size: 14px;
	font-weight: 600;
	color: #1c1c1c;
	text-decoration: none;
	margin-top: auto;
}

.hl-blogfeed-readmore:hover {
	text-decoration: underline;
}

.hl-blogfeed-empty {
	color: #777;
	font-style: italic;
}

@media (max-width: 900px) {
	.hl-blogfeed-cols-3,
	.hl-blogfeed-cols-4 {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.hl-blogfeed,
	.hl-blogfeed-cols-2,
	.hl-blogfeed-cols-3,
	.hl-blogfeed-cols-4 {
		grid-template-columns: 1fr;
	}
}
