/**
 * Blog Home Section Styles
 *
 * Design system:
 *   - Background: #111111
 *   - Cards: rgba(255,255,255,0.03) with subtle border
 *   - Primary text: #FFFFFF
 *   - Secondary text: #DBDBDB
 *   - Muted text: #B9B9B9
 *   - Headings: Manrope 700
 *   - Body: Helvetica
 *   - Accent labels: Helvetica 600 uppercase 13px
 *   - Container: 1220px
 */

/* ------------------------------------------------
   Section Layout
   ------------------------------------------------ */

.stg-blog-home {
	width: 100%;
}

.stg-blog-home__inner {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 24px;
	max-width: 1220px;
	margin: 0 auto;
}

/* ------------------------------------------------
   Left Column — List of Cards
   ------------------------------------------------ */

.stg-blog-home__list {
	display: flex;
	flex-direction: column;
	gap: 20px;
}

/* ------------------------------------------------
   List Card
   ------------------------------------------------ */

.stg-blog-card {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	padding: 28px 28px 24px;
	transition: border-color 0.3s ease, background-color 0.3s ease;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.stg-blog-card:hover {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.045);
}

/* Meta: category + date */
.stg-blog-card__meta {
	display: flex;
	align-items: center;
	gap: 16px;
}

.stg-blog-card__category {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 600;
	font-size: 13px;
	letter-spacing: 0.04em;
	text-transform: uppercase;
	color: #DBDBDB;
	background: rgba(255, 255, 255, 0.06);
	border: 1px solid rgba(255, 255, 255, 0.08);
	padding: 5px 14px;
	white-space: nowrap;
}

.stg-blog-card__category-dot {
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #B9B9B9;
	flex-shrink: 0;
}

.stg-blog-card__date {
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.35);
	white-space: nowrap;
}

/* Title */
.stg-blog-card__title {
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	font-size: 17px;
	line-height: 1.45;
	margin: 0;
}

.stg-blog-card__title a {
	color: #FFFFFF;
	text-decoration: none;
	transition: color 0.25s ease;
}

.stg-blog-card__title a:hover {
	color: #DBDBDB;
}

/* Excerpt */
.stg-blog-card__excerpt {
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 13.5px;
	line-height: 1.65;
	color: #B9B9B9;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* Read more link */
.stg-blog-card__link {
	font-family: 'Helvetica', sans-serif;
	font-weight: 700;
	font-size: 13px;
	color: rgba(255, 255, 255, 0.5);
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 4px;
	text-transform: uppercase;
	transition: color 0.25s ease, gap 0.25s ease;
	margin-top: 4px;
}

.stg-blog-card__link:hover {
	color: #FFFFFF;
	gap: 8px;
}

/* ------------------------------------------------
   Right Column — Featured Card
   ------------------------------------------------ */

.stg-blog-featured {
	background: rgba(255, 255, 255, 0.03);
	border: 1px solid rgba(255, 255, 255, 0.06);
	overflow: hidden;
	display: flex;
	flex-direction: column;
	transition: border-color 0.3s ease, background-color 0.3s ease;
	height: 100%;
}

.stg-blog-featured:hover {
	border-color: rgba(255, 255, 255, 0.12);
	background: rgba(255, 255, 255, 0.045);
}

/* Featured image */
.stg-blog-featured__image-link {
	display: block;
	overflow: hidden;
	flex-shrink: 0;
}

.stg-blog-featured__image {
	width: 100%;
	height: 280px;
	object-fit: cover;
	display: block;
	transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.stg-blog-featured:hover .stg-blog-featured__image {
	transform: scale(1.03);
}

/* Featured content */
.stg-blog-featured__content {
	padding: 32px 28px 28px;
	display: flex;
	flex-direction: column;
	gap: 14px;
	flex: 1;
}

.stg-blog-featured__title {
	font-family: 'Manrope', sans-serif;
	font-weight: 700;
	font-size: 22px;
	line-height: 1.35;
	margin: 0;
}

.stg-blog-featured__title a {
	color: #FFFFFF;
	text-decoration: none;
	transition: color 0.25s ease;
}

.stg-blog-featured__title a:hover {
	color: #DBDBDB;
}

.stg-blog-featured__excerpt {
	font-family: 'Helvetica', 'Arial', sans-serif;
	font-weight: 400;
	font-size: 14px;
	line-height: 1.65;
	color: #B9B9B9;
	margin: 0;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

/* CTA button */
.stg-blog-featured__cta {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	font-family: 'Helvetica', sans-serif;
	text-transform: uppercase;
	font-weight: 600;
	font-size: 13px;
	color: #FFFFFF;
	background: rgba(255, 255, 255, 0.08);
	border: 1px solid rgba(255, 255, 255, 0.12);
	padding: 12px 28px;
	text-decoration: none;
	transition: background-color 0.3s ease, border-color 0.3s ease;
	margin-top: auto;
	align-self: flex-start;
}

.stg-blog-featured__cta:hover {
	background: rgba(255, 255, 255, 0.14);
	border-color: rgba(255, 255, 255, 0.2);
}

/* ------------------------------------------------
   Responsive — Tablet
   ------------------------------------------------ */

@media (max-width: 1024px) {
	.stg-blog-featured__image {
		height: 220px;
	}

	.stg-blog-featured__title {
		font-size: 20px;
	}

	.stg-blog-card {
		padding: 24px;
	}
}

/* ------------------------------------------------
   Responsive — Mobile (stack)
   ------------------------------------------------ */

@media (max-width: 767px) {
	.stg-blog-home__inner {
		grid-template-columns: 1fr;
		gap: 20px;
	}

	/* Featured first on mobile */
	.stg-blog-home__featured {
		order: -1;
	}

	.stg-blog-featured__image {
		height: 200px;
	}

	.stg-blog-featured__content {
		padding: 24px 20px 24px;
	}

	.stg-blog-featured__title {
		font-size: 19px;
	}

	.stg-blog-card {
		padding: 22px 20px 20px;
	}

	.stg-blog-card__title {
		font-size: 16px;
	}
}
