/* Augsburg-Auto: unified category archives. Heading typography is inherited from Astra. */

body.category #primary.content-area,
body.category .content-area.primary {
	width: 100%;
	max-width: 1480px;
	margin-right: auto;
	margin-left: auto;
	padding-right: 20px;
	padding-left: 20px;
}

.aa-category-archive,
.aa-category-archive * {
	box-sizing: border-box;
}

.aa-category-archive {
	width: 100%;
	margin: 0 auto 64px;
	padding: 34px;
	border: 1px solid #e2e5e9;
	border-radius: 28px;
	background: #fff;
	box-shadow: 0 18px 48px rgba(17, 24, 39, .08);
}

.aa-category-intro {
	position: relative;
	margin-bottom: 34px;
	padding: 28px 30px 30px 34px;
	border: 1px solid #e3e6ea;
	border-radius: 22px;
	background: #f7f8fa;
	overflow: hidden;
}

.aa-category-intro::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	width: 6px;
	background: #ed1c24;
}

.aa-category-intro--services {
	padding-right: 330px;
}

.aa-category-kicker {
	display: inline-flex;
	margin-bottom: 14px;
	padding: 7px 11px;
	border: 1px solid #e3c4c6;
	border-radius: 999px;
	background: #fff;
	color: #9f151b;
	font-size: 12px;
	font-weight: 700;
}

.aa-category-description {
	max-width: 900px;
	margin-top: 14px;
	color: #505762;
	font-size: 17px;
	line-height: 1.65;
}

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

.aa-category-fact {
	position: absolute;
	top: 28px;
	right: 28px;
	display: flex;
	width: 270px;
	min-height: 132px;
	padding: 20px;
	border: 1px solid #dde1e6;
	border-radius: 18px;
	background: #fff;
	flex-direction: column;
	justify-content: space-between;
}

.aa-category-fact span {
	color: #b01820;
	font-size: 13px;
	font-weight: 700;
}

.aa-category-fact strong {
	color: #22272e;
	font-size: 18px;
	line-height: 1.35;
}

.aa-category-section + .aa-category-section {
	margin-top: 42px;
}

.aa-category-section > h2 {
	margin-bottom: 22px;
}

.aa-category-grid {
	display: grid;
	gap: 22px;
}

.aa-category-grid--sections,
.aa-category-grid--services,
.aa-category-grid--posts {
	grid-template-columns: repeat(3, minmax(0, 1fr));
}

.aa-category-card,
.aa-category-post {
	min-width: 0;
	border: 1px solid #e1e4e8;
	border-radius: 20px;
	background: #fff;
	overflow: hidden;
	box-shadow: 0 12px 30px rgba(17, 24, 39, .07);
	transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease;
}

.aa-category-card:hover,
.aa-category-post:hover {
	border-color: #d4a8ab;
	box-shadow: 0 18px 42px rgba(17, 24, 39, .11);
	transform: translateY(-3px);
}

.aa-category-card__link,
.aa-category-post__link {
	display: flex;
	min-height: 100%;
	color: inherit;
	text-decoration: none;
	flex-direction: column;
}

.aa-category-card__media,
.aa-category-post__media {
	width: 100%;
	height: 230px;
	background: #eceff2;
	overflow: hidden;
}

.aa-category-card__media img,
.aa-category-post__media img {
	display: block;
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: center;
	transition: transform .35s ease;
}

.aa-category-card:hover .aa-category-card__media img,
.aa-category-post:hover .aa-category-post__media img {
	transform: scale(1.04);
}

.aa-category-card__placeholder {
	display: flex;
	width: 100%;
	height: 100%;
	align-items: center;
	justify-content: center;
	background: #edf0f3;
	color: #68707b;
	font-size: 16px;
	font-weight: 700;
}

.aa-category-card__body,
.aa-category-post__body {
	display: flex;
	padding: 24px;
	flex: 1;
	flex-direction: column;
}

.aa-category-card__body h2,
.aa-category-post__body h2 {
	margin: 0 0 12px;
}

.aa-category-card__meta,
.aa-category-post__meta {
	margin-bottom: 12px;
	color: #7a828d;
	font-size: 13px;
}

.aa-category-card__body p,
.aa-category-post__excerpt {
	margin: 0 0 22px;
	color: #555d68;
	font-size: 15px;
	line-height: 1.58;
}

.aa-category-card__more {
	display: inline-flex;
	width: fit-content;
	min-height: 42px;
	margin-top: auto;
	padding: 0 16px;
	border: 1px solid #d3161e;
	border-radius: 12px;
	background: #ed1c24;
	color: #fff;
	align-items: center;
	justify-content: center;
	font-size: 13px;
	font-weight: 700;
}

.aa-category-card__link:hover .aa-category-card__more,
.aa-category-post__link:hover .aa-category-card__more {
	background: #c9151c;
}

.aa-category-empty {
	padding: 28px;
	border: 1px solid #e1e4e8;
	border-radius: 18px;
	background: #f7f8fa;
}

.aa-category-empty p {
	margin: 0;
}

.aa-category-archive .navigation.pagination {
	margin-top: 32px;
}

@media (max-width: 1100px) {
	.aa-category-grid--sections,
	.aa-category-grid--services,
	.aa-category-grid--posts {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}

	.aa-category-intro--services {
		padding-right: 30px;
	}

	.aa-category-fact {
		position: static;
		width: 100%;
		min-height: 0;
		margin-top: 24px;
		gap: 8px;
	}
}

@media (max-width: 700px) {
	body.category #primary.content-area,
	body.category .content-area.primary {
		padding-right: 0;
		padding-left: 0;
	}

	.aa-category-archive {
		margin-bottom: 34px;
		padding: 14px;
		border-right: 0;
		border-left: 0;
		border-radius: 0;
		box-shadow: none;
	}

	.aa-category-intro,
	.aa-category-intro--services {
		margin-bottom: 24px;
		padding: 22px 18px 24px 24px;
		border-radius: 16px;
	}

	.aa-category-description {
		font-size: 16px;
	}

	.aa-category-grid--sections,
	.aa-category-grid--services,
	.aa-category-grid--posts {
		grid-template-columns: 1fr;
	}

	.aa-category-card__media,
	.aa-category-post__media {
		height: 210px;
	}

	.aa-category-card__body,
	.aa-category-post__body {
		padding: 20px;
	}
}
