/**
 * Home — Blog editorial
 */

/* Blog ÃƒÂ¢Ã¢â€šÂ¬Ã¢â‚¬Â editorial feature + rail */
.l1-blog-head {
	display: flex;
	align-items: flex-end;
	justify-content: space-between;
	gap: 1.5rem;
	margin-bottom: 1.65rem;
	max-width: none;
}
.l1-blog-head .l1-section-title { margin-bottom: 0; max-width: 18ch; }
.l1-blog-all {
	display: inline-flex;
	align-items: center;
	gap: 0.45rem;
	flex-shrink: 0;
	padding: 0.7rem 1.15rem;
	border-radius: 999px;
	background: var(--gradient);
	color: #fff !important;
	font-size: 0.88rem;
	font-weight: 650;
	text-decoration: none;
	box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
	transition: transform 0.25s var(--l1-ease), filter 0.25s;
}
.l1-blog-all:hover {
	transform: translateY(-2px);
	filter: brightness(1.06);
}
.l1-blog-all span {
	display: grid;
	place-items: center;
	width: 1.35rem;
	height: 1.35rem;
	border-radius: 999px;
	background: rgba(255, 255, 255, 0.14);
	font-size: 0.75rem;
}
/* Featured: image on top, solid copy panel below (no text-on-image) */
.l1-blog-feature {
	display: flex;
	flex-direction: column;
	min-height: 0;
	height: 100%;
	border-radius: 28px;
	overflow: hidden;
	background: #fff;
	border: 1px solid var(--l1-line);
	box-shadow: 0 16px 40px rgba(15, 23, 42, 0.06);
}
.l1-blog-feature-media {
	position: relative;
	display: block;
	flex: 1 1 auto;
	min-height: 240px;
	overflow: hidden;
	background: #0c1222;
}
.l1-blog-feature-media::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: rgba(0, 0, 0, 0.28);
}
.l1-blog-feature-media img {
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center top;
	transition: transform 0.7s var(--l1-ease);
}
.l1-blog-feature:hover .l1-blog-feature-media img {
	transform: scale(1.04);
}
.l1-blog-feature-body {
	position: relative;
	z-index: 1;
	flex: 1 1 auto;
	padding: 1.35rem 1.45rem 1.5rem;
	display: flex;
	flex-direction: column;
	gap: 0.55rem;
	background: #fff;
}
.l1-blog-meta {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.55rem 0.85rem;
}
.l1-blog-cat {
	display: inline-flex;
	align-items: center;
	padding: 0.28rem 0.65rem;
	border-radius: 999px;
	font-size: 0.72rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	background: rgba(212, 255, 63, 0.92);
	color: #0c1222;
}
.l1-blog-feature .l1-blog-meta time {
	font-size: 0.8rem;
	color: var(--l1-muted);
}
.l1-blog-feature h3 {
	margin: 0;
	font-size: clamp(1.15rem, 2vw, 1.45rem);
	font-weight: 800;
	letter-spacing: -0.03em;
	line-height: 1.25;
}
.l1-blog-feature h3 a {
	color: var(--l1-ink) !important;
	text-decoration: none;
}
.l1-blog-feature h3 a:hover { color: var(--l1-purple) !important; }
.l1-blog-feature p {
	margin: 0;
	font-size: 0.9rem;
	line-height: 1.55;
	color: var(--l1-muted);
}
.l1-blog-read {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	margin-top: auto;
	padding-top: 0.35rem;
	font-size: 0.88rem;
	font-weight: 650;
	color: var(--l1-purple) !important;
	text-decoration: none;
	text-transform: lowercase;
}
.l1-blog-read span {
	transition: transform 0.25s var(--l1-ease);
}
.l1-blog-read:hover span { transform: translateX(4px); }

/* Side posts */
.l1-blog-rail-item {
	position: relative;
	display: flex;
	flex-direction: column;
	min-height: 0;
	min-width: 0;
	border-radius: 20px;
	background: #fff;
	border: 1px solid var(--l1-line);
	box-shadow: 0 10px 26px rgba(15, 23, 42, 0.05);
	overflow: hidden;
	transition: transform 0.3s var(--l1-ease), box-shadow 0.3s, border-color 0.3s;
}
.l1-blog-rail-item:hover {
	transform: translateY(-3px);
	border-color: rgba(38, 63, 216, 0.18);
	box-shadow: 0 16px 36px rgba(15, 23, 42, 0.07);
}
.l1-blog-rail-thumb {
	position: relative;
	display: block;
	flex: 0 0 auto;
	height: 168px;
	overflow: hidden;
	background: #0c1222;
}
.l1-blog-rail-thumb::after {
	content: "";
	position: absolute;
	inset: 0;
	z-index: 1;
	pointer-events: none;
	background: rgba(0, 0, 0, 0.28);
}
.l1-blog-rail-num {
	position: absolute;
	top: 0.55rem;
	left: 0.55rem;
	z-index: 2;
	display: grid;
	place-items: center;
	min-width: 1.75rem;
	height: 1.5rem;
	padding: 0 0.4rem;
	border-radius: 7px;
	background: rgba(12, 18, 34, 0.72);
	backdrop-filter: blur(6px);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	color: #fff;
}
.l1-blog-rail-thumb img {
	width: 100%;
	height: 100% !important;
	max-width: none;
	object-fit: cover;
	object-position: center;
	transition: transform 0.5s var(--l1-ease);
}
.l1-blog-rail-item:hover .l1-blog-rail-thumb img {
	transform: scale(1.05);
}
.l1-blog-rail-body {
	position: relative;
	z-index: 1;
	display: flex;
	flex-direction: column;
	gap: 0.35rem;
	flex: 1 1 auto;
	min-width: 0;
	padding: 0.85rem 0.9rem 1rem;
	background: #fff;
}
.l1-blog-rail-body .l1-blog-meta {
	gap: 0.4rem 0.55rem;
}
.l1-blog-rail-body .l1-blog-meta time {
	font-size: 0.72rem;
	color: var(--l1-muted);
}
.l1-blog-rail-body .l1-blog-cat {
	padding: 0.2rem 0.5rem;
	font-size: 0.65rem;
	background: rgba(15, 23, 42, 0.07);
	color: var(--l1-purple);
}
.l1-blog-rail-body h3 {
	margin: 0;
	font-size: 0.88rem;
	font-weight: 750;
	letter-spacing: -0.02em;
	line-height: 1.3;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.l1-blog-rail-body h3 a {
	color: var(--l1-ink) !important;
	text-decoration: none;
}
.l1-blog-rail-body h3 a:hover { color: var(--l1-purple) !important; }
.l1-blog-rail-body .l1-blog-read {
	margin-top: auto;
	padding-top: 0.25rem;
	font-size: 0.8rem;
	color: var(--l1-purple) !important;
}
