/*
 * UHC Laupen — Post listing (horizontal news items)
 * Shared by the team page news section and all post listing templates
 * (home.php, archive.php). Image left (3/8), text right.
 */

.team-news-list {
	display: flex;
	flex-direction: column;
	gap: 70px; /* spacing between posts */
	margin-top: 36px;
}

.team-news-item {
	display: flex;
	align-items: flex-start;
	gap: 16px; /* space between image and text */
}

/* image = 3/8 of the width, text = the rest */
.team-news-item__image {
	flex: 0 0 37.5%;
	max-width: 37.5%;
	display: block;
	overflow: hidden;
}

.team-news-item__image img {
	width: 100%;
	height: auto;
	display: block;
}

.team-news-item__body {
	flex: 1 1 0;
	min-width: 0;
	display: flex;
	flex-direction: column;
	gap: 10px; /* space between title, text and link */
	color: #000;
}

.team-news-item__title {
	font-family: 'League Gothic', sans-serif;
	font-size: 46px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.02em;
	line-height: 1;
	margin: 0;
}

.team-news-item__title a {
	color: #000;
	text-decoration: none;
	font-family: inherit;
}

.team-news-item__excerpt {
	font-family: 'Noto Sans ExtraCondensed', 'Noto Sans', sans-serif;
	font-stretch: extra-condensed;
	font-size: 27px;
	line-height: 1.3;
	margin: 0;
	color: #000;
}

.team-news-item__more {
	font-family: 'League Gothic', sans-serif;
	font-size: 27px;
	font-weight: 400;
	text-transform: uppercase;
	letter-spacing: 0.04em;
	color: #000;
	text-decoration: none;
	display: inline-flex;
	align-items: center;
	gap: 8px;
	align-self: flex-start;
	line-height: 1;
}

.team-news-item__more-icon {
	width: 10px;
	height: auto;
	display: block;
}

/* "Alle Beiträge sehen" — same styling as "Weiterlesen", after the list. */
.team-news__all {
	margin-top: 48px;
}

/* ── Post listing pages (home.php / archive.php) ─────────────────────── */

.posts-archive {
	padding-top: 180px;
	padding-bottom: 120px;
}

.posts-archive__title {
	color: #000;
	margin-bottom: 64px;
	overflow-wrap: break-word;
}

.posts-archive .pagination {
	margin-top: 64px;
	font-family: 'Noto Sans ExtraCondensed', 'Noto Sans', sans-serif;
	font-stretch: extra-condensed;
	font-size: 20px;
}

.posts-archive .pagination a,
.posts-archive .pagination span {
	color: #000;
}

@media ( max-width: 768px ) {
	.posts-archive {
		padding-top: 100px;
		padding-bottom: 72px;
	}

	.posts-archive__title {
		margin-bottom: 40px;
	}
}

/* Laptop (769–1600px): body copy 27px → 22px, same as .page-content */
@media ( min-width: 769px ) and ( max-width: 1600px ) {
	.team-news-item__excerpt {
		font-size: 22px;
	}
}

@media ( max-width: 600px ) {
	.team-news-item {
		flex-direction: column;
		gap: 12px;
	}
	.team-news-item__image {
		flex-basis: auto;
		max-width: 100%;
		width: 100%;
	}
	.team-news-list {
		gap: 48px;
	}
	.team-news-item__excerpt {
		font-size: 18px;
	}
	.team-news-item__more {
		font-size: 22px;
	}
}
