/**
 * Stats Pattern Styles
 *
 * Styling für das Stats Pattern basierend auf Figma Design.
 *
 * @package Hundeschule_TT5_Child
 * @since 1.0.0
 */

/* Stats Section - py-12 md:py-16 bg-gray-50 */
.hs-stats-section {
	padding-top: 4rem !important; /* py-12 */
	padding-bottom: 4rem !important;
	background-color: #f9fafb; /* bg-gray-50 */
}

@media (min-width: 768px) {
	.hs-stats-section {
		padding-top: 4rem; /* md:py-16 */
		padding-bottom: 4rem;
	}
}

/* Stats Container - max-w-6xl with proper padding */
.hs-stats-container {
	max-width: 72rem; /* max-w-6xl = 1152px */
	margin-left: auto;
	margin-right: auto;
	padding-left: 1rem; /* px-4 */
	padding-right: 1rem;
}

@media (min-width: 640px) {
	.hs-stats-container {
		padding-left: 1.5rem; /* sm:px-6 */
		padding-right: 1.5rem;
	}
}

/* Stats Grid - grid-cols-2 md:grid-cols-4 gap-4 md:gap-6 */
.hs-stats-grid.wp-block-columns {
	display: grid;
	grid-template-columns: repeat(2, 1fr);
	gap: 2.5rem 1rem; /* gap-4 */
	margin: 0 !important;
}

@media (min-width: 768px) {
	.hs-stats-grid.wp-block-columns {
		grid-template-columns: repeat(4, 1fr);
		gap: 1.5rem; /* md:gap-6 */
	}
}

/* Override default columns layout */
.hs-stats-grid.wp-block-columns .wp-block-column {
	margin: 0 !important;
	padding: 0 !important;
}

/* Stat Item */
.hs-stat-item.wp-block-column,
.hs-stat-item {
	text-align: center;
	margin: 0 !important;
	padding: 0 !important;
}

/* Stat Icon Wrapper - w-12 h-12 bg-orange-100 rounded-[16px] rotate-6 */
.hs-stat-icon-wrapper.wp-block-group,
.hs-stat-icon-wrapper {
	width: 3rem; /* w-12 */
	height: 3rem; /* h-12 */
	background-color: #ffedd5; /* bg-orange-100 */
	border-radius: 1rem; /* rounded-[16px] */
	display: flex;
	align-items: center;
	justify-content: center;
	margin-left: auto;
	margin-right: auto;
	margin-bottom: 0.75rem; /* mb-3 */
	margin-top: 0;
	padding: 0 !important;
	transform: rotate(6deg);
	box-sizing: border-box;
}

.hs-stat-icon-wrapper.wp-block-group .wp-block-group__inner-container {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

/* Icon Text Block in Stats Pattern */
.hs-stat-icon-wrapper .wp-block-hundeschule-icon-text {
	margin: 0;
	padding: 0;
	width: 100%;
	height: 100%;
	display: flex;
	align-items: center;
	justify-content: center;
}

.hs-stat-icon-wrapper .wp-block-hundeschule-icon-text .hs-icon-text {
	display: flex;
	align-items: center;
	justify-content: center;
	width: 100%;
	height: 100%;
	gap: 0;
}

.hs-stat-icon-wrapper .wp-block-hundeschule-icon-text .hs-icon-text__icon {
	width: 1.5rem; /* w-6 */
	height: 1.5rem; /* h-6 */
	color: #f97316; /* text-orange-500 */
	flex-shrink: 0;
	transform: rotate(-6deg); /* -rotate-6 */
}

.hs-stat-icon-wrapper .wp-block-hundeschule-icon-text .hs-icon-text__icon svg {
	width: 100%;
	height: 100%;
	color: #f97316;
	stroke: #f97316;
	fill: none; /* Standard: keine Füllung für Outline-Icons */
	
	* {
		stroke-width: 1.5px;
	}
}

/* Gefüllte Icons haben fill="currentColor" im SVG */
.hs-stat-icon-wrapper .wp-block-hundeschule-icon-text .hs-icon-text__icon svg[fill="currentColor"] {
	fill: #f97316;
}

.hs-stat-icon-wrapper .wp-block-hundeschule-icon-text .hs-icon-text__content {
	display: none; /* Hide text content in stats pattern */
}

/* Stat Number - text-3xl text-orange-500 mb-1 */
.hs-stat-number {
	font-size: 1.5rem; /* text-3xl */
	line-height: 1.2;
	color: #f97316; /* text-orange-500 */
	margin-top: 0;
	margin-bottom: 0.25rem; /* mb-1 */
	margin-left: 0;
	margin-right: 0;
	padding: 0;
	font-weight: var(--font-weight-medium, 500);
}

@media (min-width: 768px) {
.hs-stat-number {
	font-size: 1.875rem;
	}
}


/* Stat Label - text-xs text-gray-600 */
.hs-stat-label {
	font-size: 0.85rem;
	font-weight: 400;
	line-height: 1.5;
	color: #4b5563; /* text-gray-600 */
	margin: 0;
	padding: 0;
}

