/* ==========================================================================
   Lumin Blog Suite — restyle the theme's Techtro blog cards (.news-box-items)
   on the Home & About pages so they match the new /blog/ card design.

   Scoped to body.lumin-blog-cards (added by the plugin on those pages only),
   so no other Techtro card instances are affected. CSS-only: the existing
   Elementor sections / markup are untouched.

   Original card markup:
     .news-box-items
       .news-thumb  > a[img]  +  a.cat-item > span      (image + category badge)
       .news-content > ul.post-date (author + date) > h3.post-title > a.link-btn
   ========================================================================== */

/* ---- Card: strip the bordered card chrome (match borderless /blog/ cards) ---- */
.lumin-blog-cards .news-box-items {
	background: transparent !important;
	border: 0 !important;
	box-shadow: none !important;
	padding: 0 !important;
	border-radius: 0 !important;
}

/* ---- Image: rounded 16:10, zoom-on-hover. The thumb itself stops clipping/
   rounding so the category can flow out as text below the image; the image
   link gets the rounding + overflow clip (so the hover zoom stays contained). */
.lumin-blog-cards .news-thumb {
	position: static !important;
	overflow: visible !important;
	border-radius: 0 !important;
}

.lumin-blog-cards .news-thumb > a:first-child {
	display: block;
	border-radius: 16px;
	overflow: hidden;
	aspect-ratio: 16 / 10;
	background: #e2e8f0;
}

.lumin-blog-cards .news-thumb > a:first-child img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-radius: 0 !important;
	transition: transform 0.5s ease;
}

.lumin-blog-cards .news-box-items:hover .news-thumb > a:first-child img {
	transform: scale(1.04);
}

/* ---- Category: overlay badge -> uppercase orange text below the image.
   The theme makes the inner <span> position:absolute (the dark pill); reset it
   to flow as plain text. */
.lumin-blog-cards .news-thumb .cat-item {
	position: static !important;
	display: block;
	margin: 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
}

.lumin-blog-cards .news-thumb .cat-item span,
.lumin-blog-cards .news-thumb span {
	position: static !important;
	top: auto !important;
	left: auto !important;
	right: auto !important;
	display: inline-block;
	margin: 16px 0 0 !important;
	padding: 0 !important;
	background: transparent !important;
	box-shadow: none !important;
	border-radius: 0 !important;
	color: #ff6243 !important;
	font-size: 12.5px !important;
	font-weight: 700 !important;
	letter-spacing: 0.1em;
	text-transform: uppercase;
	line-height: 1.2;
}

.lumin-blog-cards .news-thumb .cat-item span:hover,
.lumin-blog-cards .news-thumb span:hover {
	background: transparent !important;
	color: #e84a28 !important;
}

/* ---- Content: title above meta, tight spacing, hide the "Learn More" link ---- */
.lumin-blog-cards .news-content {
	display: flex;
	flex-direction: column;
	padding: 0 !important;
	margin-top: 10px;
}

.lumin-blog-cards .news-content .post-title { order: 1; margin: 0 0 12px !important; }
.lumin-blog-cards .news-content .post-date  { order: 2; }
.lumin-blog-cards .news-content .link-btn   { display: none !important; }

/* ---- Title ---- */
.lumin-blog-cards .post-title {
	font-size: clamp(19px, 1.6vw, 22px) !important;
	font-weight: 800 !important;
	line-height: 1.3 !important;
	letter-spacing: -0.015em;
}

.lumin-blog-cards .post-title a { color: #0f172a !important; transition: color 0.2s ease; }
.lumin-blog-cards .news-box-items:hover .post-title a { color: #ff6243 !important; }

/* ---- Meta: drop the author, keep the date (grey + small) ---- */
.lumin-blog-cards .post-date {
	display: flex !important;
	flex-wrap: wrap;
	align-items: center;
	gap: 8px;
	margin: 0 !important;
	padding: 0 !important;
}

.lumin-blog-cards .post-date li { margin: 0 !important; padding: 0 !important; }
.lumin-blog-cards .post-date li:has(> .post-author) { display: none !important; }
.lumin-blog-cards .post-author { display: none !important; } /* fallback if :has() unsupported */

.lumin-blog-cards .post-dates,
.lumin-blog-cards .post-date a {
	color: #64748b !important;
	font-size: 13px !important;
	font-weight: 500 !important;
}

.lumin-blog-cards .post-date i { color: #94a3b8 !important; margin-right: 6px; }
