/* ==========================================================================
   lboard.app — Blog Index page styles (Figma 402-355)
   Scoped under .blog-index so nothing leaks to other pages.
   Fonts: Manrope (loaded by theme) + Inter (loaded with this page).
   ========================================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

.blog-index {
	--bi-red: #FF3B21;
	--bi-ink: #0B0F1A;
	--bi-muted: #5C6673;
	--bi-meta: #8C949E;
	--bi-manrope: 'Manrope', sans-serif;
	--bi-inter: 'Inter', sans-serif;
	background: #F4F5F7;
}
.blog-index *,
.blog-index *::before,
.blog-index *::after { box-sizing: border-box; }

.blog-index .bi-container {
	width: 100%;
	max-width: 1240px;
	margin: 0 auto;
	padding: 0 20px;
}

/* ============================ HERO ============================ */
.blog-index .bi-hero {
	position: relative;
	overflow: hidden;
	background: #0C0C0D;
	padding: 150px 20px 60px;
}
.blog-index .bi-hero__bg {
	position: absolute;
	inset: 0;
	background: url('../images/blog/hero-bg.jpg') center/cover no-repeat;
}
.blog-index .bi-hero__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12,12,13,0.55) 0%, rgba(12,12,13,0.82) 100%);
}
.blog-index .bi-hero__inner {
	position: relative;
	z-index: 1;
	max-width: 1200px;
	margin: 0 auto;
}
.blog-index .bi-breadcrumb {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--bi-inter);
	font-size: 12px;
	margin-bottom: 24px;
}
.blog-index .bi-breadcrumb a { color: rgba(255,255,255,0.45); text-decoration: none; }
.blog-index .bi-breadcrumb a:hover { color: rgba(255,255,255,0.8); }
.blog-index .bi-breadcrumb__sep { color: rgba(255,255,255,0.25); }
.blog-index .bi-breadcrumb__current { color: rgba(255,255,255,0.45); }

.blog-index .bi-hero__label {
	display: inline-block;
	font-family: var(--bi-inter);
	font-size: 12px;
	font-weight: 500;
	letter-spacing: 0.08em;
	color: var(--bi-red);
	background: rgba(255,59,33,0.14);
	border-radius: 100px;
	padding: 7px 14px;
}
.blog-index .bi-hero__title {
	font-family: var(--bi-manrope);
	font-weight: 800;
	font-size: 64px;
	line-height: 1.04;
	color: #fff;
	margin: 16px 0 0;
	letter-spacing: -0.02em;
}
.blog-index .bi-hero__sub {
	font-family: var(--bi-inter);
	font-size: 16px;
	font-weight: 400;
	line-height: 1.5;
	color: rgba(255,255,255,0.55);
	max-width: 560px;
	margin: 14px 0 0;
}
.blog-index .bi-chips {
	display: flex;
	flex-wrap: wrap;
	gap: 8px;
	margin-top: 26px;
}
.blog-index .bi-chip {
	font-family: var(--bi-manrope);
	font-size: 11px;
	font-weight: 600;
	color: rgba(255,255,255,0.70);
	background: rgba(255,255,255,0.06);
	border-radius: 100px;
	padding: 8px 16px;
	text-decoration: none;
	transition: background .15s ease, color .15s ease;
	white-space: nowrap;
}
.blog-index .bi-chip:hover { background: rgba(255,255,255,0.12); color: #fff; }
.blog-index .bi-chip.is-active { background: rgba(255,59,33,0.14); color: var(--bi-red); }

/* ============================ GRID ============================ */
.blog-index .bi-grid-section { padding: 64px 0 80px; }
.blog-index .bi-grid {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	align-items: start;
	gap: 20px;
}
.blog-index .bi-card {
	display: flex;
	flex-direction: column;
	background: #fff;
	border-radius: 20px;
	overflow: hidden;
	box-shadow: 0 1px 2px rgba(11,15,26,0.04);
	transition: transform .18s ease, box-shadow .18s ease;
}
.blog-index .bi-card:hover {
	transform: translateY(-3px);
	box-shadow: 0 16px 40px rgba(11,15,26,0.12);
}
.blog-index .bi-card__image {
	display: block;
	width: 100%;
	height: 240px;
	overflow: hidden;
}
.blog-index .bi-card__image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}
.blog-index .bi-card__body {
	display: flex;
	flex-direction: column;
	flex: 1;
	padding: 28px 28px 24px;
}
.blog-index .bi-card__tag {
	font-family: var(--bi-inter);
	font-size: 10px;
	font-weight: 700;
	letter-spacing: 0.1em;
	color: var(--bi-red);
	text-transform: uppercase;
}
.blog-index .bi-card__title {
	font-family: var(--bi-manrope);
	font-size: 19px;
	font-weight: 700;
	line-height: 1.32;
	color: var(--bi-ink);
	margin: 12px 0 0;
}
.blog-index .bi-card__title a { color: inherit; text-decoration: none; }
.blog-index .bi-card__title a:hover { color: var(--bi-red); }
.blog-index .bi-card__excerpt {
	font-family: var(--bi-inter);
	font-size: 13px;
	font-weight: 400;
	line-height: 1.54;
	color: var(--bi-muted);
	margin: 12px 0 0;
}
.blog-index .bi-card__footer {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	margin-top: auto;
	padding-top: 20px;
}
.blog-index .bi-card__meta {
	display: flex;
	align-items: center;
	gap: 8px;
	font-family: var(--bi-inter);
	font-size: 11px;
	color: var(--bi-meta);
}
.blog-index .bi-dot {
	width: 3px; height: 3px;
	border-radius: 50%;
	background: var(--bi-meta);
	display: inline-block;
}
.blog-index .bi-card__more {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: var(--bi-manrope);
	font-size: 12px;
	font-weight: 600;
	color: var(--bi-ink);
	text-decoration: none;
}
.blog-index .bi-card__more span { transition: transform .15s ease; }
.blog-index .bi-card__more:hover { color: var(--bi-red); }
.blog-index .bi-card__more:hover span { transform: translateX(3px); }

.blog-index .bi-empty {
	font-family: var(--bi-inter);
	font-size: 16px;
	color: var(--bi-muted);
	text-align: center;
	padding: 60px 0;
}

/* ========================== PAGINATION ========================== */
.blog-index .bi-pagination {
	display: flex;
	justify-content: center;
	align-items: center;
	gap: 8px;
	margin-top: 48px;
	flex-wrap: wrap;
}
.blog-index .bi-page {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	height: 42px;
	padding: 0 12px;
	border-radius: 100px;
	font-family: var(--bi-manrope);
	font-size: 14px;
	font-weight: 600;
	color: var(--bi-ink);
	background: #fff;
	border: 1px solid rgba(11,15,26,0.08);
	text-decoration: none;
	transition: background .15s ease, color .15s ease, border-color .15s ease;
}
.blog-index a.bi-page:hover { border-color: var(--bi-red); color: var(--bi-red); }
.blog-index .bi-page.current {
	background: var(--bi-red);
	border-color: var(--bi-red);
	color: #fff;
}
.blog-index span.bi-page.dots {
	border: none;
	background: transparent;
	color: var(--bi-meta);
	min-width: auto;
}

/* ============================ CTA ============================ */
.blog-index .bi-cta {
	position: relative;
	overflow: hidden;
	background: #0C0C0D;
	min-height: 480px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 60px 20px;
}
.blog-index .bi-cta__bg {
	position: absolute;
	inset: 0;
	background: url('../images/blog/hero-bg.jpg') center/cover no-repeat;
}
.blog-index .bi-cta__bg::after {
	content: "";
	position: absolute;
	inset: 0;
	background: linear-gradient(180deg, rgba(12,12,13,0.60) 0%, rgba(12,12,13,0.86) 100%);
}
.blog-index .bi-cta__inner {
	position: relative;
	z-index: 1;
	max-width: 1040px;
	margin: 0 auto;
	text-align: center;
}
.blog-index .bi-cta__title { white-space: nowrap; }
.blog-index .bi-cta__title {
	font-family: var(--bi-manrope);
	font-weight: 800;
	font-size: 64px;
	line-height: 1.05;
	letter-spacing: -0.02em;
	color: #fff;
	margin: 0;
}
.blog-index .bi-cta__sub {
	font-family: var(--bi-inter);
	font-size: 16px;
	color: rgba(255,255,255,0.55);
	margin: 16px 0 0;
}
.blog-index .bi-cta__buttons {
	display: flex;
	justify-content: center;
	gap: 12px;
	margin-top: 28px;
	flex-wrap: wrap;
}
.blog-index .bi-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	height: 50px;
	padding: 0 28px;
	border: none;
	border-radius: 48px;
	font-family: var(--bi-inter);
	font-size: 15px;
	font-weight: 600;
	line-height: 1;
	text-decoration: none;
	cursor: pointer;
	-webkit-appearance: none;
	appearance: none;
	transition: transform .15s ease, background .15s ease, opacity .15s ease;
}
.blog-index .bi-btn--primary { background: var(--bi-red); color: #fff; }
.blog-index .bi-btn--primary:hover { transform: translateY(-2px); opacity: .94; }
.blog-index .bi-btn--ghost {
	background: rgba(255,255,255,0.06);
	color: rgba(255,255,255,0.90);
	border: 1px solid rgba(255,255,255,0.18);
	font-weight: 500;
}
.blog-index .bi-btn--ghost:hover { background: rgba(255,255,255,0.12); }

/* ============================ RESPONSIVE ============================ */
@media (max-width: 1024px) {
	.blog-index .bi-hero__title { font-size: 52px; }
	.blog-index .bi-cta__title { font-size: 48px; }
}
@media (max-width: 768px) {
	.blog-index .bi-hero { padding: 120px 20px 48px; }
	.blog-index .bi-hero__title { font-size: 38px; }
	.blog-index .bi-hero__sub { font-size: 15px; }
	.blog-index .bi-grid-section { padding: 40px 0 56px; }
	.blog-index .bi-grid { grid-template-columns: 1fr; gap: 16px; }
	.blog-index .bi-card__image { height: 200px; }
	.blog-index .bi-cta { min-height: auto; padding: 64px 20px; }
	.blog-index .bi-cta__title { font-size: 34px; white-space: normal; }
	.blog-index .bi-btn { width: 100%; max-width: 320px; }
}
@media (max-width: 480px) {
	.blog-index .bi-hero__title { font-size: 32px; }
	.blog-index .bi-chips { gap: 6px; }
	.blog-index .bi-chip { font-size: 10px; padding: 7px 13px; }
	.blog-index .bi-card__body { padding: 22px 20px 20px; }
}
