/* ======================================================
   GLOBAL VARIABLES
====================================================== */

:root {
	--bg: #ffffff;
	--fg: rgba(0,0,0,0.85);
	--fg-soft: rgba(0,0,0,0.6);
	--fg-faint: rgba(0,0,0,0.3);
	--line: rgba(0,0,0,0.15);

	--space-xs: .5rem;
	--space-sm: 1rem;
	--space-md: 2rem;
	--space-lg: 3rem;

	--type-body: "Diatype Variable", Icons;
	--type-mono: "Monument Grotesk Mono", Icons;
}

/* ======================================================
   RESET / BASE
====================================================== */

#toolset { display: none; }

body {
	background: var(--bg);
	color: var(--fg);
	font-family: var(--type-body);
	font-size: 1.4rem;
	line-height: 1.35;
}

img {
	border: 0;
	padding: 0;
	vertical-align: bottom;
}

a {
	color: inherit;
	text-decoration: none;
}

a:active { opacity: 0.6; }

/* ======================================================
   TYPOGRAPHY
====================================================== */

i, em { font-style: italic; }
b, strong { font-weight: 600; }
s { text-decoration: line-through; }

sub { top: 0.3em; position: relative; }
sup { top: -0.4em; position: relative; }

hr {
	height: 1px;
	border: 0;
	background: var(--line);
	margin: var(--space-md) 0;
}

blockquote {
	padding-left: 1rem;
	border-left: 1px solid var(--line);
	color: var(--fg-soft);
}

/* ======================================================
   EDITOR STYLES
====================================================== */

[data-predefined-style="true"] bodycopy {
	font-family: "Optician Sans", Icons;
	color: var(--fg-soft);
	font-size: 1.2rem;
	line-height: 1.35;
	font-style: normal;
	font-weight: 400;
}

[data-predefined-style="true"] h1 {
	font-size: 3rem;
	line-height: 1.1;
	font-weight: 400;
	color: var(--fg);
}

[data-predefined-style="true"] h2 {
	font-size: 2.1rem;
	line-height: 1.2;
	font-weight: 400;
	color: var(--fg);
}

[data-predefined-style="true"] small {
	font-family: "Diatype Mono Variable", Icons;
	font-size: 1rem;
	color: #000;
	line-height: 1.1;
	font-style: normal;
	font-weight: 200;
	font-variation-settings: 'slnt' -0.6, 'MONO' 0;
}

/* ======================================================
   CONTENT
====================================================== */

.content img,
[image-gallery="slideshow"] {
	margin-bottom: var(--space-md);
}

.gallery_image_caption {
	margin-top: 1rem;
	font-family: var(--type-mono);
	font-size: 1.2rem;
	color: var(--fg-faint);
	line-height: 1.2;
}

/* ======================================================
   LAYOUT / PADDING
====================================================== */

[data-css-preset] .content_padding {
	padding: var(--space-lg);
}

.mobile .content_padding {
	padding: var(--space-md);
}

/* ======================================================
   THUMBNAILS
====================================================== */

.thumbnails {
	background: transparent;
}

.thumbnails .thumb_image {
	outline: 1px solid rgba(0,0,0,0.06);
	outline-offset: -1px;
}

.thumbnails .title {
	margin-top: .8rem;
	font-size: 1.4rem;
	font-weight: 400;
	color: var(--fg);
}

.thumbnails .tags {
	margin-top: .3rem;
	font-family: var(--type-mono);
	font-size: 1.2rem;
	color: var(--fg-faint);
}

/* ======================================================
   SITE MENU BUTTON
====================================================== */

#site_menu_button {
	position: fixed;
	top: var(--space-lg);
	right: var(--space-lg);
	font-size: 22px;
	color: var(--fg);
}

/* ======================================================
   SITE MENU
====================================================== */

#site_menu {
	background: rgba(20,20,20,0.95);
	font-size: 18px;
	padding: 2rem 2rem 4rem;
}

#site_menu a {
	color: rgba(255,255,255,0.75);
}

#site_menu a.active {
	opacity: 0.4;
}

/* ======================================================
   QUICK VIEW
====================================================== */

.quick-view-caption {
	font-family: var(--type-mono);
	font-size: 1.2rem;
	color: white;
}

.quick-view-caption span {
	background: rgba(0,0,0,0.4);
	padding: .4rem .8rem;
}

/* ======================================================
   AUDIO PLAYER
====================================================== */

.audio-player {
	max-width: 36rem;
	height: 3.2rem;
	outline: 1px solid var(--line);
	background: var(--bg);
	font-family: var(--type-body);
	font-size: 1.3rem;
}

.audio-player .progress {
	background: rgba(0,0,0,0.08);
}

.audio-player .progress-indicator {
	border-color: var(--fg);
}
