#sc-homepage {
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 20px;
}

.sc-hero {
	text-align: center;
	padding: 60px 20px 40px;
}

.sc-hero-inner {
	max-width: 720px;
	margin: 0 auto;
}

.sc-hero h1 {
	font-size: 2.2rem;
	line-height: 1.25;
	margin-bottom: 12px;
}

.sc-hero-sub {
	font-size: 1.05rem;
	color: #555;
	margin-bottom: 28px;
}

.sc-search {
	position: relative;
	max-width: 560px;
	margin: 0 auto 16px;
}

#sc-search-input {
	width: 100%;
	padding: 14px 18px;
	font-size: 1rem;
	border: 2px solid #ddd;
	border-radius: 8px;
	box-sizing: border-box;
}

#sc-search-input:focus {
	outline: none;
	border-color: #1a7a4a;
}

.sc-search-results {
	position: absolute;
	top: calc(100% + 6px);
	left: 0;
	right: 0;
	background: #fff;
	border: 1px solid #e0e0e0;
	border-radius: 8px;
	box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
	max-height: 400px;
	overflow-y: auto;
	z-index: 50;
	text-align: left;
}

.sc-result-item {
	display: flex;
	align-items: center;
	gap: 12px;
	padding: 10px 14px;
	text-decoration: none;
	color: #222;
	border-bottom: 1px solid #f0f0f0;
}

.sc-result-item:last-child {
	border-bottom: none;
}

.sc-result-item:hover {
	background: #f7f7f7;
}

.sc-result-item img {
	width: 40px;
	height: 40px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}

.sc-result-title {
	font-size: 0.95rem;
}

.sc-no-results {
	padding: 14px;
	color: #777;
	font-size: 0.9rem;
}

.sc-filter-chips {
	display: flex;
	justify-content: center;
	gap: 10px;
	flex-wrap: wrap;
}

.sc-filter-chips button {
	padding: 8px 16px;
	border: 1px solid #ccc;
	border-radius: 20px;
	background: #fff;
	font-size: 0.9rem;
	cursor: pointer;
}

.sc-filter-chips button.active {
	background: #1a7a4a;
	border-color: #1a7a4a;
	color: #fff;
}

.sc-trust-bar {
	display: flex;
	justify-content: center;
	gap: 28px;
	flex-wrap: wrap;
	padding: 16px 0 40px;
	font-size: 0.9rem;
	color: #666;
	border-bottom: 1px solid #eee;
}

.sc-hubs {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
	padding: 40px 0;
}

.sc-hub-card {
	display: block;
	padding: 24px;
	border: 1px solid #e5e5e5;
	border-radius: 12px;
	text-decoration: none;
	color: #222;
	transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.sc-hub-card:hover {
	box-shadow: 0 6px 20px rgba(0, 0, 0, 0.06);
	border-color: #1a7a4a;
}

.sc-hub-card h2 {
	font-size: 1.15rem;
	margin: 0 0 8px;
}

.sc-hub-card p {
	font-size: 0.9rem;
	color: #666;
	margin: 0 0 12px;
}

.sc-hub-count {
	font-size: 0.8rem;
	color: #1a7a4a;
	font-weight: 600;
}

.sc-latest {
	padding: 30px 0;
	border-top: 1px solid #eee;
}

.sc-latest-head {
	display: flex;
	justify-content: space-between;
	align-items: center;
	margin-bottom: 18px;
}

.sc-latest-head h2 {
	font-size: 1.6rem;
	font-weight: 800;
	margin: 0;
}

.sc-latest-head a {
	font-size: 0.9rem;
	color: #1a7a4a;
	text-decoration: none;
}

.sc-latest-grid {
	display: grid;
	grid-template-columns: repeat(4, 1fr);
	gap: 16px;
}

.sc-post-card {
	display: block;
	text-decoration: none;
	color: #222;
}

.sc-post-thumb {
	border-radius: 8px;
	overflow: hidden;
	margin-bottom: 10px;
	aspect-ratio: 16 / 10;
}

.sc-post-thumb img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.sc-post-card h3 {
	font-size: 0.95rem;
	line-height: 1.4;
	margin: 0;
}

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

@media (max-width: 560px) {
	.sc-hero h1 {
		font-size: 1.6rem;
	}

	.sc-hubs,
	.sc-latest-grid {
		grid-template-columns: 1fr;
	}
}

/* Override any global button text-hiding styles */
.sc-filter-chips button {
	color: #1a7a4a !important;
	font-weight: 700 !important;
	font-size: 1rem !important;
	text-indent: 0 !important;
	line-height: normal !important;
	overflow: visible !important;
	white-space: nowrap;
}

.sc-filter-chips button.active {
	color: #fff !important;
}