.location-schedule-section {
	margin-top: 5rem;
}

.ts-periodic-courses-container {
	margin: 20px 0;
}

.ts-single-course {
	margin-bottom: 30px;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
}

.ts-single-course h3 {
	color: white;
	margin: 0;
	padding: 15px 20px;
	font-size: 1.3em;
}

.course-excerpt {
	padding: 15px 20px;
	background: #f8f9fa;
	color: #555;
	font-style: italic;
	border-top: 1px solid #eee;
}

.ts-course-schedule-table {
	margin: 20px 0;
	overflow-x: auto;
}

.ts-course-schedule-table h3 {
	margin-top: 0;
	margin-bottom: 15px;
	color: #333;
	font-size: 1.2em;
	background: none;
	padding: 0;
}

.course-schedule-weekly {
	width: calc(100% - 2rem);
	border-collapse: collapse;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
	border-radius: 6px;
	overflow: hidden;
	table-layout: fixed;
	margin: 1rem;
}

.course-schedule-weekly th,
.course-schedule-weekly td {
	border: 1px solid #ddd;
	padding: 12px;
	text-align: center;
	vertical-align: top;
}

.course-schedule-weekly th {
	background-color: #f4f4f4;
	font-weight: bold;
}

.course-schedule-weekly td {
	padding: 15px 10px;
	border-bottom: 1px solid #eee;
	vertical-align: top;
	min-height: 60px;
}

.course-schedule-weekly tr:last-child td {
	border-bottom: none;
}

.time-slot {
	background: #e74c3c;
	color: white;
	padding: 6px 10px;
	margin: 2px 0;
	border-radius: 4px;
	font-size: 0.85em;
	font-weight: 500;
	display: inline-block;
	min-width: 80px;
}

.no-course {
	color: #999;
	font-style: italic;
}

.course-entry {
	margin-bottom: 8px;
}

.course-entry:last-child {
	margin-bottom: 0;
}

.course-entry a {
	text-decoration: none;
	color: #0073aa;
	font-weight: 500;
}

.course-entry a:hover {
	text-decoration: underline;
}

.course-entry small {
	display: block;
	color: #666;
	font-size: 0.85em;
	margin-top: 4px;
}

@media (max-width: 768px) {

	.course-schedule-weekly th,
	.course-schedule-weekly td {
		padding: 8px 4px;
	}

	.time-slot {
		padding: 4px 6px;
		font-size: 0.75em;
		min-width: 60px;
	}

	.ts-single-course h3 {
		padding: 10px 15px;
		font-size: 1.1em;
	}

	.course-schedule-weekly,
	.course-schedule-weekly thead,
	.course-schedule-weekly tbody,
	.course-schedule-weekly th,
	.course-schedule-weekly td,
	.course-schedule-weekly tr {
		display: block;
	}

	.course-schedule-weekly thead tr {
		position: absolute;
		top: -9999px;
		left: -9999px;
	}

	.course-schedule-weekly tr {
		border: 1px solid #ccc;
		margin-bottom: 10px;
		padding: 10px;
	}

	.course-schedule-weekly td {
		border: none;
		position: relative;
		padding-left: 0;
	}

	.course-schedule-weekly td::before {
		content: attr(data-day) ": ";
		font-weight: bold;
		color: #333;
		display: inline-block;
		margin-right: 5px;
	}

	.course-schedule-weekly td.time-column::before {
		content: "Zeit: ";
	}
}
