/* GLOBAL — reset, accessibility basics, and the layout skeleton.
   Loaded on every page, before style.css. Nothing here names a color or a
   font directly: every value of that kind is a variable set in style.css.
------------------------------------------------------------------------------------*/

/* RESET - Josh Comeau reset+
------------------------------------------------------------------------------------*/
*, *::before, *::after { box-sizing: border-box;  }
* {margin: 0;}
html {height: 100%; -webkit-text-size-adjust: 100%; text-size-adjust: 100%;}
body {line-height: calc(1em + 0.5rem); -webkit-font-smoothing: antialiased;width: 100%;min-height: 100%;}
img, picture, video, canvas, svg {display: block;max-width: 100%;height: auto;}
input, button, textarea, select {font: inherit;}
p, h1, h2, h3, h4, h5, h6, li, dd, blockquote {overflow-wrap: break-word;}
a, a:hover  { text-decoration:none;}
seamless-flyout, #loom-companion-mv3 {display: none;} /* for clean screenshots - rhm */

/* SMOOTH MOVEMENT TO A SECTION when its link is chosen — and none at all for
   anyone whose device asks for reduced motion.
************************/
html { scroll-behavior: smooth; }

/* A section reached by a link stops a little below the top of the window,
   so its heading is not hidden under the edge of the screen. */
:target, [id] { scroll-margin-top: var(--scroll-offset, 1.5rem); }

@media (prefers-reduced-motion: reduce) {
	html { scroll-behavior: auto; }
	*, *::before, *::after {
		transition-duration: 0.01ms !important;
		animation-duration: 0.01ms !important;
		animation-iteration-count: 1 !important;
	}
}

/* FOCUS - for accessibility: a clearly visible outline on whatever the
   keyboard is on. Never removed, only moved off for mouse clicks.
************************/
:is(a, button, input, textarea, select, summary, [tabindex]):focus-visible {
	outline: 2px solid var(--color-focus);
	outline-offset: 3px;
	border-radius: 2px;
}

:is(a, button, input, textarea, select, summary, [tabindex]):focus:not(:focus-visible) {
	outline: none;
}

/* Text meant only for screen readers. */
.screen-reader-text {
	border: 0;
	clip: rect(1px, 1px, 1px, 1px);
	clip-path: inset(50%);
	height: 1px;
	margin: -1px;
	overflow: hidden;
	padding: 0;
	position: absolute;
	width: 1px;
	word-wrap: normal !important;
}

/* "Skip to the main text" — the first thing the keyboard reaches; invisible
   until it is focused. */
.skipLink {
	position: absolute;
	left: 1rem;
	top: -10rem;
	z-index: 1000;
	padding: 0.6rem 1rem;
	background: var(--color-background);
	color: var(--color-text);
	border: 1px solid var(--color-text);
}
.skipLink:focus { top: 1rem; }

/* LAYOUT GENERAL
   The required structure for every section of every page:

   <section>                      full-width band (backgrounds go here)
     <div class="wrapper">        side padding on all screens
       <div class="sectionInner"> space above and below
         <div class="container">  the maximum content width, centered
================================================================================== */

.wrapper {  /* for the guaranteed side-margins almost always needed */
	padding: 0 4%;
}

.sectionInner { /* for sections top/bottom space */
	width: 100%;
	padding: var(--section-space, 3rem) 0;
}

.container {
	width: min(var(--container-max, 80.5rem), 100%);
	margin: 0 auto;
}

.flex, .flexContainer, .flexCol {
	display: flex;
	flex-direction: column; /* set breakpoint for rows in style.css */
}

.flexRow {
	display: flex;
	flex-direction: row;
}

.grid {
	display: grid;
}

.mobileOnly {display:block;}
.desktopOnly {display:none;}

.center{
	text-align: center;
	justify-items: center;
	align-items: center;
	justify-content: center;
}

@media (min-width: 601px) { /* BP-MOB-CONTENT */
	.mobileOnly {display:none;}
	.desktopOnly {display:block;}
}

/* EDIT LINK — shown only to someone logged in. The class name is fixed:
   the toolbar's on/off switch looks for .editLink exactly.
------------------------------------------------------------------------------------*/
p.editLink	{
	position: relative;
	z-index: 99;
	margin: 1.5rem 0 0;
	font-family: var(--font-sans);
	max-width: none;
}
p.editLink .svg-icon	{
	display: inline-block;
}

p.editLink a	{
	font-size: 14px;
	padding: 2px 4px 0px 5px;
	margin-right: 3px;
	border-radius: 2px;
	color: var(--color-editLink);
	border: 0;
}
p.editLink a:hover	{
	background: #66ff66;
}

/*section.editLinkSection .sectionInner { padding: 0 0 1rem; }*/

/* NOTHING HERE
------------------------------------------------------------------------------------*/
.nothingHere { padding: 4rem 4%; text-align: center; }
