.gjr-search {
	--gjr-blue: #e8449a;
	--gjr-green: #ff66b4;
	--gjr-border: #e2e4e8;
	--gjr-text-muted: #646970;
	max-width: 100%;
	font-size: 15px;
	line-height: 1.5;
}

.gjr-search * {
	box-sizing: border-box;
}

.gjr-search-form {
	background: #fff;
	border: 1px solid var(--gjr-border);
	border-radius: 8px;
	padding: 16px;
	margin-bottom: 20px;
}

.gjr-search-row {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	margin-bottom: 12px;
}

.gjr-search-field {
	flex: 1 1 220px;
	min-width: 0;
}

.gjr-search-field label {
	display: block;
	font-size: 0.8em;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	color: var(--gjr-text-muted);
	margin-bottom: 4px;
}

.gjr-search-field input[type="text"] {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid var(--gjr-border);
	border-radius: 5px;
	font-size: 1em;
}

.gjr-search-submit {
	flex: 0 0 auto;
	align-self: flex-end;
	background: var(--gjr-green);
	color: #fff;
	border: none;
	padding: 12px 26px;
	border-radius: 5px;
	font-weight: 700;
	font-size: 1em;
	cursor: pointer;
	height: 44px;
}

.gjr-search-submit:hover {
	background: var(--gjr-blue);
}

.gjr-filter-row {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
}

.gjr-filter select {
	padding: 8px 10px;
	border: 1px solid var(--gjr-border);
	border-radius: 5px;
	background: #fff;
	font-size: 0.9em;
	max-width: 100%;
}

.gjr-results-header p {
	margin: 0 0 14px;
	color: var(--gjr-text-muted);
	font-size: 0.95em;
}

.gjr-results-header strong {
	color: #1d2327;
}

.gjr-results-list {
	display: flex;
	flex-direction: column;
	gap: 14px;
}

.gjr-result-card {
	position: relative;
	display: flex;
	justify-content: space-between;
	gap: 16px;
	background: #fff;
	border: 1px solid var(--gjr-border);
	border-radius: 8px;
	padding: 20px;
}

.gjr-result-card.is-featured {
	border-color: #f5b400;
	background: #fffdf5;
}

.gjr-result-main {
	flex: 1 1 auto;
	min-width: 0;
}

.gjr-result-title {
	margin: 0 0 4px;
	font-size: 1.15em;
}

.gjr-result-title a {
	color: var(--gjr-blue);
	text-decoration: none;
}

.gjr-result-title a:hover {
	text-decoration: underline;
}

.gjr-result-byline {
	margin: 0 0 10px;
	font-size: 0.88em;
	color: var(--gjr-text-muted);
}

.gjr-posted {
	color: var(--gjr-green);
	font-weight: 600;
}

.gjr-company-name {
	color: var(--gjr-blue);
	font-weight: 600;
}

.gjr-result-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 10px;
	font-size: 0.88em;
	color: #3c434a;
}

.gjr-meta-item {
	display: inline-flex;
	align-items: center;
	gap: 4px;
}

.gjr-featured-badge {
	display: inline-block;
	background: #f5b400;
	color: #1d2327;
	font-size: 0.75em;
	font-weight: 700;
	padding: 3px 10px;
	border-radius: 3px;
	margin-bottom: 10px;
	text-transform: uppercase;
}

.gjr-result-excerpt {
	color: #3c434a;
	font-size: 0.94em;
	margin-bottom: 14px;
}

.gjr-result-excerpt p {
	margin: 0;
}

.gjr-result-apply {
	display: inline-flex;
	align-items: center;
	gap: 6px;
	background: var(--gjr-green);
	color: #fff !important;
	text-decoration: none;
	font-weight: 700;
	padding: 10px 18px;
	border-radius: 5px;
	font-size: 0.92em;
}

.gjr-result-apply:hover {
	background: var(--gjr-blue);
}

.gjr-result-logo {
	flex: 0 0 auto;
	width: 90px;
	height: 60px;
	border: 1px solid var(--gjr-border);
	border-radius: 6px;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}

.gjr-result-logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
}

.gjr-pagination {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	justify-content: center;
	margin-top: 24px;
}

.gjr-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 38px;
	height: 38px;
	padding: 0 10px;
	border: 1px solid var(--gjr-border);
	border-radius: 5px;
	text-decoration: none;
	color: #1d2327;
	font-size: 0.9em;
}

.gjr-pagination .page-numbers.current {
	background: var(--gjr-green);
	border-color: var(--gjr-green);
	color: #fff;
}

.gjr-pagination .page-numbers.dots {
	border: none;
}

@media ( max-width: 700px ) {
	.gjr-search-row {
		flex-direction: column;
	}

	.gjr-search-submit {
		width: 100%;
	}

	.gjr-result-card {
		flex-direction: column-reverse;
	}

	.gjr-result-logo {
		width: 70px;
		height: 50px;
	}
}
