/**
 * Übersichtsseite „Leben mit Hund“.
 */

.ha-life-topics {
	margin-bottom: clamp(55px, 8vw, 90px);
}

.ha-life-section-title {
	margin: 0 0 26px;
	color: #263d31;
	font-family: Georgia, "Times New Roman", serif;
	font-size: clamp(1.8rem, 3vw, 2.65rem);
	font-weight: 500;
	line-height: 1.15;
}

.ha-life-topics__grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 20px;
}

.ha-life-topic {
	display: flex;
	flex-direction: column;
	min-height: 245px;
	padding: 27px;
	border: 1px solid #dfe7dd;
	border-radius: 16px;
	background: #f4f7f1;
	color: #2c4335;
	text-decoration: none;
	box-shadow: 0 10px 28px rgba(35, 55, 43, 0.05);
	transition:
		transform 180ms ease,
		border-color 180ms ease,
		box-shadow 180ms ease;
}

.ha-life-topic:hover {
	border-color: #9aac94;
	color: #263d31;
	transform: translateY(-3px);
	box-shadow: 0 16px 34px rgba(35, 55, 43, 0.1);
}

.ha-life-topic:focus-visible {
	outline: 3px solid rgba(92, 112, 74, 0.28);
	outline-offset: 4px;
}

.ha-life-topic__title {
	display: block;
	margin-bottom: 14px;
	font-family: Georgia, "Times New Roman", serif;
	font-size: 1.55rem;
	font-weight: 500;
	line-height: 1.15;
}

.ha-life-topic__description {
	display: block;
	flex: 1;
	color: #536258;
	font-size: 0.96rem;
	line-height: 1.55;
}

.ha-life-topic__meta {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 15px;
	margin-top: 24px;
	color: #3c5b47;
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ha-life-posts {
	margin-top: 0;
}

@media (max-width: 1050px) {
	.ha-life-topics__grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.ha-life-topics__grid {
		grid-template-columns: 1fr;
	}

	.ha-life-topic {
		min-height: 0;
		padding: 23px;
	}
}
