.ancient-day {
	--ancient-day-gold: var(--ags-gold, #edc96d);
	--ancient-day-gold-strong: var(--ags-gold-strong, #fff0ad);
	--ancient-day-navy: var(--ags-navy, #0d1420);
	--ancient-day-ink: #f7efd8;
	--ancient-day-muted: rgba(247, 239, 216, 0.74);
	--ancient-day-panel: rgba(16, 23, 35, 0.96);
	--ancient-day-line: rgba(237, 201, 109, 0.3);
	background: #080d15;
	color: var(--ancient-day-ink);
	font-family: var(--ags-sans, system-ui, sans-serif);
	line-height: 1.7;
}

.ancient-day *,
.ancient-day *::before,
.ancient-day *::after {
	box-sizing: border-box;
}

.ancient-day__inner {
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
}

.ancient-day__hero {
	padding: clamp(4.5rem, 9vw, 8rem) 0 clamp(3rem, 6vw, 5rem);
	border-bottom: 1px solid var(--ancient-day-line);
	background:
		radial-gradient(circle at 82% 20%, rgba(237, 201, 109, 0.13), transparent 30rem),
		linear-gradient(145deg, #111b2b 0%, #080d15 70%);
}

.ancient-day__eyebrow,
.ancient-day__section-kicker,
.ancient-day__section-heading > p {
	margin: 0 0 0.6rem;
	color: var(--ancient-day-gold-strong);
	font-size: 0.76rem;
	font-weight: 800;
	letter-spacing: 0.14em;
	text-transform: uppercase;
}

.ancient-day__date {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.75rem;
	margin: 1rem 0 0;
	color: var(--ancient-day-gold);
	font-weight: 750;
}

.ancient-day__today-badge {
	display: inline-flex;
	align-items: center;
	min-height: 1.8rem;
	padding: 0.2rem 0.65rem;
	border: 1px solid var(--ancient-day-gold);
	border-radius: 999px;
	color: var(--ancient-day-gold-strong);
	font-size: 0.72rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ancient-day h1,
.ancient-day h2,
.ancient-day h3 {
	font-family: var(--ags-serif, Georgia, serif);
	text-wrap: balance;
}

.ancient-day h1 {
	max-width: 900px;
	margin: 0.55rem 0 0;
	color: #fff9e8;
	font-size: clamp(2.35rem, 6vw, 5rem);
	line-height: 1.06;
}

.ancient-day__body {
	padding-block: clamp(2.5rem, 6vw, 5.5rem);
}

.ancient-day__introduction {
	max-width: 790px;
	margin: 0 auto clamp(3.5rem, 7vw, 6rem);
	font-size: clamp(1.08rem, 2vw, 1.22rem);
}

.ancient-day__prose > *:first-child {
	margin-top: 0;
}

.ancient-day__prose > *:last-child {
	margin-bottom: 0;
}

.ancient-day__prose a,
.ancient-day-event__source a {
	color: var(--ancient-day-gold-strong);
	text-decoration-thickness: 1px;
	text-underline-offset: 0.18em;
}

.ancient-day__section-heading {
	margin-bottom: 2rem;
}

.ancient-day__events + .ancient-day__events {
	margin-top: clamp(3rem, 7vw, 6rem);
	padding-top: clamp(2rem, 5vw, 4rem);
	border-top: 1px solid var(--ancient-day-line);
}

.ancient-day__section-heading h2,
.ancient-day__reflection h2,
.ancient-day__thought h2,
.ancient-day-lock h2,
.ancient-day__empty-message h2 {
	margin: 0;
	color: #fff9e8;
	font-size: clamp(1.65rem, 4vw, 2.6rem);
	line-height: 1.15;
}

.ancient-day__timeline {
	position: relative;
	margin: 0;
	padding: 0;
	list-style: none;
}

.ancient-day__timeline::before {
	position: absolute;
	top: 0.5rem;
	bottom: 0.5rem;
	left: 11.3rem;
	width: 1px;
	background: linear-gradient(var(--ancient-day-gold), rgba(237, 201, 109, 0.08));
	content: "";
}

.ancient-day-event {
	display: grid;
	grid-template-columns: 10rem minmax(0, 1fr);
	gap: 2.5rem;
	position: relative;
	padding: 0 0 3.5rem;
}

.ancient-day-event::before {
	position: absolute;
	top: 0.45rem;
	left: calc(11.3rem - 0.36rem);
	width: 0.72rem;
	height: 0.72rem;
	border: 2px solid #080d15;
	border-radius: 50%;
	background: var(--ancient-day-gold);
	box-shadow: 0 0 0 1px var(--ancient-day-gold);
	content: "";
}

.ancient-day-event__year {
	color: var(--ancient-day-gold-strong);
	font-family: var(--ags-serif, Georgia, serif);
	font-size: 1.28rem;
	font-weight: 700;
	line-height: 1.25;
	text-align: right;
}

.ancient-day-event__content {
	padding: 0 0 2.2rem;
	border-bottom: 1px solid var(--ancient-day-line);
}

.ancient-day-event__type {
	display: inline-flex;
	align-items: center;
	min-height: 1.7rem;
	margin: 0 0 0.6rem;
	padding: 0.18rem 0.55rem;
	border: 1px solid var(--ancient-day-line);
	border-radius: 999px;
	color: var(--ancient-day-gold-strong);
	font-size: 0.68rem;
	font-weight: 800;
	letter-spacing: 0.08em;
	line-height: 1.2;
	text-transform: uppercase;
}

.ancient-day-event__type--ancient-life {
	color: var(--ancient-day-ink);
}

.ancient-day-event__content h3 {
	margin: 0.65rem 0 0.75rem;
	color: #fff9e8;
	font-size: clamp(1.35rem, 3vw, 1.9rem);
	line-height: 1.22;
}

.ancient-day-event__meta {
	display: flex;
	flex-wrap: wrap;
	gap: 0.45rem 0.65rem;
	color: var(--ancient-day-muted);
	font-size: 0.78rem;
	letter-spacing: 0.06em;
	text-transform: uppercase;
}

.ancient-day-event__meta > span + span::before {
	margin-right: 0.65rem;
	color: var(--ancient-day-gold);
	content: "·";
}

.ancient-day-confidence {
	font-weight: 800;
}

.ancient-day-confidence--reconstructed {
	color: #f3d79c;
}

.ancient-day-confidence--traditional {
	color: #d9cbff;
}

.ancient-day-event__source {
	margin: 1.25rem 0 0;
	color: var(--ancient-day-muted);
	font-size: 0.88rem;
}

.ancient-day-event__sources {
	margin-top: 1.25rem;
	border-top: 1px solid var(--ancient-day-line);
	color: var(--ancient-day-muted);
	font-size: 0.88rem;
}

.ancient-day-event__sources summary {
	padding: 0.8rem 0;
	color: var(--ancient-day-gold-strong);
	cursor: pointer;
	font-weight: 750;
}

.ancient-day-event__sources > div {
	padding: 0 0 0.8rem;
}

.ancient-day-event__sources h4 {
	margin: 1rem 0 0.35rem;
	color: var(--ancient-day-ink);
	font-family: var(--ags-sans, system-ui, sans-serif);
	font-size: 0.78rem;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.ancient-day-event__sources ul {
	margin: 0;
	padding-left: 1.25rem;
}

.ancient-day__reflection,
.ancient-day__thought,
.ancient-day-lock,
.ancient-day__empty-message {
	max-width: 850px;
	margin: clamp(3rem, 7vw, 6rem) auto 0;
	padding: clamp(1.5rem, 4vw, 3rem);
	border: 1px solid var(--ancient-day-line);
	border-radius: 8px;
	background: var(--ancient-day-panel);
}

.ancient-day__reflection .ancient-day__prose,
.ancient-day__thought .ancient-day__prose {
	margin-top: 1.4rem;
}

.ancient-day__thought {
	border-left: 3px solid var(--ancient-day-gold);
	background: linear-gradient(130deg, rgba(237, 201, 109, 0.1), var(--ancient-day-panel) 50%);
}

.ancient-day-lock {
	text-align: center;
}

.ancient-day-lock__icon {
	margin-bottom: 0.8rem;
	color: var(--ancient-day-gold);
	font-size: 2.4rem;
}

.ancient-day-lock__teaser {
	max-width: 650px;
	margin: 1.25rem auto;
	font-size: 1.08rem;
}

.ancient-day-lock__facts {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.75rem;
	max-width: 560px;
	margin: 1.5rem auto;
}

.ancient-day-lock__facts > div {
	padding: 1rem;
	border: 1px solid var(--ancient-day-line);
	border-radius: 6px;
}

.ancient-day-lock__facts dt {
	color: var(--ancient-day-muted);
	font-size: 0.75rem;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.ancient-day-lock__facts dd {
	margin: 0.25rem 0 0;
	color: var(--ancient-day-gold-strong);
	font-family: var(--ags-serif, Georgia, serif);
	font-size: 1.25rem;
}

.ancient-day__button {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-height: 50px;
	margin-top: 0.75rem;
	padding: 0.8rem 1.3rem;
	border: 1px solid var(--ancient-day-gold-strong);
	border-radius: 5px;
	background: linear-gradient(#fff7c5, #edc96d);
	color: #151006;
	font: inherit;
	font-weight: 800;
	text-decoration: none;
}

.ancient-day__button:not(:disabled):hover,
.ancient-day__button:not(:disabled):focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 8px 25px rgba(237, 201, 109, 0.18);
}

.ancient-day__button:disabled {
	cursor: not-allowed;
	filter: grayscale(0.55);
	opacity: 0.68;
}

.ancient-day-lock__pending,
.ancient-day__editorial-empty {
	color: var(--ancient-day-muted);
	font-size: 0.88rem;
}

.ancient-day-explorer {
	margin-top: clamp(4rem, 9vw, 8rem);
	padding-top: clamp(2.5rem, 5vw, 4rem);
	border-top: 1px solid var(--ancient-day-line);
}

.ancient-day-explorer__grid {
	display: grid;
	grid-template-columns: repeat(10, minmax(0, 1fr));
	gap: 0.55rem;
}

.ancient-day-explorer__date {
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	min-height: 4.25rem;
	border: 1px solid rgba(247, 239, 216, 0.16);
	border-radius: 5px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--ancient-day-ink);
	font-weight: 750;
	line-height: 1.1;
	text-decoration: none;
}

a.ancient-day-explorer__date:hover,
a.ancient-day-explorer__date:focus-visible {
	border-color: var(--ancient-day-gold);
	background: rgba(237, 201, 109, 0.1);
}

.ancient-day-explorer__date small {
	margin-top: 0.35rem;
	color: var(--ancient-day-muted);
	font-size: 0.63rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ancient-day-explorer__date.is-today {
	border-color: var(--ancient-day-gold-strong);
	box-shadow: inset 0 0 0 1px var(--ancient-day-gold-strong);
}

.ancient-day-explorer__date.is-active {
	background: rgba(237, 201, 109, 0.16);
}

.ancient-day-explorer__date.is-unavailable {
	opacity: 0.35;
}

.ancient-day-explorer__legend {
	display: flex;
	flex-wrap: wrap;
	gap: 1rem;
	margin-top: 1.25rem;
	color: var(--ancient-day-muted);
	font-size: 0.8rem;
}

.ancient-day-explorer__legend span {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
}

.ancient-day-explorer__legend i {
	display: inline-block;
	width: 0.72rem;
	height: 0.72rem;
	border: 1px solid var(--ancient-day-line);
	border-radius: 2px;
}

.ancient-day-explorer__legend i.is-today {
	border-color: var(--ancient-day-gold-strong);
	box-shadow: inset 0 0 0 1px var(--ancient-day-gold-strong);
}

.ancient-day-explorer__legend i.is-locked {
	background: rgba(237, 201, 109, 0.16);
}

.ancient-day__empty-message {
	margin-top: 0;
	text-align: center;
}

@media (max-width: 800px) {
	.ancient-day-explorer__grid {
		grid-template-columns: repeat(6, minmax(0, 1fr));
	}
}

@media (max-width: 620px) {
	.ancient-day__timeline::before {
		left: 0.4rem;
	}

	.ancient-day-event {
		display: block;
		padding-left: 2rem;
	}

	.ancient-day-event::before {
		left: 0.05rem;
	}

	.ancient-day-event__year {
		margin-bottom: 0.6rem;
		text-align: left;
	}

	.ancient-day-lock__facts {
		grid-template-columns: 1fr;
	}

	.ancient-day-explorer__grid {
		grid-template-columns: repeat(5, minmax(0, 1fr));
	}

	.ancient-day-explorer__date {
		min-height: 3.75rem;
	}
}

@media (max-width: 380px) {
	.ancient-day__inner {
		width: min(100% - 1.25rem, 1120px);
	}

	.ancient-day-explorer__grid {
		gap: 0.38rem;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.ancient-day__button,
	.ancient-day-explorer__date {
		transition: background-color 160ms ease, border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	}
}

/* v4.0.40 Year 1 Archive Discovery Release. */
.ancient-day__text-link {
	display: inline-flex;
	align-items: center;
	gap: 0.4rem;
	min-height: 48px;
	padding: 0.75rem 0.2rem;
	color: var(--ancient-day-gold-strong);
	font-weight: 800;
	text-decoration: none;
}

.ancient-day__text-link::after {
	content: "→";
}

.ancient-day__text-link:hover,
.ancient-day__text-link:focus-visible {
	text-decoration: underline;
	text-underline-offset: 0.22em;
}

.ancient-day-hub__hero .ancient-day__inner {
	padding-bottom: clamp(2.75rem, 7vw, 5rem);
}

.ancient-day-hub__hero-grid {
	display: grid;
	grid-template-columns: minmax(0, 1.35fr) minmax(260px, 0.65fr);
	gap: clamp(2rem, 7vw, 6rem);
	align-items: end;
}

.ancient-day-hub__lede {
	max-width: 780px;
	margin: 1.2rem 0 0;
	color: var(--ancient-day-muted);
	font-size: clamp(1rem, 1.6vw, 1.2rem);
}

.ancient-day-hub__hero-actions,
.ancient-day-home-feature__actions,
.ancient-day-article-discovery__actions {
	display: flex;
	flex-wrap: wrap;
	gap: 0.8rem 1.25rem;
	align-items: center;
	margin-top: 1.5rem;
}

.ancient-day-hub__hero-stats {
	display: grid;
	gap: 0.7rem;
}

.ancient-day-hub__hero-stats > div {
	display: flex;
	align-items: baseline;
	justify-content: space-between;
	gap: 1rem;
	padding: 0.9rem 0;
	border-bottom: 1px solid var(--ancient-day-line);
}

.ancient-day-hub__hero-stats strong {
	color: var(--ancient-day-gold-strong);
	font-family: var(--ags-serif, Georgia, serif);
	font-size: clamp(1.8rem, 4vw, 2.65rem);
	line-height: 1;
}

.ancient-day-hub__hero-stats span {
	color: var(--ancient-day-muted);
	font-size: 0.78rem;
	font-weight: 800;
	letter-spacing: 0.06em;
	text-align: right;
	text-transform: uppercase;
}

.ancient-day-hub__intro {
	max-width: 830px;
	margin: 0 0 clamp(2.4rem, 5vw, 4rem);
	font-size: 1.05rem;
}

.ancient-day-hub__credibility {
	display: flex;
	flex-wrap: wrap;
	gap: 0.65rem;
	margin: 0 0 clamp(4rem, 8vw, 6.5rem);
}

.ancient-day-hub__credibility span {
	padding: 0.5rem 0.78rem;
	border: 1px solid var(--ancient-day-line);
	border-radius: 999px;
	color: var(--ancient-day-gold-strong);
	font-size: 0.7rem;
	font-weight: 800;
	letter-spacing: 0.07em;
	text-transform: uppercase;
}

.ancient-day-hub__calendar,
.ancient-day-hub__all-dates {
	padding-top: clamp(2.75rem, 6vw, 4.5rem);
	border-top: 1px solid var(--ancient-day-line);
}

.ancient-day-hub__all-dates {
	margin-top: clamp(5rem, 10vw, 9rem);
}

.ancient-day-hub__section-heading {
	display: grid;
	grid-template-columns: minmax(0, 1fr) minmax(240px, 0.55fr);
	column-gap: 2rem;
	align-items: end;
}

.ancient-day-hub__section-heading > p {
	grid-column: 1 / -1;
}

.ancient-day-hub__section-heading h2 {
	margin: 0;
	color: #fff9e8;
	font-size: clamp(2rem, 4.5vw, 3.8rem);
	line-height: 1.05;
}

.ancient-day-hub__section-heading > span {
	color: var(--ancient-day-muted);
	font-size: 0.95rem;
}

.ancient-day-hub__month-cards {
	display: grid;
	grid-template-columns: repeat(3, minmax(0, 1fr));
	gap: 1rem;
}

.ancient-day-hub__month-card {
	display: grid;
	grid-template-rows: 9.5rem auto;
	overflow: hidden;
	border: 1px solid rgba(247, 239, 216, 0.15);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.035);
	color: var(--ancient-day-ink);
	text-decoration: none;
}

.ancient-day-hub__month-card.is-available {
	border-color: rgba(237, 201, 109, 0.34);
}

.ancient-day-hub__month-card:hover,
.ancient-day-hub__month-card:focus-visible {
	border-color: var(--ancient-day-gold);
	transform: translateY(-2px);
	box-shadow: 0 16px 36px rgba(0, 0, 0, 0.24);
}

.ancient-day-hub__month-card-image {
	position: relative;
	display: block;
	overflow: hidden;
	background: #0b111b;
}

.ancient-day-hub__month-card-image::after {
	position: absolute;
	inset: 0;
	background: linear-gradient(to top, rgba(8, 13, 21, 0.42), rgba(8, 13, 21, 0.04));
	content: "";
}

.ancient-day-hub__month-card-image picture { display:block; width:100%; height:100%; }

.ancient-day-hub__month-card-image img {
	width: 100%;
	height: 100%;
	object-fit: cover;
}

.ancient-day-hub__month-card-copy {
	display: grid;
	gap: 0.35rem;
	padding: 1rem 1.05rem 1.1rem;
}

.ancient-day-hub__month-card-copy strong {
	color: #fff9e8;
	font-family: var(--ags-serif, Georgia, serif);
	font-size: 1.35rem;
}

.ancient-day-hub__month-card-copy small {
	color: var(--ancient-day-muted);
	font-size: 0.76rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ancient-day-hub__month-card-copy em {
	margin-top: 0.35rem;
	color: var(--ancient-day-gold-strong);
	font-size: 0.82rem;
	font-style: normal;
	font-weight: 800;
}

.ancient-day-hub__month-card.is-unavailable {
	pointer-events: none;
	opacity: 0.42;
}

.ancient-day-hub__month-accordions {
	display: grid;
	gap: 0.8rem;
}

.ancient-day-hub__month-details {
	scroll-margin-top: 110px;
	scroll-margin-top: 6rem;
	border: 1px solid rgba(247, 239, 216, 0.14);
	border-radius: 8px;
	background: rgba(255, 255, 255, 0.025);
}

.ancient-day-hub__month-details[open] {
	border-color: rgba(237, 201, 109, 0.38);
	background: rgba(237, 201, 109, 0.045);
}

.ancient-day-hub__month-details summary {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 1rem;
	padding: 1rem 1.15rem;
	color: #fff9e8;
	cursor: pointer;
	list-style: none;
}

.ancient-day-hub__month-details summary::-webkit-details-marker {
	display: none;
}

.ancient-day-hub__month-details summary::after {
	color: var(--ancient-day-gold-strong);
	content: "+";
	font-size: 1.4rem;
	font-weight: 400;
}

.ancient-day-hub__month-details[open] summary::after {
	content: "−";
}

.ancient-day-hub__month-details summary span {
	font-family: var(--ags-serif, Georgia, serif);
	font-size: 1.35rem;
	font-weight: 700;
}

.ancient-day-hub__month-details summary small {
	margin-left: auto;
	color: var(--ancient-day-muted);
	font-size: 0.75rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ancient-day-hub__date-grid {
	margin: 0;
	padding: 0 1.1rem 1.2rem;
}

/* Homepage discovery feature. */
.ancient-day-home-feature {
	margin: clamp(3rem, 7vw, 6rem) 0;
	border-block: 1px solid rgba(237, 201, 109, 0.24);
	background:
		radial-gradient(circle at 14% 15%, rgba(237, 201, 109, 0.12), transparent 24rem),
		linear-gradient(145deg, #111b2b 0%, #080d15 74%);
}

.ancient-day-home-feature__inner {
	display: grid;
	grid-template-columns: minmax(0, 1.05fr) minmax(320px, 0.95fr);
	gap: clamp(2rem, 6vw, 5rem);
	align-items: center;
	width: min(1120px, calc(100% - 2rem));
	margin-inline: auto;
	padding-block: clamp(3rem, 7vw, 5.5rem);
}

.ancient-day-home-feature__copy h2,
.ancient-day-article-discovery h2 {
	margin: 0.35rem 0 1rem;
	color: #fff9e8;
	font-size: clamp(2rem, 4vw, 3.4rem);
	line-height: 1.06;
}

.ancient-day-home-feature__copy > p:not(.ancient-day__eyebrow),
.ancient-day-article-discovery > p:not(.ancient-day__eyebrow) {
	max-width: 660px;
	color: var(--ancient-day-muted);
}

.ancient-day-home-feature__stats {
	display: flex;
	flex-wrap: wrap;
	gap: 0.5rem 1.1rem;
	margin-top: 1.25rem;
	color: var(--ancient-day-muted);
	font-size: 0.8rem;
	font-weight: 700;
	letter-spacing: 0.04em;
	text-transform: uppercase;
}

.ancient-day-home-feature__stats strong {
	color: var(--ancient-day-gold-strong);
	font-family: var(--ags-serif, Georgia, serif);
	font-size: 1.15rem;
}

.ancient-day-home-feature__mosaic {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 0.55rem;
	transform: rotate(0.35deg);
}

.ancient-day-home-feature__mosaic span {
	display: block;
	overflow: hidden;
	aspect-ratio: 4 / 3;
	border: 1px solid rgba(237, 201, 109, 0.24);
	border-radius: 5px;
	background: #0b111b;
}

.ancient-day-home-feature__mosaic picture { display:block; width:100%; height:100%; }

.ancient-day-home-feature__mosaic img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	filter: brightness(0.72) saturate(0.86);
}

.ancient-day-home-feature__mosaic span:nth-child(2),
.ancient-day-home-feature__mosaic span:nth-child(3) {
	transform: translateY(0.75rem);
}

/* Article-end discovery card. */
.ancient-day-article-discovery {
	margin: clamp(3rem, 7vw, 5rem) 0 1.5rem;
	padding: clamp(1.6rem, 4vw, 2.7rem);
	border: 1px solid rgba(237, 201, 109, 0.3);
	border-radius: 8px;
	background:
		radial-gradient(circle at 85% 15%, rgba(237, 201, 109, 0.1), transparent 18rem),
		linear-gradient(145deg, #111b2b 0%, #080d15 76%);
}

.ancient-day-article-discovery h2 {
	font-size: clamp(1.7rem, 3.4vw, 2.55rem);
}

@media (max-width: 900px) {
	.ancient-day-hub__hero-grid,
	.ancient-day-home-feature__inner {
		grid-template-columns: 1fr;
	}

	.ancient-day-hub__hero-stats {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}

	.ancient-day-hub__hero-stats > div {
		display: block;
		padding: 1rem;
		border: 1px solid var(--ancient-day-line);
		border-radius: 6px;
		text-align: center;
	}

	.ancient-day-hub__hero-stats span {
		display: block;
		margin-top: 0.45rem;
		text-align: center;
	}

	.ancient-day-hub__month-cards {
		grid-template-columns: repeat(2, minmax(0, 1fr));
	}
}

@media (max-width: 700px) {
	.ancient-day-hub__section-heading {
		display: block;
	}

	.ancient-day-hub__section-heading > span {
		display: block;
		margin-top: 0.85rem;
	}

	.ancient-day-home-feature__mosaic {
		max-width: 560px;
	}
}

@media (max-width: 560px) {
	.ancient-day-hub__hero-stats,
	.ancient-day-hub__month-cards {
		grid-template-columns: 1fr;
	}

	.ancient-day-hub__month-card {
		grid-template-columns: 8rem minmax(0, 1fr);
		grid-template-rows: auto;
	}

	.ancient-day-hub__month-card-image {
		min-height: 8rem;
	}

	.ancient-day-hub__month-details summary {
		align-items: flex-start;
		flex-wrap: wrap;
	}

	.ancient-day-hub__month-details summary small {
		order: 3;
		width: 100%;
		margin-left: 0;
	}

	.ancient-day-hub__date-grid {
		padding-inline: 0.75rem;
	}

	.ancient-day-home-feature__mosaic span:nth-child(2),
	.ancient-day-home-feature__mosaic span:nth-child(3) {
		transform: none;
	}
}

@media (prefers-reduced-motion: no-preference) {
	.ancient-day__text-link,
	.ancient-day-hub__month-card {
		transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
	}
}
