/*
	Theme Name: Tatum Edge Art
	Version: 1.0.0
	Author: Roland Szabó
	Author URI: https://rolandszabo.design/
	Description: A WordPress theme hand-crafted with ♥ by your friend, Roland.
*/



/* RESET CSS */

html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
	margin: 0;
	padding: 0;
	border: 0;
	font-size: 100%;
	font: inherit;
	vertical-align: baseline;
}
html { scroll-behavior: smooth; }
body { line-height: 1; }
a { text-decoration-skip-ink: auto; }
a[href^="tel"] { color: inherit; text-decoration: none; }
button { outline: 0; }
ol, ul { list-style: none; }
blockquote, q { quotes: none; }
blockquote:before, blockquote:after, q:before, q:after { content: ""; content: none; }
q { display: inline; font-style: italic; }
q:before { content: '"'; font-style: normal; }
q:after { content: '"'; font-style: normal; }
textarea, input[type="text"], input[type="button"], input[type="submit"], input[type="reset"], input[type="search"], input[type="password"] { -webkit-appearance: none; appearance: none; border-radius: 0; }
/* input[type="search"] { -webkit-appearance: textfield; } */
table { border-collapse: collapse; border-spacing: 0; }
th, td { padding: 2px; }
big { font-size: 120%; }
small, sup, sub { font-size: 80%; }
sup { vertical-align: super; }
sub { vertical-align: sub; }
kbd, tt { font-family: courier; font-size: 12px; }
ins { text-decoration: underline; }
del, strike, s { text-decoration: line-through; }
dt { font-weight: bold; }
address, cite, var { font-style: italic; }
article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { display: block; }
* { box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

.visually-hidden:not(:focus):not(:active) {
	position: absolute !important;
	width: 1px;
	height: 1px;
	overflow: hidden;
	white-space: nowrap;
	clip: rect(1px 1px 1px 1px);
	clip: rect(1px, 1px, 1px, 1px);
}



/* VARIABLES */

:root {
	--sans: "Fahkwang", sans;
	--serif: "Lora", serif;

	--color: #e57839;

	--bg: #e8e1d6;
	--bg-dark: #ccc5b8;
	--bg-light: #f2ede4;
	--text: #595650;
	--text-dark: #33312e;
	--text-light: #807b73;

	--transition-duration: .25s;
}



/* BASE STYLES */

html {
	font-size: 62.5%;
}

body {
	display: flex;
	flex-direction: column;
	min-height: 95vh;
	font-size: 1.6rem;
	font-family: var(--serif);
	font-style: normal;
	color: var(--text);
	letter-spacing: -.25px;
	line-height: 1.6;
	background-color: var(--bg);
}

img {
	max-width: 100%;
	height: auto;
}

.main {
	flex-grow: 1;
	padding-top: 2rem;
	padding-bottom: 2rem;
}

.container {
	max-width: 120rem;
	margin-left: auto;
	margin-right: auto;
	padding-left: 2rem;
	padding-right: 2rem;
}

.container--thin {
	max-width: 70rem;
}

.half {
	display: grid;
	grid-gap: 5rem;
	align-items: start;
}

@media only screen and (min-width: 768px) {
	.half {
		grid-template-columns: repeat(2, 1fr);
	}
}

.section {
	padding-bottom: 6rem;
}



/*********************
/* BASIC COMPONENTS */
/********************/

/* Typography */

h1, .h1, h2, .h2, h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	margin-top: 3rem;
	margin-bottom: 3rem;
	font-family: var(--sans);
	color: var(--text-dark);
}

h1, .h1 {
	font-family: var(--serif);
	font-size: 3rem;
	letter-spacing: -.5px;
}

@media only screen and (min-width: 768px) {
	h1, .h1 {
		font-size: 5rem;
		letter-spacing: -1px;
	}
}

h2, .h2 {
	font-size: 2rem;
	letter-spacing: -.4px;
}

@media only screen and (min-width: 768px) {
	h2, .h2 {
		font-size: 3rem;
	}
}

h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
	font-size: 1.8rem;
	letter-spacing: -.4px;
}

@media only screen and (min-width: 768px) {
	h3, .h3, h4, .h4, h5, .h5, h6, .h6 {
		font-size: 2rem;
	}
}

.page-header {
	margin-bottom: 4rem;
}

.page-header__title {
	margin-bottom: 1rem;
}

p, li {
	margin-bottom: 2rem;
}

@media only screen and (min-width: 768px) {
	p, li {
		font-size: 1.8rem;
		line-height: 1.8;
	}
}

ul, ol {
	margin-bottom: 2rem;
	margin-left: 2rem;
}

ul { list-style: disc; }
ol { list-style: decimal; }

li::marker {
	font-weight: 800;
}

hr {
	margin: 2rem 0 4rem;
	border: 0;
	border-bottom: 1px solid var(--bg-dark);
}

strong {
	font-weight: 700;
}

em {
	font-style: italic;
}

a,
a[href^="tel"] {
	color: var(--color);
	text-decoration: none;
	transition: color var(--transition-duration);
}

a:hover,
a:focus {
	color: var(--color);
}

.text-center {
	text-align: center;
}

.editorial {
	text-align: justify;
}



/* Tables */

table {
	margin-bottom: 3rem;
}

th {
	font-weight: 700;
	text-align: left;
}



/* Buttons */

.btns {
	margin: -.5rem;
}

.btns > .btn {
	margin: .5rem;
}

.btn,
#wpforms-submit-27 {
	cursor: pointer;
	display: inline-block;
	padding: 1rem 3rem;
	font: inherit;
	font-family: var(--sans);
	font-size: 2rem;
	color: var(--color);
	letter-spacing: -.4px;
	line-height: 1.5;
	text-decoration: none;
	border: 0;
	border-radius: .5rem;
	border: .2rem solid var(--color);
	background-color: var(--bg);
	transition: color var(--transition-duration), background-color var(--transition-duration);
}

#wpforms-submit-27 {
	height: initial;
	font-family: var(--serif);
}

.btn:hover,
.btn:focus {
	color: #FFF;
	background-color: var(--color);
}

div.wpforms-container-full button[type=submit]:hover,
div.wpforms-container-full button[type=submit]:focus {
	color: #FFF !important;
	background: var(--color) !important; /* Originally a gradient, hence the shorthand */
}



/* Forms */

label {
	font-weight: 400 !important;
}

input[type="text"],
input[type="email"],
input[type="number"],
select,
textarea {
	min-width: 100%;
	padding: 1rem;
	font: inherit;
	border-radius: .5rem;
	border: 1px solid #D1D5D9;
}

.mailpoet_submit {
	padding: 1rem 2rem !important;
}



/* Responsive Embed */

.embed {
	position: relative;
	overflow: hidden;
	display: block;
	width: 100%;
	padding: 0;
}

.embed:before {
	content: '';
	display: block;
	padding-top: 56.25%;
}

.embed iframe {
	position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}



/******************
/* PAGE ELEMENTS */
/*****************/

/* Main Header & Navigation */

.header-grid {
	display: grid;
	grid-template-columns: auto 1fr;
	justify-content: center;
	align-items: center;
	padding-top: 1rem;
	padding-bottom: 1rem;
	border-bottom: 1px solid var(--bg-dark);
}

@media only screen and (min-width: 576px) {
	.header-grid {
		grid-gap: 1rem;
		justify-content: initial;
	}
}

.logo {
	padding: 2rem 0;
	font-family: "Fahkwang";
	font-size: 2rem;
	color: var(--text);
	text-transform: uppercase;
	letter-spacing: 2px;
	line-height: 1;
}

@media only screen and (min-width: 576px) {
	.logo {
		font-size: 2.5rem;
	}
}

@media only screen and (max-width: 767px) {
	.menu {
		display: none;
	}
}

.menu-list {
	list-style: none;
	display: flex;
	margin: 0;
	text-align: center;
}

@media only screen and (max-width: 767px) {
	.menu-list {
		flex-direction: column;
		height: 100%;
	}
}

@media only screen and (min-width: 768px) {
	.menu-list {
		justify-content: end;
	}
}

.menu-item {
	position: relative;
	list-style: none;
	margin-bottom: 0;
}

.menu-link {
	display: block;
	padding: 1.5rem;
	font-size: 2rem;
	color: var(--text-light);
	letter-spacing: -.5px;
	line-height: 1.2;
}

@media only screen and (min-width: 768px) {
	.menu-link {
		padding: 2rem;
	}
}

.sub-menu {
	position: absolute;
	top: 60px;
	right: 0;
	z-index: 99;
	margin: 0;
	box-shadow: 0 0 1rem 0 rgba(0,0,0,.25);
}

@media only screen and (max-width: 767px) {
	.sub-menu {
		position: initial;
		margin-bottom: 1rem;
	}
}

.sub-menu .menu-link {
	width: 100%;
	padding: 1.5rem 3rem;
	white-space: nowrap;
	background-color: var(--bg);
}

.menu-item > .sub-menu {
	display: none;
}

.menu-item:hover > .sub-menu {
	display: block;
}

.menu-toggle__btn {
	cursor: pointer;
	display: flex;
	align-items: center;
	justify-content: end;
	padding: 1rem 0;
	transition: var(--transition-duration) color;
}

.menu-toggle__btn:hover,
.menu-toggle__btn:focus {
	color: var(--color);
}

@media only screen and (min-width: 768px) {
	.menu-toggle__btn {
		display: none;
	}
}

.menu-toggle__icon {
	margin-right: -1rem;
	padding: 1rem;
}

.menu-toggle__input {
	display: none;
}

@media only screen and (max-width: 767px) {
	.menu-toggle__input:checked + .menu {
		display: block;
		grid-column: 1 / -1;
	}
}



/*************************
/* PAGE-SPECIFIC STYLES */
/************************/

/* Homepage */

.swiper-container {
	overflow: hidden;
    width: 100%;
    margin: 2rem auto;
}

.swiper-slide {
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.swiper-slide img {
    object-fit: cover;
    width: 100%;
    height: auto;
}

.swiper-button-next,
.swiper-button-prev {
	/* Hide for now */
	display: none !important;
	width: 40px !important;
	height: 40px !important;
}

.swiper-button-next:after,
.swiper-button-prev:after {
	display: flex;
	align-items: center;
	justify-content: center;
	min-width: 30px !important;
	min-height: 30px !important;
	padding: .5rem;
	font-size: 2rem !important;
	color: var(--text) !important;
	line-height: 1;
	border-radius: 100rem;
	box-shadow: 0 0 .5rem rgba(0,0,0,.5);
	background-color: var(--bg-light);
}



/* About */

.quote {
	margin-bottom: 4rem;
	padding: 4rem;
	text-align: center;
	background-color: var(--bg-dark);
}

.quote__text {
	font-family: var(--sans);
	font-size: 3rem;
	letter-spacing: -.75px;
	line-height: 1.5;
}

.quote__cite {
	font-style: italic;
}



/* Contact */

.wpforms-container-full {
	min-width: 100%;
}



/* Blog */

.terms-menu__list {
	display: flex;
	flex-wrap: wrap;
	margin: 0;
	list-style: none;
}

.terms-menu__item {
	margin: 0 1rem 1rem 0;
	list-style: none;
}

.terms-menu__link {
	display: inline-block;
	padding: .75rem 1.5rem;
	font-size: 1.4rem;
	color: var(--text-light);
	text-transform: uppercase;
	letter-spacing: 0;
	border-radius: .5rem;
	border: 1px solid var(--text-light);
}

.blog-lister {
	display: grid;
	grid-gap: 0 4rem;
	margin-bottom: 3rem;
}

@media only screen and (max-width: 767px) {
	.blog-lister {
		grid-gap: 2rem;
	}
}

@media only screen and (min-width: 768px) {
	.blog-lister {
		grid-template-columns: 1fr 2fr;
	}
}

.blog-lister__image {
	object-fit: cover;
	display: flex;
	width: 100%;
	background-color: var(--bg-dark);
}

@media only screen and (max-width: 767.98px) {
	.blog-lister__image {
		height: 20rem;
	}
}

@media only screen and (min-width: 768px) {
	.blog-lister__image {
		height: 26rem;
	}
}

.blog-lister__header {
	margin-bottom: 2rem;
}

.blog-lister__title {
	margin: 0;
	transition: var(--transition-duration) color;
}

.blog-lister__title:hover {
	color: var(--color);
}

.blog-lister__meta a {
	color: var(--text-light);
}

.article-header {
	margin-bottom: 6rem;
	text-align: center;
}

.article-title {
	margin-bottom: 0;
}

.article-meta a {
	color: var(--text-light);
}



/* Gallery */

.gallery {
	display: grid;
	grid-gap: 2rem;
	align-items: start;
}

@media only screen and (min-width: 768px) {
	.gallery {
		grid-template-columns: repeat(2, 1fr);
	}
}

.gallery__item {
	position: relative;
	color: #FFF;
}

.gallery__item:hover,
.gallery__item:focus {
	color: #FFF;
}

.gallery__item:hover .gallery__overlay,
.gallery__item:focus .gallery__overlay {
	opacity: 1;
}

.gallery__photo {
	display: block;
}

.gallery__overlay {
	opacity: 0;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	text-align: center;
	padding: 2rem;
	background-color: rgba(0,0,0,.5);
	transition: var(--transition-duration) opacity;
}

.gallery__overlay-title {
	margin-top: 0;
	color: #FFF;
}

.gallery__overlay-text {
	margin-bottom: 0;
	color: #FFF;
}

.portfolio-image {
	max-height: calc(100vh - 2rem);
	width: auto;
}



/* Portfolio Hub Page */

.portfolio-grid {
	display: grid;
	grid-gap: 2rem;
	margin-bottom: 2rem;
}

@media only screen and (min-width: 768px) {
	.portfolio-grid {
		grid-template-columns: repeat(3, 1fr);
	}
}

.portfolio-item {
	text-align: center;
	background-color: var(--bg-light);
}

.portfolio-item__image {
	display: block;
}

.portfolio-item__title {
	display: block;
	padding: 1.5rem;
	font-size: 2rem;
	color: var(--text);
	box-shadow: 0 0 1.5rem 0 rgba(0,0,0,.25);
}



/* Exhibitions */

.exhibition {
	margin-bottom: 4rem;
}

.exhibition__title {
	margin-top: 0;
	margin-bottom: 0;
	font-size: 2.2rem;
}

.exhibition__type {
	margin-bottom: 0;
	margin-left: 1px;
	font-size: 1.5rem;
}

.exhibition__list {
	margin: 0;
	margin-left: 1px;
	list-style: none;
}

.exhibition__item {
	margin-bottom: 0;
}



/********************
/* UTILITY CLASSES */
/*******************/

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 1rem; }
.mt-2 { margin-top: 2rem; }
.mt-3 { margin-top: 3rem; }
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 1rem; }
.mb-2 { margin-bottom: 2rem; }
.mb-3 { margin-bottom: 3rem; }
