/* Front-page-only overrides. Loaded after all shared theme styles. */
body.shimajitsu-front-page #container {
	border-top: 1px solid #02A03F;
}

@media (max-width: 767px) {
	/* Align the front-page logo with the home layout. */
	body.shimajitsu-front-page #header .rogo {
		justify-self: start;
		align-self: start;
		height: auto;
	}

	body.shimajitsu-front-page #header_under {
		display: none;
	}

	/* The hidden introduction formerly supplied this spacing. */
	body.shimajitsu-front-page #container {
		padding-top: 10px;
	}

	/*
	 * The front page replaces the shared drawer with this static equivalent.
	 * Keep the 80vw presentation immediately above News & Topics.
	 */
	body.shimajitsu-front-page #wrap > .home-primary-guidance {
		float: none;
		width: 80vw;
		height: auto;
		margin: 0 calc(10vw - 1rem) 1rem;
		padding: 1rem;
		overflow: visible;
		text-align: start;
	}

	/* The shared sidebar remains available on desktop only. */
	body.shimajitsu-front-page #wrap > .sidebar-drawer {
		display: none;
	}

	/* Mobile-specific News & Topics artwork. */
	body.shimajitsu-front-page #newsArea .news-area__header {
		position: relative;
		width: 100%;
		aspect-ratio: 650 / 82;
		margin: 0;
		padding: 0;
		background: url(../../images/newsTitle-mobile.png) no-repeat center;
		background-size: 100% auto;
	}

	body.shimajitsu-front-page #newsArea .news-area__header > div {
		position: absolute;
		width: 1px;
		height: 1px;
		overflow: hidden;
		clip: rect(0, 0, 0, 0);
		white-space: nowrap;
	}

	body.shimajitsu-front-page #newsArea .news-area__title,
	body.shimajitsu-front-page #newsArea .news-area__subtitle {
		margin: 0;
		padding: 0;
		border: 0;
		font: inherit;
	}

	body.shimajitsu-front-page #newsArea .news-area__archive-link {
		position: absolute;
		inset: 0;
		overflow: hidden;
		text-indent: 100%;
		white-space: nowrap;
	}
}

@media (min-width: 768px) {
	body.shimajitsu-front-page #wrap > .home-primary-guidance {
		display: none;
	}

	body.shimajitsu-front-page #wrap > .sidebar-drawer {
		display: block;
	}
}
