@import url("global.css");

.results-section {
	margin-top: 44px;
}

.results-header {
	margin-bottom: 26px;
}

.results-header h2 {
	margin: 0 0 10px;
	font-size: 24px;
	font-weight: 800;
}

.results-header h2 span {
	color: #2563eb;
}

.results-header p {
	margin: 0;
	font-size: 18px;
	color: #64748b;
}

.results-list {
	display: grid;
	gap: 20px;
}

.result-card {
	position: relative;
	display: grid;
	grid-template-columns: 240px 1fr 54px;
	gap: 24px;
	padding: 18px;
	border: 1px solid #e5eaf3;
	border-radius: 18px;
	background: #ffffff;
	box-shadow: 0 8px 20px rgba(15, 23, 42, 0.05);
}

.result-card img {
	width: 240px;
	height: 164px;
	border-radius: 14px;
	object-fit: cover;
}

.result-info h3 {
	margin: 0 0 18px;
	font-size: 22px;
	line-height: 1.35;
}

.result-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 16px;
	margin-bottom: 20px;
	color: #475569;
	font-size: 16px;
}

.result-info strong {
	font-size: 28px;
}

.favorite-button {
	width: 44px;
	height: 44px;
	border: 0;
	background: transparent;
	font-size: 34px;
	cursor: pointer;
}

@media (max-width: 900px) {
	.result-card {
		grid-template-columns: 118px 1fr;
		gap: 13px;
		padding: 12px;
	}

	.result-card img {
		width: 118px;
		height: 96px;
	}

	.result-info h3 {
		display: -webkit-box;
		margin-bottom: 8px;
		overflow: hidden;
		font-size: 15px;
		text-overflow: ellipsis;
		-webkit-line-clamp: 2;
		-webkit-box-orient: vertical;
	}

	.result-meta {
		gap: 8px;
		margin-bottom: 8px;
		font-size: 12px;
	}

	.result-info strong {
		font-size: 18px;
	}

	.favorite-button {
		position: absolute;
		top: 8px;
		right: 8px;
		width: 30px;
		height: 30px;
		font-size: 22px;
	}
}
