/* Extra styles for the app pages (Solo Miner Log Manager, Solo Miner Reader, Community PC Timer).
   Kept in its own file so it is never served stale from a browser's cache of style.css. */

/* Compact banner for the app pages: a shorter hero so the page content starts above the fold.
   The id+class selector also wins over the padding set in the narrower-screen stylesheets. */
#banner.compact {
	padding: 2.5em 0;
}

	#banner.compact .inner {
		padding: 2em 4em 1.5em 4em;
	}

	#banner.compact .inner p {
		margin-top: 1.25em;
		padding-top: 1.25em;
	}

	#banner.compact .inner .actions {
		margin-top: 1.25em;
	}

/* "Scroll for info" + big down-arrow under the banner button: shows there is more to read and jumps to it. */
#banner .scroll-cue {
	border-bottom: none;
	color: #fff;
	display: block;
	font-size: 0.8em;
	letter-spacing: 0.15em;
	line-height: 1.2;
	margin: 1.25em 0 0 0;
	opacity: 0.8;
	text-decoration: none;
	text-transform: uppercase;
}

	#banner .scroll-cue .icon {
		display: block;
		font-size: 3em;
		line-height: 0.9;
	}

	#banner .scroll-cue:hover {
		opacity: 1;
	}

html {
	scroll-behavior: smooth;
}

/* On phones the theme forces buttons onto one line and clips them ("GET IT FROM THE ..."): let the banner button wrap. */
@media screen and (max-width: 736px) {
	#banner .inner .button {
		height: auto;
		line-height: 1.5em;
		padding: 0.85em 1.25em;
		white-space: normal;
	}
}
