/**
 * Branch Archive Styles
 *
 * Styles for the branch archive template displaying seeds by branch.
 * Matches the /tech page design system for consistency.
 *
 * @package Cherry_Tree
 * @since   1.3.0
 */

.cherry-branch-archive-page {
	max-width: 1200px;
	margin: 0 auto;
	padding: 100px 2rem 3rem;
}

.branch-breadcrumb {
	font-size: 0.9375rem;
	color: #64748b;
	margin-bottom: 0.75rem;
}

.branch-breadcrumb a {
	color: #6366f1;
	text-decoration: none;
	transition: color 0.2s ease;
}

.branch-breadcrumb a:hover {
	color: #4f46e5;
	text-decoration: underline;
}

.branch-breadcrumb .separator {
	margin: 0 0.5rem;
	color: #cbd5e1;
}

.branch-breadcrumb .current {
	color: #1b1f3c;
}

.branch-header {
	margin-bottom: 2.5rem;
	padding-bottom: 1.5rem;
	border-bottom: 1px solid #e2e8f0;
}

.branch-header h1 {
	font-family: PosteramaTextW15, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 2.25rem;
	margin: 0 0 0.5rem;
	color: #1b1f3c;
}

.branch-description {
	font-size: 1.0625rem;
	color: #64748b;
	margin: 0 0 0.75rem;
	max-width: 700px;
	line-height: 1.7;
}

.branch-stats {
	color: #94a3b8;
	font-size: 0.875rem;
}

.seeds-list {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 1.5rem;
}

.seed-card {
	background: #fff;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
	padding: 1.5rem;
	transition: all 0.3s ease;
}

.seed-card:hover {
	border-color: #6366f1;
	transform: translateY(-2px);
	box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.seed-question {
	font-family: PosteramaTextW15, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 1.2rem;
	margin: 0 0 0.75rem;
	line-height: 1.4;
}

.seed-question a {
	color: #1b1f3c;
	text-decoration: none;
	transition: color 0.2s ease;
}

.seed-question a:hover {
	color: #6366f1;
}

.seed-excerpt {
	color: #64748b;
	margin: 0 0 0.75rem;
	line-height: 1.7;
	font-size: 1.0625rem;
}

.seed-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
}

.keyword-tag {
	background: #f1f5f9;
	color: #64748b;
	padding: 0.25rem 0.75rem;
	border-radius: 6px;
	font-size: 0.8125rem;
}

.no-seeds {
	text-align: center;
	padding: 3rem 2rem;
	color: #64748b;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	border-radius: 8px;
}

.branch-footer {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid #e2e8f0;
}

.back-link {
	display: inline-block;
	color: #6366f1;
	text-decoration: none;
	font-size: 1rem;
	margin-bottom: 1.5rem;
	transition: color 0.2s ease;
}

.back-link:hover {
	color: #4f46e5;
	text-decoration: underline;
}

.api-access {
	text-align: center;
}

.api-access h3 {
	font-size: 0.75rem;
	color: #94a3b8;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.api-access code {
	display: inline-block;
	background: #f8fafc;
	border: 1px solid #e2e8f0;
	padding: 0.5rem 1rem;
	border-radius: 4px;
	font-size: 0.875rem;
	color: #1b1f3c;
	word-break: break-all;
}

.sr-only {
	position: absolute;
	width: 1px;
	height: 1px;
	padding: 0;
	margin: -1px;
	overflow: hidden;
	clip: rect(0, 0, 0, 0);
	white-space: nowrap;
	border: 0;
}

@media (max-width: 900px) {
	.seeds-list {
		grid-template-columns: repeat(2, 1fr);
	}
}

@media (max-width: 600px) {
	.cherry-branch-archive-page {
		padding: 80px 1rem 2rem;
	}

	.branch-header h1 {
		font-size: 1.5rem;
	}

	.seeds-list {
		grid-template-columns: 1fr;
	}

	.seed-question {
		font-size: 1.1rem;
	}
}
