/* Government Job Placements — front-end styling */

.gjp-job-search .gjp-search-row {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5em;
	align-items: center;
}

.gjp-job-search input[type="text"],
.gjp-job-search select {
	padding: 0.5em;
	font-size: 1em;
}

.gjp-job-search input[type="text"] {
	flex: 1 1 220px;
}

.gjp-search-button {
	padding: 0.5em 1.25em;
	cursor: pointer;
}

.gjp-search-reset {
	font-size: 0.9em;
}

.gjp-job-results {
	margin-top: 1em;
}

.gjp-job-table-wrap {
	margin-top: 1.5em;
	overflow-x: auto;
}

.gjp-job-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 0.95em;
}

.gjp-job-table th,
.gjp-job-table td {
	text-align: left;
	vertical-align: top;
	padding: 0.7em 1em;
}

.gjp-job-table thead th {
	background: #e3e7eb;
	color: #1d2327;
	font-weight: 600;
	white-space: nowrap;
}

.gjp-job-table thead th a {
	color: inherit;
	text-decoration: none;
}

.gjp-job-table thead th.gjp-sortable a:hover {
	text-decoration: underline;
}

.gjp-job-table thead th.gjp-sortable a:after {
	display: inline-block;
	width: 1em;
	margin-left: 0.3em;
	font-size: 0.8em;
	opacity: 0.6;
	content: "\21C5";
}

.gjp-job-table thead th.gjp-sorted-asc a:after {
	opacity: 1;
	content: "\25B2";
}

.gjp-job-table thead th.gjp-sorted-desc a:after {
	opacity: 1;
	content: "\25BC";
}

.gjp-job-table tbody tr:nth-child(odd) {
	background: #fff;
}

.gjp-job-table tbody tr:nth-child(even) {
	background: #f3f3f3;
}

.gjp-job-table tbody tr:hover {
	background: #eaf2f8;
}

.gjp-job-table td {
	border-bottom: 1px solid #e0e0e0;
}

.gjp-job-title-cell a {
	font-weight: 600;
	text-decoration: none;
}

.gjp-job-title-cell a:hover {
	text-decoration: underline;
}

.gjp-no-results {
	margin-top: 1.5em;
}

.gjp-job-pagination ul {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.3em;
	list-style: none;
	margin: 1.5em 0 0;
	padding: 0;
}

/* The theme's content styles put bullets back on plain <li>s (list-style on the
   <ul> alone doesn't beat their more specific selector), so target the <li>
   itself to actually remove the dots. */
.gjp-job-pagination ul li {
	list-style: none;
}

.gjp-job-pagination a,
.gjp-job-pagination .gjp-page-current,
.gjp-job-pagination .gjp-page-disabled {
	display: inline-block;
	min-width: 1.4em;
	text-align: center;
	padding: 0.4em 0.7em;
	border: 1px solid #999;
	border-radius: 3px;
	text-decoration: none;
}

.gjp-job-pagination .gjp-page-current {
	background: #3a3a3a;
	color: #fff;
	border-color: #3a3a3a;
	font-weight: bold;
}

.gjp-job-pagination .gjp-page-disabled {
	color: #bbb;
	border-color: #eee;
}

.gjp-job-pagination .gjp-page-ellipsis {
	display: inline-block;
	padding: 0.4em 0.2em;
	color: #888;
}

.gjp-job-pagination .gjp-page-prev,
.gjp-job-pagination .gjp-page-next {
	font-weight: 600;
}

/* The "Previous"/"Next" wording collapses to just the arrow on narrow screens
   so the compact pagination never has to wrap mid-control. */
@media ( max-width: 480px ) {
	.gjp-job-pagination .gjp-page-nav-label {
		display: none;
	}
}

.gjp-view-all {
	margin-top: 1.5em;
}

/* Single job view */

.gjp-job-details {
	margin-top: 2em;
}

.gjp-job-summary {
	border-collapse: collapse;
	margin-bottom: 1.5em;
}

.gjp-job-summary th,
.gjp-job-summary td {
	text-align: left;
	vertical-align: top;
	padding: 0.5em 1em 0.5em 0;
	border-bottom: 1px solid #eee;
}

.gjp-job-summary th {
	width: 220px;
	white-space: nowrap;
}

.gjp-job-section {
	margin-bottom: 1.5em;
}

.gjp-job-section h3 {
	margin-bottom: 0.4em;
}

.gjp-downloads-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.gjp-downloads-item {
	margin-bottom: 0.5em;
}

.gjp-downloads-item a {
	display: inline-flex;
	align-items: baseline;
	gap: 0.6em;
	padding: 0.5em 0.9em;
	border: 1px solid #ddd;
	border-radius: 3px;
	text-decoration: none;
}

.gjp-downloads-item a:before {
	content: "\2913";
	margin-right: 0.1em;
}

.gjp-downloads-meta {
	font-size: 0.85em;
	color: #666;
}

/* [gov_term_index] — entity / location index lists */

.gjp-term-filter-row {
	margin: 0 0 1em;
}

.gjp-term-filter {
	width: 100%;
	max-width: 360px;
	padding: 0.5em;
	font-size: 1em;
	box-sizing: border-box;
}

.gjp-term-list,
.gjp-term-children {
	list-style: none !important;
	margin: 0;
	padding: 0;
}

.gjp-term-list > li {
	padding: 0.4em 0.6em;
	border-bottom: 1px solid #eee;
}

.gjp-term-list > li:nth-child(odd) {
	background: #f7f7f7;
}

.gjp-term-children {
	margin: 0.4em 0 0.2em 1.5em;
}

.gjp-term-children > li {
	padding: 0.2em 0;
}

.gjp-term-no-results {
	font-style: italic;
	color: #666;
}

/* [gov_term_index columns="2"] — two-column layout (e.g. front page) */

.gjp-term-index-cols-2 .gjp-term-list {
	columns: 2;
	column-gap: 2em;
}

.gjp-term-index-cols-2 .gjp-term-list > li {
	break-inside: avoid;
}
