/**
 * Hero Compact Pattern Styles
 *
 * Styling für das Hero Compact Pattern für Kurs-Detailseiten.
 *
 * @package Hundeschule_TT5_Child
 * @since 1.0.0
 */

/* Hero Compact Section - pt-20 pb-12 md:pt-24 md:pb-12 */
.wp-block-group.hs-hero-compact,
.wp-block-group.alignfull.hs-hero-compact,
.hs-hero-compact {
	background-color: #ffffff;
	padding-top: 5rem; /* pt-20 */
	padding-bottom: 3rem; /* pb-12 */
	padding-left: 0 !important;
	padding-right: 0 !important;
	overflow: hidden;
}

@media (min-width: 768px) {
	.wp-block-group.hs-hero-compact,
	.hs-hero-compact {
		padding-top: 10rem !important; /* md:pt-24 */
		padding-bottom: 5rem !important; /* md:pb-12 */
	}
}

/* Hero Compact Container - max-w-6xl mx-auto px-6 */
.hs-hero-compact-container {
	max-width: 72rem; /* max-w-6xl = 1152px */
	margin-left: auto;
	margin-right: auto;
	padding-left: 1.5rem; /* px-6 */
	padding-right: 1.5rem;
}

/* Hero Compact Grid - grid md:grid-cols-2 gap-10 items-center */
.hs-hero-compact-grid.wp-block-columns {
	display: grid;
	grid-template-columns: 1fr;
	gap: 2.5rem; /* gap-10 */
	align-items: center;
	margin: 0 !important;
}

@media (min-width: 768px) {
	.hs-hero-compact-grid.wp-block-columns {
		grid-template-columns: repeat(2, 1fr);
	}
}

/* Reset column padding/margin */
.hs-hero-compact-grid.wp-block-columns .wp-block-column {
	padding: 0 !important;
	margin: 0 !important;
}

/* Hero Compact Content Column */
.hs-hero-compact-content-column {
	display: flex;
	flex-direction: column;
}

/* Hero Compact Back Link */
.hs-hero-compact-back-link {
	margin-bottom: 1rem; /* mb-4 */
	font-size: 0.875rem; /* text-sm */
	color: #f97316; /* text-orange-500 */
	text-decoration: none;
	transition: color 0.2s;
}

.hs-hero-compact-back-link:hover {
	text-decoration: underline;
	color: #ea580c; /* hover:orange-600 */
}

.hs-hero-compact-back-link a {
	color: #f97316; /* text-orange-500 */
	text-decoration: none;
	transition: color 0.2s;
}

.hs-hero-compact-back-link a:hover {
	text-decoration: underline;
	color: #ea580c; /* hover:orange-600 */
}

.hs-seminar-back-link {
	margin-bottom: 1rem;
	font-size: 0.875rem;
	color: #f97316;
}

.hs-seminar-back-link a {
	color: inherit;
	text-decoration: none;
}

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

/* Hero Compact Heading */
.hs-hero-compact-heading {
	font-size: 2.25rem; /* text-4xl */
	line-height: 1.2; /* leading-tight */
	margin-bottom: 1rem; /* mb-4 */
	font-weight: 600;
	color: #1f2937; /* text-gray-800 */
}

@media (min-width: 768px) {
	.hs-hero-compact-heading {
		font-size: 3rem; /* md:text-5xl */
	}
}

/* Hero Compact Description */
.hs-hero-compact-description {
	font-size: 1.125rem; /* text-lg */
	color: #4b5563; /* text-gray-600 */
	line-height: 1.6;
	margin: 0;
}

/* Hero Compact Image Column */
.hs-hero-compact-image-column {
	order: -1;
}

@media (min-width: 768px) {
	.hs-hero-compact-image-column {
		order: 0;
		align-self: center;
	}
}

/* Hero Compact Image Wrapper - h-80 rounded-[40px] overflow-hidden shadow-xl */
.hs-hero-compact-image-wrapper {
	height: 20rem; /* h-80 */
	border-radius: 40px; /* rounded-[40px] */
	overflow: hidden;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); /* shadow-xl */
}

/* Hero Compact Image */
.hs-hero-compact-image img,
.hs-hero-compact-image-wrapper img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.hs-hero-compact-content-column strong{
	font-weight: 600 !important;
	color: #1d1d1d !important;
}