/* Scoped to the public landing page; the calendar uses the Forgejo dark palette. */
.home .forgejo-home-hero {
	padding: clamp(2rem, 5vw, 4rem) 1rem 1rem;
}

.home .forgejo-home-hero .hero {
	max-width: 54rem;
	margin-inline: auto;
}

.home .forgejo-home-hero .hero h1.title {
	margin: 0;
	font-size: clamp(2.25rem, 5vw, 3.5rem);
	line-height: 1.15;
	text-wrap: balance;
	overflow-wrap: anywhere;
}

.home .forgejo-home-hero .hero h2 {
	margin: 1rem 0 0;
	font-size: clamp(1.25rem, 2.5vw, 1.65rem);
	font-weight: 500;
	line-height: 1.5;
	text-wrap: balance;
}

.home .forgejo-home-hero time {
	white-space: nowrap;
}

.home .forgejo-github-history {
	width: min(100%, 720px);
	margin: 2rem auto 0;
}

.home .forgejo-github-history-image {
	display: block;
	border-radius: 1rem;
}

.home .forgejo-github-history-image:focus-visible {
	outline: 2px solid var(--color-primary);
	outline-offset: 4px;
}

.home .forgejo-github-history-image img {
	display: block;
	width: 100%;
	height: auto;
	aspect-ratio: 1;
}

.home .forgejo-github-history figcaption {
	margin: 1rem auto 0;
	color: var(--color-text-light-2);
	font-size: 1rem;
	line-height: 1.6;
	text-wrap: pretty;
}

.home .forgejo-github-history figcaption p {
	margin: 0.5rem 0;
}
