/* ~~~~~~~~ */
#workshops,
.workshops-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(330px, 1fr));
	gap: 20px;
}
h2 {
	font-size: 2rem;
	margin-bottom: 13px;
}

.workshops-grid {
	width: 100%;
}


.upcoming-workshops {
	margin-bottom: 30px;
}
.upcoming-workshop-items,
.repeating-workshops {
	margin-bottom: 30px;
	width: 100%;
	display: flex;
	flex-direction: column;
	align-items: center;
}
.upcoming-workshop-items h2,
.repeating-workshops h2 {
	margin-bottom: 20px;
}
.workshops-section {
	gap: 20px;
    width: calc(100% - 40px);
	display: flex;
	flex-direction: column;
	align-items: center;
	margin-bottom: 80px;
	max-width: 1600px;
}
.workshops-section h1 {
	margin-bottom: 20px;
	margin-top: 40px;
	display: flex;
	align-items: center;
	font-size: 50px;
	color: black;
	font-size: clamp(1.8rem, 4vw, 3.2rem);
	font-weight: 700;
	line-height: 1.1;
}


.workshop {
	width: calc(100% - 2px);
	height: calc(100% - 2px);
	display: flex;
	cursor: pointer;
	flex-direction: column;
	border: 1px solid #dddddd;
	border-radius: 18px;
	overflow: hidden;
	transition: border .3s;
}
.workshop:hover {
	border: 1px solid #5b5b5b;
}
.workshop img {
	background-color: lightgray;
	object-fit: cover;
	width: 100%;
	aspect-ratio: 1.7;
	flex-shrink: 0;
}
.workshop-details {
	background-color: white;
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	flex-direction: column;
	gap: 14px;
	height: 50%;
	padding: 18px;
}
.details-section1,
.details-section2 {
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: column;
    gap: 10px;
}
.details-section2 {
	width: 100%;
	padding-top: 10px;
}
.workshop-title {
	font-size: 24px;
	font-weight: 400;
}
.workshop-description {
	color: #5e5e5e;
	line-height: 1.6;
	font-size: 15px;
	margin-bottom: auto;
	text-overflow: ellipsis;
	display: -webkit-box;
	-webkit-line-clamp: 3;
	line-clamp: 3;
	-webkit-box-orient: vertical;
	overflow: hidden;
}
.workshop-readmore {
    color: black;
}
.workshop-date {
	color: #444;
	font-weight: 700;
}
.workshop-price {
	font-weight: 600;
}
.book-button {
	padding: 12px;
	background: var(--header-color);
	font-size: 17px;
	color: white;
	text-decoration: none;
	border-radius: 14px;
	margin-left: auto;
}

@media (max-width: 768px) {
	.workshops-section h1 {
		margin-bottom: 0;
		margin-top: 30px;
	}
	.workshops-intro {
		margin-top: 0;
	}

	.workshop-details {
		padding: 14px;
	}
	.details-section1, .details-section2 {
		gap: 6px;
	}

	h2 {
		font-size: 1.6rem;
	}
}

@media (max-width:500px) {
	#workshops {
		margin-top: 20px;
		margin-bottom: 20px;
	}
	.btn-contact {
		padding: 9px 18px;
		font-size: 1.1rem;
	}
	.workshops-section {
		gap: 12px;
	}
	.workshops-section h1 {
		margin-top: 20px;
		width: 100%;
	}
	.workshops-intro {
		color: #444;
		line-height: 1.5;
		padding-bottom: 30px;
		margin-bottom: 10px;
	}
	.upcoming-workshop-items {
		padding-bottom: 30px;
		margin-bottom: 10px;
	}
	.workshop {
		flex-direction: row;
		border: none;
		background-color: transparent;
		border-radius: 0;
		gap: 12px;
	}
	.workshop:hover {
		border: none;
	}

	.workshop img {
		width: 120px;
		height: 150px;
		border-radius: 12px;
	}
	.workshop-title {
		font-size: 19px;
		font-weight: 500;
	}

	.workshop-details {
		padding: 0;
		background-color: transparent;
		height: 100%;
		width: 100%;
	}
	.workshop-description {
		font-size: 14px;
		-webkit-line-clamp: 2;
		line-clamp: 2;
	}
	.details-section1, .details-section2 {
	}
	.book-button {
		padding: 6px 12px;
		border-radius: 8px;
		font-size: 16px;
	}

	.workshop-readmore {
		display: none;
	}
}