@font-face {
	font-family: 'Gill Sans';
	src: url('../fonts/GillSansMTPro-Book.otf') format('opentype');
	font-weight: 300;
	font-style: normal;
}
@font-face {
	font-family: 'Gill Sans';
	src: url('../fonts/GillSansMTPro-BookItalic.otf') format('opentype');
	font-weight: 300;
	font-style: italic;
}
@font-face {
	font-family: 'Gill Sans';
	src: url('../fonts/GillSansMTPro-Bold.otf') format('opentype');
	font-weight: 600;
	font-style: normal;
}
@font-face {
	font-family: 'Gill Sans';
	src: url('../fonts/GillSansMTPro-Light.otf') format('opentype');
	font-weight: 200;
	font-style: normal;
}

h1, h2, h3, h4, h5, h6 {
	font-weight: 600;
	margin-top: 0;
}

h1 {
	/* line-height: 1em; */
}

p {
	margin: 0 0 1em;
}

em, i {
	font-style: italic;
}

strong, b {
	font-weight: 600;
}

blockquote {
	margin: 0 1rem;
	font-style: italic;
}

blockquote em, blockquote i {
	font-style: normal;
}

code {
	font-size: .75em;
	padding: .125em .25em;
	background-color: #EEEEEE;
	font-family: ui-monospace, "Cascadia Mono", "Segoe UI Mono", "Liberation Mono", Menlo, Monaco, Consolas, monospace;
}

ul, ul ul,
ol, ol ol {
	margin-left: 0;
	margin-right: 0;
}

button, a {
	font-family: inherit;
	font-size: inherit;
	transition: opacity 250ms;
}

button:hover, a:hover {
	opacity: .66;
}

button,
a.post-edit-link {
	background-color: #8CB6E3;
	background-color: rgba(50,125,205,.55);
	color: white;
	text-decoration: none;
	border: 0;
	border-radius: 0;
}

a.post-edit-link {
	padding: .75rem .75rem .25rem;
	position: absolute;
	top: -0.66rem;
	right: 0;
}

button.menu-toggle {
	padding: .66rem .75rem .25rem;
	text-transform: uppercase;
	font-size: 1rem;
	margin-bottom: .5rem;
}

a, a:visited {
	color: #5A82B4;
	text-decoration: none;
}

figure {
	margin: 0;
}

.wp-block-columns.is-layout-flex {
	gap: 2rem;
}

.hidden {
	visibility: hidden;
	/* display: none; */
}

.page-content,
.entry-content,
.entry-summary {
	margin: 0;
}

html, body {
	margin: 0;
	padding: 0;
}

html {
	font-size: 16px;
}

body {
	color: black;
	display: flex;
	flex-direction: column;
	font-family: 'Gill Sans', sans-serif;
	font-weight: 300;
	font-size: 1.5rem;
	line-height: 1.5em;
	width: 100vw;
	height: 100vh;
	overflow: auto;
}

body.home {
	color: white;
	background-color: black;
}

body.home:not(.custom-background) {
	background-image: url(../images/01-COVER.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}

body.custom-background:not(.home) {
	background-image: none !important;
}

body.post, body.page {
	margin: 0;
}

#wpadminbar {
	/* position: static; */
	/* display: none; */
}

#page {
	flex: 1;
	display: flex;
	flex-direction: column;
	width: 100vw;
	/* height: 100vh; */
  padding: 0 2rem;
}

main#primary {
	flex: 1;
	position: relative;
}

body.home main#primary .entry-header,
body.home .site-footer .main-navigation,
aside#secondary,
main#primary .entry-footer,
div#comments {
	display: none;
}

.site-header {
	display: flex;
	gap: 6rem;
}

.site-header .header-image {
	flex: 1;
	height: 16rem;
	background-image: url(../images/01-COVER.webp);
	background-size: cover;
	background-repeat: no-repeat;
	background-position: 50% 55%;
}

body.home .site-header .header-image {
	height: 8rem;
}

.main-navigation .site-header {
	display: none;
}

.main-navigation .site-toggle {
	flex: 1;
	display: flex;
	align-items: stretch;
}

body.home .site-header .header-image {
	background-image: none !important;
}

.site-branding {
	align-self: end;
}

.site-branding .site-title {
	font-weight: 200;
	font-size: 4.5rem;
	line-height: 1.1em;
	letter-spacing: .05em;
	margin: 0;
	margin-bottom: -0.125em;
}

.site-branding .site-title a,
.site-footer .site-info a {
	color: inherit;
	text-decoration: none;
}

.site-branding .site-description,
.site-footer .site-info p,
.entry-meta .posted-on {
	font-size: 1rem;
	margin: 0 0 -.25em;
}

.entry-meta {
	margin: .5rem 0 1rem;
	/* font-weight: 600; */
}

.archive .post .subtitle {
	font-style: italic;
	margin: 0;
}

.site-footer .site-info {
	display: flex;
	gap: 3rem;
	height: 4rem;
	align-items: start;
}

.site-footer .site-info p {
	line-height: 1.1em;
	margin-bottom: 1rem;
}

.site-footer .site-info .copyright {
	flex: 1;
}

nav#site-navigation {
	position: sticky;
	top: 0;
	margin-top: 0;
	padding: 1.5rem 0 .5rem;
	background-color: white;
	z-index: 1
}

body.home nav#site-navigation {
	background-color: transparent;
}

.main-navigation {
	overflow: visible;
	margin-bottom: 18rem;
}

.site-footer .main-navigation {
	margin-bottom: 12rem;
}

.main-navigation  ul.nav-menu {
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 1rem;
	width: 100%;
	font-size: 1.25rem;
}

.main-navigation ul.nav-menu li {
	position: relative;
	overflow: visible;
}

.main-navigation ul.nav-menu a {
	line-height: 1em;
	padding: .5em 0 .1em;
	color: inherit;
	/* text-transform: uppercase; */
	transition: opacity 250ms;
}

.main-navigation ul.nav-menu > li:hover > a {
	opacity: 1;
}

.main-navigation ul.nav-menu a.reduced {
	opacity: .24;
}

.main-navigation ul.sub-menu a:hover {
	opacity: .66;
}

.main-navigation ul.sub-menu {
	display: none;
	position: absolute;
	width: auto;
	top: 100%;
	left: auto;
	right: 0;
	float: none;
	flex-direction: column;
	gap: .25rem;
	padding: .5rem 0 0;
	box-shadow: none;
	background-color: white;
}

body.home .main-navigation ul.sub-menu {
	background-color: transparent;
}

.main-navigation li:hover ul.sub-menu {
	/* display: block; */
}

.main-navigation ul.sub-menu li:not(:last-child) {
	/* display: flex; */
	margin-bottom: .25rem;
}

.main-navigation ul.sub-menu a {
	display: block;
	white-space: nowrap;
	width: auto;
	font-size: .8rem;
	line-height: .75em;
	text-align: right;
	color: white;
	background-color: black;
	padding: .45rem .25rem .2rem;
}

body.home .main-navigation ul.sub-menu a {
	background-color: transparent;
	/* padding: .25rem 0; */
	/* background-color: #8CB6E3; */
}

.entry-header {
	margin-bottom: 2rem;
}

.entry-header * {
	margin-bottom: 0;
	line-height: 1.25em;
}

.site-main section.grid-layout h2 {
	margin: 1rem 0 0;
	font-weight: 300;
}

.site-main section.grid-layout h2 a {
	color: inherit;
}

.entry-content {
	margin: 0;
}

body.home .site-main,
body.home .site-main .entry-content,
body.home .site-main .entry-content article {
	display: flex;
	flex-direction: column;
	flex: 1;
	justify-content: end;
	/* align-items: end; */
}

.entry-content section.wp-block-group > div,
.site-main section.grid-layout  {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
	/* grid-template-rows: masonry; */
	gap: 2rem;
}

.entry-content section aside.wp-block-group {
	/* background-color: #EBEBE0; */
	/* background-color: rgba(155,155,100,.20); */
	/* overflow: hidden; */
	font-size: 1.25rem;
	line-height: 1.33em;
}

.entry-content section main.wp-block-group {
	grid-column: 2 / -1;
}

.entry-content section .wp-block-group.has-background {
	padding: 1rem 1rem 0;
}

.entry-content section figure,
.site-main section.grid-layout .post-thumbnail {
	display: flex;
	aspect-ratio: 1/1;
	overflow: hidden;
	background-color: black;
	position: relative;
}

/* .entry-content section figure:hover a {
	opacity: 1;
}

.entry-content section figure a.reduced {
	opacity: .66;
} */

.entry-content section figure a,
.site-main section.grid-layout .post-thumbnail a {
	flex: 1;
}

.entry-content section figure img,
.site-main section.grid-layout .post-thumbnail img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	object-position: 50% 50%;
}

.entry-content section figure figcaption {
	font-size: 1rem;
	line-height: 1.25em;
	padding: .45rem 1rem .2rem;
	margin: 0;
	color: white;
	background-color: rgba(0,0,0,.33);
	position: absolute;
	bottom: 0;
	right: 0;
	left: 0;
	transition: opacity 750ms;
	opacity: 0;
}

.entry-content section figure:hover figcaption {
	opacity: 1;
}

.spotify-columns .wp-block-column {
	display: flex;
	flex-direction: column;
	gap: 2rem;
}

.wp-block-embed-spotify {
	line-height: 0;
}

@media screen and (max-width: 400px) {

	#page {
	  padding: 0 1rem;
	}
}

@media screen and (max-width: 600px) {

	#masthead {
		display: none;
	}

	#mini-masthead {
		display: flex;
	}

	nav#site-navigation {
		padding-top: 1rem;
	}

	.site-header {
		gap: 2rem;
	}

	.site-header .header-image {
		/* background-image: none; */
	}

	.site-branding .site-title {
		font-size: 2.5rem;
	}

	.site-footer .site-info span {
		display: block;
	}

	.main-navigation {
		overflow: visible;
		margin-bottom: 8rem;
	}

	.site-footer .main-navigation {
		display: none;
	}

	.main-navigation ul.sub-menu {
		top: .5rem;
		left: auto;
		right: 0;
		padding: 0 0 0 .5rem;
	}
}

@media screen and (max-width: 800px) {

	.site-header {
		gap: 2rem;
	}

	.entry-content section main {
		grid-column: auto;
	}
}

@media screen and (min-width: 1600px) {

	html {
		font-size: 18px;
	}

	.entry-content section main {
		grid-column: 2 / span 3;
	}
}

@media (prefers-color-scheme: dark) {

	body:not(.home) {
		color: rgba(255,255,255,.9);
		background-color: black;
	}

	button:hover, a:hover,
	.main-navigation ul.sub-menu a:hover {
		opacity: .85;
	}

	img {
    opacity: .85;
    transition: opacity 250ms ease-in-out;
  }

  img:hover {
    opacity: 1;
  }

	#masthead .header-image {
		opacity: .85;
  }

	nav#site-navigation,
	.main-navigation ul.sub-menu {
		background-color: black;
	}

	body:not(.home) .main-navigation ul.sub-menu a {
		color: black;
		background-color: rgba(255,255,255,.9);
	}

	body:not(.home) .main-navigation ul.nav-menu a.reduced {
		opacity: .36;
	}

	.entry-content wp-block-group.has-background {
		/* background-color: rgba(155,155,100,.33); */
		color: black;
		mix-blend-mode: hard-light;
		opacity: .69;
	}

	.entry-content section figure:hover a,
	.entry-content section figure a:hover,
	.site-main section.grid-layout .post-thumbnail:hover,
	.site-main section.grid-layout .post-thumbnail:hover img {
		opacity: 1;
	}
}

/* :root aside.has-bc-blue-background-color {
	background-color: rgba(49,173,206,.24) !important;
} */
