/* Single News */

.geocity-news-single-page {
	background: var(--geocity-color-surface, #fff);
}

.geocity-news-single__article {
	margin: 0;
}

.geocity-news-single__hero,
.geocity-news-single__hero.wp-block-post-featured-image {
	width: 100%;
	max-height: clamp(280px, 48vh, 520px);
	overflow: hidden;
	background: var(--geocity-color-surface-alt, #1a1a1a);
}

.geocity-news-single__hero img {
	display: block;
	width: 100%;
	height: clamp(280px, 48vh, 520px);
	object-fit: cover;
}

.geocity-news-single__content-wrap {
	padding-block: 2.5rem 3rem;
}

.geocity-news-single__meta {
	margin-bottom: 1.25rem;
}

.geocity-news-single__back {
	display: inline-block;
	margin-bottom: 1rem;
	font-size: 0.9rem;
	font-weight: 600;
	color: var(--geocity-color-primary, #e30613);
	text-decoration: none;
}

.geocity-news-single__back:hover {
	text-decoration: underline;
}

.geocity-news-single__meta-row {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem 1.25rem;
}

.geocity-news-single__date {
	font-size: 0.9rem;
	color: var(--geocity-color-text-muted, #6b6b6b);
}

.geocity-news-single__tags {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem;
	margin: 0;
	padding: 0;
	list-style: none;
}

.geocity-news-single__tag {
	display: inline-block;
	padding: 0.35rem 0.65rem;
	font-size: 0.65rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	line-height: 1.2;
	text-transform: uppercase;
}

.geocity-news-single__tag--category {
	color: #fff;
	background: var(--geocity-color-primary, #e30613);
}

.geocity-news-single__tag--location {
	color: var(--geocity-color-text, #1a1a1a);
	background: var(--geocity-color-surface-alt, #f0f0f0);
}

.geocity-news-single__title {
	margin: 0 0 1.25rem;
	font-family: var(--wp--preset--font-family--playfair, Georgia, serif);
	font-size: clamp(1.75rem, 4vw, 2.75rem);
	font-weight: 700;
	line-height: 1.15;
	color: var(--geocity-color-text, #1a1a1a);
}

.geocity-news-single__content {
	font-size: 1rem;
	line-height: 1.7;
	color: var(--geocity-color-text, #1a1a1a);
}

.geocity-news-single__content > *:first-child {
	margin-top: 0;
}

.geocity-news-single__content > *:last-child {
	margin-bottom: 0;
}

/* Related */

.geocity-news-single__related {
	padding-block: 2.5rem 4rem;
	background: var(--geocity-color-surface-alt, #f7f7f7);
	border-top: 1px solid var(--geocity-color-border, #e0e0e0);
}

.geocity-news-single__related-title {
	margin: 0 0 1.5rem;
	font-family: var(--wp--preset--font-family--playfair, Georgia, serif);
	font-size: clamp(1.5rem, 3vw, 2rem);
	font-weight: 700;
	line-height: 1.2;
}

.geocity-news-single__related-grid {
	display: grid;
	grid-template-columns: repeat(4, minmax(0, 1fr));
	gap: 1.25rem;
}

.geocity-news-related-card {
	margin: 0;
}

.geocity-news-related-card__link {
	display: flex;
	flex-direction: column;
	height: 100%;
	color: inherit;
	text-decoration: none;
}

.geocity-news-related-card__media {
	position: relative;
	overflow: hidden;
	border-radius: 6px;
	background: var(--geocity-color-surface, #fff);
}

.geocity-news-related-card__image {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	object-fit: cover;
}

.geocity-news-related-card__image--placeholder {
	display: block;
	width: 100%;
	aspect-ratio: 16 / 10;
	background: linear-gradient(135deg, #e8e8e8, #f5f5f5);
}

.geocity-news-related-card__tag {
	position: absolute;
	left: 0.5rem;
	bottom: 0.5rem;
	padding: 0.3rem 0.55rem;
	font-size: 0.6rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-transform: uppercase;
	color: #fff;
	background: var(--geocity-color-primary, #e30613);
}

.geocity-news-related-card__title {
	margin: 0.75rem 0 0.35rem;
	font-size: 0.95rem;
	font-weight: 700;
	line-height: 1.35;
}

.geocity-news-related-card__link:hover .geocity-news-related-card__title {
	color: var(--geocity-color-primary, #e30613);
}

.geocity-news-related-card__excerpt {
	margin: 0;
	font-size: 0.8rem;
	line-height: 1.5;
	color: var(--geocity-color-text-muted, #6b6b6b);
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
}

@media (max-width: 1024px) {
	.geocity-news-single__related-grid {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 768px) {
	.geocity-news-single__content-wrap {
		padding-block: 2rem 2.5rem;
	}

	.geocity-news-single__related-grid {
		grid-template-columns: 1fr;
	}
}
