/* --------------------- Layout styles --------------------- */

html {
	font-size: 18px;
}

@media screen and (min-width:1050px) {
	html {
		font-size: 20px;
	}
}

body {
	position: relative;
	width: 45em;
	margin: 0 auto;
	font-family: "Source Sans Pro", sans-serif;
	line-height: 1.5;
	color: #1f1f1f;
	background-color: #eee;
}

ul, ol {
	margin: 0;
	padding: 0;
}

ul li {
	list-style: none;
}

.nav-menu {
	margin: auto;
	max-width: 45em;
	position: relative;
	display: flex;
	flex-wrap: wrap;
}

.site-subnav {
	position: absolute;
	top: 100%;
	margin-left: -1em;
	z-index: 1;
	padding-top: .5em;
	background-color: white;
	box-shadow: 0 .5em 1em -.25em rgba(0,0,0,.5);
	opacity: 0;
	scale: 0;
	transition: opacity 200ms ease-in-out, scale 0s 200ms;
}

.nav-menu li:hover .site-subnav {
	opacity: 1;
	scale: 1;
	transition: opacity 200ms ease-in-out, scale 0s 0s;
}

.nav-submenu .nav-submenu {
	margin-left: 1em;
}

.home-link {
	position: relative;
	margin-right: auto;
}

.home-link a {
	margin-right: .25em;
	padding: .75rem 0 1.75rem 3em;
	z-index: 10;
	text-transform: uppercase;
	letter-spacing: .1em;
	font-weight: 900;
	line-height: 1;
}

.logo {
	position: absolute;
	left: 0;
	top: .2em;
	display: inline-block;
	font-family: "Superplexus Icons";
	font-weight: normal;
	font-size: 2.5em;
	line-height: 1;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
}

.byline {
	position: absolute;
	left: 3rem;
	bottom: 0;
	padding-bottom: .7rem;
	font-size: 16px;
	line-height: 1.25;
}

.block-link {
	display: inline-block;
	padding: 1rem 0;
}

.nav-menu > li + li {
	margin-left: 1.5rem;
}

.list-link {
	display: block;
	padding: 0 1em .5em;
}

.bullet-list,
.bare-list,
.number-list {
	margin: 1.5em 0;
}

.text-heading + ul,
.text-heading + ol {
	margin-top: 0;
}

.bullet-list li {
	position: relative;
}

.bullet-list li:before {
	position: absolute;
	right: 100%;
	content: "•";
	margin-right: .25em;
}

.columns {
	-webkit-column-gap: 1em;
	   -moz-column-gap: 1em;
			column-gap: 1em;
}

.columns.two {
	-webkit-column-count: 2;
	   -moz-column-count: 2;
			column-count: 2;
}

.columns.three {
	-webkit-column-count: 3;
	   -moz-column-count: 3;
			column-count: 3;
}

.columns.four {
	-webkit-column-count: 4;
	   -moz-column-count: 4;
			column-count: 4;
}

.media {
	display: flex;
	margin: 1.5em 0;
	align-items: center;
}

.media--image {
	width: 96px;
	padding-right: 1.5em;
	flex: none;
}

.media--text {}

.page-content {
	position: relative;
	background-color: white;
	margin: 0 auto 3.5em;
	width: 33em;
	padding: 4em 6em;
	box-shadow: 0 0 1em -.5em rgba(0,0,0,.5);
}

.page-title, h2 {
	font-weight: normal;
	line-height: 1.5;
}

.page-title {
	margin: 0 0 .75em;
	font-size: 200%;
}

h2 {
	position: relative;
	margin: 1.5em 0;
	font-size: 150%;
}

h3 {
	font-size: 120%;
	font-weight: 600;
}

.text-heading {
	margin: 2.5em 0 .5em;
	font-size: 1em;
	font-weight: 600;
}

.definition {
	margin: 0;
	padding-bottom: 1.5em;
}

.definition .term {
	font-weight: 600;
}

.definition .sense {
	display: list-item;
	list-style: outside decimal;
}

.definition .source {
	font-style: italic;
}

.page-content p {
	margin: 0;
}

.page-content p + p {
	margin-top: 1.5em;
}

.page-title + .art-label {
	margin-top: -1.5em;
}

.hanging {
	box-sizing: border-box;
	position: absolute;
/* 	right: calc(100% - 6em); */
	left: 0;
	width: 6em;
	padding-right: .5em;
	text-align: right;
}

figure {
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
	margin: 1.5em 0;
	width: 100%;
}

figure video {
	max-width: 100%;
}

figure:not(.flex-grid) .image:not(.break) + .image {
	margin-left: 1em;
}

.break {
	flex-basis: 100%;
}

.flex {
	flex: 1;
}

.gallery {
	margin: 1.5em 0;
	display: grid;
	gap: 1em;
}

figcaption {
	flex-basis: 100%;
	padding-top: .5rem;
	color: #555;
	text-align: right;
	font-size: 87.5%;
	line-height: 1.5rem;
}

figcaption > em {
	font-style: normal;
}

iframe,
embed {
	margin: 1.5em 0;
}

blockquote {
	margin: 1.5em 3em;
}

hr {
	border: 0;
	border-bottom: 1px solid #dddddd;
}

/* --------------------- Image styles --------------------- */

img {
	max-width: 100%;
	border: 0;
	align-self: center;
}

img[src=""] {
	display: inline-block;
	width: 33em;
	height: 18em;
	margin: 1.5em 0;
	background-color: #eee;
}

/* --------------------- Link styles --------------------- */

a {
	color: #1857ff;
	text-decoration: none;
	border: 0;
	cursor: pointer;
}

.page-content a {
	border-bottom: 1px dotted;
}

a:visited {
	color: #090081;
}

a:hover, a:focus {
	outline: 0;
	border-bottom-style: solid;
}

.page-content a:focus {
	box-shadow: 0 0 0 .2em #1857ff, inset 0 0 0 1em #1857ff;
	border: 0;
	color: white;
}

a:active {
	color: #ffd700;
}

a.image {
	display: block;
	border-bottom: 0;
	text-align: center;
}

a.media--image {
	border-bottom: 0;
}

.nav-link,
.nav-link:visited {
	color: #1f1f1f;
	border: 0;
	transition: color 200ms ease-in-out;
}

.nav-link:hover,
.nav-link:focus {
	color: #1857ff;
}

.nav-link:active {
	color: #ffd700;
	transition-duration: 0s;
}
