/*
Theme Name: Evergreen Farm Publishing
Version: 6.0
Theme URI: https://cyberoptik.net/
Description: Customizable responsive Wordpress theme created by CyberOptik
Author: CyberOptik
Author URI: https://cyberoptik.net/
Template: optik-theme
*/





/******************************************************************************
 * * *  IMPORTS & VARIABLES  * * * * * * * * * * * * * * * * * * * * * * * * *
 ******************************************************************************/

@import url("../optik-theme/style.css");



/* Add font imports here */

/***  MONTSERRAT  ***/

/* Normal */
@font-face {
	font-family: 'Montserrat';
	font-weight: normal;
	src: url('fonts/Montserrat/Montserrat-Regular.ttf');
}

/* Italic */
@font-face {
	font-family: 'Montserrat';
	font-style: italic;
	font-weight: normal;
	src: url('fonts/Montserrat/Montserrat-Italic.ttf');
}

/* Semi-Bold */
@font-face {
	font-family: 'Montserrat';
	font-weight: 600;
	src: url('fonts/Montserrat/Montserrat-SemiBold.ttf');
}

/* Bold */
@font-face {
	font-family: 'Montserrat';
	font-weight: bold;
	src: url('fonts/Montserrat/Montserrat-Bold.ttf');
}

.font-montserrat,
.font-montserrat { font-family: var(--wp--custom--font--1); }


/***  Playfair Display  ***/

/* Normal */
@font-face {
  font-family: 'Playfair Display';
  font-weight: normal;
  src: url('fonts/Playfair_Display/PlayfairDisplay-Regular.ttf');
}

/* Italic */
@font-face {
  font-family: 'Playfair Display';
  font-style: italic;
  font-weight: normal;
  src: url('fonts/Playfair_Display/PlayfairDisplay-Italic.ttf');
}

/* Semi Bold */
@font-face {
  font-family: 'Playfair Display';
  font-weight: 600;
  src: url('fonts/Playfair_Display/PlayfairDisplay-SemiBold.ttf');
}

/* Bold */
@font-face {
  font-family: 'Playfair Display';
  font-weight: bold;
  src: url('fonts/Playfair_Display/PlayfairDisplay-Bold.ttf');
}

.font-playfair,
.font-playfair { font-family: var(--wp--custom--font--2); }

/******************************************************************************
 * * *  STRUCTURAL ELEMENTS  * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  UNIVERSAL STYLES  ***/

html {
	font-size: 18px;
}

body {
	line-height: 1.6em;
	font-family: var(--wp--custom--font--1);
	color: var(--wp--custom--dark--2);
	background-color: var(--wp--custom--light--1);
}

.container, .wp-block-group.alignwide > *, 
.wp-block-group.alignfull > * {
	padding-left: 48px;
	padding-right: 48px;
}

@media screen and (max-width: 600px) {
	.container, .wp-block-group.alignwide > *, 
	.wp-block-group.alignfull > * { 
		padding-left: 16px;
		padding-right: 16px;
	 }
}

/***  BACK TO TOP BUTTON  ***/

.btt-button .fa {
	border-radius: var(--wp--custom--radius--full);
	background-color: var(--wp--custom--primary--main);
	font-weight: 300;
	color: white;
	border: 1px solid var(--wp--custom--light--1);
}

.btt-button:hover .fa {
	background-color: var(--wp--custom--primary--light);
	color: white;
}





/******************************************************************************
 * * *  CONTENT STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * *
 ******************************************************************************/



/***  TEXT & LINKS  ***/

a {
	color: var(--wp--custom--primary--main);
}

a:hover {
	color: var(--wp--custom--primary--light);
}



/***  HEADINGS  ***/

h1, h2, h3, h4, h5, h6 {
	line-height: 1em;	
}

h1 {
	font-size: calc(100 / 18 * 1em);
	text-transform: uppercase;
}

@media screen and (max-width: 1600px) {
	h1 {
		font-size: calc(80 / 18 * 1em);
	}
}

@media screen and (max-width: 1400px) {
	h1 {
		font-size: calc(60 / 18 * 1em);
	}
}

@media screen and (max-width: 1200px) {
	h1 {
		font-size: calc(50 / 18 * 1em);
	}
}

:where(.editor-styles-wrapper) h1 { font-size: 1em; }

h2 {
	font-size: calc(48 / 18 * 1em);
}

@media screen and (max-width: 1200px) {
	h2 {
		font-size: calc(36 / 18 * 1em);
	}
}

h3 {
	font-size: calc(28 / 18 * 1em);
}

@media screen and (max-width: 1200px) {
	h3 {
		font-size: calc(24 / 18 * 1em);
	}
}

h4 {
	font-size: calc(24 / 18 * 1em);
}

@media screen and (max-width: 1200px) {
	h4 {
		font-size: calc(22 / 18 * 1em);
	}
}

h5 {
	font-size: 1em;
}

h6 {
	font-size: calc(15 / 18 * 1em);
}

h1, h2 {
	font-family: var(--wp--custom--font--2);
	font-weight: 400;
	color: var(--wp--custom--secondary--main);
}

h3,h4,h5,h6 {
	font-family: var(--wp--custom--font--1);
	font-weight: 500;
	color: var(--wp--custom--primary--main);
}

.letter-spacing { letter-spacing: 0.15em; }

.font-1{
    font-family: var(--wp--custom--font--1);
}

/**Mobile & Tablet**/
/* @media screen and (min-width: 601px) and (max-width: 1024px) {
  h1 { font-size: 2em; }
  h2 { font-size: 1.75em; }
  h3 { font-size: 1.5em; }
  h4 { font-size: 1.25em; }
  h5 { font-size: 1.125em; }
  h6 { font-size: 1em; }
}

@media screen and (max-width: 600px){
h1 {font-size: 1.5em;;}
h2 {font-size: 1.5em; }
h3 {font-size: 1.25em;  }
h4 {font-size: 1em;}
h5 {font-size: 1em;}
h6 {font-size: 0.875em;}
} */

/***  BORDERS & DIVIDERS  ***/

hr, .divider {
	display: block;
	width: 100%;
	height: 1px;
	border: 0;
	border-top: 1px solid #e2e2e2;
	margin: 2.5em auto;
	padding: 0;
}



/***  BUTTONS  ***/

.button, 
.wp-block-button__link, 
.button-outline, 
.is-style-outline .wp-block-button__link {
	padding: 0.85em 2.725em;
	border-color: var(--wp--custom--primary--light);
	background-color: var(--wp--custom--primary--light);
	font-family: var(--wp--custom--font--2);
	font-weight: 600;
	color: white;
}

.button:hover, 
.button.active,
.wp-block-button__link:hover, 
.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	color: white;
}

.has-primary-background-color .button:hover,
.has-primary-background-color button.active{
	border-color: white;
	background-color: white;
	color: var(--wp--custom--primary--main);
}

.button i, 
.wp-block-button__link i, 
.button:hover i, 
.wp-block-button__link:hover i {
	color: inherit !important;
}

.button-slim:is(.wp-block-button__link),
.button-slim .wp-block-button__link { padding: 1em calc(20 / 18 * 1em); }

/* Outlined Button */

.button-outline, 
.is-style-outline .wp-block-button__link {
	background: none;
	color: var(--wp--custom--primary--main);
	font-family: var(--wp--custom--font--1);
}

.button-outline:hover,
.is-style-outline .wp-block-button__link:hover {
	border-color: var(--wp--custom--secondary--main);
	background: none;
	color: var(--wp--custom--secondary--main);
}

.button-outline i, 
.is-style-outline .wp-block-button__link i {
	color:  var(--wp--custom--primary--main);
}

.button-outline:hover i,
.is-style-outline .wp-block-button__link:hover i {
	color: var(--wp--custom--secondary--main);
}



/***  ICONS  ***/

.fa {font-weight: 300;}

/* Icon Colors */

.fa, .fas, .far, .fal, .fab {
	color: var(--wp--custom--primary--main);
}

a .fa, a .fas, a .far, a .fal, a .fab {
	color: var(--wp--custom--primary--main);
}

a:hover .fa, a:hover .fas, a:hover .far, a:hover .fal, a:hover .fab {
	color: var(--wp--custom--secondary--main);
}

/* Icon Backgrounds */

.fa-bg {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

a .fa-bg {
	background-color: var(--wp--custom--primary--main);
	color: white;
}

a:hover .fa-bg {
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

/* Icon Borders */

.fa-br {
	border-color: var(--wp--custom--primary--main);
}

a .fa-br {
	border-color: var(--wp--custom--primary--main);
}

a:hover .fa-br {
	border-color: var(--wp--custom--secondary--main);
}



/***  LISTS  ***/

.arrow-list li:before, 
.check-list li:before, 
.check-circle-list li:before, 
.icon-list li:before, 
.contact-list li:before {
	color: var(--wp--custom--primary--main);
	font-weight: 700;
	top: 0.15em;
}



/***  FORMS  ***/

/* Inputs */

input[type="text"], input[type="email"], input[type="number"], 
input[type="password"], input[type="search"], input[type="tel"], 
input[type="url"], input[type="date"], input[type="datetime-local"], 
input[type="month"], input[type="time"], input[type="week"], 
textarea, select, .filter-reset {
	border-radius: var(--wp--custom--radius--xs);
}

input[type="text"]:focus, input[type="email"]:focus, input[type="number"]:focus, 
input[type="password"]:focus, input[type="search"]:focus, input[type="tel"]:focus, 
input[type="url"]:focus, input[type="date"]:focus, input[type="datetime-local"]:focus, 
input[type="month"]:focus, input[type="time"]:focus, input[type="week"]:focus, 
textarea:focus, select:focus {
	border-color: var(--wp--custom--primary--main);
}

/* Buttons */

input[type="submit"], input[type="reset"], input[type="button"] {
	border-color: var(--wp--custom--primary--light);
	background-color: var(--wp--custom--primary--light);
	border-radius: 0;
	color: white;
	font-family:var(--wp--custom--font--2);
}

input[type="Submit"]:hover, input[type="reset"]:hover, input[type="button"]:hover {
	border-color: var(--wp--custom--primary--dark);
	background-color: var(--wp--custom--primary--dark);
	color: white;
}

input[type="Submit"]:active, input[type="reset"]:active, input[type="button"]:active {
	border-color:  var(--wp--custom--primary--dark);
	background-color:  var(--wp--custom--primary--dark);
	color: white;
}

/* Ninja Forms */

.nf-form-fields-required {display: none;}





/******************************************************************************
 * * *  HEADER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/

.header .container,
.scroll-bar .container{max-width:inherit;}

/***  SCROLL BAR  ***/

.scroll-bar {
	background-color: var(--wp--custom--light--1);
	border-bottom:2px solid var(--wp--custom--primary--main);
}
.scroll-masthead{width:110px;}
.scroll-logo {
	max-height: 80px;
}

.scroll-bar-inner .scroll-left{
    order:2;
	width:130px;
	text-align: right;
}

.scroll-bar-inner .scroll-left img{
	max-height: 100px;
}
.scroll-bar-inner .scroll-right{
	text-align:center;
	width:calc(100% - 240px);
}

/***  TOP BAR  ***/

.top-bar {
	background-color: var(--wp--custom--light--1);
}



/***  HEADER  ***/

.header {
	background-color: var(--wp--custom--light--1);
}

body.single-book .header
{
    border-bottom: 2px solid var(--wp--custom--primary--main);
}

body.single-book .main-boxed { padding-top: var(--wp--custom--spacer--md); }

body.single-book .buy-book-button-container { margin-top: 0; }

.header-masthead{width:135px;}

.header-logo {
	max-height: 100px;
}

.header-inner .header-left{
    order:2;
	width:130px;
	text-align: right;
}

.header-inner .header-left img{
	max-height: 100px;
}
.header-inner .header-right{
	text-align:center;
	width:calc(100% - 265px);
}
@media only screen and (max-width:1200px){
	.header-masthead{
		width:50% !important;
		display:flex !important;
	}
	.header-inner .header-left{
		width:50%;
		text-align:left;
	}
	.header-inner .header-right{
		width:auto;
	}
}
@media only screen and (max-width:600px){
	.header-masthead{
		width:40% !important;
		display:flex !important;
		margin-right:10% !important;
	}
	.header-inner .header-left{padding:0 15px;}
}

/* Menu Button */

.header .menu-button .fa, 
.header .menu-button:hover .fa {
	color: var(--wp--custom--dark--1);
}

.header .menu-button.active .fa {
	background-color: var(--wp--custom--primary--main);
	color: white;
}



/***  NAVBAR  ***/

.navbar {
}



/***  NAV MENUS  ***/

.nav-menu > li { margin: 0 15px; }

.nav-menu > li > a {
	padding: 24px 20px;
	color: var(--wp--custom--primary--main);
	font-family: var(--wp--custom--font--2);
	font-weight: 500;
}

.single-service .nav-menu > li.services-link > a, 
.single-service .nav-menu > li.services-link > span, 
.single-product .nav-menu > li.products-link > a, 
.single-product .nav-menu > li.products-link > span, 
.single-member .nav-menu > li.members-link > a, 
.single-member .nav-menu > li.members-link > span, 
.single-post .nav-menu > li.posts-link > a, 
.single-post .nav-menu > li.posts-link > span, 
.category .nav-menu > li.posts-link > a, 
.category .nav-menu > li.posts-link > span, 
.nav-menu > li.current-menu-ancestor > a, 
.nav-menu > li.current-menu-ancestor > span, 
.nav-menu > li.current-page-ancestor > a, 
.nav-menu > li.current-page-ancestor > span, 
.nav-menu > li.current-menu-item > a, 
.nav-menu > li:hover > a {
	color: var(--wp--custom--secondary--main);
}

/* Nav Button */

.nav-menu > li.nav-button > a > span {
	padding: 0.75em 1.5em;
	margin-top: -0.75em;
	margin-bottom: -0.75em;
	background-color: var(--wp--custom--primary--main);
	border-radius: var(--wp--custom--radius--xl);
	color: white;
}

.nav-menu > li.nav-button:hover > a > span {
	background-color: var(--wp--custom--primary--light);
}



/***  DROPDOWN MENUS  ***/

.nav-menu li ul li:first-child {
	padding-top: 8px;
}

.nav-menu li ul li:last-child {
	padding-bottom: 8px;
}

.nav-menu li ul li > a, 
.nav-menu li ul li > span {
	color: var(--wp--custom--dark--3);
}

.nav-menu li ul li.current-menu-item > a, 
.nav-menu li ul li:hover > a {
	color: var(--wp--custom--primary--main);
}

/* Nested Dropdowns */

.nav-menu li ul li ul {
	top: -8px;
}



/***  HIDDEN NAV  ***/

.hidden-menu li a {
	font-size:1.1em;
	color: var(--wp--custom--primary--main);
	font-family: var(--wp--custom--font--2);
	font-weight: 600;
}

.hidden-menu li.current-menu-item > a {
	color: var(--wp--custom--secondary--main);
}

.hidden-nav::-webkit-scrollbar {
	width: 10px;
	background-color: var(--wp--custom--light--1, #E9E9E9);
}

.hidden-nav::-webkit-scrollbar-thumb {
	border: 0;
	background-color: var(--wp--custom--light--1, #E9E9E9);
}





/******************************************************************************
 * * *  BODY STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  BANNER  ***/


.banner {
	background-color: #2E4A55;
}

.banner-inner {
	padding-top: var(--wp--custom--spacer--xl);
	padding-bottom: var(--wp--custom--spacer--xl);
}

.banner-viewport .banner-inner {
	padding-top: calc(var(--wp--custom--spacer--xl) + 90px);
}

.banner-viewheight .banner-inner {
	padding-top: calc(var(--wp--custom--spacer--lg) + 140px);
	padding-bottom: var(--wp--custom--spacer--lg);
}

.banner-fullcover.wp-block-cover,
.banner-fullcover .wp-block-cover { min-height: calc(100vh - 123px); }

.banner-tall .banner-inner { min-height: 576px; }

.banner a {
	color: var(--wp--custom--primary--light);
}

.banner h1 {
	text-transform:uppercase;
	margin-top:0;
}


.banner h3, .banner h4, .banner h5, .banner h6 {
	margin-bottom:0;
}

.banner a:hover {
	color: white;
}


.banner .deck {
	font-family:var(--wp--custom--font--2);
	font-size:1.4em;
}
.search-form{
	max-width: 1104px;
	padding:10px 0;
}
.search-form form{
	display:flex;
	flex-wrap: wrap;
	justify-content:space-between;
	gap:15px;
}
.search-form label{display:none;}
.search-form .collection-dropdown{
	border-radius: var(--wp--custom--radius--xs);
}

.search-form .search-input input[type="text"],
.search-form .collection-dropdown select {
	font-size: 1rem;
	margin:0;
	border:0;
	padding: calc(1em - 2px);
	color:#747474;
	background-color:transparent;
	background-color: white;
	line-height: 1em;
	border: 1px solid #D9D9D9;
	min-height: calc(56 / 18 * 1em);
}

.search-form .collection-dropdown select {
	-webkit-padding-end: 76px !important;
	padding-right: 76px;
	text-overflow: ellipsis;
	max-width: 290px;
	background-image: url("data:image/svg+xml,%3Csvg width='56' height='56' viewBox='0 0 56 56' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0H54C55.1046 0 56 0.895431 56 2V54C56 55.1046 55.1046 56 54 56H0V0Z' fill='%233184A5'/%3E%3Cpath d='M21 24L28 31L35 24' stroke='%23F2EEE9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E%0A");
	background-position: center right;
	background-repeat: no-repeat;
	background-size: contain;
	cursor: pointer;
}

.search-form .search-input{
	flex-grow:1;
}

.search-form .search-button button{
	border-radius: var(--wp--custom--radius--xs);
	margin:0;
	padding: 1em;
	min-height: calc(56 / 18 * 1em);
	line-height: 1em;
	min-width: 158px;

}

/***  HEADLINE BAR  ***/

.headline-bar {
}



/***  ENTRY NAVBAR  ***/

.entry-menu > li > a {
	color: var(--wp--custom--dark--3);
}

.entry-menu > li.current-menu-item > a, 
.entry-menu > li:hover > a {
	color: var(--wp--custom--primary--main);
}



/***  MAIN  ***/

.main-boxed, 
.main-sidebar {
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
}

.spaced-xs, 
.spaced-xs-top {
	padding-top: var(--wp--custom--spacer--xs);
}

.spaced-xs, 
.spaced-xs-btm {
	padding-bottom: var(--wp--custom--spacer--xs);
}

.spaced-sm, 
.spaced-sm-top {
	padding-top: var(--wp--custom--spacer--sm);
}

.spaced-sm, 
.spaced-sm-btm {
	padding-bottom: var(--wp--custom--spacer--sm);
}

.spaced, 
.spaced-top, 
.spaced-md, 
.spaced-md-top {
	padding-top: var(--wp--custom--spacer--md);
}

.spaced, 
.spaced-btm, 
.spaced-md, 
.spaced-md-btm {
	padding-bottom: var(--wp--custom--spacer--md);
}

.spaced-lg, 
.spaced-lg-top {
	padding-top: var(--wp--custom--spacer--lg);
}

.spaced-lg, 
.spaced-lg-btm {
	padding-bottom: var(--wp--custom--spacer--lg);
}

.spaced-xl, 
.spaced-xl-top {
	padding-top: var(--wp--custom--spacer--xl);
}

.spaced-xl, 
.spaced-xl-btm {
	padding-bottom: var(--wp--custom--spacer--xl);
}



/***  ARCHIVE  ***/

/* Entry Cols */

.entry-cols .entry-link {
	box-shadow:
  -85px 113px 57px rgba(0, 0, 0, 0.03),
  -48px 64px 48px rgba(0, 0, 0, 0.1),
  -21px 28px 35px rgba(0, 0, 0, 0.17),
  -5px 7px 19px rgba(0, 0, 0, 0.2);
	background: var(--wp--custom--primary--main);
	color: white;
}

.entry-cols .entry-link:hover {transform: translateY(-3px);}

.entry-cols .entry-icon-wrap:first-child {padding: 30px 30px 0;}

.entry-cols .entry-icon svg {
	width: 60px;
	fill: var(--wp--custom--primary--main);
}

.entry-cols .entry-text-wrap {padding: 30px;}

.includes-link-text .entry:not(.col-full) .entry-text-wrap {padding-bottom: 80px;}

.entry-cols .entry:not(.col-full) .entry-link-text-wrap {
	left: 30px;
	bottom: 30px;
}

.entry-cols .entry-link .entry-link-text {color: white;}

.entry-cols .entry-link:hover .entry-link-text {color: var(--wp--custom--secondary--light);}

.entry-cols .entry-meta li { color:white; }
.entry-cols .entry-title {color:white;}

/* Archive Pagination */

.archive-pagination a {
	border-radius: var(--wp--custom--radius--xl);
	border-color: var(--wp--custom--primary--main);
	color: var(--wp--custom--primary--main);
}

.archive-pagination a:hover {
	border-color: var(--wp--custom--primary--main);
	background-color: var(--wp--custom--primary--main);
	color: white;
}

.archive-pagination a .fa, 
.archive-pagination a:hover .fa {
	color: inherit !important;
	transition: all 0ms ease-in-out;
}



/***  SINGLE  ***/
body.single-book .book-dynamic{gap: 2em var(--wp--preset--spacing--lg);}

body.single-book .book-dynamic h1{margin:unset;}

body.single-book .book-dynamic h1 + .buy-book-button{margin-top:40px;}

body.single-book .book-dynamic .book-author{
	margin-block-start: .5em;
	margin-block-end: .5em;
}

body.single-book .book-dynamic > .wp-block-column:last-of-type img{
	aspect-ratio: unset;
	max-width:300px;
}

body.single-book .book-dynamic .buy-book-button + p{
    margin-top: 60px;
}

body.single-book .df-element ~ .wp-block-heading{margin-top:30px;}

body.single-book .wp-block-audio:before{
	content: 'Listen to an Audio Sample';
    margin-bottom: 20px;
    display: block;
}

@media screen and (max-width:900px){
	body.single-book .book-dynamic{
		flex-direction: column-reverse;
	}
	
	body.single-book .book-dynamic > .wp-block-column:last-of-type{
		text-align:center;
	}
}

@media screen and (min-width:901px){
	
	body.single-book .book-dynamic > .wp-block-column:first-of-type{
		flex-basis: 66.66%;
	}
	
	body.single-book .book-dynamic > .wp-block-column:last-of-type{
		flex-basis: 33.34%;
	}
	
	body.single-book .book-dynamic > .wp-block-column:last-of-type img{
		width:100%;
		max-width:unset;
	}
}







/******************************************************************************
 * * *  FOOTER STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/



/***  CTA BAR  ***/

.cta-bar {
	padding-top: var(--wp--custom--spacer--xxl);
	padding-bottom: var(--wp--custom--spacer--xxl);
	background-color: var(--wp--custom--secondary--main);
	color: white;
}

.cta-bar h1, 
.cta-bar h2, 
.cta-bar h3, 
.cta-bar h4, 
.cta-bar h5, 
.cta-bar h6 {color: white;} 




/***  FOOTER  ***/

.footer {
	padding: var(--wp--custom--spacer--xl);
	background-color: var(--wp--custom--primary--mid);
	color: var(--wp--custom--light--1);
	font-family: var(--wp--custom--font--2);
}

.footer a {
	color: var(--wp--custom--light--1);
}

.footer a:hover {
	text-decoration: none;
	color: var(--wp--custom--secondary--light);
}

.footer h1, 
.footer h2, 
.footer h3, 
.footer h4, 
.footer h5, 
.footer h6 {
	color: white;
}

.footer h4:first-child {
	margin-bottom: 30px;
	font-size: 1.4em;
}


/* Footer Menus */

.footer .menu li a {
	color: var(--wp--custom--light--1);
	font-family: var(--wp--custom--font--2);
	border-bottom: none;
}

.footer .menu li a:hover {
	color: var(--wp--custom--secondary--light);
	text-decoration: none;
	border-bottom: none;
}

/* Footer Icon List */

.footer .contact-list li:before {
	color: var(--wp--custom--accent--1);
}

.footer .contact-list li a {
	color: var(--wp--custom--accent--1);
	font-family: var(--wp--custom--font--2);
	border-bottom: none;
}

.footer .contact-list .map-marker a {display: block;}

.footer .contact-list li a:hover {
	color: var(--wp--custom--secondary--light);
	border-bottom: none;
}


/***  6.3 BOTTOM BAR  ***/

.bottom-bar {
	padding-top:0;
	padding-left: var(--wp--custom--spacer--xl);
	padding-right: var(--wp--custom--spacer--xl);
	background-color: var(--wp--custom--primary--mid);
	font-size: calc(15 / 18 * 1em);
	color: var(--wp--custom--light--1);
}

.bottom-bar .copyrights-credits-wrapper a { 
	color: var(--wp--custom--accent--2);
	text-decoration: none;
 }

/* Menus */

.bottom-bar .menu a {
	color: var(--wp--custom--accent--1);
}

.bottom-bar .menu a:hover {
	text-decoration: none;
	color: var(--wp--custom--secondary--light);
}

.bottom-bar-container {
	border-top:1px solid var(--wp--custom--primary--main);
	max-width: 1400px;
	padding: 34px 0 0;
}

.bottom-bar a {
	color: var(--wp--custom--secondary--main);
}

.bottom-bar a:hover {
	color: var(--wp--custom--secondary--light);
}


/******************************************************************************
 * * *  7 CUSTOM STYLES  * * * * * * * * * * * * * * * * * * * * * * * * * * * 
 ******************************************************************************/

@media screen and (max-width: 900px) {
	.tablet-reverse-order{flex-direction: column-reverse;}
}

/* Add custom theme styles here */

.shadow-1 img {
	box-shadow: -85px 113px 57px rgba(0, 0, 0, 0.03), -48px 64px 48px rgba(0, 0, 0, 0.1), -21px 28px 35px rgba(0, 0, 0, 0.17), -5px 7px 19px rgba(0, 0, 0, 0.2);
}

/** Team **/
.member-box {
  background-color: var(--wp--custom--primary--dark);
  border-radius: var(--wp--custom--radius--xs);
	height: 100%;
}

.member-box .member-text-wrap {
	padding: 24px 12px;
}

.member-cols .member-title {
	color: var(--wp--custom--accent--1);
	font-size: 1.6em;
	font-family: var(--wp--custom--font--2);
	text-transform: capitalize;
	letter-spacing: 0;
}

.member-cols .member-position {
	font-weight: 300;
	color: var(--wp--custom--accent--1);
	font-size: 0.9em;
	text-transform: uppercase;
	letter-spacing: 0;
	margin-top: 7px;
}


.thumb-size-portrait {
	height: 427px;
    width: 335px;
}

/* Ensure position context */
.member-box {
  position: relative;
  overflow: hidden;
}

.member-box-portrait-content-wrap { position: relative; }

.member-portrait-wrap {
  position: relative;
}

.member-portrait-wrap img { width: 100%; }

.member-content-wrap {
  position: absolute;
	margin: 0;
  bottom: 0;
  left: 0;
	width: 100%;
	height: 100%;
	display: flex;
	flex-direction: column;
	justify-content: flex-end;
	box-sizing: border-box;
  color: var(--wp--custom--accent--1);
  padding: var(--wp--custom--spacer--sm);
  opacity: 0;
  transition: all 0.3s ease;
  z-index: 2;
	font-size: calc(15 / 18 * 1em);
}

@media screen and (max-width: 900px) {
	.member-content-wrap { 
		padding: var(--wp--custom--spacer--xs);
		opacity: 1; 
	}
}

.member-content-wrap:before {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
  inset: 0;
	background: linear-gradient(180deg, rgba(14, 32, 39, 0) 0%, rgba(14, 32, 39, 0.9) 100%);
  pointer-events: none;
	z-index: -1;
}

.member-box:hover .member-content-wrap {
  opacity: 1;
  visibility: visible;
}


/** Sliders **/

.wp-block-gutsliders-any-content .swiper-slide { height: auto !important; }

.carousel-book .gutslider-content-inner img {
	box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
}

@media screen and (max-width: 900px) {
  .gutslider-content-inner > .wp-block-columns {
    flex-direction: column-reverse !important;
  }

  .gutslider-content-inner .wp-block-spacer {
    display: none;
  }

  .gutslider-content-inner .wp-block-button__link {
    font-size: 0.9rem;
    padding: 8px 16px;
  }

  .gutslider-content-inner .wp-block-column:first-child {
    text-align: center !important;
    align-items: center !important;
    display: flex;
    flex-direction: column;
  }

  .gutslider-content-inner .wp-block-buttons {
    justify-content: center !important;
  }
}

@media screen and (max-width: 600px){
	.gutslider-content-inner > .wp-block-columns {
    flex-direction: column-reverse !important;
	}
	.gutslider-content-inner .wp-block-spacer {
    display: none;
	}
	
  .gutslider-content-inner .wp-block-button__link {
    font-size: 0.9rem;
    padding: 8px 16px;
  }
	.gutslider-content-inner .wp-block-column:first-child {
    text-align: center !important;
    align-items: center !important;
    display: flex;
    flex-direction: column;
  }

}

.swiper-wrapper{
	padding: 10px 0 50px 0;
}

.swiper-pagination-bullet-active{
	background: var(--wp--custom--primary--light);
}

.swiper-slide a img {
  transition: transform 0.2s ease-in-out; /* this sets up the animation */
}

.swiper-slide:hover a img {
  transform: translateY(-4px); /* only applies on hover */
}
/** Footer  **/
.footer{padding: 82px 45px;}

.footer .footer-container { padding: 0; }


.footer .contact-list {
	display: flex;
	align-items: center;
	gap: 10px;
}

.footer .contact-list svg {
	width: 16px;
	height: 16px;
	vertical-align: middle;
}

.footer .centered-footer {
	display: flex;
	justify-content: center;
	gap: 20px;
	flex-wrap: wrap;
	margin:0 auto;
}

.footer-list-columns {
	flex-wrap: wrap !important;
	justify-content: space-between;
	max-width: 938px;
	margin: 0 auto;
}

.footer-list-columns .wp-block-column  {
	width: auto;
	flex: 0 1 auto !important;
}

.book-right img {
	position:relative;
	z-index:5!important;
}
.bottom-bar{padding:0 45px 34px;}

/** Star Rate **/

.pb-star-rating-wrapper {
	font-family: var(--wp--custom--font--2);
}
/** Books Single **/

body.single-book h1{text-transform:unset;}

.single-book .banner-text-wrap {
    text-align: left;
    align-items: flex-start;
}

.entry-thumb-wrap.book-thumb-wrap {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.book-cols .book-link:hover { transform: translateY(-4px) !important; }

@media screen and (max-width: 600px){
	.single-book .headline-wrap {
 		 text-align: center; 
	}
	.headline-wrap h4 {
    font-size: 29px;
	}
}


/* Slider Homepage */
.mobile-hidden {
  display: block !important;
}
.mobile-show {
  display: none !important;
}

@media (max-width: 767px) {
  .mobile-hidden {
    display: none !important;
  }
  .mobile-show {
    display: block !important;
  }
}
/** Books Link **/

.book-links-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 24px;
  margin: 2em 0;
}

.book-link-col {
  width: 260px;
  text-align: center;
}

.book-link-col a.entry-link {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  
  border-radius: 8px;
  padding: 15px;
  transition: box-shadow 0.3s;
  
}

.book-link-col a.entry-link {
  transition: box-shadow 0.2s ease-in-out, transform 0.2s ease-in-out;
}

.book-link-col a.entry-link:hover {
 
  transform: translateY(-4px);
}

.book-link-col .format-icon {
 width: 300px;
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0 auto 10px;
}

.book-link-col .format-label {
  font-size: 18px;
  color: #fff;
}
.custom-bg-button .wp-block-button__link {
  background-image: url('/wp-content/uploads/amazon-button.png')!important;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.custom-bg-button .wp-block-button__link {
  color: transparent;
  text-shadow: none;
}
.entry-text-wrap.book-text-wrap {
    display: none;
}

/* Prevent Gutenberg images from overlapping text on small devices */
  @media (max-width: 820px) {
  .single-book .wp-block-columns {
    display: flex !important;
    flex-direction: column-reverse !important;
  }

  .single-book .wp-block-column {
    width: 100% !important;
    flex-basis: 100% !important;
  }

  .single-book .book-right {
    margin-top: 0 !important;
    padding: 0 1em;
  }

  .single-book .book-right img {
    width: 70% !important;
    max-width: 300px;
    height: auto !important;
    display: block;
    margin: 0 auto;
  }

  .single-book .shadow-1 {
    text-align: center;
  }
}


/** Contact Box **/
.contact-box .wp-block-column {
	padding: 100px;
	margin-top: -200px !important;
	z-index:5;
	box-shadow: rgba(0, 0, 0, 0.25) 0px 14px 28px, rgba(0, 0, 0, 0.22) 0px 10px 10px;
}

@media screen and (max-width: 1200px) {
	.contact-box .wp-block-column { padding: 60px; }
}

@media screen and (max-width: 900px) {
	/* .contact-box .wp-block-column { margin: 0; } */
}

.contact-box label {
	color:white;
}

.contact-box .label-hidden .nf-field-element {
  display:inline-block;
  text-align: center;
}
/*.page-id-68 .section.banner-inner {
  text-align: left!important;
}*/

/** Available In section **/
img.entry-thumb.resource-thumb.thumb-size-classic {
    aspect-ratio: 6 / 2;
    width: 100%;
}
article.col-fourth.tablet-col-half.entry.resource:hover {
    transform: translateY(-4px);
    transition: .2s ease-in-out;
}
.single-book .entry.resource {
  width: 400px;

}
/* .includes-link-text .entry:not(.col-full) .entry-text-wrap {
    padding-bottom: 20px!important;
} */
.entry-text-wrap.resource-text-wrap {
    text-align: center;
}
.single-book h1.headline {
  font-size: 42px;
  line-height: 1.2;
  font-weight: 700;
}

.optik-swiper .swiper-slide a{
	display:block;
	max-width:80%;
	margin:0 auto;
}
.optik-swiper .swiper-button-next,
.optik-swiper .swiper-button-prev{
	width:40px;
	height:40px;
	text-align:center;
	transition:all .3s ease-in-out;
	background:var(--wp--custom--primary--light);
}
.optik-swiper .swiper-button-next:hover,
.optik-swiper .swiper-button-prev:hover{
	background:var(--wp--custom--primary--main);
}
.optik-swiper .swiper-button-next:after,
.optik-swiper .swiper-button-prev:after{
	width:11px;
	height:16px;
	color:#fff;
	font-size:16px;
	font-weight:700;
}
.optik-swiper .swiper-slide img{box-shadow:rgba(0, 0, 0, 0.35) 0px 5px 15px;}

/* Tablet */
@media (max-width: 992px) {
  
}

/* Mobile */
@media (max-width: 576px) {
  .single-book h1.headline {
    font-size: 28px;
  }
	  .content > .alignfull:first-child {
    margin-top: calc(var(--wp--custom--spacer--md) * -1);
    }
		[class*="thumb-size-"]{
		width: 100%;
	}
}


.archive-navbar select, .archive-navbar input{margin:0;}
.archive-navbar .filter-field-wrap{
	background:#f6f6f6;
}
.archive-navbar .filter-form input{background-color:transparent;}
.archive-navbar .filter-form .filter-reset{
	display: inline-flex;
	align-items: center;
	border-color:#d2d2d2;
	background:#f6f6f6;
}

.filter-form .filter-reset i, .filter-form .filter-reset:hover i { color: var(--wp--custom--secondary--main); }

@media only screen and (max-width:900px){
	/* .main-boxed{
		padding-top:50px;
		padding-bottom:50px;
	} */
	.archive-navbar select,
	.archive-navbar .filter-field-wrap{
		max-width:245px;
		margin-bottom:10px;
	}
	.archive-navbar input{
		max-width:inherit;
	}
	.archive-navbar .filter-form .filter-reset{margin-bottom:10px;}
	.footer{padding:50px 30px;}
	.bottom-bar{padding:0 30px 15px;}
}
@media only screen and (max-width:767px){
	.search-form form{ 
		flex-direction: column;
		justify-content: flex-start;
	 }
	.search-form .collection-dropdown{margin:0 auto 30px;}
	.search-form .search-input{
		width:100%;
		padding:0;
	}
	.search-form .search-button{margin:0 auto 20px;}
}
@media only screen and (max-width:600px){
	.archive-navbar .filter-form select,
	.archive-navbar .filter-form .filter-field-wrap{
		max-width:100%;
		margin:0 0 10px;
	}
	.archive-navbar .filter-field-wrap{
		display:block;
		background:#f6f6f6;
		border-radius:3px;
		border:1px solid #d2d2d2;
	}
	.archive-navbar input{
		width:100%;
		margin:0;
		border:0;
		max-width:inherit;
		background:transparent;
	}
	.footer{padding:30px 25px;}
	.bottom-bar{padding:0 25px 15px;}
}
@media only screen and (max-width:420px){
	.footer{padding:30px 15px;}
	.bottom-bar{padding:0 15px 15px;}
	.footer .contact-list{margin:0;}
}

/** Hide Overlay Search**/
.search-overlay.active, .search-area.active {
    visibility: hidden!important;
}


/*Media Queries */
/* Tablets  */
@media screen and (max-width: 1024px){
 .wp-block-spacer.spacer-bot {
    height: 87px !important;
	}
}


/* iPad Mini & iPad Air (Portrait) */
@media screen and (max-width: 820px) {
	.section-reverse {
    	flex-direction: column-reverse;
   }

}

/* Mobile */

@media screen and (max-width: 600px){
	.section-reverse {
    	flex-direction: column-reverse;
	}
	.home .wp-block-cover {
    min-height: 600px;
	}

	h2.wp-block-heading.has-text-align-center.nomargin.marshall.aos-init.aos-animate,
	h2.wp-block-heading.nomargin.marshall,
	h2.wp-block-heading{
		font-size: 2.25em;
		text-align: center;
	}
	.pb-star-rating-wrapper {
    	justify-content: center;
	}
	figure.wp-block-media-text__media {
   	 padding-bottom: 35px;
	}
	h2.wp-block-heading.about-marshall.aos-init.aos-animate{
		text-align: center;
		font-size: 1.75em;
	}
	p.ny-times {
		text-align: center;
		font-size: 1.25em;
	}
	p.details,
	p.details + .buy-book-button-container,
	body.single-book .wp-block-heading.details{
    	text-align: center;
	}
	figure.wp-block-image.size-full.is-resized.christy-logo.aos-init.aos-animate {
   		 text-align: center;
	}
	.wp-block-buttons.button-center.is-layout-flex.wp-block-buttons-is-layout-flex {
		justify-content: center;
  	}
	.deck-wrap {
    	text-align: center;
	}
	.banner h1 {
		text-align: center;
		font-size: 2.25em;
 	}
	h4.wp-block-heading.excerpt-details,
	h5.wp-block-heading.excerpt-details{
    	text-align: center;
	}
	.book-links-row.entry {
		display: flex;
		flex-wrap: wrap;
		gap: 10px;
		justify-content: center;
  }

  .book-links-row.entry .book-link-col {
    width: 48%; /* two items per row with some gap */
    box-sizing: border-box;
    text-align: center;
  }

}
/** Contact Us**/
.contact {
	display: flex; 
	align-items: center; 
	gap: 10px;
	font-family: var(--wp--custom--font--2);
}

.contact .wp-block-media-text__media img {
	width:20px;
}
body.page-contact .wp-block-columns {
    display: flex !important;
    flex-direction: column !important;
}
@media (max-width: 600px) {
  .wp-block-column.has-primary-background-color.has-background.is-layout-flow.wp-block-column-is-layout-flow.aos-init.aos-animate {
    	margin-top: 35px;
	}
	/*.wp-block-columns.is-layout-flex.wp-container-core-columns-is-layout-28f84493.wp-block-columns-is-layout-flex {
    	flex-direction: column-reverse;
	}*/
	body.page-contact .wp-block-column.is-layout-flow.wp-block-column-is-layout-flow {
    padding-top: 20px;
    padding-bottom: 20px;
	}

}

.hp-banner .wp-block-cover__inner-container {
	height: inherit;
	align-self: stretch;
}

.hp-banner .wp-block-cover__inner-container > * { height: 100%; }

.hp-banner .swiper { height: inherit; }

.hp-banner .swiper-3d .swiper-slide-shadow-left,
.hp-banner .swiper-3d .swiper-slide-shadow-right { background-image: none; }

.hp-banner .wp-block-gutsliders-slide { 
	transition-property: transform, opacity;
}

.hp-banner .wp-block-gutsliders-slide:not(.swiper-slide-active) { opacity: 0; }

.hp-banner .gutslider-prev,
.hp-banner .gutslider-next {
	background-repeat: no-repeat;
	background-position: center center;
}

.hp-banner .gutslider-prev { left: 50px; }
.hp-banner .gutslider-next { right: 50px; }

@media screen and (max-width: 1200px) {
	.hp-banner .gutslider-prev { left: 30px; }
	.hp-banner .gutslider-next { right: 30px; }
}

@media screen and (max-width: 900px) {
	.hp-banner .gutslider-prev { left: 20px; }
	.hp-banner .gutslider-next { right: 20px; }
}

@media screen and (max-width: 600px) {
	.hp-banner .gutslider-prev { left: 10px; }
	.hp-banner .gutslider-next { right: 10px; }
}


.hp-banner .gutslider-prev svg,
.hp-banner .gutslider-next svg { opacity: 0; }

.hp-banner .gutslider-prev { 
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='33' viewBox='0 0 16 33' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M15.6284 30.3584C16.1627 30.968 16.1158 31.9013 15.5204 32.4495C14.9238 32.9955 14.003 32.9464 13.4666 32.3397L0.372909 17.5454C-0.124303 16.9792 -0.124303 16.1301 0.372909 15.5634L13.4646 0.855287C14.0015 0.248658 14.922 0.199476 15.5184 0.745461C16.1473 1.32519 16.135 2.26065 15.6264 2.83658L3.41218 16.5563L15.6284 30.3584Z' fill='white'/%3E%3C/svg%3E%0A");
}

.hp-banner .gutslider-next {
	background-image: url("data:image/svg+xml,%3Csvg width='16' height='33' viewBox='0 0 16 33' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0.37163 2.83665C-0.162675 2.22706 -0.115766 1.29372 0.479635 0.745524C1.07622 0.199538 1.997 0.248629 2.5334 0.855349L15.6271 15.6496C16.1243 16.2159 16.1243 17.065 15.6271 17.6317L2.53539 32.3398C1.99845 32.9464 1.07803 32.9956 0.481632 32.4496C-0.147314 31.8699 -0.135042 30.9344 0.373626 30.3585L12.5878 16.6388L0.37163 2.83665Z' fill='white'/%3E%3C/svg%3E%0A");
}

/** Custom hover gallery **/
.custom-hover-gallery figure {
  position: relative;
  display: inline-block;
  overflow: hidden;
}

.custom-hover-gallery figure img {
  transition: transform 0.3s ease;
  display: block;
}
.custom-hover-gallery figure:hover img {
  transform: scale(1.05);
}

.custom-hover-gallery figure::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.5);
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 1; 
  pointer-events: none; 
}

.custom-hover-gallery figure::after {
  content: "View";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #2c95d7;
  color: #fff;
  padding: 8px 14px;
  border-radius: 4px;
  font-weight: 600;
  opacity: 0;
  transition: opacity 0.25s ease;
  z-index: 2;
  pointer-events: none; 
}

.custom-hover-gallery figure:hover::before,
.custom-hover-gallery figure:hover::after {
  opacity: 1;
}

.custom-hover-gallery .lightbox-trigger {
  position: relative;
  z-index: 3;
}

/* Full Cover */

.full-cover,
.full-cover .wp-block-cover { height: 100%; }

/* Mobile Center Text */
@media screen and (max-width: 900px) {
	.mobile-center-text,
	.mobile-center-text * { text-align: center; }
}

/* Responsive Full Width */
@media screen and (max-width: 900px) {
	.responsive-full-width,
	.responsive-full-width > * { 
		width: 100%; 
		max-width: 100% !important;
	}
}

/* Banner Two Cover */
.banner-two-cover { 
	display: inline-flex;
	align-items: center; 
}

.banner-two-cover > figure { 
	margin: 0; 
	box-shadow: 90px 101px 54px rgba(0, 0, 0, 0.03), 51px 57px 46px rgba(0, 0, 0, 0.1), 23px 25px 34px rgba(0, 0, 0, 0.17), 6px 6px 19px rgba(0, 0, 0, 0.2);
}

.banner-two-cover > figure:last-child { 
	margin-left: -60px !important;
	z-index: -1;
 }


 @media screen and (max-width: 600px) {
	.banner-two-cover > figure:last-child { margin-left: -20px !important; }
 }

 /* No Shadow */
 .no-shadow,
 .no-shadow { box-shadow: none !important; }

 /* Blog */
body.blog h2 { margin-bottom: 74px; }

@media screen and (max-width: 900px) {
	body.blog h2 { margin-bottom: 50px; }
}

/* Search Book */
body.search-results .banner { text-align: left; }
@media screen and (max-width: 600px) {
	.book-main .book { width: 50% }
}


