/*
Theme Name: Distant Lands
Author: Jake Hodges
Author URI: http://jakehodges.co.uk;
Description: A bespoke theme for Distant Lands Ltd website
Version: 0.63
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: distant-lands
This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned with others.


Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/

/*

[Table of Contents]

1. Globals
2. Reset
	2.1 Normalize
	2.2 Box Sizing
3. Base
	3.1 Typography
	3.2 Site-Wide
4. Components
	4.1 Hamburgers
	4.2 Header
	4.3 Navigation
	4.4 Hero
	4.5 Producer Bricks
	4.6 Staff Bricks
	4.7 Quick Links
	4.8 Contact
	4.9 Footer
	4.10 Blog
	4.11 Single Producer

*/

/*************** 1. Globals ***************/


:root {
	--color-white: #fff;
	--color-black: #231f20;
	--color-true-black: #000;
	--color-true-white: #fff;
	--color-text-grey: #737373;
	--color-light-grey: #eee;
	--color-highlight: #457B9D;
	--color-footer-tint: #3f3f3f;

	--producer-grid-gutter: 30px;
	--producer-grid-gutter-2x: calc(var(--producer-grid-gutter)*2);
	--producer-grid-gutter-mobile: 15px;
	--producer-grid-gutter-mobile-2x: calc(var(--producer-grid-gutter-mobile)*2);
	--staff-grid-gutter: 5px;
	--staff-grid-gutter-2x: calc(var(--staff-grid-gutter)*2);
	--quick-link-grid-gutter-mobile: 40px;
};

/*************** 2. Reset ***************/

/*****---------- 2.1 Normalize ----------*****/


/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */

/* Document
	 ========================================================================== */

/**
 * 1. Correct the line height in all browsers.
 * 2. Prevent adjustments of font size after orientation changes in iOS.
 */
html {
	line-height: 1.15;
	-webkit-text-size-adjust: 100%;
}

/* Sections
	 ========================================================================== */

/**
 * Remove the margin in all browsers.
 */
body {
	margin: 0;
}

/**
 * Render the `main` element consistently in IE.
 */
main {
	display: block;
}

/**
 * Correct the font size and margin on `h1` elements within `section` and
 * `article` contexts in Chrome, Firefox, and Safari.
 */
h1 {
	font-size: 2em;
	margin: 0.67em 0;
}

/* Grouping content
	 ========================================================================== */

/**
 * 1. Add the correct box sizing in Firefox.
 * 2. Show the overflow in Edge and IE.
 */
hr {
	box-sizing: content-box;
	height: 0;
	overflow: visible;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
pre {
	font-family: monospace, monospace;
	font-size: 1em;
}

/* Text-level semantics
	 ========================================================================== */

/**
 * Remove the gray background on active links in IE 10.
 */
a {
	background-color: transparent;
}

/**
 * 1. Remove the bottom border in Chrome 57-
 * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
 */
abbr[title] {
	border-bottom: none;
	text-decoration: underline;
	text-decoration: underline dotted;
}

/**
 * Add the correct font weight in Chrome, Edge, and Safari.
 */
b,
strong {
	font-weight: bolder;
}

/**
 * 1. Correct the inheritance and scaling of font size in all browsers.
 * 2. Correct the odd `em` font sizing in all browsers.
 */
code,
kbd,
samp {
	font-family: monospace, monospace;
	font-size: 1em;
}

/**
 * Add the correct font size in all browsers.
 */
small {
	font-size: 80%;
}

/**
 * Prevent `sub` and `sup` elements from affecting the line height in
 * all browsers.
 */
sub,
sup {
	font-size: 75%;
	line-height: 0;
	position: relative;
	vertical-align: baseline;
}

sub {
	bottom: -0.25em;
}

sup {
	top: -0.5em;
}

/* Embedded content
	 ========================================================================== */

/**
 * Remove the border on images inside links in IE 10.
 */
img {
	border-style: none;
}

/* Forms
	 ========================================================================== */

/**
 * 1. Change the font styles in all browsers.
 * 2. Remove the margin in Firefox and Safari.
 */
button,
input,
optgroup,
select,
textarea {
	font-family: inherit;
	font-size: 100%;
	line-height: 1.15;
	margin: 0;
}

/**
 * Show the overflow in IE.
 * 1. Show the overflow in Edge.
 */
button,
input {
	overflow: visible;
}

/**
 * Remove the inheritance of text transform in Edge, Firefox, and IE.
 * 1. Remove the inheritance of text transform in Firefox.
 */
button,
select {
	text-transform: none;
}

/**
 * Correct the inability to style clickable types in iOS and Safari.
 */
button,
[type="button"],
[type="reset"],
[type="submit"] {
	-webkit-appearance: button;
}

/**
 * Remove the inner border and padding in Firefox.
 */
button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
	border-style: none;
	padding: 0;
}

/**
 * Restore the focus styles unset by the previous rule.
 */
button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
	outline: 1px dotted ButtonText;
}

/**
 * Correct the padding in Firefox.
 */
fieldset {
	padding: 0.35em 0.75em 0.625em;
}

/**
 * 1. Correct the text wrapping in Edge and IE.
 * 2. Correct the color inheritance from `fieldset` elements in IE.
 * 3. Remove the padding so developers are not caught out when they zero out
 *		`fieldset` elements in all browsers.
 */
legend {
	box-sizing: border-box;
	color: inherit;
	display: table;
	max-width: 100%;
	padding: 0;
	white-space: normal;
}

/**
 * Add the correct vertical alignment in Chrome, Firefox, and Opera.
 */
progress {
	vertical-align: baseline;
}

/**
 * Remove the default vertical scrollbar in IE 10+.
 */
textarea {
	overflow: auto;
}

/**
 * 1. Add the correct box sizing in IE 10.
 * 2. Remove the padding in IE 10.
 */
[type="checkbox"],
[type="radio"] {
	box-sizing: border-box;
	padding: 0;
}

/**
 * Correct the cursor style of increment and decrement buttons in Chrome.
 */
[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
	height: auto;
}

/**
 * 1. Correct the odd appearance in Chrome and Safari.
 * 2. Correct the outline style in Safari.
 */
[type="search"] {
	-webkit-appearance: textfield;
	outline-offset: -2px;
}

/**
 * Remove the inner padding in Chrome and Safari on macOS.
 */
[type="search"]::-webkit-search-decoration {
	-webkit-appearance: none;
}

/**
 * 1. Correct the inability to style clickable types in iOS and Safari.
 * 2. Change font properties to `inherit` in Safari.
 */
::-webkit-file-upload-button {
	-webkit-appearance: button;
	font: inherit;
}

/* Interactive
	 ========================================================================== */

/*
 * Add the correct display in Edge, IE 10+, and Firefox.
 */
details {
	display: block;
}

/*
 * Add the correct display in all browsers.
 */
summary {
	display: list-item;
}

/* Misc
	 ========================================================================== */

/**
 * Add the correct display in IE 10+.
 */
template {
	display: none;
}

/**
 * Add the correct display in IE 10.
 */
[hidden] {
	display: none;
}

/*****---------- 2.2 Box Sizing ----------*****/


/* Inherit box-sizing to more easily change it's value on a component level.
@link http://css-tricks.com/inheriting-box-sizing-probably-slightly-better-best-practice/ */
*,
*::before,
*::after {
	box-sizing: inherit;
}

html {
	box-sizing: border-box;
}

/*************** 3. Base ***************/

/*****---------- 3.1 Typography ----------*****/

body {
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	color: var(--color-text-grey);
}

body,
button,
textarea,
input {
	font-family: 'Source Sans Pro', sans-serif;
}

h1 {
	font-weight: 300;
	text-transform: uppercase;
	font-size: 48px;
	text-align: center;
}

h1.site-title {
	margin-bottom: 1em !important;
}

@media only screen and (max-width: 768px) {
	h1 {
		font-size: 36px;
	}
}

h2 {
	font-size: 52px;
	font-weight: 300;
	letter-spacing: 6px;
	text-transform: uppercase;
	text-align: center;
	padding-bottom: 20px;
	/*color: var(--color-highlight);*/

}

.site-title h2 {
	font-size: 50px;
}

@media only screen and (max-width: 768px) {
	h2, .site-title h2 {
		font-size: 40px;
	}
}

h3 {
	color: var(--color-true-white);
	font-weight: 300;
	text-transform: uppercase;
	font-size: 26px;
	opacity: 1;
}

.page h3 {
	color: var(--color-highlight);
}

h4, .producer-info span {
	color: var(--color-true-white);
	opacity: 0.7;
    font-size: 10px;
    letter-spacing: 2px;
    margin-bottom: 10px;
    text-transform: uppercase;
    font-weight: bold;
}

h5 {
	color: var(--color-text-grey);
    font-size: 22px;
    text-transform: uppercase;
    letter-spacing: 2px;
    line-height: 1.1;
    font-weight: 300;
}

body.single-post article h5 {
	font-size: 14px;
}

h6 {
	font-size: 24px;
	color: var(--color-black);
}

p {
	font-size: 18px;
	color: var(--color-text-grey);
	line-height: 1.7;
	text-align: center;
}

body.single-post p {
	color: var(--color-black);
	font-size: 20px;
	line-height: 160%;
}

@media only screen and (min-width: 768px) {
/*	.home .entry-content.intro-text {
		margin: 0 40px;
    	padding: 0 60px;
    	border-left: 4px solid var(--color-highlight);
    	border-right: 4px solid var(--color-highlight);
	}*/

	.home p {
		font-size:18px;
	}
}

.main-navigation li {
	font-size: 17px;
}

footer {
	font-size: 14px;
	color: var(--color-footer-tint);
}

@media only screen and (min-width: 480px) {
	h5 {
		font-size: 14px;
	}
}

.has-text-align-center {
	text-align: center !important;
}

/*****---------- 3.2 Site-Wide ----------*****/


body {
	background-color: #f4f4f6;
}

body.admin-bar {
	margin-top: 32px;
}

header, article {
	background-color: var(--color-white);
}

p {
	width: 100%;
}

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

.page-content p {
	text-align: left;
}

.page-content {
	background-color: var(--color-true-white);
	/*min-height: calc(100vh - 159px);*/
	padding-top: 20px;
	padding-bottom: 20px;
}

@media only screen and (max-width: 768px) {
	.page-template-producer-list .page-content {
		background-color: inherit;
	}
}

.content-limiter {
	max-width: 1160px;
	margin: 0 auto;
	padding-left: 20px;
	padding-right: 20px;
}

article {
	padding: 40px 40px 0;
}

.page-template-default:not(.home) article {
	padding: 40px;
}

@media screen and (min-width: 768px) {
	.page-template-default:not(.home) article {
		max-width: 800px;
		margin: 0 auto;
	}
}

@media only screen and (max-width: 768px) {
	article {
		padding: 20px 20px 0;
	}
}

.page-template-producer-list article {
	background-color: inherit;
	padding: 40px 0;
}

h1, h2, h3, h6 {
	margin: 0;
}

h1, h2 {
	color: var(--color-highlight);
}

.sep {
	margin-left: 40px;
    height: 25px;
    width: 1px;
    background-color: #cecece;
    line-height: 30px;
}

a {
	color: var(--color-highlight);
}

a:hover {
	text-decoration: none;
}

div.clearfix:after {
	display: block;
  content: "";
  clear: both;
}

.btn {
	display: flex;
	align-items: center;
	width: max-content;
	max-width: 100%;
	margin: 30px auto;
	padding: 15px 25px;
	border-radius: 999px;
	background-color: var(--color-highlight);
	color: var(--color-white);
	text-decoration: none;
	font-weight: bold;
	text-transform: uppercase;
	text-align: center;
}

.btn .btn-icon {
	display: inline-flex;
	padding-left: 0.5em;
}

/*************** 4. Components ***************/

/*****---------- 4.1 Hamburgers ----------*****/

/*!
 * Hamburgers
 * @description Tasty CSS-animated hamburgers
 * @author Jonathan Suh @jonsuh
 * @site https://jonsuh.com/hamburgers
 * @link https://github.com/jonsuh/hamburgers
 */

div.hamburger {
	background-color: var(--color-white);
    border: none;
    line-height: 0;
}

.hamburger {
  padding: 15px 15px;
  display: inline-block;
  cursor: pointer;
  transition-property: opacity, filter;
  transition-duration: 0.15s;
  transition-timing-function: linear;
  font: inherit;
  color: inherit;
  text-transform: none;
  background-color: transparent;
  border: 0;
  margin: 0;
  overflow: visible; 
}

  .hamburger:hover {
    opacity: 0.7; 
}

  .hamburger.is-active:hover {
    opacity: 0.7; 
}

  .hamburger.is-active .hamburger-inner,
  .hamburger.is-active .hamburger-inner::before,
  .hamburger.is-active .hamburger-inner::after {
    background-color: var(--color-black); 
}

.hamburger-box {
  width: 22px;
  height: 18px;
  display: inline-block;
  position: relative; }

.hamburger-inner {
  display: block;
  top: 50%;
  margin-top: -1px; }

.hamburger-inner, .hamburger-inner::before, .hamburger-inner::after {
	width: 22px;
	height: 2px;
	background-color: var(--color-black);
	border-radius: 2px;
	position: absolute;
	transition-property: transform;
	transition-duration: 0.15s;
	transition-timing-function: ease; 
}

.hamburger-inner::before, .hamburger-inner::after {
	content: "";
	display: block; 
}

.hamburger-inner::before {
	top: -8px; 
}

.hamburger-inner::after {
	bottom: -8px; 
}

.hamburger--squeeze .hamburger-inner {
	transition-duration: 0.075s;
	transition-timing-function: cubic-bezier(0.55, 0.055, 0.675, 0.19); 
}

.hamburger--squeeze .hamburger-inner::before {
    transition: top 0.075s 0.12s ease, opacity 0.075s ease; 
}

.hamburger--squeeze .hamburger-inner::after {
    transition: bottom 0.075s 0.12s ease, transform 0.075s cubic-bezier(0.55, 0.055, 0.675, 0.19); 
}

.hamburger--squeeze.is-active .hamburger-inner {
  transform: rotate(45deg);
  transition-delay: 0.12s;
  transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1); 
}

.hamburger--squeeze.is-active .hamburger-inner::before {
    top: 0;
    opacity: 0;
    transition: top 0.075s ease, opacity 0.075s 0.12s ease; 
}

.hamburger--squeeze.is-active .hamburger-inner::after {
    bottom: 0;
    transform: rotate(-90deg);
    transition: bottom 0.075s ease, transform 0.075s 0.12s cubic-bezier(0.215, 0.61, 0.355, 1); 
}

/*****---------- 4.2 Header ----------*****/


header {
	position: fixed;
	top: 0;
	width: 100%;
	z-index: 999;
}

body.admin-bar header {
	top: 32px;
}

@media only screen and (max-width: 768px) {
	body.admin-bar header {
		top: 46px;
	}
}

header>div {
	padding-top: 30px;
	padding-bottom: 30px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	transition: all 0.5s ease 0s;
}

.site-branding img {
	max-width: 240px;
	transition: all 0.4s ease 0.1s;
	vertical-align: top;
	display: block;
}

.site-branding a {
	text-decoration: none;
	display: flex;
	flex-direction: column;
	align-items: center;
}

.site-branding .site-tagline {
	margin-top: 1em;
	margin-bottom: 0;
	text-align: center;
	letter-spacing: 0.5px;
	font-size: 12px;
}

@media (min-width: 768px) {
	.site-branding .site-tagline {
		font-size: inherit;
	}
}

.home header:not(.sticky) .site-tagline {
	display: none;
}

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

	header.sticky {
		box-shadow: 0 0 12px rgba(0,0,0,0.09);
	}

	header.sticky>div {
		padding-top: 20px;
		padding-bottom: 20px;
		transition-delay: 0.4s;
	}

	header.sticky .site-branding img {
		max-width: 200px;
	}
}

@media only screen and (max-width: 768px) {
	header {
		box-shadow: 0 0 12px rgba(0,0,0,0.09);
	}

	header>div {
		padding-top: 20px;
		padding-bottom: 20px;
	}

	.site-branding img {
		max-width: 160px;
	}
}

/*****---------- 4.3 Navigation ----------*****/


nav {
	display: flex;
	align-items: center;
}

.hamburger {
	display: none;
	padding: 0;
}

.menu-main-menu-container {
	display: block;
}

ul.menu {
	display: flex;
	list-style: none;
	margin: 0;
	padding-left: 0;
}

ul.menu li {
	padding-left: 40px;
	text-transform: uppercase;
}

ul.menu a {
	color: var(--color-text-grey);
	text-decoration: none;
	line-height: 3em;
}

ul.menu a:hover, ul.menu a:hover svg, ul.menu li.current-menu-item a {
	color: var(--color-highlight);
	fill: var(--color-highlight);
	opacity: 1;
	/*border-bottom: 1px solid var(--color-highlight);*/
	text-decoration: underline;
	text-underline-offset: 3px;
}

ul.menu-social li {
	padding-left: 20px;
}

ul.menu-social svg {
	height: 20px;
	vertical-align: text-top;
	fill: var(--color-text-grey);
}

ul.menu-social a:hover, ul.menu-social a:hover svg {
	border-bottom: none;
}

li.menu-item-has-children {
	position: relative;
}

li.menu-item-has-children > a {
	display: flex;
	align-items: center;
	justify-content: center;
}

li.menu-item-has-children > a:after {
	content: '';
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23457B9D' d='M192 384c-8.188 0-16.38-3.125-22.62-9.375l-160-160c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0L192 306.8l137.4-137.4c12.5-12.5 32.75-12.5 45.25 0s12.5 32.75 0 45.25l-160 160C208.4 380.9 200.2 384 192 384z'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	display: inline-block;
	height: 1em;
	width: 1em;
	margin-left: 0.4em;
}

li.menu-item-has-children.open > a:after {
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 384 512'%3E%3Cpath fill='%23457B9D' d='M352 352c-8.188 0-16.38-3.125-22.62-9.375L192 205.3l-137.4 137.4c-12.5 12.5-32.75 12.5-45.25 0s-12.5-32.75 0-45.25l160-160c12.5-12.5 32.75-12.5 45.25 0l160 160c12.5 12.5 12.5 32.75 0 45.25C368.4 348.9 360.2 352 352 352z'/%3E%3C/svg%3E");
}

ul.sub-menu {
	display: none;
	position: absolute;
	top: 2.5em;
	background-color: #fff;
	padding: 20px 40px;
	list-style-type: none;
	width: 240px;
	left: 0;
}

ul.sub-menu li {
	padding: 0.5em 0;
}

li.menu-item-has-children:hover ul.sub-menu {
	display: block;
}

@media only screen and (max-width: 768px) {
	.hamburger {
		display: inline-block;
	}

	.menu-main-menu-container, .menu-social-container, .sep {
		display: none;
	}

	.menu-main-menu-container {
		position: absolute;
		top: 100%;
		left: 0;
		width: 100vw;
		background-color: var(--color-light-grey);
		transition: max-height 0.8s linear;
	}

	ul.menu {
		flex-direction: column;
		padding: 20px 0;
	}

	ul.menu li {
		text-align: center;
		padding: 10px 40px;
	}

	ul.menu li:first-child {
		padding-top: 0;
	}

	ul.menu li:last-child {
		padding-bottom: 0;
	}

	ul.sub-menu {
		position: static;
		top: 0;
		width: 100%;
		padding: 10px 0 0;
		background-color: transparent;
	}

	ul.sub-menu li {
		padding: 0.5em 0;
	}

	li.menu-item-has-children.open ul.sub-menu {
		display: block;
	}
}

/*****---------- 4.4 Hero ----------*****/


.hero {
	background-color: var(--color-true-black);
	color: var(--color-white);
	height: 100vh;
	min-height: 500px;
	width: 100%;
	padding-top: 159px;
}

@media only screen and (max-width: 768px) {
	.hero {
		padding-top: 85px;
		min-height: initial;
	}
}

.hero>div {
	height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.hero>div h1 {
	margin-bottom: 12px;
    flex: 1;
    display: flex;
    align-items: flex-end;
}

.background-overlay {
	width: 100%;
	height: 100%;
	background-color: #000;
	opacity: 0.6;
}

@media only screen and (max-width: 768px) {
	.background-overlay {
		opacity: 0.8;
	}
}

.hero p {
	color: var(--color-true-white);
    font-size: 22px;
    font-weight: 300;
    margin: 0;
    /*display: flex;*/
    /*align-items: center;*/
}

@media only screen and (max-width: 600px) {
	.hero p {
		display: none;
	}
}

.hero h4 {
	margin-bottom: 0;
	font-size: 12px;
}

#hero-scroll-cta {
	cursor: pointer;
    text-align: center;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.cta-scroll-arrows  {
	fill: var(--color-white);
	height: 27px;
	cursor: pointer;
	margin-top: 8px;

	animation: pulse 2s infinite;
	animation-delay: 1s;
	animation-timing-function: easeIn;
}

#hero-scroll-cta h4:last-child, .cta-scroll-arrows:last-child {
	margin-bottom: 80px;
}

@keyframes pulse {
	20% {
		transform: translateY(5px);
	}

	30% {
		transform: translateY(0);
	}
}

#hero-scroll-cta:hover svg {
	transform: translateY(5px);
	animation: none;
}

.site-main.no-hero {
	margin-top: 202.5px;
}

@media only screen and (max-width: 768px) {
	.site-main.no-hero {
		margin-top: 85px;
	}

	.hero p {
		font-size: 16px;
	}
}

/*****---------- 4.5 Producer Bricks ----------*****/

.page-template-producer-list h1 {
	color: var(--color-white);
}

div.producer-excerpt {
	display: none;
	padding: 0 40px 20px;
}

@media only screen and (max-width: 600px) {
	div.producer-excerpt {
		display: block;
	}
}

ul.category-filter {
	list-style-type: none;
	margin-bottom: 0;
	padding: 0;
	display: flex;
	justify-content: center;
	flex-wrap: wrap;
}

ul.category-filter li {
	padding: 10px 15px;
}

ul.category-filter li a {
	text-transform: uppercase;
	font-weight: bold;
	font-size: 14px;
	letter-spacing: 2px;
	color: var(--color-text-grey);
	cursor: pointer;
}

ul.category-filter li.current-filter-option a {
	color: var(--color-highlight);
	border-bottom: 1px solid var(--color-highlight);
}

.producers-container {
	display: flex;
	flex-wrap: wrap;
	margin-left: calc(-1*var(--producer-grid-gutter) + 1);
	width: calc(100% + var(--producer-grid-gutter-2x) - 2);
}

.producers-container .producer {
 	position: relative;
 	flex-basis: calc(25% - var(--producer-grid-gutter-2x));
 	margin: var(--producer-grid-gutter);
 	box-sizing: border-box;
 	transition: 0.2s;
}

.producers-container .producer.producer-hidden {
	opacity: 0;
}

@media only screen and (max-width: 1160px) {
	.producers-container .producer {
		flex-basis: calc(33% - var(--producer-grid-gutter-2x));
	}
}

@media only screen and (max-width: 768px) {
	.producers-container {
		margin-left: 0;
		width: 100%;
		justify-content: center;
	}

	.producers-container .producer {
		flex-basis: calc(50% - var(--producer-grid-gutter-mobile-2x));
		margin: var(--producer-grid-gutter-mobile);
		padding: 15px;
	}
}

.producers-container .producer::before {
 	content: '';
 	display: block;
 	padding-top: 100%;
}

.producers-container .producer img {
 	position: absolute;
 	top: 0; left: 0;
 	height: 100%;
 	width: 100%;
 	padding: 10px;
 	background-color: var(--color-true-white);
}

.producers-container .producer .producer-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgba(0,0,0,0.8);
    opacity: 0;
    width: 100%;
    height: 100%;
    padding: 30px;
    transition: opacity 0.2s;
    display: none;
    justify-content: center;
    align-items: center;
    text-align: center;
}

@media (hover: hover) and (min-width: 480px) {
	.producer-overlay {
		display: flex;
	}
}

.producers-container .producer a:hover .producer-overlay {
	opacity: 1;
}

.producers-container .producer-info h3 {
	color: var(--color-true-white);
    font-size: 26px;
    line-height: 24px;
    margin-bottom: 10px;
}

.producers-container .producer-info span {
	color: var(--color-true-white);
}

@media only screen and (max-width: 768px) {
	.producers-container .producer-overlay {
		padding: 10px;
	}

	.producers-container .producer-info h3 {
		font-size: 23px;
		word-break: break-word;
	}

	.producers-container .producer-info span {
		display: none;
	}
}

/*****---------- 4.6 Staff Bricks ----------*****/

@media screen and (min-width: 768px) {
	.page-template-page-about article.type-page .entry-content {
		max-width: 70%;
		margin: 0 auto;
	}
}

.page-template-page-about .attachment-post-thumbnail {
	margin-bottom: 2em;
}

.staff-container {
	display: flex;
    flex-wrap: wrap;
    margin-left: -72px;
    width: calc(100% + 144px);
    justify-content: center;
}

.staff-container:first-child {
	margin-top: 1em;
}

.staff-container.products .staff-member-overlay {
	opacity: 1;
}

.staff-container.products .staff-member:hover img {
	transform: none;
}

.staff-container.products {
	margin-left: initial;
	width: 100%;
	margin-top: 0;
}

.staff-member {
 	position: relative;
 	flex-basis: calc(33% - var(--staff-grid-gutter-2x) + 3px);
 	margin: var(--staff-grid-gutter);
 	margin-top: calc( 2 * var(--staff-grid-gutter) );
 	box-sizing: border-box;
 	transition: 0.2s;
 	overflow: hidden;
}

@media only screen and (max-width: 1160px) {
	.staff-container {
		margin-left: -60px;
		width: calc(100% + 120px);
	}
}

@media only screen and (max-width: 768px) {
	.staff-container {
		margin-left: -40px;
		width: calc(100% + 80px);
	}
}

@media only screen and (max-width: 600px) {
	.staff-member {
		flex-basis: 100%;
		margin: var(--staff-grid-gutter) 0;
	}
}

.staff-member::before {
 	content: '';
 	display: block;
 	padding-top: 100%;
}

.staff-member img {
 	position: absolute;
 	top: 0; left: 0;
 	height: 100%;
 	width: 100%;
 	transform: scale(1.1);
 	transition: 0.4s ease-out;
}

.staff-member:hover img {
	transform: translateX(20px) scale(1.1);
}

.staff-member-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0,0.5);
    opacity: 0;
    width: 100%;
    height: 100%;
    padding: 20px;
    transition: opacity 0.2s;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.staff-member:hover .staff-member-overlay {
	opacity: 1;
}

@media only screen and (max-width: 768px) {
	.staff-member-overlay {
		opacity: 1;
	}

	.staff-member:hover .staff-member-overlay {
		opacity: 0;
	}
}

.staff-member-info h3 {
	color: var(--color-true-white);
    font-size: 26px;
    line-height: 24px;
    margin-bottom: 10px;
}

.staff-member-info span {
	color: var(--color-true-white);
}

/*****---------- 4.7 Quick Links ----------*****/


.quick-link-container {
	display: flex;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
    justify-content: space-between;
}

.quick-link {
 	position: relative;
 	flex-basis: calc(25% - var(--staff-grid-gutter-2x));
 	margin: var(--staff-grid-gutter);
 	box-sizing: border-box;
 	transition: 0.2s;
 	overflow: hidden;
}

.quick-link h3 {
	color: var(--color-white);
}

@media only screen and (max-width: 1160px) {
	.quick-link-container {
		
	}
}

@media only screen and (max-width: 600px) {
	.quick-link {
		flex-basis: 100%;
		margin-bottom: var(--quick-link-grid-gutter-mobile);
	}
}

.quick-link::before {
 	content: '';
 	display: block;
 	padding-top: 100%;
}

.quick-link img {
 	position: absolute;
 	top: 0; left: 0;
 	height: 100%;
 	width: 100%;
 	transform: scale(1.1);
 	transition: 0.4s ease-out;
}

.quick-link:hover img {
	transform: scale(1);
}

.quick-link-overlay {
    position: absolute;
    top: 0;
    left: 0;
    background-color: rgb(0,0,0,0.5);
    opacity: 1;
    width: 100%;
    height: 100%;
    padding: 20px;
    transition: left 0.4s;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.quick-link:hover .quick-link-overlay {
	opacity: 0.4;
}

@media only screen and (max-width: 768px) {
	.quick-link-overlay {
		opacity: 1;
	}

	.quick-link:hover .quick-link {
		opacity: 0;
	}
}

.staff-member-info h3 {
	color: var(--color-true-white);
    font-size: 26px;
    line-height: 24px;
    margin-bottom: 10px;
}

.staff-member-info span {
	color: var(--color-true-white);
}

/*****---------- 4.8 Contact ----------*****/


.entry-content-contact {
	display: flex;
	flex-wrap: wrap;
	color: rgba(85,85,85,1);
	font-size: 15px;
	line-height: 1.7;
}

.contact-aside {
	width: 30%;
	padding: 40px 40px 40px 80px;
}

.contact-main {
	width: 70%;
	padding: 40px;
}

.contact-info {
	padding-bottom: 24px;
}

.contact-aside span {
	padding: 10px 0;
}

@media only screen and (max-width: 1160px) {
	.entry-content-contact {
		text-align: center;
	}

	.contact-main, .contact-aside {
		width: 100%;
		margin: 0;
		padding: 0;
	}

	.contact-info {
		padding: 20px;
	}

	.contact-info:first-child {
		padding-top: 0;
	}

	.wpforms-field {
		overflow: hidden !important;
	}

	.wpforms-field-row-block {
    	float: none !important;
    	margin-left: 0 !important;
    	width: 100% !important;
    	padding: 10px 0 !important;
	}

	.wpforms-field-row-block:last-child {
		padding-bottom: 0 !important;
	}
}

/*****---------- 4.9 Footer ----------*****/


footer>div {
	border-top: 1px solid #ccc;
}

footer .site-info {
	padding: 20px 0;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

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

@media only screen and (max-width: 768px) {
	footer .site-info {
		flex-direction: column;
	}

	footer .site-info span:first-child {
		margin-bottom: 5px;
	}
}

/*****---------- 4.10 Blog ----------*****/

body.single-post h1, body.single-post h2, body.single-post h3, body.single-post h4, body.single-post h5, body.single-post h6  {
	color: var(--color-black);
	text-align: left;
	padding-bottom: 0;
}

body.single-post h1 {
	font-size: 48px;
}

body.single-post h2 {
	font-size: 28px;
	font-weight: bold;
	letter-spacing: unset;
	text-transform: none;
}

body.single-post h3 {
	font-size: 20px;
	font-weight: bold;
	text-transform: none;
}

body.single-post h4 {
	font-size: 20px;
	font-weight: bold;
}

h1.page-title {
	text-align: center;
	margin-top: 36px;
  margin-bottom: 30px;
  color: var(--color-text-grey);
  font-size: 22px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  font-weight: 300;
}

.posts-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
}

@media screen and (max-width: 600px) {
	.posts-grid {
		grid-template-columns: repeat(1, 1fr);
	}
}

.posts-grid article .post-block-overlay,
.posts-grid article .post-block-overlay img.overlay-video {
	transition: background-color 0.3s ease, opacity 0.3s ease;
}

.posts-grid article a:hover .post-block-overlay {
	background-color: rgba(0,0,0,0.1);
}

.posts-grid article .post-block-overlay img.overlay-video {
	position: absolute;
	right: 28px;
	height: 2em;
}

body.blog .posts-grid img.attachment-post-thumbnail {
	width: 100%;
	height: auto;
}

body.blog ul.category-filter li a {
	font-weight: 300;
}

article.post.post-preview-condensed {
	padding: 25px;
}

article.post.post-preview-condensed .post-block {
	position: relative;
	width: 100%;
	padding-top: 100%;
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
}

article.post.post-preview-condensed .post-block-overlay {
	position: absolute;
	padding: 28px;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: rgba(0,0,0,0.4);
	display: flex;
	flex-direction: column;
	justify-content: space-between;
}

article.post.post-preview-condensed h6, article.post.post-preview-condensed span.post-date {
	color: #fff;
	font-weight: normal;
}

article.post.post-preview-condensed span.post-date {
	font-size: 18px;
}

article.post.post-preview-full {
	padding: 40px;
}

article.post.post-preview-full .post-thumbnail {
	width: 100%;
	padding-top: calc(290 / 501 * 100%);
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center center;
	margin-bottom: 22px;
}

article.post.post-preview-full .post-date {
	color: var(--color-highlight);
	font-size: 18px;
}

article.post.post-preview-full .entry-header {
	margin-bottom: 22px;
}

article.post.post-preview-full .entry-header h6 {
	font-weight: normal;
}

article.post.post-preview-full .entry-content p {
	font-size: 18px;
	margin-bottom: 12px;
}

article.post.post-preview-full a.read-more {
	display: block;
	font-size: 18px;
}

aside#secondary {
	display: none;
}

aside#secondary h5 {
	margin-top: 0;
}

@media screen and (min-width: 768px) {
	body.single article {
		padding: 40px;
	}

	aside#secondary {
		display: block;
		float: right;
		width: 28%;
	}
}

#sb_instagram {
	margin-left: -10px;
	margin-right: -10px;
	min-width: 100%;
	width: unset !important;
}

body.single-post h2.entry-title {
	font-size: 40px;
	color: var(--color-text-black);
	letter-spacing: unset;
	text-transform: none;
	text-align: left;
}

@media screen and (min-width: 768px) {
	body.single-post .entry-body {
		float: left;
		width: 68%;
		/*padding-right: 3%;*/
		/*border-right: 1px solid var(--color-highlight);*/
	}
}

body.single-post img.attachment-post-thumbnail,
body.single-post .wp-block-image img,
body.single-post .wp-block-video video,
body.single-post .wp-block-media-text__media img {
	width: 100%;
	height: auto;
}

body.single-post .wp-block-image,
body.single-post .wp-block-video,
body.single-post .wp-block-media-text__media {
	margin-left: 0;
	margin-right: 0;
}

div.byline {
	display: flex;
	align-items: center;
	margin-bottom: 30px;
}

div.byline .meta {
	padding-left: 10px;
}

div.byline .meta span {
	display: block;
}

img.avatar {
	border-radius: 100%;
}

body.single-post .post-terms {
	color: var(--color-highlight);
}

body.single-post .back-to-posts h5 {
	margin-top: 0;
}

body.single-post .entry-content img {
	max-width: 100%;
}

/*****---------- 4.11 Single Producer ----------*****/

body.single-producer .entry-header {
	margin-bottom: 60px;
}

body.single-producer .entry-header .wp-post-image {
	display: block;
	margin: 0 auto 1em;
}

@media screen and (min-width: 768px) {
	body.single-producer .entry-body .entry-content {
		max-width: 70%;
		margin: 0 auto;
	}
}

body.single-producer figure.wp-block-image img {
	width: 100%;
}

body.single-producer h1,
body.single-producer h2,
body.single-producer h3,
body.single-producer h4,
body.single-producer h5,
body.single-producer h6 {
	color: var(--color-highlight);
}

.producer-meta {
	display: block;
	text-align: left;
	font-size: 14px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1.1;
  font-weight: 300;
  margin-bottom: 2em;
}

.producer-link {
	text-align: center;
	margin-bottom: 0;
}

.producer-link a {
	display: inline-flex;
	align-items: center;
	justify-content: center;
}

.producer-link svg {
	display: inline;
	height: 1em;
	margin-left: 0.5em;
	fill: currentColor;
}

figure.wp-block-embed.wp-embed-aspect-16-9 iframe {
	width: 100%;
	height: unset;
	aspect-ratio: calc(16 / 9);
}

