/* =====================================================
   SF Topic Results Widget – Frontend Styles
   ===================================================== */

.sf-tr-widget {
	width: 100%;
	box-sizing: border-box;
}

/* Header banner */
.sf-tr-header {
	background-color: #1a56db;
	padding: 20px 30px;
	width: 100%;
	box-sizing: border-box;
}

.sf-tr-header h1 {
	margin: 0;
	color: #fff;
	font-size: 28px;
	font-weight: 700;
	line-height: 1.2;
}

/* Results area */
.sf-tr-results-area {
	padding: 30px;
	box-sizing: border-box;
}

.sf-tr-results-heading {
	font-size: 32px;
	font-weight: 700;
	color: #1a56db;
	margin: 0 0 12px 0;
}

.sf-tr-summary {
	font-size: 14px;
	color: #444;
	margin: 0 0 24px 0;
	font-style: italic;
}

.sf-tr-summary strong {
	font-style: normal;
}

/* Ordered list */
.sf-tr-list {
	margin: 0;
	padding-left: 24px;
}

.sf-tr-item {
	margin-bottom: 8px;
}

.sf-tr-item a {
	color: #1a56db;
	text-decoration: underline;
	font-size: 14px;
	transition: color 0.2s ease;
}

.sf-tr-item a:hover {
	color: #1045b5;
}

.sf-tr-no-results {
	font-size: 14px;
	color: #666;
	font-style: italic;
}

/* Search Again */
.sf-tr-search-again {
	padding: 30px;
	border-top: 1px solid #eee;
	box-sizing: border-box;
}

.sf-tr-again-heading {
	font-size: 28px;
	font-weight: 700;
	color: #333;
	margin: 0 0 20px 0;
}

/* Reuse the finder form styles in the results context */
.sf-tr-again-form .sf-tf-row {
	flex-wrap: wrap;
	gap: 12px;
}

.sf-tr-again-form .sf-tf-label {
	font-weight: 600;
	font-size: 13px;
}

@media (max-width: 600px) {
	.sf-tr-results-area,
	.sf-tr-search-again {
		padding: 20px;
	}
}
