:root{
    --theme-dark: #000;
    --theme-light: #FFF;
    --theme-mid: #999;
    --theme-highlight: #f5c246;
}

/* ============================== */


html {
	height: 100%;
}

body {
   margin: 0;
  min-height: 100vh;      /* at least viewport height */
  display: flex;
  flex-direction: column;
	padding: 0;
	height: 100%;
	color: var(--theme-mid);
	font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
}

#wrapper {
	position: absolute;
	width: 90%;
	max-width: 1200px;
	min-height: 100%;
	left: 0;
	right: 0;
	margin: 0 auto;
}

a:link, a:active, a:visited {
	text-decoration: none;
	color: var(--theme-highlight);
}

a:hover {
	text-decoration: underline;
}

h2 {
	font-weight: 100;
}

h2.pagehead {
	color: var(--theme-highlight);
}

/* -----------------------------
   Header base
----------------------------- */

.site-header {
  position: relative;
  padding: 30px 0 0;
  z-index: 999;
}

.titlebar {
  max-width: 1600px;
  margin: 0 auto;
  position: relative;
}

.site-title {
  margin: 0 0 10px 0;
  font-size: clamp(16px, 5vw, 40px);
  font-weight: 100;
  line-height: 1;
  letter-spacing: 1px;
  padding: 0 0 20px 0;
  border-bottom: 1px solid var(--theme-mid);
}

.site-title a {
  color: var(--theme-mid);
  text-decoration: none;
}

.site-title a:hover{
  color: #fff;
}

/* =============================
   Primary nav (lean baseline)
   Expects: <ul id="nav">
============================= */

header ul#nav {
  display: flex;
  align-items: center;
  list-style: none;
  padding: 0;
  letter-spacing: 1px;
  font-weight: 100;
}

header ul#nav > li {
  display: flex;
  align-items: center;
  color: var(--theme-mid);
}

/* divider between items */
header ul#nav > li + li::before{
  content: "|";
  margin: 0 20px;
  color: var(--theme-mid);
}

/* links */
header ul#nav a{
  text-decoration: none;
  display: inline-block;
  color: var(--theme-light);
}

/* active state */
header ul#nav .current_page_item > a {
  	color: var(--theme-highlight);
}

/* =========================
   Mobile nav (<= 540px)
   ========================= */
@media (max-width: 540px) {

	nav.site-nav ul#nav {
		position: absolute;
		width: 100%;
		display: flex;
		flex-direction: column;
		align-items: center;
		gap: 10px;
		z-index: 99;
		opacity: 0;
		visibility: hidden;
		pointer-events: none;
		filter: blur(6px);
		transform: scale(0.985);
		transition:
			opacity 460ms ease,
			filter 520ms ease,
			transform 520ms ease,
			visibility 0s linear 520ms
		;
	}

	nav.site-nav.active ul#nav {
		opacity: 1;
		visibility: visible;
		pointer-events: auto;
		filter: blur(0);
		transform: scale(1);
		transition:
			opacity 460ms ease,
			filter 520ms ease,
			transform 520ms ease
		;
	}

	nav.site-nav ul#nav > li + li::before {
		content: none;
	}

	nav.site-nav ul#nav > li {
		width: 80%;
		margin: 0 0 10px;
		padding: 20px 0;

		display: flex;
		justify-content: center;

		border: 1px solid;
		background: var(--theme-dark);
		opacity: 0.9;
	}
}

/* =========================
   Nav toggle button
   ========================= */
button.nav-toggle {
	position: absolute;
	right: 0;
	top: -13px;

	width: 45px;
	height: 45px;
	padding: 0;
	margin: 0;

	display: inline-flex;
	align-items: center;
	justify-content: center;

	cursor: pointer;

	-webkit-appearance: none;
	appearance: none;
	background: none;
	border: 0;
	box-shadow: none;

	-webkit-tap-highlight-color: transparent;
}

@media (min-width: 541px) {
	button.nav-toggle {
		display: none;
	}
}

button.nav-toggle::-moz-focus-inner {
	border: 0;
}

button.nav-toggle:focus {
	outline: none;
}

button.nav-toggle:focus-visible {
	outline: 2px solid var(--theme-highlight);
	outline-offset: 3px;
}

button.nav-toggle:hover i {
	opacity: 0.85;
}

button.nav-toggle i {
	font-size: 20px;
	line-height: 1;
	color: var(--theme-light);
}

.gallery__main h2.img__title {
    position: relative;
    width: 100%;
    font-size: 1.2em;
	letter-spacing: 1px;
	font-weight: 100;
    text-align: center;
    color: var(--theme-light);
}

.content {
	width: 80%;
	margin: clamp(40px, 10vw, 125px) auto;
	line-height: 1.75em;
	opacity: 1;
	transition:
		opacity 460ms ease 0.1s,
		filter 520ms ease 0.1s,
		transform 520ms ease 0.1s
	;
}

.content.slider {
	margin: 40px auto;
}

@media (max-width: 640px) and (orientation: portrait) {
	.content.slider {
		width: 100%;
	}
}

@media (max-width: 540px) {
	.content.inactive {
		pointer-events: none;

		opacity: 0.25;
		filter: blur(6px);
		transform: scale(0.985);

		transition:
			opacity 460ms ease,
			filter 520ms ease,
			transform 520ms ease
		;
	}
}

/* ===============================
   Columns template only
   =============================== */

.page-template-columns .content {
	width: 100%;
}

.page-template-columns .copyblock{
  width: min(80%, 1100px);
	margin: 80px auto;
	height: 500px;
	column-count: 2;
	column-gap: 150px;
	column-fill: auto;
	overflow-wrap: anywhere;
	word-break: break-word;
	text-align: left;
}

.page-template-columns .copyblock p{
	margin: 0;
	line-height: 30px;
}

.page-template-columns .copyblock a{
	overflow-wrap: anywhere;
	word-break: break-word;
}

.page-template-columns .copyblock br{
	line-height: 30px;
}

@media (max-width: 800px){
	.page-template-columns .copyblock{
		column-count: 1;
		column-gap: 0;
		height: auto;
		text-align: center;
	}
}


