/*
 *
 * @info Site footer (snippets/site/footer.php)
 * @path assets/css/snippets/footer.css
 *
 */

 

/*----------  Generic  ----------*/

#siteFooter {

	/* no surface of its own: page colours, only the green bars on top;
	   links take the site's default styles (blue on hover) */
	background-color: transparent;
	position: relative;
	/* the strip, then air before the links */
	padding-block-start: calc(2.5ch + var(--space-m));
	/* on iPhones, room for the home indicator (viewport-fit=cover in head.php) */
	padding-block-end: calc(var(--space-m) + env(safe-area-inset-bottom, 0px));
	padding-inline: calc(var(--space-0-s) + var(--space-xs-s) + env(safe-area-inset-left, 0px));

	/* the wordmark's bars (bars.svg: five lines, 2.4 to 5.7 of 50 units
	   thick), edge to edge, mirrored: the heavy bar meets the page above,
	   the hairlines lead into the footer. One gradient over the full width,
	   not the SVG tiled: tiles leave 1px seams where they meet */
	&::before {
		--bar: var(--color-accent);
		content: "";
		position: absolute;
		inset-block-start: 0;
		inset-inline: 0;
		height: 2.5ch;
		background-image: linear-gradient(to top,
			transparent 0 14.6%,
			var(--bar) 14.6% 19.4%,
			transparent 19.4% 32.3%,
			var(--bar) 32.3% 38.9%,
			transparent 38.9% 49.7%,
			var(--bar) 49.7% 57.9%,
			transparent 57.9% 69.5%,
			var(--bar) 69.5% 79.3%,
			transparent 79.3% 89.3%,
			var(--bar) 89.3% 100%);
		pointer-events: none;
	}

	nav {
		gap: 2ch;
		flex-flow: row;
		padding-inline-end: 5ch;
		flex-wrap: wrap;
	}

	
	a {
		padding-block: .3ch!important;
		display: block;		 
	}

aside {
	margin-block-start: calc(var(--space-m));
	/* text-align: center; */
}
	
	/* menu {
		--grid-column: span 1;
		--flex-direction: column;
	} */
}


/* [data-navigation-type*="footer"] {
	--grid-column: l-start / r-end;
	--grid-row: 1;
	padding-inline: .3ch; */
	
	
	/* @media (min-width: 600px) {
		*:not(:last-of-type):after {
			content: "/";
			padding-inline: .3ch;
		}
	} */
