/*
Theme Name: Hitze24 GeneratePress Child
Description: Category archive design for hitze24.com.
Author: Hitze24
Template: generatepress
Version: 1.0.0
Text Domain: hitze24-generatepress-child
*/

body.category .site.grid-container {
	max-width: 1220px;
}

body.category .site-content {
	display: block;
	padding: 40px 20px 64px;
}

body.category .hitze24-category,
body.category .hitze24-category * {
	box-sizing: border-box;
}

body.category .hitze24-category {
	width: 100%;
	max-width: 1180px;
	margin: 0 auto;
}

body.category .hitze24-category-hero {
	position: relative;
	overflow: hidden;
	margin-bottom: 36px;
	padding: clamp(32px, 6vw, 64px);
	color: #fff;
	background: #0f2b3d;
	border-radius: 18px;
}

body.category .hitze24-category-hero::after {
	position: absolute;
	right: 0;
	bottom: 0;
	width: 140px;
	height: 6px;
	content: "";
	background: #ef9f27;
}

body.category .hitze24-category-title {
	margin: 0;
	color: #fff;
	font-size: clamp(2rem, 5vw, 3.5rem);
	line-height: 1.1;
}

body.category .hitze24-category-description {
	max-width: 760px;
	margin-top: 18px;
	font-size: 1.075rem;
	line-height: 1.7;
	opacity: 0.9;
}

body.category .hitze24-category-description > :last-child {
	margin-bottom: 0;
}

body.category .hitze24-post-grid {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 28px;
}

body.category .hitze24-card {
	display: flex;
	overflow: hidden;
	flex-direction: column;
	min-width: 0;
	background: #fff;
	border: 1px solid rgba(15, 43, 61, 0.08);
	border-radius: 14px;
	box-shadow: 0 8px 28px rgba(15, 43, 61, 0.08);
	transition: transform 180ms ease, box-shadow 180ms ease;
}

body.category .hitze24-card:hover,
body.category .hitze24-card:focus-within {
	transform: translateY(-5px);
	box-shadow: 0 14px 34px rgba(15, 43, 61, 0.14);
}

body.category .hitze24-card-image-link {
	display: block;
	overflow: hidden;
	background: #e9eef1;
	aspect-ratio: 16 / 10;
}

body.category .hitze24-card-image {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	transition: transform 250ms ease;
}

body.category .hitze24-card:hover .hitze24-card-image,
body.category .hitze24-card:focus-within .hitze24-card-image {
	transform: scale(1.035);
}

body.category .hitze24-card-content {
	display: flex;
	flex: 1;
	flex-direction: column;
	padding: 24px;
}

body.category .hitze24-card-date {
	margin-bottom: 10px;
	color: #667883;
	font-size: 0.82rem;
	font-weight: 600;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

body.category .hitze24-card-title {
	margin: 0 0 12px;
	font-size: 1.3rem;
	line-height: 1.3;
}

body.category .hitze24-card-title a {
	color: #0f2b3d;
	text-decoration: none;
}

body.category .hitze24-card-title a:hover,
body.category .hitze24-card-title a:focus {
	color: #c87900;
}

body.category .hitze24-card-excerpt {
	margin: 0 0 20px;
	color: #4b5e69;
	line-height: 1.65;
}

body.category .hitze24-card-more {
	align-self: flex-start;
	margin-top: auto;
	color: #0f2b3d;
	font-weight: 700;
	text-decoration: none;
}

body.category .hitze24-card-more:hover,
body.category .hitze24-card-more:focus {
	color: #c87900;
}

body.category .hitze24-pagination {
	margin-top: 40px;
}

body.category .hitze24-pagination .nav-links {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
	gap: 8px;
}

body.category .hitze24-pagination .page-numbers {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 42px;
	min-height: 42px;
	padding: 8px 13px;
	color: #0f2b3d;
	background: #fff;
	border: 1px solid rgba(15, 43, 61, 0.14);
	border-radius: 8px;
	text-decoration: none;
}

body.category .hitze24-pagination .page-numbers.current,
body.category .hitze24-pagination a.page-numbers:hover,
body.category .hitze24-pagination a.page-numbers:focus {
	color: #0f2b3d;
	background: #ef9f27;
	border-color: #ef9f27;
}

body.category .hitze24-category-extra {
	margin-top: 48px;
	padding: clamp(24px, 5vw, 48px);
	color: #263d4a;
	background: #fff;
	border: 1px solid rgba(15, 43, 61, 0.08);
	border-radius: 16px;
	box-shadow: 0 8px 28px rgba(15, 43, 61, 0.07);
}

body.category .hitze24-category-extra > :first-child {
	margin-top: 0;
}

body.category .hitze24-category-extra > :last-child {
	margin-bottom: 0;
}

body.category .hitze24-no-posts {
	padding: 28px;
	background: #fff;
	border-radius: 12px;
}

@media (max-width: 900px) {
	body.category .hitze24-post-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 640px) {
	body.category .site-content {
		padding: 24px 16px 48px;
	}

	body.category .hitze24-category-hero {
		margin-bottom: 28px;
		border-radius: 14px;
	}

	body.category .hitze24-post-grid {
		grid-template-columns: 1fr;
		gap: 22px;
	}
}

@media (prefers-reduced-motion: reduce) {
	body.category .hitze24-card,
	body.category .hitze24-card-image {
		transition: none;
	}
}
