/**
 * Blog index — ported from ya/src/styles.css (blog-insights-panel, blog-knowledge-panel, cards).
 */
.yb-blog-index .gradient-gold {
	background: linear-gradient(135deg, #e8c878 0%, #c9a868 55%, #a8843a 100%);
}

.yb-blog-card {
	display: flex;
	flex-direction: column;
	height: 100%;
	overflow: hidden;
	border-radius: 1rem;
	border: 1px solid #f3f4f6;
	background: #fff;
	transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.yb-blog-card:hover {
	border-color: rgba(201, 168, 104, 0.4);
	box-shadow: 0 4px 20px rgba(26, 18, 8, 0.08);
}

.yb-blog-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
}

.yb-breadcrumb-bar + .max-w-7xl {
	max-width: 80rem;
}

.blog-insights-panel,
.blog-knowledge-panel {
	position: relative;
	overflow: hidden;
	border: 1px solid rgba(201, 168, 104, 0.18);
	border-radius: 1.5rem;
	background: #fff;
	box-shadow: 0 1px 2px rgba(26, 18, 8, 0.04), 0 12px 40px rgba(26, 18, 8, 0.06);
}

.blog-insights-panel__accent,
.blog-knowledge-panel__accent {
	height: 3px;
	background: linear-gradient(90deg, rgba(201, 168, 104, 0.55), #c9a868, rgba(201, 168, 104, 0.55));
}

.blog-insights-panel__intro {
	padding: 1.125rem 1.25rem 1rem;
	border-bottom: 1px solid rgba(201, 168, 104, 0.12);
	background: linear-gradient(180deg, #fdfbf7 0%, #fff 100%);
	text-align: center;
}

@media (min-width: 768px) {
	.blog-insights-panel__intro {
		padding-inline: 1.75rem;
	}
}

.blog-insights-panel__eyebrow {
	color: #c9a868;
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.2em;
	text-transform: uppercase;
	margin: 0;
}

.blog-insights-panel__subtitle {
	margin: 0.375rem 0 0;
	font-size: 0.875rem;
	line-height: 1.5;
	color: #6b7280;
}

.blog-insights-panel__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

.blog-insights-panel__item {
	display: flex;
	flex-direction: column;
	gap: 0.625rem;
	padding: 1.25rem 1.375rem;
	border-bottom: 1px solid rgba(201, 168, 104, 0.1);
	transition: background-color 0.18s ease;
}

.blog-insights-panel__item:last-child {
	border-bottom: none;
}

.blog-insights-panel__item:hover {
	background: #fdfbf7;
}

.blog-insights-panel__item-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 0.75rem;
}

.blog-insights-panel__step {
	font-size: 0.6875rem;
	font-weight: 700;
	letter-spacing: 0.14em;
	color: rgba(154, 116, 50, 0.85);
}

.blog-insights-panel__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 2.5rem;
	height: 2.5rem;
	border-radius: 9999px;
	background: rgba(201, 168, 104, 0.14);
	color: #c9a868;
	flex-shrink: 0;
}

.blog-insights-panel__title {
	font-size: 1rem;
	font-weight: 700;
	line-height: 1.35;
	color: #1a1208;
	margin: 0;
}

.blog-insights-panel__body {
	flex: 1;
	font-size: 0.8125rem;
	line-height: 1.6;
	color: #6b7280;
	margin: 0;
}

@media (min-width: 640px) and (max-width: 1023px) {
	.blog-insights-panel__grid {
		display: flex;
		overflow-x: auto;
		overscroll-behavior-x: contain;
		scroll-snap-type: x mandatory;
	}
	.blog-insights-panel__item {
		flex: 0 0 min(17.5rem, 78vw);
		scroll-snap-align: start;
		border-bottom: none;
		border-right: 1px solid rgba(201, 168, 104, 0.1);
	}
	.blog-insights-panel__item:last-child {
		border-right: none;
	}
}

@media (min-width: 1024px) {
	.blog-insights-panel__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}
	.blog-insights-panel__item {
		min-height: 100%;
		padding: 1.375rem 1.125rem 1.5rem;
		border-bottom: none;
		border-right: 1px solid rgba(201, 168, 104, 0.1);
	}
	.blog-insights-panel__item:last-child {
		border-right: none;
	}
	.blog-insights-panel__title {
		font-size: 0.9375rem;
	}
}

.blog-knowledge-panel__grid {
	display: grid;
	grid-template-columns: minmax(0, 1fr);
}

@media (min-width: 768px) {
	.blog-knowledge-panel__grid {
		grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
		align-items: stretch;
	}
}

.blog-knowledge-panel__copy {
	background: linear-gradient(180deg, #faf8f4 0%, #fdfcfb 100%);
}

.blog-knowledge-panel__checklist {
	display: flex;
	flex-direction: column;
}

.blog-knowledge-panel__check {
	display: flex;
	gap: 0.875rem;
	align-items: flex-start;
	padding: 0.875rem 1rem;
	border: 1px solid rgba(201, 168, 104, 0.12);
	border-radius: 0.875rem;
	background: #faf8f4;
	transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.blog-knowledge-panel__check:hover {
	border-color: rgba(201, 168, 104, 0.28);
	box-shadow: 0 4px 16px rgba(26, 18, 8, 0.05);
}

.blog-knowledge-panel__check-step {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 1.75rem;
	height: 1.75rem;
	border-radius: 9999px;
	background: rgba(201, 168, 104, 0.14);
	color: #c9a868;
	font-size: 0.625rem;
	font-weight: 700;
	letter-spacing: 0.06em;
	flex-shrink: 0;
}

.yb-blog-index .ybh-home-geo {
	background: #f8f8f8;
}
