.jd-hero {
	position: relative;
	min-height: 420px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-align: center;
	padding: 3rem 1.5rem;
	background: linear-gradient(135deg, rgba(191, 131, 174, 0.92), rgba(130, 200, 140, 0.78));
	color: #fff;
}

.jd-hero h1,
.jd-hero h1.elementor-heading-title {
	color: #fff;
	font-size: 2rem;
	margin-bottom: 0.75rem;
}

.jd-hero p,
.jd-hero .elementor-widget-text-editor p {
	color: var(--jd-secondary);
	max-width: 640px;
	margin: 0 auto 1.5rem;
	font-size: 1.125rem;
}

.jd-class-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1.5rem;
}

.jd-class-grid .jd-card a {
	display: block;
	text-decoration: none;
	color: inherit;
}

.jd-class-grid .jd-card h2,
.jd-class-grid .jd-card .elementor-image-box-title {
	font-size: 1.35rem;
	margin: 1rem 1rem 0.25rem;
}

.jd-class-grid .jd-card p,
.jd-class-grid .jd-card .elementor-image-box-description {
	margin: 0 1rem 1.25rem;
	color: var(--jd-text-body);
}

.jd-timetable {
	width: 100%;
	border-collapse: collapse;
	margin: 1.5rem 0;
}

.jd-timetable th,
.jd-timetable td {
	padding: 0.85rem 1rem;
	border-bottom: 1px solid #e8e4df;
	text-align: left;
	vertical-align: top;
}

.jd-timetable th {
	background: var(--jd-primary);
	color: #fff;
	font-weight: 600;
}

.jd-awards {
	align-items: center;
	display: flex;
	flex-wrap: wrap;
	gap: 1.5rem;
	justify-content: center;
	margin: 1.5rem 0;
}

.jd-awards img {
	border-radius: var(--jd-radius);
	box-shadow: var(--jd-shadow);
	display: block;
	height: auto;
	max-width: 280px;
	width: 100%;
}

.jd-contact-details {
	list-style: none;
	margin: 0;
	padding: 0;
}

.jd-contact-details li {
	margin-bottom: 0.85rem;
}

.jd-contact-form-wrap {
	max-width: 36rem;
}

.jd-contact-form__field {
	margin: 0 0 1rem;
}

.jd-contact-form__field label {
	color: var(--jd-primary);
	display: block;
	font-weight: 600;
	margin-bottom: 0.35rem;
}

.jd-contact-form__field input,
.jd-contact-form__field textarea {
	background: var(--jd-surface);
	border: 1px solid #e8e4df;
	border-radius: 8px;
	box-sizing: border-box;
	color: var(--jd-text-body);
	font: inherit;
	padding: 0.75rem 0.9rem;
	width: 100%;
}

.jd-contact-form__field input:focus,
.jd-contact-form__field textarea:focus {
	border-color: var(--jd-primary);
	outline: 2px solid rgba(107, 45, 62, 0.2);
	outline-offset: 1px;
}

.jd-contact-form__field textarea {
	min-height: 9rem;
	resize: vertical;
}

.jd-contact-form__actions {
	margin: 1.25rem 0 0.75rem;
}

.jd-contact-form__actions .jd-cta {
	border: 0;
	cursor: pointer;
}

.jd-contact-form__alt {
	color: var(--jd-text-muted);
	font-size: 0.95rem;
	margin: 0;
}

.jd-contact-form__alt a {
	color: var(--jd-primary);
	font-weight: 600;
}

.jd-contact-form__notice {
	border-radius: 8px;
	margin: 0 0 1rem;
	padding: 0.85rem 1rem;
}

.jd-contact-form__notice--success {
	background: #edf5ee;
	border: 1px solid #c8dcc9;
	color: #2f5a34;
}

.jd-contact-form__notice--error {
	background: #fdf0f0;
	border: 1px solid #e8c4c4;
	color: #7a2b2b;
}

.jd-contact-form__hp {
	height: 0;
	left: -9999px;
	overflow: hidden;
	position: absolute;
	width: 0;
}

.jd-required {
	color: var(--jd-primary);
}

.jd-faq-static h3 {
	color: var(--jd-primary);
	font-family: var(--jd-font-heading);
	font-size: 1.15rem;
	margin: 1.25rem 0 0.35rem;
}

.jd-faq-static h3:first-child {
	margin-top: 0;
}

.jd-faq-static p {
	margin: 0 0 0.5rem;
}

.jd-faq details {
	background: var(--jd-surface);
	border-radius: var(--jd-radius);
	padding: 1rem 1.25rem;
	margin-bottom: 0.75rem;
	box-shadow: var(--jd-shadow);
}

.jd-faq summary {
	cursor: pointer;
	font-weight: 600;
	color: var(--jd-primary);
}

.jd-footer {
	background: var(--jd-primary);
	color: #f7f2ee;
	padding: 2.5rem 0;
}

.jd-footer a {
	color: #fff;
}

@media (max-width: 991px) {
	.jd-class-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 767px) {
	.jd-class-grid {
		grid-template-columns: 1fr;
	}

	.jd-timetable thead {
		display: none;
	}

	.jd-timetable tr {
		display: block;
		margin-bottom: 1rem;
		border: 1px solid #e8e4df;
		border-radius: 8px;
		padding: 0.5rem;
	}

	.jd-timetable td {
		display: block;
		border: 0;
		padding: 0.35rem 0.5rem;
	}

	.jd-timetable td::before {
		content: attr(data-label);
		font-weight: 700;
		display: block;
		color: var(--jd-primary);
	}
}