.scholarship-filter-form {
	margin: 0 0 30px;
}

.scholarship-filter-form .filter-by {
	font-weight: 600;
	margin-bottom: 5px;
}

#scholarship-filter {
	display: flex;
	flex-wrap: wrap;
	gap: 10px;
	justify-content: flex-start;
}

#scholarship-filter .dropdown-container,
#scholarship-filter #reset-button {
	flex: 0 1 auto;
	max-width: 250px;
	font-weight: 600;
	text-transform: uppercase;
}

.scholarship-filter-form .dropdown-container {
	position: relative;
	display: inline-block;
	width: 100%;
	height: 2.5em;
}

.scholarship-filter-form select {
	appearance: none;
	width: 100%;
	height: 100%;
	box-sizing: border-box;
	padding-left: 10px;
	padding-right: 2.5em;
	border: 1px solid var(--wp--preset--color--charcoal-30, #ccc);
	border-radius: 4px;
	background-color: var(--wp--preset--color--white, #fff);
	color: var(--wp--preset--color--charcoal, #272726);
	cursor: pointer;
	font-size: 1rem;
	line-height: normal;
}

.scholarship-filter-form .dropdown-container::after {
	content: "";
	position: absolute;
	right: 1em;
	top: 50%;
	width: 10px;
	height: 10px;
	transform: translateY(-50%);
	pointer-events: none;
	background: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><polygon points="0,0 20,0 10,10" fill="%23666"/></svg>') no-repeat center center;
	background-size: contain;
}

.scholarship-filter-form .dropdown-container.no-arrow::after {
	background: none;
}

.scholarship-filter-form .dropdown-container.in-use select {
	background-color: var(--wp--preset--color--charcoal-10, #eaeaea);
}

.scholarship-filter-form .clear-button {
	position: absolute;
	right: 0.5em;
	top: 45%;
	display: none;
	transform: translateY(-50%);
	border: none;
	background: transparent;
	color: var(--wp--preset--color--charcoal-70, #666);
	cursor: pointer;
	font-size: 1.2em;
	line-height: 1;
}

.scholarship-filter-form .clear-button:hover {
	color: var(--wp--preset--color--black, #000);
}

.scholarship-filter-form #reset-button {
	border: none;
	background: none;
	color: var(--wp--preset--color--charcoal, #272726);
	cursor: pointer;
}

.scholarship-filter-form #results-message {
	width: 100%;
}

.scholarship-filter-form #results-text {
	font-weight: 600;
}

.scholarships-holder {
	margin-top: 20px;
}

.scholarship {
	display: flex;
	flex-wrap: nowrap;
	margin-bottom: 20px;
	padding-bottom: 15px;
	border-bottom: 3px dotted var(--wp--preset--color--charcoal-30, #c2c1c2);
}

.scholarship-icon {
	display: flex;
	flex: 0 0 30px;
	align-items: center;
	justify-content: center;
	width: 30px;
	height: 30px;
	margin-right: 15px;
	border: 1px solid var(--wp--preset--color--charcoal, #272726);
	border-radius: 50%;
	color: var(--wp--preset--color--charcoal, #272726);
	font-size: 25px;
	line-height: 1;
}

.scholarship-content {
	display: flex;
	flex: 1 1 auto;
	flex-wrap: wrap;
	min-width: 0;
	margin-left: 10px;
}

.scholarship h4 {
	margin: 5px 10px 10px 0;
}

.scholarship-content > h4:first-child {
	flex: 1 1 50%;
	box-sizing: border-box;
}

.scholarship-content > .yoast-description {
	flex: 1 1 100%;
	box-sizing: border-box;
	margin-top: 10px;
}

.none-found {
	margin: 0 0 20px;
	padding: 15px;
	background: var(--wp--preset--color--charcoal-10, #eaeaea);
}

@media screen and (max-width: 768px) {
	#scholarship-filter #reset-button {
		flex: 1 1 100%;
	}
}

@media screen and (max-width: 600px) {
	#scholarship-filter .dropdown-container:nth-child(3) {
		flex: 1 1 100%;
	}

	.scholarship-content > .yoast-description {
		margin: 5px 0 0;
	}
}

@media screen and (max-width: 480px) {
	#scholarship-filter {
		flex-direction: column;
		align-items: stretch;
	}

	#scholarship-filter .dropdown-container,
	#scholarship-filter #reset-button {
		flex: 1 1 100%;
		max-width: none;
	}
}
