.job-listings-container {
	display: -webkit-flex;
	display: flex;
	-webkit-flex-wrap: wrap;
	flex-wrap: wrap;
	gap: 20px;
	padding: 20px;
	background-color: #f9f9f9;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.job-listing {
	-webkit-flex: 1 1 calc(33.333% - 20px);
	flex: 1 1 calc(33.333% - 20px);
	background-color: #fff;
	padding: 15px;
	border: 1px solid #e0e0e0;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	display: -webkit-flex;
	display: flex;
	-webkit-flex-direction: column;
	flex-direction: column;
	-webkit-justify-content: space-between;
	justify-content: space-between;
	overflow: hidden;
	-webkit-transition: -webkit-transform 0.2s, -webkit-box-shadow 0.2s;
	transition: transform 0.2s, box-shadow 0.2s;
	line-height: 1;
}

.job-listing:hover {
	-webkit-transform: translateY(-5px);
	transform: translateY(-5px);
	-webkit-box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.job-listing__title {
	font-size: 18px;
	font-weight: 700;
	color: #333;
	margin: 10px 0 !important;
	line-height: 1.3;
}

.job-listing__description {
	font-size: 15px;
	color: #555;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 6;
	-webkit-box-orient: vertical;
	overflow: hidden;
	text-overflow: ellipsis;
	line-height: 1.3;
}

.job-listing__date {
	font-size: 13px;
	color: #999;
	text-align: right;
	margin-top: auto;
	font-weight: 400;
	line-height: 1;
}

.no-jobs-message {
	font-size: 16px;
	text-align: center;
	color: #666;
	padding: 20px;
	background-color: #f2f2f2;
	-webkit-border-radius: 8px;
	border-radius: 8px;
	border: 1px solid #ddd;
}

.job-listing__button {
	display: -webkit-inline-flex;
	display: inline-flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	padding: 0 10px;
	line-height: 35px;
	font-size: 13px;
	font-weight: 400;
	color: #fff;
	background-color: #d33;
	border: none;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	cursor: pointer;
	-webkit-transition: background-color 0.3s, -webkit-transform 0.2s;
	transition: background-color 0.3s, transform 0.2s;
	text-transform: uppercase;
	-webkit-box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
	box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.job-listing__button:hover {
	background-color: #cc2e2e;
	-webkit-transform: translateY(-2px);
	transform: translateY(-2px);
}

.job-listing__button:active {
	-webkit-transform: translateY(0);
	transform: translateY(0);
	background-color: #bb2929;
}

.job-listing__button-text {
	margin-right: 10px;
}

.job-listing__button-icon {
	font-size: 16px;
	-webkit-transition: -webkit-transform 0.2s;
	transition: transform 0.2s;
	-webkit-transform: translateX(5px);
	transform: translateX(5px);
}

.modal {
	display: none;
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0, 0, 0, 0.5);
	z-index: 1000;
	overflow: hidden;
	-webkit-transition: opacity 0.3s;
	transition: opacity 0.3s;
}

.modal.show {
	display: block;
	opacity: 1;
}

.modal__content {
	position: absolute;
	top: 50%;
	left: 50%;
	-webkit-transform: translate(-50%, -50%);
	transform: translate(-50%, -50%);
	background: #fff;
	padding: 30px;
	width: 67%;
	max-height: 80vh;
	-webkit-box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
	overflow-y: auto;
	-webkit-clip-path: inset(0 round 12px);
	clip-path: inset(0 round 12px);
	line-height: 1;
}

.modal__close-btn {
	position: sticky;
	top: 0;
	font-size: 20px;
	font-weight: 700;
	color: #555;
	background: 0;
	border: none;
	cursor: pointer;
	-webkit-transition: color 0.2s;
	transition: color 0.2s;
	float: right;
	line-height: 0;
}

.modal__close-btn:hover {
	color: #000;
}

.modal__content .modal__title {
	margin: 0 15px 20px !important;
	font-size: 27px;
	font-weight: 700;
	color: #333;
	text-align: center;
}

.modal__description {
	font-size: 17px;
	line-height: 1.6;
	color: #666;
	margin: 20px 0 20px;
	display: flex;
	justify-content: center;
}

#modal__job-content {
	width: 90%;
	display: inline-block;
}

#modal__job-content ol,
#modal__job-content ul {
	margin: 16px 0;
	padding-left: 40px;
	list-style: auto;
}

#modal__job-content li {
	padding: 0;
	margin: 0;
	font-size: 17px;
	color: #666;
}

#modal__job-content p {
	font-size: 17px;
	line-height: 1.3;
	margin: 0;
	color: #666;
}

.search-container {
	margin-bottom: 20px;
	text-align: center;
}

#search-input {
	width: 50%;
	max-width: 500px;
	min-width: 200px;
	padding: 12px 15px;
	font-size: 16px;
	border: 1px solid #ccc;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	outline: 0;
	-webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	-webkit-transition: 0.3s ease-in-out;
	transition: 0.3s ease-in-out;
}

#search-input:hover {
	border-color: #d33;
}

#search-input:focus {
	border-color: #bb2929;
	-webkit-box-shadow: 0 3px 6px rgba(0, 91, 187, 0.3);
	box-shadow: 0 3px 6px rgba(0, 91, 187, 0.3);
}

.modal__address-container,
.modal__website-container {
	margin-top: 5px;
	font-size: 17px;
	color: #333;
	padding-left: 5%;
	display: none;
	line-height: 1.3;
}

.modal__category-value {
	text-transform: lowercase;
	font-weight: 400;
	color: #dd3333;
}

.job-listing__region-container {
	margin-bottom: 5px;
}

.job-listing__region-container,
.job-listing__category-container {
	font-size: 13px;
	line-height: 1.3;
	font-weight: 400;
}

.job-listing__category-value,
.job-listing__region-value {
	color: #d33;
}

.pagination {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	gap: 8px;
	margin: 20px 0;
	overflow: hidden;
	flex-wrap: wrap;
}

.page-btn {
	padding: 10px 15px;
	font-size: 16px;
	border: 1px solid #ddd;
	-webkit-border-radius: 4px;
	border-radius: 4px;
	background-color: #f9f9f9;
	color: #d33;
	cursor: pointer;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}

.page-btn:hover {
	background-color: #d33;
	color: #fff;
}

.page-btn:disabled {
	background-color: #ccc;
	color: #777;
	cursor: not-allowed;
}

.page-btn.active {
	background-color: #bb2929;
	color: #fff;
	border-color: #bb2929;
}

.page-numbers {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	-webkit-align-items: center;
	align-items: center;
	gap: 5px;
	flex-wrap: nowrap;
}

.modal__address-label,
.modal__category-label,
.modal__date-label,
.modal__website-label {
	font-weight: 700;
	margin-right: 5px;
}

.modal__address-value,
.modal__button {
	font-weight: 400;
}

.modal__website-link {
	color: #d33;
	text-decoration: none;
	font-weight: 400;
}

.modal__website-link:hover {
	text-decoration: underline;
}

.modal__button-item {
	display: none;
}

.modal__button-container .modal__button-list {
	margin-bottom: 0;
	list-style: none;
	flex-wrap: wrap;
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	gap: 8px;
}

.modal__button {
	font-size: 14px;
	color: #d33;
	line-height: 39px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	padding: 0 15px;
	background: #dd33331f;
	-webkit-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	display: -webkit-flex;
	display: flex;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
}

.modal__button:hover {
	background: #d33;
	color: #fff;
	text-decoration: none;
	outline: 0;
}

.modal__button:active {
	background: #dd33331f;
	color: #d33;
	text-decoration: none;
	outline: 0;
}

.modal__button svg {
	margin-right: 7px;
	height: 15px;
	fill: #dd3333;
}

.modal__button:hover svg {
	fill: #fff;
}

.modal__button:active svg {
	fill: #dd3333;
}

.modal__button-list .modal__button-item {
	margin-left: 0;
	margin-bottom: 0;
}

.modal__button-container {
	display: -webkit-flex;
	display: flex;
	-webkit-justify-content: center;
	justify-content: center;
	gap: 15px;
	flex-wrap: wrap;
	margin-top: 10px;
}

.modal__apply-title {
	font-size: 20px;
	font-weight: 700;
	color: #444;
	text-align: center;
	text-transform: uppercase;
	margin-bottom: 15px;
	border-bottom: 2px solid #ddd;
	padding-bottom: 5px;
}

.modal__category-container,
.modal__publication-date {
	text-align: center;
	font-size: 14px;
	color: #333;
	display: -webkit-flex;
	display: flex;
}

.modal__category-container {
	margin: 40px auto 5px;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
	line-height: 1.3;
}

.modal__publication-date {
	margin-bottom: 40px;
	-webkit-align-items: center;
	align-items: center;
	-webkit-justify-content: center;
	justify-content: center;
}

.modal__date-value {
	color: #666;
	font-weight: 400;
}

@media (max-width: 768px) {
	#search-input,
	.job-listing__button-icon,
	.page-btn {
		font-size: 14px;
	}

	.job-listing {
		-webkit-flex: 1 1 calc(50% - 20px);
		flex: 1 1 calc(50% - 20px);
	}

	.job-listing__button-text {
		margin-right: 8px;
	}

	.modal__content {
		padding: 20px;
		width: 67%;
	}

	.modal__content .modal__title {
		font-size: 25px;
	}

	#search-input {
		width: 70%;
	}

	.pagination {
		gap: 6px;
	}

	.page-btn {
		padding: 8px 12px;
	}

	.modal__button-container .modal__button-list {
		gap: 8px;
		-webkit-justify-content: center;
		justify-content: center;
	}
}

@media (max-width: 540px) {
	.job-listing__button,
	.modal__button,
	.modal__category-container,
	.modal__publication-date {
		font-size: 13px;
	}

	#search-input,
	.modal__description {
		font-size: 14px;
	}

	.job-listing {
		-webkit-flex: 1 1 100%;
		flex: 1 1 100%;
	}

	.job-listing__button-text {
		margin-right: 6px;
	}

	.modal__content {
		padding: 20px;
		width: 90%;
		max-width: 350px;
	}

	.modal__content .modal__title {
		font-size: 21px;
	}

	.modal__address-container,
	#modal__job-content li,
	#modal__job-content p,
	.modal__website-container {
		font-size: 15px;
	}

	.modal__close-btn {
		font-size: 18px;
		top: 0;
		right: 0;
	}

	.search-container {
		-webkit-flex-direction: column;
		flex-direction: column;
		-webkit-align-items: center;
		align-items: center;
		gap: 10px;
	}

	#search-input {
		width: 90%;
		padding: 10px 12px;
	}

	.pagination {
		-webkit-justify-content: center;
		justify-content: center;
		gap: 5px;
	}

	.page-btn {
		padding: 6px 10px;
		font-size: 12px;
		flex-shrink: 1;
	}

	.modal__apply-title {
		font-size: 17px;
		border-bottom: 2px solid #ddd;
		padding-bottom: 5px;
	}

	.modal__button {
		min-width: 190px;
		padding: 0 13px;
		line-height: 37px;
	}
}