/* Search */
.home-search {
	border-top: 1px #c2c8d2 solid;
	padding: 3em;
	background: #e9eaee;
	margin-bottom: 40px;
}

.home-search form {
	display: flex;
	gap: 10px;
	justify-content: center;
}

.home-search input {
	padding: 16px 21px;
	border: 1px solid #ccc;
	border-radius: 25px;
	font-size: 15px;
	width: 360px;
	outline: none;
}

.home-search input:focus {
	border-color: #999;
}

.home-search button {
	background: #ffcf00;
	border: none;
	padding: 10px 22px;
	border-radius: 25px;
	font-size: 15px;
	font-weight: 700;
	cursor: pointer;
	color: #000;
}

.home-search button:hover {
	background: #e6ba00;
}

/* Section */
.home-section {
	margin-bottom: 50px;
}

.home-section-header {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	border-bottom: 3px solid #ffcf00;
	padding-bottom: 10px;
	margin-bottom: 20px;
}

.home-section-header h2 {
	font-size: 22px;
	font-weight: 800;
	text-transform: uppercase;
	letter-spacing: 0.5px;
	margin: 0;
}

.home-section-header h2 a {
	color: #000;
	text-decoration: none;
}

.home-section-header h2 a:hover {
	color: #333;
}

.see-all {
	font-size: 13px;
	font-weight: 600;
	color: #666;
	text-decoration: none;
	white-space: nowrap;
}

.see-all:hover {
	color: #000;
}

/* Grid: big left, stack right */
.home-section-grid {
	display: grid;
	grid-template-columns: 1fr 340px;
	gap: 20px;
}

/* Featured big card */
.home-card--featured {
	background: #fff;
	border-radius: 8px;
	box-shadow: 0 2px 8px rgba(0,0,0,0.08);
	text-decoration: none;
	color: inherit;
	display: flex;
	flex-direction: column;
	transition: box-shadow 0.2s;
}

.home-card--featured:hover {
	box-shadow: 0 4px 16px rgba(0,0,0,0.14);
}

.home-card--featured .home-card-body {
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 12px;
}

.home-card--featured h3 {
	font-size: 22px;
	font-weight: 800;
	line-height: 1.3;
	color: #111;
	margin: 0;
}

.home-card--featured p {
	font-size: 15px;
	color: #555;
	line-height: 1.6;
	margin: 0;
}

.home-card--featured:hover h3 {
	color: #333;
}

/* Small cards stack */
.home-card-stack {
	display: flex;
	flex-direction: column;
	gap: 0;
}

.home-card-stack .sidebar-item {
	display: flex;
	gap: 15px;
	padding: 15px 0;
	border-bottom: 1px solid #eee;
	text-decoration: none;
}

.home-card-stack .sidebar-item:last-child {
	border-bottom: none;
}

.home-card-stack .sidebar-item img {
	width: 120px;
	height: 80px;
	object-fit: cover;
	border-radius: 4px;
	flex-shrink: 0;
}

.home-card-stack .sidebar-content {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.home-card-stack .sidebar-source {
	font-size: 12px;
	color: #666;
}

.home-card-stack .sidebar-content h3 {
	font-size: 15px;
	font-weight: 600;
	line-height: 1.3;
	margin: 0;
}

.home-card-stack .sidebar-content h3 a {
	color: #000;
	text-decoration: none;
}

.home-card-stack .sidebar-content h3 a:hover {
	color: #333;
}

.home-card-meta {
	font-size: 11px;
	color: #999;
	font-weight: 600;
	text-transform: uppercase;
	letter-spacing: 0.4px;
}

@media (max-width: 768px) {
	.home-section-grid {
		grid-template-columns: 1fr;
	}

	.home-search input {
		width: 100%;
	}

	.home-search form {
		flex-direction: column;
	}
}

.see-all-trending {
	text-align: right;
	margin: 20px 0 40px;
}

.see-all-btn {
	display: inline-block;
	background: #fff;
	color: #0753B1;
	font-size: 16px;
	font-weight: 700;
	padding: 14px 32px;
	border-radius: 50px;
	border: 2px solid #0753B1;
	text-decoration: none;
	transition: background 0.2s;
}

.see-all-btn:hover {
	background: #f0f4ff;
}