/**
 * Single Seed Page Styles
 *
 * @package Cherry_Tree
 * @since   1.3.0
 */

main.cherry-seed-page {
	max-width: 800px !important;
	margin: 0 auto !important;
	padding: 120px 1rem 2rem !important;
	width: 100% !important;
}

main.cherry-seed-page .cherry-seed {
	background: #fff !important;
	border-radius: 8px !important;
	box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1) !important;
	padding: 2rem !important;
}

/* Breadcrumb */
.seed-breadcrumb {
	font-size: 0.875rem;
	color: #666;
	margin-bottom: 1rem;
}

.seed-breadcrumb a {
	color: #0066cc;
	text-decoration: none;
}

.seed-breadcrumb a:hover {
	text-decoration: underline;
}

.seed-breadcrumb .separator {
	margin: 0 0.5rem;
	color: #999;
}

/* Question / Title */
main.cherry-seed-page .seed-question {
	font-size: 2.5rem !important;
	line-height: 1.3 !important;
	margin: 0 0 1.5rem !important;
	color: #1a1a1a !important;
}

/* Keywords */
.seed-keywords {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin-bottom: 1.5rem;
}

.keyword-tag {
	background: #f0f0f0;
	color: #666;
	padding: 0.25rem 0.75rem;
	border-radius: 1rem;
	font-size: 0.75rem;
	text-transform: lowercase;
}

/* Short Answer - Featured */
main.cherry-seed-page .short-answer {
	font-size: 1.5rem !important;
	line-height: 1.7 !important;
	color: #333 !important;
	padding: 2rem !important;
	background: #f0f7ff !important;
	border-left: 4px solid #0066cc !important;
	margin-bottom: 2.5rem !important;
	border-radius: 0 8px 8px 0 !important;
}

.short-answer p {
	margin: 0 0 1rem;
}

.short-answer p:last-child {
	margin-bottom: 0;
}

/* Long Answer */
main.cherry-seed-page .long-answer {
	font-size: 1.25rem !important;
	line-height: 1.8 !important;
	margin-bottom: 2rem !important;
}

main.cherry-seed-page .long-answer h2 {
	font-size: 2rem !important;
	margin: 2.5rem 0 1rem !important;
	color: #1a1a1a !important;
	border-bottom: 2px solid #f0f0f0 !important;
	padding-bottom: 0.5rem !important;
}

main.cherry-seed-page .long-answer h3 {
	font-size: 1.75rem !important;
	margin: 2rem 0 1rem !important;
	color: #1a1a1a !important;
}

main.cherry-seed-page .long-answer h4 {
	font-size: 1.5rem !important;
	margin: 1.5rem 0 0.75rem !important;
	color: #333 !important;
}

main.cherry-seed-page .long-answer p {
	margin: 0 0 1.25rem !important;
	color: #333 !important;
}

.long-answer ul,
.long-answer ol {
	margin: 0 0 1rem;
	padding-left: 1.5rem;
}

.long-answer li {
	margin-bottom: 0.5rem;
	line-height: 1.6;
}

.long-answer strong {
	color: #1a1a1a;
}

.long-answer code {
	background: #f5f5f5;
	padding: 0.125rem 0.375rem;
	border-radius: 3px;
	font-size: 0.9em;
	color: #d63384;
}

.long-answer pre {
	background: #f8f9fa;
	padding: 1rem;
	border-radius: 6px;
	overflow-x: auto;
	margin: 1rem 0;
}

.long-answer pre code {
	background: none;
	padding: 0;
	color: #333;
}

.long-answer blockquote {
	margin: 1rem 0;
	padding: 0.75rem 1rem;
	background: #f8f9fa;
	border-left: 3px solid #ccc;
	color: #555;
	font-style: italic;
}

/* Sections */
.seed-sources,
.related-seeds,
.related-articles {
	margin: 2rem 0;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

.seed-sources h2,
.related-seeds h2,
.related-articles h2 {
	font-size: 1rem;
	color: #666;
	margin-bottom: 0.75rem;
	text-transform: uppercase;
	letter-spacing: 0.05em;
}

.seed-sources ul,
.related-seeds ul,
.related-articles ul {
	list-style: none;
	padding: 0;
	margin: 0;
}

.seed-sources li,
.related-seeds li,
.related-articles li {
	padding: 0.5rem 0;
}

.seed-sources a,
.related-seeds a,
.related-articles a {
	color: #0066cc;
	text-decoration: none;
}

.seed-sources a:hover,
.related-seeds a:hover,
.related-articles a:hover {
	text-decoration: underline;
}

/* Footer */
.seed-footer {
	margin-top: 3rem;
	padding-top: 1.5rem;
	border-top: 1px solid #eee;
}

.api-access,
.citation {
	margin-bottom: 1.5rem;
}

.api-access h3,
.citation h3 {
	font-size: 0.875rem;
	color: #64748b;
	text-transform: uppercase;
	letter-spacing: 0.05em;
	margin-bottom: 0.5rem;
}

.api-access code,
.citation code {
	display: block;
	background: #f8f9fa;
	padding: 0.75rem 1rem;
	border-radius: 4px;
	font-size: 1rem;
	color: #333;
	word-break: break-all;
}

/* Accessibility */
.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;
}

/* Mobile */
@media (max-width: 600px) {
	.cherry-seed {
		padding: 1.5rem;
	}

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

	.short-answer {
		font-size: 1.1rem;
		padding: 1rem;
	}

	.long-answer h2 {
		font-size: 1.25rem;
	}
}
