@import url('https://fonts.googleapis.com/css2?family=Noto+Sans:ital,wght@0,100..900;1,100..900&display=swap');
@import url('https://fonts.googleapis.com/css2?family=BBH+Sans+Hegarty&display=swap');

.employments_container{
	max-width: 1200px;
	margin: 0 auto;
	padding: 0 10px;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 40px;
	font-family: "Noto Sans", sans-serif;
}

.heading_employments{
	width: 100%;
	height: auto;
	display: flex;
	flex-direction: column;
	align-items: center;
	font-family: "Noto Sans", sans-serif;
	padding-bottom: 50px;
	gap: 10px;
}

.cta_button_blue{
	background-color: var(--blue);
	color: white;
	padding: 20px 10px;
	width: 200px;
	text-align: center;
	border-radius: 5px;
	font-size: 17px;
	transition: 0.2s all;
}

.cta_button_blue:hover{
	background-color: blue;
}

.heading_black{
	color: var(--blue) !important;
	font-weight: bold;
	text-align: center;
	margin-bottom: 10px;
	font-family: "BBH Sans Hegarty", sans-serif;
	letter-spacing: 1px;
}

.employments_card {
	background-color: #ffffff;
	border-radius: 12px;
	box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
	display: flex;
	flex-direction: column;
	overflow: hidden;
	width: 100%;
}

.employments_image {
	width: 100%;
	height: auto;
	flex-shrink: 0;
}

.employments_image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
	border-top-left-radius: 12px;
	border-top-right-radius: 12px;
	aspect-ratio: 1 / 0.5;
}

.employments_content {
	padding: 30px;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	flex-grow: 1;
}

.employments_content h2 {
	font-size: 2em;
	color: #333333;
	margin-top: 0;
	margin-bottom: 15px;
	line-height: 1.2;
	font-family: "BBH Sans Hegarty", sans-serif;
	letter-spacing: 1px;
}

.employments_content p {
	font-size: 1em;
	color: #666666;
	line-height: 1.6;
	margin-bottom: 25px;
	overflow: hidden;
	display: -webkit-box;
	-webkit-box-orient: vertical;
	-webkit-line-clamp: 4;
}


@media screen and (min-width: 768px) {
	.employments_card {
		flex-direction: row;
	}

	.employments_image {
		width: 50%;
		border-top-right-radius: 0;
		border-bottom-left-radius: 12px;
	}

	.employments_image img {
		border-bottom-left-radius: 12px;
		border-top-right-radius: 0;
	}

	.employments_content {
		width: 50%;
		padding: 40px;
	}

	.employments_content h2 {
		font-size: 2.2em;
	}

	.employments_content p {
		font-size: 1.05em;
	}

	.cta_button_red {
		align-self: flex-start;
	}
}

@media screen and (min-width: 1024px) {
	.employments_content h2 {
		font-size: 2.5em;
	}

	.employments_content p {
		font-size: 1.1em;
	}
}

/* Details */
.project_detail {
	width: 100%;
	height: auto;
	padding-top: 20px;
	display: flex;
	flex-direction: column;
	font-family: "Noto Sans", sans-serif;
}

.content {
	width: 100%;
	max-width: 1200px;
	margin: 0 auto;
	margin-top: 5px;
	margin-bottom: 20px;
	height: auto;
	font-size: 18px;
	line-height: 1.2;
}

.back-link {
	display: inline-block;
	margin-bottom: 15px;
	color: var(--blue); 
	text-decoration: none;
	font-size: 1em;
}

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

.project_title {
	width: 100%;
	height: auto;
	margin-bottom: 10px;
	color: var(--blue);
	font-family: "BBH Sans Hegarty", sans-serif;
	line-height: 1.2;
}

.project_description1 {
	width: 100%;
	min-height: 200px;
	font-size: 18px;
	margin-bottom: 20px;
	padding: 5px;
	line-height: 1.4;
}

.img-title{
	width: 100%;
	height: auto;
	font-size: 25px;
	margin-bottom: 10px;
	color: var(--blue);
	font-family: "BBH Sans Hegarty", sans-serif;
	text-align: left;
	letter-spacing: 1px;
}

.project_gallery {
	width: 100%;
	height: auto;
	display: flex;
	overflow: auto;
	overflow-y: hidden;
	gap: 10px;
}

.gallery_item {
	flex: 0 0 auto;
	width: 200px;
	height: 200px;
	cursor: pointer;
}

.gallery_item img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	border-radius: 5px;
}

@media (max-width: 768px) {
	.project_title {
		font-size: 1.2em;
	}

	.project_description1 {
		font-size: 0.9em;
	}

	.gallery_item {
		width: 100px;
		height: 100px;
	}
	
	.back-link {
		font-size: 12px;
		margin-bottom: 7px;
	}
}